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 $p_class_link='Wp-Administrator/classes/class.MenuAndContent.php'; require_once $p_class_link; $function_file = new MenuAndContent(); 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="Apptech Resource"; $IMGLoc="media/"; $page_table = 'pages_content'; $SQLPage= "SELECT * FROM $page_table WHERE `content_pages_name`='$Pages' and post_position='Body' ORDER BY `id` DESC"; $SQLProduct= "SELECT * FROM $page_table WHERE `content_pages_name`='$Pages' and post_position='Product Image' ORDER BY `id` DESC"; $SQLAbout= "select * from $page_table where content_pages_name='About-Us' ORDER BY `id` ASC"; $SQLContact = "select * from $page_table where content_pages_name='Contact' ORDER BY `id` ASC"; if(!empty($Pages)){ $SubPageHeadClass='header-v4'; }else{ $SubPageHeadClass=''; } ?> <!DOCTYPE html> <html lang="en-US"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title><?=$CompanyTitle;?></title> <meta name="description" content="We also provide various kind of Printing Materials including huge quantity ink & solution which cover at least 75 percent demand of the total market."> <meta name="keywords" content="Welcome to <?=$CompanyTitle;?>, Welcome to <?=$CompanyTitle;?>, Welcome to <?=$CompanyTitle;?>"> <meta name="address" content="electropackbd"> <link href="images/favicon.png" rel="shortcut icon" type="image/vnd.microsoft.icon" /> <meta http-equiv="developer" content="Developed By: Md.wasim 01674867099" /> <meta http-equiv="refresh" content="1500"/> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="images/style.css" rel="stylesheet" type="text/css"> <script language="javascript" src="images/jquery-1.7.1.min.js"></script> <script> function video(x) { req = $.ajax({ type: "GET", url: "player.php?q=" + x, datatype: "html", success: function(data){ $('#StateFeeder').html(data); } }); } ( function( $ ) { $( document ).ready(function() { $('#cssmenu').prepend('<div id="menu-button" style="background: #e3e3e3">MENU</div>'); $('#cssmenu #menu-button').on('click', function(){ var menu = $(this).next('ul'); if (menu.hasClass('open')) { menu.removeClass('open'); } else { menu.addClass('open'); } }); $('.flexslider').flexslider({ animation: "slide", slideshow:true, controlNav:true, pauseOnHover:true }); }); } )( jQuery ); </script> </head> <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0"> <div style="background: #ededed;width: 100%;float:left;margin-bottom:5px;"> <div class="container"> <div class="col-xs-12"> <div class="social-div" style="float:right; text-align:right;margin: 5px 0;"> <ul class="social"> <li style="font-size: 16px;font-family: calibri;"><img border="0" src="images/Phone-Icon.png" width="16" height="16"> 01915-134118, 01855 777 967</li> <li><a target="_blank" href="https://www.facebook.com/" title="facebook"><img border="0" src="images/soc-1.png" width="24" height="24"></a></li> <li><a target="_blank" href="https://twitter.com/" title="twitter"><img border="0" src="images/soc-2.png" width="24" height="24"></a></li> <li><a target="_blank" href="https://plus.google.com/" title="google-plus"><img border="0" src="images/soc-3.png" width="24" height="24"></a></li> </ul> </div> </div> </div> </div> <div class="clear"></div> <div class="container"> <div class="clear"></div> <div class="col-lg-3 col-md-3 col-sm-3 col-xs-12"> <a href="index.php"><img border="0" src="images/logo.png" style="padding-top: 10px;"></a> </div> <div class="col-lg-9 col-md-9 col-sm-9 col-xs-12 right" style="padding:0 10px; float: right;"> <div class="clear"></div> <div style="background: #ffffff"><!-- Menu Start --> <div id='cssmenu'> <ul> <li class=""><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=='1'){echo '<li><a href="'.$row_cat['url_link'].$row_cat['url_name'].'">'.$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'].'">'.$row_cat['cat_name'].'</a>';} if($sql_sub_cat){ $sub_cat_id=$sql_sub_cat['parents_cat_id']; echo '<ul>'; $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'].'">'.$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>'; $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'].'"> '.$row_3rdsub['cat_name'].' </a></li>' ; } echo '</ul>'; }////// end 3rd level sub menu echo '</li>'; }//////2nd while echo'</ul>'; }//////if echo'</li>'; }//////main while ?> </div> <!-- Menu End --></div> <div class="clear" style="margin: 0 0 20px 0"></div> </div> </div> <div class="clear"></div> <div class="clear" style=" padding: 0 0 5px 0"></div>