skin.general.php 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?=$system->config['language']?>" lang="<?=$system->config['language']?>">
  3. <head>
  4. <title><?rcms_show_element('title')?></title>
  5. <?rcms_show_element('meta')?>
  6. <link href="<?=CUR_SKIN_PATH?>style.css" rel="stylesheet" type="text/css" media="screen" />
  7. <link href="<?= CUR_SKIN_PATH ?>ubim.css" rel="stylesheet" type="text/css" media="screen" />
  8. </head>
  9. <body>
  10. <div id="header">
  11. <div id="logo">
  12. <h1><a href="http://ubilling.net.ua"><img src="skins/logo.png" height="32" border="0"></a> Ubilling</h1>
  13. <p><?=web_ReleaseInfo();?></p>
  14. <form name="lang_select" method="post" action=""><?=user_lang_select('lang_form', $system->language, 'font-size: 90%; width: 100px;', 'onchange="document.forms[\'lang_select\'].submit()" title="' . __('Lang') . '"')?>
  15. </form>
  16. <form name="skin_select" method="post" action=""><?=user_skin_select(SKIN_PATH, 'user_selected_skin', $system->skin, 'font-size: 90%; width: 100px;', 'onchange="document.forms[\'skin_select\'].submit()" title="' . __('Skin') . '"')?>
  17. </form>
  18. <?=web_HelpIconShow();?> <?=zb_IdleAutologoutRun(); ?>
  19. <div class="notificationArea">
  20. <?php
  21. if (LOGGED_IN) {
  22. $notifyArea=new DarkVoid();
  23. print($notifyArea->render());
  24. }
  25. ?>
  26. </div>
  27. </div> <? if (LOGGED_IN) { ?>
  28. <form action="" method="POST">
  29. <input name="logout_form" value="1" type="hidden">
  30. <input value="<?=__('Log out').' '.whoami();?>" type="submit">
  31. </form>
  32. </div>
  33. <div id="menu">
  34. <ul>
  35. <?rcms_show_element('navigation', '<li><a href="{link}" target="{target}" id="{id}">{title}</a></li>')?>
  36. </ul>
  37. </div>
  38. <center>
  39. <table style="text-align: left; width: 90%;" border="0" cellpadding="2" cellspacing="2" bgcolor="#FFFFFF">
  40. <tbody>
  41. <tr>
  42. <td class="post">
  43. <?rcms_show_element('menu_point', 'up_center@window')?>
  44. <?rcms_show_element('main_point', $module . '@window')?>
  45. </td>
  46. </tr>
  47. </tbody>
  48. </table>
  49. </center>
  50. <div style="clear: both;">&nbsp;</div>
  51. <div id="footer">
  52. <p><?rcms_show_element('copyright')?>
  53. <?php
  54. // Page gentime end
  55. $mtime = explode(' ', microtime());
  56. $totaltime = $mtime[0] + $mtime[1] - $starttime;
  57. print(__('GT:').round($totaltime,2));
  58. print(' QC: '.$query_counter);
  59. ?> </p>
  60. <? } else {
  61. $ubLoginForm=new LoginForm();
  62. print($ubLoginForm->render());
  63. }?>
  64. </div>
  65. </body>
  66. </html>