bda68edd65f133808132e31e1e0733ee3f604f50.file.add.html.php 3.2 KB

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