Welcome Agency
  " class="link05">Edit Own Profile | Add Agent | Logout

 
What would you like to do?
 
session->userdata('id') >0) $agency_id=$this->session->userdata('id'); $agency_type=$this->session->userdata('type'); if (isset($_COOKIE['cookie_agency_id'])) $agency_id = ($_COOKIE['cookie_agency_id']); else if ($agency_id > 0) setcookie("cookie_agency_id", $agency_id); else echo "agency_id not set"; if (isset($_COOKIE['cookie_agent_type'])) $agent_type = ($_COOKIE['cookie_agent_type']); else if ($agent_type == 0) setcookie("cookie_agent_type", $agent_type); else echo "agency_type not set"; //******************Alex /* If ($agency_id == '') // not 1st time { $agency_id=$this->session->userdata('id');; $agent_id='none'; $agent_type=$this->session->userdata('type');; } */ if ($agent_id=='') $agent_id='first'; echo "VVVVVVVVagency_id=".$agency_id.'
'; echo "WWWWWWWWagent_id=".$agent_id.'
'; echo "XXXXXXXXagencyName=".$agencyName.'
'; ?>