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/ hi-techplasticltd.com/ |
|
<?php $p_class_link='Wp-Administrator/classes/class.MenuAndContent.php'; require_once $p_class_link; //error_reporting(E_ERROR | E_PARSE); $Page_url='about.php?page='; $Page_url2='contact.php?page='; $Pages=$_GET['page']; $Pid=$_GET['Pid']; $Accessid=$_GET['accessid']; $FB="https://www.facebook.com/"; $CompanyTitle="Hi-Tech Plastic Limited"; $TitleBar = "Hi-Tech Plastic Limited"; $IMGLoc="media/"; $SQLContact = "select * from pages_content where content_pages_name='Contact US' ORDER BY `Id` ASC"; $sql_inner_banner=mysql_fetch_array(mysql_query("SELECT image FROM `pages_content` WHERE content_pages_name='Inner Page Banner' ORDER BY `id` DESC")); if(!empty($Pages)){ $SubPageHeadClass='header-v4'; }else{ $SubPageHeadClass=''; } $supported_image = array( 'gif', 'jpg', 'jpeg', 'png' ); ?> <!DOCTYPE"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="Vegetable Exporter of Bangladesh"> <title><?=$TitleBar;?></title> <!-- CSS Stylesheet--> <link href="https://fonts.googleapis.com/css?family=Satisfy" rel="stylesheet"> <link rel="stylesheet" type="text/css" href="css/reset.css"> <link rel="stylesheet" type="text/css" href="css/bootstrap.css"> <link rel="stylesheet" type="text/css" href="css/font-awesome.min.css"> <link rel="stylesheet" type="text/css" href="css/animate.css"> <link rel="stylesheet" type="text/css" href="css/custom.css"> <link rel="stylesheet" type="text/css" href="css/menu-style.css"> <link rel="stylesheet" type="text/css" href="css/owl.carousel.css"> <link rel="stylesheet" type="text/css" href="css/owl.theme.default.min.css"> <link rel="stylesheet" type="text/css" href="rs-plugin/css/settings.css"> </head> <body> <!-- Header --> <header class="main-header"> <div class="container"> <div class="inner-header"> <div class="col-md-5"> <div class="logo"> <a href="index.php"><img src="images/logo.png"></a> </div> </div> <div class="col-md-7"> <div id='cssmenu'> <ul> <li><a href='index.php'>Home</a></li> <?php $nav_table = 'menu'; $sql_cat=mysql_query("SELECT * FROM `$nav_table` WHERE `parents_cat_id`='0' and position='Menu Bar' ORDER BY `sir_no` ASC"); while($row_cat=mysql_fetch_array($sql_cat)){$cat_id=$row_cat['id']; $parent_id=$row_cat['parents_cat_id']; if($cat_id=='100'){ echo '<li><a href="'.$row_cat['url_link'].$row_cat['url_name'].'&Pid='.$row_cat['id'].'">'.$row_cat['cat_name'].'</a>'; } else{ $sql_sub_cat=mysql_fetch_array(mysql_query("SELECT * FROM `$nav_table` WHERE `parents_cat_id`='$cat_id' and position='Menu Bar' ORDER BY `sir_no` ASC")); if($sql_sub_cat){$item_has_arrow = 'class="menu-item-has-children"';}else{$item_has_arrow = '';} echo '<li '.$item_has_arrow.'><a href="'.$row_cat['url_link'].$row_cat['url_name'].'&Pid='.$row_cat['id'].'">'.$row_cat['cat_name'].'</a>';} if($sql_sub_cat){ $sub_cat_id=$sql_sub_cat['parents_cat_id']; echo '<ul class="sub-menu">'; $result_sub=mysql_query("SELECT * FROM `$nav_table` WHERE `parents_cat_id`='$sub_cat_id' and position='Menu Bar' ORDER BY `sir_no` ASC"); while($row_sub=mysql_fetch_array($result_sub)){$subcat_id=$row_sub['id']; $sub_sub_cat=mysql_fetch_array(mysql_query("SELECT * FROM `$nav_table` WHERE `parents_cat_id`='$subcat_id' and position='Menu Bar' ORDER BY `sir_no` ASC")); if($sub_sub_cat){$item_has_arrow2 = 'class="menu-item-has-children"';}else{$item_has_arrow2 = '';} echo '<li '.$item_has_arrow2.'><a href="'.$row_sub['url_link'].$row_sub['url_name'].'&Pid='.$row_sub['id'].'">'.$row_sub['cat_name'].'</a>'; //////3rd level sub menu if(!empty($sub_sub_cat)){ $level_3rd_cat_id=$sub_sub_cat['parents_cat_id']; echo '<ul class="sub-menu2">'; $result_3rdsub=mysql_query("SELECT * FROM `$nav_table` WHERE `parents_cat_id`='$subcat_id' and position='Menu Bar' ORDER BY `sir_no` ASC"); while($row_3rdsub=mysql_fetch_array($result_3rdsub)){$subcat3rd_id=$row_3rdsub['id']; echo ' <li><a href="'.$row_3rdsub['url_link'].$row_3rdsub['url_name'].'&Pid='.$row_3rdsub['id'].'"> '.$row_3rdsub['cat_name'].' </a></li>' ; } echo '</ul>'; }////// end 3rd level sub menu echo '</li>'; }//////2nd while echo'</ul>'; }//////if echo'</li>'; }//////main while ?> </ul> </div> </div> </div> </div> </header>