|
|
|
การส่งค่าจาก popup ไปยัง form หลัก โดยหน้า popup ให้ค้นหาข้อมูลจากฐานข้อมูล แต่ข้อมูลไม่ส่งไปยัง form หลัก ใครรู้ช่วยที |
|
|
|
|
|
|
|
หลังจากเราค้นหาในหน้า popup ซึ่งเป็นการค้นหาจาก ID จาก ฐานข้อมูล เมื่อเราเลือกข้อมูลที่ต้องการ
แล้วให้นำ ID ส่งมายังฟอร์มใน textbox ในฟอร์มหลัก แต่ค่าไม่ส่งมา ครับ ใครรู้ช่วยที
Code : ฟอร์ม popup
Code (PHP)
<?
//$id =$_POST[member_id];
include('condatabase.php');
if($sent_id !=""){
?>
<script>
self.opener.document.form1.id_sent.value = "<?=$sent_id;?>";
self.opener.document.form1.submit();
window.close();
</script>
<? } ?>
<!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>
<link rel="shortcut icon" type="image/x-icon" href="equipment.ico">
<meta http-equiv="Content-Type" content="text/html; charset=windows-874" />
<style type="text/css">
.style5 {
font-family: "MS Sans Serif";
font-size: 14px;
color: #000;
}
body {
background-color: #000;
background-image: url(../image/hot-bg.gif);
}
.style10 {font-family: "MS Sans Serif"; font-size: 14px; color: #FFFF00 ; }
.style6 {font-family: "MS Sans Serif"; font-size: 14px; color: #FFD700 ; }
.style7 {font-family: "MS Sans Serif"; font-size: 14px; color: #FF0000 ; }
<!--
a:link {
color: #FFF;
}
a:visited {
color: #FFF;
}
a:hover {
color: #000;
}
.style51 {font-family: "MS Sans Serif"; font-size: 16px; color: #000000 ; }
-->
</style>
<title>ชื่อผู้ใช้</title>
<script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
<script type="text/javascript">
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
<script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
<link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" /></head>
<body>
<table width="400" border="0" align="center">
<tr>
<td><fieldset>
<table width="400" border="0">
<tr>
<td width="133"><div align="right" class="inputtextCopy"><span align="right" class="inputtextCopy">ค้นหาตามรหัส :</span></div></td>
<td width="257"><form id="form1" name="form1" method="post" action="searh_user.php">
<span id="sprytextfield1">
<label>
<input type="text" name="firstname" id="firstname" />
<input type="hidden" name="but" value="1" />
</label>
<span class="textfieldRequiredMsg">.</span></span>
<input name="button" type="submit" class="menuclick" id="button" value="ค้นหา" />
</form>
<label></label></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<?
include('condatabase.php');
if($but==1){
$sql="select *from member where 1 and firstname like '%$firstname%'";
//echo $sql; exit();
$re=mysql_query($sql);
$num=mysql_num_rows($re)
?>
<tr>
<td colspan="2"><div align="right">
<table width="390" border="0">
<tr>
<td width="133" class="menuclick"><div align="center">รหัสนักศึกษา</div></td>
<td width="161" class="menuclick"><div align="center">ชื่อ - สกุล</div></td>
<td width="82" class="menuclick"><div align="center">เลือกข้อมูล</div></td>
</tr>
<? while ($data=mysql_fetch_array($re)){?>
<tr>
<td class="inputtext"><div align="center">
<?=$data[personal_id]?>
</div></td>
<td align="left" class="inputtext"><div align="left"><? echo "$data[firstname]$data[lastname] ";?></div></td>
<td class="inputtext"><div align="center"> <a href="search_user.php?sen_id=<?=$data[member_id]?>"> <img src="image/check-1.gif" width="15" height="14" border="0" /></a></div></td>
</tr>
<? }?>
</table>
<? }?>
</div></td>
</tr>
</table>
</fieldset></td>
</tr>
<tr>
<td><fieldset>
</fieldset></td>
</tr>
</table>
<script type="text/javascript">
var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1");
</script>
</body>
</html>
code : ฟอร์มหลัก
Code (PHP)
<?
include ("condatabase.php");
$id = $_GET["sen_id"];
if($sen_id){
$sql=" select * from member where member_id ='$sen_id' ";
$re=mysql_query($sql);
$data=mysql_fetch_array($re);
}
?>
<!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>
<script language="JavaScript">
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features).focus();
}
</script>
<link rel="shortcut icon" type="image/x-icon" href="equipment.ico">
<meta http-equiv="Content-Type" content="text/html; charset=windows-874" />
<link type="text/css" href="css/ui-lightness/jquery-ui-1.8.10.custom.css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.10.offset.datepicker.min.js"></script>
<script type="text/javascript">
$(function () {
var d = new Date();
var toDay = d.getDate() + '/'
+ (d.getMonth() + 1) + '/'
+ (d.getFullYear() + 543);
// Datepicker1
$("#datepicker-th-1").datepicker({ changeMonth: true, changeYear: true,dateFormat: 'dd/mm/yy', isBuddhist: true, defaultDate: toDay,dayNames: ['อาทิตย์','จันทร์','อังคาร','พุธ','พฤหัสบดี','ศุกร์','เสาร์'],
dayNamesMin: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],
monthNames: ['มกราคม','กุมภาพันธ์','มีนาคม','เมษายน','พฤษภาคม','มิถุนายน','กรกฎาคม','สิงหาคม','กันยายน','ตุลาคม','พฤศจิกายน','ธันวาคม'],
monthNamesShort: ['ม.ค.','ก.พ.','มี.ค.','เม.ย.','พ.ค.','มิ.ย.','ก.ค.','ส.ค.','ก.ย.','ต.ค.','พ.ย.','ธ.ค.']});
$("#datepicker-en").datepicker({ dateFormat: 'dd/mm/yy'});
$("#inline").datepicker({ dateFormat: 'dd/mm/yy', inline: true });
$("#datepicker-th-2").datepicker({ changeMonth: true, changeYear: true,dateFormat: 'dd/mm/yy', isBuddhist: true, defaultDate: toDay,dayNames: ['อาทิตย์','จันทร์','อังคาร','พุธ','พฤหัสบดี','ศุกร์','เสาร์'],
dayNamesMin: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],
monthNames: ['มกราคม','กุมภาพันธ์','มีนาคม','เมษายน','พฤษภาคม','มิถุนายน','กรกฎาคม','สิงหาคม','กันยายน','ตุลาคม','พฤศจิกายน','ธันวาคม'],
monthNamesShort: ['ม.ค.','ก.พ.','มี.ค.','เม.ย.','พ.ค.','มิ.ย.','ก.ค.','ส.ค.','ก.ย.','ต.ค.','พ.ย.','ธ.ค.']});
$("#datepicker-en").datepicker({ dateFormat: 'dd/mm/yy'});
$("#inline").datepicker({ dateFormat: 'dd/mm/yy', inline: true });
});
</script>
<script language="javascript" src="includes/javascript.js"></script>
<script language="javascript" src="includes/jquery.js"></script>
<style type="text/css">
/*demo page css*/
body{ font: 80% "Trebuchet MS", sans-serif; margin: 50px;}
.demoHeaders { margin-top: 2em; }
#dialog_link {padding: .4em 1em .4em 20px;text-decoration: none;position: relative;}
#dialog_link span.ui-icon {margin: 0 5px 0 0;position: absolute;left: .2em;top: 50%;margin-top: -8px;}
ul#icons {margin: 0; padding: 0;}
ul#icons li {margin: 2px; position: relative; padding: 4px 0; cursor: pointer; float: left; list-style: none;}
ul#icons span.ui-icon {float: left; margin: 0 4px;}
ul.test {list-style:none; line-height:30px;}
</style>
<style type="text/css">
.style5 {
font-family: "MS Sans Serif";
font-size: 14px;
color: #000;
}
body {
background-color: #000;
background-image: url(image/hot-bg.gif);
}
.style10 {font-family: "MS Sans Serif"; font-size: 14px; color: #FFFF00 ; }
.style6 {font-family: "MS Sans Serif"; font-size: 14px; color: #FFD700 ; }
.style7 {font-family: "MS Sans Serif"; font-size: 14px; color: #FF0000 ; }
<!--
a:link {
color: #FFF;
}
a:visited {
color: #FFF;
}
a:hover {
color: #000;
}
.style51 {font-family: "MS Sans Serif"; font-size: 16px; color: #000000 ; }
-->
</style>
<link href="image/style.css" rel="stylesheet" type="text/css">
<title>ดูรายงานการยืม คืนย้อนหลัง</title>
<script type="text/javascript">
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
</script>
<style type="text/css">
.style2 {color: #FFFFFF; font-weight: bold; }
.style4 {color: #FF0000; font-weight: bold; }
</style>
</head>
<body onload="MM_preloadImages('image/H_5_1.gif')">
<table width="778" border="0" cellpadding="0" cellspacing="0" align="center" >
<tr>
<td valign="top"><table width="778" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><table width="778" border="0" cellpadding="0" cellspacing="0" height="37">
<tr>
<td><img src="image/H1.gif" width="198" height="37" /></td>
<td><img src="image/H2.gif" width="197" height="37" /></td>
<td><img src="image/H3.gif" width="121" height="37" /></td>
<td><img src="image/H4.gif" width="135" height="37" /></td>
<td><a href="logout.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image20','','image/H_5_1.gif',1)"><img src="image/H5.gif" name="Image20" width="127" height="37" border="0" id="Image20" /></a></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="image/H_06.gif" width="778" height="113" /></td>
</tr>
<tr>
<td><img src="image/H_07.gif" width="778" height="40" /></td>
</tr>
</table></td>
</tr>
</table>
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="543" height="210" valign="top" bgcolor="#7e7e7e"><table width="543" border="0" height="421" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" bgcolor="#7e7e7e"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td scope="col"> </td>
<td width="100%" scope="col"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#7e7e7e">
<tr>
<td width="12" height="52" bgcolor="#7e7e7e"></td>
<td width="524"><img src="image/K_6.gif" width="511" height="35" /></td>
<td width="11" bgcolor="#7e7e7e"> </td>
</tr>
<tr>
<td height="12" bgcolor="#7e7e7e"><img src="../image/gg_01.gif" width="12" height="12" /></td>
<td bgcolor="#FFFFFF"></td>
<td bgcolor="#7e7e7e"><img src="../image/gg_02.gif" width="12" height="12" /></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"> </td>
<td align="left" bgcolor="#FFFFFF" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th width="6%" scope="col"><input type="radio" name="radio" id="radio3" value="radio" /></th>
<td width="17%" scope="col"><span class="style5"><b>ค้นหาจากวันที่</b></span></td>
<td width="28%" scope="col"><input type="text" id="datepicker-th-1" name="date0" /></td>
<td width="6%" align="center" scope="col"><p><span class="style5"><b>ถึง</b></span></p></td>
<td width="43%" scope="col"><input type="text" id="datepicker-th-2" name="date1" /></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><input type="radio" name="radio" id="radio" value="radio" /></th>
<td scope="col"><span class="style5"><b>ค้นหาจากสมาชิก</b></span></td>
<td scope="col">
<form id="form1" name="form1" method="post" action="back_borrow.php">
<label>
<input name="id_sent" type="text" id="id_sent" value="<?=$data[personal_id]?>" readonly="readonly"/>
</label>
<input name="Submit" type="submit" onclick="MM_openBrWindow ('searh_user.php','popup','status=yes,width=600,height=300')" value="ค้นหา" />
<? if($sent_id!=""){?>
<? }?>
<!--<a href="javascript:NewWindow('<? echo"search_user.php";?>','newpopup','600','300','center','front');"><span class="menuclick"> ค้นหา </span></a>-->
</form></td></tr>
<tr>
<th scope="row"><input type="radio" name="radio" id="radio2" value="radio" /></th>
<td><span class="style5"><b>ค้นหาจากหมายเลขคุรุภัณฑ์</b></span></td>
<td><input type="text" name="txtsearch" id="txtsearch" />
<input name="Submit2" type="submit" onclick="MM_openBrWindow('searh_serial.php','popup','status=yes,width=600,height=300');" value="ค้นหา" /></td>
</tr>
</table></form>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th width="47%" scope="col"> </th>
<td width="53%" scope="col"><input type="submit" name="Submit4" value="ตกลง" />
<input type="submit" name="Submit3" value="ยกเลิก" /></td>
</tr>
</table>
<p> </p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th width="2%" height="12" scope="col"><img src="image/s1.gif" width="100%" height="12" /></th>
<th width="95%" bgcolor="#0091ce" scope="col"></th>
<th width="3%" scope="col"><img src="image/s2.gif" width="100%" height="12" /></th>
</tr>
<tr>
<td bgcolor="#0091ce" scope="row"></td>
<td align="left" valign="top" bgcolor="#0091ce"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th height="82" align="left" bgcolor="#0091ce" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#d4d4d4">
<tr>
<th width="12" height="12" bgcolor="#00a0e0" scope="col"td="td"><img src="image/gg_01.gif" width="100%" height="12" /></th>
<td width="359" bgcolor="#FFFFFF" scope="col"></td>
<th width="12" bgcolor="#00a0e0" scope="col"td="td"><img src="image/gg_02.gif" width="100%" height="12" /></th>
</tr>
<tr>
<th height="75" bgcolor="#FFFFFF" scope="row"></th>
<td align="center" valign="top" bgcolor="#d4d4d4"><table width="100%" border="1" cellspacing="0" cellpadding="0">
<tr>
<th bgcolor="#FFFFFF" scope="col"><span class="style5">ลำดับ</span></th>
<th bgcolor="#FFFFFF" scope="col"><span class="style5">ชื่ออุปกรณ์</span></th>
<th bgcolor="#FFFFFF" scope="col"><span class="style5"><b>หมายเลขคุรุภัณฑ์</b></span></th>
<th bgcolor="#FFFFFF" scope="col"><span class="style5">วันที่ยืม</span></th>
<th bgcolor="#FFFFFF" scope="col"><span class="style5">วันที่คืน</span></th>
<th bgcolor="#FFFFFF" scope="col"><span class="style5">ชื่อผู้ยืม</span></th>
<th bgcolor="#FFFFFF" scope="col"><span class="style5">ผู้ให้ยืม</span></th>
</tr>
<tr>
<th bgcolor="#FFFFFF" scope="row"> </th>
<td bgcolor="#FFFFFF"> </td>
<td bgcolor="#FFFFFF"> </td>
<td bgcolor="#FFFFFF"> </td>
<td bgcolor="#FFFFFF"> </td>
<td bgcolor="#FFFFFF"> </td>
<td bgcolor="#FFFFFF"> </td>
</tr>
</table>
<p>
<input type="submit" name="sumit" value=" พิมพ์ข้อมูล " />
</p></td>
<td bgcolor="#FFFFFF"></td>
</tr>
<tr>
<th height="12" bgcolor="#00a0e0" scope="row"><img src="image/gg_03.gif" width="100%" height="12" /></th>
<td bgcolor="#FFFFFF"></td>
<td bgcolor="#00a0e0"><img src="image/gg_04.gif" width="100%" height="12" /></td>
</tr>
</table></th>
</tr>
</table></td>
<td bgcolor="#0091ce"></td>
</tr>
<tr>
<th scope="row"><img src="image/s3.gif" width="12" height="12" /></th>
<td bgcolor="#0091ce"></td>
<td><img src="image/s4.gif" width="100%" height="12" /></td>
</tr>
</table></td>
<td bgcolor="#FFFFFF"> </td>
</tr>
<tr>
<td><img src="../image/gg_03.gif" width="12" height="12" /></td>
<td bgcolor="#FFFFFF" height="3" class="style8" align="right"></td>
<td ><img src="../image/gg_04.gif" width="12" height="12" /></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td valign="top" bgcolor="#7e7e7e">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#7e7e7e">
</table>
</td>
</tr>
</table></td>
<td width="30%" valign="top" bgcolor="#717579"><table width="100%" border="0" bgcolor="#717579" cellpadding="0" cellspacing="0">
<tr bgcolor="#717579">
<td colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td scope="col"><img src="image/A_2_1.gif" width="235" height="25" /></td>
</tr>
<tr>
<th scope="row">ยินดีตัอนรับ</th>
</tr>
<tr>
<td align="center" scope="row"><img src="image/log.gif" width="14" height="16" /><b> คุณเข้าระบบในชื่อ<span class="style4"> <? echo $_SESSION ["username"] ?></span></b></td>
</tr>
<tr>
<th scope="row"><span class="style2"><a href="profile.php">แก้ไข้ข้อมูลส่วนตัว</a></span></th>
</tr>
<tr>
<th scope="row"> </th>
</tr>
</table></td>
</tr>
<tr bgcolor="#717579">
<td colspan="3"><table width="235" border="0" cellpadding="0" cellspacing="0" background="#717579">
<tr>
<th colspan="2" scope="row"><img src="image/m_p.gif" width="235" height="25" /></th>
</tr>
<tr>
<td align="right" scope="row"><span class="style2"> <img src="image/button_6.gif" width="8" height="14" /></span></td>
<td align="left" scope="row"> <span class="style2"> <a href="add_news.php">ประกาศ/ประชาสัมพันธ์</a></span></td>
</tr>
<tr>
<td align="right" scope="row"><span class="style2"> <img src="image/button_6.gif" width="8" height="14" /></span></td>
<td align="left" scope="row"> <span class="style2"> <a href="index.php">รายการประกาศ/ประชาสัมพันธ์</a></span></td>
</tr>
<tr>
<th scope="row"> </th>
<th scope="row"> </th>
</tr>
<tr>
<th colspan="2" scope="col"><img src="image/m_o.gif" width="235" height="25" /></th>
</tr>
<tr>
<td width="18%" align="right" class="style2" scope="row"> <img src="image/button_6.gif" width="8" height="14" /></td>
<td width="82%" align="left" class="style2"><a href="techersearch.php"> <span class="style10"> </span>ค้นหาอุปกรณ์</a></td>
</tr>
<tr>
<td align="right" scope="row"><span class="style2"> <img src="image/button_6.gif" width="8" height="14" /></span></td>
<td align="left" scope="row"> <span class="style2"> <a href="user_equipment.php">ดูข้อมูลอุปกรณ์</a></span></td>
</tr>
<tr>
<td align="right" scope="row"><span class="style2"> <img src="image/button_6.gif" width="8" height="14" /></span></td>
<td align="left" scope="row"> <span class="style2"> <a href="add_borrow.php">รายการยืม</a></span></td>
</tr>
<tr>
<th scope="row"> </th>
<th scope="row"> </th>
</tr>
<tr>
<th colspan="2" scope="row"><img src="image/m_t.gif" width="235" height="25" /></th>
</tr>
<tr>
<td align="right" scope="row"><span class="style2"> <img src="image/button_6.gif" width="8" height="14" /></span></td>
<td align="left" scope="row"> <span class="style2"> <a href="back_borrow.php">ดูรายการยืมย้อนหลัง</a></span></td>
</tr>
<tr>
<td align="right" scope="row"><span class="style2"> <img src="image/button_6.gif" width="8" height="14" /></span></td>
<td align="left" scope="row"> <span class="style2"> <a href="back_return.php">ดูรายการคืนย้อนหลัง</a></span></td>
</tr>
<tr>
<td align="right" scope="row"><span class="style2"> </span></td>
<td align="left" scope="row"> <span class="style2"> </span></td>
</tr>
</table></td>
</tr>
<tr bgcolor="#717579">
<td colspan="3"><p><img src="image/A_3.gif" width="235" height="25" /></p></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr height="2">
<td width="2" height="2"></td>
<td height="2" align="center"><table width="162" border="5" cellspacing="0" cellpadding="0">
<tr>
<td width="130" height="140" scope="col" bgcolor="#FFFFFF"><object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="162" height="137">
<param name="movie" value="flash/clockcalendarwhite.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="6.0.65.0" />
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
<param name="expressinstall" value="../Scripts/expressInstall.swf" />
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="flash/clockcalendarwhite.swf" width="162" height="137">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="6.0.65.0" />
<param name="expressinstall" value="../Scripts/expressInstall.swf" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object></td>
</tr>
</table></td>
<td width="2"></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
<td class="style10"align="center"> จำนวนผู้เข้าชมทั้งหมด
<?=$count?>
คน</td>
<td> </td>
</tr>
<tr>
<td> </td>
<td class="style10"align="center"> เริ่มนับวันที่ 16 ตุลาคม 2554</td>
<td> </td>
</tr>
<tr height="2">
<td height="2" align="center"> </td>
</tr>
</table> <p> </p></td>
</tr>
</table>
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><img src="image/footer.gif" width="778" height="51" /></td>
</tr>
</table>
<p> </p>
</body>
</script>
</html>
Tag : PHP
|
ประวัติการแก้ไข 2012-01-19 00:04:39
|
|
|
|
|
Date :
2012-01-19 00:01:32 |
By :
mai_muang |
View :
3266 |
Reply :
3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ขอบคุณครับ mr.win แต่ ถ้าอยากทำpopup ให้อยู่ตรงกลางหน้าจอเลยล่ะครับ ต้องเขียนโค๊ดเพิ่มในส่วนไหน ครับ
|
|
|
|
|
Date :
2012-01-19 09:05:01 |
By :
mai_muang |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 05
|