| Line 584... |
Line 584... |
| 584 |
$data['stylesheet'] = 'recharge.css';
|
584 |
$data['stylesheet'] = 'recharge.css';
|
| 585 |
$data['response']=$this->recharge_model->getList($this->input->get(),$this->input->post(),$this->config->item('rechargeOrderConfirmation'));
|
585 |
$data['response']=$this->recharge_model->getList($this->input->get(),$this->input->post(),$this->config->item('rechargeOrderConfirmation'));
|
| 586 |
if(isset($authorized['isPrivateDealUser']) && !empty($authorized['isPrivateDealUser'])) {
|
586 |
if(isset($authorized['isPrivateDealUser']) && !empty($authorized['isPrivateDealUser'])) {
|
| 587 |
$userId = $this->session->userdata['authorized']['Id'];
|
587 |
$userId = $this->session->userdata['authorized']['Id'];
|
| 588 |
$ch = curl_init();
|
588 |
$ch = curl_init();
|
| 589 |
$url = $this->config->item('curl_base_url').'/private-deals/1/?userId='.$userId.'&isLoggedIn=true&privateDealUser=true';
|
589 |
$url = $this->config->item('curl_base_url').'private-deals/1/?userId='.$userId.'&isLoggedIn=true&privateDealUser=true';
|
| 590 |
// Set the url, number of POST vars, POST data
|
590 |
// Set the url, number of POST vars, POST data
|
| 591 |
curl_setopt($ch, CURLOPT_URL, $url);
|
591 |
curl_setopt($ch, CURLOPT_URL, $url);
|
| 592 |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
592 |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
| 593 |
|
593 |
|
| 594 |
// Disabling SSL Certificate support temporarly
|
594 |
// Disabling SSL Certificate support temporarly
|