chengkun
2025-05-22 96b4db3a6607c1b089b3f450b121e5a2e5ab953d
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);
        }
    }
 
}
?>