# ProgXform version 0.9 # @version Propel version 1.6 # @author Groupe Progexpert # @copyright Copyright (c) # build_time: 2015-08-10 16:07:59 ############################### if($_REQUEST['p'] == 'favicon.ico'){ die(); } include 'inc/init.php'; if($_REQUEST['clear_mem']){ $Authys = AuthyQuery::create()->find(); foreach($Authys as $Authy){ $Authy->setOnglet(''); $Authy->save(); $i++; } echo $i; } ########### # if debug ######### if(file_exists(_BASE_DIR.'inc/index.custom.php')) include _BASE_DIR.'inc/index.custom.php'; $request = $_REQUEST; $request['ot'] = 's'; /*Static scheme*/ $output=array(); $menu_choice=req('p'); include _BASE_DIR.'inc/index.menu.php'; ##################### # template admin ##################### ##################### # ##################### if($_SESSION[_AUTH_VAR]->get('connected') == 'YES' && $public != 'yes'){ $calledPage['menu'] = ul($tabs.$configTab,"class='ac-menu' "); $calledPage['onglet'] = ul($tabsOnglet,"class='ac-onglet' "); } if(empty($stdHeader['html']) and !$hf_client ){include _BASE_DIR.'inc/std.header.php';} if(empty($stdFooter['html']) and !$hf_client){include _BASE_DIR.'./inc/std.footer.php';} if($noStdHeader == 'all'){$stdHeader['html'] = '';} if(!$headBalise){ $headBalise." "; } $headJs = $headJs.$headBalise.style("#menu_Disconnect{display:none;}"); if (is_file(_BASE_DIR.'LiveDebug/ld.initialize.php')) include 'LiveDebug/ld.initialize.php'; $siteDescription = ($siteDescription)?$siteDescription:_SITE_DESCRIPTION; $siteKeywords = ($siteKeywords)?$siteKeywords:_SITE_KEYWORDS; $siteTitle = ($siteTitle)?$siteTitle:$request['p']." ".$request['a']; if(!$htmlHeader){ $htmlHeader = htmlHeader($siteTitle , $css.$uiCss.$calledPage['css'], $siteDescription, $siteKeywords, $headJs.$adminJs, $favicon, $headAuthor); } if($_SESSION[_AUTH_VAR]->get('connected') == 'YES' && $public != 'yes'){ $menu_visible="";$menu_center_class="left-shown"; if($_SESSION['memoire']['onglet']['vl'] == 'true'){ $menu_visible="hidden";$menu_center_class=""; } $menu_visible_right="";$menu_center_class_right="right-shown"; if($_SESSION['memoire']['onglet']['vr'] == 'true'){ $menu_visible_right="hidden";$menu_center_class_right=""; } $menu_visible_top='';$menu_center_class_top='top-shown'; if($_SESSION['memoire']['onglet']['vt'] == 'true'){ $menu_visible_top="hidden";$menu_center_class_top=''; } $print .= docType() .htmlTag( $htmlHeader .body( div( div( span('', 'class="ac-open-left-panel-button header"') .span('', 'class="ac-open-top-panel-button"') .$stdHeader['html'],'', "class='wCtHeader ".$menu_visible_top."' style=''") .div( span('', 'class="ac-open-left-panel-button"') .nav($calledPage['menu'].(isset($showNavMenu) ? $showNavMenu : ''), 'class="ac-nav"') , '', 'class="left-panel '.$menu_center_class_top.' '.$menu_visible.'" ') .div( div($output['html'], 'tabsContain', "class='list-pane-full'") .div('', 'editPane', 'class="edit-pane-hidden"') .table($output['pagerRow']," class='tablesorter' id=cntPagerRow style='width: 100%;' ") ,'', 'class="center-panel '.$menu_center_class.' '.$menu_center_class_right.' '.$menu_center_class_top.'"') .div(span('', 'class="ac-open-right-panel-button"').div($calledPage['onglet'],'',' class="right-panel-scroll" '), '', 'class="right-panel '.$menu_center_class_top.' '.$menu_visible_right.'"') ,'', 'style="position:relative;"') /* les dialog */ .div('', 'editDialog',' style="display:none;" ')/* level 1*/ .div('', 'editPopupDialog',' style="display:none;" ')/* level 2*/ .div(div(img(_SITE_URL.'css/img/loading135.gif')).div(_("Veuillez patienter...")), 'loadingDialog',' style="display:none;" ') .div(div(div(img(_SRC_URL.'img/builder/alert.png'),"zone_image_confirm").div('',"confirm_texte")) , 'confirmDialog'," style='display:none;text-align:justify;' id='title_confirm' title='Message' ") .div( div(div(img(_SRC_URL.'img/builder/alert.png'),"zone_image_alert").div('','alert_texte')) , 'alertDialog'," style='display:none;text-align:justify;' title='Message' ") .div(div('','bar_message'),'',' class="bar_message" ') .(isset($debugLiveBar) ? div($debugLiveBar, '', 'class="ld-bar"') : '') ," id='body' ".(isset($bodyClass) ? 'class="'.$bodyClass.'"' : '')." style='height:100%;'")," id='html_build' "); }else if (isset($customOutputIndex)) { $print .= docType() .htmlTag( $htmlHeader .body( $stdHeader['html'] .$output['html'] .$stdFooter['html'] .(isset($debugLiveBar) ? div($debugLiveBar, '', 'class="ld-bar"') : '') ," id='body' ".(isset($bodyClass) ? 'class="'.$bodyClass.'"' : '')." style='height:100%;'")); }else{ $print .= docType() .htmlTag( $htmlHeader .body( div( div('', "loader", "style='display:none;'") .div( div(" ",'', "class='wCtHeader' style='position:absolute;'") .div($stdHeader['html'] .div($output['html'],'mainContent', "class=''") , "centered", "style='width:100%;position:relative;text-align:center;margin:auto;'") .div($stdFooter['html'],'', "class='wCtFooter' style=''") , 'fullWH2', "style='width:100%;height:100%;'") .(isset($debugLiveBar) ? div($debugLiveBar, '', 'class="ld-bar"') : '') , 'fullWH', "style='width:100%;height:100%;'") ," id='body' ".(isset($bodyClass) ? 'class="'.$bodyClass.'"' : '')." style='height:100%;'")," id='html' "); } # include all files in mod/inc/ if(file_exists(__dir__ .'/mod/inc/')){ if ($handle = opendir(__dir__ .'/mod/inc/')) { while (false !== ($filename = readdir($handle))) { if (substr($filename, strrpos($filename, '.')) == '.js'){ $print .= loadJs(_SITE_URL.'mod/inc/'.$filename); } if (substr($filename, strrpos($filename, '.')) == '.css'){ $print .= loadCss(_SITE_URL.'mod/inc/'.$filename); } } } } if(!isset($output['onReadyJs'])) $output['onReadyJs']=''; if(!isset($calledPage['onReadyJs'])) $calledPage['onReadyJs']=''; if(!isset($stdHeader['onReadyJs'])) $stdHeader['onReadyJs']=''; if(!isset($stdFooter['onReadyJs'])) $stdFooter['onReadyJs']=''; $print .= $calledPage['jssrc'].$jscript .""; echo trim($print);