403Webshell
Server IP : 210.245.233.93  /  Your IP : 216.73.216.226
Web Server : Apache/2.2.15 (CentOS)
System : Linux webserver2.onesolution.com.hk 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : exec, shell_exec, system, passthru, popen, proc_open, pcntl_exec
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/muaythai.com.hk/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/muaythai.com.hk//index.php
<?php require("webadmin/configure.php"); 
$catid = (int)$_GET['catid'];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Po Cheong Thai Boxing Club</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<script type="text/javascript" src="js/mlddmenu.js"></script>
<link rel="stylesheet" type="text/css" href="css/mlddmenu.css" />
</head>
<body bgcolor="#F0F0F0" leftmargin="0" topmargin="0">
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td><a href="index.php"><img src="images/po01.jpg" border="0" /></a></td>
  </tr>
  <tr>
    <td bgcolor="#000000">
	<ul class="mlddm">
	<?
		load(0, 0);

		function load($p, $space)
		{
			$sql = "SELECT * ";
			$sql .= "FROM template left outer join categories ";
			$sql .= "ON template.templateid = categories.templateid ";
			$sql .= "where parentid = $p ";
			$sql .= "order by sortby";

			$result1 = mysql_query($sql);
			$n=1;
			$count = mysql_num_rows($result1); 

			while ($row = mysql_fetch_array($result1,MYSQL_ASSOC))
			{
				if ($space <> 0 && $n == 1)
					echo "<ul>";
						echo "<li><a href='". $row{'templatepage'} ."?catid=". $row{'catid'} ."' class='menulink'>". $row{'catname'} . "</a>";

				$n++;
				load($row{'catid'}, $space+1);
				echo "</li>";
				if ($space <> 0 && $count < $n)
					echo "</ul>";

			}

		}
?>
</ul>	</td>
  </tr>
  <tr>
    <td><img src="images/banner01.jpg" width="1000" height="200" /></td>
  </tr>
  <tr>
    <td background="images/contentbg.jpg" bgcolor="#FFFFFF" style="background-repeat:repeat-x"><table width="1000" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="568" align="center" valign="top"><table width="521" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td colspan="3" align="left" valign="top"><img src="images/img_welcometop.jpg" width="521" height="35" /></td>
              </tr>
              <tr>
                <td width="30" align="left" valign="top"><img src="images/img_welcomeleft.jpg" width="30" height="200" /></td>
                <td width="461" align="left" valign="top" bgcolor="#FFFFFF"><table width="460" border="0" cellpadding="0" cellspacing="0">
				<? $sql = "SELECT * FROM mainpage WHERE mainpageid = '1' ";
				  $result = mysql_query($sql);
				  $row = mysql_fetch_array($result,MYSQL_ASSOC);
				  ?>
                    <tr>
                      <td class="titlename26"><b><? echo $row{'mainpagetitle'} ?></b></td>
                    </tr>
                    <tr>
                      <td class="txt"><?=str_replace("\r", '', preg_replace( "/\n/", "<br>", $row{'mainpagedesc'}))?></td>
                    </tr>

                </table></td>
                <td width="30" align="left" valign="top"><img src="images/img_welcomeright.jpg" width="30" height="200" /></td>
              </tr>
          </table></td>
          <td width="432" align="left" valign="top"><table width="400" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td align="left" valign="top" class="titlename26"><b><br />最新消息</b></td>
              </tr>
              <tr>
                <td height="100" align="left" valign="top" class="txt">
			<? $sql = "SELECT * FROM news WHERE newsstatus = 'Enable' ";
			   $sql .= "order by newsid DESC ";
			   $sql .= "limit 3";
			   $result = mysql_query($sql);
			  while( $row = mysql_fetch_array($result,MYSQL_ASSOC) )
			  {
				echo '<a href="news.php#'.$row{'newsid'}.'">- ' . $row{'newsdescmain'}. "</a><br /><br />";
			  }
			  ?></td>
              </tr>
          </table></td>
        </tr>
    </table></td>
  </tr>
  <tr>
    <td align="center" valign="top" bgcolor="#FFFFFF"><table width="900" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td colspan="6" align="left" valign="top" class="titlename26"><b>拳館照片</b></td>
        </tr>
        <tr>
          <?   $sql = "SELECT * ";
			   $sql .= "FROM gallery WHERE gallerytype = '2' ";
			   $sql .= "order by galleryid desc ";
			   $sql .= "limit 5";
			   $result2 = mysql_query($sql);
			  while( $row2 = mysql_fetch_array($result2,MYSQL_ASSOC) )
			  {
			   echo '<td align="left" valign="middle">';
			   echo '<a href="gallery.php">';
			   echo '<img src="webadmin/galleryimage/'. $row2{'galleryfile'} . '" width="160" border="0">';
			   echo '</a></td>';
			  }
			  ?>
        </tr>
    </table></td>
  </tr>
  <!-- Content End -->
  <!-- Footer -->
  <tr>
    <td align="left" valign="top" bgcolor="#FFFFFF">&nbsp;</td>
  </tr>
  <tr>
    <td align="center" valign="top" bgcolor="#FFFFFF" class="footerspan"><span class="footertxt">Copyright © 2010 Po Cheong Thai Boxing Club. All Rights Reserved &nbsp; | &nbsp; Powered by <a href="http://www.onesolution.com.hk" target="_blank">One Solution Limited</a>.<br />
      <a href="http://www.onesolution.com.hk" target="_blank"><img src="images/webicon137w23h.jpg" width="137" height="23" border="0" /></a></span></td>
  </tr>
  <!-- Footer End -->
</table>
</body>

</html>

Youez - 2016 - github.com/yon3zu
LinuXploit