|
|
|
|
<!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>
|
|
|
|
|
<title>{$lang.cp_home}{if $ur_here} - {$ur_here}{/if}</title>
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
|
|
<link href="styles/general.css" rel="stylesheet" type="text/css" />
|
|
|
|
|
<link href="styles/main.css" rel="stylesheet" type="text/css" />
|
|
|
|
|
<script src="js/jquery.min.js" type="text/javascript"></script>
|
|
|
|
|
<script src="js/jquery.SuperSlide.2.1.1.js" type="text/javascript"></script>
|
|
|
|
|
{literal}
|
|
|
|
|
<style type="text/css">
|
|
|
|
|
body {
|
|
|
|
|
color: white;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<style type="text/css">
|
|
|
|
|
/* css 重置 */
|
|
|
|
|
|
|
|
|
|
* {
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
list-style: none;
|
|
|
|
|
}
|
|
|
|
|
body {
|
|
|
|
|
background: #fff;
|
|
|
|
|
font: normal 12px/22px 宋体;
|
|
|
|
|
}
|
|
|
|
|
img {
|
|
|
|
|
border: 0;
|
|
|
|
|
}
|
|
|
|
|
a {
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
color: #333;
|
|
|
|
|
}
|
|
|
|
|
/* 本例子css */
|
|
|
|
|
.slideBox {
|
|
|
|
|
width: 1002px;
|
|
|
|
|
height: 440px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
margin:0px auto;
|
|
|
|
|
margin-top:100px;
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
.slideBox .hd {
|
|
|
|
|
height: 15px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 480px;
|
|
|
|
|
bottom: 5px;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
}
|
|
|
|
|
.slideBox .hd ul {
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
zoom: 1;
|
|
|
|
|
float: left;
|
|
|
|
|
}
|
|
|
|
|
.slideBox .hd ul li {
|
|
|
|
|
float: left;
|
|
|
|
|
margin-right: 4px;
|
|
|
|
|
width: 12px;
|
|
|
|
|
height: 12px;
|
|
|
|
|
line-height: 14px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
background: #fff;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
-moz-border-radius: 15px; /* Gecko browsers */
|
|
|
|
|
-webkit-border-radius: 15px; /* Webkit browsers */
|
|
|
|
|
border-radius:15px; /* W3C syntax */
|
|
|
|
|
}
|
|
|
|
|
.slideBox .hd ul li.on {
|
|
|
|
|
background: #3f93e1;
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
.slideBox .bd {
|
|
|
|
|
position: relative;
|
|
|
|
|
height: 100%;
|
|
|
|
|
z-index: 0;
|
|
|
|
|
}
|
|
|
|
|
.slideBox .bd li {
|
|
|
|
|
text-indent:-100em;
|
|
|
|
|
zoom: 1;
|
|
|
|
|
vertical-align: middle;
|
|
|
|
|
}
|
|
|
|
|
.slideBox .bd img {
|
|
|
|
|
width: 1002px;
|
|
|
|
|
height: 440px;
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
/* 下面是前/后按钮代码,如果不需要删除即可 */
|
|
|
|
|
.slideBox .prev, .slideBox .next {
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 3%;
|
|
|
|
|
top: 50%;
|
|
|
|
|
margin-top: -25px;
|
|
|
|
|
display: block;
|
|
|
|
|
width: 32px;
|
|
|
|
|
height: 40px;
|
|
|
|
|
background: url(../images/slider-arrow.png) -110px 5px no-repeat;
|
|
|
|
|
filter: alpha(opacity=50);
|
|
|
|
|
opacity: 0.5;
|
|
|
|
|
}
|
|
|
|
|
.slideBox .next {
|
|
|
|
|
left: auto;
|
|
|
|
|
right: 3%;
|
|
|
|
|
background-position: 8px 5px;
|
|
|
|
|
}
|
|
|
|
|
.slideBox .prev:hover, .slideBox .next:hover {
|
|
|
|
|
filter: alpha(opacity=100);
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
.slideBox .prevStop {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
.slideBox .nextStop {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
{/literal}
|
|
|
|
|
{insert_scripts files="../js/utils.js,validator.js"}
|
|
|
|
|
<script language="JavaScript">
|
|
|
|
|
<!--
|
|
|
|
|
// 这里把JS用到的所有语言都赋值到这里
|
|
|
|
|
{foreach from=$lang.js_languages key=key item=item}
|
|
|
|
|
var {$key} = "{$item}";
|
|
|
|
|
{/foreach}
|
|
|
|
|
//-->
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
<body style="background:url(images/bg.jpg) repeat-x top center #ededed;">
|
|
|
|
|
|
|
|
|
|
{if $form_act eq "forget_pwd"}
|
|
|
|
|
<form action="get_password.php" method="post" name="submitAdmin" onsubmit="return validate()">
|
|
|
|
|
<table cellspacing="0" cellpadding="0" style="width:521px; height:327px;background:url(images/loginbg.png); color:#727272; font-size:#727272; margin:auto; margin-top:212px;" align="center">
|
|
|
|
|
<tr>
|
|
|
|
|
<td height="99" align="center"><img src="images/logo.jpg" style="border:none; display:block; margin-top:15px; text-align:center;"/></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td align="center" valign="top"><table>
|
|
|
|
|
<tr>
|
|
|
|
|
<td height="25" colspan="2" align="center"><h3>{$lang.get_newpassword}</h3></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td width="100" height="35">{$lang.user_name}:</td>
|
|
|
|
|
<td><input type="text" name="user_name" style="width:216px; height:24px; padding:0; line-height:24px; background:url(images/txtbg.png) no-repeat; border:none; padding:0px 3px;" maxlength="20" size="30"/>
|
|
|
|
|
{$lang.require_field} </td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td width="100" height="34">{$lang.email}:</td>
|
|
|
|
|
<td><input type="text" name="email" size="30" style="width:216px; height:24px; padding:0; line-height:24px; background:url(images/txtbg.png) no-repeat; border:none; padding:0px 3px;" />
|
|
|
|
|
{$lang.require_field} </td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td height="32"> </td>
|
|
|
|
|
<td><input type="hidden" name="action" value="get_pwd" />
|
|
|
|
|
<input type="hidden" name="act" value="forget_pwd" />
|
|
|
|
|
<input type="submit" value="{$lang.click_button}" style="background:url(images/btn.jpg); color:#FFF; height:28px; line-height:28px; padding:0; width:60px; float:left; display:block;" class="button" />
|
|
|
|
|
<input type="reset" value="{$lang.reset_button}" class="button" style="background:url(images/btn.jpg); color:#FFF; height:28px; line-height:28px; padding:0; width:60px; float:left; display:block;" /></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td align="center"> </td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</form>
|
|
|
|
|
{/if}
|
|
|
|
|
{if $form_act eq "reset_pwd"}
|
|
|
|
|
<form action="get_password.php" method="post" name="submitPwd" onsubmit="return validate2()">
|
|
|
|
|
|
|
|
|
|
<table cellspacing="0" cellpadding="0" style="width:521px; height:327px;background:url(images/loginbg.png); color:#727272; font-size:#727272; margin:auto; margin-top:212px;" align="center">
|
|
|
|
|
<tr>
|
|
|
|
|
<td height="99" align="center"><img src="images/logo.jpg" style="border:none; display:block; margin-top:15px; text-align:center;"/></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td align="center" valign="top"><table>
|
|
|
|
|
<tr>
|
|
|
|
|
<td height="25" colspan="2" align="center"><h3>{$lang.get_newpassword}</h3></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td width="100" height="35">{$lang.enter_admin_pwd}:</td>
|
|
|
|
|
<td><input type="password" name="password" size="30" style="width:216px; height:24px; padding:0; line-height:24px; background:url(images/txtbg.png) no-repeat; border:none; padding:0px 3px;"/>{$lang.require_field}</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td width="100" height="34">{$lang.confirm_admin_pwd}:</td>
|
|
|
|
|
<td><input type="password" name="confirm_pwd" size="30" style="width:216px; height:24px; padding:0; line-height:24px; background:url(images/txtbg.png) no-repeat; border:none; padding:0px 3px;" />{$lang.require_field}</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td height="32"> </td>
|
|
|
|
|
<td>
|
|
|
|
|
<input type="hidden" name="action" value="reset_pwd" />
|
|
|
|
|
<input type="hidden" name="act" value="forget_pwd" />
|
|
|
|
|
<input type="hidden" name="adminid" value="{$adminid}" />
|
|
|
|
|
<input type="hidden" name="code" value="{$code}" />
|
|
|
|
|
<input type="submit" value="{$lang.click_button}" class="button" />
|
|
|
|
|
<input type="reset" value="{$lang.reset_button}" class="button" />
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td align="center"> </td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</form>
|
|
|
|
|
{/if}
|
|
|
|
|
{literal}
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
<!--
|
|
|
|
|
/**
|
|
|
|
|
* 检查表单输入的数据
|
|
|
|
|
*/
|
|
|
|
|
function validate()
|
|
|
|
|
{
|
|
|
|
|
validator = new Validator("submitAdmin");
|
|
|
|
|
validator.required("user_name", user_name_empty);
|
|
|
|
|
validator.required("email", email_empty, 1);
|
|
|
|
|
validator.isEmail("email", email_error);
|
|
|
|
|
|
|
|
|
|
return validator.passed();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function validate2()
|
|
|
|
|
{
|
|
|
|
|
validator = new Validator("submitPwd");
|
|
|
|
|
validator.required("password", admin_pwd_empty);
|
|
|
|
|
validator.required("confirm_pwd", confirm_pwd_empty);
|
|
|
|
|
if (document.forms['submitPwd'].elements['confirm_pwd'].value.length > 0)
|
|
|
|
|
{
|
|
|
|
|
validator.eqaul("password","confirm_pwd", both_pwd_error);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return validator.passed();
|
|
|
|
|
}
|
|
|
|
|
//-->
|
|
|
|
|
</script>
|
|
|
|
|
{/literal}
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|