Viewing file: FrmThprice.php (6.6 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
session_start();
if (session_is_registered("valid_user"))
{
include("../include/FunctionDB.php");
include("admin_menu.php");
include("../include/Function.php");
ConnectDB();
$sql1 = "Select * From treatMed_tb Where Teach_code='$Teach_code'";
$result1 = mysql_query($sql1) or die(" Error".mysql_error());
$rs = mysql_fetch_array($result1);
?>
<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">
<table width="815" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="815" ><br />
<fieldset>
<legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="index.php">หน้าหลัก</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle" /><a href="TreatpriceList.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" />แสดงรายลพเอียดการรักษา</font></legend>
<label> </label>
<div align="center">
<form action="InsertTreatcat.php" method="post" name="form1" id="form1">
<p align="left"><font size="2" face="Tahoma"><img src="../picture/previous.gif" onclick="window.history.back()" width="85" height="22" border="0" /></font></p>
<table width="525" height="183" border="0" align="center" cellpadding="0" cellspacing="1" bordercolor="#99CCFF">
<tr bgcolor="#FFCC99">
<td height="23" colspan="3" bgcolor="#FFCC99"><div align="center"><font face="Tahoma, MS Sans Serif"><strong><font color="#003366" size="4">ข้อมูลการรักษา</font></strong></font></div></td>
</tr>
<tr bgcolor="#EEEEEE">
<td width="29%" height="22"><div align="center" class="style1"><font size="2" face="Tahoma, MS Sans Serif">รหัส</font></div></td>
<td width="3%"><div align="center"><font color="#FF0000" size="4" face="Tahoma, MS Sans Serif"><strong>*</strong></font></div></td>
<td width="68%"><span class="style1"><font size="2" face="Tahoma"><font size="2" face="Tahoma">
<?php
echo" $rs[Code_1]";
?>
</font></font></span> </td>
</tr>
<tr bgcolor="#EEEEEE">
<td height="22"><div align="center" class="style1"><font size="2" face="Tahoma, MS Sans Serif">หมวดการรักษา</font></div></td>
<td><div align="center"><font color="#FF0000" size="4" face="Tahoma, MS Sans Serif"><strong>*</strong></font></div></td>
<td><font color="#000000" size="2" face="Tahoma" class="style1"> <font color="#000000" size="2" face="Tahoma" class="style1"><font color="#000000" size="2" face="Tahoma">
<?php
echo" $rs[Name]";
?>
</font></font></font></td>
</tr>
<tr bgcolor="#EEEEEE">
<td height="22"><div align="center" class="style1"><font size="2" face="Tahoma, MS Sans Serif">รายการรักษา(Eg)</font></div></td>
<td><div align="center"><font color="#FF0000" size="4" face="Tahoma, MS Sans Serif"><strong>*</strong></font></div></td>
<td><font color="#000000" size="2" face="Tahoma" class="style3"><font color="#000000" size="2" face="Tahoma">
<?php
echo" $rs[Description_1]";
?>
</font></font> </td>
</tr>
<tr bgcolor="#EEEEEE">
<td height="22"><div align="center" class="style1"><font size="2" face="Tahoma, MS Sans Serif">รายการรักษา(ไทย)</font></div></td>
<td><div align="center"><font color="#FF0000" size="4" face="Tahoma, MS Sans Serif"><strong>*</strong></font></div></td>
<td><font color="#000000" size="2" face="Tahoma" class="style3"><font color="#000000" size="2" face="Tahoma">
<?php
echo" $rs[Description_2]";
?>
</font></font> </td>
</tr>
<tr bgcolor="#EEEEEE">
<td height="22"><div align="center" class="style1"><font size="2" face="Tahoma, MS Sans Serif">ประเภทการรักษา</font></div></td>
<td><div align="center"><font color="#FF0000" size="4" face="Tahoma, MS Sans Serif"><strong>*</strong></font></div></td>
<td><font color="#000000" size="2" face="Tahoma" class="style3"><font color="#000000" size="2" face="Tahoma">
<?php
echo" $rs[Description_3]";
?>
</font></font> </td>
</tr>
<tr bgcolor="#EEEEEE">
<td height="22"><div align="center" class="style1"><font size="2" face="Tahoma, MS Sans Serif">ราคาค่ารักษา</font></div></td>
<td><div align="center"><font color="#FF0000" size="4" face="Tahoma, MS Sans Serif"><strong>*</strong></font></div></td>
<td><font color="#000000" size="2" face="Tahoma" class="style3"><font color="#000000" size="2" face="Tahoma">
<?php
echo" $rs[Price]";
?>
</font></font><font face="Tahoma, MS Sans Serif">บาท </font></td>
</tr>
<tr bgcolor="#AFCFEF">
<td height="19" colspan="3"><div align="center"> <font face="Tahoma, MS Sans Serif"> </font></div></td>
</tr>
</table>
</form>
</div>
</fieldset>
<br />
<font color="<?php echo $GLOBALS["COLOR_FONT_3"];?>" size="2"><b>หมายเหตุ :</b></font></td>
</tr>
</table>
<?php
}
else
{
echo"<body bgcolor=\"#CCCCCC\">";
echo"<meta http-equiv=\"refresh\" content=\"3;URL=../login.php\" target=\"mainFrame\">\n";
echo"<center>";
echo"<br><br><br><b><font face=\"Tahoma\" size=\"4\" color=\"#FF0000\">Please Login</font> </b><br>";
echo"<br><br><font face=\"Tahoma\" size=\"10\" color=\"#000000\"> ERROR 404 PERMISION DENY</font><br>";
echo"<br><font face=\"Tahoma\" size=\"4\" color=\"#000000\"> คุณไม่มสิทธ์ใช้งาน</font>";
echo"</center>";
echo"</body>";
}
?>
|