[insert_php] session_start();[/insert_php]

HPE Aruba

[insert_php] unset($res);
unset($result);
unset($orderlink);
unset($price);
$res = do_shortcode(‘[wireless_n300 plan_id=”56″]’);
$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 = ‘hpe-1410?plan=hpe-1410&pdn_id=’.$planid;
[/insert_php]

HPE 1410 24 Switch

[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=”57″]’);
$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 = ‘hpe-1620?plan=hpe-1620&pdn_id=’.$planid;
[/insert_php]

HPE 1620 24G Switch

[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=”58″]’);
$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 = ‘hpe-1820?plan=hpe-1820&pdn_id=’.$planid;
[/insert_php]

HPE 1820 24G Switch

[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=”59″]’);
$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 = ‘hpe-1850?plan=hpe-1850&pdn_id=’.$planid;
[/insert_php]

HPE 1850 48G 4XGT Switch

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