本文整理汇总了PHP中dico函数的典型用法代码示例。如果您正苦于以下问题:PHP dico函数的具体用法?PHP dico怎么用?PHP dico使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了dico函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: foreach
// Liste agents
foreach ($agents_cel as $k_agents => $v_agents) {
//Responsable
if ($v_agents->id_cel == $v3->id_cel && $v_agents->flag_resp_ser == 1) {
$resp = $v_agents->nom . ' ' . $v_agents->prenom;
}
//Agents
if ($v_agents->id_cel == $v3->id_cel && $v_agents->flag_resp_ser == 0) {
$list_agents .= $v_agents->nom . ' ' . $v_agents->prenom . "<br \\>";
}
}
if (empty($resp)) {
$resp = dico('aucun_resp_connu', $_SESSION['langue']);
}
if (empty($list_agents)) {
$list_agents = dico('aucun_agent_connu', $_SESSION['langue']);
}
?>
<img src="<?php
echo img_url('vertical-line.png');
?>
">
<div class="cel" data-toggle="popover" data-placement="right" title="<?php
echo $resp;
?>
" data-content="<?php
echo $list_agents;
?>
"><?php
echo $v3->{'label_' . $_SESSION['langue']};
?>
示例2: foreach
<?php
if (!empty($resultats)) {
?>
<?php
foreach ($resultats as $k => $v) {
?>
<p>
<a href="<?php
echo site_url('pages/view/' . $v->id_article . '?langue=' . $_SESSION['langue']);
?>
">
<?php
echo $v->{$titre_article} . ' - ' . $v->{$sous_titre};
?>
</a>
</p>
<hr>
<?php
}
?>
<?php
} else {
echo dico('msg_recherche_vide', $_SESSION['langue']);
}
?>
</div>
</div>
<?php
}
示例3: site_url
<form action="<?php
echo site_url('pages/photos_annuaire?langue=' . $_SESSION['langue']);
?>
" method="post" enctype="multipart/form-data">
<div class="form-group row ">
<label for="inputagent" class="col-sm-2"><?php
echo dico("quelle_photo", $_SESSION['langue']);
?>
</label>
<div class="col-sm-8">
<input type="file" name="photo" id="photo" class="form-control">
</div>
</div>
<!--<div class="form-group row ">
<label for="inputagent" class="col-sm-2"><?php
echo dico("quelle_photo", $_SESSION['langue']);
?>
</label>
<div class="col-sm-8">
<input type="text" name="photo_name" id="photo_name" class="form-control">
</div>
</div>-->
<div class="form-group row">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-primary">Envoyer</button>
</div>
</div>
</form>
<?php
print_r($_FILES);
echo dirname(__FILE__);
示例4: site_url
echo $_SESSION['User']->prenom . ' ' . $_SESSION['User']->nom;
?>
<b class="caret"></b></a>
<ul class="dropdown-menu">
<li>
<a href="<?php
echo site_url('pages/profil?langue=' . $_SESSION['langue']);
?>
"><i class="fa fa-fw fa-user"></i> <?php
echo dico('mon_profil', $_SESSION['langue']);
?>
</a>
</li>
<li class="divider"></li>
<li>
<a href="<?php
echo site_url('user/logout');
?>
"><i class="fa fa-fw fa-power-off"></i> <?php
echo dico('deconnexion', $_SESSION['langue']);
?>
</a>
</li>
</ul>
</li>
</ul>
</div>
<!--</nav> A enlever-->
示例5: dico
<input type="hidden" id="modif_service" name="modif_service" value="0"/>
<input type="hidden" id="id_agent" name="id_agent" value="<?php
echo $id_agent;
?>
" />
<input type="hidden" id="id_contrat" name="id_contrat" value="<?php
echo $id_contrat;
?>
" />
<input type="hidden" id="id_mvt_service" name="id_mvt_service" value="<?php
echo $id_mvt_service;
?>
" />
<input type="hidden" id="type_mvt" name="type_mvt" value="services" />
<p align="center">
<input type="button" id="bnt_sauver" style="visibility:visible;" onclick="fFormSubmit('FORM_MVT_SERVICE');" value="<?php
echo dico("sauver", "F");
?>
" disabled />
<input type="button" id="bnt_reset" style="visibility:visible;" onclick="resetFields('FORM_MVT_SERVICE')" value="<?php
echo dico("reset", "F");
?>
" />
<input type="button" id="bnt_cancel" style="visibility:visible;" onclick="document.getElementById('DIV_FORM_MVT_SER').innerHTML='';" value="<?php
echo dico("close", "F");
?>
" />
</p>
</form>
示例6: dico
echo $id_dep;
?>
" />
<input type="hidden" id="id_ser" name="id_ser" value="<?php
echo $id_ser;
?>
" />
<input type="hidden" id="id_cadre" name="id_cadre" value="<?php
echo $id_cadre;
?>
" />
<input type="hidden" id="id_place_cadre" name="id_place_cadre" value="<?php
echo $id_place_cadre;
?>
" />
<input type="hidden" id="type_cadre" name="type_cadre" value="1" />
<br>
<p align="center">
<input type="button" id="bnt_sauver" style="visibility:visible;" onclick="fFormSubmit('FORM_DATE_CADRE_STANDARD');" value="<?php
echo dico("sauver", "F");
?>
" disabled />
<input type="button" id="bnt_reset" style="visibility:visible;" onclick="resetFields('FORM_DATE_CADRE_STANDARD')" value="<?php
echo dico("reset", "F");
?>
" />
</p>
</form>
</div>
示例7: site_url
?>
</h1>
<ol class="breadcrumb">
<li>
<i class="fa fa-dashboard"></i> <a href="<?php
echo site_url('pages/index?langue=' . $_SESSION['langue']);
?>
"><?php
echo dico("accueil", $_SESSION['langue']);
?>
</a>
</li>
<li class="active">
<i class="fa fa-file"></i> <?php
echo dico("guides_cpas", $_SESSION['langue']);
?>
</li>
</ol>
<ul>
<?php
foreach ($guides as $k => $v) {
$sujet = 'sujet_' . $_SESSION['langue'];
$lien_pdf = 'document_pdf_' . $_SESSION['langue'];
?>
<li>
<a href="<?php
echo 'http://intranet.cpasixelles.be' . $v->{$lien_pdf};
?>
示例8: dico
?>
>
<?php
echo $v->{$sous_menu} . '<br>';
?>
<?php
$checked = '';
}
//$applis
?>
</div>
<div class="form-group row">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-primary"><?php
echo dico("valider", $_SESSION['langue']);
?>
</button>
</div>
</div>
</fieldset>
</form>
<?php
}
//end if
}
// end if (!empty $_POST)
?>
</div> <!-- end .col -->
示例9: dico
html: 'true',
//placement: 'bottom',
trigger: 'hover'
});
//$('.btn-success').popover({title: "Header", content: "Blabla", trigger: "focus"});
});
/*********Pour afficher/cacher les cellules appartenant à un service**************************************************/
var msg_afficher_cel="<?php
echo dico('afficher_cellules', $_SESSION['langue']);
?>
";
var msg_cacher_cel="<?php
echo dico('cacher_cellules', $_SESSION['langue']);
?>
";
$( 'a[id^="display_cel"]' ).each(function( index ) {
$( this ).click(function() {
if($("div[id^='div_cel']:eq("+index+")").css('display')=="block")
{ $("div[id^='div_cel']:eq("+index+")" ).slideUp();
$(this).html(msg_afficher_cel);
}
else
{
$("div[id^='div_cel']:eq("+index+")" ).slideDown();
$(this).html(msg_cacher_cel);
}
示例10: dico
echo dico("agenda_officiel", $_SESSION['langue']);
?>
</h1>
<ol class="breadcrumb">
<li>
<i class="fa fa-dashboard"></i> <a href="<?php
echo site_url('pages/index?langue=' . $_SESSION['langue']);
?>
"><?php
echo dico("accueil", $_SESSION['langue']);
?>
</a>
</li>
<li class="active">
<i class="fa fa-file"></i> <?php
echo dico("agenda_officiel", $_SESSION['langue']);
?>
</li>
</ol>
</div>
</div>
<div id='calendar'></div>
<script>
$(document).ready(function() {
var currentTimezone = false;
var currentLangCode='<?php
示例11: dico
</p>
<?php
}
?>
</div>
</div>
</div>
<!--Actualités-->
<div class="col-lg-6">
<div class="panel panel-default">
<div class="panel-heading">
<h4><?php
echo dico("actualites", $_SESSION['langue']);
?>
</h4>
</div>
<div class="panel-body">
<?php
foreach ($actualites as $k => $v) {
?>
<p>
<a href="<?php
echo site_url("pages/view/{$v->id_article}?langue=" . $_SESSION['langue']);
?>
">
<?php
echo $v->{'titre_article_' . $_SESSION['langue']};
?>
示例12: site_url
</li>
<?php
}
// fin foreach
?>
<li>
<a href="<?php
echo site_url('pages/archives?langue=' . $_SESSION['langue']);
?>
" class="link">
<i class="fa fa-archive"></i> <?php
echo dico('archives', $_SESSION['langue']);
?>
</a>
</li>
<hr>
<li><a href="#" onclick="fOpenExplorer('x:');"><?php
echo dico('mon_service', $_SESSION['langue']);
?>
</a></li>
<li><a href="https://webmail.irisnet.be/owa" target="_blank"><?php
echo dico('mandataires', $_SESSION['langue']);
?>
</a></li>
</ul>
</div>
</nav>
示例13: dico
</div>
<input type="hidden" name="id_agent" value="<?php
echo $_SESSION['User']->id_agent;
?>
" >
<input type="hidden" name="date_created" value="">
<input type="hidden" name="modif_user" value="<?php
echo $_SESSION['User']->login_nt;
?>
" >
<br></br>
<!--<div class="form-group row">
<div class="col-sm-offset-2 col-sm-10">-->
<div>
<button type="submit" class="center-block btn btn-primary"><?php
echo dico("envoyer_commande", $_SESSION['langue']);
?>
</button>
</div>
<!--
</div>
</div>-->
</fieldset>
</form>
<script>
window.setTimeout(function() {
$("p.alert-success").fadeTo(500, 0).slideUp(500, function(){
$(this).remove();
});
示例14: set_value
<input type="password" name="password" class="form-control" value="<?php
echo set_value('password');
?>
" />
</div>
</div>
<?php
echo form_error('password');
?>
<div class="form-group row">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-primary"><?php
echo dico('se_connecter', 'F') . ' / ' . dico('se_connecter', 'N');
?>
</button>
</div>
</div>
<?php
if (isset($flash_message)) {
?>
<p class="alert alert-danger has-error"><?php
echo $flash_message;
?>
</p>
<?php
}
?>
示例15: dico
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">
<?php
echo dico("archives", $_SESSION['langue']);
?>
</h1>
<ol class="breadcrumb">
<li>
<i class="fa fa-dashboard"></i> <a href="<?php
echo site_url('pages/index?langue=' . $_SESSION['langue']);
?>
"><?php
echo dico("accueil", $_SESSION['langue']);
?>
</a>
</li>
<li class="active">
<i class="fa fa-file"></i> <?php
echo dico("archives", $_SESSION['langue']);
?>
</li>
</ol>
</div>
</div>