Merge branch 'master' into adarsh
Showing
| ... | @@ -3,16 +3,242 @@ defined('BASEPATH') OR exit('No direct script access allowed'); | ... | @@ -3,16 +3,242 @@ defined('BASEPATH') OR exit('No direct script access allowed'); |
| class Customer extends CI_Controller { | class Customer extends CI_Controller { | ||
| public function index() | public function __construct() { | ||
| { | parent::__construct(); | ||
| $data['page'] = 'customer/list'; | date_default_timezone_set("Asia/Kolkata"); | ||
| $data['datatable'] = 1; | $this->load->model('Customer_model'); | ||
| $this->load->view('template', $data); | if(!$this->session->userdata('logged_in')) { | ||
| redirect(base_url()); | |||
| } | |||
| else { | |||
| $menu = $this->session->userdata('admin'); | |||
| if( $menu!=1 ) { | |||
| $this->session->set_flashdata('message', array('message' => "You don't have permission to access testimonials page.",'class' => 'danger')); | |||
| redirect(base_url().'dashboard'); | |||
| } | |||
| } | |||
| } | |||
| public function create(){ | |||
| $template['page'] = 'Customer/create'; | |||
| $template['menu'] = 'Customer Management'; | |||
| $template['smenu'] = 'Add Customer'; | |||
| $template['pTitle'] = "Add Customer"; | |||
| $template['pDescription'] = "Create New Customer"; | |||
| $this->load->view('template',$template); | |||
| } | |||
| public function index(){ | |||
| $template['page'] = 'Customer/list'; | |||
| $template['menu'] = 'Customer Management'; | |||
| $template['smenu'] = 'View Customers'; | |||
| $template['pTitle'] = "View Customers"; | |||
| $template['pDescription'] = "View and Manage Customers"; | |||
| $template['page_head'] = "Customer Management"; | |||
| $template['datatable'] = 1; | |||
| $template['customer_data'] = $this->Customer_model->getCustomerData(); | |||
| $this->load->view('template',$template); | |||
| } | |||
| public function getCustomerData(){ | |||
| $resArr = array('status'=>0); | |||
| if(!isset($_POST)||empty($_POST)||!isset($_POST['customer_id'])||empty($_POST['customer_id']) || | |||
| !is_numeric($customer_id = decode_param($_POST['customer_id']))){ | |||
| echo json_encode($resArr);exit; | |||
| } | |||
| $view_all = (isset($_POST['view_all']) && $_POST['view_all'] == 1)?1:0; | |||
| $mechData = $this->Customer_model->getCustomerData($customer_id,$view_all); | |||
| if(empty($mechData)){ | |||
| echo json_encode($resArr);exit; | |||
| } | |||
| $resArr['status'] = 1; | |||
| $resArr['data'] = $mechData; | |||
| echo json_encode($resArr);exit; | |||
| } | |||
| function changeStatus($customer_id = '',$status = '1'){ | |||
| $flashMsg = array('message'=>'Something went wrong, please try again..!','class'=>'danger'); | |||
| if(empty($customer_id) || !is_numeric($customer_id = decode_param($customer_id))){ | |||
| $this->session->set_flashdata('message',$flashMsg); | |||
| redirect(base_url('Customer/viewCustomers')); | |||
| } | |||
| $status = $this->Customer_model->changeStatus($customer_id,$status); | |||
| if(!$status){ | |||
| $this->session->set_flashdata('message',$flashMsg); | |||
| } | |||
| redirect(base_url('Customer')); | |||
| } | |||
| public function createCustomer(){ | |||
| //echo json_encode($_POST);exit; | |||
| $err = 0; | |||
| $errMsg = ''; | |||
| $flashMsg = array('message'=>'Something went wrong, please try again..!','class'=>'danger'); | |||
| if(!isset($_POST) || empty($_POST) || !isset($_FILES) || empty($_FILES)){ | |||
| $this->session->set_flashdata('message',$flashMsg); | |||
| redirect(base_url('Customer/addCustomer')); | |||
| } | |||
| if($err == 0 && (!isset($_POST['name']) || empty($_POST['name']))){ | |||
| $err = 1; | |||
| $errMsg = 'Provide Customer Name'; | |||
| }else if($err == 0 && (!isset($_POST['email']) || empty($_POST['email']))){ | |||
| $err = 1; | |||
| $errMsg = 'Provide a Customer Email'; | |||
| }else if($err == 0 && (!isset($_POST['phone']) || empty($_POST['phone']))){ | |||
| $err = 1; | |||
| $errMsg = 'Provide Customer Phone'; | |||
| }else if($err == 0 && (!isset($_POST['dob']) || empty($_POST['dob']))){ | |||
| $err = 1; | |||
| $errMsg = 'Provide a Date Of Birth'; | |||
| } | |||
| if($err == 0){ | |||
| $config = set_upload_service("uploads/customer"); | |||
| $this->load->library('upload'); | |||
| $config['file_name'] = time()."_".$_FILES['profile_image']['name']; | |||
| $this->upload->initialize($config); | |||
| if(!$this->upload->do_upload('profile_image')){ | |||
| $err = 1; | |||
| $errMsg = $this->upload->display_errors(); | |||
| }else{ | |||
| $upload_data = $this->upload->data(); | |||
| $_POST['profile_image'] = $config['upload_path']."/".$upload_data['file_name']; | |||
| } | |||
| } | } | ||
| public function create() | if($err == 1){ | ||
| { | $flashMsg['message'] = $errMsg; | ||
| $data['page'] = 'customer/create'; | $this->session->set_flashdata('message',$flashMsg); | ||
| $this->load->view('template', $data); | redirect(base_url('Customer/addCustomer')); | ||
| } | |||
| $temp_password = rand(10000000, 99999999); | |||
| $_POST['password'] = md5($temp_password); | |||
| $status = $this->Customer_model->addCustomer($_POST); | |||
| if($status == 1){ | |||
| $to =$_POST['email']; | |||
| $sender_email = "[email protected]"; | |||
| $data['ckrpassword']=$temp_password; | |||
| $mail_head = "Your Access Account is now activated"; | |||
| $mail_status = send_custom_email($sender_email,$mail_head,$to,'Checker Login', $this->load->view('template/mail_template/checker_login', $data,TRUE),''); | |||
| $flashMsg =array('message'=>'Successfully Created User Details..!','class'=>'success'); | |||
| $this->session->set_flashdata('message', $flashMsg); | |||
| redirect(base_url('Customer')); | |||
| } else if($status == 2){ | |||
| $flashMsg = array('message'=>'Email ID alrady exist..!','class'=>'danger'); | |||
| $this->session->set_flashdata('message', $flashMsg); | |||
| redirect(base_url('Customer/create')); | |||
| } else if($status == 3){ | |||
| $flashMsg = array('message'=>'Phone Number alrady exist..!','class'=>'danger'); | |||
| $this->session->set_flashdata('message', $flashMsg); | |||
| redirect(base_url('Customer/create')); | |||
| } else if($status == 4){ | |||
| $flashMsg = array('message'=>'User Name alrady exist..!','class'=>'danger'); | |||
| $this->session->set_flashdata('message', $flashMsg); | |||
| redirect(base_url('Customer/create')); | |||
| } else { | |||
| $this->session->set_flashdata('message', $flashMsg); | |||
| redirect(base_url('Customer/create')); | |||
| } | |||
| } | |||
| public function editCustomers($customer_id){ | |||
| $flashMsg = array('message'=>'Something went wrong, please try again..!','class'=>'danger'); | |||
| if(empty($customer_id) || !is_numeric($customer_id = decode_param($customer_id))){ | |||
| $this->session->set_flashdata('message',$flashMsg); | |||
| redirect(base_url('Customer/viewCustomers')); | |||
| } | |||
| $template['page'] = 'Customer/create'; | |||
| $template['menu'] = 'Customer Management'; | |||
| $template['smenu'] = 'Edit Customer'; | |||
| $template['pTitle'] = "Edit Customers"; | |||
| $template['pDescription'] = "Update Customer Data"; | |||
| $template['customer_data'] = $this->Customer_model->getCustomerData($customer_id,1); | |||
| $template['customer_id'] = encode_param($customer_id); | |||
| $this->load->view('template',$template); | |||
| } | |||
| public function updateCustomer($customer_id = ''){ | |||
| //echo json_encode(decode_param($customer_id));exit; | |||
| $err = 0; | |||
| $errMsg = ''; | |||
| $flashMsg = array('message'=>'Something went wrong, please try again..!','class'=>'danger'); | |||
| if(!isset($_POST) || empty($_POST) || !isset($_FILES) || empty($_FILES)){ | |||
| $this->session->set_flashdata('message',$flashMsg); | |||
| redirect(base_url('Customer/addCustomer')); | |||
| } | |||
| if($err == 0 && (!isset($_POST['name']) || empty($_POST['name']))){ | |||
| $err = 1; | |||
| $errMsg = 'Provide Customer Name'; | |||
| }else if($err == 0 && (!isset($_POST['email']) || empty($_POST['email']))){ | |||
| $err = 1; | |||
| $errMsg = 'Provide a Customer Email'; | |||
| }else if($err == 0 && (!isset($_POST['phone']) || empty($_POST['phone']))){ | |||
| $err = 1; | |||
| $errMsg = 'Provide Customer Phone'; | |||
| }else if($err == 0 && (!isset($_POST['dob']) || empty($_POST['dob']))){ | |||
| $err = 1; | |||
| $errMsg = 'Provide a Date Of Birth'; | |||
| } | |||
| if($err == 0){ | |||
| $config = set_upload_service("uploads/customer"); | |||
| $this->load->library('upload'); | |||
| $config['file_name'] = time()."_".$_FILES['profile_image']['name']; | |||
| $this->upload->initialize($config); | |||
| if($this->upload->do_upload('profile_image')){ | |||
| $upload_data = $this->upload->data(); | |||
| $_POST['profile_image'] = $config['upload_path']."/".$upload_data['file_name']; | |||
| } | |||
| } | |||
| if($err == 1){ | |||
| $flashMsg['message'] = $errMsg; | |||
| $this->session->set_flashdata('message',$flashMsg); | |||
| redirect(base_url('Customer/editCustomers/'.$customer_id)); | |||
| } | |||
| $status = $this->Customer_model->updateCustomer(decode_param($customer_id),$_POST); | |||
| if($status == 1){ | |||
| $flashMsg =array('message'=>'Successfully Updated User Details..!','class'=>'success'); | |||
| $this->session->set_flashdata('message', $flashMsg); | |||
| redirect(base_url('Customer')); | |||
| } else if($status == 2){ | |||
| $flashMsg = array('message'=>'Email ID alrady exist..!','class'=>'danger'); | |||
| $this->session->set_flashdata('message', $flashMsg); | |||
| redirect(base_url('Customer/edit/'.$customer_id)); | |||
| } else if($status == 3){ | |||
| $flashMsg = array('message'=>'Phone Number alrady exist..!','class'=>'danger'); | |||
| $this->session->set_flashdata('message', $flashMsg); | |||
| redirect(base_url('Customer/edit/'.$customer_id)); | |||
| } else if($status == 4){ | |||
| $flashMsg = array('message'=>'User Name alrady exist..!','class'=>'danger'); | |||
| $this->session->set_flashdata('message', $flashMsg); | |||
| redirect(base_url('Customer/edit/'.$customer_id)); | |||
| } else { | |||
| $this->session->set_flashdata('message', $flashMsg); | |||
| redirect(base_url('Customer/edit/'.$customer_id)); | |||
| } | |||
| } | } | ||
| } | } | ||
| ?> | |||
| \ No newline at end of file |
application/controllers/Shopper.php
0 → 100644
| <?php | |||
| defined('BASEPATH') OR exit('No direct script access allowed'); | |||
| class Shopper extends CI_Controller { | |||
| public function __construct() { | |||
| parent::__construct(); | |||
| date_default_timezone_set("Asia/Kolkata"); | |||
| $this->load->model('Shopper_model'); | |||
| if(!$this->session->userdata('logged_in')) { | |||
| redirect(base_url()); | |||
| } | |||
| else { | |||
| $menu = $this->session->userdata('admin'); | |||
| if( $menu!=1 ) { | |||
| $this->session->set_flashdata('message', array('message' => "You don't have permission to access testimonials page.",'class' => 'danger')); | |||
| redirect(base_url().'dashboard'); | |||
| } | |||
| } | |||
| } | |||
| public function create(){ | |||
| $template['page'] = 'Shopper/create'; | |||
| $template['menu'] = 'Shopper Management'; | |||
| $template['smenu'] = 'Add Shopper'; | |||
| $template['pTitle'] = "Add Shopper"; | |||
| $template['pDescription'] = "Create New Shopper"; | |||
| $this->load->view('template',$template); | |||
| } | |||
| public function index(){ | |||
| $template['page'] = 'Shopper/list'; | |||
| $template['menu'] = 'Shopper Management'; | |||
| $template['smenu'] = 'View Shopper'; | |||
| $template['pTitle'] = "View Shopper"; | |||
| $template['pDescription'] = "View and Manage Shopper"; | |||
| $template['page_head'] = "Shopper Management"; | |||
| $template['shopper_data'] = $this->Shopper_model->getShopperData(); | |||
| //echo json_encode($template);exit; | |||
| $this->load->view('template',$template); | |||
| } | |||
| public function getShopperData(){ | |||
| $resArr = array('status'=>0); | |||
| if(!isset($_POST)||empty($_POST)||!isset($_POST['shopper_id'])||empty($_POST['shopper_id']) || | |||
| !is_numeric($customer_id = decode_param($_POST['shopper_id']))){ | |||
| echo json_encode($resArr);exit; | |||
| } | |||
| $view_all = (isset($_POST['view_all']) && $_POST['view_all'] == 1)?1:0; | |||
| $mechData = $this->Shopper_model->getShopperData($customer_id,$view_all); | |||
| if(empty($mechData)){ | |||
| echo json_encode($resArr);exit; | |||
| } | |||
| $resArr['status'] = 1; | |||
| $resArr['data'] = $mechData; | |||
| echo json_encode($resArr);exit; | |||
| } | |||
| function changeStatus($shopper_id = '',$status = '1'){ | |||
| $flashMsg = array('message'=>'Something went wrong, please try again..!','class'=>'danger'); | |||
| if(empty($shopper_id) || !is_numeric($shopper_id = decode_param($shopper_id))){ | |||
| $this->session->set_flashdata('message',$flashMsg); | |||
| redirect(base_url('Shopper/viewShopper')); | |||
| } | |||
| $status = $this->Shopper_model->changeStatus($shopper_id,$status); | |||
| if(!$status){ | |||
| $this->session->set_flashdata('message',$flashMsg); | |||
| } | |||
| redirect(base_url('Shopper')); | |||
| } | |||
| public function createShopper(){ | |||
| //echo json_encode($_POST);exit; | |||
| $err = 0; | |||
| $errMsg = ''; | |||
| $flashMsg = array('message'=>'Something went wrong, please try again..!','class'=>'danger'); | |||
| if(!isset($_POST) || empty($_POST) || !isset($_FILES) || empty($_FILES)){ | |||
| $this->session->set_flashdata('message',$flashMsg); | |||
| redirect(base_url('Shopper/addShopper')); | |||
| } | |||
| if($err == 0 && (!isset($_POST['name']) || empty($_POST['name']))){ | |||
| $err = 1; | |||
| $errMsg = 'Provide Shopper Name'; | |||
| }else if($err == 0 && (!isset($_POST['email']) || empty($_POST['email']))){ | |||
| $err = 1; | |||
| $errMsg = 'Provide Shopper Email'; | |||
| }else if($err == 0 && (!isset($_POST['phone']) || empty($_POST['phone']))){ | |||
| $err = 1; | |||
| $errMsg = 'Provide Shopper Phone'; | |||
| }else if($err == 0 && (!isset($_POST['dob']) || empty($_POST['dob']))){ | |||
| $err = 1; | |||
| $errMsg = 'Provide a Date Of Birth'; | |||
| } | |||
| if($err == 0){ | |||
| $config = set_upload_service("uploads/shopper"); | |||
| $this->load->library('upload'); | |||
| $config['file_name'] = time()."_".$_FILES['profile_image']['name']; | |||
| $this->upload->initialize($config); | |||
| if(!$this->upload->do_upload('profile_image')){ | |||
| $err = 1; | |||
| $errMsg = $this->upload->display_errors(); | |||
| }else{ | |||
| $upload_data = $this->upload->data(); | |||
| $_POST['profile_image'] = $config['upload_path']."/".$upload_data['file_name']; | |||
| } | |||
| } | |||
| if($err == 1){ | |||
| $flashMsg['message'] = $errMsg; | |||
| $this->session->set_flashdata('message',$flashMsg); | |||
| redirect(base_url('Shopper/addShopper')); | |||
| } | |||
| $temp_password = rand(10000000, 99999999); | |||
| $_POST['password'] = md5($temp_password); | |||
| $status = $this->Shopper_model->addShopper($_POST); | |||
| if($status == 1){ | |||
| $to =$_POST['email']; | |||
| $sender_email = "[email protected]"; | |||
| $data['ckrpassword']=$temp_password; | |||
| $mail_head = "Your Access Account is now activated"; | |||
| $mail_status = send_custom_email($sender_email,$mail_head,$to,'Checker Login', $this->load->view('template/mail_template/checker_login', $data,TRUE),''); | |||
| $flashMsg =array('message'=>'Successfully Created User Details..!','class'=>'success'); | |||
| $this->session->set_flashdata('message', $flashMsg); | |||
| redirect(base_url('Shopper')); | |||
| } else if($status == 2){ | |||
| $flashMsg = array('message'=>'Email ID alrady exist..!','class'=>'danger'); | |||
| $this->session->set_flashdata('message', $flashMsg); | |||
| redirect(base_url('Shopper/create')); | |||
| } else if($status == 3){ | |||
| $flashMsg = array('message'=>'Phone Number alrady exist..!','class'=>'danger'); | |||
| $this->session->set_flashdata('message', $flashMsg); | |||
| redirect(base_url('Shopper/create')); | |||
| } else if($status == 4){ | |||
| $flashMsg = array('message'=>'User Name alrady exist..!','class'=>'danger'); | |||
| $this->session->set_flashdata('message', $flashMsg); | |||
| redirect(base_url('Shopper/create')); | |||
| } else { | |||
| $this->session->set_flashdata('message', $flashMsg); | |||
| redirect(base_url('Shopper/create')); | |||
| } | |||
| } | |||
| public function editShopper($shopper_id){ | |||
| $flashMsg = array('message'=>'Something went wrong, please try again..!','class'=>'danger'); | |||
| if(empty($shopper_id) || !is_numeric($shopper_id = decode_param($shopper_id))){ | |||
| $this->session->set_flashdata('message',$flashMsg); | |||
| redirect(base_url('Customer/viewCustomers')); | |||
| } | |||
| $template['page'] = 'Shopper/create'; | |||
| $template['menu'] = 'Shopper Management'; | |||
| $template['smenu'] = 'Edit Shopper'; | |||
| $template['pTitle'] = "Edit Shopper"; | |||
| $template['pDescription'] = "Update Shopper Data"; | |||
| $template['shopper_data'] = $this->Shopper_model->getShopperData($shopper_id,1); | |||
| $template['shopper_id'] = encode_param($shopper_id); | |||
| $this->load->view('template',$template); | |||
| } | |||
| public function updateShopper($shopper_id = ''){ | |||
| //echo json_encode(decode_param($customer_id));exit; | |||
| $err = 0; | |||
| $errMsg = ''; | |||
| $flashMsg = array('message'=>'Something went wrong, please try again..!','class'=>'danger'); | |||
| if(!isset($_POST) || empty($_POST) || !isset($_FILES) || empty($_FILES)){ | |||
| $this->session->set_flashdata('message',$flashMsg); | |||
| redirect(base_url('Shopper/addShopper')); | |||
| } | |||
| if($err == 0 && (!isset($_POST['name']) || empty($_POST['name']))){ | |||
| $err = 1; | |||
| $errMsg = 'Provide Shopper Name'; | |||
| }else if($err == 0 && (!isset($_POST['email']) || empty($_POST['email']))){ | |||
| $err = 1; | |||
| $errMsg = 'Provide Shopper Email'; | |||
| }else if($err == 0 && (!isset($_POST['phone']) || empty($_POST['phone']))){ | |||
| $err = 1; | |||
| $errMsg = 'Provide Shopper Phone'; | |||
| }else if($err == 0 && (!isset($_POST['dob']) || empty($_POST['dob']))){ | |||
| $err = 1; | |||
| $errMsg = 'Provide a Date Of Birth'; | |||
| } | |||
| if($err == 0){ | |||
| $config = set_upload_service("uploads/shopper"); | |||
| $this->load->library('upload'); | |||
| $config['file_name'] = time()."_".$_FILES['profile_image']['name']; | |||
| $this->upload->initialize($config); | |||
| if($this->upload->do_upload('profile_image')){ | |||
| $upload_data = $this->upload->data(); | |||
| $_POST['profile_image'] = $config['upload_path']."/".$upload_data['file_name']; | |||
| } | |||
| } | |||
| if($err == 1){ | |||
| $flashMsg['message'] = $errMsg; | |||
| $this->session->set_flashdata('message',$flashMsg); | |||
| redirect(base_url('Shopper/editShopper/'.$customer_id)); | |||
| } | |||
| $status = $this->Shopper_model->updateShopper(decode_param($customer_id),$_POST); | |||
| if($status == 1){ | |||
| $flashMsg =array('message'=>'Successfully Updated User Details..!','class'=>'success'); | |||
| $this->session->set_flashdata('message', $flashMsg); | |||
| redirect(base_url('Shopper')); | |||
| } else if($status == 2){ | |||
| $flashMsg = array('message'=>'Email ID alrady exist..!','class'=>'danger'); | |||
| $this->session->set_flashdata('message', $flashMsg); | |||
| redirect(base_url('Shopper/edit/'.$shopper_id)); | |||
| } else if($status == 3){ | |||
| $flashMsg = array('message'=>'Phone Number alrady exist..!','class'=>'danger'); | |||
| $this->session->set_flashdata('message', $flashMsg); | |||
| redirect(base_url('Shopper/edit/'.$shopper_id)); | |||
| } else if($status == 4){ | |||
| $flashMsg = array('message'=>'User Name alrady exist..!','class'=>'danger'); | |||
| $this->session->set_flashdata('message', $flashMsg); | |||
| redirect(base_url('Shopper/edit/'.$customer_id)); | |||
| } else { | |||
| $this->session->set_flashdata('message', $flashMsg); | |||
| redirect(base_url('Shopper/edit/'.$customer_id)); | |||
| } | |||
| } | |||
| } | |||
| ?> | |||
| \ No newline at end of file |
| ... | @@ -33,4 +33,57 @@ function encode_param($param = ''){ | ... | @@ -33,4 +33,57 @@ function encode_param($param = ''){ |
| } | } | ||
| function send_custom_email($from, $mail_head, $to, $subject, $email_message) | |||
| { | |||
| // $headers = "Organization: The 303\r\n"; | |||
| // $headers .= "MIME-Version: 1.0\r\n"; | |||
| // $headers .= "X-Mailer: PHP". phpversion() ."\r\n" ; | |||
| // $headers .= "Reply-To: The3O3 <'.$from.'>\r\n"; | |||
| // $headers .= 'From: The3O3 <'.$from.'>' . "\r\n"; | |||
| // $headers .= "Content-Type: text/html; charset=UTF-8\r\n"; | |||
| // $headers .= "X-Priority: 1\r\n"; | |||
| // if (mail($to, $subject, $email_message, $headers)) { | |||
| // return TRUE; | |||
| // }else{ | |||
| // return FALSE; | |||
| // } | |||
| $ci =& get_instance(); | |||
| $ci->load->database(); | |||
| $ci->load->library('email'); | |||
| $config['protocol'] = "smtp"; | |||
| $config['smtp_host'] = "smtp.sendgrid.net"; | |||
| $config['smtp_port'] = "587"; | |||
| $config['smtp_user'] = '[email protected]'; | |||
| $config['smtp_pass'] = 'Golden_123'; | |||
| $config['charset'] = "utf-8"; | |||
| $config['mailtype'] = "html"; | |||
| $config['newline'] = "\r\n"; | |||
| $ci->email->initialize($config); | |||
| $ci->email->from($from, $mail_head); | |||
| $ci->email->to($to); | |||
| $ci->email->reply_to('[email protected]'); | |||
| $ci->email->subject($subject); | |||
| $ci->email->message($email_message); | |||
| $send = $ci->email->send(); | |||
| if($send == TRUE) | |||
| { | |||
| return TRUE; | |||
| } else{ | |||
| return FALSE; | |||
| } | |||
| } | |||
| function getSettings(){ | |||
| $CI = & get_instance(); | |||
| $settings = $CI->db->get('settings'); | |||
| return (!empty($settings))?$settings->row_array():''; | |||
| } | |||
| ?> | ?> | ||
| \ No newline at end of file |
application/models/Customer_model.php
0 → 100644
application/models/Shopper_model.php
0 → 100644
application/views/Shopper/list.php
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
| ... | @@ -17,6 +17,8 @@ | ... | @@ -17,6 +17,8 @@ |
| <link rel="stylesheet" href="<?php echo base_url('assets/css/style.css'); ?>"> | <link rel="stylesheet" href="<?php echo base_url('assets/css/style.css'); ?>"> | ||
| <link rel="stylesheet" href="<?php echo base_url('assets/css/lib/datatable/dataTables.bootstrap.min.css'); ?>"> | <link rel="stylesheet" href="<?php echo base_url('assets/css/lib/datatable/dataTables.bootstrap.min.css'); ?>"> | ||
| <link href="<?php echo base_url();?>assets/css/parsley/parsley.css" rel="stylesheet"> | <link href="<?php echo base_url();?>assets/css/parsley/parsley.css" rel="stylesheet"> | ||
| <script src="<?php echo base_url('assets/js/jquery.min.js'); ?>"></script> | |||
| <!-- <script type="text/javascript" src="https://cdn.jsdelivr.net/html5shiv/3.7.3/html5shiv.min.js"></script> --> | <!-- <script type="text/javascript" src="https://cdn.jsdelivr.net/html5shiv/3.7.3/html5shiv.min.js"></script> --> | ||
| <!--link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/chartist.min.css" rel="stylesheet"> | <!--link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/chartist.min.css" rel="stylesheet"> | ||
| <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/jqvmap.min.css" rel="stylesheet"> | <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/jqvmap.min.css" rel="stylesheet"> | ||
| ... | ... |
assets/images/no_image.png
0 → 100644
5.89 KB
assets/images/user_avatar.jpg
0 → 100644
3.28 KB
assets/js/custom-script.js
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
uploads/brand/1554985605black5.jpg
0 → 100644
901 KB
uploads/brand/1554985669black5.jpg
0 → 100644
901 KB
uploads/brand/1554985836blue2.jpg
0 → 100644
44.8 KB
uploads/brand/1555050563black5.jpg
0 → 100644
901 KB
uploads/brand/1555050576green4.png
0 → 100644
4.65 KB
uploads/category/1554983100black5.jpg
0 → 100644
901 KB
uploads/category/1554983236blue2.jpg
0 → 100644
44.8 KB
uploads/category/1555050316black5.jpg
0 → 100644
901 KB
uploads/category/1555050372brown6.jpg
0 → 100644
27.4 KB
uploads/category/1555050383black5.jpg
0 → 100644
901 KB
uploads/customer/1554893697_benzz.jpg
0 → 100644
2.73 KB
uploads/customer/1554893731_benzz.jpg
0 → 100644
2.73 KB
uploads/customer/1554894109_black5.jpg
0 → 100644
901 KB
uploads/customer/1554894121_black5.jpg
0 → 100644
901 KB
uploads/customer/1554895872_black5.jpg
0 → 100644
901 KB
uploads/customer/1554895913_black5.jpg
0 → 100644
901 KB
uploads/customer/1554895961_black5.jpg
0 → 100644
901 KB
uploads/customer/1554896002_black5.jpg
0 → 100644
901 KB
uploads/customer/1554896020_black5.jpg
0 → 100644
901 KB
uploads/customer/1554896038_black5.jpg
0 → 100644
901 KB
uploads/customer/1554896281_black5.jpg
0 → 100644
901 KB
uploads/customer/1554896384_black5.jpg
0 → 100644
901 KB
uploads/customer/1554896887_blue2.jpg
0 → 100644
44.8 KB
uploads/customer/1554897503_black5.jpg
0 → 100644
901 KB
uploads/customer/1554897825_black5.jpg
0 → 100644
901 KB
uploads/customer/1554897919_black5.jpg
0 → 100644
901 KB
uploads/customer/1554897966_benzz.jpg
0 → 100644
2.73 KB
uploads/customer/1554898058_benzz.jpg
0 → 100644
2.73 KB
uploads/customer/1554898107_black5.jpg
0 → 100644
901 KB
uploads/customer/1554898496_black5.jpg
0 → 100644
901 KB
uploads/customer/1554898568_black5.jpg
0 → 100644
901 KB
uploads/customer/1554901093_benzz.jpg
0 → 100644
2.73 KB
uploads/customer/1554901187_benzz.jpg
0 → 100644
2.73 KB
uploads/customer/1554901769_benzz.jpg
0 → 100644
2.73 KB
uploads/customer/1554901849_benzz.jpg
0 → 100644
2.73 KB
uploads/customer/1554901878_benzz.jpg
0 → 100644
2.73 KB
uploads/customer/1554957794_benzz.jpg
0 → 100644
2.73 KB
uploads/customer/1554957848_benzz.jpg
0 → 100644
2.73 KB
uploads/customer/1554957931_benzz.jpg
0 → 100644
2.73 KB
uploads/customer/1554957999_black5.jpg
0 → 100644
901 KB
uploads/customer/1555041785_driver_car.jpg
0 → 100644
7.36 KB
uploads/customer/1555041833_driver_car.jpg
0 → 100644
7.36 KB
uploads/customer/1555042169_blue2.jpg
0 → 100644
44.8 KB
uploads/customer/1555042456_red1.jpeg
0 → 100644
68.8 KB
uploads/customer/1555045046_blue2.jpg
0 → 100644
44.8 KB
uploads/customer/1555052661_benzz.jpg
0 → 100644
2.73 KB
uploads/services/1555050930_black5.jpg
0 → 100644
901 KB
uploads/services/1555050930_brown6.jpg
0 → 100644
27.4 KB
uploads/services/1555051301_black5.jpg
0 → 100644
901 KB
uploads/services/1555051301_brown6.jpg
0 → 100644
27.4 KB
uploads/services/1555051336_black5.jpg
0 → 100644
901 KB
uploads/services/1555051336_brown6.jpg
0 → 100644
27.4 KB
uploads/services/1555051380_black5.jpg
0 → 100644
901 KB
uploads/services/1555051380_brown6.jpg
0 → 100644
27.4 KB
uploads/services/1555051425_black5.jpg
0 → 100644
901 KB
uploads/services/1555051425_brown6.jpg
0 → 100644
27.4 KB
uploads/services/1555051494_black5.jpg
0 → 100644
901 KB
uploads/services/1555051494_brown6.jpg
0 → 100644
27.4 KB
uploads/services/1555051638_black5.jpg
0 → 100644
901 KB
uploads/services/1555051638_brown6.jpg
0 → 100644
27.4 KB
uploads/services/1555051648_black5.jpg
0 → 100644
901 KB
uploads/services/1555051648_brown6.jpg
0 → 100644
27.4 KB
uploads/shopper/1554972174_black5.jpg
0 → 100644
901 KB
uploads/shopper/1555044720_black5.jpg
0 → 100644
901 KB
uploads/shopper/1555044843_black5.jpg
0 → 100644
901 KB
uploads/shopper/1555044891_black5.jpg
0 → 100644
901 KB
uploads/shopper/1555045117_blue2.jpg
0 → 100644
This diff is collapsed.
Click to expand it.
uploads/shopper/1555045170_brown6.jpg
0 → 100644
This diff is collapsed.
Click to expand it.
uploads/shopper/1555050855_brown6.jpg
0 → 100644
This diff is collapsed.
Click to expand it.
uploads/shopper/1555052967_brown6.jpg
0 → 100644
This diff is collapsed.
Click to expand it.
uploads/subcategory/1554894059black5.jpg
0 → 100644
This diff is collapsed.
Click to expand it.
uploads/subcategory/1554984013red1.jpeg
0 → 100644
This diff is collapsed.
Click to expand it.
uploads/subcategory/1554984154steve-jobs.jpg
0 → 100644
This diff is collapsed.
Click to expand it.
uploads/subcategory/1555050708black5.jpg
0 → 100644
This diff is collapsed.
Click to expand it.