<!--
<?php
print <<<EOT
--> <script src="images/default/setday.js"></script>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="MainTable">
  <tr> 
    <td width="100%" height="393" valign="top" class="Main"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="dragTable">
        <tr> 
          <td class="head"> 
            <h3 class="L"></h3>
            <span class="TAG">$fidDB[name]</span> 
            <h3 class="R"></h3>
          </td>
        </tr>
        <tr> 
          <td class="middle"> 
            <script>
function upfile(url,name,size,ty){
	document.getElementById(ty).value=url;
}
</script><table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td style="padding-bottom:10px;">$fidDB[about]</td>
  </tr>
</table>
            <table width="99%" border="0" cellspacing="5" cellpadding="5" id="bigtable">
              <form name="FORM" method="post" action="?action=$atc" enctype="multipart/form-data">
                
<!--
EOT;
if($fidDB[usetitle]){print <<<EOT
-->
				<tr> 
                  <td width="18%">標題:<font color=red>(必填)</font></td>
                  <td width="82%"> 
                    <input type="text" name="postdb[title]" id="atc_title" size="50" value="$rsdb[title]">
                  </td>
                </tr>
<!--
EOT;
}print <<<EOT
-->

                <tr> <td >預訂房間類型:<font color=red>(必填)</font><br></td> <td ><input style='border:0px;' type='radio' name='postdb[roomtype]' value='標準雙人房' {$rsdb[roomtype]['標準雙人房']}>標準雙人房<input style='border:0px;' type='radio' name='postdb[roomtype]' value='標準單人房' {$rsdb[roomtype]['標準單人房']}>標準單人房<input style='border:0px;' type='radio' name='postdb[roomtype]' value='豪華單人房' {$rsdb[roomtype]['豪華單人房']}>豪華單人房<input style='border:0px;' type='radio' name='postdb[roomtype]' value='總統套房' {$rsdb[roomtype]['總統套房']}>總統套房</td></tr><tr> <td >預定間數:<font color=red>(必填)</font><br></td> <td > <input type='text' name='postdb[roomnum]' id='atc_roomnum' size='2' value='$rsdb[roomnum]'> 間</td></tr><tr> <td >入住幾晚:<br></td> <td > <input type='text' name='postdb[numday]' id='atc_numday' size='2' value='$rsdb[numday]'> 晚</td></tr><tr> <td >入住時間:<font color=red>(必填)</font><br></td> <td > <input  onclick="setday(this,1)" type='text' name='postdb[intotime]' id='atc_intotime' size='20' value='$rsdb[intotime]'> </td></tr><tr> <td >顧客姓名:<font color=red>(必填)</font><br></td> <td > <input type='text' name='postdb[truename]' id='atc_truename' size='12' value='$rsdb[truename]'> </td></tr><tr> <td >聯系電話:<font color=red>(必填)</font><br></td> <td > <input type='text' name='postdb[telephone]' id='atc_telephone' size='12' value='$rsdb[telephone]'> </td></tr> 
                <tr> 
                  <td width="18%">&nbsp;</td>
                  <td width="82%"> 
                    <input type="submit" name="Submit" value="提 交" >
                    <input type="hidden" name="mid" value="$mid">
                    <input type="hidden" name="id" value="$id">
                  </td>
                </tr>
              </form>
            </table>
          </td>
        </tr>
        <tr> 
          <td class="foot"> 
            <h3 class="L"></h3>
            <h3 class="R"></h3>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<!--
EOT;
?>
-->
