/var/www/airchats.com.hk/en/news_more.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?php require_once('../webadmin/configure.php');?>
<!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" />
<?php //SEO 
    
$result1 mysql_query("SELECT * FROM seo WHERE pagepath = 'News' ");
    
$row1 mysql_fetch_array($result1,MYSQL_ASSOC);    
?>
<title><?=$row1{'seotitle'};?></title>
<meta name="keywords" content="<?=$row1{'seokey'};?>">
<meta name="description" content="<?=$row1{'seodesc'};?>" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<style type="text/css">
<!--
body {
    margin: 0px;
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    background-color:#FFFFFF;
    position: relative;
    scrollbar-base-color: #666666;
    scrollbar-arrow-color: #000000;
    scrollbar-3dlight-color: #FCFCFC;
    scrollbar-darkshadow-color: #333333;
    scrollbar-face-color: #E8E8E8;
    scrollbar-highlight-color: #CCCCCC;
    scrollbar-shadow-color: #CCCCCC;
    scrollbar-track-color: #F2F2F2;
}
.aboutusmore { 
  font-family: Arial;
  font-size: 12px;
  color: #000000;
  text-decoration: none;
  padding:10px;
  background-color:#FFFFFF;
}
.title {
    font-family: "Times New Roman";
    font-size: 24px;
    color: #DEB408;
    text-decoration: none;
    font-style:italic;
}
.date{
    font-family: Arial;
    font-size: 12px;
    color: #999999;
    text-decoration: none;
}
-->
</style>
</head>
<body>
<?php
    
if(empty($_GET["newsid"])){
        
$result1 mysql_query("SELECT * FROM news ORDER BY newsdate DESC, newsid DESC ");
    } else {
        
$newsid = (int)$_GET['newsid'];
        
$result1 mysql_query("SELECT * FROM news WHERE newsid = ".$newsid." ORDER BY newsdate DESC, newsid DESC ");
    }
    
$row1 mysql_fetch_array($result1,MYSQL_ASSOC);
    
    
$y substr($row1{'newsdate'}, 04);
    
$m substr($row1{'newsdate'}, 52);
    
$d substr($row1{'newsdate'}, 82);
    
$monthname = array( => 'Jan''Feb''Mar''Apr''May''Jun''Jul''Aug''Sep''Oct''Nov''Dec' );
?>
<table width="720" border="0" align="center" cellpadding="0" cellspacing="0" >
  <tr>
    <td width="720" align="left" valign="top" class="aboutusmore"><span class="title"><?=$row1{'newstitle'};?></span><br />
    <span class="date"><?=$d ." "$monthname[$m*1] ." "$y;?></span><br /><br />
    <?=$row1{'newsdesc'};?></td>
  </tr>
</table>

</body>
</html>