日志文章列表

2006年01月27日 21:24:28

修改官方的首页调用工具new.php使它支持主题颜色调用!


修改官方的首页调用工具new.php,让它也能支持调用原主题的标题颜色。

修改方法如下:

1、将

Copy code
$query   = $db->query("SELECT tid,fid,author,authorid,subject,postdate,hits,replies FROM pw_threads WHERE $sqladd ORDER BY $orderby DESC LIMIT 0, $num");

替换为:
Copy code
$query   = $db->query("SELECT tid,fid,titlefont,author,authorid,subject,postdate,hits,replies FROM pw_threads WHERE $sqladd ORDER BY $orderby DESC LIMIT 0, $num");//增加,titlefont


2、在
Copy code
$threads['subject'] = substrs($threads['subject'], $length);

的后面添上:
Copy code
//以下调用原主题的颜色样式 by www.laxjyj.com
    if ($threads['titlefont']){
    $titledetail=explode("~",$threads['titlefont']);
    if($titledetail[0])$threads['subject']="<font color=$titledetail[0]>$threads[subject]</font>";
    if($titledetail[1])$threads['subject']="<b>$threads[subject]</b>";
    if($titledetail[2])$threads['subject']="<i>$threads[subject]</i>";
    if($titledetail[3])$threads['subject']="<u>$threads[subject]</u>";
    }
//以上调用原主题的颜色样式 by www.laxjyj.com


以上即可完成对new.php的修改。
===========================================================
以下是修改原首页排行榜插件:http://www.phpwind.net/read.php?tid=62832的方法
1、将原贴中的
Copy code
$query = $db->query("SELECT tid,author,subject,postdate FROM pw_threads order by postdate desc limit 0,$listnum");

改成:
Copy code
$query = $db->query("SELECT tid,author,titlefont,subject,postdate FROM pw_threads order by postdate desc limit 0,$listnum");


2、在原贴的
Copy code
$threads[subject]=substrs($threads[subject],$listlength);

下面添加:

Copy code
    if ($threads['titlefont']){
    $titledetail=explode("~",$threads['titlefont']);
    if($titledetail[0])$threads['subject']="<font color=$titledetail[0]>$threads[subject]</font>";
    if($titledetail[1])$threads['subject']="<b>$threads[subject]</b>";
    if($titledetail[2])$threads['subject']="<i>$threads[subject]</i>";
    if($titledetail[3])$threads['subject']="<u>$threads[subject]</u>";
    }


以上两步仅能完成一类排行的颜色调用功能,其他类的排行类似。

类别: 无分类 |  评论(0) |  浏览(2443) |  收藏
2006年01月05日 07:55:04

[插件][修改自DZ]突破相册的图片防盗链功能 for PW

适用版本:所有PW版本,本贴以PW4为例
插件作者:原作者t1000,修改:东升
最后更新:2006-01-05
修改文件:bbscode.php
修改模版:read.htm、readtpl.htm、editor.htm、data\wind_editor.js

添加模板:无
安装难易:中

说明:
  安装后使用[simg]来显示图片,即使对方服务器采用了防盗链技术,也可以正常显示。
不生成任何临时文件。
  基本上php程序部分只负责获取图片,能转移的工作已经转移到客户端。所以,性能是可以接受的。另外,php部分不要求放在本机,放在免费空间也是不错的办法。

演示地址:http://bbs.laxjyj.com/read.php?tid=9578

备注:本插件在发表前已经得原作者同意!

安装方法:

1、上传压缩包中的getimg.php到主机空间,任意空间即可,假设地址为:http://site.com/getimg.php

2、修改bbscode.php
在if ($allow['pic']){
后面添加

Copy code
if(strpos($message,'[/simg]')!==false || strpos($message,'[/simg]')!==false){
  $message = preg_replace("/\[simg\](.+?)\[\/simg\]/is","<script language='javascript'>GetProtectImg('\\1');</script>",$message);
}

3、修改read.htm
在<!--<?php
$votedb && require_once PrintEot('vote');
print <<<EOT
-->
后面添加
Copy code
<script language=JavaScript>
function GetProtectImg(u){
var getu="http://site.com/getimg.php";//注意:其中getu的值要与getimg.php所在的地址一致。
var str_a;
var h;
var p;
var path;
var temp;
str_a=u.split("http://");
str_a=str_a[1].split("/");
h=str_a.shift();
path='/'+str_a.join('/');
temp=h.split(':');
h=temp[0];
p=(temp[1]!=null) ? temp[1] : 80;
getu+='?host='+h+'&port='+p+'&path='+path;
document.write('<img src='+getu+' border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=\'Click here to open new window\';}" onmouseover="if(this.resized) this.style.cursor=\'hand\';" onclick="if(this.resized) {window.open(this.src);}">');
}
</script>

如果论坛用到静态网页,还需要在readtpl.htm模板<body vlink='#333333' link='#333333'>
的后面添加上面的那段代码。

4、添加simg标签

 a、修改editor.htm模板

<img onClick=image() alt='插入图片' src='$imgpath/post/editor/image.gif' >
后面添加
<img onClick=simg() alt='插入相册图片' src='$imgpath/post/editor/simg.gif' >
 b、修改data\wind_editor.js文件

function image() {
前面添加
Copy code
function simg(){
  if (helpmode){
    alert('相册图片标记\n插入相册图片\n用法: [simg]http://www.phpwind.net/image/php.gif[/simg]');
  } else if (nomode || document.selection && document.selection.type == "Text") {
    AddTxt="[simg]"+text+"[/simg]";
    AddText(AddTxt);
  } else {
    txt=prompt('相册图片地址',"http://");
    if(txt!=null) {
        AddTxt="[simg]"+txt;
        AddText(AddTxt);
        AddTxt="[/simg]";
        AddText(AddTxt);
    }
  }
}

 c、上传标签用到的图片simg.gif到\image\post\editor目录下。

类别: 无分类 |  评论(0) |  浏览(2466) |  收藏
2005年12月05日 15:01:56

[下载]仿msn界面+在线聊天+点歌台信息+主题排行 for PW 4.X

演示:
http://bbs.laxjyj.com/index.php?skinco=msn

完全适合4.3.0商业版。


除主题排行需要修改index.php文件外,其余文件请按压缩文件中的目录上传到论坛的相应位置中即可。

附:
index.php文件的修改内容,压缩文件已经包含此文件。
查找:
require_once PrintEot('index');footer();

在它前面插入:

Copy code
$cachefile="./data/bbscache/indexhotpost.php";
$cachetime=300;//缓存修改时间单位秒
if (($timestamp-@filemtime($cachefile)>=$cachetime)){
  $listnum=10;//显示个数
  $listlength=54;//标题长度
  $newthreads=$replythreads="";
  $query = $db->query("SELECT tid,author,subject,postdate FROM pw_threads WHERE fid NOT IN(49,57,69) order by postdate desc limit 0,$listnum");
  while($threads=$db->fetch_array($query)){
    $threads[postdate]=date("Y-m-j g:i",$threads[postdate]);
    $threads[subject]=substrs($threads[subject],$listlength);
    $newthreads.="<a href='read.php?tid=$threads[tid]' TARGET=_blank title='作者:$threads[author] 发表:$threads[postdate]'>$threads[subject]</a><br />";
  }
  unset($threads);
  $query = $db->query("SELECT tid,author,subject,postdate,replies,lastpost,lastposter FROM pw_threads WHERE fid NOT IN(49,57,69) and replies>0 order by lastpost desc limit 0,$listnum");
  while($threads=$db->fetch_array($query)){
    $threads[postdate]=date("Y-m-j g:i",$threads[postdate]);
    $threads[lastpost]=date("Y-m-j g:i",$threads[lastpost]);
    $threads[subject]=substrs($threads[subject],$listlength);
    $replythreads.="<a href='read.php?tid=$threads[tid]' TARGET='_blank' title='作者:$threads[author]
发表:$threads[postdate]
跟贴:$threads[lastposter]
回复:$threads[lastpost]'>$threads[subject]</a><br>";
  }
  unset($threads);
  @writeover($cachefile,"<?php\n\$newthreads=\"$newthreads\";\n\$replythreads=\"$replythreads\";\n?>");
}else{
  @include($cachefile);
}


注:本风格和插件非本人原创!

类别: 无分类 |  评论(0) |  浏览(2462) |  收藏
2005年11月29日 11:44:07

〖插件参赛作品〗— 用户权限查询 For 3.x & 4.x

本插件系在本人的[hack]PW3.X用户权限查询,不增加系统查询数。(8.27更新)基础上修改而成。

插件信息:

Quote:

插件名称:用户权限查询

功能简介: 利用PW系统中的Cache文件进行用户权限查询,不增加系统查询数。

适用版本:PW 3.X & 4.x

作  者:东升
修改文件: 无
修改模板: index.htm
添加文件: 无
安装难度:易

演示地址:http://bbs.laxjyj.com/permission.php

增加查询:无

注意事项:使用前最好将论坛所有缓存数据刷新一次(论坛后台的“缓存数据管理”第一项),以后对等级进行调整时也需要刷新。


安装说明:

1、将附件中的文件解压缩后,上传permission.php文件到论坛根目录,即可直接调用运行。

2、为方便会员查看权限,建议修改index.htm模板文件,增加一个链接。
方法如下:
(1)打开\template\wind\index.htm模板文件;
(2)查找:
Copy code
您的等级:<b>$level</b>

替换为:
Copy code
您的等级:<a href="permission.php" title="查看用户权限"><b>$level</b></a>

类别: 无分类 |  评论(0) |  浏览(2415) |  收藏
2005年11月29日 11:44:07

〖插件参赛作品〗— 用户权限查询 For 3.x & 4.x

本插件系在本人的[hack]PW3.X用户权限查询,不增加系统查询数。(8.27更新)基础上修改而成。

插件信息:

Quote:

插件名称:用户权限查询

功能简介: 利用PW系统中的Cache文件进行用户权限查询,不增加系统查询数。

适用版本:PW 3.X & 4.x

作  者:东升
修改文件: 无
修改模板: index.htm
添加文件: 无
安装难度:易

演示地址:http://bbs.laxjyj.com/permission.php

增加查询:无

注意事项:使用前最好将论坛所有缓存数据刷新一次(论坛后台的“缓存数据管理”第一项),以后对等级进行调整时也需要刷新。


安装说明:

1、将附件中的文件解压缩后,上传permission.php文件到论坛根目录,即可直接调用运行。

2、为方便会员查看权限,建议修改index.htm模板文件,增加一个链接。
方法如下:
(1)打开\template\wind\index.htm模板文件;
(2)查找:
Copy code
您的等级:<b>$level</b>

替换为:
Copy code
您的等级:<a href="permission.php" title="查看用户权限"><b>$level</b></a>

类别: 无分类 |  评论(0) |  浏览(2402) |  收藏
2005年10月17日 17:07:00

pw4.X指定版块、指定图片类型添加水印的方法

postupload.php

找到:

Copy code
if($type == 'img' && $db_watermark && $img_size[0] > $db_waterwidth && $img_size[1] > $db_waterheight){


修改为:
Copy code
if(eregi("\.(jpg|jpeg|png|bmp)$",$atc_attachment_name) && $db_watermark && $img_size[0] > $db_waterwidth && $img_size[1] > $db_waterheight && ($fid==61||$fid==37)){



注:以上这一句代码根据需要,适当作些修改。
其中:

eregi("\.(jpg|jpeg|png|bmp)  为需要加水印的图片类型

&& ($fid==61||$fid==37) 后面的数字为版块的ID,请根据实际修改或添加版块ID。

类别: 无分类 |  评论(12) |  浏览(2922) |  收藏
2005年10月05日 11:45:22

[原创]让用户列表中的用户名支持模糊查询

演示:http://bbs.laxjyj.com/member.php?u=18
演示界面(以“韦”字作搜索的结果)


功能:让用户列表中的用户名支持模糊查询,使用表格输出。

说明:仅对原程序的查询语句增加一个判断,如果查询结果太多,仅能显示第一页。另外如果是汉字可能会出现一些多余的信息。

这个功能也不经常使用,所以大家按自己的需要进行修改吧!
修改方法很简单!

1、member.php
找到:

Copy code
$query = $db->query("SELECT m.uid,m.username,m.email,m.gender,m.regdate,m.oicq,m.site,m.location,md.postnum,md.digests,md.rvrc,md.money,md.thisvisit FROM pw_members m LEFT JOIN pw_memberdata md USING(uid) ORDER BY $orderby $asc LIMIT $start,$db_perpage");


改为:
Copy code
$query = empty($action)?$db->query("SELECT m.uid,m.username,m.email,m.gender,m.regdate,m.oicq,m.site,m.location,md.postnum,md.digests,md.rvrc,md.money,md.thisvisit FROM pw_members m LEFT JOIN pw_memberdata md USING(uid) ORDER BY $orderby $asc LIMIT $start,$db_perpage"):$db->query("SELECT m.uid,m.username,m.email,m.gender,m.regdate,m.oicq,m.site,m.location,md.postnum,md.digests,md.rvrc,md.money,md.thisvisit FROM pw_members m LEFT JOIN pw_memberdata md USING(uid) WHERE m.username LIKE '%$username%' ORDER BY $orderby $asc LIMIT $start,$db_perpage");




2、member.htm中
找到:
Copy code
<form name=seach action=profile.php method=post>

改为:
Copy code
<form name=seach action=member.php method=post>

类别: 无分类 |  评论(22) |  浏览(1956) |  收藏
2005年09月22日 11:01:13

PW3.X的控制面板首页[10.5修正]

演示网址:http://bbs.laxjyj.com/profile.php?u=18



适合版本:PW3.X
需要修改的文件:profile.php、showuserdb.htm、favor.htm、profile.htm,请根据需要决定是否安装。
修正:上传的代码因为没有关闭“自动分析url”造成源代码一些地方自动加上url标签,现已修正。

修改步骤:

1、论坛根目录:profile.php,找

Copy code
if (empty($action)) $action='modify';

替换为:
Copy code
if (empty($action)){//仿PW4.3的控制面板首页 for pw3.0 by http://bbs.laxjyj.com
    require_once('./header.php');
    require_once(R_P.'data/bbscache/bk_config.php');
    $sql="m.uid='$winddb[uid]'";

    $userdb = $db->get_one("SELECT m.*,md.postnum,md.digests,md.rvrc,md.money,md.credit,md.lastvisit,md.thisvisit,md.onlinetime,md.lastpost,md.todaypost,md.onlineip FROM pw_members m LEFT JOIN pw_memberdata md ON md.uid=m.uid WHERE $sql");

    $bankdb=$db->get_one("SELECT deposit,startdate,ddeposit,dstartdate FROM pw_memberinfo WHERE uid='$winduid'");

    if(!$bankdb){
        $bankdb['deposit']=$bankdb['ddeposit']=$bankdb['startdate']=0;
    }
    if($bankdb['startdate'] && $timestamp>$bankdb['startdate']){
        $accrual=round((floor(($timestamp-$bankdb['startdate'])/86400))*$bankdb['deposit']*$bk_rate/100);//银行利息
    } else{
        $accrual=0;
    }
    $credit=$db->query("SELECT m.value,c.name,c.description FROM pw_membercredit m LEFT JOIN pw_credits c ON c.cid=m.cid WHERE uid='$userdb[uid]'");
    if(!$userdb) {
        $errorname='';
        Showmsg('user_not_exists');
    } else{
        $userdb['rvrc']=floor($userdb['rvrc']/10);
    }
    if ($userdb['site'] && strpos($userdb['site'],"://")==false){
        $userdb['site']="http://$userdb[site]";
    }
    if($userdb['groupid']=='-1'){
        $systitle='';
    } else{
        $systitle=$ltitle[$userdb['groupid']];
    }
    isset($ltitle[$userdb['memberid']]) && $memtitle=$ltitle[$userdb['memberid']];

    $usericon=showfacedesign($userdb['icon']);
    $lasttime=get_date($userdb['lastvisit'],"Y-m-d");
    $show_regdate=get_date($userdb['regdate'],"Y-m-d");
    $tempintroduce=$userdb['introduce'];
    if($userdb['onlinetime']){
        $userdb['onlinetime']=floor($userdb['onlinetime']/3600);
    } else{
        $userdb['onlinetime']=0;
    }
    /////////收件箱
   
    $msgdb=array();

    $num=0;$readtype='read';
    $query = $db->query("SELECT mid,fromuid,touid,username,ifnew,title,mdate FROM pw_msg WHERE type='rebox' AND touid='$winduid' ORDER BY mdate DESC LIMIT 5");//$winddb[uid]
    while($msginfo=$db->fetch_array($query)){
        $num++;
        $msginfo['title']=substrs($msginfo['title'],35);
        $msginfo['mdate']=get_date($msginfo['mdate']);
        $msginfo['from']=$msginfo['username'];
        $msginfo['to']=$windid;
        $msgdb[]=$msginfo;        
    }
//收藏主题
include_once(R_P.'data/bbscache/forum_cache.php');
require R_P.'require/forum.php';
$favordb=array();
        $favor=$db->get_one("SELECT tids FROM pw_favors WHERE uid='$winddb[uid]'");
        if($favor['tids']){
              $query=$db->query("SELECT t.fid,t.tid,t.subject,t.postdate,t.author,t.replies,t.hits FROM pw_threads t WHERE t.tid IN($favor[tids]) ORDER BY t.postdate DESC LIMIT 5");
              while($favor=$db->fetch_array($query)){
                  $favor['postdate']=get_date($favor['postdate']);
                  $favor['forum']=$forum[$favor['fid']]['name'];
                  $favor['subject']=substrs($favor['subject'],35);
                  $favordb[]=$favor;
              }
        }
    require_once(PrintEot('profile'));footer();
}


2、修改模板文件:
在showuserdb.htm、favor.htm、profile.htm中,将
Copy code
<td width=25% class='f_one'>控制面板首页</td>
<td width=25% class='f_one'><a href='profile.php'>编辑个人资料</a></td>

改为:
Copy code
<td width=25% class='f_one'><a href='profile.php'>控制面板首页</a></td>
<td width=25% class='f_one'><a href='profile.php?action=modify'>编辑个人资料</a></td>



3、在profile.htm中找到(9.23修正)
Copy code
<form action='profile.php?' method=post onSubmit='return procheck(this)' name=creator enctype='multipart/form-data'>


替换为:
Copy code
<!--
EOT;
if(!$action){
//仿PW4.3的控制面板首页 for pw3.0 by http://bbs.laxjyj.com
print <<<EOT
-->

<table width='$tablewidth' cellspacing=1 cellpadding=4 align=center>
<tr><td width='23%' valign="top">
<table width='100%' cellspacing=1 cellpadding=4 align=center $i_table>
<tr><td class="head" align="center"><b>用户头像</b></td></tr>
<tr><td class="f_one" align="center">$usericon<br><br>
<a href='search.php?authorid=$userdb[uid]'>[我的主题]</a>
<a href='search.php?authorid=$userdb[uid]&digest=1'>[我的精华帖]</a>
</td></tr>
<tr><td class="head" align="center"><b>基本信息</b></td></tr>
<tr><td class="f_one">
用户名: $windid
<!--
EOT;
if($userdb[honor]){print <<<EOT
-->
($userdb[honor])
<!--
EOT;
}print <<<EOT
-->
<br>
<!--
EOT;
if($systitle){print <<<EOT
-->
系统头衔: $systitle<br>
<!--
EOT;
}print <<<EOT
-->
会员头衔: $memtitle<br>
精华: $userdb[digests]<br>
发帖: $userdb[postnum]<br>
$db_rvrcname: $userrvrc $db_rvrcunit<br>
$db_creditname: $userdb[credit] $db_creditunit<br>
在线时间: $userdb[onlinetime] 小时<br>
注册时间: $show_regdate<br>
最后登录: $lasttime<br>
</td></tr>

<tr><td class="head" align="center"><b>个人财产</b></td></tr>
<tr><td class="f_one">
$db_moneyname: $winddb[money] $db_moneyunit<br>
活期存款: $bankdb[deposit] $db_moneyunit<br>
活期利息:$accrual $db_moneyunit<br>
定期存款: $bankdb[ddeposit] $db_moneyunit
</td></tr>
</table>
</td><td valign="top">
<table width='100%' cellspacing=1 cellpadding=4 align=center $i_table>
<tr><td class="head" colspan="6"><b>最新五条短消息</b></td></tr>
<tr class="cbg" align="center">
<td width="5%">ID</td>
<td width="35%">标题</td>
<td width="15%">发件人</td>
<td width="15%">收件人</td>
<td width="20%">时间</td>
<td width="5%">已读</td></tr>
<!--
EOT;
$id=0;
foreach($msgdb as $key => $value){
$id++;
print <<<EOT
-->
<tr class="f_one" align="center">
<td>$id</td>
<td><a href="message.php?action=read&mid=$value[mid]" target="_blank">$value[title]</a></td>
<td><a href="profile.php?action=show&uid=$value[fromuid]">$value[username]</a></td>
<td><a href="profile.php?action=show&uid=$value[touid]">$value[to]</a></td>
<td>$value[mdate]</td>
<td>
<!--
EOT;
if($value['ifnew']){print <<<EOT
-->
<font color=red>否</font>
<!--
EOT;
}else{print <<<EOT
-->

<!--
EOT;
}print <<<EOT
-->
</td></tr>
<!--
EOT;
}print <<<EOT
-->
</table><br>
<table width='100%' cellspacing=1 cellpadding=4 align=center $i_table>
<tr><td class="head" colspan="5"><b>最新五个收藏主题</b></td></tr>
<tr class="cbg" align="center">
<td width="5%">ID</td>
<td width="35%">标题</td>
<td width="15%">论坛</td>
<td width="15%">作者</td>
<td width="25%">发表时间</td>
</tr>
<!--
EOT;
$id=0;
foreach($favordb as $key => $value){
$id++;
print <<<EOT
-->
<tr class="f_one" align="center">
<td>$id</td>
<td><a href="read.php?tid=$value[tid]" target="_blank">$value[subject]</a></td>
<td><a href="thread.php?fid=$value[fid]">$value[forum]</a></td>
<td><a href="profile.php?action=show&uid=$value[authorid]">$value[author]</a></td>
<td>$value[postdate]</td>
</tr>
<!--
EOT;
}print <<<EOT
-->
</table>
<!--以下Google广告代码,主要为了给表格底部平整-->
<br>
<center>
<script type="text/javascript"><!--
google_ad_client = "pub-4046253115544722";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center>
<!--上面为Google代码-->
</td></tr></table>
<!--
EOT;
//以上为仿PW4.3的控制面板首页 for pw3.0 by http://bbs.laxjyj.com
}elseif($action=='modify'){print <<<EOT
-->
<form action='profile.php?' method=post onSubmit='return procheck(this)' name=creator enctype='multipart/form-data'>
<input type="hidden" name="action" value="modify"><!--9.23增加,否则编辑个人资料不能保存-->


4、在profile.htm中找到
Copy code
?>-->


改为:
Copy code
}
?>-->


完成!

类别: 无分类 |  评论(0) |  浏览(1940) |  收藏
2005年09月20日 06:42:50

仿PW4登录论坛显示认证码功能 for PW3.X(与后台设置关联)

一、演示:http://www.sms55.cn/reg.htmhttp://bbs.laxjyj.com/login.php?skinco=msn&u=18[/url]



二、说明:

1、修改方法非常简单;

2、后台“启用论坛基本设置”->“认证码功能(需要服务器支持GD库)”必须开启!



三、修改步骤:





1、论坛根目录login.php

Copy code

if($ifyz>2){

        Showmsg('login_jihuo');

    }



后面加上

Copy code

//登录认证码 by http://www.sms55.cn/reg.htmhttp://bbs.laxjyj.com[/url]

    if(function_exists('imagecreate') && $db_lgck && (!$loginnum || md5($loginnum) != $ck_num)){

        Showmsg('check_error');

    }

//登录认证码 by http://www.sms55.cn/reg.htmhttp://bbs.laxjyj.com[/url]





2、论坛的默认模板login.htm

Copy code

<tr><td>密码     <input type='password' maxLength=20 name=loginpwd size=40></td></tr>



后面加上

Copy code

<!--

EOT;

if(function_exists('imagecreate') && $db_lgck){print <<<EOT

-->

<tr><td>认证码 <input type='text' maxLength=4 name='loginnum' size=27> <img src="ck.php">   请将图片中的数字或英文字母填入左框中</td></tr>

<!--

EOT;

}print <<<EOT

-->





3、补充:修改首页登陆框



将首页模板index.htm

Copy code

<input type=text size=8 name='loginuser'>

<input type='password' size=8 name='loginpwd'>

<input type='hidden' name='jumpurl' value='$db_bfn'>

<input type='hidden' name='step' value=2>

<input type='hidden' name='cktime' value='31536000'>



替换为

Copy code

用户名:<input type=text size=8 name='loginuser'>

密码:<input type='password' size=8 name='loginpwd'>

<input type='hidden' name='jumpurl' value='$db_bfn'>

<input type='hidden' name='step' value=2>

<input type='hidden' name='cktime' value='31536000'>

<!--

EOT;

if(function_exists('imagecreate') && $db_lgck){print <<<EOT

-->

认证码:<input type='text' maxLength=4 name='loginnum' size=8> <img src="ck.php">

<!--

EOT;

}print <<<EOT

-->



类别: 无分类 |  评论(341) |  浏览(39686) |  收藏
«234 5 67» Pages: ( 5/7 total )