Linux altar53.supremepanel53.com 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64
/ home/ bdapparelinfo/ apptech-resource.com.bd/ |
|
<?php include 'header.php'; $nav_table = 'menu'; //$sql_cat_page=mysql_query("SELECT * FROM `$nav_table` WHERE `parents_cat_id`='$Pid' and position='Body' ORDER BY `sir_no` ASC"); $sql_cat_page=mysql_query("SELECT * FROM `$nav_table` WHERE `url_name`='$Pid' ORDER BY `sir_no` ASC"); $PageNmae = mysql_fetch_array($sql_cat_page); //echo $Pid; ?> <div class="clear"></div> <div class="page_title"> <div class="container">Product > <?=$PageNmae['cat_name'];?></div> </div> <div class="container" style="padding: 0px"> <?php $sql_cat=mysql_query("SELECT * FROM `$nav_table` WHERE `url_name`='$Pid' ORDER BY `sir_no` ASC"); //while($row_cat=mysql_fetch_array($sql_cat)){ $row_cat=mysql_fetch_array($sql_cat); ?> <div class="col-xs-12"> <span style="font-size: 16px"><?=$row_cat['cat_name'];?></span> <hr /> <br /> <?php $pname = $row_cat['url_name']; ///echo $row_cat['id']; $sql_pro=mysql_query("SELECT * FROM `pages_content` WHERE `content_pages_name` ='$pname'and post_position !='Production Output' ORDER BY `id` DESC"); while($row_pro=mysql_fetch_array($sql_pro)){ ?> <div class="col-lg-3 col-md-3 col-sm-3 col-xs-12 center" style="padding-left: 0;"> <figure class="cap-bot"><a href="details.php?Pid=<?=$row_pro['id'];?>&page=<?=$row_cat['cat_name'];?>"><figcaption><?=$row_pro['title'];?></figcaption></a> <img src="<?=$IMGLoc.$row_pro['image'];?>" style="width: 100%; height: 250px; border: 1px solid #ddd; border-radius: 10px"> </figure> <div class="clear" style="margin: 0 0 25px 0"></div> </div><div class="" style="margin: 0 0 0 0"></div> <?php } ?> </div> <?php //} ?> <div class="clear" style="margin: 0 0 50px 0"></div> </div> <?php include 'footer.php';?>