BVB Source Codes

Shandong kernel enterprise stand the source code Show head.htm Source code

Return Download Shandong kernel enterprise stand the source code: download head.htm Source code - Download Shandong kernel enterprise stand the source code Source code - Type:.htm
  1. <?php
  2. //未登录显示的head
  3. if(!$cfg_ml->IsLogin()) {
  4. ?>
  5. <div id="header">
  6.         <div id="siteNav">
  7.     <div class="innerWrap">
  8.       <div id="loginInfo">
  9.       <script type="text/javascript">
  10.                 var now=(new Date()).getHours();
  11.                         if(now>0&&now<=6){
  12.                                 document.write("午夜好,");
  13.                         }else if(now>6&&now<=11){
  14.                                 document.write("早上好,");
  15.                         }else if(now>11&&now<=14){
  16.                                 document.write("中午好,");
  17.                         }else if(now>14&&now<=18){
  18.                                 document.write("下午好,");
  19.                         }else{
  20.                                 document.write("晚上好,");
  21.                         }
  22.                         </script>
  23.        游客
  24.        </div>
  25.       <ul id="quickMenu">
  26.         <li><a title="网站主页" href="../">网站主页</a> </li>
  27.         <li><a title="注册" href="../member/index_do.php?fmdo=user&dopost=regnew">注册</a> </li>
  28.         <li><a title="登录" href="../member/login.php">登录</a> </li>
  29.         <li class="help"> <a title="DEDECMS 帮助中心" href="http://help.dedecms.com" target="_blank">帮助</a> </li>
  30.       </ul>
  31.     </div>
  32.   </div>
  33. </div>
  34. <?php
  35. }
  36. //登录后显示的head
  37. else {
  38. ?>
  39. <div id="header">
  40.   <div id="siteNav">
  41.     <div class="innerWrap">
  42.       <div id="loginInfo">
  43.       <script type="text/javascript">
  44.                 var now=(new Date()).getHours();
  45.                         if(now>0&&now<=6){
  46.                                 document.write("午夜好,");
  47.                         }else if(now>6&&now<=11){
  48.                                 document.write("早上好,");
  49.                         }else if(now>11&&now<=14){
  50.                                 document.write("中午好,");
  51.                         }else if(now>14&&now<=18){
  52.                                 document.write("下午好,");
  53.                         }else{
  54.                                 document.write("晚上好,");
  55.                         }
  56.                         </script>
  57.        <a href="#" class="userName"><?php echo $cfg_ml->M_UserName?></a> <a href="../member/index_do.php?fmdo=login&dopost=exit#">[退出]</a>
  58.        <?php
  59.       $pms = $dsql->GetOne("SELECT COUNT(*) AS nums FROM #@__member_pms WHERE toid='{$cfg_ml->M_ID}' AND `hasview`=0 AND folder = 'inbox'");
  60.                 if($pms['nums'] > 0)
  61.                 {
  62.                         echo "<a href='/member/pm.php' target='_blank'>短消息 [<font color='#FF0000'>{$pms['nums']}</font>]</a>";
  63.                 }
  64.                 elseif($pms['nums']==0)
  65.                 {
  66.                         echo "<a href='/member/pm.php' target='_blank'>短消息</a>";
  67.                 }
  68.        ?>
  69.        </div>
  70.       <ul id="quickMenu">
  71.         <li class="home"><a href="../" title="会员中心首页">主页</a></li>
  72.         <li><a href="#">内容中心</a></li>
  73.         <li><a href="<?php echo $myurl; ?>" title="会员空间">会员空间</a></li>
  74.         <li><a href="../member/mystow.php" title="收藏夹">收藏夹</a></li>
  75.         <li class="help"><a href="http://help.dedecms.com" title="DEDECMS 帮助中心">帮助</a></li>
  76.       </ul>
  77.     </div>
  78.   </div>
  79.   <!--顶部导航 -->
  80.   <div id="topPic"> <a href="../member/"><img alt="会员中心" src="../member/templets/images/m_logo.gif" class="topLogo"/></a> </div>
  81.   <div id="topNav">
  82.     <ul id="appIterm">
  83.       <li <?php echo ($menutype == 'content')? 'class="thisApp"' : "" ;?>><a href="../member/content_list.php?channelid=1">内容中心</a></li>
  84.       <li <?php echo ($menutype == 'mydede')? 'class="thisApp"' : "" ;?>><a href="../member/" title="我的织梦">我的织梦</a></li>
  85.       <li <?php echo ($menutype == 'config')? 'class="thisApp"' : "" ;?>><a href="../member/edit_space_info.php" title="系统设置">系统设置</a></li>
  86.     </ul>
  87.     <!--程序导航列表 -->
  88.     <div id="channel">
  89.       <ul>
  90.         <li><a href="<?php echo $myurl; ?>" title="个人空间" target="_blank"><span>个人空间</span></a></li>
  91.         <li <?php echo ($menutype_son == 'mf')? 'class="thisApp"' : "" ;?>><a href="../member/myfriend.php" title="我的好友"><span>我的好友</span></a></li>
  92.         <li <?php echo ($menutype_son == 'pm')? 'class="thisApp"' : "" ;?>><a href="../member/pm.php" title="短消息"><span>短消息</span></a></li>
  93.         <li <?php echo ($menutype_son == 'gu')? 'class="thisApp"' : "" ;?>><a href="../member/guestbook_admin.php" title="留言板"><span>留言板</span></a></li>
  94.         <li <?php echo ($menutype_son == 'op')? 'class="thisApp"' : "" ;?>><a href="../member/operation.php" title="消费中心"><span>消费中心</span></a></li>
  95.         <li <?php echo ($menutype_son == 'cc')? 'class="thisApp"' : "" ;?>><a href="../member/caicai.php" title="随便踩踩"><span>随便踩踩</span></a></li>
  96.       </ul>
  97.     </div>
  98.     <!--导航栏目项 -->
  99.   </div>
  100. </div>
  101. <?php
  102. }
  103. ?>
  104.  
downloadhead.htm Source code - Download Shandong kernel enterprise stand the source code Source code
Related Source Codes/Software:
Dede V2.2 dance music program - This system is based on DEDE5.7 sp1 production dan... 2016-11-11
Search engine v1.0 eight grams of novels - This program consists of WEB side and collection p... 2016-11-11
A thief free Jacky novel CMS, support for multiple station collection, support pseudo original SEO - A thief free Jacky novel CMS, support for multiple... 2016-11-11
Kunlun lubricating oil companies stand the source code - Just testing, free, source code is very beautiful ... 2016-11-11
Imitation of Chinese stationmaster net source dreams to 5.7 sp1 source code - Exactly the same and the Director of China network... 2016-11-11
Newscoop CMS v4.0.4 multilingual version - Newscoop is a content management system is mainly ... 2016-11-11
Ku978 navigator free send you department (with acquisition module) - Is I purchase the commercial version of this progr... 2016-11-11
Think of concise message this v1.1 - Wisdom of concise message this V1.1 main functions... 2016-11-11
nvidia-docker - Build and run Docker containers leveraging NVIDIA ... 2017-04-08
quickstart - Angular 2 QuickStart - source from the documentati... 2017-04-08
jQuery-Autocomplete - Ajax Autocomplete for jQuery allows you to easily ... 2017-04-08
Android-Best-Practices - Android best practice examples 2017-04-08
Bootstrap-Admin-Template - Metis - Free Bootstrap Admin Dashboard Template ... 2017-04-08
CocoaSPDY - SPDY for iOS and OS X 2017-04-08
parse-dashboard - A dashboard for managing your Parse apps that aren... 2017-04-08
HoloEverywhere - NO LONGER MAINTAINED. DEVELOP FOR 4.X+ DUDE. 2017-04-08
side-comments - [UNMAINTAINED] An interface component to give your... 2017-04-08
SVG-Morpheus - JavaScript library enabling SVG icons to morph fro... 2017-04-08

 Back to top