1234567891011121314151617181920212223242526272829303132333435 |
- <div class="panel panel-info">
- <div class="panel-heading">筛选</div>
- <div class="panel-body">
- <form action="./index.php" method="get" class="form-horizontal" role="form">
- <input type="hidden" name="c" value="platform">
- <input type="hidden" name="a" value="stat">
- <input type="hidden" name="do" value="keyword">
- <input type="hidden" name="foo" value="{$foo}">
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">关键字类型</label>
- <div class="col-sm-8 col-lg-9 col-xs-12">
- <div class="btn-group">
- <a href="{php echo filter_url('foo:hit');}" class="btn {if $_GPC['foo'] == 'hit' || $_GPC['foo'] == ''}btn-primary{else}btn-default{/if}">已触发关键字</a>
- <a href="{php echo filter_url('foo:miss');}" class="btn {if $_GPC['foo']== 'miss'}btn-primary{else}btn-default{/if}">未触发关键字</a>
- </div>
- </div>
- </div>
- <!-- <div class="form-group">
- <label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">关键字</label>
- <div class="col-sm-8">
- <input type="text" class="form-control" name="keyword" value="{$_GPC['keyword']}" placeholder="请输入关键字">
- </div>
- </div>
- --> <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">日期范围</label>
- <div class="col-sm-6 col-lg-8 col-xs-12">
- {php echo tpl_form_field_daterange('time', array('starttime'=>date('Y-m-d', $starttime),'endtime'=>date('Y-m-d', $endtime)));}
- </div>
- <div class="pull-right col-xs-12 col-sm-3 col-lg-2">
- <button class="btn btn-default"><i class="fa fa-search"></i> 搜索</button>
- </div>
- </div>
- </form>
- </div>
- </div>
|