| 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)yunfung.com.hk/en/ |
Upload File : |
<?php
require("configure.php");
?>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=big5" />
<link rel="stylesheet" href="style.css">
<script type="text/javascript" src="flash/objectSwap.js"></script>
</head>
<body bgcolor="#CFCEE1" LEFTMARGIN="0" TOPMARGIN="0" style="background-repeat:repeat-x" background="image/page_bg.png">
<table width="800" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="800" height="265"><?php require("header.php"); ?></td>
</tr>
<tr>
<td style="padding-top:10;padding-bottom:20"><table width="800" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="566"><img src="image/page_title_line.gif" width="566" height="60"></td>
<td width="234" valign="middle" class="title">News </td>
</tr>
</table></td>
</tr>
<tr>
<td align="left" valign="top"><table width="800" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="180" align="left" valign="top" style="padding-top:20"> </td>
<td width="620" height="400" align="right" valign="top"><table width="600" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="subtitle">Coming Event / Trade Show </td>
</tr>
<tr>
<td>
<table width="600" border="0" cellpadding="0" cellspacing="0">
<?php
$sql = "SELECT * ";
$sql .= "FROM news ";
$result = mysql_query($sql);
//$x=1;
while ($row = mysql_fetch_array($result,MYSQL_ASSOC))
{
echo "<tr><td style='padding-top:10;padding-bottom:10'>";
echo "<p class='news-title'>".$row{'newstitle'}."</p>";
echo "<p class='news-content'>";
echo "<strong>Date:</strong>".$row{'newsDate'}."<br>";
echo "<strong>Venue:</strong>". str_replace("\r", '', preg_replace( "/\n/", "<br>", $row{'newsvenue'} )) . "<br>";
echo "<strong>Booth No:</strong>". str_replace("\r", '', preg_replace( "/\n/", "<br>", $row{'newsbooth'} )) . "</p>";
echo "</td></tr>";
echo "<tr>";
echo "<td background='image/sub_menu_line.gif'><img src='image/sub_menu_line.gif' width='180' height='7'></td>";
echo "</tr>";
}
?>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="45" align="right"><p class="footer">Copyright © 2009 Yun Fung Metal Industrial Limited. All Rights reserved. </p>
</td>
</tr>
</table>
</body>
</html>