tpl_vars['info']->value){?>
tpl_vars['info']->value;?>
tpl_vars['error']->value){?>
tpl_vars['error']->value;?>
添加邮件模板
ID |
模板标题 |
模板内容 |
状态 |
创建人 |
修改时间 |
添加时间 |
操作 |
tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
tpl_vars['item']->value['id'];?>
|
tpl_vars['item']->value['msg_title'];?>
|
tpl_vars['item']->value['msg_content'];?>
|
tpl_vars['status_array']->value[$_smarty_tpl->tpl_vars['item']->value['status']];?>
|
tpl_vars['uname']->value;?>
|
tpl_vars['item']->value['update_time'],'%Y-%m-%d');?>
|
tpl_vars['item']->value['add_time'],'%Y-%m-%d');?>
|
修改
tpl_vars['item']->value['status']==1){?>
禁用
tpl_vars['item']->value['status']==2){?>
启用
|
tpl_vars['show']->value;?>