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/ electropackbd.com/ test/ |
|
<?php include 'header.php'; if($Pages=="About Us" OR $Pages=="Company Profile" OR $Pages=="Personal Profile"){ ?> <div id="content" class="site-content"><div class="container"><div class="inner-wrapper"> <div id="primary" class="content-area"> <main id="main" class="site-main" role="main"> <article id="post-4" class="post-4 page type-page status-publish hentry"> <header class="entry-header"> <h1 class="entry-title"><?=$Pages;?></h1> </header><!-- .entry-header --> <hr> <div style="float:left;width: 700px;"> <?php $SQL = "select * from pages_content where content_pages_name='$Pages' and post_position !='Right Bar Info' ORDER BY `id` ASC"; $query = mysql_query($SQL); while ($result = mysql_fetch_array($query)) { $img=$result['image']; ?> <div class="entry-content"> <div id="pl-4"> <img src="media/<?=$img;?>" style="padding:5px; max-width:450px; float: left;padding-right: 15px;" /> <?=$result['description'];?> </div> </div><!-- .entry-content --> <?php } ?> </div> <?php $SQL_pro_img = mysql_query("select * from pages_content where content_pages_name='$Pages' and post_position='Right Bar Info' ORDER BY `id` ASC"); while ($presult = mysql_fetch_array($SQL_pro_img)) { ?> <div class="p-flex" style="float: right;"> <div class="p-flex-in"> <div class="p-name"><?=$presult['title'];?></div> <div class="p-desc"><?=$presult['description'];?></div> </div> </div> <?php }?> </article><!-- #post-## --> </main><!-- #main --> </div><!-- #primary --> </div><!-- .inner-wrapper --></div><!-- .container --></div><!-- #content --> <?php }else{ include 'productlist.php'; } ////////////////////////////////////// include 'footer.php'; ?>