37 lines
1.0 KiB
PHP
37 lines
1.0 KiB
PHP
|
<?php
|
||
|
|
||
|
App::uses('AppController', 'Controller');
|
||
|
|
||
|
class ServiceController extends AppController {
|
||
|
|
||
|
public $uses = array();
|
||
|
|
||
|
public function index() {
|
||
|
$this->MiconwareSession->init($this);
|
||
|
$this->MiconwareSession->initWeb($this);
|
||
|
|
||
|
$this->set('MENU_SERVICE', true);
|
||
|
$this->set('SERVICE_index', true);
|
||
|
$this->render('/Service/index');
|
||
|
}
|
||
|
|
||
|
public function serviceList(){
|
||
|
$this->MiconwareSession->init($this);
|
||
|
$this->MiconwareSession->initWeb($this);
|
||
|
|
||
|
$this->set('MENU_SERVICE', true);
|
||
|
$this->set('SERVICE_'.$this->request->param('list'), true);
|
||
|
$this->render('/Service/'.$this->request->param('list'));
|
||
|
|
||
|
}
|
||
|
|
||
|
public function serviceItem(){
|
||
|
$this->MiconwareSession->init($this);
|
||
|
$this->MiconwareSession->initWeb($this);
|
||
|
|
||
|
$this->set('MENU_SERVICE', true);
|
||
|
$this->set('SERVICE_'.$this->request->param('list'), true);
|
||
|
$this->render('/Service/'.$this->request->param('list').'_'.$this->request->param('item'));
|
||
|
}
|
||
|
}
|