Index_main.html 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <script>
  2. if(self==top){
  3. window.top.location.href = '{:U("Login/index")}';
  4. }
  5. function menutype(leftmenuid){
  6. $(window.parent.$("#leftMenu ul li").removeClass("on"));
  7. $(window.parent.$("#li_"+leftmenuid).addClass("on"));
  8. $(window.parent.$("#li_"+leftmenuid).parents("dl").siblings().removeClass("on"));
  9. $(window.parent.$("#li_"+leftmenuid).parents("dl").addClass("on"));
  10. $(window.parent.$("#li_"+leftmenuid).parents("dl").siblings().find("dd").slideUp(300));
  11. $(window.parent.$("#li_"+leftmenuid).parents("dd").slideDown(300));
  12. }
  13. </script>
  14. <literal>
  15. <style>
  16. .mainnav_title{ display:none;}
  17. h1 { height:30px;line-height:30px;font-size:14px; margin-bottom: 10px; overflow:hidden;zoom:1;}
  18. h1 b {font-size: 16px;color:#E26A6A ;}
  19. h1 span {color:#ccc;font-size:10px;margin-left:10px; font-weight: normal;}
  20. .mainBox{padding: 20px 10px;}
  21. .listBox{padding:12px 20px 15px 20px; margin-bottom: 25px; border-radius: 3px; overflow: hidden; box-shadow:0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.22);}
  22. .listBox ul li {width: 50%; float: left; margin-bottom: 15px;}
  23. .listBox ul li span{ display:block; float:left; color:#777;width:100px;}
  24. .listItem{padding: 10px 15px; margin-right: 20px; border: 1px solid #ddd; border-radius: 4px;}
  25. #tabs {margin:0px auto;overflow:hidden;border:1px solid #ccc; height:214px;}
  26. #tabs .title {overflow:hidden;background:url(./Public/Images/tab_bottom_line_1.jpg) repeat-x 0 26px;height:27px;}
  27. #tabs .title ul li {float:left;margin-left:-1px;height:26px;line-height:26px;background:#EAEEF4;padding:0px 10px;border:1px solid #ccc;border-top:0;border-bottom:0;}
  28. #tabs .title ul li.on {background:#FFF;height:27px;}
  29. #tabs .content_1 { overflow:hidden;border-top:none;}
  30. #tabs .tabbox {display:none;padding:10px;}
  31. #tabs .tabbox ul li {background:url(./Public/Images/ico_1.gif) no-repeat 4px 11px;padding-left:13px;border-bottom:1px #ddd dashed; height:27px; line-height:26px;color:#333 }
  32. #tabs .tabbox ul li a {color:#333}
  33. #tabs .tabbox ul li a:hover {color:#FB0000;}
  34. #tabs .tabbox ul li span.date {float:right;color:#777}
  35. .linkBtn{margin: 15px 0 5px 0;}
  36. .linkBtn ul li{width: 20%; float: left; text-align: center;}
  37. .linkBtn ul li a{display: block; margin: 0 10px; padding: 20px 0; border-radius: 2px; overflow: hidden; font-size: 14px; color: #fff;}
  38. .linkBtn ul li.li1 a{background-color: #89C4F4;}
  39. .linkBtn ul li.li2 a{background-color: #E35B5A;}
  40. .linkBtn ul li.li3 a{background-color: #44B6AE;}
  41. .linkBtn ul li.li4 a{background-color: #8775A7;}
  42. .linkBtn ul li.li5 a{background-color: #578ebe;}
  43. .linkBtn ul li a:hover{opacity: .9;}
  44. </style>
  45. </literal>
  46. <div class="linkBtn">
  47. <ul class="clearfix">
  48. <li class="li1"><a href="?g=Admin&m=Config&a=index&menuid=84" onclick="menutype('84');">站点配置</a></li>
  49. <li class="li2"><a href="?g=Admin&m=Category&a=index&menuid=17" onclick="menutype('17');">栏目管理</a></li>
  50. <li class="li3"><a href="?g=Admin&m=Block&a=index&menuid=74" onclick="menutype('74');">碎片管理</a></li>
  51. <li class="li4"><a href="?g=Admin&m=Slide&a=index&menuid=77" onclick="menutype('77');">幻灯片管理</a></li>
  52. <li class="li5"><a href="?g=Admin&m=Link&a=index&menuid=53" onclick="menutype('53');">友情链接</a></li>
  53. </ul>
  54. </div>
  55. <div class="mainBox">
  56. <div id="Profile" class="listBox">
  57. <h1><b>{:L(Profile_info)}</b><span>Profile&nbsp; Info</span></h1>
  58. <ul>
  59. <volist name="userinfo" id="v">
  60. <li><div class="listItem"><span>{:L($key)} :</span>{$v}</div></li>
  61. </volist>
  62. </ul>
  63. </div>
  64. <div id="sitestats" class="listBox">
  65. <h1><b>{:L(Site_Stats)}</b><span>Site&nbsp; Stats</span></h1>
  66. <ul>
  67. <volist name="moduledata" id="v">
  68. <li><div class="listItem"><span>{$v[title]} :</span>{$v[counts]}</div></li>
  69. </volist>
  70. </ul>
  71. </div>
  72. </div>