function print_header_old_default() { global $gbl, $login; global $gbl, $ghtml; //check_if_disabled_and_exit(); $ttype = $login->cttype; createOldHeaderData(); $ghtml->print_include_jscript("header"); $skin = $login->getSkinDir(); // $logo = $login->getSpecialObject('sp_specialplay')->logo_image; // $logo_loading = $login->getSpecialObject('sp_specialplay')->logo_image_loading; $logo = "/img/kloxo-logo.gif"; $logo_loading = "/img/kloxo-splash.gif"; ?> <script> if (document.captureEvents) { document.captureEvents(Event.MOUSEUP); } function changeLogo(flag) { imgob = document.getElementById('main_logo'); if (!imgob) { return; } if (flag) { imgob.src = '<?php echo $logo_loading; ?> '; } else { imgob.src = '<?php echo $logo; ?> '; } } </script> <body topmargin=0 bottommargin=0 leftmargin=0 rightmargin=0 border=0> <table width=100% height="59" border="0" valign=top align="center" cellpadding="0" cellspacing="0" > <tr> <td width=100% style='background:url(<?php echo $login->getSkinDir(); ?> /header_top_bg.gif)'> </td> <td width=326 style='background:url(<?php echo $login->getSkinDir(); ?> /header_top_rt.gif);background-repeat:no-repeat'><table width=326> <tr align=right><td width=200> </td> <td align=right> <img id=main_logo width=84 height=23 src="<?php echo $logo_loading; ?> "></td> <td width=10%> </td></tr></table> </td> </tr> </table> <TABLE border="0" width=100% cellspacing=0 cellpadding=0 background="<?php echo $login->getSkinDir(); ?> /header_panel_bg.gif"> <TBODY> <TR> <?php if ($gbl->isOn('show_lpanel')) { /* ?> <td width=218><table width=218> <tr> <td > </td> </tr></table></td> <?php */ } ?> <td > <?php $count = 1; $button_width = 85; $count += 83; //print_a_button("left", $ttype, "desktop", $count, 1); print "</td> <td >"; print_a_button("left", $ttype, "home", $count, 1); $count += 83; print_left_panel($ttype, $count); print "<td width=100%></td> <td >"; if (!$login->is__table('mailaccount')) { if (!$login->is__table('ticket')) { print_a_right_button("right", $ttype, "ticket", 294); print "</td> <td >"; } print_a_right_button("right", $ttype, "ssession", 150); print "</td> <td >"; print_a_right_button("right", $ttype, "help", 150); print "</td> <td >"; } /* print_a_right_button("right", $ttype, "help", 148); print("</td> <td >"); */ print_a_right_button("right", $ttype, "logout", 190); print "</td>"; }
function print_header_default() { global $gbl, $login, $ghtml; $ttype = $login->cttype; $ghtml->print_include_jscript("header"); $skin = $login->getSkinDir(); $logo = "/img/kloxo-logo.gif"; $logo_loading = "/img/kloxo-splash.gif"; ?> <script> function changeLogo(flag) { imgob = document.getElementById('main_logo'); if (!imgob) { return; } if (flag) { imgob.src = '<?php echo $logo_loading; ?> '; } else { imgob.src = '<?php echo $logo; ?> '; } } </script> <?php print_close_head_tag(); createNavigationTabData(); ?> <!-- Start Body --> <body> <!-- Start Header Table --> <table width="100%" height="58" valign="top" align="center"> <tr> <td width="100%" style="background: url(<?php echo $login->getSkinDir(); ?> /header_top_bg.gif);"></td> <td width="326" style="background: url(<?php echo $login->getSkinDir(); ?> /header_top_rt.gif); background-repeat: no-repeat;"> <table width="326"> <tr align="right"> <td width="200"> </td> <td align="right"> <img id="main_logo" width="84" height="23" src="<?php echo $logo_loading; ?> "> </td> <td width="10%"> </td> </tr> </table> </td> </tr> </table> <!-- End Header Table --> <!-- Start navigation --> <!-- Main Table --> <table width="100%" background="<?php echo $login->getSkinDir(); ?> /header_panel_bg.gif"> <tr><!-- Main Row --> <?php print "<!-- Cell Left -->\n"; $count = 1; $count += 83; print "<!-- Load button Home (Left) -->\n"; print_a_button("left", $ttype, "home", $count, 1); $count += 83; print "<!-- Load other buttons (Left) -->\n"; print_left_side($ttype, $count); print "<!-- Cell Middle -->\n"; print "<td width=\"100%\"> </td>\n"; print "<!-- Cell Right -->\n"; if (!$login->is__table('mailaccount')) { if (!$login->is__table('ticket')) { print "<!-- Load button Ticket (Right) -->\n"; print_a_right_button("right", $ttype, "ticket", 294); } print "<!-- Load button Session (Right) -->\n"; print_a_right_button("right", $ttype, "ssession", 150); print "<!-- Load button Help (Right) -->\n"; print_a_right_button("right", $ttype, "help", 150); } print "<!-- Load button LogOut (Right) -->\n"; print_a_right_button("right", $ttype, "logout", 190); print "</tr><!-- End Main Row -->\n</table><!-- End Main Table -->\n"; }