1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| <?php
|
| class school_controller extends common{
| function public_action(){
| $this->yunset('schoolstyle',TPL_PATH.'school');
| $this->yunset('school_style',$this->config['sy_weburl'].'/app/template/school');
| $this->yunset('uid',$this->uid);
| $this->yunset('username',$this->username);
| }
| function school_tpl($tpl){
| $this->yuntpl(array('school/'.$tpl));
|
| }
| }
| ?>
|
|