1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
| <?php
|
| class resume_controller extends common
| {
|
| public $userInfo = array();
|
| function __construct($tpl, $db, $def = '', $model = 'index', $m = '')
| {
| $this->common($tpl, $db, $def, $model, $m);
|
| if ($this->usertype == '2' || $this->usertype == '3') {
|
| $userInfoM = $this->MODEL('userinfo');
|
| $this->userInfo = $userInfoM -> getUserInfo(array('uid' => $this->uid), array('usertype' => $this->usertype));
|
| $this->yunset('userInfo', $this->userInfo);
| }
| }
|
| }
| ?>
|
|