4ca2c0013f60f0e02877e4f053123f0d6ad902e8.file.index.tpl.php 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. <?php /* Smarty version Smarty-3.1.7, created on 2016-12-20 16:40:44
  2. compiled from "D:/phpStudy/WWW_krpano100/vradmin/template\index.tpl" */ ?>
  3. <?php /*%%SmartyHeaderCode:147115858ee8cb11329-77372122%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
  4. $_valid = $_smarty_tpl->decodeProperties(array (
  5. 'file_dependency' =>
  6. array (
  7. '4ca2c0013f60f0e02877e4f053123f0d6ad902e8' =>
  8. array (
  9. 0 => 'D:/phpStudy/WWW_krpano100/vradmin/template\\index.tpl',
  10. 1 => 1479439070,
  11. 2 => 'file',
  12. ),
  13. ),
  14. 'nocache_hash' => '147115858ee8cb11329-77372122',
  15. 'function' =>
  16. array (
  17. ),
  18. 'variables' =>
  19. array (
  20. '_lang' => 0,
  21. 'title' => 0,
  22. 'module' => 0,
  23. 'admin' => 0,
  24. 'nav' => 0,
  25. ),
  26. 'has_nocache_code' => false,
  27. 'version' => 'Smarty-3.1.7',
  28. 'unifunc' => 'content_5858ee8cf0111',
  29. ),false); /*/%%SmartyHeaderCode%%*/?>
  30. <?php if ($_valid && !is_callable('content_5858ee8cf0111')) {function content_5858ee8cf0111($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  31. <html xmlns="http://www.w3.org/1999/xhtml">
  32. <head>
  33. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  34. <meta name="robots" content="noarchive">
  35. <link href="/<?php echo $_smarty_tpl->tpl_vars['_lang']->value['admin_path'];?>
  36. /template/css/public.css" rel="stylesheet" type="text/css">
  37. <script type="text/javascript" src="/<?php echo $_smarty_tpl->tpl_vars['_lang']->value['admin_path'];?>
  38. /template/js/jquery.min.js"></script>
  39. <title><?php echo $_smarty_tpl->tpl_vars['title']->value;?>
  40. -<?php echo $_smarty_tpl->tpl_vars['_lang']->value['title'];?>
  41. </title>
  42. </head>
  43. <body>
  44. <div id="dcWrap">
  45. <?php if ($_smarty_tpl->tpl_vars['module']->value=='login'){?>
  46. <?php echo $_smarty_tpl->getSubTemplate ("lib/login.lbi", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
  47. <?php }else{ ?>
  48. <div id="dcHead">
  49. <div id="head">
  50. <div class="logo"><a href="/<?php echo $_smarty_tpl->tpl_vars['_lang']->value['admin_path'];?>
  51. /"><?php echo $_smarty_tpl->tpl_vars['_lang']->value['title'];?>
  52. </a></div>
  53. <div class="nav">
  54. <ul>
  55. <li class="M"><a href="JavaScript:void(0);" class="topAdd">新建</a>
  56. <div class="drop mTopad"><a href="/<?php echo $_smarty_tpl->tpl_vars['_lang']->value['admin_path'];?>
  57. /?m=user&act=profile">会员</a> <a href="/<?php echo $_smarty_tpl->tpl_vars['_lang']->value['admin_path'];?>
  58. /?m=tag&act=profile">标签</a></div>
  59. </li>
  60. <li><a href="/" target="_blank">查看站点</a></li>
  61. <li><a onclick="clear_cache(this)" href="javascript:;">清除缓存</a></li>
  62. <li <?php if ($_smarty_tpl->tpl_vars['_lang']->value['customvip']){?>class="noRight"<?php }?>><a target="_blank" href="http://www.krpano100.com/docs.html">使用文档</a></li>
  63. <?php if (!$_smarty_tpl->tpl_vars['_lang']->value['customvip']){?><li class="noRight"><a target="_blank" href="http://www.krpano100.com">krpano100官网</a></li><?php }?>
  64. </ul>
  65. <ul class="navRight">
  66. <li class="M noLeft"><a href="JavaScript:void(0);">您好,<?php echo $_smarty_tpl->tpl_vars['admin']->value['admin_name'];?>
  67. </a>
  68. <div class="drop mUser">
  69. <a href="/<?php echo $_smarty_tpl->tpl_vars['_lang']->value['admin_path'];?>
  70. /?m=passwd">修改登录密码</a>
  71. </div>
  72. </li>
  73. <li class="noRight"><a href="/<?php echo $_smarty_tpl->tpl_vars['_lang']->value['admin_path'];?>
  74. /?m=logout">退出</a></li>
  75. </ul>
  76. </div>
  77. </div>
  78. </div>
  79. <!-- Head 结束 -->
  80. <div id="dcLeft">
  81. <div id="menu">
  82. <ul class="top">
  83. <li><a href="/<?php echo $_smarty_tpl->tpl_vars['_lang']->value['admin_path'];?>
  84. /"><i class="home"></i><em>管理首页</em></a></li>
  85. </ul>
  86. <ul>
  87. <li <?php if ($_smarty_tpl->tpl_vars['module']->value=='system'){?>class="cur"<?php }?>><a href="/<?php echo $_smarty_tpl->tpl_vars['_lang']->value['admin_path'];?>
  88. /?m=system"><i class="system"></i><em>系统设置</em></a></li>
  89. <li <?php if ($_smarty_tpl->tpl_vars['module']->value=='plugin'){?>class="cur"<?php }?>><a href="/<?php echo $_smarty_tpl->tpl_vars['_lang']->value['admin_path'];?>
  90. /?m=plugin"><i class="case"></i><em>插件管理</em></a></li>
  91. <li <?php if ($_smarty_tpl->tpl_vars['module']->value=='theme'){?>class="cur"<?php }?>><a href="/<?php echo $_smarty_tpl->tpl_vars['_lang']->value['admin_path'];?>
  92. /?m=theme"><i class="theme"></i><em>设置模板</em></a></li>
  93. </ul>
  94. <ul>
  95. <li <?php if ($_smarty_tpl->tpl_vars['module']->value=='material'){?>class="cur"<?php }?>><a href="/<?php echo $_smarty_tpl->tpl_vars['_lang']->value['admin_path'];?>
  96. /?m=material"><i class="show"></i><em>图片素材</em></a></li>
  97. <li <?php if ($_smarty_tpl->tpl_vars['module']->value=='voice'){?>class="cur"<?php }?>><a href="/<?php echo $_smarty_tpl->tpl_vars['_lang']->value['admin_path'];?>
  98. /?m=voice"><i class="link"></i><em>音频素材</em></a></li>
  99. </ul>
  100. <ul>
  101. <li <?php if ($_smarty_tpl->tpl_vars['module']->value=='user'){?>class="cur"<?php }?>><a href="/<?php echo $_smarty_tpl->tpl_vars['_lang']->value['admin_path'];?>
  102. /?m=user"><i class="user"></i><em>会员管理</em></a></li>
  103. <li <?php if ($_smarty_tpl->tpl_vars['module']->value=='level'){?>class="cur"<?php }?>><a href="/<?php echo $_smarty_tpl->tpl_vars['_lang']->value['admin_path'];?>
  104. /?m=level"><i class="nav"></i><em>组与权限</em></a></li>
  105. </ul>
  106. <ul>
  107. <li <?php if ($_smarty_tpl->tpl_vars['module']->value=='tag'){?>class="cur"<?php }?>><a href="/<?php echo $_smarty_tpl->tpl_vars['_lang']->value['admin_path'];?>
  108. /?m=tag"><i class="page"></i><em>标签管理</em></a></li>
  109. <li <?php if ($_smarty_tpl->tpl_vars['module']->value=='pic'){?>class="cur"<?php }?>><a href="/<?php echo $_smarty_tpl->tpl_vars['_lang']->value['admin_path'];?>
  110. /?m=pic"><i class="productCat"></i><em>全景图片</em></a></li>
  111. <li <?php if ($_smarty_tpl->tpl_vars['module']->value=='video'){?>class="cur"<?php }?>><a href="/<?php echo $_smarty_tpl->tpl_vars['_lang']->value['admin_path'];?>
  112. /?m=video"><i class="product"></i><em>全景视频</em></a></li>
  113. </ul>
  114. <ul>
  115. <li <?php if ($_smarty_tpl->tpl_vars['module']->value=='articlecat'){?>class="cur"<?php }?>><a href="/<?php echo $_smarty_tpl->tpl_vars['_lang']->value['admin_path'];?>
  116. /?m=articlecat"><i class="articleCat"></i><em>文章分类</em></a></li>
  117. <li <?php if ($_smarty_tpl->tpl_vars['module']->value=='article'){?>class="cur"<?php }?>><a href="/<?php echo $_smarty_tpl->tpl_vars['_lang']->value['admin_path'];?>
  118. /?m=article"><i class="article"></i><em>文章管理</em></a></li>
  119. </ul>
  120. <ul class="bot">
  121. <li <?php if ($_smarty_tpl->tpl_vars['module']->value=='upgrade'){?>class="cur"<?php }?>><a href="/<?php echo $_smarty_tpl->tpl_vars['_lang']->value['admin_path'];?>
  122. /?m=upgrade&act=step_1"><i class="downloadCat"></i><em>自动升级</em></a></li>
  123. </ul>
  124. </div>
  125. </div>
  126. <div id="dcMain">
  127. <!-- 当前位置 -->
  128. <div id="urHere"><?php echo $_smarty_tpl->tpl_vars['_lang']->value['title'];?>
  129. 管理中心<?php if (!empty($_smarty_tpl->tpl_vars['nav']->value)){?><b>></b><strong><?php echo $_smarty_tpl->tpl_vars['nav']->value;?>
  130. </strong><?php }?> </div>
  131. <div class="mainBox">
  132. <?php echo $_smarty_tpl->getSubTemplate ("lib/".($_smarty_tpl->tpl_vars['module']->value).".lbi", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
  133. </div>
  134. </div>
  135. <?php }?>
  136. <div class="clear"></div>
  137. <div id="dcFooter">
  138. <div id="footer">
  139. <div class="line"></div>
  140. <ul>
  141. Copyright&copy;2015 <?php echo $_smarty_tpl->tpl_vars['_lang']->value['title'];?>
  142. </ul>
  143. </div>
  144. </div><!-- Footer 结束 -->
  145. <div class="clear"></div>
  146. </div>
  147. <script type="text/javascript" src="/<?php echo $_smarty_tpl->tpl_vars['_lang']->value['admin_path'];?>
  148. /template/js/global.js"></script>
  149. <script type="text/javascript" src="/<?php echo $_smarty_tpl->tpl_vars['_lang']->value['admin_path'];?>
  150. /template/js/jquery.tab.js"></script>
  151. <script type="text/javascript" src="/<?php echo $_smarty_tpl->tpl_vars['_lang']->value['admin_path'];?>
  152. /template/js/common.js"></script>
  153. <script type="text/javascript" src="/static/js/jquery.form.js"></script>
  154. <script type="text/javascript" src="/<?php echo $_smarty_tpl->tpl_vars['_lang']->value['admin_path'];?>
  155. /template/js/jquery.form.submit.js"></script>
  156. <script type="text/javascript" src="/<?php echo $_smarty_tpl->tpl_vars['_lang']->value['admin_path'];?>
  157. /template/js/calendar.js"></script>
  158. <script>
  159. function clear_cache(ele) {
  160. if(confirm("该操作不会删除/temp/krpano目录下生成的临时切图文件,如果要删除请使用ftp手动删除!")){
  161. $(ele).css({
  162. "background-image":"url(/static/images/tm_loading.gif)",
  163. "background-position":"left center ",
  164. "background-repeat":"no-repeat",
  165. "background-size":"15px",
  166. "padding-left":"20px",
  167. });
  168. $.get('/<?php echo $_smarty_tpl->tpl_vars['_lang']->value['admin_path'];?>
  169. /?m=clear_cache',{
  170. },function(res){
  171. if (res.status==1) {
  172. $(ele).css({
  173. "background-image":"none",
  174. "padding-left":"15px",
  175. });
  176. }
  177. },'json');
  178. }
  179. }
  180. </script>
  181. </body>
  182. </html><?php }} ?>