skin.general.php 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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="wrapper">
  11. <div id="header" class="container">
  12. <div id="logo">
  13. <h1><a href="http://ubilling.net.ua"><img src="skins/logo.png" height="64" border="0"></a><a href="?module=taskbar">Ubilling</a> </h1>
  14. <p><?=web_ReleaseInfo();?></p>
  15. <div class="notificationArea">
  16. <?php
  17. if (LOGGED_IN) {
  18. $notifyArea=new DarkVoid();
  19. print($notifyArea->render());
  20. }
  21. ?>
  22. </div>
  23. </div>
  24. <div id="menu">
  25. <ul>
  26. <li>
  27. <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') . '"')?></form>
  28. </li>
  29. <li>
  30. <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') . '"')?></form>
  31. <br>
  32. <p align="right"><?=web_HelpIconShow();?></p> <?=zb_IdleAutologoutRun(); ?>
  33. </li>
  34. </ul>
  35. </div>
  36. </div>
  37. <!-- end #header -->
  38. <div id="page" class="container">
  39. <div id="content">
  40. <? if (LOGGED_IN) { ?>
  41. <form action="" method="POST">
  42. <input name="logout_form" value="1" type="hidden">
  43. <input value="<?=__('Log out').' '.whoami();?>" type="submit">
  44. </form>
  45. <div class="post">
  46. <p align="right"><a href="?module=taskbar" class="ubButton"><?=__('Taskbar')?></a></p>
  47. <?rcms_show_element('menu_point', 'up_center@window')?>
  48. <?rcms_show_element('main_point', $module . '@window')?>
  49. </div>
  50. <div style="clear: both;">&nbsp;</div>
  51. </div>
  52. <div style="clear: both;">&nbsp;</div>
  53. </div>
  54. <!-- end #page -->
  55. </div>
  56. <div id="footer">
  57. <p><?rcms_show_element('copyright')?>
  58. <?php
  59. // Page gentime end
  60. $mtime = explode(' ', microtime());
  61. $totaltime = $mtime[0] + $mtime[1] - $starttime;
  62. print(__('GT:').round($totaltime,2));
  63. print(' QC: '.$query_counter);
  64. ?> </p>
  65. </div>
  66. <? } else {
  67. $ubLoginForm=new LoginForm();
  68. print($ubLoginForm->render());
  69. }?>
  70. <!-- end #footer -->
  71. </body>
  72. </html>