123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 |
- <?php /* Smarty version Smarty-3.1.11, created on 2019-03-28 17:42:22
- compiled from "/www/wwwroot/edm.alipearl.net/application/module/view/email_template_admin/update.html" */ ?>
- <?php /*%%SmartyHeaderCode:17071547545952f8200c7cc5-92018417%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
- $_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- 'f5234f1d3d46ae35205980e91ef39d2a733b13db' =>
- array (
- 0 => '/www/wwwroot/edm.alipearl.net/application/module/view/email_template_admin/update.html',
- 1 => 1500023334,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '17071547545952f8200c7cc5-92018417',
- 'function' =>
- array (
- ),
- 'version' => 'Smarty-3.1.11',
- 'unifunc' => 'content_5952f8201236a3_39113965',
- 'variables' =>
- array (
- 'info' => 0,
- 'id' => 0,
- 'one_info' => 0,
- ),
- 'has_nocache_code' => false,
- ),false); /*/%%SmartyHeaderCode%%*/?>
- <?php if ($_valid && !is_callable('content_5952f8201236a3_39113965')) {function content_5952f8201236a3_39113965($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ('../public/admin_header.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
- <?php echo $_smarty_tpl->getSubTemplate ('../public/admin_navi.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
- <!-- Right side column. Contains the navbar and content of the page -->
- <aside class="right-side">
- <!-- Content Header (Page header) -->
- <section class="content-header">
- <h1>
- 修改邮件模板
- <small>Control panel</small>
- </h1>
- <ol class="breadcrumb">
- <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
- <li class="active">Blank page</li>
- </ol>
- </section>
- <!-- Main content -->
- <section class="content">
- <div class="span9">
- <?php if ($_smarty_tpl->tpl_vars['info']->value){?>
- <div class="alert alert-danger alert-dismissable"><?php echo $_smarty_tpl->tpl_vars['info']->value;?>
- </div>
- <?php }?>
- <div id='main' class="form-actions">
- <form method="post" action="" >
- <input type="hidden" name="id" value="<?php echo $_smarty_tpl->tpl_vars['id']->value;?>
- " />
- <table class="table table-bordered" style="margin-top:15px;">
- <tr>
- <td>模板标题</td>
- <td>
- <input type="text" name="msg_title" class="form-control" style="width:450px;" value="<?php echo $_smarty_tpl->tpl_vars['one_info']->value['msg_title'];?>
- " />
- </td>
- </tr>
- <!--<tr>-->
- <!--<td>模板内容</td>-->
- <!--<td>-->
- <!--<div>-->
- <!--<textarea name="msg_content" id="msg_content" style="height: 255px; width: 30%; "><?php echo $_smarty_tpl->tpl_vars['one_info']->value['msg_content'];?>
- </textarea>-->
- <!--</div>-->
- <!--</td>-->
- <!--</tr>-->
- <tr>
- <td>模板内容</td>
- <td>
- <div class='box-body pad'>
- <textarea id="msg_content" name="msg_content" rows="80" cols="80">
- <?php echo $_smarty_tpl->tpl_vars['one_info']->value['msg_content'];?>
- </textarea>
- </div>
- </td>
- </tr>
- <tr>
- <td>状态</td>
- <td>
- <input type="radio" name="status" value="1" <?php if ($_smarty_tpl->tpl_vars['one_info']->value['status']==1){?>checked<?php }?> > 开启
- <input type="radio" name="status" value="2" <?php if ($_smarty_tpl->tpl_vars['one_info']->value['status']==2){?>checked<?php }?> > 禁用
- </td>
- </tr>
- <tr>
- <td> </td>
- <td >
- <input type="submit" value="提交" class="btn btn-info" style="width:120px;" />
- </td>
- </tr>
- </table>
- </form>
- </div>
- </div>
- </section><!-- /.content -->
- </aside><!-- /.right-side -->
- </div><!-- ./wrapper -->
- <!-- CK Editor -->
- <script src="static/AdminLTE/js/plugins/ckeditor/ckeditor.js" type="text/javascript"></script>
- <script type="text/javascript">
- $(function() {
- // Replace the <textarea id="msg_content"> with a CKEditor
- // instance, using default configuration.
- CKEDITOR.replace( 'msg_content', { allowedContent: true});
- CKEDITOR.replace('msg_content');
- //bootstrap WYSIHTML5 - text editor
- $(".textarea").wysihtml5();
- });
- </script>
- <style>
- select{height:30px;}
- .form-actions li{list-style:none;width:25px;float:left;padding-bottom:8px;padding-right:5px;}
- </style>
- <script>
- $('#treeview4').addClass('active');
- $(".email_template_left").addClass('active');
- </script>
- </body>
- </html>
- <?php }} ?>
|