Commit 92dae594 by Anju M S

temp

parent 30d6c72b
...@@ -269,7 +269,7 @@ class Home extends CI_Controller { ...@@ -269,7 +269,7 @@ class Home extends CI_Controller {
parse_str($_REQUEST['data'], $output); parse_str($_REQUEST['data'], $output);
$reg_data = array('email' => $output['reg_pat_email'],'name' => $output['reg_pat_name'],'username' => $output['reg_pat_username'],'password' => md5($output['reg_pat_password']),'cpf' => $output['reg_pat_cpf'],'rg' => $output['reg_pat_rg'],'dob' =>strtotime($output['reg_pat_dob']),'gender' => $output['reg_pat_gender'],'weight' => $output['reg_pat_weight'],'height' => $output['reg_pat_height'],'blood_group' => $output['reg_pat_bloodgrp'],'zip_code' => $output['reg_pat_cep'],'street_address' => $output['reg_pat_streetadd'],'locality' => $output['reg_pat_locality'],'number' => $output['reg_pat_number'],'landmark' => $output['reg_pat_complement'],'occupation' => $output['reg_pat_occupation'] ); $reg_data = array('email' => $output['reg_pat_email'],'name' => encrypt_data($output['reg_pat_name']),'username' => $output['reg_pat_username'],'password' => md5($output['reg_pat_password']),'cpf' => $output['reg_pat_cpf'],'rg' => encrypt_data($output['reg_pat_rg']),'dob' =>strtotime($output['reg_pat_dob']),'gender' => encrypt_data($output['reg_pat_gender']),'weight' => encrypt_data($output['reg_pat_weight']),'height' => encrypt_data($output['reg_pat_height']),'blood_group' => encrypt_data($output['reg_pat_bloodgrp']),'zip_code' => encrypt_data($output['reg_pat_cep']),'street_address' => encrypt_data($output['reg_pat_streetadd']),'locality' => encrypt_data($output['reg_pat_locality']),'number' => encrypt_data($output['reg_pat_number']),'landmark' => encrypt_data($output['reg_pat_complement']),'occupation' => $output['reg_pat_occupation'] );
//print_r($reg_data);die(); //print_r($reg_data);die();
......
...@@ -24,6 +24,7 @@ public function index() ...@@ -24,6 +24,7 @@ public function index()
$template['data'] = "Patient page"; $template['data'] = "Patient page";
$patient_data = $this->Patient_model->get_single_patient($userdata['id']); $patient_data = $this->Patient_model->get_single_patient($userdata['id']);
//$patient_data['pt_complement'] = decrypt_data($patient_data['pt_complement']); //$patient_data['pt_complement'] = decrypt_data($patient_data['pt_complement']);
// print_r($patient_data['pt_complement']);die(); // print_r($patient_data['pt_complement']);die();
$completed_consultation = $this->Patient_model->get_patient_completed_consultation($userdata['id']); $completed_consultation = $this->Patient_model->get_patient_completed_consultation($userdata['id']);
......
...@@ -86,7 +86,7 @@ if($this->session->userdata('language') == 'en'){ ...@@ -86,7 +86,7 @@ if($this->session->userdata('language') == 'en'){
</div> </div>
</span> </span>
<span class="floatLeft"> <span class="floatLeft">
<a><?php echo $UserData['name'];?></a> <a><?php echo decrypt_data($UserData['name']);?></a>
</span> </span>
</div> </div>
<ul class="dropdown-menu ip_nav_profile_listing"> <ul class="dropdown-menu ip_nav_profile_listing">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment