%%41^415^41571DBF%%index.html.php 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <?php /* Smarty version 2.6.17, created on 2018-05-26 11:47:12
  2. compiled from admin/index.html */ ?>
  3. <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
  4. smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'admin/index.html', 16, false),)), $this); ?>
  5. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  6. $this->_smarty_include(array('smarty_include_tpl_file' => "./admin/header.html", 'smarty_include_vars' => array()));
  7. $this->_tpl_vars = $_smarty_tpl_vars;
  8. unset($_smarty_tpl_vars);
  9. ?>
  10. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  11. $this->_smarty_include(array('smarty_include_tpl_file' => "./admin/left.html", 'smarty_include_vars' => array()));
  12. $this->_tpl_vars = $_smarty_tpl_vars;
  13. unset($_smarty_tpl_vars);
  14. ?>
  15. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  16. $this->_smarty_include(array('smarty_include_tpl_file' => "./admin/nav.html", 'smarty_include_vars' => array()));
  17. $this->_tpl_vars = $_smarty_tpl_vars;
  18. unset($_smarty_tpl_vars);
  19. ?>
  20. <style type="text/css">
  21. .quick-create-active .btn{
  22. padding: 5px;
  23. }
  24. </style>
  25. <div class="panel panel-default">
  26. <div class="panel-heading" style="position: relative;"><h3 class="panel-title" id="panel-title">公告</h3> <a class="pull-right" href="<?php echo $this->_tpl_vars['web_cfg']['domain']; ?>
  27. ?c=Admin_Platform_Bulletin&a=PageList">more</a></div>
  28. <div class="panel-body">
  29. <ul>
  30. <?php $_from = $this->_tpl_vars['bulletinData']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
  31. foreach ($_from as $this->_tpl_vars['index'] => $this->_tpl_vars['item']):
  32. ?>
  33. <li><p class="text-muted"><?php echo ((is_array($_tmp=$this->_tpl_vars['item']['create_time'])) ? $this->_run_mod_handler('date_format', true, $_tmp, '%Y-%m-%d') : smarty_modifier_date_format($_tmp, '%Y-%m-%d')); ?>
  34. &nbsp;&nbsp;&nbsp;<a href="<?php echo $this->_tpl_vars['web_cfg']['domain']; ?>
  35. ?c=Admin_Platform_Bulletin&a=PageShow&bulletin_id=<?php echo $this->_tpl_vars['item']['id']; ?>
  36. "><?php echo $this->_tpl_vars['item']['title']; ?>
  37. </a></p></li>
  38. <?php endforeach; endif; unset($_from); ?>
  39. </ul>
  40. </div>
  41. </div>
  42. <div class="panel panel-default">
  43. <div class="panel-heading"><h3 class="panel-title" id="panel-title">快捷发布通道</h3></div>
  44. <div class="panel-body">
  45. <div class="row quick-create-active">
  46. <?php $_from = $this->_tpl_vars['pagePublicData']['rapidEntranceUrl']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
  47. foreach ($_from as $this->_tpl_vars['index'] => $this->_tpl_vars['item']):
  48. ?>
  49. <a href="<?php echo $this->_tpl_vars['item']; ?>
  50. " class="button button-primary button-small col-md-2" style="margin:0 0 15px 15px;"><?php echo $this->_tpl_vars['index']; ?>
  51. </a>
  52. <?php endforeach; endif; unset($_from); ?>
  53. </div>
  54. </div>
  55. </div>
  56. <div class="panel panel-default">
  57. <div class="panel-heading"><h3 class="panel-title" id="panel-title">我的发布</h3></div>
  58. <div class="panel-body">
  59. <div class="row">
  60. <?php if (! $this->_tpl_vars['myReleaseActivityData']): ?>
  61. <div class="col-md-2">
  62. 未发布活动
  63. </div>
  64. <?php else: ?>
  65. <?php $_from = $this->_tpl_vars['myReleaseActivityData']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
  66. foreach ($_from as $this->_tpl_vars['index'] => $this->_tpl_vars['item']):
  67. ?>
  68. <div class="col-md-2">
  69. <div class="thumbnail">
  70. <img src="<?php echo $this->_tpl_vars['item']['img_url']; ?>
  71. " alt="<?php echo $this->_tpl_vars['item']['events_name']; ?>
  72. ">
  73. <div class="caption">
  74. <a class="ks-overflow" title="<?php echo $this->_tpl_vars['item']['events_name']; ?>
  75. " href="<?php echo $this->_tpl_vars['web_cfg']['domain']; ?>
  76. ?c=Admin_Activity_SetBasics&a=PageShow&events_id=<?php echo $this->_tpl_vars['index']; ?>
  77. " >[<?php echo $this->_tpl_vars['allTypeData'][$this->_tpl_vars['item']['type']]['desc']; ?>
  78. ] <?php echo $this->_tpl_vars['item']['events_name']; ?>
  79. </a>
  80. </div>
  81. </div>
  82. </div>
  83. <?php endforeach; endif; unset($_from); ?>
  84. <?php endif; ?>
  85. </div>
  86. </div>
  87. </div>
  88. <script>
  89. KISSY.use('node', function (S, Node) {
  90. var $ = S.all;
  91. var width = $(".col-md-2 img").width();
  92. $(".col-md-2 img").height(width/2);
  93. });
  94. </script>
  95. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  96. $this->_smarty_include(array('smarty_include_tpl_file' => "./admin/bottom.html", 'smarty_include_vars' => array()));
  97. $this->_tpl_vars = $_smarty_tpl_vars;
  98. unset($_smarty_tpl_vars);
  99. ?>