index.html 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {// 引入标签库 }
  2. <tagLib name="html" />
  3. <include file="Public:header" />
  4. <include file="Public:new" />
  5. <load href='__TMPL__Common/js/jquery.bgiframe.js' />
  6. <load href='__TMPL__Common/js/jquery.weebox.js' />
  7. <load href='__TMPL__Common/js/user.js' />
  8. <load href='__TMPL__Common/js/deal.js' />
  9. <load href='__TMPL__Common/style/weebox.css' />
  10. <script type="text/javascript" src="__TMPL__Common/js/calendar/calendar.php?lang=zh-cn" ></script>
  11. <load href='__TMPL__Common/js/calendar/calendar.css' />
  12. <load href='__TMPL__Common/js/calendar/calendar.js' />
  13. <php>
  14. function get_coins($id,$user_id){
  15. return "<a href=\"javascript:detail(".$id.",".$user_id.")\">明细</a>";
  16. }
  17. </php>
  18. <script type="text/javascript">
  19. function detail(id,user_id)
  20. {
  21. location.href = ROOT+"?"+VAR_MODULE+"="+MODULE_NAME+"&"+VAR_ACTION+"=detail&id="+id+"&user_id="+user_id;
  22. }
  23. </script>
  24. <div class="main">
  25. <div class="main_title_list"><div class="list-line-ico"></div>游戏收益分析</div>
  26. <div class="search_row">
  27. <form name="search" action="__APP__" method="get" class="clearfix">
  28. <div>年:
  29. <select name="year">
  30. <?php foreach ($years as $value): ?>
  31. <option value="{$value}"<?php if ($value==$year): ?> selected="selected"<?php endif ?>>{$value}</option>
  32. <?php endforeach ?>
  33. </select>
  34. </div>
  35. <div>月:
  36. <select name="month">
  37. <?php foreach ($months as $value): ?>
  38. <option value="{$value}"<?php if ($value==$month): ?> selected="selected"<?php endif ?>>{$value}</option>
  39. <?php endforeach ?>
  40. </select>
  41. </div>
  42. <div>推广会员名称:<input type="text" class="textbox" name="nick_name" value="{:trim($_REQUEST['nick_name'])}" style="width:100px;" /></div>
  43. <div>上线推广商:<input type="text" class="textbox" name="name" value="{:trim($_REQUEST['name'])}" style="width:100px;" /></div>
  44. <div>上线推广中心:<input type="text" class="textbox" name="p_name" value="{:trim($_REQUEST['p_name'])}" style="width:100px;" /></div>
  45. <div>上级会员ID:<input type="text" style="width:60px;" class="textbox" name="bm_pid" value="{:trim($_REQUEST['bm_pid'])}" /></div>
  46. <input type="hidden" value="BmPromoterGame" name="m" />
  47. <input type="hidden" value="index" name="a" />
  48. <input type="submit" class="button" value="{%SEARCH}" />
  49. </form>
  50. </div>
  51. 平台总收入:{$sum.platform_gain}
  52. <html:list
  53. id="dataTable"
  54. style="dataTable"
  55. name="user"
  56. action="true"
  57. datasource="list"
  58. show="nick_name:推广会员名称
  59. ,name:上线推广商
  60. ,p_name:上线推广中心
  61. ,sum_bet:下注总额
  62. ,sum_win:推广会员收支
  63. ,platform_gain:平台收入
  64. ,promoter_gain:推广中心流水收入
  65. ,gain:推广商收支"
  66. actionlist="id|get_coins=$user['user_id']" />
  67. <div class="page">{$page}</div>
  68. </div>
  69. <include file="Public:footer" />