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/anc_history.inc.php
2015-09-27 00:54:25 +02:00

36 lines
754 B
PHP

<?php
//This file is part of NOALYSS and is under GPL
//see licence.txt
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class_anc_listing.php';
$list = new Anc_Listing($cn);
$list->get_request();
echo $list->display_form();
//---- result
if (isset($_GET['result']))
{
echo '<div class="content">';
//--------------------------------
// export Buttons
//---------------------------------
$result=$list->display_html();
if ( $list->has_data > 0)
{
echo $list->show_button();
echo $result;
}
else
{
echo '<p class="notice">';
echo _('Aucune donnée trouvée');
echo '</p>';
}
echo '</div>';
}
echo '</div>';
?>