You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
230 lines
7.5 KiB
230 lines
7.5 KiB
<!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>
|
|
{/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}
|
|
{literal}
|
|
if (window.parent != window)
|
|
{
|
|
window.top.location.href = location.href;
|
|
}
|
|
{/literal}
|
|
//-->
|
|
</script>
|
|
|
|
<script type="text/javascript" src="vk_loader.js?vk_layout=ZW%20Shona&vk_skin=flat_gray" ></script>
|
|
|
|
<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;
|
|
}
|
|
.relative{ position:relative;}
|
|
input.capital{ width:125px; min-width:30px; height:24px; border:none; margin:0px; padding:0px 3px; float:left; border-radius:4px;}
|
|
.code{ background-color: #FFFFFF;width: 120px;height: 36px;border: solid 1px #ddd;padding:2px 4px;border-radius: 4px;position: absolute;z-index: 9;top: -48px;left: 0px;display: none;box-shadow: 0 1px 2px 1px rgba(0,0,0,0.25);}
|
|
.code .arrow{background: url(images/login_code.gif) no-repeat 0 0;display: block;width: 14px;height: 7px;position: absolute;left: 12px;bottom: -7px;}
|
|
.code img{ cursor:pointer;}
|
|
</style>
|
|
</head>
|
|
<body style="background:url(images/bg.jpg) repeat-x top center #ededed;" >
|
|
<form method="post" action="privilege.php" name='theForm' 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" valign="middle" style="font-size: 38px; color: #239ad2; font-weight: bold;"><img src="images/logo.jpg" style="border:none; display:none; margin-top:15px; text-align:center;" />民生商城</td>
|
|
</tr>
|
|
<tr>
|
|
<td height="201" align="center" ><table width="328" height="180">
|
|
<tr>
|
|
<td width="131">{$lang.label_username}</td>
|
|
<td colspan="2"><input type="text" name="username" style=" width:216px; height:24px;line-height:24px; float:left; background:url(images/txtbg.png) no-repeat; border:none; margin:0px; padding:0px 3px;" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td>{$lang.label_password}</td>
|
|
<td colspan="2" style="position:relative;"><input type="password" id="text" onfocus="VirtualKeyboard.attachInput(this)" name="password" style=" width:216px; line-height:24px; margin:0px; height:24px; background:url(images/txtbg.png) no-repeat; border:none; padding:0px 3px;" /><div onclick="VirtualKeyboard.toggle('text','td'); return false;" style="width:27px; height:17px; background:url(images/jianpan.png) no-repeat; cursor:pointer; position:absolute; top:7px; right:3px;"></div>
|
|
<div id="td" style="position:absolute; top:40px; left:-226px; z-index:999"></div>
|
|
</td>
|
|
</tr>
|
|
{if $gd_version > 0}
|
|
<tr>
|
|
<td>{$lang.label_captcha}</td>
|
|
<td colspan="2" class="relative">
|
|
<div class="code">
|
|
<div class="arrow"></div>
|
|
<div class="code_img"><img src="privilege.php?act=captcha&{$random}" alt="captcha" id="authcode_img" onClick="this.src='privilege.php?act=captcha&'+Math.random()" /></div>
|
|
</div>
|
|
<input type="text" name="captcha" class="capital" />
|
|
</td>
|
|
</tr>
|
|
{/if}
|
|
<tr>
|
|
<td align="right"> </td>
|
|
<td colspan="2" align="left"><input type="checkbox" value="1" name="remember" id="remember"/>
|
|
<label for="remember">{$lang.remember}</label></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3"></td>
|
|
</tr>
|
|
<tr>
|
|
<td height="34"> </td>
|
|
<td colspan="2" align="left"><input type="submit" value="{$lang.signin_now}" class="button" style="background:url(images/btn.jpg); width:118px; height:28px; padding:0; color:#FFF; line-height:28px; border:none;" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3" align="center" >» <a href="../" style="color:#727272">{$lang.back_home}</a> » <a href="get_password.php?act=forget_pwd" style="color:#727272">{$lang.forget_pwd}</a></td>
|
|
</tr>
|
|
</table></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" style="padding-left: 50px"> </td>
|
|
</tr>
|
|
</table>
|
|
<input type="hidden" name="act" value="signin" />
|
|
</form>
|
|
<script language="JavaScript">
|
|
<!--
|
|
$(function(){
|
|
$(".capital").focus(function(){
|
|
$(this).prev().show();
|
|
});
|
|
$(".code_img,.capital").click(function(event){
|
|
$(document).click(function(){
|
|
$('.code').hide();
|
|
})
|
|
event.stopPropagation();
|
|
})
|
|
});
|
|
|
|
document.forms['theForm'].elements['username'].focus();
|
|
{literal}
|
|
/**
|
|
* 检查表单输入的内容
|
|
*/
|
|
function validate()
|
|
{
|
|
var validator = new Validator('theForm');
|
|
if (document.forms['theForm'].elements['captcha'])
|
|
{
|
|
validator.required('captcha', captcha_empty);
|
|
}
|
|
validator.required('username', user_name_empty);
|
|
//validator.required('password', password_empty);
|
|
return validator.passed();
|
|
}
|
|
{/literal}
|
|
//-->
|
|
</script>
|
|
</body>
|
|
|