Subversion Repositories SmartDukaan

Rev

Rev 14232 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
10582 lgm 1
<?php
2
 
3
$route = $this -> router -> fetch_module().'/';
4
$data = $response['response'];
12622 anikendra 5
if(isset($subView)){	
6
	if($subView == 'b'){
7
		$temp['product_details_b'] = $data['product_details'];
8
	}elseif($subView == 'c'){
9
		$temp['product_details_c'] = $data['product_details'];		
10
	}
11752 lgm 11
	$data = $temp;
12
}
10582 lgm 13
if(isset($data) and !empty($data))
14
{
15
foreach($data as $headkey=>$value)
16
{
17
 
18
	if(isset($value['render']) and !empty($value['render']))
19
	{
20
		if(isset($value[0]) and !empty($value[0]))
21
		$this->load->view($route.$headkey,array($headkey=>$value[0]));
22
	else
23
		$this->load->view($route.$headkey,array($headkey=>array()));
24
	}
25
	else
26
		{ 
27
			if(isset($value[0]) and !empty($value[0]) and count($value[0])>1)
14233 anikendra 28
				{ 
29
					//echo print_r($value[0]);
30
				}
10582 lgm 31
		}
32
 
33
 
34
}
35
 
36
}
37
?>
38
 
39
<script src="<?=base_url().$this->config->item('current_client')?>/js/product_detail.js?version=<?=$this->config->item('cdn_version');?>" type="text/javascript"></script>
14232 anikendra 40
<!--<p class="footer">Page rendered in <strong>{elapsed_time}</strong> seconds</p>-->