distribution_log.html 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. {// 引入标签库 }
  2. <tagLib name="html" />
  3. <include file="Public:header" />
  4. <script type="text/javascript">
  5. //完全删除
  6. function prop_detail(id,create_ym)
  7. {
  8. if(!id)
  9. {
  10. idBox = $(".key:checked");
  11. if(idBox.length == 0)
  12. {
  13. alert(LANG['DELETE_EMPTY_WARNING']);
  14. return;
  15. }
  16. idArray = new Array();
  17. $.each( idBox, function(i, n){
  18. idArray.push($(n).val());
  19. });
  20. id = idArray.join(",");
  21. }
  22. if(!create_ym)
  23. {
  24. create_time_1=$("input[name='create_time_1']").val();
  25. var data = new Date(create_time_1);
  26. create_ym =(data.getFullYear() +""+ (data.getMonth()+1));
  27. }
  28. if(confirm(LANG['CONFIRM_DELETE']))
  29. $.ajax({
  30. url: ROOT+"?"+VAR_MODULE+"="+MODULE_NAME+"&"+VAR_ACTION+"=delete_prop&id="+id+"&create_ym="+create_ym,
  31. data: "ajax=1",
  32. dataType: "json",
  33. success: function(obj){
  34. $("#info").html(obj.info);
  35. if(obj.status==1){
  36. location.href=location.href;
  37. }
  38. }
  39. });
  40. }
  41. </script>
  42. <script type="text/javascript" src="__TMPL__Common/js/calendar/calendar.php?lang=zh-cn" ></script>
  43. <load href='__TMPL__Common/js/calendar/calendar.css' />
  44. <load href='__TMPL__Common/js/calendar/calendar.js' />
  45. <div class="main">
  46. <div class="main_title">{$user_info.nick_name} {%USER_DISTRIBUTION_LOG}{$list[0].log_admin_id}</div>
  47. <div class="blank5"></div>
  48. <div class="blank5"></div>
  49. <div class="search_row">
  50. <form name="search" action="__APP__" method="get">
  51. 子用户ID:<input type="text" class="textbox" name="from_user_id" value="{:trim($_REQUEST['from_user_id'])}" style="width:100px;" />
  52. 子用户昵称:<input type="text" class="textbox" name="nick_name" value="{:trim($_REQUEST['nick_name'])}" style="width:100px;" />
  53. <input type="hidden" value="UserGeneral" name="m" /><input type="hidden" value="distribution_log" name="a" /><input type="submit" class="button" value="{%SEARCH}" />
  54. <input type="hidden" value="<?php echo $_REQUEST['id'] ?>" name="id"/>
  55. </form>
  56. </div>
  57. <html:list
  58. id="dataTable"
  59. style="dataTable"
  60. name="prop"
  61. checkbox="true"
  62. datasource="list"
  63. show="id:编号|400px,from_user_id:子用户ID|400px,nick_name:子用户昵称|400px,ticket:从中抽成{%TICKET}数|400px"
  64. />
  65. <div class="blank5"></div>
  66. <div class="button_row">
  67. <!--<input type="button" class="button" value="{%FOREVERDEL}" onclick="prop_detail();" />-->
  68. </div>
  69. <div class="page">{$page}</div>
  70. </div>
  71. <include file="Public:footer" />