<!--
<?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;
?>
-->
 