Mã:
<? ob_start()?>
<?php require_once('Connections/ketbanx.php'); ?><?php
//MX Widgets3 include
require_once('includes/wdg/WDG.php');
// Load the common classes
require_once('includes/common/KT_common.php');
// Load the tNG classes
require_once('includes/tng/tNG.inc.php');
// Make a transaction dispatcher instance
$tNGs = new tNG_dispatcher("");
// Make unified connection variable
$conn_ketbanx = new KT_connection($ketbanx, $database_ketbanx);
?><?php require_once('Connections/ketbanx.php'); ?>
<?php
//start Trigger_CheckPasswords trigger
//remove this line if you want to edit the code by hand
function Trigger_CheckPasswords(&$tNG) {
$myThrowError = new tNG_ThrowError($tNG);
$myThrowError->setErrorMsg("Passwords do not match.");
$myThrowError->setField("Password");
$myThrowError->setFieldErrorMsg("The two passwords do not match.");
return $myThrowError->Execute();
}
//end Trigger_CheckPasswords trigger
//start Trigger_CheckPasswords1 trigger
//remove this line if you want to edit the code by hand
function Trigger_CheckPasswords1(&$tNG) {
$myThrowError = new tNG_ThrowError($tNG);
$myThrowError->setErrorMsg("Passwords do not match.");
$myThrowError->setField("Password");
$myThrowError->setFieldErrorMsg("The two passwords do not match.");
return $myThrowError->Execute();
}
//end Trigger_CheckPasswords1 trigger
//start Trigger_CheckPasswords2 trigger
//remove this line if you want to edit the code by hand
function Trigger_CheckPasswords2(&$tNG) {
$myThrowError = new tNG_ThrowError($tNG);
$myThrowError->setErrorMsg("Passwords do not match.");
$myThrowError->setField("Password");
$myThrowError->setFieldErrorMsg("The two passwords do not match.");
return $myThrowError->Execute();
}
//end Trigger_CheckPasswords2 trigger
//start Trigger_CheckPasswords3 trigger
//remove this line if you want to edit the code by hand
function Trigger_CheckPasswords3(&$tNG) {
$myThrowError = new tNG_ThrowError($tNG);
$myThrowError->setErrorMsg("Passwords do not match.");
$myThrowError->setField("Password");
$myThrowError->setFieldErrorMsg("The two passwords do not match.");
return $myThrowError->Execute();
}
//end Trigger_CheckPasswords3 trigger
//start Trigger_CheckPasswords4 trigger
//remove this line if you want to edit the code by hand
function Trigger_CheckPasswords4(&$tNG) {
$myThrowError = new tNG_ThrowError($tNG);
$myThrowError->setErrorMsg("Passwords do not match.");
$myThrowError->setField("Password");
$myThrowError->setFieldErrorMsg("The two passwords do not match.");
return $myThrowError->Execute();
}
//end Trigger_CheckPasswords4 trigger
//start Trigger_CheckPasswords5 trigger
//remove this line if you want to edit the code by hand
function Trigger_CheckPasswords5(&$tNG) {
$myThrowError = new tNG_ThrowError($tNG);
$myThrowError->setErrorMsg("Passwords do not match.");
$myThrowError->setField("Password");
$myThrowError->setFieldErrorMsg("The two passwords do not match.");
return $myThrowError->Execute();
}
//end Trigger_CheckPasswords5 trigger
// Start trigger
$formValidation = new tNG_FormValidation();
$formValidation->addField("Username", true, "text", "", "", "", "Xin vui Lòng Nhập userName");
$formValidation->addField("Password", true, "text", "", "", "", "Xin vui lòng nhập password");
$formValidation->addField("hovatendem", true, "text", "", "", "", "Mời bạn Nhập họ và tên đệm");
$formValidation->addField("ten", true, "text", "", "", "", "Xin vui lòng nhập tên");
$formValidation->addField("gioitinh", true, "numeric", "", "", "", "Xin chọn giới Tính");
$formValidation->addField("tinhthanh", true, "numeric", "", "", "", "Hãy chọn tỉnh thành nơi bạn đang ở");
$formValidation->addField("email", true, "text", "email", "", "", "Xin vui lòng nhập email");
$formValidation->addField("sodt", false, "numeric", "int", "", "", "");
$formValidation->addField("yahoo", true, "text", "", "", "", "Xin vui lòng nhập yahoo");
$formValidation->addField("pic1", true, "text", "", "", "", "Xin vui lòng upload ảnh cá nhân");
$formValidation->addField("nghenghiep", true, "text", "", "", "", "Xin vui lòng nhập nghề nghiệp");
$formValidation->addField("gioithieu", true, "text", "", "", "", "Hãy giới thiệu đôi điều về bạn");
$formValidation->addField("ngaysinh", true, "date", "date", "", "", "Xin vui lòng nhập ngày sinh");
$formValidation->addField("Nguoicantim", true, "text", "", "", "", "Vui lòng nhập người cần tìm");
$formValidation->addField("ngaydangky", false, "date", "date", "", "", "");
$tNGs->prepareValidation($formValidation);
// End trigger
//start CheckCaptcha trigger
//remove this line if you want to edit the code by hand
function CheckCaptcha(&$tNG) {
$captcha = new tNG_Captcha("captcha_id_id", $tNG);
$captcha->setFormField("POST", "captcha_id");
$captcha->setErrorMsg("Xin vui lòng nhập mã bảo vệ");
return $captcha->Execute();
}
//end CheckCaptcha trigger
?>
<?php require_once('function.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
}
return $theValue;
}
}
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
}
return $theValue;
}
}
$currentPage = $_SERVER["PHP_SELF"];
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
}
return $theValue;
}
}
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
}
return $theValue;
}
}
mysql_select_db($database_ketbanx, $ketbanx);
$query_nhatkymoinhat = "SELECT * FROM nhatky ORDER BY idNK DESC";
$nhatkymoinhat = mysql_query($query_nhatkymoinhat, $ketbanx) or die(mysql_error());
$row_nhatkymoinhat = mysql_fetch_assoc($nhatkymoinhat);
$totalRows_nhatkymoinhat = mysql_num_rows($nhatkymoinhat);
$maxRows_use = 5;
$pageNum_use = 0;
if (isset($_GET['pageNum_use'])) {
$pageNum_use = $_GET['pageNum_use'];
}
$startRow_use = $pageNum_use * $maxRows_use;
mysql_select_db($database_ketbanx, $ketbanx);
$query_use = "SELECT * FROM `user`,gioitinh,tinhthanh WHERE gioitinh.id=user.gioitinh and tinhthanh.id=user.tinhthanh ORDER BY solanxem DESC";
$query_limit_use = sprintf("%s LIMIT %d, %d", $query_use, $startRow_use, $maxRows_use);
$use = mysql_query($query_limit_use, $ketbanx) or die(mysql_error());
$row_use = mysql_fetch_assoc($use);
if (isset($_GET['totalRows_use'])) {
$totalRows_use = $_GET['totalRows_use'];
} else {
$all_use = mysql_query($query_use);
$totalRows_use = mysql_num_rows($all_use);
}
$totalPages_use = ceil($totalRows_use/$maxRows_use)-1;
$maxRows_thanhvienmoi = 10;
$pageNum_thanhvienmoi = 0;
if (isset($_GET['pageNum_thanhvienmoi'])) {
$pageNum_thanhvienmoi = $_GET['pageNum_thanhvienmoi'];
}
$startRow_thanhvienmoi = $pageNum_thanhvienmoi * $maxRows_thanhvienmoi;
mysql_select_db($database_ketbanx, $ketbanx);
$query_thanhvienmoi = "SELECT * FROM `user`,tinhthanh WHERE tinhthanh.id=user.tinhthanh and iduser ORDER BY iduser DESC";
$query_limit_thanhvienmoi = sprintf("%s LIMIT %d, %d", $query_thanhvienmoi, $startRow_thanhvienmoi, $maxRows_thanhvienmoi);
$thanhvienmoi = mysql_query($query_limit_thanhvienmoi, $ketbanx) or die(mysql_error());
$row_thanhvienmoi = mysql_fetch_assoc($thanhvienmoi);
if (isset($_GET['totalRows_thanhvienmoi'])) {
$totalRows_thanhvienmoi = $_GET['totalRows_thanhvienmoi'];
} else {
$all_thanhvienmoi = mysql_query($query_thanhvienmoi);
$totalRows_thanhvienmoi = mysql_num_rows($all_thanhvienmoi);
}
$totalPages_thanhvienmoi = ceil($totalRows_thanhvienmoi/$maxRows_thanhvienmoi)-1;
$maxRows_truyenmoinhat = 10;
$pageNum_truyenmoinhat = 0;
if (isset($_GET['pageNum_truyenmoinhat'])) {
$pageNum_truyenmoinhat = $_GET['pageNum_truyenmoinhat'];
}
$startRow_truyenmoinhat = $pageNum_truyenmoinhat * $maxRows_truyenmoinhat;
mysql_select_db($database_ketbanx, $ketbanx);
$query_truyenmoinhat = "SELECT idTruyen, tieude FROM truyen ORDER BY idTruyen DESC";
$query_limit_truyenmoinhat = sprintf("%s LIMIT %d, %d", $query_truyenmoinhat, $startRow_truyenmoinhat, $maxRows_truyenmoinhat);
$truyenmoinhat = mysql_query($query_limit_truyenmoinhat, $ketbanx) or die(mysql_error());
$row_truyenmoinhat = mysql_fetch_assoc($truyenmoinhat);
if (isset($_GET['totalRows_truyenmoinhat'])) {
$totalRows_truyenmoinhat = $_GET['totalRows_truyenmoinhat'];
} else {
$all_truyenmoinhat = mysql_query($query_truyenmoinhat);
$totalRows_truyenmoinhat = mysql_num_rows($all_truyenmoinhat);
}
$totalPages_truyenmoinhat = ceil($totalRows_truyenmoinhat/$maxRows_truyenmoinhat)-1;
$maxRows_nhatkymoinhat1 = 5;
$pageNum_nhatkymoinhat1 = 0;
if (isset($_GET['pageNum_nhatkymoinhat1'])) {
$pageNum_nhatkymoinhat1 = $_GET['pageNum_nhatkymoinhat1'];
}
$startRow_nhatkymoinhat1 = $pageNum_nhatkymoinhat1 * $maxRows_nhatkymoinhat1;
mysql_select_db($database_ketbanx, $ketbanx);
$query_nhatkymoinhat1 = "SELECT * FROM nhatky ORDER BY idNK DESC";
$query_limit_nhatkymoinhat1 = sprintf("%s LIMIT %d, %d", $query_nhatkymoinhat1, $startRow_nhatkymoinhat1, $maxRows_nhatkymoinhat1);
$nhatkymoinhat1 = mysql_query($query_limit_nhatkymoinhat1, $ketbanx) or die(mysql_error());
$row_nhatkymoinhat1 = mysql_fetch_assoc($nhatkymoinhat1);
if (isset($_GET['totalRows_nhatkymoinhat1'])) {
$totalRows_nhatkymoinhat1 = $_GET['totalRows_nhatkymoinhat1'];
} else {
$all_nhatkymoinhat1 = mysql_query($query_nhatkymoinhat1);
$totalRows_nhatkymoinhat1 = mysql_num_rows($all_nhatkymoinhat1);
}
$totalPages_nhatkymoinhat1 = ceil($totalRows_nhatkymoinhat1/$maxRows_nhatkymoinhat1)-1;
mysql_select_db($database_ketbanx, $ketbanx);
$query_binhchon = "SELECT idbc, mota FROM binhchon order by rand() limit 0, 1 ";
$binhchon = mysql_query($query_binhchon, $ketbanx) or die(mysql_error());
$row_binhchon = mysql_fetch_assoc($binhchon);
$totalRows_binhchon = mysql_num_rows($binhchon);
$colname_phuongan = "-1";
if (isset($row_binhchon['idbc'])) {
$colname_phuongan = $row_binhchon['idbc'];
}
mysql_select_db($database_ketbanx, $ketbanx);
$query_phuongan = sprintf("SELECT idpa, mota FROM mota where idbc=%s", GetSQLValueString($colname_phuongan, "int"));
$phuongan = mysql_query($query_phuongan, $ketbanx) or die(mysql_error());
$row_phuongan = mysql_fetch_assoc($phuongan);
$totalRows_phuongan = mysql_num_rows($phuongan);
mysql_select_db($database_ketbanx, $ketbanx);
$query_commen = "SELECT * FROM comentnk";
$commen = mysql_query($query_commen, $ketbanx) or die(mysql_error());
$row_commen = mysql_fetch_assoc($commen);
$totalRows_commen = mysql_num_rows($commen);
mysql_select_db($database_ketbanx, $ketbanx);
$query_tinhthanh4 = "SELECT * FROM tinhthanh";
$tinhthanh4 = mysql_query($query_tinhthanh4, $ketbanx) or die(mysql_error());
$row_tinhthanh4 = mysql_fetch_assoc($tinhthanh4);
$totalRows_tinhthanh4 = mysql_num_rows($tinhthanh4);
mysql_select_db($database_ketbanx, $ketbanx);
$query_tinhthanh5 = "SELECT * FROM tinhthanh";
$tinhthanh5 = mysql_query($query_tinhthanh5, $ketbanx) or die(mysql_error());
$row_tinhthanh5 = mysql_fetch_assoc($tinhthanh5);
$totalRows_tinhthanh5 = mysql_num_rows($tinhthanh5);
mysql_select_db($database_ketbanx, $ketbanx);
$query_tinhthanh6 = "SELECT * FROM tinhthanh";
$tinhthanh6 = mysql_query($query_tinhthanh6, $ketbanx) or die(mysql_error());
$row_tinhthanh6 = mysql_fetch_assoc($tinhthanh6);
$totalRows_tinhthanh6 = mysql_num_rows($tinhthanh6);
mysql_select_db($database_ketbanx, $ketbanx);
$query_tinhthanh7 = "SELECT * FROM tinhthanh";
$tinhthanh7 = mysql_query($query_tinhthanh7, $ketbanx) or die(mysql_error());
$row_tinhthanh7 = mysql_fetch_assoc($tinhthanh7);
$totalRows_tinhthanh7 = mysql_num_rows($tinhthanh7);
mysql_select_db($database_ketbanx, $ketbanx);
$query_tinhthanh8 = "SELECT * FROM tinhthanh";
$tinhthanh8 = mysql_query($query_tinhthanh8, $ketbanx) or die(mysql_error());
$row_tinhthanh8 = mysql_fetch_assoc($tinhthanh8);
$totalRows_tinhthanh8 = mysql_num_rows($tinhthanh8);
mysql_select_db($database_ketbanx, $ketbanx);
$query_tinhthanh9 = "SELECT * FROM tinhthanh";
$tinhthanh9 = mysql_query($query_tinhthanh9, $ketbanx) or die(mysql_error());
$row_tinhthanh9 = mysql_fetch_assoc($tinhthanh9);
$totalRows_tinhthanh9 = mysql_num_rows($tinhthanh9);
// Make an insert transaction instance
$ins__user_ = new tNG_insert($conn_ketbanx);
$tNGs->addTransaction($ins__user_);
// Register triggers
$ins__user_->registerTrigger("STARTER", "Trigger_Default_Starter", 1, "POST", "KT_Insert1");
$ins__user_->registerTrigger("BEFORE", "Trigger_Default_FormValidation", 10, $formValidation);
$ins__user_->registerTrigger("END", "Trigger_Default_Redirect", 99, "index.php");
$ins__user_->registerConditionalTrigger("{POST.Password} != {POST.re_Password}", "BEFORE", "Trigger_CheckPasswords5", 50);
$ins__user_->registerTrigger("BEFORE", "CheckCaptcha", 10);
// Add columns
$ins__user_->setTable("`user`");
$ins__user_->addColumn("Username", "STRING_TYPE", "POST", "Username");
$ins__user_->addColumn("Password", "STRING_TYPE", "POST", "Password");
$ins__user_->addColumn("hovatendem", "STRING_TYPE", "POST", "hovatendem");
$ins__user_->addColumn("ten", "STRING_TYPE", "POST", "ten");
$ins__user_->addColumn("gioitinh", "NUMERIC_TYPE", "POST", "gioitinh");
$ins__user_->addColumn("tinhthanh", "NUMERIC_TYPE", "POST", "tinhthanh");
$ins__user_->addColumn("email", "STRING_TYPE", "POST", "email");
$ins__user_->addColumn("sodt", "NUMERIC_TYPE", "POST", "sodt");
$ins__user_->addColumn("yahoo", "STRING_TYPE", "POST", "yahoo");
$ins__user_->addColumn("chieucao", "NUMERIC_TYPE", "POST", "chieucao");
$ins__user_->addColumn("cannang", "NUMERIC_TYPE", "POST", "cannang");
$ins__user_->addColumn("pic1", "STRING_TYPE", "POST", "pic1");
$ins__user_->addColumn("nghenghiep", "STRING_TYPE", "POST", "nghenghiep");
$ins__user_->addColumn("gioithieu", "STRING_TYPE", "POST", "gioithieu");
$ins__user_->addColumn("ngaysinh", "DATE_TYPE", "POST", "ngaysinh");
$ins__user_->addColumn("Nguoicantim", "STRING_TYPE", "POST", "Nguoicantim");
$ins__user_->addColumn("ngaydangky", "DATE_TYPE", "POST", "ngaydangky");
$ins__user_->setPrimaryKey("iduser", "NUMERIC_TYPE");
// Execute all the registered transactions
$tNGs->executeTransactions();
// Get the transaction recordset
$rs_user_ = $tNGs->getRecordset("`user`");
$row_rs_user_ = mysql_fetch_assoc($rs_user_);
$totalRows_rs_user_ = mysql_num_rows($rs_user_);
// Captcha Image
$captcha_id_obj = new KT_CaptchaImage("captcha_id_id");
$queryString_thanhvienmoi = "";
if (!empty($_SERVER['QUERY_STRING'])) {
$params = explode("&", $_SERVER['QUERY_STRING']);
$newParams = array();
foreach ($params as $param) {
if (stristr($param, "pageNum_thanhvienmoi") == false &&
stristr($param, "totalRows_thanhvienmoi") == false) {
array_push($newParams, $param);
}
}
if (count($newParams) != 0) {
$queryString_thanhvienmoi = "&" . htmlentities(implode("&", $newParams));
}
}
$queryString_thanhvienmoi = sprintf("&totalRows_thanhvienmoi=%d%s", $totalRows_thanhvienmoi, $queryString_thanhvienmoi);
?>
<?php
// *** Validate request to login to this site.
if (!isset($_SESSION)) {
session_start();
}
$loginFormAction = $_SERVER['PHP_SELF'];
if (isset($_GET['accesscheck'])) {
$_SESSION['PrevUrl'] = $_GET['accesscheck'];
}
if (isset($_POST['u'])) {
$loginUsername=$_POST['u'];
$password=$_POST['p'];
$MM_fldUserAuthorization = "";
$MM_redirectLoginSuccess = "index.php";
$MM_redirectLoginFailed = "baoloi.php";
$MM_redirecttoReferrer = true;
mysql_select_db($database_ketbanx, $ketbanx);
$LoginRS__query=sprintf("SELECT Username, Password FROM `user` WHERE Username=%s AND Password=%s",
GetSQLValueString($loginUsername, "text"), GetSQLValueString($password, "text"));
$LoginRS = mysql_query($LoginRS__query, $ketbanx) or die(mysql_error());
$loginFoundUser = mysql_num_rows($LoginRS);
if ($loginFoundUser) {
$loginStrGroup = "";
//declare two session variables and assign them
$_SESSION['MM_Username'] = $loginUsername;
$_SESSION['MM_UserGroup'] = $loginStrGroup;
if (isset($_SESSION['PrevUrl']) && true) {
$MM_redirectLoginSuccess = $_SESSION['PrevUrl'];
}
header("Location: " . $MM_redirectLoginSuccess );
}
else {
header("Location: ". $MM_redirectLoginFailed );
}
}
?>
<html xmlns:wdg="http://ns.adobe.com/addt">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="keywords" content="" />
<link rel="stylesheet" type="text/css" href="css/default.css" />
<title>Ket Ban Online | VanNho.VN</title>
<style type="text/css">
<!--
.style1 {
color: #339933;
font-weight: bold;
}
.style7 {font-size: 14}
-->
</style>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script><link href="includes/skins/mxkollection3.css" rel="stylesheet" type="text/css" media="all" /><script src="includes/common/js/base.js" type="text/javascript"></script><script src="includes/common/js/utility.js" type="text/javascript"></script><script src="includes/skins/style.js" type="text/javascript"></script><?php echo $tNGs->displayValidationRules();?>
<script type="text/javascript" src="includes/common/js/sigslot_core.js"></script>
<script type="text/javascript" src="includes/wdg/classes/MXWidgets.js"></script>
<script type="text/javascript" src="viettyping"></script>
<script type="text/javascript" src="includes/wdg/classes/Calendar.js"></script>
<script type="text/javascript" src="includes/wdg/classes/SmartDate.js"></script>
<script type="text/javascript" src="includes/wdg/calendar/calendar_stripped.js"></script>
<script type="text/javascript" src="includes/wdg/calendar/calendar-setup_stripped.js"></script>
<script src="includes/resources/calendar.js"></script>
<script type="text/javascript" src="includes/wdg/classes/MXWidgets.js.php"></script>
</head>
<body>
<center>
<div style="width:1000px; background-image: url('/iepngfix/checkerboard.gif')" align="center">
<table style="width:100%; border-collapse: collapse; border: 0px">
<tr>
<td style="padding: 0" colspan="3" bgcolor="#b6ea72">
<img border="0" src="images/top.gif" height="24" width="1000px"></td>
</tr>
<tr>
<td bgcolor="#7CBB44" width='1px'>
<td valign=top bgcolor="white" style="width:998px">
<table border="0" style="border-collapse: collapse" width="100%" id="table13" height="72">
<tr>
<td style="padding-left: 15px; padding-right: 0; padding-top: 0; padding-bottom: 0">
<a href="/"><img border="0" src="images/logo.jpg" width="291" height="59"></a></td>
<td align=center style="padding-left: 0; padding-right: 15px; padding-top: 0; padding-bottom: 0">
<!--Banner-->
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0','width','660','height','82','src','images/SlideShow','quality','high','wmode','transparent','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','images/SlideShow' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="660" height="82">
<param name="movie" value="images/SlideShow.swf">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<embed src="images/SlideShow.swf" quality="high" wmode=transparent pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="660" height="82"></embed></object></noscript>
<!--Banner-->
</td>
</tr>
</table>
<table border="0" style="border-collapse: collapse" width="100%" id="table14" height="5">
<tr>
<td style="padding: 0"></td>
</tr>
</table>
<table border="0" style="border-collapse: collapse" width="100%" id="table1" height="32">
<tr>
<td style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; border-bottom: 1px solid #84B615; padding: 0" width="209" valign="bottom"> </td>
<td style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; border-bottom: 1px solid #84B615; padding: 0" valign="bottom">
<table border="0" style="border-collapse: collapse" width="500px" id="table2">
<tr>
<td style="padding: 0" width="8">
<img border="0" src="images/leftCmenu.gif" width="8" height="30"></td>
<td style="padding-left: 10px; padding-right: 10px; padding-top: 0; padding-bottom: 6px" background="images/bgcmenu.gif" valign="bottom"><a href="index.php"><font color="#2A4903" face="Tahoma">Home</font></a></td>
<td style="padding: 0" width="8">
<img border="0" src="images/rightCmenu.gif" width="8" height="30"></td>
<td style="padding: 0" width="8">
<img border="0" src="images/leftCmenu.gif" width="8" height="30"></td>
<td style="padding-left: 10px; padding-right: 10px; padding-top: 0; padding-bottom: 6px" background="images/bgcmenu.gif" valign="bottom"><a href="ketban.php"><font color="#2A4903" face="Tahoma">Kết Bạn</font></a></td>
<td style="padding: 0" width="8">
<img border="0" src="images/rightCmenu.gif" width="8" height="30"></td>
<td style="padding: 0" width="8">
<img border="0" src="images/leftCmenu.gif" width="8" height="30"></td>
<td style="padding-left: 10px; padding-right: 10px; padding-top: 0; padding-bottom: 6px" background="images/bgcmenu.gif" valign="bottom"><a href="nhatky.php">Nhật Ký </a></td>
<td style="padding: 0" width="8">
<img border="0" src="images/rightCmenu.gif" width="8" height="30"></td>
<td style="padding: 0" width="8">
<img border="0" src="images/leftCmenu.gif" width="8" height="30"></td>
<td style="padding-left: 10px; padding-right: 10px; padding-top: 0; padding-bottom: 6px" background="images/bgcmenu.gif" valign="bottom"><font color="#2A4903" face="Tahoma"><a href="truyen.php">Truyện</a></font></td>
<td style="padding: 0" width="8">
<img border="0" src="images/rightCmenu.gif" width="8" height="30"></td>
<td style="padding: 0" width="8">
<img border="0" src="images/leftCmenu.gif" width="8" height="30"></td>
<td style="padding-left: 10px; padding-right: 10px; padding-top: 0; padding-bottom: 6px" background="images/bgcmenu.gif" valign="bottom"><font color="#2A4903" face="Tahoma"><a href="http://phim.vannho.vn">Phim</a></font></td>
<td style="padding: 0" width="8">
<img border="0" src="images/rightCmenu.gif" width="8" height="30"></td>
<td style="padding: 0" width="8">
<img border="0" src="images/leftCmenu.gif" width="8" height="30"></td>
<td style="padding-left: 10px; padding-right: 10px; padding-top: 0; padding-bottom: 6px" background="images/bgcmenu.gif" valign="bottom">
<a href="http://nhac.vannho.vn">Nhạc</a> </td>
<td style="padding: 0" width="8">
<img border="0" src="images/rightCmenu.gif" width="8" height="30"></td
></tr>
<td></td>
</table>
</td>
<td style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; border-bottom: 1px solid #84B615; padding: 0">
</td>
</tr>
</table>
<table border="0" style="border-collapse: collapse" width="100%" id="table3" height="6">
<tr>
<td style="padding: 0" bgcolor="#F0FECF"></td>
</tr>
</table>
<!--Het phan top header-->
<table bgcolor="#FFFFFF" class="commontable">
<tr>
<td height="1046" valign="top" style="width:210px">
<!--Phan ben trai -->
<!--Phan danh muc truong-->
<table border="0" style="border-collapse: collapse" width="100%">
<tr>
<td height="210" width="3" style="padding: 0"></td>
<td height="210" width="5" style="padding: 0">
<img border="0" src="images/h_leftLogin.gif" width="5" height="210"></td>
<td height="210" style="padding: 0" background="images/h_mLogin.gif">
<form action="<?php echo $loginFormAction; ?>" method="POST" name="dangnhap" id="dangnhap" style="word-spacing: 0; margin: 0; width: 100%" onSubmit="return CheckdataLoginLeftHome(this)">
<? if (isset($_SESSION['MM_Username'])==true) { ?>
<? include 'hienuserlogin.php';?>
<? } else { ?>
<table border="0" style="border-collapse: collapse" width="100%" height="100%">
<tr>
<td>
<table border="0" style="border-collapse: collapse" width="100%" id="table71" height="98">
<tr>
<td style="padding-left: 5px; padding-right: 5px">
<font face="Tahoma" style="font-size: 8pt" color="#2A4903">
Tên ***273;***259;ng nh***7853;p:</font></td>
</tr>
<tr>
<td style="padding-left: 5px; padding-right: 5px">
<input name="u" type="text" id="u" style="width: 100%; font-family: Tahoma; font-size: 9pt" size="20"></td>
</tr>
<tr>
<td style="padding-left: 5px; padding-right: 5px">
<font face="Tahoma" style="font-size: 8pt" color="#2A4903">
M***7853;t kh***7849;u:</font></td>
</tr>
<tr>
<td style="padding-left: 5px; padding-right: 5px"><input type="password" name="p" size="20" style="width: 100%; font-family: Tahoma; font-size: 9pt"></td>
</tr>
<tr>
<td style="padding-left: 5px; padding-right: 5px">
<p align="right">
<label>
<input type="submit" name="Đăng Nhập" id="Đăng Nhập" value="Đăng Nhập">
</label>
</td>
</tr>
</table>
<table border="0" style="border-collapse: collapse" width="100%" id="table72">
<tr>
<td style="padding-left: 20px">
<font face="Tahoma" style="font-size: 8pt; font-weight: 700" color="#2A4903">
<img border="0" src="images/Icon/8.gif" width="23" height="23" align="absmiddle">
<a href="quenmatkhau.php"><b>Quên mật khẩu</b></a></font></td>
</tr>
<tr>
<td style="padding-left: 20px">
<font face="Tahoma" style="font-size: 8pt; font-weight: 700" color="#2A4903">
<img border="0" src="images/Icon/9.gif" width="23" height="23" align="absmiddle">
<a href="dangky.php"><b>Đăng ký</b></a></font></td>
</tr>
</table> </td>
</tr>
</table>
<? } ?>
</form> </td>
<td height="210" width="5" style="padding: 0">
<img border="0" src="images/h_rightLogin.gif" width="5" height="210"></td>
<td height="210" width="3" style="padding: 0"></td>
</tr>
</table>
<!--Hết Login -->
<br />
<table width="100%" border="0" cellpadding="0" cellspacing="0" id="menutruyen">
<? $rsTL=mysql_query('select idTL,tentl from theloaitruyen order by thutu');
?>
<div style="float: left" id="my_menu" class="sdmenu">
<? while($motTL=mysql_fetch_assoc($rsTL)) { ?>
<div>
<span style="color:#000000"> <? echo $motTL['tentl']; ?> </span>
<? $rsLT=mysql_query("select idLT,ten from loaitruyen where idTL=".$motTL['idTL']); ?>
<? while($motLT=mysql_fetch_assoc($rsLT)){?>
<a href="loaitruyen.php?idLT=<?php echo $motLT['idLT']; ?>"><? echo $motLT['ten'];?> </a>
<? }?>
</div>
<? } ?>
</div>
</table>
<br>
<table id="truyenmoinhat" width="100%%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="35" align="center" background="Images/truyenmoinhatt.gif"><strong>Truyện Mới Nhất</strong></td>
</tr>
<tr>
<td><?php do { ?>
<table width="100%%" border="0" cellspacing="0" cellpadding="0" id="danhmuc">
<tr>
<td class="truyenmoinhat"><img src="Images/cham2.gif" width="12" height="12"><a href="noidungtruyen.php?idTruyen=<?php echo $row_truyenmoinhat['idTruyen']; ?>" class="style7"><?php echo $row_truyenmoinhat['tieude']; ?></a> </td>
</tr>
</table>
<?php } while ($row_truyenmoinhat = mysql_fetch_assoc($truyenmoinhat)); ?></td>
</tr>
</table>
<br>
<table id="truyenmoinhat" width="100%%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="35" align="center" background="Images/binhchon.gif"><strong>Bình Chọn</strong></td>
</tr>
<tr>
<td><form action="kqbc.php" method="post" name="form1" target="_blank">
<table id="danhmuc" width="100%%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top"><?php echo $row_binhchon['mota']; ?>
<label>
<input name="idbc" type="hidden" id="idbc" value="<?php echo $row_binhchon['idbc']; ?>">
</label></td>
</tr>
<?php do { ?>
<tr>
<td><label>
<input type="radio" name="idpa" value="<?php echo $row_phuongan['idpa']; ?>" id="RadioGroup1_0">
<?php echo $row_phuongan['mota']; ?></label></td>
</tr>
<?php } while ($row_phuongan = mysql_fetch_assoc($phuongan)); ?>
<tr>
<td height="26"><input type="submit" name="Kết Qủa" id="Kết Qủa" value="Kết quả"></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<table id="truyenmoinhat" width="100%%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="35" align="center" background="Images/thongke.gif"><strong>Thống Kê</strong></td>
</tr>
<tr>
<td><table width="100%%" border="0" cellspacing="0" cellpadding="0" id="danhmuc">
<tr>
<td>Thành Viên : <?php echo $totalRows_use ?> </td>
</tr>
<tr>
<td>Truyện : <?php echo $totalRows_truyenmoinhat ?> </td>
</tr>
<tr>
<td>Nhật Ký : <?php echo $totalRows_nhatkymoinhat ?> </td>
</tr>
<tr>
<td>Comment : <?php echo $totalRows_commen ?> </td>
</tr>
<tr>
<td>Online : <? include("useronline/onlinesql.php"); ?></td>
</tr>
<tr>
<td>Hỗ Trợ : <A href=ymsgr:SendIM?Themxua_net><IMG src=http://opi.yahoo.com/online?u=Themxua_net border=0></img>Themxua_net</a></td>
</tr>
</table></td>
</tr>
</table>
<!--Het phan ben trai -->
</td>
<td style="width:2px">
<!--Tạo khoảng trống giữa bên trái và nội dung chính -->
</td>
<td valign="top">
<!-- Khoi ma lenh va doi tuong -->
<bgsound src="images/duoibongphuonghong.wma" loop="-1">
<!--Phan fooder-->
<table width="100%%" border="0" align="center" cellpadding="0" cellspacing="0" id="thanhvienhot1">
<tr>
<td height="34" align="center" background="Images/HeaderTD.gif"><strong>Đăng Ký</strong></td>
</tr>
<tr>
<td height="117" align="center" >
<?php
echo $tNGs->getErrorMsg();
?>
<form method="post" id="form2" action="<?php echo KT_escapeAttribute(KT_getFullUri()); ?>">
<table width="100%" border="1" cellpadding="2" cellspacing="0" bordercolor="#a6dd5d" id="dangky">
<tr>
<td width="15%" class="KT_th"><label for="Username">* Tên đăng nhập :</label></td>
<td width="37%"><input name="Username" type="text" id="Username" value="<?php echo KT_escapeAttribute($row_rs_user_['Username']); ?>" size="32" maxlength="32" />
<?php echo $tNGs->displayFieldHint("Username");?> <?php echo $tNGs->displayFieldError("`user`", "Username"); ?> </td>
<td width="48%"> Không quá 20 ký tự bao gồm chữ cái, chữ số và các ký tự đặc biệt</td>
</tr>
<tr>
<td class="KT_th"><label for="Password">* Mật khẩu:</label></td>
<td><input name="Password" type="password" id="Password" value="" size="32" maxlength="32" />
<?php echo $tNGs->displayFieldHint("Password");?> <?php echo $tNGs->displayFieldError("`user`", "Password"); ?> </td>
<td> Mật khẩu không ít hơn 6 ký tự và không dài quá 32 ký tự</td>
</tr>
<tr>
<td class="KT_th"><label for="re_Password">* Đánh lại mật khẩu:</label></td>
<td><input name="re_Password" type="password" id="re_Password" value="" size="32" maxlength="32" /></td>
<td> Mật khẩu không ít hơn 6 ký tự và không dài quá 32 ký tự</td>
</tr>
<tr>
<td class="KT_th"><label for="hovatendem">* Họ Và tên đệm:</label></td>
<td><input type="text" name="hovatendem" id="hovatendem" value="<?php echo KT_escapeAttribute($row_rs_user_['hovatendem']); ?>" size="32" />
<?php echo $tNGs->displayFieldHint("hovatendem");?> <?php echo $tNGs->displayFieldError("`user`", "hovatendem"); ?> </td>
<td> Không quá 20 ký tự và không chứa ký tự đặc biệt</td>
</tr>
<tr>
<td class="KT_th"><label for="ten">* Tên:</label></td>
<td><input type="text" name="ten" id="ten" value="<?php echo KT_escapeAttribute($row_rs_user_['ten']); ?>" size="32" />
<?php echo $tNGs->displayFieldHint("ten");?> <?php echo $tNGs->displayFieldError("`user`", "ten"); ?> </td>
<td> Không quá 20 ký tự và không chứa ký tự đặc biệt</td>
</tr>
<tr>
<td class="KT_th"><label for="gioitinh_1">* Giới Tính:</label></td>
<td><div>
<input <?php if (!(strcmp(KT_escapeAttribute($row_rs_user_['gioitinh']),"1"))) {echo "CHECKED";} ?> type="radio" name="gioitinh" id="gioitinh_1" value="1" />
<label for="gioitinh_1">Nam</label>
</div>
<div>
<input <?php if (!(strcmp(KT_escapeAttribute($row_rs_user_['gioitinh']),"2"))) {echo "CHECKED";} ?> type="radio" name="gioitinh" id="gioitinh_2" value="2" />
<label for="gioitinh_2">Nữ</label>
</div>
<?php echo $tNGs->displayFieldError("`user`", "gioitinh"); ?> </td>
<td> Hãy chọn giới tính của bạn</td>
</tr>
<tr>
<td class="KT_th"><label for="tinhthanh">* Tỉnh Thành:</label></td>
<td><select name="tinhthanh" id="tinhthanh">
<?php
do {
?>
<option value="<?php echo $row_tinhthanh9['id']?>"<?php if (!(strcmp($row_tinhthanh9['id'], $row_rs_user_['tinhthanh']))) {echo "SELECTED";} ?>><?php echo $row_tinhthanh9['tinhthanh']?></option>
<?php
} while ($row_tinhthanh9 = mysql_fetch_assoc($tinhthanh9));
$rows = mysql_num_rows($tinhthanh9);
if($rows > 0) {
mysql_data_seek($tinhthanh9, 0);
$row_tinhthanh9 = mysql_fetch_assoc($tinhthanh9);
}
?>
</select>
<?php echo $tNGs->displayFieldError("`user`", "tinhthanh"); ?> </td>
<td> Hãy nhập tỉnh thành bạn đang sống</td>
</tr>
<tr>
<td class="KT_th"><label for="email">* Email:</label></td>
<td><input type="text" name="email" id="email" value="<?php echo KT_escapeAttribute($row_rs_user_['email']); ?>" size="32" />
<?php echo $tNGs->displayFieldHint("email");?> <?php echo $tNGs->displayFieldError("`user`", "email"); ?> </td>
<td> Một địa chỉ email thực để đăng nhập, nhận thư, đổi mật khẩu</td>
</tr>
<tr>
<td class="KT_th"><label for="sodt">* Số Điện Thoại:</label></td>
<td><input type="text" name="sodt" id="sodt" value="<?php echo KT_escapeAttribute($row_rs_user_['sodt']); ?>" size="32" />
<?php echo $tNGs->displayFieldHint("sodt");?> <?php echo $tNGs->displayFieldError("`user`", "sodt"); ?> </td>
<td> Hãy nhập số điện thoại của bạn</td>
</tr>
<tr>
<td class="KT_th"><label for="yahoo">* Yahoo Chat:</label></td>
<td><input type="text" name="yahoo" id="yahoo" value="<?php echo KT_escapeAttribute($row_rs_user_['yahoo']); ?>" size="32" />
<?php echo $tNGs->displayFieldHint("yahoo");?> <?php echo $tNGs->displayFieldError("`user`", "yahoo"); ?> </td>
<td> Nick chat yahoo của bạn</td>
</tr>
<tr>
<td class="KT_th"><label for="chieucao">Chiều cao:</label></td>
<td><input type="text" name="chieucao" id="chieucao" value="<?php echo KT_escapeAttribute($row_rs_user_['chieucao']); ?>" size="32" />
<?php echo $tNGs->displayFieldHint("chieucao");?> <?php echo $tNGs->displayFieldError("`user`", "chieucao"); ?> </td>
<td> Chiều cao theo m .Chiều cao dạng : 1m45 ...</td>
</tr>
<tr>
<td class="KT_th"><label for="cannang">Cân Nặng:</label></td>
<td><input type="text" name="cannang" id="cannang" value="<?php echo KT_escapeAttribute($row_rs_user_['cannang']); ?>" size="32" />
<?php echo $tNGs->displayFieldHint("cannang");?> <?php echo $tNGs->displayFieldError("`user`", "cannang"); ?> </td>
<td> Câng nặng tính bằng Kg.Cân nặng dạng 45kg</td>
</tr>
<tr>
<td class="KT_th"><label for="pic1">* URL hình:</label></td>
<td><input type="text" name="pic1" id="pic1" value="<?php echo KT_escapeAttribute($row_rs_user_['pic1']); ?>" size="32" />
<?php echo $tNGs->displayFieldHint("pic1");?> <?php echo $tNGs->displayFieldError("`user`", "pic1"); ?>
<script type="text/javascript" src="uploadScript.js"></script>
<!-- có thể thay upload =hinh,quangcao,nhac -->
<input type="button" value="Upload"
onClick="MoFormUploadHinh('pic1','upload')" /></td>
<td> Hãy nhập đường dẫn ảnh hoặc upload từ máy bạn</td>
</tr>
<tr>
<td class="KT_th"><label for="nghenghiep">* Nghề Nghiệp:</label></td>
<td><input type="text" name="nghenghiep" id="nghenghiep" value="<?php echo KT_escapeAttribute($row_rs_user_['nghenghiep']); ?>" size="32" />
<?php echo $tNGs->displayFieldHint("nghenghiep");?> <?php echo $tNGs->displayFieldError("`user`", "nghenghiep"); ?> </td>
<td> Hãy nhập nghề nghiệp của bạn</td>
</tr>
<tr>
<td class="KT_th"><label for="gioithieu">* Giới Thiệu Về bạn:</label></td>
<td><textarea name="gioithieu" id="gioithieu" cols="30" rows="4"><?php echo KT_escapeAttribute($row_rs_user_['gioithieu']); ?></textarea>
<?php echo $tNGs->displayFieldHint("gioithieu");?> <?php echo $tNGs->displayFieldError("`user`", "gioithieu"); ?></td>
<td> Đôi dòng về bạn !</td>
</tr>
<tr>
<td class="KT_th"><label for="ngaysinh">* Sinh Nhật:</label></td>
<td><input name="ngaysinh" id="ngaysinh" value="<?php echo KT_formatDate($row_rs_user_['ngaysinh']); ?>" size="32" wdg:mondayfirst="false" wdg:subtype="Calendar" wdg:mask="<?php echo $KT_screen_date_format; ?>" wdg:type="widget" wdg:singleclick="false" wdg:restricttomask="no" wdg:readonly="true" />
<?php echo $tNGs->displayFieldHint("ngaysinh");?> <?php echo $tNGs->displayFieldError("`user`", "ngaysinh"); ?> </td>
<td> Định dạng dd/MM/yyyy hoặc chọn từ biểu tượng bên phải</td>
</tr>
<tr>
<td class="KT_th">* Người Cần tìm:</td>
<td><textarea name="Nguoicantim" id="Nguoicantim" cols="30" rows="4"><?php echo KT_escapeAttribute($row_rs_user_['Nguoicantim']); ?></textarea>
<?php echo $tNGs->displayFieldHint("Nguoicantim");?> <?php echo $tNGs->displayFieldError("`user`", "Nguoicantim"); ?> </td>
<td valign="top"> Đối tượng bạn muốn làm quen</td>
</tr>
<tr>
<td class="KT_th"><label for="Nguoicantim">* Mã bảo mật</label></td>
<td><input type="text" name="captcha_id" id="captcha_id" value="" />
<br />
Type the characters you see in the picture below.<br />
<img src="<?php echo $captcha_id_obj->getImageURL("");?>" border="1" /></td>
<td valign="top"> Nhập mã số bên cạnh để xác nhận đăng ký</td>
</tr>
<tr>
<td colspan="3" align="center">
<input type="submit" name="KT_Insert1" value="Đăng Ký" /> </td>
</tr>
</table>
<input type="hidden" name="ngaydangky" id="ngaydangky" value="<? echo date('d/m/Y h:i:s'); ?>" />
</form>
</td>
</tr>
</table></br></td>
</tr>
</table>
<table class="commontable">
<tr>
<td style="padding: 0" height="10" background="images/footer.jpg">
</td>
</tr>
<tr>
<td style="padding-top:5px; padding-bottom:15px">
<table class="commontable">
<tr>
<td style="padding: 0" align="center">
<a href="index.php"><b>Trang chủ</b></a></font> |
<a href="ketban.php"><b>Kết Bạn</b></a></font> |
<a href="nhatky.php"><b>Nhật Ký</b></a></font> |
<a href="truyen.php"><b>Truyện</b></a></font> |
<a href="http://phim.vannho.vn/"><b>Phim</b></a></font>
<br>Website được viết bởi Nguyễn Trọng hải <br>Bản quyền thuộc về Vannho.vn © 2008 Email: <a href="mailto:landauyeu@gmail.com?subject=Gui%20BQT%20VanNho.VN">Landauyeu@gmail.com</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td bgcolor="#7CBB44" width='1px'>
</tr>
<tr>
<td width="1000px" height="8" colspan="3" bgcolor="white" style="padding: 0">
<img border="0" src="images/footer.gif" width="1000px" height="8"></td>
</tr>
</table>
</div>
<link rel="stylesheet" type="text/css" href="js/sdmenu.css" />
<script type="text/javascript" src="js/sdmenu.js">
</script>
<script type="text/javascript">
// <![CDATA[
var myMenu;
window.onload = function() {
myMenu = new SDMenu("my_menu");
myMenu.init();
};
// ]]>
</script>
</body>
</html>
<?php
mysql_free_result($nhatkymoinhat1);
mysql_free_result($binhchon);
mysql_free_result($phuongan);
mysql_free_result($commen);
mysql_free_result($tinhthanh4);
mysql_free_result($tinhthanh5);
mysql_free_result($tinhthanh6);
mysql_free_result($tinhthanh7);
mysql_free_result($tinhthanh8);
mysql_free_result($tinhthanh9);
mysql_free_result($nhatkymoinhat);
mysql_free_result($use);
mysql_free_result($thanhvienmoi);
mysql_free_result($truyenmoinhat);
?>
<? ob_end_flush();?>