Admin_header.html 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset={:C('DEFAULT_CHARSET')}" />
  5. <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
  6. <title>{:L('welcome')}{:L('system_name')}zifre.top</title>
  7. <link rel="stylesheet" type="text/css" href="__ROOT__/Public/Css/style.css" />
  8. <script type="text/javascript" src="__ROOT__/Public/Js/jquery.min.js"></script>
  9. <script type="text/javascript" src="__ROOT__/Public/Js/jquery.artDialog.js?skin=default"></script>
  10. <script type="text/javascript" src="__ROOT__/Public/Js/iframeTools.js"></script>
  11. <script type="text/javascript" src="__ROOT__/Public/Js/jquery.form.js"></script>
  12. <script type="text/javascript" src="__ROOT__/Public/Js/jquery.validate.js"></script>
  13. <script type="text/javascript" src="__ROOT__/Public/Js/MyDate/WdatePicker.js"></script>
  14. <script type="text/javascript" src="__ROOT__/Public/Js/jquery.colorpicker.js"></script>
  15. <script type="text/javascript" src="__ROOT__/Public/Js/my.js"></script>
  16. <script type="text/javascript" src="__ROOT__/Public/Js/swfupload.js"></script>
  17. <script language="JavaScript">
  18. <!--
  19. var ROOT = '__ROOT__';
  20. var URL = '__URL__';
  21. var APP = '__APP__';
  22. var PUBLIC = '__PUBLIC__';
  23. function confirm_delete(url){
  24. art.dialog.confirm("{:L('real_delete')}", function(){location.href = url;});
  25. }
  26. $(window.parent.$("#main_loading").hide());
  27. //-->
  28. </script>
  29. </head>
  30. <body width="100%">
  31. <div id="result" class="result none"></div>
  32. <div class="mainbox">
  33. <if condition="empty($_GET['isajax'])">
  34. <div id="nav" class="mainnav_title">
  35. <div id="lang">
  36. <if condition="APP_LANG">
  37. <?php
  38. parse_str($_SERVER['QUERY_STRING'],$urlarr);
  39. unset($urlarr[l]);
  40. $url='index.php?'.http_build_query($urlarr);
  41. ?>
  42. <volist name="Lang" id="langvo">
  43. <a href="{$url}&l={$langvo.mark}" <if condition="$langvo[mark]==$_SESSION['YP_lang']"> class="on"</if>>{$langvo.name}</a>
  44. </volist>
  45. </if>
  46. </div>
  47. <ul><a href="{:U($nav[bnav][model].'/'.$nav[bnav][action],$nav[bnav][data])}">{$nav.bnav.name}</a>|
  48. <volist name="nav.nav" id="vonav" key="n">
  49. <if condition="$vonav[data][isajax]">
  50. {if $n>1}|{/if}<a href="javascript:void(0);" onclick="openwin('{$vonav[action]}','{:U($vonav[model].'/'.$vonav[action],$vonav[data])}','{$vonav.name}',600,440)">{$vonav.name}</a>
  51. <else />
  52. {if $n>1}|{/if}<a href="{:U($vonav[model].'/'.$vonav[action],$vonav[data])}">{$vonav.name}</a>
  53. </if>
  54. </volist></ul>
  55. </div>
  56. <script>
  57. var onurl ='?{$_SERVER["QUERY_STRING"]}';
  58. jQuery(document).ready(function(){
  59. $('#nav ul a ').each(function(i){
  60. if($('#nav ul a').length>1){
  61. var thisurl= $(this).attr('href');
  62. thisurl = thisurl.replace('&menuid={:cookie("menuid")}','');
  63. if(onurl.indexOf(thisurl) == 0 ) $(this).addClass('on').siblings().removeClass('on');
  64. }else{
  65. $('#nav').hide();
  66. }
  67. });
  68. if($('#nav ul a ').hasClass('on')==false){
  69. $('#nav ul a ').eq(0).addClass('on');
  70. }
  71. });
  72. </script>
  73. </if>