<!--<?php
include_once PrintEot('left');
if(empty($action)){
print <<<EOT
-->
<form action="$basename&action=see" method="post">
<table cellspacing=1 cellpadding=3 width=98% align=center class=i_table>
<tr>
<td class=head align=left colspan=2>
{#style_set}
</td></tr>
<tr class=b>
<td>{#style_seecheck}</td>
<td><INPUT type=radio value=1 $open_seecheck name=setting_seecheck>{#_yes} &nbsp;&nbsp;<INPUT type=radio value=0 $close_seecheck name=setting_seecheck>{#_no} <input type=submit value="{#submit}"></td>
</tr></form>
<tr class=b><td>{#style_add}</td>
<td><a href="$basename&action=add"><b>{#style_add}</b></a></td></tr>
<tr class=b><td>{#style_edit}</td><td>
<form action="$basename&action=edit" method="post"> 
{$get_style}
<input type=submit value="{#submit}">
</form></td></tr>
<tr class=b><td>{#style_del}</td><td>
<form action="$basename" method="post">
<input type=hidden name="job" value="submit">
<input type=hidden name="skin" value=$skin> 
{$get_style}
<input type=submit value="{#submit}"></td></tr></table><br></td></tr></form>
<form action="$basename&action=editcss" method="post">
<tr><td align=center>
<table cellspacing=1 cellpadding=3 width=98% align=center class=i_table>
<tr>
<td class=head valign=middle align=left>
{#style_editcss}
</td></tr>
<tr>
<td class=b valign=middle align=left>
{#style_help}
</td></tr><tr>
<td valign=middle align=center class=b>
<textarea  name=style_css rows=12 cols=95 style="background-color:#F0F0f3; border: 1 double #B4B4B4" title="{#style_title}">
{$style_css}</textarea><br><input type=hidden name="tplpath" value="$tplpath"><input type=submit value="{#submit}">
</td></tr>
</table></td></tr></form>
<!--
EOT;
}elseif(($action=='add'||$action=='edit')&&$job!="submit"){
print <<<EOT
-->
<br>
<table cellspacing=1 cellpadding=3 width=98% align=center class=i_table>
<tr><td class=head align=center colspan=2>
{#style_core}</td></tr>
<form action="$basename" method="post">
<input type=hidden name="action" value="$action">
<input type=hidden name="job" value="submit">
<input type=hidden name="stylefile" value=$stylefile>
<tr class=b><td>{#style_file}</td><td>$stylefile</td></tr>
<tr class=b>
<td>{#style_path}</td>
<td><INPUT size=35 value="$stylepath" name=setting[0]></td>
</tr>
<tr class=b><td>{#style_tplpath}</td>
<td><INPUT size=35  value="$tplpath" name=setting[1]></td>
</tr>
<tr class=b>
<td>{#style_yeyestyle}</td>
<td><INPUT size=35 value="$yeyestyle" name=setting[2]></td>
</tr>
<tr class=b><td>{#style_tablecolor}</td>
<td><INPUT size=35 value="$tablecolor" name=setting[3]></td>
</tr>
<tr class=b><td>{#style_width}</td>
<td><INPUT size=35 value="$tablewidth" name=setting[4]></td>
</tr>
<tr class=b><td>{#style_mwidth}</td>
<td><INPUT size=35 value="$mtablewidth" name=setting[5]></td>
</tr>
<tr class=b>
<td>{#style_forumcolorone}</td>
<td><INPUT size=35 value="$forumcolorone" name=setting[6]></td>
</tr>
<tr class=b>
<td>{#style_forumcolortwo}</td>
<td><INPUT size=35 value="$forumcolortwo" name=setting[7]></td>
</tr>
<tr class=b>
<td>{#style_threadcolorone}</td>
<td><INPUT size=35 value="$threadcolorone" name=setting[8]></td>
</tr>
<tr class=b>
<td>{#style_threadcolortwo}</td>
<td><INPUT size=35 value="$threadcolortwo" name=setting[9]></td>
</tr>
<tr class=b>
<td>{#style_readcolorone}</td>
<td><INPUT size=35 value="$readcolorone" name=setting[10]></td>
</tr>
<tr class=b>
<td>{#style_readcolortwo}</td>
<td><INPUT size=35 value="$readcolortwo" name=setting[11]></td>
</tr>
<tr class=b>
<td>{#style_maincolor}</td>
<td><INPUT size=35 value="$maincolor" name=setting[12]></td>
</tr>
<tr class=head_2><td colspan=2 align=center ><input type=submit value="{#submit}">
<input type=reset value="{#reset}">
</tr></form></td></tr>
</table>
<!--
EOT;
}
include_once PrintEot('adminbottom');
?>
-->