123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178 |
- <?php /* Smarty version 2.6.17, created on 2018-05-26 12:08:32
- compiled from admin/activity/delivery_channels_list.html */ ?>
- <?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);
- ?>
- <?php $_smarty_tpl_vars = $this->_tpl_vars;
- $this->_smarty_include(array('smarty_include_tpl_file' => "get_kindeditor.html", 'smarty_include_vars' => array()));
- $this->_tpl_vars = $_smarty_tpl_vars;
- unset($_smarty_tpl_vars);
- ?>
- <style>
- .set-nav {
- margin: 0 auto;
- }
- .set-nav-hr {
- background-color: #ddd;
- height: 1px;
- position: relative;
- }
- .form-group label {
- font-weight: 600;
- }
- .checkbox-inline, .radio-inline {
- font-weight: 400!important;
- }
- .rowlabel {
- font-weight: 300!important;
- }
- .music_play_hide {
- display:none;
- }
- .popup {
- display: none;
- position: absolute;
- top: 0;
- width: 160px;
- z-index: 100;
- }
- </style>
- <div id="activity_container">
- <form id="activity_form">
- <div class="activity_center">
- <?php $_smarty_tpl_vars = $this->_tpl_vars;
- $this->_smarty_include(array('smarty_include_tpl_file' => "./admin/activity/common_nav.html", 'smarty_include_vars' => array()));
- $this->_tpl_vars = $_smarty_tpl_vars;
- unset($_smarty_tpl_vars);
- ?>
- <input name="events_id" type="hidden" value="<?php echo $this->_tpl_vars['eventData']['events']['id']; ?>
- ">
- <div class="panel panel-default">
- <div class="panel-heading"><h3 class="panel-title" id="panel-title">投放渠道</h3></div>
- <div class="panel-body">
- <p><a href="<?php echo $this->_tpl_vars['web_cfg']['domain']; ?>
- /?c=Admin_Activity_DeliveryChannels&a=PageAddDeliveryChannels&events_id=<?php echo $this->_tpl_vars['eventData']['id']; ?>
- " class="button button-primary button-small " style="width:150px;"><i class="fa fa-refresh fa-spin" style="display:none;"></i> 添加渠道 </a></p>
- <div class="form-group">
- <div>
-
- <table class="table table-hover">
- <thead>
- <tr>
- <th>渠道名称</th>
- <th>所在列表</th>
- <th>URL</th>
- <th>二维码</th>
- <th>渠道PV</th>
- </tr>
- </thead>
-
- <tbody>
-
- <?php $_from = $this->_tpl_vars['pagePublicData']['EventsDefaultCode']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['qrcode'] = array('total' => count($_from), 'iteration' => 0);
- if ($this->_foreach['qrcode']['total'] > 0):
- foreach ($_from as $this->_tpl_vars['qrcode']):
- $this->_foreach['qrcode']['iteration']++;
- ?>
-
- <tr>
- <td>默认</td>
- <td><?php echo $this->_tpl_vars['qrcode']['name']; ?>
- </td>
- <td><?php echo $this->_tpl_vars['qrcode']['url']; ?>
- </td>
- <td style="position:relative;">
- <img class="pop" width="80px" alt="<?php echo $this->_tpl_vars['qrcode']['name']; ?>
- " src="<?php echo $this->_tpl_vars['qrcode']['img']; ?>
- ">
- <img class="popup" alt="<?php echo $this->_tpl_vars['qrcode']['name']; ?>
- " src="<?php echo $this->_tpl_vars['qrcode']['img']; ?>
- ">
- </td>
- <td><?php if ($this->_tpl_vars['qrcode']['pv']): ?><?php echo $this->_tpl_vars['qrcode']['pv']; ?>
- <?php else: ?>0<?php endif; ?></td>
- </tr>
-
- <?php endforeach; endif; unset($_from); ?>
- <tr></tr>
- <?php $_from = $this->_tpl_vars['deliveryChannelsData']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
- foreach ($_from as $this->_tpl_vars['data']):
- ?>
- <tr>
- <td><?php echo $this->_tpl_vars['data']['str_name']; ?>
- </td>
- <?php if ($this->_tpl_vars['data']['platform_id']): ?>
- <td><?php echo $this->_tpl_vars['platFormData'][$this->_tpl_vars['data']['platform_id']]['name']; ?>
- </td>
- <?php else: ?>
- <td>无</td>
- <?php endif; ?>
- <td><?php echo $this->_tpl_vars['data']['url']; ?>
- </td>
- <td style="position:relative;">
- <img class="pop" width="80px" alt="<?php echo $this->_tpl_vars['data']['str_name']; ?>
- " src="<?php echo $this->_tpl_vars['data']['img_url']; ?>
- ">
- <img class="popup" alt="<?php echo $this->_tpl_vars['data']['str_name']; ?>
- " src="<?php echo $this->_tpl_vars['data']['img_url']; ?>
- ">
- </td>
- <td><?php echo $this->_tpl_vars['data']['pv_num']; ?>
- </td>
- </tr>
- <?php endforeach; endif; unset($_from); ?>
- </tbody>
- </table>
- <?php echo $this->_tpl_vars['page_html']; ?>
-
- </div>
- </div>
- </div>
- </div>
- </div>
- <?php $_smarty_tpl_vars = $this->_tpl_vars;
- $this->_smarty_include(array('smarty_include_tpl_file' => "./admin/activity/common_right.html", 'smarty_include_vars' => array()));
- $this->_tpl_vars = $_smarty_tpl_vars;
- unset($_smarty_tpl_vars);
- ?>
- <div style="clear:both;"></div>
- </form>
- </div>
- <script>
- KISSY.use('node, io, event', function (S, Node, IO, Event) {
- var $ = S.all;
-
- $(".pop").on('mouseenter', function () {
- $(this).next(".popup").css({'display':'block'});
- });
- $(".popup").on('mouseleave', function () {
- $(this).css({'display':'none'});
- });
- });
- </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);
- ?>
|