* @version $id SVN * @access public * @license http://opensource.org/licenses/gpl-3.0.html */ //////////// Check Inclusion de pages //////////// if (!function_exists('AuthenthificationProcess')){ include_once("../lib/lib_common.php"); ReloadIndex('admin'); } //////////// if (isset($_GET['id'])) $id=$_GET['id']; if (isset($_POST['id'])) $id=$_POST['id']; include_once("../lib/lib_common.php"); $root = false; if(is_string($id[0]) && $id[0]=='s') { $is_sd=1; $id=str_replace('s' ,'' , $id); $req_det= SQL_getoneCompleteSDtheme($id); $result=$sql_object->DBSelect($req_det); $root = true; // formattage des données $current_title=formatText($result[0]['theme_name'], '2HTML'); $description=empty_nc(formatText($result[0]['theme_description'],'2HTML')); $date_crea=$result[0]['theme_date_crea_display']; $last_modify=$result[0]['theme_last_modify_display']; $link_det=$rub_link."&todo=det&id="; $link_sup=$rub_link."&todo=sup&id="; $link_mod=$rub_link."&todo=mod&id="; ?>
"; echo formatTitleh2($current_title); echo "\n"; echo "\t\n"; echo "\t\n"; echo "
\n"; echo "
"._t('theme','description')." :
\n"; echo "
".$description."
\n"; echo "
"._t('divers','last_modify')."
\n"; echo "
". $last_modify."
\n"; echo "
"._t('divers','date_crea')."
\n"; echo "
". $date_crea."
\n"; echo "
\n"; } else { $req_det= SQL_getonetheme($id); $result=$sql_object->DBSelect($req_det); $current_title=formatText($result[0]['theme_name'],'2HTML'); // formattage des données $desc_project=empty_none(formatText($result[0]['theme_desc_project'], '2HTML')); $desc_dashboard=empty_none(formatText($result[0]['theme_desc_dashboard'], '2HTML')); $desc_publi=empty_none(formatText($result[0]['theme_desc_publication'], '2HTML')); $desc_workshop=empty_none(formatText($result[0]['theme_desc_workshop'], '2HTML')); $desc_news=empty_none(formatText($result[0]['theme_desc_news'], '2HTML')); $date_crea=$result[0]['theme_date_crea']; $last_modify=$result[0]['theme_last_modify']; $link_det=$rub_link."&todo=det&id="; $link_sup=$rub_link."&todo=sup&id="; $link_mod=$rub_link."&todo=mod&id="; ?>
"; echo formatTitleh2($current_title); echo "\n"; echo "\t\n"; echo "\t\n"; echo "
\n"; echo "
".formatText(_t('theme','sdtheme'), '2HTML'). "
\n"; echo "
".formatText($result[0]['sdtheme_name'],'2HTML')."
\n"; if(defined('MOD_PROJECT')) { echo "
".formatText(_t('theme','desc_det_project'), '2HTML')."
\n"; echo "
".$desc_project."
\n"; } if(defined('MOD_SDI')) { echo "
".formatText(_t('theme','desc_det_dashboard'), '2HTML')."
\n"; echo "
".$desc_dashboard."
\n"; } if(defined('MOD_PUBLICATION')) { echo "
".formatText(_t('theme','desc_det_publication'), '2HTML')."
\n"; echo "
".$desc_publi."
\n"; } if(defined('MOD_WORKSHOP')) { echo "
".formatText(_t('theme','desc_det_workshop'), '2HTML')."
\n"; echo "
".$desc_workshop."
\n"; } if(defined('MOD_NEWS')) { echo "
".formatText(_t('theme','desc_det_news'), '2HTML')."
\n"; echo "
".$desc_news."
\n"; } echo "
".formatText(_t('divers','last_modify'), '2HTML')."
\n"; echo "
".$last_modify."
\n"; echo "
".formatText(_t('divers','date_crea'), '2HTML')."
\n"; echo "
".$date_crea."
\n"; /** PAS DE GESTION DES STATUTS echo "
".formatText(_t('divers','statut'), '2HTML') ."
\n"; echo "
".display_statut($result[0]['theme_statut']). "
\n"; **/ echo "
\n"; } ?>