detail.html 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. <div class="main">
  14. <div class="main_title_list"><div class="list-line-ico"></div>游戏收益明细</div>
  15. <div class="search_row">
  16. <form name="search" action="__APP__" method="get" class="clearfix">
  17. <div>游戏类型:
  18. <select name="game_id">
  19. <option value="0">所有</option>
  20. <?php foreach ($games as $key => $value): ?>
  21. <option value="{$key}"<?php if ($key==intval($_REQUEST['game_id'])): ?> selected="selected"<?php endif ?>>{$value}</option>
  22. <?php endforeach ?>
  23. </select>
  24. </div>
  25. <div>胜负:
  26. <select name="win">
  27. <option value="0">所有</option>
  28. <option value="1" <?php if (1==intval($_REQUEST['win'])): ?> selected="selected"<?php endif ?>>胜</option>
  29. <option value="-1" <?php if (-1==intval($_REQUEST['win'])): ?> selected="selected"<?php endif ?>>负</option>
  30. </select>
  31. </div>
  32. <div>时间:
  33. <span><input type="text" class="textbox" name="create_time_1" id="create_time_1" value="{$_REQUEST['create_time_1']}" onfocus="this.blur(); return showCalendar('create_time_1', '%Y-%m-%d', false, false, 'btn_create_time_1');" /><input type="button" class="button" id="btn_create_time_1" value="{%SELECT_TIME}" onclick="return showCalendar('create_time_1', '%Y-%m-%d', false, false, 'btn_create_time_1');" /></span>
  34. - <span><input type="text" class="textbox" name="create_time_2" id="create_time_2" value="{$_REQUEST['create_time_2']}" onfocus="this.blur(); return showCalendar('create_time_2', '%Y-%m-%d', false, false, 'btn_create_time_2');" /><input type="button" class="button" id="btn_create_time_2" value="{%SELECT_TIME}" onclick="return showCalendar('create_time_2', '%Y-%m-%d', false, false, 'btn_create_time_2');" /></span>
  35. <input type="hidden" value="{:intval($_REQUEST['id'])}" name="id" />
  36. <input type="hidden" value="{:intval($_REQUEST['user_id'])}" name="user_id" />
  37. <input type="hidden" value="BmPromoterGame" name="m" />
  38. <input type="hidden" value="detail" name="a" />
  39. <input type="submit" class="button" value="{%SEARCH}" />
  40. </div>
  41. </form>
  42. 平台总收入:{$sum.platform_gain}
  43. </div>
  44. <html:list
  45. id="dataTable"
  46. style="dataTable"
  47. name="user"
  48. datasource="list"
  49. show="create_time:时间
  50. ,game_type:游戏类型
  51. ,sum_bet:下注金额
  52. ,sum_win:胜负
  53. ,sum_win:游戏流水
  54. ,platform_gain:平台流水收入
  55. ,promoter_gain:推广中心流水收入"/>
  56. <div class="page">{$page}</div>
  57. </div>
  58. <include file="Public:footer" />