File: /home/durgeshpandey215/public_html/zeeroprice.skilladders.com/products-and-prices.php
<? require "application_top.php";
$_SESSION['ViewProductSess'] = 0;
unset($_SESSION['ViewProductSess']);
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Wallet Demo</title>
<!-- Meta tag Keywords -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<meta name="keywords" content="" />
<? require "scripts.php";?>
</head>
<body>
<? $pagename = "prd"; require "header.php";?>
<div class="container py-md-3">
<h1>Products and Pricing</h1>
<?=$msg;?>
<section class="py-4">
<div class="row">
<?
$db->where('istatus',1);
$rowsp = $db->get('wallet_products');
$color1= "dc3545";
$color2= "00a650";
$color3= "a0148e";
$i = 1;
foreach($rowsp as $rowp){
$i = ($i==3)? 1 : $i+1;
?>
<div class="col-sm-12 col-lg-4">
<div style="width:100%;margin:2%;">
<div style="width:100%;padding:2%;text-align:center;background-color:#<?=${'color'.$i};?>;font-size:17px;color:#fff;">
<?=$rowp['pname'];?><br/>
</div>
<div style="width:100%;height:100px;padding:2%;text-align:center;background-color:#eee;font-size:17px;color:#000;">
</br/><b>Rs.<?=$rowp['cost'];?>/- </b>
</div>
<div style="width:100%;padding:2%;text-align:center;background-color:#fff;font-size:17px;color:#000;">
<a style="background-color:#<?=${'color'.$i};?>;font-size:17px;color:#fff;padding:10px 20px;" href="buy.php?pid=<?=$rowp['pid'];?>" onclick="return confirm('Rs.<?=$rowp['cost'];?> will be deducted from your wallet balance. Are you sure You want to continue?');">View Details for Rs.<?=$rowp['cost'];?>/-</a>
</b>
</div>
</div>
</div>
<?
}
?>
</div>
</section>
</div>
</div>
</div>
</div>
<!-- //Vertically centered Modal -->
<? require "footer.php";?>