function Page() { ?> <div class="article"> <article id="post-<?php the_ID(); ?> " <?php post_class(); ?> > <?php Page_Header(); ?> <?php Article_Content(); ?> <?php Page_Footer(); ?> </article> </div> <?php }
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="robots" content="noindex"> <?php echo '<title>' . hsc($config_title . ' - ' . Page_Title()) . '</title>' . "\n"; style_sheet(); Language_and_config_adjusted_styles(); common_scripts(); echo '</head><body>'; Error_reporting_status_and_early_output(0, 0); //0,0 will only show any early output. if ($_SESSION['valid']) { echo '<div id="main" class="container" >'; } else { echo '<div id="main" class="login_page">'; } Page_Header(); if ($_SESSION['valid'] && $Show_Path) { Current_Path_Header(); } message_box(); Load_Selected_Page(); //footer... if ($_SESSION['valid']) { //Countdown timer echo '<hr>'; echo Timeout_Timer($MAX_IDLE_TIME, 'timer0', 'timer timeout', 'LOGOUT'); echo '<span class="timeout">' . hsc($_['time_out_txt']) . ' </span>'; //Admin link if ($_SESSION['admin_page'] === false) { echo '<a id="admin" href="' . $ONESCRIPT . $param1 . $param2 . '&p=admin">' . hsc($_['Admin']) . '</a>'; }