%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 /* * @Author: Chandni Gupta */ if (!defined('BASEPATH')) { exit('No direct script access allowed'); } class Change_password extends VENDOR_Controller { public function __construct() { parent::__construct(); $this->load->model(array( 'Auth_model', 'admin/Languages_model', 'admin/Categories_model' )); } public function index($id = 0) { $trans_load = null; if (isset($_POST['submit'])) { unset($_POST['submit']); //print_r($_POST);die; $_POST['vendor_id'] = $this->vendor_id; $result = $this->Auth_model->changePassword($_POST); //echo $result;die; if ($result > 0) { $result_msg = 'Password changed successfully!!'; } else { $result_msg = 'Password does not match!!'; } $this->session->set_flashdata('result_publish', $result_msg); redirect(LANG_URL . '/vendor/change_password'); } $data = array(); $head = array(); $head['title'] = 'Change Password'; $head['description'] = 'Change Password'; $head['keywords'] = ''; $data['trans_load'] = $trans_load; $this->load->view('_parts/header', $head); $this->load->view('contacts', $data); $this->load->view('_parts/footer'); } }