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

<form method="post" action="$basename">
<table cellspacing="1" cellpadding="5" border="0" width="98%" align="center" class=i_table>
<tr class=i_table><td colspan="6" class=head>{#postcache_action}</td></tr>
<tr class=head_2 align=center>
<td width="5%">ID</td><td>{#postcache_act_name}</td><td >{#postcache_act_info}</td>
<td>{#postcache_name}</td><td>{#postcache_pic}</td><td width="45">{#postcache_del}</td></tr>
<!--
EOT;
$num=0;
foreach($motiondb as $motion){
$num++;
print <<<EOT
-->
<tr align=center><td class=b>$num</td><td class=b>$motion[name]</td>
<td class=b>$motion[descrip]</td>
<td class=b>$motion[images]</td>
<td class=b><img width=30 height=30 src="$imgpath/post/act/$motion[images]"></td>
<td class=b><input type='checkbox' name='delid[]' value='$motion[id]'></td>
</tr>
<!--
EOT;
}print <<<EOT
-->
</table>
<input name=action type=hidden value="delete">
<input name="table" type=hidden value="pw_actions">
<br><center><input type="button" name="chkall" value="{#sel_all}" onclick="CheckAll(this.form)"><input type="submit" name="delete" value="{#submit}"></center>
</form>
<form method="post" action="$basename">
<table cellspacing="1" cellpadding="5" border="0" width="50%" align="center" class=i_table>
<tr><td colspan="2" class=head>{#postcache_add_act}</td></tr>
<tr class=b>
<td width="21%" >{#postcache_act_name}</td>
<td width="79%"><input type="text" size="45" name="motion1"></td>
</tr>
<tr class=b>
<td width="21%">{#postcache_act_info}</td><td width="79%">
<input type="text" size="45" name="motion2"></td></tr>
<tr class=b>
<td width="21%">{#postcache_name}</td>
<td width="79%"><input type="text" size="45" name="motion3"></td>
</tr>
<input name=action type=hidden value="addact">
</table>
<center><input type="submit" name="add" value="{#submit}"></center></form>

<form method="post" action="$basename">
<table cellspacing="1" cellpadding="5" border="0" width="60%" align="center" class=i_table>
<tr><td colspan="4" class=head>{#postcache_montion}</td></tr>
<tr class=head_2><td align=center width="5%">ID</td>
<td align=center>{#postcache_name}</td><td align=center>{#postcache_pic}</td>
<td align=left width="5%">{#postcache_del}</td></tr>
<!--
EOT;
$num=0;
foreach($facedb as $face){
$num++;
print <<<EOT
-->
<tr><td class=b align=center>$num</td>
<td class=b align=center>$face[image]</td>
<td class=b align=center><img src="$imgpath/post/smile/$face[image]"></td>
<td class=b ><input type='checkbox' name='delid[]' value='$face[id]'></td></tr>
<!--
EOT;
}print <<<EOT
-->
</table>
<input name=action type=hidden value="delete">
<input name="table" type=hidden value="pw_smiles">
<br><center><input type="button" name="chkall" value="{#sel_all}" onclick="CheckAll(this.form)"><input type="submit" name="delete" value="{#submit}"></center>
</form>
<form method="post" action="$basename">
<table cellspacing="0" cellpadding="1" border="0" width="30%" align="center" class=i_table>
<tr><td align="center">
<table border="0" cellspacing="0" cellpadding="4" width="100%" class=b>
<tr><td colspan="2" class=head>{#postcache_add_montion}</td></tr>
<tr class=head_2>
<td width="40%" >{#postcache_name}</td>
<td width="60%"><input type="text" size="20" name="face1"></td>
</tr>
<input name=action type=hidden value="addface">
</table></td></tr></table>
<center>
<input type="submit" name="add" value="{#submit}"></center>
</form>
<!--
EOT;
include_once PrintEot('adminbottom');
?>
-->