<!--
<?php
print <<<EOT
--> 
 
<table width="100%" border="0" cellspacing="1" cellpadding="3" class="tablewidth">
  <form name="myform" method="post" action="index.php?lfj=$lfj&action=$job">
    <tr class="head"> 
      <td colspan="2"> 增加模板</td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width="14%"> 新模板文件</td>
      <td width="86%"> 
        <input type="text" name="filepath" size="50" value="$filepath">
        .htm結尾的文件 </td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width="14%">模板代碼:</td>
      <td width="86%"> <Script Language=JavaScript>
function eWebEditorPopUp(form, field, width, height) {
	window.open("../ewebeditor/v4.60/popup.htm?style=popup&form="+form+"&field="+field, "", "width="+width+",height="+height+",toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no");
}
</Script>
        <textarea name="code" id="code" cols="140" rows="20">$code</textarea>
        <br>
        <INPUT TYPE="BUTTON" NAME="btn" VALUE="可視化編輯" ONCLICK="eWebEditorPopUp('myform', 'code', 800, 600)">
      </td>
    </tr>
    <tr align="center" bgcolor="#FFFFFF"> 
      <td colspan="2"> 
        <input type="submit" name="Submit" value="提交">
      </td>
    </tr>
  </form>
</table>
<!--
EOT;
?>
-->
<table width="100%" border="0" cellspacing="1" cellpadding="3" class="tablewidth">
     <tr class="head"> 
      
    <td  > 幫助說明:</td>
    </tr>
  <tr>
    <td>1.增加前,請先參考一下原有的模板代碼.</td>
  </tr>
</table>
