|
@@ -0,0 +1,106 @@
|
|
|
+<{include file='../public/admin_header.html'}>
|
|
|
+<{include file='../public/admin_navi.html'}>
|
|
|
+<!-- Right side column. Contains the navbar and content of the page -->
|
|
|
+<aside class="right-side">
|
|
|
+ <!-- Content Header (Page header) -->
|
|
|
+
|
|
|
+
|
|
|
+ <!-- Main content -->
|
|
|
+ <section class="content">
|
|
|
+ <div class="span9">
|
|
|
+
|
|
|
+ <{if $info}>
|
|
|
+ <div class="alert alert-success nodisplay"><{$info}></div>
|
|
|
+ <{/if}>
|
|
|
+
|
|
|
+ <div id='main' class="form-actions">
|
|
|
+ <form method="post" id="batch_user_group" action="/?a=sms_customer_list_admin&m=deleteByExcel" enctype="multipart/form-data" >
|
|
|
+ <input type="hidden" name="to_import_user" value="yes" />
|
|
|
+ <input type="file" name="inputExcel" style="width:175px;"><span style="color:red;">(excel是.csv格式的)</span>
|
|
|
+ <input type="submit" class="btn btn-success" value="导入并删除用户" style="cursor:pointer;height: 32px; width: 140px;margin-left:10px;margin-top:20px;" />
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+ <script src="static/AdminLTE/js/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js" type="text/javascript"></script>
|
|
|
+ <script src="static/AdminLTE/js/plugins/iCheck/icheck.min.js" type="text/javascript"></script>
|
|
|
+ <link href="static/AdminLTE/css/iCheck/minimal/blue.css" rel="stylesheet" type="text/css" />
|
|
|
+ <link href="static/AdminLTE/css/daterangepicker/daterangepicker-bs3.css" rel="stylesheet" type="text/css" />
|
|
|
+ <script src="static/AdminLTE/js/plugins/daterangepicker/daterangepicker.js" type="text/javascript"></script>
|
|
|
+ <script type="text/javascript">
|
|
|
+ $(function() {
|
|
|
+
|
|
|
+ "use strict";
|
|
|
+
|
|
|
+ //iCheck for checkbox and radio inputs
|
|
|
+ $('input[type="checkbox"]').iCheck({
|
|
|
+ checkboxClass: 'icheckbox_minimal-blue',
|
|
|
+ radioClass: 'iradio_minimal-blue'
|
|
|
+ });
|
|
|
+
|
|
|
+ //When unchecking the checkbox
|
|
|
+ $("#check-all").on('ifUnchecked', function(event) {
|
|
|
+ //Uncheck all checkboxes
|
|
|
+ $("input[type='checkbox']", ".table-mailbox").iCheck("uncheck");
|
|
|
+ });
|
|
|
+ //When checking the checkbox
|
|
|
+ $("#check-all").on('ifChecked', function(event) {
|
|
|
+ //Check all checkboxes
|
|
|
+ $("input[type='checkbox']", ".table-mailbox").iCheck("check");
|
|
|
+ });
|
|
|
+
|
|
|
+ });
|
|
|
+ </script>
|
|
|
+
|
|
|
+ <script>
|
|
|
+ function toSubmit(){
|
|
|
+ var n = $("input:checked").length;
|
|
|
+
|
|
|
+ if (n<=1) {
|
|
|
+ alert("请选择要批量删除的客户");
|
|
|
+ }else{
|
|
|
+ if(confirm("确定要删除吗?")){
|
|
|
+ $('#batch_delete').submit();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ </script>
|
|
|
+
|
|
|
+ </div>
|
|
|
+ <hr>
|
|
|
+ <div class="span9">
|
|
|
+ <form method="post" action="/?a=sms_customer_list_admin&m=deleteByGroup">
|
|
|
+ <div >
|
|
|
+ 客户分组:
|
|
|
+ <select name="group_name" style="width:280px;" id="group_name" >
|
|
|
+ <option value="0">请选择</option>
|
|
|
+ <{foreach from=$group_list item=item}>
|
|
|
+ <option value="<{$item.name}>" <{if $group_name==$item.name}>selected<{/if}> ><{$item.name}></option>
|
|
|
+ <{/foreach}>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ <input type="submit" class="btn btn-success" value="按组删除用户" style="cursor:pointer;height: 32px; width: 140px;margin-left:10px;margin-top:20px;">
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </section><!-- /.content -->
|
|
|
+</aside><!-- /.right-side -->
|
|
|
+</div><!-- ./wrapper -->
|
|
|
+
|
|
|
+<style>
|
|
|
+ select{height:30px;}
|
|
|
+</style>
|
|
|
+<script>
|
|
|
+ $('#treeview9').addClass('active');
|
|
|
+ $(".return_rate_left").addClass('active');
|
|
|
+
|
|
|
+ $(function() {
|
|
|
+ //Date range picker
|
|
|
+ $('#reservation').daterangepicker();
|
|
|
+
|
|
|
+ });
|
|
|
+</script>
|
|
|
+
|
|
|
+
|
|
|
+</body>
|
|
|
+</html>
|