本站Fastlogin分享

| |
[不指定 2010-1-25 17:11 | by 权子 ]
Highslide JS

步骤:

一、下载附件里的.blog

二、.blog解码后源码:
global $userdetail,$logstat,$config,$lnc,$permission;

$validation = $config['loginvalidation'];
$rand=rand (0,100000);
if ( $validation =='1'){
$spic = "";
$epic = "";
}else{
$spic = "<!--";
$epic = "-->";
}

$urlreturn=($_SERVER['QUERY_STRING']<>'') ? $_SERVER['PHP_SELF']."?".$_SERVER['QUERY_STRING'] : $_SERVER['PHP_SELF'];
if ($logstat == 1){
$qlm_content="<a href='login.php?job=logout'>{$lnc[78]}</a><br/>";
$qlm_content.="<a href='login.php?job=modpro'>{$lnc[90]}</a><br/>";
$qlm_content.=($permission['CP']==1) ? "<a href='admin.php'>{$lnc[107]}</a><br/>" : '';
$qlm_content.=($permission['AddEntry']==1) ? "<a href='admin.php?act=edit'>{$lnc[108]}</a><br/>" : '';
$qlm_content.=($permission['ApplyLink']==1) ? "<a href='login.php?job=applylink'>{$lnc[109]}</a><br/>" : '';
$qlm_content.="<img src=template/nightdream/images/validcss-mini.gif> <a href='feed.php'><font color=#FF9900>{$lnc[286]}</font></a> <img src=template/nightdream/images/validhtml-mini.gif> <a href='feed.php?go=comment'><font color=#80c43d>{$lnc[287]}</font></a> <img src=template/nightdream/images/sitemap-mini.gif> <a href='http://www.kumoo.net/sitemap.php'><font color=#3ba5cf>Sitemap</font></a><br><img src=template/nightdream/images/rss-mini.gif> <a href=\"http://validator.w3.org/check?uri=referer\" target=\"_blank\"><font color=#FFCC33>XHTML</font></a>";

$flogin=<<<eot
<div style="padding-left:6px"><img src=template/nightdream/images/starred.gif><b><u>{$userdetail['username']}</u></b><br />
欢迎您的登录:<br /><br />
{$qlm_content}
</div>
eot;

$phpreturn=$flogin;
}else{
$phpreturn=<<<eot
<script language="JavaScript" type="text/javascript">
function refreshsecuritycode(areaid, inputid) {
if (document.getElementById(areaid)) {
var rnds=Math.random();
document.getElementById(areaid).innerHTML="<img src='inc/securitycode.php?rand="+rnds+"' alt=''/>";
}
if (document.getElementById(inputid)) document.getElementById(inputid).value='';
}
</script>
<form name="fm1" method="post" action="login.php?job=verify">
<table cellspacing="1" width="95%" align="center" class="formbox">
<br><div class="dlld"><input name="Submit" type="submit" id="Submit" value="登陆" class="go" /><span class="login"><input name="username" type="text" class="logi"/></span><br><span class="pass"><input name="password" type="password" class="logi"/></span></div>
$spic
<div class="seac"><span class="login1"><input name='securitycode' type='text' id='securitycode' size='4' class='logi' title="[{$lnc[250]}]" /></span> <span id='securityimagearea' class="logi">&nbsp<img src='inc/securitycode.php?rand={$rand}' onclick="this.src='inc/securitycode.php?rand={$rand}'" alt=''></span></div>
$epic
<tr>
<td width="95%"><input name="savecookie" type="checkbox" id="savecookie" value="1" checked='checked' />{$lnc[284]} | <A href="login.php?job=register">注册</A> | <A href="login.php?job=applylink">申请链接</A></div></td>
</tr>
<tr>
<td colspan="2" align="center">
</form>
</td>
</tr>
</table>
eot;
}


三、在风格的styles.css里添加(大小和颜色自己调):

/****** Zhuce ******/

.dlld {
  width:165px; padding-left:5px;}

.go {
  margin-right:5px;
  float:right;
  height:36px;
  width:36px;
  text-align:center;
  background:#535353;
  border-bottom:1px solid #000000;
  border-right:1px solid #000000;
  border-top:1px solid #737373;
  border-left:1px solid #737373;
  color:#EFEFEF;
  font-size:11.5px;
  font-family:Verdana, Arial, Helvetica, sans-serif;
}

.login {
  background:#E4E4E4 url(images/login.gif) no-repeat ;
  width:115px;
  height:15px;
  padding-left:28px;
  border-bottom:1px solid #C7C7C7;
  border-right:1px solid #C7C7C7;
  border-top:1px solid #848484;
  border-left:1px solid #848484;
  overflow:hidden;
}

.logi {
  height:14px;
  width:87px;
  border:0px;color:#515151;
  background: none;
}

.pass {
  background:#E4E4E4 url(images/pass.gif) no-repeat;
  height:15px;width:115px;
  padding-left:28px;
  border-bottom:1px solid #C7C7C7;
  border-right:1px solid #C7C7C7;
  border-top:1px solid #848484;
  border-left:1px solid #848484;
  overflow:hidden;
}

.baoc {
  height:15px;
  border-bottom:1px solid #C6C7C6;
  border-right:1px solid #C6C7C6;
  border-top:1px solid #848684;
  border-left:1px solid #848684;
  position:absolute;
  overflow:hidden
}

.zhuce {
  font-size:12px;
  border-top:none  !important ;
  border-top:3px solid #FFFFFF;

}
div#qTip {
  padding:3px;
  padding-top:3px   !important ;
  padding-top:5px;
  display: none;
  position: absolute;
  z-index: 1000;
  line-height:14px;
  font-size:12px;
  background:#171717;
  border:1px solid #999999;
color: #fff;filter:Alpha(opacity=70);
-moz-opacity:0.7;
}

.highlightit img{
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);
-moz-opacity: 0.5;
}
.highlightit1 img{
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=75);
-moz-opacity: 0.5;
}
.highlightit:hover img{
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);
-moz-opacity: 1;
}
.readmore{
               padding-top:2px;
               border: 1px solid #DADADA;
               background-color: #ffffff;
               font-family:"宋体","Tahoma";font-size:12px;color:#DADADA;
}

.seac {
  width:165px; padding-left:5px;
padding-bottom:5px;
}
.go1 {
  margin-right:5px;
  float:right;
  height:18px;
  width:36px;
  text-align:center;
  background:#535353;
  border-bottom:1px solid #000000;
  border-right:1px solid #000000;
  border-top:1px solid #737373;
  border-left:1px solid #737373;
  color:#EFEFEF;
  font-size:11.5px;
  font-family:Verdana, Arial, Helvetica, sans-serif;
}
.login1 {
  background:#E4E4E4 url(images/se.gif) no-repeat;
  width:115px;
  height:15px;
  padding-left:28px;
  border-bottom:1px solid #C7C7C7;
  border-right:1px solid #C7C7C7;
  border-top:1px solid #848484;
  border-left:1px solid #848484;
  overflow:hidden;
}


文件下载:
下载文件 (已下载 574 次)
Creative Commons License
Creative Commons License
本作品适用 署名-非商业性-禁止演绎 作品 CC 2.5 中国 并依循所适用的授权条款. 版权所有 © www.Quan.IM 早过忘川
Tags: , ,
学...知识学堂 | 评论(3) | 引用(0) | 阅读(5812)
Ingrid
2010-2-3 20:59
记住我,还有那两道竖线,是哪段控制的啊?
权子 回复于 2010-2-3 22:33
<td width="95%"><input name="savecookie" type="checkbox" id="savecookie" value="1" checked='checked' />{$lnc[284]} | <A href="login.php?job=register">注册</A> | <A href="login.php?job=applylink">申请链接</A></div></td>
Ingrid
2010-2-4 07:24
嗯,可能昨晚没说清楚,我是问CSS里面控制这部分样式的是哪段?
kiyu Homepage
2010-2-7 22:50
很符合你博客目前的模板,漂亮~
分页: 1/1 第一页 1 最后页