%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Contact extends MY_Controller { private $num_rows = 10; public function __construct() { parent::__construct(); $this->load->model('Common_model'); } /* * Function : index */ public function index($page = 0) { $data = array(); $head = array(); $head['title'] = 'Contact | Sharda Group'; $head['description'] = 'Contact | Sharda Group'; $head['keywords'] = str_replace(" ", ",", $head['title']); //Get banner details $data['bannerArray'] = $this->Common_model->getSingleRecord('tbl_banners','*',array('is_deleted'=>'0','status'=>'1','banner_type'=>'19')); // Get Career Content $page = 'contact'; $page = $this->Public_model->getOnePage($page); //$this->goOut($page); $data['title'] = $page['name']; $data['content'] = $page['content']; $arrSeo = $this->Public_model->getSeo('contact'); $head['title'] = @$arrSeo['title']; $head['description'] = @$arrSeo['description']; $head['keywords'] = @$arrSeo['keywords']; $this->render('contact', $head, $data); } public function registrationsuccessful(){ if(@$_POST['submit']=='Submit') { $name = $_POST['name']; $company = $_POST['company']; $email = $_POST['email']; $phone = $_POST['phone']; $message = $_POST['message']; $post = $this->input->post(); // $req = array('required'=>'%s required.', 'is_unique'=>'This %s is already registered', 'integer'=>'This %s is invalid'); $params = array(); $params['status'] = '1'; $params['email'] = $email; $params['name'] = $name; $params['phone'] = $phone; $params['message'] = $message; $params['company'] = $company; $params['created'] = date('Y-m-d H:i:s'); $params['modified'] = date('Y-m-d H:i:s'); unset($_POST['submit']); unset($_POST['otp']); $this->Common_model->saveinfo('tbl_contact_form',$params); $data['success_msg'] = '<p style="color:red;">You have Successfully registered.</p>'; echo '1002'; } } }