5<fieldset
id=
"asearch" style=
"height:88%">
6<legend><?php echo _(
'RĂ©sultats')?></legend>
7<div
style=
"height:88%;overflow:auto;">
11 <
table class=
"result">
13 <
th><?php echo _(
"Poste comptable")?></
th>
14 <
th><?php echo _(
"Libellé")?></
th>
15 <
th><?php printf (_(
"Fiche (limite %d)"),$limite); ?></
th>
19<
tr <?php echo (
$i%2==0)?
'class="odd"':
'class="even"';?>>
21<a href=
"javascript:void(0)" onclick=
"<?php echo $array[$i]['javascript']?>">
22<
span id=
"val<?php echo $i?>">
23<?php echo strip_tags(
$array[
$i][
'pcm_val'])?>
28<
span id=
"lib<?php echo $i?>">
29<?php echo strip_tags(
$array[
$i][
'pcm_lib'])?>
34 if ( strlen(
$array[
$i][
'acode']) >0 ) {
35 if (strpos(
$array[
$i][
'acode'],
",") >0 ) {
37 $det_qcode= explode(
",",
$array[
$i][
'acode']);
39 $max=(count($det_qcode)>$limite)?$limite:count($det_qcode);
41 echo
$sep.HtmlInput::card_detail($det_qcode[
$e],
"",
'style="display:inline-block"');
44 if (
$max < count($det_qcode)) {
59<?php echo _(
"Nombre d'enregistrements").
" ".
$i;?>
th($p_string, $p_extra='', $raw='')
span($p_string, $p_extra='')
tr($p_string, $p_extra='')
td($p_string='', $p_extra='')
surround the string with td
static detail($p_id, $p_javascript)