| Server IP : 103.48.194.25 / Your IP : 216.73.217.33 Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.33 System : Linux VMHostDefault 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 User : sieuthimay ( 1016) PHP Version : 8.2.20 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/galaxynail.com/site/controllers/ |
Upload File : |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Booking extends CI_Controller {
public function __construct()
{
parent::__construct();
$this->load->model('booking_model','booking');
$this->lang->load('booking');
}
public function index()
{
$data['cfg'] = $cfg = get_cauhinh();
$data['metatitle'] = $cfg->site_title;
$data['metadesc'] = $cfg->site_desc;
$data['metakey'] = $cfg->site_keyword;
$data['metaimg'] = ''; //$cfg->metatitle;
$data['canonical'] = site.'contact-us.html';
$data['page'] = 'booking/index';
$this->load->view('skin_home',$data);
}
public function add()
{
$data['cfg'] = $cfg = get_cauhinh();
$data['metatitle'] = $cfg->site_title;
$data['metadesc'] = $cfg->site_desc;
$data['metakey'] = $cfg->site_keyword;
$data['metaimg'] = ''; //$cfg->metatitle;
$data['canonical'] = site.'contact-us.html';
$data['page'] = 'contact/index';
$this->load->view('skin_home',$data);
}
public function saveform()
{
$token = $this->input->post('token');
$product_id[] = $this->input->post('product_id');
$staff_id[] = $this->input->post('staff_id');
$booking_date = $this->input->post('booking_date');
$booking_hours = $this->input->post('booking_hours');
$booking_area_code = $this->input->post('booking_area_code');
$booking_phone = $this->input->post('booking_phone');
$booking_name = $this->input->post('booking_name');
$nocaptcha = $this->input->post('nocaptcha');
$notelist = $this->input->post('token');
$token = $this->input->post('token');
}
public function get_hours()
{
$input_date = $this->input->post('input_date');
$type = $this->input->post('type');
}
}