/var/www/(Del)skdb.hk/index.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php 
require("configure.php");
$catid = (int)$_GET['catid'];
$pid   = (int)$_GET['pid']; 

?>
<html>
<head>
<title>SK Dragon Boat</title>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="main.css" type="text/css">
<meta name="description" content="SK Dragon Boat">
<meta name="keywords" content="SK Dragon Boat">
<meta name="ROBOTS" content="ALL">
<meta name="distribution" content="香港,Hong Kong">
<meta name="copyright" content="One Solution Limited">
<meta name="rating" content="general">
<meta name="WEBCRAWLERS" content="ALL">
<meta name="SPIDERS" content="ALL">
<meta name="REVISIT-AFTER" content="7 DAYS">
<META NAME="Generator" CONTENT="Microsoft FrontPage 5.0">
<META NAME="author" CONTENT="One Solution Limited">


</head>
<?php
$sql 
"SELECT * ";
$sql .= "FROM categories ";
$sql .= "order by sortby asc ";
$result1 mysql_query($sql);
$row mysql_fetch_array($result1,MYSQL_ASSOC);

if(
$row{'link'} == '') {
    
$str "template1.php?pid=".$row{'catid'}."&catid="$row{'catid'} ."";
} else {
    
$str $row{'link'};
}    
?>
<frameset rows="*" cols="*" frameborder="no" border="0" framespacing="0" scrolling="yes" >
<frame src="<?php echo $str?>" name="banner" scrolling="yes" noresize="noresize" id="topFrame" title="banner" />
</frameset>

</html>