7be6729dc02133e4ddb4346c518259278b64cf9c.file.edit.html.php 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <?php /* Smarty version Smarty-3.1.11, created on 2019-08-16 10:01:57
  2. compiled from "/www/wwwroot/edm.alipearl.net/application/module/view/black_list_admin/edit.html" */ ?>
  3. <?php /*%%SmartyHeaderCode:6362192355d560e955b20b3-90569313%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
  4. $_valid = $_smarty_tpl->decodeProperties(array (
  5. 'file_dependency' =>
  6. array (
  7. '7be6729dc02133e4ddb4346c518259278b64cf9c' =>
  8. array (
  9. 0 => '/www/wwwroot/edm.alipearl.net/application/module/view/black_list_admin/edit.html',
  10. 1 => 1522378244,
  11. 2 => 'file',
  12. ),
  13. ),
  14. 'nocache_hash' => '6362192355d560e955b20b3-90569313',
  15. 'function' =>
  16. array (
  17. ),
  18. 'variables' =>
  19. array (
  20. 'info' => 0,
  21. 'id' => 0,
  22. 'one_info' => 0,
  23. ),
  24. 'has_nocache_code' => false,
  25. 'version' => 'Smarty-3.1.11',
  26. 'unifunc' => 'content_5d560e955f58a1_42297648',
  27. ),false); /*/%%SmartyHeaderCode%%*/?>
  28. <?php if ($_valid && !is_callable('content_5d560e955f58a1_42297648')) {function content_5d560e955f58a1_42297648($_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="" id="update_customer">
  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="email" id="email" class="form-control" style="width:450px;" value="<?php echo $_smarty_tpl->tpl_vars['one_info']->value['email'];?>
  59. " />
  60. </td>
  61. </tr>
  62. <tr>
  63. <td>&nbsp;</td>
  64. <td >
  65. <input onclick="to_submit();" type="button" value="提交" class="btn btn-info" style="width:120px;" />
  66. </td>
  67. </tr>
  68. </table>
  69. </form>
  70. </div>
  71. </div>
  72. </section><!-- /.content -->
  73. </aside><!-- /.right-side -->
  74. </div><!-- ./wrapper -->
  75. <style>
  76. select{height:30px;}
  77. .form-actions li{list-style:none;width:25px;float:left;padding-bottom:8px;padding-right:5px;}
  78. </style>
  79. <script>
  80. $('#treeview3').addClass('active');
  81. $(".blacklist_left").addClass('active');
  82. function to_submit(){
  83. var email = $('#email').val();
  84. var group_name = $('#group_name').val();
  85. if(email==''){
  86. alert("邮箱为必填项");
  87. }else{
  88. $('#update_customer').submit();
  89. }
  90. }
  91. </script>
  92. </body>
  93. </html>
  94. <?php }} ?>