MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.142.212.153
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/asksolution.in/../irshadwoodenscrap.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/asksolution.in/../irshadwoodenscrap.com/site-left-menu.php
<div class="w250px fl">
  <div class=" b xlarge white mt10px p10px bg1">
   <?php if($compDATA['admin_product_option']=='Yes'){ ?>
      Our Products
      <? }else{ ?>
      Our Services
      <? } ?>
  </div>
  <div class="createawebsitediv">
    <ul id="createawebsite1">
       <?php
function fetch_left_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 = $result ['category_name'];
		$menu_cat_link = $result ['category_url'];
		
	  echo "<li><a href='$site_url/{$menu_cat_link}.html'>{$menu_name}</a>";
		if (has_child ( query ( $menu_id ) )) {
			echo "<ul>";
			fetch_left_menu ( query ( $menu_id ) );
			echo "</ul>";
		}
		echo "</li>";
	}
}
fetch_left_menu (query(0)); //call this function with 0 parent id
?>
    </ul>
  </div>
  <?php 
$sql_video=db_query("select * from tbl_video where 1 and video_status='Active' order by rand()");
 if(mysqli_num_rows($sql_video)>0){
  $videoDATA=mysqli_fetch_array($sql_video);
?>
  <div class="w250px fl mt30px ">
    <p class="p10px bg1 white b">Watch Video</p>
    <p class="mt3px">
      <iframe width="250" height="200" src="https://www.youtube.com/embed/<?=$videoDATA['video_clip']?>" frameborder="0" allowfullscreen></iframe>
    </p>
  </div>
  <? } ?>
</div>

MMCT - 2023