index.html 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. <extend name="Public:base" />
  2. <block name="content">
  3. <link rel="stylesheet" href="__CSS__/index.css" />
  4. <div class="row">
  5. <div class="col-xs-12">
  6. <!-- PAGE CONTENT BEGINS -->
  7. <div class="alert alert-block alert-success">
  8. <button type="button" class="close" data-dismiss="alert">
  9. <i class="icon-remove"></i>
  10. </button>
  11. <i class="icon-ok green"></i>
  12. 欢迎使用
  13. <strong class="green">
  14. {$version}
  15. <?php if($isnew){ ?>
  16. <small>(最新版本)</small>
  17. <?php } else { ?>
  18. <small>( 可更新至最新版本:{$newsubversion} )</small>
  19. <?php } ?>
  20. </strong>. <br/>
  21. <div style="margin:20px 0px;">
  22. <p>
  23. <font color="red">升级前一定要备份程序和数据库。非默认版安装、已经修改过程序的不支持覆盖升级。
  24. </font>
  25. </p>
  26. </div>
  27. <div style="margin: 20px 0px;">
  28. <?php if( !empty($version_meta) ){ ?>
  29. <?php foreach($version_meta as $key => $meta){ ?>
  30. <p>版本号:<strong style="font-size:16px;">{$key}</strong>,文件目录:{$meta['name']}
  31. <a href="{$admin_domain}/seller.php?s=/Upgrade/down_version_file/version/{$key}/host/{$host}" target="_blank">下载</a></p>
  32. <p>更新内容:{$meta['desc']}</p>
  33. <br/>
  34. <?php } ?>
  35. <?php }else{ ?>
  36. <p>当前已是最新版本</p>
  37. <?php } ?>
  38. </div>
  39. </div>
  40. <!-- PAGE CONTENT ENDS -->
  41. </div>
  42. <div class="col-xs-12">
  43. <div class="row">
  44. <div class="col-lg-4 col-md-4 col-sm-6">
  45. <div class="tile">
  46. <div class="tile-heading">
  47. 今日订单
  48. <span class="pull-right"> 总{$total_order}单</span>
  49. </div>
  50. <div class="tile-body">
  51. <i class="fa icon-shopping-cart"></i>
  52. <h2 class="pull-right">{$today_order}</h2>
  53. </div>
  54. <div class="tile-footer">
  55. <a href="{:U('Order/index')}">显示详细...</a>
  56. </div>
  57. </div>
  58. </div>
  59. <div class="col-lg-4 col-md-4 col-sm-6">
  60. <div class="tile">
  61. <div class="tile-heading">
  62. 今日销售额
  63. <span class="pull-right"> 总{$total_money} </span>
  64. </div>
  65. <div class="tile-body">
  66. <i class="fa icon-credit-card"></i>
  67. <h2 class="pull-right">{$today_money}</h2>
  68. </div>
  69. <div class="tile-footer">
  70. <a href="{:U('Order/index')}">显示详细...</a>
  71. </div>
  72. </div>
  73. </div>
  74. <div class="col-lg-4 col-md-4 col-sm-6">
  75. <div class="tile">
  76. <div class="tile-heading">
  77. 新增客户
  78. <span class="pull-right"> 总{$total_member|default='0'}个</span>
  79. </div>
  80. <div class="tile-body">
  81. <i class="fa icon-user"></i>
  82. <h2 class="pull-right">{$today_member|default='0'}</h2>
  83. </div>
  84. <div class="tile-footer">
  85. <a href="{:U('Member/index')}">显示详细...</a>
  86. </div>
  87. </div>
  88. </div>
  89. </div>
  90. <div class="row">
  91. <div class="col-lg-4 col-md-4 col-sm-6">
  92. <div class="panel panel-default">
  93. <div class="panel-heading">
  94. <h3 class="panel-title">
  95. <i class="fa icon-gift"></i>
  96. 待审核商品数量
  97. <a style="font-size: 14px" href="{:U('Goods/index', array('status' => 2))}" class="pull-right">更多..</a>
  98. </h3>
  99. </div>
  100. <ul class="list-group">
  101. <li class="list-group-item">
  102. <a href="{:U('Goods/index', array('status' => 2))}">待审核商品 <b class="red">{$total_wait_goods}</b> 个</a>
  103. <br>
  104. </li>
  105. </ul>
  106. </div>
  107. <div class="panel panel-default">
  108. <div class="panel-heading">
  109. <h3 class="panel-title">
  110. <i class="fa icon-bookmark"></i>
  111. 入驻待审核商家数量
  112. <a style="font-size: 14px" href="{:U('SellerManage/apply', array('state' => 0))}" class="pull-right">更多..</a>
  113. </h3>
  114. </div>
  115. <ul class="list-group">
  116. <li class="list-group-item">
  117. <a href="{:U('SellerManage/apply', array('state' => 0))}">待审核商家 <b class="red">{$total_wait_apply}</b> 个</a>
  118. <br>
  119. </li>
  120. </ul>
  121. </div>
  122. </div>
  123. <div class="col-lg-8 col-md-12 col-sm-12">
  124. <div class="panel panel-default">
  125. <div class="panel-heading">
  126. <h3 class="panel-title">
  127. <i class="fa icon-bookmark"></i>
  128. 待审核活动数量
  129. </h3>
  130. </div>
  131. <ul class="list-group">
  132. <li class="list-group-item">
  133. <a href="{:U('Subject/index')}">主题活动待审核商品 <b class="red">{$subject_wait_count}</b> 个 </a>
  134. </li>
  135. <li class="list-group-item">
  136. <a href="{:U('Lottery/index')}">抽奖活动待审核商品 <b class="red">{$lottery_wait_count}</b> 个 </a>
  137. </li>
  138. <li class="list-group-item">
  139. <a href="{:U('Spike/index')}">限时秒杀待审核商品 <b class="red">{$spike_wait_count}</b> 个 </a>
  140. </li>
  141. </ul>
  142. </div>
  143. </div>
  144. </div>
  145. <div class="row">
  146. <div class="col-lg-4 col-md-12 col-sm-12 col-sx-12">
  147. <div class="panel panel-default">
  148. <div class="panel-heading">
  149. <h3 class="panel-title">
  150. <i class="fa icon-calendar"></i>
  151. 用户行为
  152. <a style="font-size: 14px" href="{:U('UserAction/index')}" class="pull-right">更多..</a>
  153. </h3>
  154. </div>
  155. <ul class="list-group">
  156. <volist name="uc_list" id="v" empty="$uc_empty">
  157. <li class="list-group-item">
  158. <if condition="$v['type'] eq '网站会员' ">
  159. <a href='{:U("Member/info",array("id"=>$v["user_id"]))}'>{$v.uname}</a>
  160. <else />
  161. <a href='{:U("AdminUser/info",array("id"=>$v["user_id"]))}'>{$v.uname}</a>
  162. </if>
  163. {$v.info}
  164. <br>
  165. <small class="text-muted">
  166. {$v.add_time}
  167. </small>
  168. </li>
  169. </volist>
  170. </ul>
  171. </div>
  172. </div>
  173. <div class="col-lg-8 col-md-12 col-sm-12 col-sx-12">
  174. <div class="panel panel-default">
  175. <div class="panel-heading">
  176. <h3 class="panel-title">
  177. <i class="fa icon-shopping-cart"></i>
  178. 最新订单
  179. <a style="font-size: 14px" href="{:U('Order/index')}" class="pull-right">更多..</a>
  180. </h3>
  181. </div>
  182. <div class="table-responsive">
  183. <table class="table">
  184. <thead>
  185. <tr>
  186. <td>订单号</td>
  187. <td>客户名称</td>
  188. <td>状态</td>
  189. <td>生成日期</td>
  190. <td>金额</td>
  191. <td>操作</td>
  192. </tr>
  193. </thead>
  194. <tbody>
  195. <volist name="list" id="v" empty="$empty">
  196. <tr>
  197. <td>{$v.order_num_alias}</td>
  198. <td>{$v.uname}</td>
  199. <td>{$v.name}</td>
  200. <td>
  201. <?php echo date('Y-m-d H:i:s',$v['date_added']); ?>
  202. </td>
  203. <td>{$v.total}</td>
  204. <td>
  205. <a class="btn btn-info" href='{:U("Order/show_order",array("id"=>$v["order_id"]))}'>
  206. <i class="icon-eye-open fa"></i>
  207. </a>
  208. </td>
  209. </tr>
  210. </volist>
  211. </tbody>
  212. </table>
  213. </div>
  214. </div>
  215. </div>
  216. </div>
  217. </div>
  218. </div>
  219. </block>