1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <?php /* Smarty version 2.6.17, created on 2018-04-18 10:21:14
- compiled from admin/activity/preview_single_page.html */ ?>
- <?php $_from = $this->_tpl_vars['pageData']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
- foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['item']):
- ?>
- <div class="ks-screen ks-screen-p">
- <?php if ($this->_tpl_vars['item']['bgimage_url']): ?>
- <img class="background_image" style="" src="<?php echo $this->_tpl_vars['item']['bgimage_url']; ?>
- " >
- <?php endif; ?>
-
- <?php $_from = $this->_tpl_vars['item']['layers']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
- foreach ($_from as $this->_tpl_vars['layer']):
- ?>
- <?php if ($this->_tpl_vars['layer']['url']): ?>
- <?php if ($this->_tpl_vars['layer']['link']): ?>
- <a href="<?php echo $this->_tpl_vars['item']['button_link']; ?>
- ">
- <?php endif; ?>
- <img class="upper_image" style=
- "
- width:<?php echo $this->_tpl_vars['layer']['width']; ?>
- px;
- height:<?php echo $this->_tpl_vars['layer']['height']; ?>
- px;
- <?php echo $this->_tpl_vars['layer']['style']; ?>
- "
- src="<?php echo $this->_tpl_vars['layer']['url']; ?>
- "
- >
- <?php if ($this->_tpl_vars['layer']['link']): ?>
- </a>
- <?php endif; ?>
- <?php endif; ?>
- <?php if ($this->_tpl_vars['layer']['video_url']): ?>
- <div class="layer_anim" style="width:<?php echo $this->_tpl_vars['layer']['video_width']; ?>
- px;height:<?php echo $this->_tpl_vars['layer']['video_height']; ?>
- px;<?php echo $this->_tpl_vars['layer']['style']; ?>
- ;background-color:#ccc;color:#fff;font-size:20px;text-align:center;line-height:<?php echo $this->_tpl_vars['layer']['video_height']; ?>
- px;" >视频</div>
- <?php endif; ?>
- <?php endforeach; endif; unset($_from); ?>
- <input name="p[]" type="hidden" value='<?php echo $this->_tpl_vars['item']['json']; ?>
- ' />
- <div class="mask"></div>
- <div class="op">
- <div class="modify">修改</div>
- <div class="delete">删除</div>
- </div>
- </div>
- <?php endforeach; endif; unset($_from); ?>
|