<include: file="header.html">
<script>
function tplSelect(tpl,form, element) 
{
	//showModalDialog
	var arr = showModalDialog("admin_select.php?sId=[$sId]&o=tpl&tpl=" + tpl,"color","dialogWidth:428px;dialogHeight:266px;help:0;status:0;scroll:no");
	if(arr != null) {
		with(form){

			eval(element + ".value= '" +  arr + "'")

		}


	}
	 //window.open("admin_select.php?sId=[$sId]&o=psn&psn=" + psn,"psnselect","toolbar=0,resizable=yes,width=415,height=235,scrollbars=no")
	 // if (arr != null) format('forecolor',arr);
	 // else idEdit.focus();
}
</script>
<TABLE width="95%" border=0 align=center cellSpacing=0 cellPadding=0  >
  <form name="add_cate" method="post" action="[$base_url]o=index::setting_submit&TableID=[$setting.TableID]">
    <TBODY>
<TR>
        <TD vAlign=top align=middle width="50%">
		<TABLE cellspacing="1" cellpadding="4" width="100%"  border=0 class="table_border">
            <TBODY>
              <TR class="table_header" > 
                <TD height=25 colSpan=2 id=id2 ><strong>{lang:topic}</strong></TD>
              </TR>
              <TR class="table_td1" > 
                <TD width="210"  > {lang:content_model} <em></em></TD>
                <TD  id=id2> [$setting.Name] 
                  </TD>
              </TR>
			     <TR class="table_header" >
                   <TD height=25 colSpan=2 id=id2 ><strong>{lang:search_setting}</strong></TD>
	          </TR>
			     <tr >
                   <td class="table_td1">{lang:search_mode}</td>
                   <td class="table_td2">
                     <input name="data_SearchMode" type="radio" id="data_SearchMode" value="0" checked>
                     <label for="data_SearchMode">{lang:anonymous}</label>
                     <input type="radio" name="data_SearchMode" id="data_SearchMode1" value="1">
                     <label for="data_SearchMode1">{lang:bbsInterface}</label>
                   </td>
	          </tr>
			     <tr >
                   <td class="table_td1">{lang:search_tpl}</td>
                   <td class="table_td2">
                     <INPUT name="data_SearchTpl" id="data_SearchTpl" size=50  class='flat'  value="[$setting.SearchTpl]">
                     <input type='button' tabindex='13' value='...' onclick="tplSelect('[$setting.SearchTpl]',this.form,'data_SearchTpl')">
                   </td>
	          </tr>
			     <tr >
                   <td class="table_td1">{lang:searchpro_tpl}</td>
                   <td class="table_td2">
                     <INPUT name="data_SearchProTpl" id="data_SearchProTpl" size=50  class='flat'  value="[$setting.SearchProTpl]">
                     <input type='button' tabindex='13' value='...' onclick="tplSelect('[$setting.SearchProTpl]',this.form,'data_SearchProTpl')">
                   </td>
	          </tr>
			     <tr >
                   <td class="table_td1">{lang:search_page_offset}</td>
                   <td class="table_td2">
                     <INPUT name="data_SearchPageOffset" id="data_SearchPageOffset" size=10  class='flat'  value="15">
                   </td>
	          </tr>
              <TR class="table_td1"> 
                <TD height=30 colSpan=2 align=middle > <INPUT name="submit" type=submit value="{lang::global:submit_value}" class="button"> 
                  &nbsp;&nbsp; <INPUT name="reset" type=reset value="{lang::global:reset_value}"  class="button"> 
                </TD>
              </TR>
            </TBODY>
          </TABLE></TD>
      </TR></TBODY><INPUT type=hidden value=edit_submit name=action></form></TABLE>
<include: file="footer.html">