<!--
<?php
print <<<EOT
--> 
<table width="100%" border="0" cellspacing="1" cellpadding="3" class="tablewidth">
 
  <tr> 
    <td align="center"> 
      <input type="button" name="Submit22" value="選擇類型" onClick="window.location=('index.php?lfj=$lfj&hack=$hack&job=list')">
      　　 
      <input type="button" name="Submit2" value="獲取調用代碼" onClick="window.location=('index.php?lfj=$lfj&hack=$hack&job=getcode')">
      　　 </td>
  </tr>
</table>
<br>
<table width="100%" border="0" cellspacing="1" cellpadding="3" class="tablewidth">
  <form name="form1" method="post" action="index.php?lfj=$lfj&hack=$hack&action=$job">
    <tr class="head"> 
      <td align="center" colspan="2"><font color="#FFFFFF">請選擇</font></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width="17%" > 選擇類型</td>
      <td width="83%" > 
        <input type="radio" name="postdb[systemType]" value="web168" {$systemTypeDB[web168]} onclick="choose('web168');">
        站內搜索 
        <input type="radio" name="postdb[systemType]" value="baidu" {$systemTypeDB[baidu]} onclick="choose('baidu');">
        百度搜索</td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width="17%" >顯示內容</td>
      <td width="83%" > 
        <textarea name="postdb[searchcode]" cols="80" rows="8" id="searchcode">$searchcode</textarea>
      </td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td style="padding-left:200px;" colspan="2"> 
        <input type="submit" name="Submit" value="生成網頁調用代碼">
      </td>
    </tr>
  </form>
</table>
<div style='display:none'><iframe name="Iframe" id="Iframe" src="about:blank"></iframe></div>
<SCRIPT LANGUAGE="JavaScript">
<!--
function choose(type){
	window.open("index.php?lfj=hack&hack=$hack&job=choose&$timestamp&type="+type,target="Iframe");
}
//-->
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
<!--
function showcode(msg){
	get_obj("searchcode").value=msg;
}
//-->
</SCRIPT>
<!--
EOT;
?>
-->
