123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- <?php /* Smarty version 2.6.17, created on 2018-05-26 11:47:12
- compiled from admin/index.html */ ?>
- <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
- smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'admin/index.html', 16, false),)), $this); ?>
- <?php $_smarty_tpl_vars = $this->_tpl_vars;
- $this->_smarty_include(array('smarty_include_tpl_file' => "./admin/header.html", 'smarty_include_vars' => array()));
- $this->_tpl_vars = $_smarty_tpl_vars;
- unset($_smarty_tpl_vars);
- ?>
- <?php $_smarty_tpl_vars = $this->_tpl_vars;
- $this->_smarty_include(array('smarty_include_tpl_file' => "./admin/left.html", 'smarty_include_vars' => array()));
- $this->_tpl_vars = $_smarty_tpl_vars;
- unset($_smarty_tpl_vars);
- ?>
- <?php $_smarty_tpl_vars = $this->_tpl_vars;
- $this->_smarty_include(array('smarty_include_tpl_file' => "./admin/nav.html", 'smarty_include_vars' => array()));
- $this->_tpl_vars = $_smarty_tpl_vars;
- unset($_smarty_tpl_vars);
- ?>
-
- <style type="text/css">
- .quick-create-active .btn{
- padding: 5px;
- }
- </style>
- <div class="panel panel-default">
- <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']; ?>
- ?c=Admin_Platform_Bulletin&a=PageList">more</a></div>
- <div class="panel-body">
- <ul>
- <?php $_from = $this->_tpl_vars['bulletinData']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
- foreach ($_from as $this->_tpl_vars['index'] => $this->_tpl_vars['item']):
- ?>
- <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')); ?>
- <a href="<?php echo $this->_tpl_vars['web_cfg']['domain']; ?>
- ?c=Admin_Platform_Bulletin&a=PageShow&bulletin_id=<?php echo $this->_tpl_vars['item']['id']; ?>
- "><?php echo $this->_tpl_vars['item']['title']; ?>
- </a></p></li>
- <?php endforeach; endif; unset($_from); ?>
- </ul>
- </div>
- </div>
- <div class="panel panel-default">
- <div class="panel-heading"><h3 class="panel-title" id="panel-title">快捷发布通道</h3></div>
- <div class="panel-body">
- <div class="row quick-create-active">
- <?php $_from = $this->_tpl_vars['pagePublicData']['rapidEntranceUrl']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
- foreach ($_from as $this->_tpl_vars['index'] => $this->_tpl_vars['item']):
- ?>
- <a href="<?php echo $this->_tpl_vars['item']; ?>
- " class="button button-primary button-small col-md-2" style="margin:0 0 15px 15px;"><?php echo $this->_tpl_vars['index']; ?>
- </a>
- <?php endforeach; endif; unset($_from); ?>
- </div>
- </div>
- </div>
- <div class="panel panel-default">
- <div class="panel-heading"><h3 class="panel-title" id="panel-title">我的发布</h3></div>
- <div class="panel-body">
- <div class="row">
- <?php if (! $this->_tpl_vars['myReleaseActivityData']): ?>
- <div class="col-md-2">
- 未发布活动
- </div>
- <?php else: ?>
- <?php $_from = $this->_tpl_vars['myReleaseActivityData']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
- foreach ($_from as $this->_tpl_vars['index'] => $this->_tpl_vars['item']):
- ?>
- <div class="col-md-2">
- <div class="thumbnail">
- <img src="<?php echo $this->_tpl_vars['item']['img_url']; ?>
- " alt="<?php echo $this->_tpl_vars['item']['events_name']; ?>
- ">
- <div class="caption">
- <a class="ks-overflow" title="<?php echo $this->_tpl_vars['item']['events_name']; ?>
- " href="<?php echo $this->_tpl_vars['web_cfg']['domain']; ?>
- ?c=Admin_Activity_SetBasics&a=PageShow&events_id=<?php echo $this->_tpl_vars['index']; ?>
- " >[<?php echo $this->_tpl_vars['allTypeData'][$this->_tpl_vars['item']['type']]['desc']; ?>
- ] <?php echo $this->_tpl_vars['item']['events_name']; ?>
- </a>
- </div>
- </div>
- </div>
- <?php endforeach; endif; unset($_from); ?>
- <?php endif; ?>
- </div>
- </div>
- </div>
- <script>
- KISSY.use('node', function (S, Node) {
- var $ = S.all;
-
-
-
- var width = $(".col-md-2 img").width();
- $(".col-md-2 img").height(width/2);
-
- });
- </script>
- <?php $_smarty_tpl_vars = $this->_tpl_vars;
- $this->_smarty_include(array('smarty_include_tpl_file' => "./admin/bottom.html", 'smarty_include_vars' => array()));
- $this->_tpl_vars = $_smarty_tpl_vars;
- unset($_smarty_tpl_vars);
- ?>
|