:: **Zploit** v1.0 | Current Path: **/home/bbbncs7/amtechint.com/**
:: Editing File: products_bk.php
<?php include"admin/func.php"; include"admin/param.php"; include"live.php"; $web_title = $M_phead .' | '. $web_title; ?> <?php include("top.php"); ?> <?php include("top_menu.php"); ?> <?php if ($top_banner_sub != ""){?> <!--<div class="container-fluid no-padding" style="background-image:url('admin/pictures/<?=$top_banner_sub?>');background-repeat:no-repeat;height:200px;background-size: cover;"></div>--> <div class="container-fluid"> <div class="row"> <div class="col-md-12"><img src="admin/pictures/<?=$top_banner_sub?>" class="img-responsive"></div> </div> </div> <?php }?> <div class="container-fluid"> <div class="row" style="padding-bottom:20px;"> <div class="col-md-3"> <?php include("left.php"); ?> </div> <div class="col-md-9"> <h3 class="cat_heading"><?=$S_head?></h3> <div class="row breadcrumb_top"> <div class="col-md-12"> <ol class="breadcrumb" style="margin-bottom: 0px;"> <li><a href="index.php">Home</a></li> <li><a href="#"><?=$M_head?></a></li> <li class="active"><?=$S_head?></li> </ol> </div> </div> <?php $cur_page = ch_page('cur'); $PER_PAGE = 20; $prod_page = $PER_PAGE; $perpage = $prod_page; if ($cur_page == 1) { $subt = 0; }else{ $subt = $cur_page * $prod_page; $subt = $subt - $prod_page; } $sqln = "Select * from tbl_prods where pshow = 'Yes' AND mainid = ".$mid." AND secid = ".$sid." AND catid = ".$cid." order by ranking"; $queryn = qry_run($sqln); $rs_n = num_rec($queryn); $sql = "Select * from tbl_prods where pshow = 'Yes' AND mainid = ".$mid." AND secid = ".$sid." AND catid = ".$cid." order by ranking limit $subt,$perpage"; $query = qry_run($sql); if (num_rec($query) > 0) { while ($rs = fetch_rec($query)) { ?> <a href="detail.php?live=<?=$rs['mainid']?>_<?=$rs['secid']?>_<?=$rs['catid']?>_<?=$rs['pid']?>" class="tab_menu_sub"> <div class="row" style="margin-bottom:20px;"> <div class="col-md-12" style="margin-bottom:10px;"><h4 style="color:#FFF;background:#232d6f;padding:10px;margin:0px;"><?=$rs['pname']?></h4></div> <div class="col-md-3"> <img src="admin/pictures/<?=$rs['img1']?>" class="img-responsive"> </div> <div class="col-md-9"><?=stripslashes(html_entity_decode($rs['sdetail']))?></div> </div> </a> <?php } } ?> </div> </div> </div> </div> <?php include("btm.php"); ?> </body> </html>