_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); ?> _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); ?> _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); ?> _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); ?>
_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); ?>

表单设置

_tpl_vars['events_Data']['events']['forms']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): foreach ($_from as $this->_tpl_vars['form']): ?>
名称 类型 是否必填
_tpl_vars['form']['name']; ?> _tpl_vars['form']['type'] == 'text'): ?>单行文本 _tpl_vars['form']['type'] == 'textarea'): ?>多行文本 _tpl_vars['form']['type'] == 'select'): ?>下拉菜单 _tpl_vars['form']['required'] == 1): ?>必填 选填
点击编辑

奖品设置

_tpl_vars['events_Data']['events']['survery_prize']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['survery'] = array('total' => count($_from), 'iteration' => 0); if ($this->_foreach['survery']['total'] > 0): foreach ($_from as $this->_tpl_vars['index'] => $this->_tpl_vars['survery_prize']): $this->_foreach['survery']['iteration']++; ?>
序号 奖品名称 图片 数量 操作
_foreach['survery']['iteration']; ?> _tpl_vars['survery_prize']['name']; ?> _tpl_vars['survery_prize']['num']; ?> _tpl_vars['survery_prize']['unit_name']; ?> ' href="javascript:;">删除
添加奖品

问题设置

_tpl_vars['events_Data']['events']['survery_question']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): foreach ($_from as $this->_tpl_vars['index'] => $this->_tpl_vars['survery_question']): ?> _tpl_vars['survery_question']['type'] == 'img'): ?>
问题:       _tpl_vars['survery_question']['question']; ?>
类型:       图片
_tpl_vars['survery_question']['answer']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['answer']): ?>

选择:_tpl_vars['answer']['answer']; ?>
操作:       点击删除
_tpl_vars['survery_question']['type'] == 'txt'): ?>
问题:       _tpl_vars['survery_question']['question']; ?>
类型:       文字
_tpl_vars['survery_question']['answer']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['answer']): ?>
_tpl_vars['answer']['answer']; ?>
操作:       点击删除
添加一个问题
_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); ?>
_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); ?>