<!--<?php
include_once PrintEot('left');
if (empty($action)){
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><br>
<ul>
{#rightset_info}
</ul>
<br></td></tr></table><br>

<table width=70% align=center cellspacing=0 cellpadding=0 class=i_table>
<tr><td><table width=100% cellspacing=1 cellpadding=3>
<tr><td class=head colspan=5>{#rightset_title}</td></tr>
<tr align=center class=head_2><td width=5%>ID</td><td>{#rightset_name}</td><td width=10%>{#rightset_edit}</td></tr>
<!--
EOT;
foreach($groupdb as $group){
print <<<EOT
-->
<tr align=center class=b><td>$group[gid]</td><td>$group[gptitle]</td>
<td><input type=button value='{#rightset_right}' onclick=location.href='$basename&action=edit&gid=$group[gid]'>
</td></tr>
<!--
EOT;
}print <<<EOT
-->
</table></td></tr></table>
<!--
EOT;
} elseif($action=='edit'){
print <<<EOT
-->
<br><br><form action="$basename&action=edit&gid=$gid&step=2&" method=post>
<table width=60% align=center cellspacing=0 cellpadding=0 class=i_table>
<tr><td><table width=100% cellspacing=1 cellpadding=3>
<tr><td class=head colspan=2>{#rightset_control}</td></tr>
$rightselect
</table></td></tr></table>
<br><center><input type=submit value='{#submit}'></center>
</form>
<!--
EOT;
}
include_once PrintEot('adminbottom');
?>
-->