Viewing file: addQuotaType.php (4.67 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
session_start();
if (session_is_registered("valid_user"))
{
$Username = $valid_user;
include("../../include/FunctionDB.php");
include("../../include/Function.php");
include("admin_menu.php");
ConnectDB();
//$strSQL = "SELECT * FROM bookmant_tb Where Book_code='$Book_code' Order By Date_buy DESC ";
?>
<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">
<script language="JavaScript" type="text/JavaScript">
<!--
function browse()
{
form1.Imag1.src = form1.Img1.value;
}
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
function chk(c){
if (c.checked){
document.all.Prob1.disabled=false;
document.all.Prob2.disabled=false;
document.all.Prob3.disabled=false;
document.all.Prob4.disabled=false;
}
else{
document.all.Problem.disabled=false;
}
}
</script>
<style type="text/css">
<!--
.style3 {color: #000000}
-->
</style>
<table width="814" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="814"><br>
<fieldset>
<legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="../menu_teacher.php" >˹éÒËÅÑ¡</a> <img src="../../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle"><a href="BookByYear.php">áÊ´§¢éÍÁÙÅ˹ѧÊ×ÍÃÒª¡ÒÃÃÒ»Õ</a></font><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><img src="../../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle" /><a href="addBook.php">à¾ÔèÁ˹ѧÊ×ÍÃѺ-Êè§</a></font></legend>
<label><div align="center">
<form id="form1" name="form1" method="post" action="InsertBook.php" enctype="multipart/form-data">
<table width="70%" height="162" border="0" align="center" cellpadding="0" cellspacing="0" style="border:1px solid gray">
<tr bgcolor="#CCCCCC" >
<td height="25" colspan="3" bgcolor="eeeeee"><div align="center" class="style1"><font size="4" face="Tahoma">à¾ÔèÁ¢éÍÁÙÅâ¤ÇµÒ</font></div></td>
</tr>
<tr bgcolor="#EEEEEE">
<td width="30%" height="22" bgcolor="eeeeee"><div align="center" class="style3"><font size="2" face="Tahoma">ª¹Ô´¢Í§Ë¹Ñ§Ê×Í</font></div></td>
<td width="2%" bgcolor="eeeeee"> </td>
<td width="68%" bgcolor="eeeeee"><font color="#006633" size="2" face="Tahoma">
<input name="quotaStatus" type="radio" value="N" checked />
ÃѺµÃ§
<input name="quotaStatus" type="radio" value="Y" />
ÃѺ¡ÅÒ§</font>
<label> </label></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="51" bgcolor="eeeeee"><div align="center"><font size="2" face="Tahoma">àÃ×èͧ</font></div></td>
<td bgcolor="eeeeee"><div align="center"><font color="#FF0000" size="4" face="Tahoma"><strong>*</strong></font></div></td>
<td bgcolor="eeeeee"><strong><font color="#003366" size="2" face="Tahoma"> </font><font color="#003366" size="2" face="Tahoma">
<textarea name="quotaTypeName" cols="40" rows="3" id="quotaTypeName"></textarea>
</font></strong></td>
</tr>
<tr bgcolor="#EEEEEE">
<td height="38" bgcolor="eeeeee"><div align="center"><font size="2" face="Tahoma"><font size="2">µéͧ¡ÒÃá¨é§ºØ¤ÅÒ¡Ã·Ø¡æ ¤¹</font> </font></div></td>
<td bgcolor="eeeeee"><font color="#FF0000" size="4" face="Tahoma"><strong>*</strong></font></td>
<td bgcolor="eeeeee"><font size="2" face="Tahoma">
<input name="status" type="radio" value="1" />
á¨é§
<input name="status" type="radio" value="2" />
äÁèá¨é§ </font></td>
</tr>
<tr bgcolor="#CCCCFF" >
<td height="24" colspan="3" bgcolor="eeeeee"><div align="center">
<input type="submit" name="Submit" value=" ºÑ¹·Ö¡ " class="button" />
<input type="reset" name="Submit2" value="àÃÔèÁãËÁè" class="button" />
</div></td>
</tr>
</table>
<br>
</form>
</div>
</label>
</fieldset><br>
<font color="<?php echo $GLOBALS["COLOR_FONT_3"];?>" size="2"><b>ËÁÒÂà赯 :</b> ãªéàÁÒÊì¤ÅÔ¡<br>
</font></td>
</tr>
</table>
<?php
}
else
{
echo"<meta http-equiv=\"refresh\" content=\"3;URL=FrmLogin.php\">\n";
echo"Please Login ";
}
?>
|