人人商城

stat-keyword_search.html 1.7KB

1234567891011121314151617181920212223242526272829303132333435
  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="keyword">
  8. <input type="hidden" name="foo" value="{$foo}">
  9. <div class="form-group">
  10. <label class="col-xs-12 col-sm-3 col-md-2 control-label">关键字类型</label>
  11. <div class="col-sm-8 col-lg-9 col-xs-12">
  12. <div class="btn-group">
  13. <a href="{php echo filter_url('foo:hit');}" class="btn {if $_GPC['foo'] == 'hit' || $_GPC['foo'] == ''}btn-primary{else}btn-default{/if}">已触发关键字</a>
  14. <a href="{php echo filter_url('foo:miss');}" class="btn {if $_GPC['foo']== 'miss'}btn-primary{else}btn-default{/if}">未触发关键字</a>
  15. </div>
  16. </div>
  17. </div>
  18. <!-- <div class="form-group">
  19. <label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">关键字</label>
  20. <div class="col-sm-8">
  21. <input type="text" class="form-control" name="keyword" value="{$_GPC['keyword']}" placeholder="请输入关键字">
  22. </div>
  23. </div>
  24. --> <div class="form-group">
  25. <label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">日期范围</label>
  26. <div class="col-sm-6 col-lg-8 col-xs-12">
  27. {php echo tpl_form_field_daterange('time', array('starttime'=>date('Y-m-d', $starttime),'endtime'=>date('Y-m-d', $endtime)));}
  28. </div>
  29. <div class="pull-right col-xs-12 col-sm-3 col-lg-2">
  30. <button class="btn btn-default"><i class="fa fa-search"></i> 搜索</button>
  31. </div>
  32. </div>
  33. </form>
  34. </div>
  35. </div>