f5234f1d3d46ae35205980e91ef39d2a733b13db.file.update.html.php 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. <?php /* Smarty version Smarty-3.1.11, created on 2019-03-28 17:42:22
  2. compiled from "/www/wwwroot/edm.alipearl.net/application/module/view/email_template_admin/update.html" */ ?>
  3. <?php /*%%SmartyHeaderCode:17071547545952f8200c7cc5-92018417%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
  4. $_valid = $_smarty_tpl->decodeProperties(array (
  5. 'file_dependency' =>
  6. array (
  7. 'f5234f1d3d46ae35205980e91ef39d2a733b13db' =>
  8. array (
  9. 0 => '/www/wwwroot/edm.alipearl.net/application/module/view/email_template_admin/update.html',
  10. 1 => 1500023334,
  11. 2 => 'file',
  12. ),
  13. ),
  14. 'nocache_hash' => '17071547545952f8200c7cc5-92018417',
  15. 'function' =>
  16. array (
  17. ),
  18. 'version' => 'Smarty-3.1.11',
  19. 'unifunc' => 'content_5952f8201236a3_39113965',
  20. 'variables' =>
  21. array (
  22. 'info' => 0,
  23. 'id' => 0,
  24. 'one_info' => 0,
  25. ),
  26. 'has_nocache_code' => false,
  27. ),false); /*/%%SmartyHeaderCode%%*/?>
  28. <?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);?>
  29. <?php echo $_smarty_tpl->getSubTemplate ('../public/admin_navi.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
  30. <!-- Right side column. Contains the navbar and content of the page -->
  31. <aside class="right-side">
  32. <!-- Content Header (Page header) -->
  33. <section class="content-header">
  34. <h1>
  35. 修改邮件模板
  36. <small>Control panel</small>
  37. </h1>
  38. <ol class="breadcrumb">
  39. <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
  40. <li class="active">Blank page</li>
  41. </ol>
  42. </section>
  43. <!-- Main content -->
  44. <section class="content">
  45. <div class="span9">
  46. <?php if ($_smarty_tpl->tpl_vars['info']->value){?>
  47. <div class="alert alert-danger alert-dismissable"><?php echo $_smarty_tpl->tpl_vars['info']->value;?>
  48. </div>
  49. <?php }?>
  50. <div id='main' class="form-actions">
  51. <form method="post" action="" >
  52. <input type="hidden" name="id" value="<?php echo $_smarty_tpl->tpl_vars['id']->value;?>
  53. " />
  54. <table class="table table-bordered" style="margin-top:15px;">
  55. <tr>
  56. <td>模板标题</td>
  57. <td>
  58. <input type="text" name="msg_title" class="form-control" style="width:450px;" value="<?php echo $_smarty_tpl->tpl_vars['one_info']->value['msg_title'];?>
  59. " />
  60. </td>
  61. </tr>
  62. <!--<tr>-->
  63. <!--<td>模板内容</td>-->
  64. <!--<td>-->
  65. <!--<div>-->
  66. <!--<textarea name="msg_content" id="msg_content" style="height: 255px; width: 30%; "><?php echo $_smarty_tpl->tpl_vars['one_info']->value['msg_content'];?>
  67. </textarea>-->
  68. <!--</div>-->
  69. <!--</td>-->
  70. <!--</tr>-->
  71. <tr>
  72. <td>模板内容</td>
  73. <td>
  74. <div class='box-body pad'>
  75. <textarea id="msg_content" name="msg_content" rows="80" cols="80">
  76. <?php echo $_smarty_tpl->tpl_vars['one_info']->value['msg_content'];?>
  77. </textarea>
  78. </div>
  79. </td>
  80. </tr>
  81. <tr>
  82. <td>状态</td>
  83. <td>
  84. <input type="radio" name="status" value="1" <?php if ($_smarty_tpl->tpl_vars['one_info']->value['status']==1){?>checked<?php }?> >&nbsp;开启
  85. <input type="radio" name="status" value="2" <?php if ($_smarty_tpl->tpl_vars['one_info']->value['status']==2){?>checked<?php }?> >&nbsp;禁用
  86. </td>
  87. </tr>
  88. <tr>
  89. <td>&nbsp;</td>
  90. <td >
  91. <input type="submit" value="提交" class="btn btn-info" style="width:120px;" />
  92. </td>
  93. </tr>
  94. </table>
  95. </form>
  96. </div>
  97. </div>
  98. </section><!-- /.content -->
  99. </aside><!-- /.right-side -->
  100. </div><!-- ./wrapper -->
  101. <!-- CK Editor -->
  102. <script src="static/AdminLTE/js/plugins/ckeditor/ckeditor.js" type="text/javascript"></script>
  103. <script type="text/javascript">
  104. $(function() {
  105. // Replace the <textarea id="msg_content"> with a CKEditor
  106. // instance, using default configuration.
  107. CKEDITOR.replace( 'msg_content', { allowedContent: true});
  108. CKEDITOR.replace('msg_content');
  109. //bootstrap WYSIHTML5 - text editor
  110. $(".textarea").wysihtml5();
  111. });
  112. </script>
  113. <style>
  114. select{height:30px;}
  115. .form-actions li{list-style:none;width:25px;float:left;padding-bottom:8px;padding-right:5px;}
  116. </style>
  117. <script>
  118. $('#treeview4').addClass('active');
  119. $(".email_template_left").addClass('active');
  120. </script>
  121. </body>
  122. </html>
  123. <?php }} ?>