</tr> <?php } ?> </table> </div> <div id="last_operation_management_div" class="box"> <?php echo HtmlInput::title_box(_('Suivi'), "last_operation_management_div", 'zoom', 'onclick="action_show(' . dossier::id() . ')"'); ?> <?php require_once NOALYSS_INCLUDE . '/class_follow_up.php'; $gestion = new Follow_Up($cn); $array = $gestion->get_last(MAX_ACTION_SHOW); $len_array = count($array); ?> <table style="width: 100%"> <?php for ($i = 0; $i < $len_array; $i++) { ?> <tr class=" <?php echo $i % 2 == 0 ? 'even' : 'odd'; ?> "> <td class="box"> <?php echo smaller_date($array[$i]['ag_timestamp_fmt']); ?> </td>
*/ // Copyright 2015 Author Dany De Bontridder danydb@aevalys.eu /** * @file * @brief display a box containing last actions */ if (!defined('ALLOWED')) { die('Appel direct ne sont pas permis'); } if ($op == 'action_show') { /** * display action */ require_once NOALYSS_INCLUDE . '/class_follow_up.php'; $gestion = new Follow_Up($cn); $array = $gestion->get_last(25); $len_array = count($array); require_once NOALYSS_INCLUDE . '/template/action_show.php'; return; } if ($op == 'action_add') { require_once NOALYSS_INCLUDE . '/class_follow_up.php'; $gestion = new Follow_Up($cn); $gestion->display_short(); return; } if ($op == 'action_save') { require_once NOALYSS_INCLUDE . '/class_follow_up.php'; /** * save info from the get */