<!--<?php
include_once PrintEot('left');
print <<<EOT
-->
<table width=98% align=center cellspacing=1 cellpadding=3 class=i_table>
<tr><td class=head colspan=2>{#guide}</td></tr>
<tr><td class=b>{#setbwd_info}</td></tr></table><br>

<form action="$basename" method="post" name="submit">
<input type=hidden name="action" value="update">
<input type=hidden name="type" value="1">
<table width=98% align=center cellspacing=1 cellpadding=3 class=i_table>
<tr><td class=head colspan=4>{#setbwd_banword}</td></tr>
<tr class=head_2 align=center><td>{#setbwd_word}</td><td>{#setbwd_replace}</td><td>{#setbwd_del}</td></tr>
<!--
EOT;
foreach($wordfbdb as $key => $value){print <<<EOT
-->
<tr class=b align=center>
<td><input name="wordfind[$value[id]]" type=text size=40 value="$value[word]"></td>
<td><input name="wordreplace[$value[id]]" type=text size=40 value="$value[wordreplace]"></td>
<td><input type="checkbox" name="worddel[]"  value="$value[id]" value= size=4></td></tr>
<!--
EOT;
}print <<<EOT
-->
</td></tr></table><br>
<center><input type="submit" value="{#submit}" name="submit"></center>
</form>
<form action=$basename method=post name="add">
<input type=hidden name="action" value="add">
<input type=hidden name="type" value="1">
<table width=70% align=center cellspacing=1 cellpadding=3 class=i_table>
<tr><td class=head colspan=4><b>{#setbwd_new}</b></td></tr>
<tr class=b  align=center>
<td>{#setbwd_word}</td><td><input name=addword type=text size=40>
</td></tr>
<tr class=b  align=center>
<td>{#setbwd_replace}</td><td><input name=addreplace type=text size=40>
</td></tr>
</table><br>
<center><input type="submit" value="{#submit}" name="submit"></center>
</form>

<form action="$basename" method=post name="submit">
<input type=hidden name="action" value="update">
<input type=hidden name="type" value="0">
<table width=98% align=center cellspacing=1 cellpadding=3 class=i_table>
<tr><td class=head colspan=4>{#setbwd_title}</td></tr>
<tr class=head_2 align=center><td>{#setbwd_word}</td><td>{#setbwd_replace}</td><td>{#setbwd_del}</td></tr>
<!--
EOT;
foreach($replacedb as $key => $value){print <<<EOT
-->
<tr class=b align=center>
<td><input name="wordfind[$value[id]]" type=text size=40 value="$value[word]"></td>
<td><input name="wordreplace[$value[id]]" type=text size=40 value="$value[wordreplace]"></td>
<td><input type=checkbox name="worddel[]"  value="$value[id]" value= size=4></td></tr>
<!--
EOT;
}print <<<EOT
-->
</td></tr></table><br>
<center><input type="submit" value="{#submit}" name="submit"></center>
</form>
<form action=$basename method=post name="add">
<input type=hidden name="action" value="add">
<input type=hidden name="type" value="0">
<table width=70% align=center cellspacing=1 cellpadding=3 class=i_table>
<tr><td class=head colspan=4><b>{#setbwd_new}</b></td></tr>
<tr class=b  align=center>
<td>{#setbwd_word}</td><td><input name="addword" type="text" size="40">
</td></tr>
<tr class=b  align=center>
<td>{#setbwd_replace}</td><td><input name="addreplace" type="text" size="40">
</td></tr>
</table><br>
<center><input type="submit" value="{#submit}" name="submit"></center>
</form>
<!--
EOT;
include_once PrintEot('adminbottom');
?>
-->