{if !$user_info['username']}
<table width="200" cellspacing="0" cellpadding="0" background="/cms_ppphp/images/skin/index/login_bg.gif" align="center">
	<tbody>
		<tr><td><img width="200" src="{W_P}images/skin/index/login_01.jpg"/></td></tr>
		<tr>
			<td width="200" valign="center" align="center">
				<table cellspacing="0" cellpadding="0">
					<tbody>
						<tr>
							<td width="65" height="25" align="right">用户名：</td>
							<td width="135"><input type="text" style="font-weight: bold; color: rgb(255, 51, 0);" size="15" id="username" name="username"/></td>
						</tr>
							<tr><td height="25" align="right">密  码：</td>
							<td><input type="password" style="font-weight: bold; color: rgb(255, 51, 0);" size="15" id="password" name="password"/></td>
						</tr>
							<tr><td height="25" align="right">Cookie：</td>
							<td>
								<select id="cookietime" name="cookietime">
									<option value="0">不保存</option>
									<option value="86400">保存一天</option>
									<option value="2592000">保存一月</option>
									<option value="31536000">保存一年</option>
								</select>
							</td>
						</tr>
						<tr>
							<td height="25" align="right"> </td>
							<td>
								<input type="hidden" value="1" name="login_iframe"/>
								<input type="button" onclick="checklogin();" value="登录" name="login"/>
								<input type="reset" value="清除" name="Submit"/>
							</td>
						</tr>
					</tbody>
				</table>
				<table width="200" cellspacing="0" cellpadding="0" border="0">
					<tbody>
						<tr>
							<td height="25" align="center"><img border="0" usemap="#Map" src="{W_P}images/skin/index/login_05.gif"/></td></tr><tr><td><img width="200" src="{W_P}images/skin/index/login_03.jpg"/></td>
						</tr>
					</tbody>
				</table>
			</td>
		</tr>
	</tbody>
</table>
<map id="Map" name="Map">
	<area target="_blank" href="{W_P}member/reg.php" coords="54,4,124,30" shape="rect"/>
	<area target="_blank" href="{W_P}member/reg.php" coords="145,22,15" shape="circle"/>
	<area target="_blank" href="{W_P}member/getpassword.php" coords="54,30,124,53" shape="rect"/>
</map>
{else}
<table cellSpacing=0 cellPadding=0 align=center width=200  background={W_P}images/skin/index/login_02.gif>
	<tr><td><IMG src={W_P}images/skin/index/login_01.jpg width=200></td></tr>
	<tr>
		<td width=200 vAlign=center align=middle>
			<table cellSpacing=0 cellPadding=0  width=200 border=0 background={W_P}images/skin/index/login_bg.gif>
				<tr><td width=80 height=22 align=right>{$user_info['username']}</td><td width=120>，欢迎您回来!</td></tr>
				<tr><td height=22 align=right>您的身份：</td><td><font color=red>{$user_info['groupname']}</font></td></tr>
				<tr><td height=22 align=right>计费方式：</td><td>扣点数</td></tr>
				<tr><td height=22 align=right>可用点数：</td><td><font color=blue><b>{$user_info['point']}</b></font>点</td></tr>
				<tr><td height=22 align=right>待签文章：</td><td><font color=blue><b>{$user_info['article_is_pass']}</b></font>篇</td></tr>
				<tr><td height=22 align=right>待签软件：</td><td><font color=blue><b>{$user_info['soft_is_pass']}</b></font>个</td></tr>
				<tr align=center>
					<td height=22 colspan=2><a href={W_P}member/index.php target=_blank>【控制面板】</a>&nbsp;&nbsp;<a href='javascript:logout();'>【注销登录】</a></td>
				</tr>
			</table>
			<table cellSpacing=0 cellPadding=0 width=200 border=0>
				<tr><td><IMG src={W_P}images/skin/index/login_03.jpg width=200></td></tr>
				<tr><td></td></tr>
			</table>
		</td>
	</tr>
</table>
{/if}