| 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/globavet.com/tc/ |
Upload File : |
<?php require_once('../webadmin/configure.php');
$aboutusid = (int)$_GET['aboutusid'];
?>
<!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>Victory Animal Hospital</title>
<meta name="keywords" content="Victory Animal Hospital,獸醫,獸醫診所,動物醫院,veterinary,animal hospital,veterinary clinic,Vet,動物診所,Animal hospitals,Veterinarian,Vet clinic,Vet specialist,Vet Hospital">
<meta name="description" content="Victory Animal Hospital " />
<link rel="stylesheet" type="text/css" href="../css/style.css" />
<link rel="stylesheet" type="text/css" href="../css/jqueryslidemenu.css" />
<!--[if lte IE 7]>
<style type="text/css">
html .jqueryslidemenu{height: 1%;} /*Holly Hack for IE7 and below*/
</style>
<![endif]-->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
<script type="text/javascript" src="../js/jqueryslidemenu.js"></script>
</head>
<body>
<table width="1000" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="400" align="left" valign="top" style="background-image:url(../images/banner.jpg)">
<div id="headerlogo"><a href="home.php"><img src="../images/blank.png" width="330" height="100" /></a></div>
<table border="0" cellpadding="0" cellspacing="0" class="headerlang" id="headerlangtable">
<tr>
<td><a href="../en/<?=basename($_SERVER['PHP_SELF'])."?".$_SERVER['QUERY_STRING'];?>">ENGLISH</a> <a href="../tc/<?=basename($_SERVER['PHP_SELF'])."?".$_SERVER['QUERY_STRING'];?>">中文</a> </td>
</tr>
</table>
<div id="mapsearch-codesearch">
<form action="search.php">
<input type="text" class="codesearchbox" name="s" value="" />
<input name="image" type="image" class="codesearchbox_submit" value="" src="../images/blank.png" />
</form>
</div></td>
</tr>
<tr>
<td align="left" valign="top"><div id="myslidemenu" class="jqueryslidemenu">
<ul>
<li><a href="home.php">主頁</a></li>
<li><a href="news.php">最新消息</a></li>
<li><a href="aboutus.php">關於我們</a></li>
<li><a href="services.php">我們的服務</a></li>
<li><a href="clinic_spec.php">專科醫生服務</a></li>
<li><a href="info.php">客戶與寵物資訊</a></li>
<li><a href="https://eshop.victoryanimalhospital.com" target="_blank">寵物食品送貨服務</a></li>
<li><a href="contactus.php">聯絡我們</a></li>
</ul>
<br style="clear: left" />
</div></td>
</tr>
<tr>
<td width="235" align="left" valign="top" class="pagetitlebg"><table width="970" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="235" class="pagetitle1"><a name="c" id="c"></a>關於我們</td>
<td width="22" class="pagetitle1"><img src="../images/icon_title.jpg" width="22" height="24" /></td>
<?php
if ( $aboutusid ) {
$sql = "SELECT * FROM aboutus WHERE aboutus.aboutusid = $aboutusid ";
} else {
$sql = "SELECT * FROM aboutus ORDER BY levelnum ASC, sort ASC ";
}
//echo $sql;
$result = mysql_query($sql);
$row = mysql_fetch_array($result,MYSQL_ASSOC);
?>
<td width="713" class="pagetitle2"><?=$row{'title_tc'};?></td>
</tr>
</table></td>
</tr>
<tr>
<td align="left" valign="top" bgcolor="#FFFFFF" class="pagecontentbg"><table width="700" border="0" cellpadding="0" cellspacing="0"id="pagecontent">
<tr>
<td align="left" valign="top" class="pagecontenttxt"><?=$row{'desc_tc'};?><!-- End Page Content --></td>
</tr>
</table>
<table width="210" border="0" cellpadding="0" cellspacing="0" id="submenu">
<tr>
<td><div id="ddblueblockmenu">
<?php
function html_menu($p, $level, &$rtn_hasChild)
{
$rtn_hasChild = false;
$sql1 = "SELECT * FROM aboutus where parentid = $p order by levelnum ASC, sort ASC";
$result1 = mysql_query($sql1);
while ($row1 = mysql_fetch_array($result1,MYSQL_ASSOC)){
// var_dump($row1);
$html_child .= html_menu($row1{'aboutusid'}, $level+1, $haschild);
if($level>1){
$html.= '<li><a href="aboutus.php?aboutusid='. $row1{'aboutusid'} .'#c">'. $row1{'title_tc'} . '</a></li>' . PHP_EOL;
}
elseif ($haschild) { //has child
$html.='<div class="menutitle"><a href="aboutus.php?aboutusid='. $row1{'aboutusid'} .'#c">' . $row1{'title_tc'} . '</a></div>' . PHP_EOL;
$html.="<ul>" . PHP_EOL;
$html.=$html_child;
$html.="</ul>" . PHP_EOL;
}
else{
$html.= '<div class="menutitle"><a href="aboutus.php?aboutusid='. $row1{'aboutusid'} .'#c">'. $row1{'title_tc'} . '</a></div>' . PHP_EOL;
}
$rtn_hasChild = true;
}
return $html;
}
print html_menu(0, 1);
?>
</div></td>
</tr>
</table></td>
</tr>
<tr>
<td align="center" valign="middle" class="footer">Copyright © 2017 Globavet Limited. All rights reserved. | Powered by <a href="http://www.onesolution.com.hk" target="_blank">One Solution Limited</a>. </td>
</tr>
</table>
</body>
</html>