<select data-am-selected="{btnSize: 'sm'}" onchange="javascript:location.href=this.value;">
<option {if condition="$s_id eq 0"} selected="" {/if} value="{:url('school_class/index',array('s_id'=>0))}">所有学校</option>
{volist name="schools" id="vo"}
<option {if condition="$s_id eq $vo.s_id"} selected="" {/if} value="{:url('school_class/index',array('s_id'=>$vo.s_id))}">{$vo.s_name}</option>
{/volist}
</select>
public function index()
{
//分为老师反馈和学生反馈
$map1=null;
$map1['u_status']=0;
$student_system_feedback=db('system_feedback')->alias('sf')->
join('user u','sf.sf_u_id=u.u_id','LEFT')->where($map1)->paginate(10);
$this->assign('student_system_feedback',$student_system_feedback);
$map2=null;
$map2['u_status']=1;
$teacher_system_feedback=db('system_feedback')->alias('sf')->
join('user u','sf.sf_u_id=u.u_id','LEFT')->where($map2)->paginate(10);
$this->assign('teacher_system_feedback',$teacher_system_feedback);
return view();
}