2015-09-27 00:35:53 +02:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
* * Copyright (C) 2015 Dany De Bontridder <dany@alchimerys.be>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* @brief display the last action
|
|
|
|
* inherited parameter : $cn database connection, $array
|
|
|
|
*/
|
2018-04-13 18:58:28 +02:00
|
|
|
require_once NOALYSS_INCLUDE.'/class/default_menu.class.php';
|
2015-09-27 00:35:53 +02:00
|
|
|
$a_default=new Default_Menu();
|
|
|
|
|
|
|
|
echo HtmlInput::title_box(_('Suivi'), 'action_list_div');
|
2018-04-13 18:58:28 +02:00
|
|
|
|
|
|
|
echo _("Recherche"),HtmlInput::filter_table("event_followup", '0,1,2,3', 1);
|
2015-09-27 00:35:53 +02:00
|
|
|
?>
|
2018-04-13 18:58:28 +02:00
|
|
|
<table id="event_followup" class="sortable" style="width: 100%">
|
|
|
|
<tr>
|
|
|
|
<th class="sorttable_sorted_reverse"><?=_("Date création")?></th>
|
|
|
|
<th><?=_("Référence")?></th>
|
|
|
|
<th><?=_("Destinataire")?></th>
|
|
|
|
<th><?=_("Titre")?></th>
|
|
|
|
</tr>
|
2015-09-27 00:35:53 +02:00
|
|
|
<?php
|
|
|
|
for ($i=0;$i < $len_array;$i++) :
|
|
|
|
?>
|
|
|
|
<tr class=" <?php echo ($i%2==0)?'even':'odd'?>">
|
2018-04-13 18:58:28 +02:00
|
|
|
<td sorttable_customkey="<?=$array[$i]['ag_timestamp']?>" class="box">
|
2015-09-27 00:35:53 +02:00
|
|
|
<?php echo smaller_date($array[$i]['ag_timestamp_fmt']) ;?>
|
2018-04-13 18:58:28 +02:00
|
|
|
<?php echo " ".$array[$i]['ag_hour'] ;?>
|
2015-09-27 00:35:53 +02:00
|
|
|
</td>
|
|
|
|
<td class="box">
|
|
|
|
<?php echo HtmlInput::detail_action($array[$i]['ag_id'], $array[$i]['ag_ref'], 1) ?>
|
|
|
|
</td>
|
|
|
|
<td class="box">
|
|
|
|
<?php echo mb_substr(h($array[$i]['vw_name']),0,15)?>
|
|
|
|
</td>
|
|
|
|
<td class="box cut">
|
|
|
|
<?php echo h($array[$i]['ag_title'])?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<?php
|
|
|
|
endfor;
|
|
|
|
?>
|
|
|
|
</table>
|
|
|
|
<p style="text-align: center">
|
|
|
|
<?php echo HTMLInput::button_action_add()?>
|
|
|
|
</p>
|