MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.226.200.180
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/ppcad7no/semipreciousslab.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/semipreciousslab.com/site-map.php
<?php include("site-header.php");?>        
        <section id="breadcrumb" data-background="assets/img/demo/slides/02.jpg" class="parallax-window">
			<div>
				<h1 class="section-title white-font text-center">Site Map</h1>
				<ul>
					<li><a href="<?=$site_url?>/index.html">Home</a></li>
					<li>Site Map</li>
				</ul>
			</div>
		</section>
		<!-- End About Us -->
        <section id="our-story">
			<div class="container">
				<div class="row">

<div class="container block-content">
    <div class="row main-grid">
      <div class="col-lg-4  col-lg-offset-2">
   <h2>General Link </h2>

<ul class="sitemapLink">
                  <?php 
	  $link_sql=db_query("select * from tbl_site_pages where 1 and site_pages_status='Active' order by site_pages_order_by asc");
	  if(mysqli_num_rows($link_sql)>0){
	   while($link_data=mysqli_fetch_array($link_sql)){
	  ?>
                  <li><a href="<?=$site_url?>/<?=$link_data['site_pages_link']?>.html">
                    <i class="fa fa-angle-double-right" aria-hidden="true"></i>
					
					<?=$link_data['site_pages_name']?>
                    </a></li>
                  <? }} ?>
                </ul>        
          
        </div>
        
        
        
        <div class="col-lg-5  col-lg-offset-1">
         
            <?php
	 $sql_cat=db_query("select * from tbl_category where 1 and category_parent_id='0' and category_status='Active' order by category_order_by*1 asc");
	 if(mysqli_num_rows($sql_cat)>0){
	?>
           <h2>
                  <?php if($compDATA['admin_product_option']=='Yes'){ ?>
                  Our Products
                  <? }else{ ?>
                  Our Services
                  <? } ?>
                </h2>

            <ul class="sitemapLink">
      <?php
		 function get_menu($query){
		 $site_url=db_scalar("select admin_website_url from tbl_admin where 1");
		   while($recds = mysqli_fetch_array($query)){
		     $menu_cat_id = $recds['category_id'];
			 $menu_cat_name = $recds['category_name'];
			 $menu_cat_link = $recds ['category_url'];
			 
			 if ($recds['category_parent_id']==0) {
		      $bld='b';
		     }else{
		      $bld='';
			 }	
			 
			 echo "<li><span class='{$bld}'><a href='$site_url/{$menu_cat_link}.html'><i class='fa fa-angle-double-right' aria-hidden='true'></i> {$menu_cat_name}</a></span>";
			   if(has_child(query($menu_cat_id))){
			     echo "<ul style='list-style:none'>";
				  get_menu(query($menu_cat_id));
				 echo "</ul>";
			   }
			 
			 echo "</li>";
		   }		
		 }
		 get_menu(query(0));
		?>
                </ul>
            <? } ?>

                            
                            
						</div>
                        
                        
                        
<div class="col-lg-12">&nbsp;</div>                        
                        
                        
					</div>
				</div>
			</div>
			</div>
		</section>
<?php include("site-footer.php");?>        

MMCT - 2023