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/chingyingtkd.club/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/chingyingtkd.club/template1.php
<?php 
require("configure.php");
$catid = (int)$_GET['catid'];
$pid   = (int)$_GET['pid']; 
?>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>精英跆拳道會(武藝道場)</title>
<meta name="description" content="精英跆拳道會 ( 以下簡稱本會 ) 直屬於韓國跆拳道青濤 (Taekwondo ChungDoKwan, Korea ;創立於 1944 ,現代跆拳道九大門派之一 ) ;並為香港跆拳道協會 ( 中國香港奧委會屬下的唯一全港性跆拳道總會 ) 成員之一">
<meta name="keywords" content="跆拳道,Taekwondo,親子,兒童,青少年,沙田賽馬會公眾壁球場,沙田體育會,跆拳道,精英跆拳道會,武藝,武藝道場,香港跆拳道協會">
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="css/ddlevelsmenu-base.css" />
<link rel="stylesheet" type="text/css" href="css/ddlevelsmenu-topbar.css" />
<script type="text/javascript" src="css/ddlevelsmenu.js"></script>
</head>

<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" background="images/main_bg.jpg" style="background-repeat:repeat-x">
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
<!-- Menu -->
  <tr>
    <td height="55" background="images/menubg.jpg" style="background-repeat:no-repeat">
	<div id="ddtopmenubar" class="mattblackmenu">
	<ul>
	<?
		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";
//			echo $sql;
			$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 id='". $row{'parentid'} ."' class='ddsubmenustyle'>";

					if($row{'templateid'} == '1') {
						$str = "<li><a ";
					} else {
						$str = "<li><a href='". $row{'templatename'} .".php?&pid=".$row{'catid'}."&catid=". $row{'catid'} ."'";
					}
						$sql2 = " select * from categories where parentid = ".$row{'catid'};
						$res2 = mysql_query($sql2);
						if (mysql_num_rows($res2) > 0)		
							$str .= "rel='". $row{'catid'} ."' ";
						$str .= ">". $row{'catname'} . "</a>";						
						echo $str;						

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

			}

		}
?>
	</ul>
	</div>
	
	<script type="text/javascript">
	ddlevelsmenu.setup("ddtopmenubar", "topbar") //ddlevelsmenu.setup("mainmenuid", "topbar|sidebar")
	</script>
	
	</td>
  </tr>
<!-- Menu End -->
  <tr>
    <td height="265" background="images/headerbg.jpg" style="background-repeat:no-repeat">&nbsp;</td>
  </tr>
<!-- Content -->
  <tr>
    <td height="400" align="left" valign="top" background="images/contentbg.jpg" bgcolor="#FFFFFF" style="background-repeat:no-repeat"><table width="1000" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="20">&nbsp;</td>
        <td width="960" align="left" valign="top"><table width="960" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td align="left" valign="bottom"><table width="960" border="0" cellpadding="0" cellspacing="0">
			<? 
			$sql = "SELECT * ";
			$sql .= "FROM pagecontent left outer join categories ";
			$sql .= "ON pagecontent.catid = categories.catid ";
			$sql .= "where pagecontent.catid = '". $catid ."' ";
			
			$result = mysql_query($sql);
			$row = mysql_fetch_array($result,MYSQL_ASSOC)
			?>
              <tr>
                <td width="960" class="maintitletxtred"><br>
                  <? echo $row{'catname'} ?></td>
                </tr>
            </table></td>
          </tr>
          <tr>
            <td width="960" align="left" valign="top"><hr />
              &nbsp;</td>
          </tr>
          <tr>
            <td width="960" align="left" valign="top" class="txt"><? echo $row{'pagecontentdesc'} ?></td>
          </tr>
        </table></td>
        <td width="20">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <!-- Content End -->
  <!-- page span -->
  <tr>
    <td height="30" align="left" valign="top">&nbsp;</td>
  </tr>
  <!-- page span End -->
</table>
<!-- Footer -->
	<div id="footer"><br />
	  <p align="center" class="footer-menu">&copy; Copyright 2009 Ching Ying Taekwondo Union. All Rights Reserved &nbsp;| &nbsp;Powered by <a href="http://www.onesolution.com.hk" target="_blank">One Solution Limited <br />
	  <img src="images/webicon.png" width="89" height="15" border="0" /></a></p>
</div>
<!-- Footer End -->

</html>

Youez - 2016 - github.com/yon3zu
LinuXploit