403Webshell
Server IP : 119.59.102.212  /  Your IP : 3.133.157.170
Web Server : Apache/2
System : Linux narin 2.6.32-042stab142.1 #1 SMP Tue Jan 28 23:44:17 MSK 2020 x86_64
User : yangkam ( 1022)
PHP Version : 5.6.40
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/yangkam/domains/yangkam.go.th/public_html/coremain/module/site_map/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/yangkam/domains/yangkam.go.th/public_html/coremain/module/site_map/site_map.php
<?php
// Status Package Module
$status_module=select_query("status_module","cms_status_module","id","35");
if($status_module[0]!=1)	{	
	fieldset_no_module();
}
$navig['blog']="แผนที่เว็บไซต์";
navigator($navig);
echo "<br>";
bar_header($_SESSION[bar_name]); // Bar_Header
fieldset_top("แผนที่เว็บไซต์");


echo"<table align='center' border='0' cellpadding='0' cellspacing='0' width='500'>";
echo"   <tr height='25'>";
echo"   <td width='20'><img src='coremain/images/node3.gif' height='20' width='20'></td>";
echo"   <td  colspan='3'><b>เมนูส่วนบน</b></td>";
echo"   </tr>";
echo "</table>";

// ############# แถบเมนูด้านบน ###############

echo"<table align='center' border='0' cellpadding='0' cellspacing='0' width='460'>";
echo"                  <tbody>";

echo"   <tr height='25'>";
echo"   <td width='20'><img src='coremain/images/node1.gif' height='20' width='20'></td>";
echo"   <td  colspan='3'><a href='index.php'>หน้าแรก</a></td>";
echo"   </tr>";

echo"   <tr height='25'>";
echo"   <td width='20'><img src='coremain/images/node1.gif' height='20' width='20'></td>";
echo"   <td  colspan='3'><a href='index.php?mod=project&path=project'>ผลงานของเรา</a></td>";
echo"   </tr>";

echo"   <tr height='25'>";
echo"   <td width='20'><img src='coremain/images/node1.gif' height='20' width='20'></td>";
echo"   <td  colspan='3'><a href='index.php?mod=gallery&path=gallery'>ภาพกิจกรรม</a></td>";
echo"   </tr>";

echo"   <tr height='25'>";
echo"   <td width='20'><img src='coremain/images/node1.gif' height='20' width='20'></td>";
echo"   <td  colspan='3'><a href='index.php?mod=blog&path=blog&id_sub=0'>ติดต่อเรา</a></td>";
echo"   </tr>";

echo"   <tr height='25'>";
echo"   <td width='20'><img src='coremain/images/node1.gif' height='20' width='20'></td>";
echo"   <td  colspan='3'><a href='index.php?mod=send_mail&path=contact'>ส่งอีเมล์</a></td>";
echo"   </tr>";

echo"   <tr height='25'>";
echo"   <td width='20'><img src='coremain/images/node1.gif' height='20' width='20'></td>";
echo"   <td  colspan='3'><a href='index.php?mod=help&path=help'>ร้องทุกข์</a></td>";
echo"   </tr>";
echo"                    </tbody>";
echo"                  </table>";

// ############# แถบเมนูทางซ้าย ###############
if($_SESSION['admin_web']=="admin")		
	$sql="SELECT * FROM cms_menu_top WHERE left_right='1' and status='1' order by position asc";
// for member	
else if ($_SESSION['admin_web']=="member")	 															
	$sql="SELECT * FROM cms_menu_top WHERE left_right='1' and permission!='admin' and status='1' order by position asc";
else 
	$sql="SELECT * FROM cms_menu_top WHERE left_right='1' and status='1' and permission!='admin' order by position asc";

$result=mysql_query($sql);
$num_left = mysql_num_rows($result);
if($num_left > 0){
  echo"<table align='center' border='0' cellpadding='0' cellspacing='0' width='500'>";
  echo"   <tr height='25'>";
  echo"   <td width='20'><img src='coremain/images/node3.gif' height='20' width='20'></td>";
  echo"   <td  colspan='3'><b>เมนูทางซ้าย</b></td>";
  echo"   </tr>";
  echo "</table>";

  echo"<table align='center' border='0' cellpadding='0' cellspacing='0' width='460'>";
  echo"                  <tbody>";
	while($data=mysql_fetch_array($result)){
      $menu_name = strpos($data['name'], '.gif') > -1 || strpos($data['name'], '.jpg') > -1 || strpos($data['name'], '.png') > -1 ? '' : $data['name'];
      $menu_bg = $menu_name == '' ? $data['name'] : 'menu_bg.jpg';
		echo"   <tr height='40'>";
		echo"   <td width='20' valign=center><img src='coremain/images/node1.gif' height='20' width='20'></td>";
		echo"   <td valign=center style='background: url(coremain/images/menu/$_SESSION[themes_]/1/$menu_bg) no-repeat; width: 180px;' class='$_SESSION[themes_]'>$menu_name</td>";
        echo '<td colspan=2></td>';
		echo"   </tr>";
			$sql="SELECT name,url FROM cms_menu_sub WHERE id_top='$data[id_top]' and status='1' order by id_sub";
			$re=mysql_query($sql);
			while($data=mysql_fetch_array($re)){
				echo"   <tr height='25'>";
					echo"   <td width='20' valign=BOTTOM></td>";
					echo"   <td  colspan='3' valign=BOTTOM><img src='coremain/images/arr3.jpg'> <a href='$data[url]'>$data[name]</a></td>";
				echo"   </tr>";	
			}
	}
  echo"                    </tbody>";
  echo"                  </table>";
}

// ############# แถบเมนูตรงกลาง ###############
if($_SESSION['admin_web']=="admin")		
	$sql="SELECT * FROM cms_menu_top WHERE left_right='3' and status='1' order by position asc";
// for member	
else if ($_SESSION['admin_web']=="member")	 															
	$sql="SELECT * FROM cms_menu_top WHERE left_right='3' and permission!='admin' and status='1' order by position asc";
else 
	$sql="SELECT * FROM cms_menu_top WHERE left_right='3' and status='1' and permission!='admin' order by position asc";

$result=mysql_query($sql);
$num_center = mysql_num_rows($result);
if($num_center > 0){
  echo"<table align='center' border='0' cellpadding='0' cellspacing='0' width='500'>";
  echo"   <tr height='25'>";
  echo"   <td width='20'><img src='coremain/images/node3.gif' height='20' width='20'></td>";
  echo"   <td  colspan='3'><b>เมนูตรงกลาง</b></td>";
  echo"   </tr>";
  echo "</table>";

  echo"<table align='center' border='0' cellpadding='0' cellspacing='0' width='460'>";
  echo"                  <tbody>";
	while($data=mysql_fetch_array($result)){
      $menu_name = strpos($data['name'], '.gif') > -1 || strpos($data['name'], '.jpg') > -1 || strpos($data['name'], '.png') > -1 ? '' : $data['name'];
      $menu_bg = $menu_name == '' ? $data['name'] : 'menu_bg.jpg';
		echo"   <tr height='40'>";
		echo"   <td width='20' valign=center><img src='coremain/images/node1.gif' height='20' width='20'></td>";
		echo"   <td valign=center style='background: url(coremain/images/menu/$_SESSION[themes_]/1/$menu_bg) no-repeat; width: 180px;' class='$_SESSION[themes_]'>$menu_name</td>";
        echo '<td colspan=2></td>';
		echo"   </tr>";
			$sql="SELECT name,url FROM cms_menu_sub WHERE id_top='$data[id_top]' and status='1' order by id_sub";
			$re=mysql_query($sql);
			while($data=mysql_fetch_array($re)){
				echo"   <tr height='25'>";
					echo"   <td width='20' valign=BOTTOM></td>";
					echo"   <td  colspan='3' valign=BOTTOM><img src='coremain/images/arr3.jpg'> <a href='$data[url]'>$data[name]</a></td>";
				echo"   </tr>";	
			}
	}
  echo"                    </tbody>";
  echo"                  </table>";
}

// ############# แถบเมนูทางขวา ###############
if($_SESSION['admin_web']=="admin")		
	$sql="SELECT * FROM cms_menu_top WHERE left_right='2' and `lock`='1' order by position asc";
// for member	
else if ($_SESSION['admin_web']=="member")	 															
	$sql="SELECT * FROM cms_menu_top WHERE left_right='2' and permission!='admin' and `lock`='1' order by position asc";
else 
	$sql="SELECT * FROM cms_menu_top WHERE left_right='2' and `lock`='1' and permission!='admin' order by position asc";

$result=mysql_query($sql);
$num_right = mysql_num_rows($result);
if($num_right > 0){
  echo"<table align='center' border='0' cellpadding='0' cellspacing='0' width='500'>";
  echo"   <tr height='25'>";
  echo"   <td width='20'><img src='coremain/images/node3.gif' height='20' width='20'></td>";
  echo"   <td  colspan='3'><b>เมนูทางขวา</b></td>";
  echo"   </tr>";
  echo "</table>";

  echo"<table align='center' border='0' cellpadding='0' cellspacing='0' width='460'>";
  echo"                  <tbody>";
	while($data=mysql_fetch_array($result)){
		echo"   <tr height='50'>";
		echo"   <td width='20' valign=center><img src='coremain/images/node1.gif' height='20' width='20'></td>";
		echo"   <td  colspan='3' valign=center><img src='coremain/images/menu/$_SESSION[themes_]/1/$data[name]'></td>";
		echo"   </tr>";
			$sql="SELECT name,url FROM cms_menu_sub WHERE id_top='$data[id_top]'";
			$re=mysql_query($sql);
			while($data=mysql_fetch_array($re)){
				echo"   <tr height='25'>";
					echo"   <td width='20' valign=BOTTOM></td>";
					echo"   <td  colspan='3' valign=BOTTOM><img src='coremain/images/arr3.jpg'> <a href='$data[url]'>$data[name]</a></td>";
				echo"   </tr>";	
			}
	}
  echo"                    </tbody>";
  echo"                  </table>";
}
fieldset_down();

?>

Youez - 2016 - github.com/yon3zu
LinuXploit