[insert_php] session_start();[/insert_php]

Netis

[insert_php] unset($res);
unset($result);
unset($orderlink);
unset($price);
$res = do_shortcode(‘[wireless_n300 plan_id=”62″]’);
$result = json_decode($res,true);
if(isset($_SESSION[‘userid’]) && $_SESSION[‘userid’]!=” && $_SESSION[‘userid’]!=0)
{
if(isset($result[‘data’][‘quantity’]) && $result[‘data’][‘quantity’]>0)
{
$qty_div_class = ‘qty’;
$qty_div_content = ‘Qty – ‘.$result[‘data’][‘quantity’];
$price_div_style = ‘display:block;’;
$qty_div_style = ‘display:block;’;
}
else
{
$qty_div_class = ‘stock-out’;
$qty_div_content = ‘Out Of Stock’;
$price_div_style = ‘display:none;’;
$qty_div_style = ‘display:block;’;
}
}
else{

if(isset($result[‘data’][‘quantity’]) && $result[‘data’][‘quantity’]>0)
{
$qty_div_class = ‘qty’;
$qty_div_content = ‘In Stock’;
$price_div_style = ‘display:none;’;
$qty_div_style = ‘display:block;’;
}
else
{
$qty_div_class = ‘stock-out’;
$qty_div_content = ‘Out Of Stock’;
$price_div_style = ‘display:none;’;
$qty_div_style = ‘display:block;’;
}

}

$planid = base64_encode($result[‘data’][‘planid’]);
$plan_link = ‘wf2419e?plan=wf2419e&pdn_id=’.$planid;
[/insert_php]

WF2419E

[insert_php] echo $qty_div_content; [/insert_php]
[insert_php] echo $result[‘data’][‘currencyDetails’][‘prefix’].’ ‘.$result[‘data’][‘price’].’/Qty’; [/insert_php]
[insert_php] unset($res);
unset($result);
unset($orderlink);
unset($price);
$res = do_shortcode(‘[wireless_n300 plan_id=”63″]’);
$result = json_decode($res,true);
if(isset($_SESSION[‘userid’]) && $_SESSION[‘userid’]!=” && $_SESSION[‘userid’]!=0)
{
if(isset($result[‘data’][‘quantity’]) && $result[‘data’][‘quantity’]>0)
{
$qty_div_class = ‘qty’;
$qty_div_content = ‘Qty – ‘.$result[‘data’][‘quantity’];
$price_div_style = ‘display:block;’;
$qty_div_style = ‘display:block;’;
}
else
{
$qty_div_class = ‘stock-out’;
$qty_div_content = ‘Out Of Stock’;
$price_div_style = ‘display:none;’;
$qty_div_style = ‘display:block;’;
}
}
else{

if(isset($result[‘data’][‘quantity’]) && $result[‘data’][‘quantity’]>0)
{
$qty_div_class = ‘qty’;
$qty_div_content = ‘In Stock’;
$price_div_style = ‘display:none;’;
$qty_div_style = ‘display:block;’;
}
else
{
$qty_div_class = ‘stock-out’;
$qty_div_content = ‘Out Of Stock’;
$price_div_style = ‘display:none;’;
$qty_div_style = ‘display:block;’;
}

}

$planid = base64_encode($result[‘data’][‘planid’]);
$plan_link = ‘e-one-plus?plan=e-one-plus&pdn_id=’.$planid;
[/insert_php]

E1+

[insert_php] echo $qty_div_content; [/insert_php]
[insert_php] echo $result[‘data’][‘currencyDetails’][‘prefix’].’ ‘.$result[‘data’][‘price’].’/Qty’; [/insert_php]
[insert_php] unset($res);
unset($result);
unset($orderlink);
unset($price);
$res = do_shortcode(‘[wireless_n300 plan_id=”64″]’);
$result = json_decode($res,true);
if(isset($_SESSION[‘userid’]) && $_SESSION[‘userid’]!=” && $_SESSION[‘userid’]!=0)
{
if(isset($result[‘data’][‘quantity’]) && $result[‘data’][‘quantity’]>0)
{
$qty_div_class = ‘qty’;
$qty_div_content = ‘Qty – ‘.$result[‘data’][‘quantity’];
$price_div_style = ‘display:block;’;
$qty_div_style = ‘display:block;’;
}
else
{
$qty_div_class = ‘stock-out’;
$qty_div_content = ‘Out Of Stock’;
$price_div_style = ‘display:none;’;
$qty_div_style = ‘display:block;’;
}
}
else{

if(isset($result[‘data’][‘quantity’]) && $result[‘data’][‘quantity’]>0)
{
$qty_div_class = ‘qty’;
$qty_div_content = ‘In Stock’;
$price_div_style = ‘display:none;’;
$qty_div_style = ‘display:block;’;
}
else
{
$qty_div_class = ‘stock-out’;
$qty_div_content = ‘Out Of Stock’;
$price_div_style = ‘display:none;’;
$qty_div_style = ‘display:block;’;
}

}

$planid = base64_encode($result[‘data’][‘planid’]);
$plan_link = ‘wf2119s?plan=wf2119s&pdn_id=’.$planid;
[/insert_php]

WF2119S

[insert_php] echo $qty_div_content; [/insert_php]
[insert_php] echo $result[‘data’][‘currencyDetails’][‘prefix’].’ ‘.$result[‘data’][‘price’].’/Qty’; [/insert_php]