<?php $f=$_GET['f']?$_GET['f']:($_SERVER['HTTP_REFERER']?$_SERVER['HTTP_REFERER']:SITE_URL);?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$seo['title']}</title>
<meta name="keywords" content="{$seo['keywords']}" />
<meta name="description" content="{$seo['description']}" />
<link type="text/css" rel="stylesheet" href="{$pe['host_tpl']}css/base.css"  />
<script type="text/javascript" src="{$pe['host_root']}include/js/jquery.js"></script>
<SCRIPT type="text/javascript">
$(document).ready(function () {
	$("#form1").submit(function () {
        if ($.trim($("#LoginName").val()) == "" || $.trim($("#Password").val()) == "") {
            $(".tips-erro").show().text("必须输入登录帐号和密码！");
            return false;
        }
    });
});
</SCRIPT>
</head>
<BODY class=login-wl>
<DIV class="header clearfix">
	<DIV class="top g24">
		<H1 class="logo fl"><A title="推广平台" href="{$pe['host_root']}">推广平台</A></H1>
	</DIV>
</DIV>
<DIV class="bodyer clearfix">
	<DIV class="login re">
		<DIV class="loginBox fr">
			<DIV class=hd><H4>亿推推分销联盟登录</H4></DIV>
			<DIV class=bd>
				<FORM id="form1" method="post" name="form1" action="{$pe['host_root']}user.php?mod=do&act=loginsql">
					<INPUT id=ac value="{$f}" type=hidden name="f"> 
					<DIV style="DISPLAY:none;" class="tips-erro"></DIV>
					<DIV class="field">
						<LABEL for=userName>帐号：</LABEL>
						<INPUT id="LoginName" class="text" maxLength=30 type="text" name="login[user_name]">
					</DIV>
					<DIV class="field">
						<LABEL for=password>密码：</LABEL>
						<INPUT id="Password" class="text" maxLength=30 type="password" name="login[user_pw]"> 
					</DIV>
					<DIV class="submit">
					  <INPUT class="submitBtn" type="submit" id="login" value=" " >&nbsp;&nbsp;&nbsp;&nbsp;
                      <A title="忘了密码？"href="{pe_url('page-getpw')}" target=_blank onclick="return dialog(this, '找回密码', 800, 200)">忘了密码？ 
					</DIV>
				</FORM>
			</DIV>
			<DIV class="ft">
				<P class="ft-text">
                <A title="免费注册" href="{$pe['host_root']}index.php/page/register" target=_blank>免费注册</A>&nbsp;|&nbsp;需要邮件激活
                </P>
			</DIV>
		</DIV>
	</DIV>
</DIV>
<!--{include(pe_tpl('cps_footer.html'))}-->
</BODY>
</html>