chengkun
2025-04-27 a0402d122fee696e2b7684ef7edfc504ade12640
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
 
 
class gongzhao_controller extends common
{
    // 公招列表
    function index_action()
    {
        $this->yunset('backurl', Url('wap'));
        $this->yunset("headertitle", "公招");
        $this->seo("gongzhao_index");
        $this->yuntpl(array('wap/gongzhao'));
    }
    // 公招详情
    function show_action(){
        if ((int)$_GET['id']) {
            
            $id            = (int)$_GET['id'];
            $gongzhaoM = $this->MODEL('gongzhao');
            $row           = $gongzhaoM->getInfo(array('id' => $id));
            $this->yunset("row", $row);
            
            $data['gz_title'] = $row['title'];//公招名称
            $data['gz_desc']  = $this->GET_content_desc($row['description']);//描述
            $this->data       = $data;
            $this->seo("gongzhao");
            
            $this->yunset('backurl', Url('wap',array('c'=>'gongzhao')));
            $this->yunset("headertitle", "公招");
            $this->yuntpl(array('wap/gongzhaos'));
        }
    }
}
 
?>