function theme_form_page() { echo '<script type="text/javascript"> ' . "\n" . '</script> ' . "\n"; echo '<div id="container-page"> ' . "\n"; /* pastikan harus ada ------------------||---------------------| */ //echo '<div id="form_header"><!-- DOCUMENT TITLE --></div> '."\n"; echo '<div id="header-center"><div id="header-left"><div id="header-right"><!-- DOCUMENT TITLE --></div></div></div> ' . "\n"; //Menu Pada Header //echo '<table width="100%" align="center"><tr><td>'; echo '<div>'; //echo '<table align="right"><tr>';navigatorMenus();echo'</tr></table><br><br><br><br><br><br>'; /* memasukkan isi dari form - harus ada */ //echo '<div align="center">';echo $_REQUEST['page']; echo '</div>'; //$cek=gcms_query('SELECT a.CMENU,b.CGROUP FROM '.PREFIX.'FRONTMENUS a join '.PREFIX.'GROUPFRONTMENUS b ON a.NID_GROUPFRONTMENUS = b.NID where a.NID='.$_REQUEST['page'].''); //$xx=gcms_fetch_object($cek); //echo '<div align="left" style="padding-left:10px;">';echo $xx->CGROUP.'-'.$xx->CMENU; echo '</div>'; //menu_get_init_by_mod($_REQUEST['mod']); form_page_content(); //echo '</td></tr></table>'; echo '</div> <!-- main_content --> ' . "\n"; //echo '<table align="right"><tr>';navigatorMenus();echo'</tr></table>'; /* --------------------------------------- */ echo '</div> <!-- container-page --> ' . "\n"; }
function theme_form_page() { global $extra_anim; $extra_anim = ''; echo '<script type="text/javascript"> ' . "\n" . 'setInterval("form_check_size()", 500); ' . "\n" . '</script> ' . "\n"; echo '<div id="container-page"> ' . "\n"; /* pastikan harus ada ------------------| |---------------------| */ //echo '<div id="form_header"> <!-- DOCUMENT TITLE --> </div> '."\n"; echo '<div>' . '<table cellpadding="0" border="0" cellspacing="0" width="100%"><tr><td id="form_header" width="100%"> <!-- DOCUMENT TITLE --> </td><td bgcolor="#FFB600">' . $extra_anim . '</td></tr></table></div>'; /* memasukkan isi dari form - harus ada */ form_page_content(); /* --------------------------------------- */ echo '</div> ' . "\n"; }