1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/noalyss_ynh.git synced 2024-09-03 19:46:20 +02:00
noalyss_ynh/sources/include/template/card_result.php
dudjima 3a905a4a87 Update sources 7.01
Update files from sources with last update on noalyss.eu
2018-04-13 18:58:28 +02:00

47 lines
1.2 KiB
PHP

<?php
//This file is part of NOALYSS and is under GPL
//see licence.txt
?>
<fieldset id="asearch" style="height:88%">
<legend><?php echo _('Résultats'); ?></legend>
<div style="height:88%;overflow:auto;">
<table class="result" >
<?php for ($i=0;$i<sizeof($array);$i++) : ?>
<?php $class=($i%2==0)?'odd':'even';?>
<tr class="<?php echo $class;?>">
<td style="padding-right:55px">
<a href="javascript:void(0)" class="detail" onclick="<?php echo $array[$i]['javascript']?>">
<?php echo $array[$i]['quick_code']?>
</a>
</td>
<?php
//---------------------------------------------------------------------------
// if accvis == 1 then show the accounting
//---------------------------------------------------------------------------
if ( $accvis == 1 ) :
?>
<td>
<?php echo HtmlInput::history_account($array[$i]['accounting'],$array[$i]['accounting']); ?>
</td>
<?php endif;?>
<td>
<?php echo $array[$i]['name']?>
</td>
<td>
<?php echo $array[$i]['first_name']?>
</td>
<td>
<?php echo $array[$i]['description']?>
</td>
</tr>
<?php endfor; ?>
</table>
<span style="font-style: italic;">
<?php echo _("Nombre d'enregistrements:$i"); ?>
</span>
<br>
</div>
</fieldset>