<!--
<?php
print<<<EOT
--> <SCRIPT LANGUAGE="JavaScript">
<!--
function foreColor_font(obj)
{
  
  var arr = showModalDialog('images/selcolor.htm', '', 'dialogWidth:18.5em; dialogHeight:17.5em; status:0');
  if (arr != null)  obj.value=arr;
  else  obj.focus();
  obj.style.color=arr;
}
//-->
</SCRIPT>
<table width=100% cellspacing=1 cellpadding=3  class="tablewidth">
  <form name="formlistd" method="post" action="?lfj=$lfj&action=set">
    <tr align="left"> 
      <td class="head" bgcolor="#EAEAEA" colspan="3"><font color="#FFFFFF">關鍵字是否在內容頁突出顯示並且帶鏈接地址</font></td>
    </tr>
 
    <tr> 
      <td bgcolor=#FFFFFF align="left" width="64%">關鍵字是否在內容頁中突出顯示並且帶鏈接地址︰<span help=1>這里是控制關鍵字是否在文章中突出顯示並且加鏈接的總開關.這里不啟用的話.下面的設置都無效</span> 
        <input type="radio" name="webdbs[ifShowKeyword]" value="1" $ifShowKeyword[1]>
        顯示 
        <input type="radio" name="webdbs[ifShowKeyword]" value="0" $ifShowKeyword[0]>
        不顯示 </td>
      <td bgcolor=#FFFFFF align="left" width="21%">字體顏色︰ 
        <input type="text" name="webdbs[ShowKeywordColor]" size="10" value="$webdb[ShowKeywordColor]" style="color:$webdb[ShowKeywordColor];" onclick="foreColor_font(this);">
      </td>
      <td bgcolor=#FFFFFF align="center" width="15%"> 
        <input type="submit" name="Submit2" value="設置">
      </td>
    </tr>
 
  </form>
</table>

<table width=100% cellspacing=1 cellpadding=3  class="tablewidth">
  <form name="formlist" method="post" action="?lfj=$lfj&action=del">
    <tr> 
      <td class="head" bgcolor="#EAEAEA" width="20%" align="center"><font color="#FFFFFF">關鍵字</font></td>
      <td class="head" bgcolor="#EAEAEA" width="9%" align="center">個數</td>
      <td class="head" bgcolor="#EAEAEA" width="28%" align="center">內容中顯示與否</td>
      <td class="head" bgcolor="#EAEAEA" width="26%" align="center">自定義鏈接與否</td>
      <td class="head" bgcolor="#EAEAEA" width="17%" align="center">操 作</td>
    </tr>
    <!--
EOT;
foreach($listdb AS $key=>$rs){
print <<<EOT
-->
    <tr> 
      <td bgcolor=#FFFFFF align="left" width="20%"> 
        <input type="checkbox" name="iddb[]" value="{$rs[id]}" style="border:0px;">
        {$rs[keywords]}</td>
      <td bgcolor=#FFFFFF align="center" width="9%"> $rs[num] </td>
      <td bgcolor=#FFFFFF align="center" width="28%">$rs[ifshow] </td>
      <td bgcolor=#FFFFFF align="center" width="26%">$rs[ifurl] </td>
      <td bgcolor=#FFFFFF align="center" width="17%"><a href="?lfj=$lfj&iddb[]={$rs[id]}&action=del"><img alt='點擊刪除' src='../member/images/del_icon2.gif' border=0></a> 
        &nbsp; <a href="?lfj=$lfj&id={$rs[id]}&job=edit"><img alt='點擊修改' src='../member/images/button_edit.png' border=0></a></td>
    </tr>
    <!--
EOT;
}print <<<EOT
-->
    <tr align="center"> 
      <td bgcolor=#FFFFFF colspan="5">$showpage</td>
    </tr>
    <tr align="center"> 
      <td bgcolor=#FFFFFF colspan="5"> [<a href="javascript:CheckAll('all');">全選</a>] 
        [<a href="javascript:CheckAll('');">反選</a>] 
        <input type="submit" name="Submit" value="刪除">
        <script language="JavaScript">
<!--
function postlist(t){
	if(t=='list'){
		document.formlist.action="?lfj=$lfj&action=editlist";
	}else{
		document.formlist.action="?lfj=$lfj&job=batch_edit";
	}
	document.formlist.submit();
}
function CheckAll(va){
	form=document.formlist
	for (var i=0;i<form.elements.length;i++){
		var e = form.elements[i];
		if(e.name=='maketype')continue;
		if(va=='all'){
			e.checked = true;
		}else{
			e.checked == true ? e.checked = false : e.checked = true;
		}
	}
}
//-->
</script>
      </td>
    </tr>
  </form>
</table>
<!--
EOT;
?>
-->
 