f843b6bc14ba834fa030aa5e0eed2076f87ec71b.file.theme.lbi.php 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <?php /* Smarty version Smarty-3.1.7, created on 2016-12-20 18:01:18
  2. compiled from "D:/phpStudy/WWW_krpano100/vradmin/template\lib\theme.lbi" */ ?>
  3. <?php /*%%SmartyHeaderCode:323185859016e3c4ea6-87765594%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
  4. $_valid = $_smarty_tpl->decodeProperties(array (
  5. 'file_dependency' =>
  6. array (
  7. 'f843b6bc14ba834fa030aa5e0eed2076f87ec71b' =>
  8. array (
  9. 0 => 'D:/phpStudy/WWW_krpano100/vradmin/template\\lib\\theme.lbi',
  10. 1 => 1476592498,
  11. 2 => 'file',
  12. ),
  13. ),
  14. 'nocache_hash' => '323185859016e3c4ea6-87765594',
  15. 'function' =>
  16. array (
  17. ),
  18. 'variables' =>
  19. array (
  20. 'theme_cur' => 0,
  21. 'themes' => 0,
  22. 'v' => 0,
  23. '_lang' => 0,
  24. ),
  25. 'has_nocache_code' => false,
  26. 'version' => 'Smarty-3.1.7',
  27. 'unifunc' => 'content_5859016e55b30',
  28. ),false); /*/%%SmartyHeaderCode%%*/?>
  29. <?php if ($_valid && !is_callable('content_5859016e55b30')) {function content_5859016e55b30($_smarty_tpl) {?><div id="theme" style="height:auto!important;height:550px;min-height:550px;">
  30. <ul class="tab">
  31. <li><a href="javascript:;" class="selected">管理模板</a></li>
  32. <li><a href="http://www.krpano100.com/theme.php" target="_blank">获取更多模板</a></li>
  33. </ul>
  34. <div class="enable">
  35. <h2>当前启用的模板</h2>
  36. <p><img src="/template/<?php echo $_smarty_tpl->tpl_vars['theme_cur']->value['code'];?>
  37. /thumb.png" width="280" height="175"></p>
  38. <dl>
  39. <dt><?php echo $_smarty_tpl->tpl_vars['theme_cur']->value['name'];?>
  40. </dt>
  41. <dd>版本:<?php echo $_smarty_tpl->tpl_vars['theme_cur']->value['version'];?>
  42. </dd>
  43. <dd>作者:<a href="<?php echo $_smarty_tpl->tpl_vars['theme_cur']->value['authorurl'];?>
  44. " target="_blank"><?php echo $_smarty_tpl->tpl_vars['theme_cur']->value['author'];?>
  45. </a></dd>
  46. <dd>简介:<?php echo $_smarty_tpl->tpl_vars['theme_cur']->value['intro'];?>
  47. </dd>
  48. </dl>
  49. </div>
  50. <div class="themeList">
  51. <h2>可用模板</h2>
  52. <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
  53. $_from = $_smarty_tpl->tpl_vars['themes']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
  54. foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value){
  55. $_smarty_tpl->tpl_vars['v']->_loop = true;
  56. ?>
  57. <dl>
  58. <p><img src="/template/<?php echo $_smarty_tpl->tpl_vars['v']->value['code'];?>
  59. /thumb.png" width="280" height="220"></p>
  60. <dt><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
  61. <?php echo $_smarty_tpl->tpl_vars['v']->value['version'];?>
  62. </dt>
  63. <dd class="btnList">
  64. 作者:<a href="<?php echo $_smarty_tpl->tpl_vars['v']->value['authorurl'];?>
  65. " target="_blank"><?php echo $_smarty_tpl->tpl_vars['v']->value['author'];?>
  66. </a>
  67. <span><a href="/<?php echo $_smarty_tpl->tpl_vars['_lang']->value['admin_path'];?>
  68. /?m=theme&unique=<?php echo $_smarty_tpl->tpl_vars['v']->value['code'];?>
  69. " class="del" style="color:#0072C6">启用</a></span>
  70. </dd>
  71. </dl>
  72. <?php } ?>
  73. </div>
  74. </div><?php }} ?>