detail.html 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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/style/weebox.css' />
  9. <script type="text/javascript" src="__TMPL__Common/js/calendar/calendar.php?lang=zh-cn" ></script>
  10. <load href='__TMPL__Common/js/calendar/calendar.css' />
  11. <load href='__TMPL__Common/js/calendar/calendar.js' />
  12. <php>
  13. function get_nickname($id){
  14. $user_nickname = $GLOBALS['db']->getOne("select `nick_name` from ".DB_PREFIX."user where id = ".intval($id));
  15. return emoji_decode($user_nickname);
  16. }
  17. </php>
  18. <div class="main">
  19. <div class="main_title_list"><div class="list-line-ico"></div>道具消耗明细&nbsp;&nbsp;&nbsp;&nbsp;
  20. <a href="{:u("PropStatistics/consume_statistics")}" class="back_list">返回</a>
  21. <div class="search_row">
  22. <form name="search" action="__APP__" method="get">
  23. 使用者ID :<input type="text" class="textbox" name="from_user_id" value="{:trim($_REQUEST['from_user_id'])}" />
  24. 接收者ID :<input type="text" class="textbox" name="to_user_id" value="{:trim($_REQUEST['to_user_id'])}" />
  25. 使用时间 :<input style="margin: 0;width:130px" type="text" class="textbox" size="8" name="start_time" id="start_time" value="{:trim($_REQUEST['start_time'])}" onfocus="return showCalendar('start_time', '%Y-%m-%d %H:%M:%S', false, false, 'start_time');" /> - <input type="text" style="width:130px" class="textbox" size="8" name="end_time" id="end_time" value="{:trim($_REQUEST['end_time'])}" onfocus="return showCalendar('end_time', '%Y-%m-%d %H:%M:%S', false, false, 'end_time');" />
  26. <input type="hidden" value="PropStatistics" name="m" /><input type="hidden" value="detail" name="a" /><input type="hidden" value="{:trim($_REQUEST['id'])}" name="id" /><input type="submit" class="button" value="{%SEARCH}" />
  27. </form>
  28. </div>
  29. <html:list
  30. id="dataTable"
  31. style="dataTable"
  32. name="prop"
  33. action="true"
  34. datasource="list"
  35. show="id:道具ID|10%,name:道具名|10%,from_user_id:使用者id|10%,from_user_id|get_nickname:使用者昵称|15%,to_user_id:接收者id|10%,to_user_id|get_nickname:接收者昵称|15%,diamonds:消耗钻石|10%,time:使用时间|15%"
  36. actionlist="id|null|无" />
  37. <div class="page">{$page}</div>
  38. <div align="center"><b style="font-size:16px;">消耗总量:{:number_format($count)} &nbsp;&nbsp;&nbsp;&nbsp; 消耗总价(钻石):{:number_format($count_price,2)}</b></div>
  39. </div>
  40. <include file="Public:footer" />