| 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/(Del)tsolpv.com/2013/sc/ |
Upload File : |
<?php require_once('../webadmin/configure.php');
$result0 = mysql_query("SELECT * FROM home ");
$row0 = mysql_fetch_array($result0,MYSQL_ASSOC);
$result = mysql_query("SELECT * FROM sys_menu WHERE mpage = 'index' ");
$row = mysql_fetch_array($result,MYSQL_ASSOC);
?><!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 name="chinaz-site-verification" content="6a224742-2ff4-4dd3-b082-71f3a10855d0" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title><?=$row0{'metatitlesc'};?></title>
<meta name="keywords" content="<?=$row0{'metakeywordsc'};?>" />
<meta name="description" content="<?=$row0{'metadescsc'};?>" />
<link rel="stylesheet" type="text/css" href="../css/style.css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
<script type="text/javascript" src="../js/jquery.cycle.all.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('.banner').cycle({
fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
});
});
</script>
</head>
<body>
<div id="container">
<!-- Header -->
<?php require_once('header.php');?>
<!-- Main Content -->
<div id="body">
<div id="body_content-index">
<div class="banner"><?php // slideshow
$result3 = mysql_query("SELECT * FROM h_slideshow WHERE hsstatus = '1' ORDER BY hssort ASC ");
while ($row3 = mysql_fetch_array($result3,MYSQL_ASSOC)){
echo "<a href='".$row3{'hslinksc'}."'><img src='../slideshow/".$row3{'hsimgsc'}."' width='900' height='350' /></a>";
}?></div>
<div id="h-table"><table width="900" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="h-news"><?php // Home News
$result3 = mysql_query("SELECT * FROM h_news WHERE hnewsstatus = '1' ORDER BY hnewssort ASC ");
$row3 = mysql_fetch_array($result3,MYSQL_ASSOC);
echo $row3{'hnewsdate'}.' '. $row3{'hnewstitlesc'}.'... <a href="'.$row3{'hnewslinksc'}.'">[更多]</a>';?></td>
</tr>
<tr>
<td><?php // Home adv
$result3 = mysql_query("SELECT * FROM h_adv WHERE hadvstatus = '1' ORDER BY hadvsort ASC ");
$a=1;
while ($row3 = mysql_fetch_array($result3,MYSQL_ASSOC)){
if ($a == '3') {
$class = "advlist2";
} else {
$class = "advlist";
}
echo '<div class="'.$class.'" align="left"><a href="'.$row3{'hadvlinksc'}.'"><img src="../adv/'.$row3{'hadvimgsc'}.'" width="280" height="150" /></a><br />
<b>'.$row3{'hadvtitlesc'}.'</b><div style="float:right;display:inline;"><a href="'.$row3{'hadvlinksc'}.'">[更多]</a></div></div>';
$a++;
}?></td>
</tr>
<tr>
<td class="h-isolist"><?php // Home Brand
$result3 = mysql_query("SELECT * FROM h_brand WHERE hbrandstatus = '1' ORDER BY hbrandsort ASC ");
while ($row3 = mysql_fetch_array($result3,MYSQL_ASSOC)){
echo "<a href='".$row3{'hbrandlinksc'}."'><img src='../brand/".$row3{'hbrandimgsc'}."' /></a>";
}?></td>
</tr>
</table></div>
</div>
</div>
<!-- Footer -->
<?php require_once('footer.php');?>
</div>
</body>
</html>