28 lines
588 B
PHP
28 lines
588 B
PHP
<?php
|
|
|
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
|
|
|
class Welcome extends Web_Controller {
|
|
|
|
public function index() {
|
|
$data = array();
|
|
$this->renderExternalPage('welcome_message', $data);
|
|
}
|
|
|
|
public function cm() {
|
|
$data = array();
|
|
|
|
if ($this->uri->segment(3) === FALSE) {
|
|
$product_id = 0;
|
|
} else {
|
|
$product_id = $this->uri->segment(3);
|
|
}
|
|
|
|
echo "Here " . $product_id;
|
|
$data["facility_image"] = '';
|
|
|
|
$this->renderExternalPage('welcome_message', $data);
|
|
}
|
|
|
|
}
|