人人商城

stat-rule_search.html 1.4KB

123456789101112131415161718192021222324252627282930
  1. <div class="panel panel-info">
  2. <div class="panel-heading">筛选</div>
  3. <div class="panel-body">
  4. <form action="./index.php" method="get" class="form-horizontal" role="form">
  5. <input type="hidden" name="c" value="platform">
  6. <input type="hidden" name="a" value="stat">
  7. <input type="hidden" name="do" value="rule">
  8. <input type="hidden" name="m" value={$_GPC['m']}>
  9. <input type="hidden" name="foo" value={$foo}>
  10. <div class="form-group">
  11. <label class="col-xs-12 col-sm-3 col-md-2 control-label">规则类型</label>
  12. <div class="col-sm-8 col-lg-9 col-xs-12">
  13. <div class="btn-group">
  14. <a href="{php echo filter_url('foo:hit');}" class="btn {if $_GPC['foo'] == 'hit' || $_GPC['foo'] == ''}btn-primary{else}btn-default{/if}">已触发规则</a>
  15. <a href="{php echo filter_url('foo:miss');}" class="btn {if $_GPC['foo']== 'miss'}btn-primary{else}btn-default{/if}">未触发规则</a>
  16. </div>
  17. </div>
  18. </div>
  19. <div class="form-group">
  20. <label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">日期范围</label>
  21. <div class="col-sm-6 col-lg-8 col-xs-6">
  22. {php echo tpl_form_field_daterange('time', array('starttime'=>date('Y-m-d', $starttime),'endtime'=>date('Y-m-d', $endtime)));}
  23. </div>
  24. <div class="pull-right col-xs-12 col-sm-3 col-lg-2">
  25. <button class="btn btn-default"><i class="fa fa-search"></i> 搜索</button>
  26. </div>
  27. </div>
  28. </form>
  29. </div>
  30. </div>