| 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
|---|
| 2 | <?php |
|---|
| 3 | /******************************************************************************/ |
|---|
| 4 | // // |
|---|
| 5 | // InstantCMS v1.8 // |
|---|
| 6 | // http://www.instantcms.ru/ // |
|---|
| 7 | // // |
|---|
| 8 | // written by InstantCMS Team, 2007-2010 // |
|---|
| 9 | // produced by InstantSoft, (www.instantsoft.ru) // |
|---|
| 10 | // // |
|---|
| 11 | // LICENSED BY GNU/GPL v2 // |
|---|
| 12 | // // |
|---|
| 13 | /******************************************************************************/ |
|---|
| 14 | defined('VALID_CMS_ADMIN') or die('Äîñòóï çàïðåùåí'); |
|---|
| 15 | ?> |
|---|
| 16 | <html xmlns="http://www.w3.org/1999/xhtml"> |
|---|
| 17 | <head> |
|---|
| 18 | <?php cpHead(); ?> |
|---|
| 19 | <meta http-equiv="Content-Type" content="text/html; charset=windows-1251" /> |
|---|
| 20 | <link href="css/styles.css?17" rel="stylesheet" type="text/css" /> |
|---|
| 21 | <link href="js/hmenu/hmenu.css?17" rel="stylesheet" type="text/css" /> |
|---|
| 22 | <link href="/includes/jquery/tablesorter/style.css" rel="stylesheet" type="text/css" /> |
|---|
| 23 | <script type="text/javascript" src="js/admin.js"></script> |
|---|
| 24 | <script type="text/javascript" src="/includes/jquery/jquery.columnfilters.js"></script> |
|---|
| 25 | <script type="text/javascript" src="/includes/jquery/tablesorter/jquery.tablesorter.min.js"></script> |
|---|
| 26 | <script type="text/javascript" src="/includes/jquery/jquery.preload.js"></script> |
|---|
| 27 | <script type="text/javascript" src="js/hltable.js"></script> |
|---|
| 28 | <script type="text/javascript" src="js/jquery.jclock.js"></script> |
|---|
| 29 | <style type="text/css"> |
|---|
| 30 | .hoverRow { color:#FF3300; background-color:#CFFFFF;} |
|---|
| 31 | .clickedRow { color:#009900; background-color:#FFFFCC;} |
|---|
| 32 | </style> |
|---|
| 33 | </head> |
|---|
| 34 | |
|---|
| 35 | <body> |
|---|
| 36 | <table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%"> |
|---|
| 37 | <tr> |
|---|
| 38 | <td valign="top"> |
|---|
| 39 | <div id="container"> |
|---|
| 40 | <div id="header" style="height:69px"> |
|---|
| 41 | <table width="100%" height="69" border="0" cellpadding="0" cellspacing="0"> |
|---|
| 42 | <tr> |
|---|
| 43 | <td width="230" align="left" valign="middle" style="padding-left:20px; padding-top:5px;"> |
|---|
| 44 | <a href="/admin/"> |
|---|
| 45 | <img src="images/toplogo.png" alt="InstantCMS - Ïàíåëü óïðàâëåíèÿ" border="0" /> |
|---|
| 46 | </a> |
|---|
| 47 | </td> |
|---|
| 48 | <td width="120"> |
|---|
| 49 | <div class="jdate"><?php echo date('d') .' '. $_LANG['MONTH_'.date('m')]; ?></div> |
|---|
| 50 | <div class="jclock">00:00:00</div> |
|---|
| 51 | </td> |
|---|
| 52 | <td> |
|---|
| 53 | <?php |
|---|
| 54 | $new_messages = cmsUser::isNewMessages($inUser->id); |
|---|
| 55 | if ($new_messages){ |
|---|
| 56 | $msg_link = '<a href="/users/'.$inUser->id.'/messages.html" style="color:yellow">Íîâûå ñîîáùåíèÿ</a> '.$new_messages.''; |
|---|
| 57 | } else { |
|---|
| 58 | $msg_link = '<span>Íåò íîâûõ ñîîáùåíèé</span>'; |
|---|
| 59 | } |
|---|
| 60 | ?> |
|---|
| 61 | <div class="juser">Âû — <a href="<?php echo cmsUser::getProfileURL($inUser->login); ?>" target="_blank" title="Ïåðåéòè â ïðîôèëü"><?php echo dbGetField('cms_users', 'id='.$inUser->id, 'nickname'); ?></a></div> |
|---|
| 62 | <div class="jmessages"><?php echo $msg_link; ?></div> |
|---|
| 63 | </td> |
|---|
| 64 | <td width="120"> |
|---|
| 65 | <div class="jsite"><a href="/" target="_blank" class="" title="Â íîâîì îêíå">Îòêðûòü ñàéò</a></div> |
|---|
| 66 | <div class="jlogout"><a href="/logout" target="" >Âûõîä</a></div> |
|---|
| 67 | </td> |
|---|
| 68 | </tr> |
|---|
| 69 | </table> |
|---|
| 70 | </div> |
|---|
| 71 | <div id="mainmenu" style="height:24px; background:url(js/hmenu/hmenubg.jpg) repeat-x"> |
|---|
| 72 | <div style="padding-left:15px;height:24px"><?php cpMenu(); ?></div> |
|---|
| 73 | </div> |
|---|
| 74 | <div id="pathway" style="margin-top:4px;"> |
|---|
| 75 | <?php cpPathway('→'); ?> |
|---|
| 76 | </div> |
|---|
| 77 | <div id="body" style="padding:10px;"> |
|---|
| 78 | <?php cpBody(); ?> |
|---|
| 79 | </div> |
|---|
| 80 | </div> |
|---|
| 81 | </td> |
|---|
| 82 | </tr> |
|---|
| 83 | <tr> |
|---|
| 84 | <td height="50"> |
|---|
| 85 | <div id="footer" style="text-align:center;background:#ECECEC;height:50px;line-height:50px;"> |
|---|
| 86 | <a href="http://www.instantcms.ru/"><strong>InstantCMS</strong></a><strong> v<?php echo CORE_VERSION?> © 2011</strong><br /> |
|---|
| 87 | </div> |
|---|
| 88 | </td> |
|---|
| 89 | </tr> |
|---|
| 90 | </table> |
|---|
| 91 | </body> |
|---|
| 92 | </html> |
|---|