fc2e4cdbfd3beed529b9e840424022bb5c6e8230.file.add.html.php 4.1 KB

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