AL8 Forum
   µn¿ýµù¥UÀ°§U


¼ÐÃD: [D5.0 & D5.5] Discuz 5.0/5.5 ¥¿¦¡ª©­·®æÁ`¶×[2008¦~6¤ë§ó·s¤¤]
  ¥»¥DÃD³Q§@ªÌ¥[¤J¨ì­Ó¤H¤å¶°¤¤  
 ¦º¶ÌªN
 0057323
Rank: 2Rank: 2

ÀY»Î: Member

©«¤l: 64

ºëµØ: 0

¿n¤À: 980 ÂI

²{ª÷: 10 ¤¸

¦s´Ú: 107 ¤¸

¾\ŪÅv­­: 15

µù¥U: 2006-11-7

ª¬ºA: Â÷½u
  ¤j ¤¤ ¤p
µoªí©ó 2007-5-10 05:24  ¸ê®Æ  ­Ó¤HªÅ¶¡  µu®ø®§  ¥[¬°¦n¤Í 
ÁÂÁ§A^^

¥i¥HºCºC¿ï¾Ü




 AL8 Forum © All rights reserved.
³»³¡
 age123
 0079484
Rank: 1

ÀY»Î: Newbie

©«¤l: 7

ºëµØ: 0

¿n¤À: 70 ÂI

²{ª÷: 100 ¤¸

¦s´Ú: 0 ¤¸

¾\ŪÅv­­: 10

µù¥U: 2007-6-17

ª¬ºA: Â÷½u
  ¤j ¤¤ ¤p
µoªí©ó 2007-6-18 16:49  ¸ê®Æ  ­Ó¤HªÅ¶¡  µu®ø®§  ¥[¬°¦n¤Í 
¯uªº¤£¿ù³á!Á Á¤j·ÝµL¨pªº¤À¨É




 AL8 Forum © All rights reserved.
³»³¡
 age123
 0079484
Rank: 1

ÀY»Î: Newbie

©«¤l: 7

ºëµØ: 0

¿n¤À: 70 ÂI

²{ª÷: 100 ¤¸

¦s´Ú: 0 ¤¸

¾\ŪÅv­­: 10

µù¥U: 2007-6-17

ª¬ºA: Â÷½u
  ¤j ¤¤ ¤p
µoªí©ó 2007-6-18 16:50  ¸ê®Æ  ­Ó¤HªÅ¶¡  µu®ø®§  ¥[¬°¦n¤Í 
¯uªº¤£¿ù³á!Á Á¤j·ÝµL¨pªº¤À¨É




 AL8 Forum © All rights reserved.
³»³¡
 pak101_21
 0080631
Rank: 1

ÀY»Î: Newbie

©«¤l: 3

ºëµØ: 0

¿n¤À: 30 ÂI

²{ª÷: 100 ¤¸

¦s´Ú: 0 ¤¸

¾\ŪÅv­­: 10

µù¥U: 2007-6-30

ª¬ºA: Â÷½u
  ¤j ¤¤ ¤p
µoªí©ó 2007-7-1 00:51  ¸ê®Æ  ­Ó¤HªÅ¶¡  µu®ø®§  ¥[¬°¦n¤Í 
var menuOffX=0        //²Ëµ¥¾àÁ¬½ÓÎÄ×Ö×î×ó¶Ë¾àÀë
var menuOffY=18        //²Ëµ¥¾àÁ¬½ÓÎÄ×Ö¶¥¶Ë¾àÀë
var vBobjects = new Array();
var fo_shadows=new Array()
var linkset=new Array()
////No need to edit beyond here
var ie4=document.all&&navigator.userAgent.indexOf("Opera")==-1
var ns6=document.getElementById&&!document.all
var ns4=document.layers
var xslDoc;
function GetBoardXml(sXMLSrc) {
        xslDoc = CreateXmlDocument();
        if (!xslDoc){ throw new Error('Not support!\nplease install a XML parser');return; }
        xslDoc.async = false;
        xslDoc.load(sXMLSrc);
        function CreateXmlDocument() {
                if (document.implementation && document.implementation.createDocument) {
                        var doc = document.implementation.createDocument("", "", null);
                        if (doc.readyState == null) {
                                doc.readyState = 1;
                                doc.addEventListener("load", function () {
                                        doc.readyState = 4;
                                        if (typeof doc.onreadystatechange == "function")
                                                doc.onreadystatechange();
                                }, false);
                        }
                        return doc;
                }
                else if (window.ActiveXObject) {
                        var prefix = ["MSXML3","MSXML2","MSXML","Microsoft"];
                        for (var i=0;i<prefix.length;i++) {
                                try {
                                        var doc = new ActiveXObject(prefix + ".DOMDocument");
                                        //doc.setProperty("SelectionLanguage","XPath");
                                        if (doc)
                                        {
                                                return doc;
                                        }               
                                } catch (e) {}
                        }
                }
                return null;
        };
}

//¶ÌÐÅ´°¿Ú
function openScript(url, width, height){
        var Win = window.open(url,"openScript",'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=no,status=no' );
}
//®B¼þ´°¿Ú
function PlusOpen(url, width, height){
        window.open(url,"PlusOpen",'width=' + width + ',height=' + height + ',resizable=0,scrollbars=yes,menubar=no,status=yes' );
}

function mybook() {
  h = 300;
  w = 300;
  t = ( screen.availHeight - h ) / 2;
  l = ( screen.availWidth - w ) / 2;
  window.open("http://5txt.com/common/login.jsp?sCheckUrl=/out/login.jsp&sDesUrl=/out/mybook.jsp", "ÎҵķþÎñ",
     "left=" + l + ",top=" + t + ",height=" + h + ",width=" + w
     + ",toolbar=no,status=no,scrollbars=no,resizable=yes" );
  return;
}

function MM_findObj(n, d) {
var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}

if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
  
        for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document);
  
        if(!x && d.getElementById) x=d.getElementById(n); return x;

}

function fetch_object(idname, forcefetch)
{
        if (typeof(vBobjects[idname]) == "undefined")
        {
                vBobjects[idname] = MM_findObj(idname);
        }
        return vBobjects[idname];
}
//showmenu vmenu:ÄÚÈÝ£¬ªöÐíΪ¿Õ,vmenuobj DIVÊý¾ÝID£¬MOD 0=¹Ø±Õä¯ÀÀÆ÷×ÔÊÊÓ¦£¬ÓÃÓÚ°æÃæµ¼º½²Ëµ¥
function showmenu(e,vmenu,vmenuobj,mod){
        if (!document.all&&!document.getElementById&&!document.layers)
                return
        var which=vmenu;
        if (vmenuobj)
        {
                var MenuObj = fetch_object(vmenuobj);
                if (MenuObj)
                {
                        which = MenuObj.innerHTML;
                }
        }
        if (!which)
        {
                return
        }
        clearhidemenu();
        ie_clearshadow();
        menuobj=ie4? document.all.popmenu : ns6? document.getElementById("popmenu") : ns4? document.popmenu : ""
        menuobj.thestyle=(ie4||ns6)? menuobj.style : menuobj
        if (ie4||ns6)
                menuobj.innerHTML=which
        else{
                menuobj.document.write('<layer name=gui bgcolor="#E6E6E6" width="165" onmouseover="clearhidemenu()" onmouseout="hidemenu()">'+which+'</layer>')
                menuobj.document.close()
        }
        menuobj.contentwidth=(ie4||ns6)? menuobj.offsetWidth : menuobj.document.gui.document.width
        menuobj.contentheight=(ie4||ns6)? menuobj.offsetHeight : menuobj.document.gui.document.height
        eventX=ie4? event.clientX : ns6? e.clientX : e.x
        eventY=ie4? event.clientY : ns6? e.clientY : e.y
        var rightedge=ie4? document.body.clientWidth-eventX : window.innerWidth-eventX
        var bottomedge=ie4? document.body.clientHeight-eventY : window.innerHeight-eventY
        var getlength
                if (rightedge<menuobj.contentwidth){
                        getlength=ie4? document.body.scrollLeft+eventX-menuobj.contentwidth+menuOffX : ns6? window.pageXOffset+eventX-menuobj.contentwidth : eventX-menuobj.contentwidth
                }else{
                        getlength=ie4? ie_x(event.srcElement)+menuOffX : ns6? window.pageXOffset+eventX : eventX
                }
                menuobj.thestyle.left=getlength+'px'
                if (bottomedge<menuobj.contentheight&&mod!=0){
                        getlength=ie4? document.body.scrollTop+eventY-menuobj.contentheight-event.offsetY+menuOffY-23 : ns6? window.pageYOffset+eventY-menuobj.contentheight-10 : eventY-menuobj.contentheight
                }        else{
                        getlength=ie4? ie_y(event.srcElement)+menuOffY : ns6? window.pageYOffset+eventY+10 : eventY
                }
        menuobj.thestyle.top=getlength+'px'
        menuobj.thestyle.visibility="visible"
        ie_dropshadow(menuobj,"#999999",3)
        return false
}

function ie_y(e){  
        var t=e.offsetTop;  
        while(e=e.offsetParent){  
                t+=e.offsetTop;  
        }  
        return t;  
}  
function ie_x(e){  
        var l=e.offsetLeft;  
        while(e=e.offsetParent){  
                l+=e.offsetLeft;  
        }  
        return l;  
}  
function ie_dropshadow(el, color, size)
{
        var i;
        for (i=size; i>0; i--)
        {
                var rect = document.createElement('div');
                var rs = rect.style
                rs.position = 'absolute';
                rs.left = (el.style.posLeft + i) + 'px';
                rs.top = (el.style.posTop + i) + 'px';
                rs.width = el.offsetWidth + 'px';
                rs.height = el.offsetHeight + 'px';
                rs.zIndex = el.style.zIndex - i;
                rs.backgroundColor = color;
                var opacity = 1 - i / (i + 1);
                rs.filter = 'alpha(opacity=' + (100 * opacity) + ')';
                //el.insertAdjacentElement('afterEnd', rect);
                fo_shadows[fo_shadows.length] = rect;
        }
}
function ie_clearshadow()
{
        for(var i=0;i<fo_shadows.length;i++)
        {
                if (fo_shadows)
                        fo_shadows.style.display="none"
        }
        fo_shadows=new Array();
}


function contains_ns6(a, b) {
        while (b.parentNode)
                if ((b = b.parentNode) == a)
                        return true;
        return false;
}

function hidemenu(){
        if (window.menuobj)
                menuobj.thestyle.visibility=(ie4||ns6)? "hidden" : "hide"
        ie_clearshadow()
}

function dynamichide(e){
        if (ie4&&!menuobj.contains(e.toElement))
                hidemenu()
        else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
                hidemenu()
}

function delayhidemenu(){
        if (ie4||ns6||ns4)
                delayhide=setTimeout("hidemenu()",500)
}

function clearhidemenu(){
        if (window.delayhide)
                clearTimeout(delayhide)
}

function highlightmenu(e,state){
        if (document.all)
                source_el=event.srcElement
        else if (document.getElementById)
                source_el=e.target
        if (source_el.className=="menuitems"){
                source_el.id=(state=="on")? "mouseoverstyle" : ""
        }
        else{
                while(source_el.id!="popmenu"){
                        source_el=document.getElementById? source_el.parentNode : source_el.parentElement
                        if (source_el.className=="menuitems"){
                                source_el.id=(state=="on")? "mouseoverstyle" : ""
                        }
                }
        }
}

if (ie4||ns6)
document.onclick=hidemenu
function doSClick() {
        var targetId, srcElement, targetElement, imageId, imageElement;
        srcElement = window.event.srcElement;
        targetId = srcElement.id + "content";
        targetElement = document.all(targetId);
        imageId = srcElement.id;
        imageId = imageId.charAt(0);
        imageElement = document.all(imageId);
        if (targetElement.style.display == "none") {
                imageElement.src = "Skins/Default/minus.gif"
                targetElement.style.display = "";
        } else {
                imageElement.src = "Skins/Default/plus.gif"
                targetElement.style.display = "none";
        }
}
function doClick() {
        var targetId, srcElement, targetElement;
        srcElement = window.event.srcElement;
        targetId = srcElement.id + "_content";
        targetElement = document.all(targetId);
        if (targetElement.style.display == "none") {
                srcElement.src = "Skins/Default/minus.gif"
                targetElement.style.display = "";
        } else {
                srcElement.src = "Skins/Default/plus.gif"
                targetElement.style.display = "none";
        }
}

//HTML¹ýÂ˺¯Êý
function HTML(text)
{
        text = text.replace(/&/g, "&") ;
        text = text.replace(/"/g, """) ;
        text = text.replace(/</g, "&lt;") ;
        text = text.replace(/>/g, "&gt;") ;
        text = text.replace(/'/g, "’") ;
        return text ;
}
function ReHTML(text)
{
        text = text.replace(/&/g, "&") ;
        text = text.replace(/"/g, '"') ;
        text = text.replace(/&lt;/g, "<") ;
        text = text.replace(/&gt;/g, ">") ;
        text = text.replace(/’/g, "'") ;
        return text ;
}
function LoadHTML(o){
        //var sData = document.createElement("div");
        //sData.innerHTML=ReHTML(o.innerHTML);
        //alert(sData.getAttribute("language"))
        o.innerHTML=ReHTML(o.innerHTML);
       
}
function bbimg(o){
        var zoom=parseInt(o.style.zoom, 10)||100;zoom+=event.wheelDelta/12;if (zoom>0) o.style.zoom=zoom+'%';
        return false;
}
function Dvbbs_ViewCode(replyid)
{
        var bodyTag="<html><head><style type=text/css>.quote{margin:5px 20px;border:1px solid #CCCCCC;padding:5px; background:#F3F3F3 }\nbody{boder:0px}.HtmlCode{margin:5px 20px;border:1px solid #CCCCCC;padding:5px;background:#FDFDDF;font-size:14px;font-family:Tahoma;font-style : oblique;line-height : normal ;font-weight:bold;}\nbody{boder:0px}</style></head><BODY bgcolor=\"#FFFFFF\" >";
        bodyTag+=document.getElementById('scode'+replyid).CodeText.value
        bodyTag+="</body></html>"
        preWin=window.open('preview','','left=0,top=0,width=550,height=400,resizable=1,scrollbars=1, status=1, toolbar=1, menubar=0');
        preWin.document.open();
        preWin.document.write(bodyTag);
        preWin.document.close();
        preWin.document.title="²é¿´Ìù×ÓÄÚÈÝ";
        preWin.document.charset="UTF-8";
}
function getskins(skinid,boardid){
        var styleurl = "cookies.asp?action=stylemod&skinid="+skinid+"&boardid="+boardid;
        var Sframe = fetch_object('stylecss');
        if (Sframe)
        {
                stylecss.location.href = styleurl;
        }
}
function BoardData(userName,userConfig){
        var config = new InnerConfig();
        if (userConfig) {
                for (var thisName in userConfig) {
                if (userConfig[thisName]) { config[thisName] = userConfig[thisName]; }
                }
        }
        var InnerValue;
        if (userName){
                for (var thisName in userName) {
                        if (userName[thisName]){
                                InnerValue = userName[thisName]+"_Value";
                                if (config[userName[thisName]]){
                                        InnerData(config[userName[thisName]],config[InnerValue])
                                }
                        }
                }
        }
}

function InnerData(name,value)
{
        for (var objid in name) {
                var obj = document.getElementById(name[objid]);
                if (obj){
                        obj.innerHTML = value[objid];
                }
        }
}

function InnerConfig(){
        //½øÈëJS¸³Öµ£º¹«¸æÊ±¼ä¡¢Óû§Êý¡¢Ö÷ÌâÊý¡¢Ìû×ÓÊý¡¢½ñ¡CÌù¡¢×ò¡CÌù¡¢×î¸ß·¢Ìù¡¢×î¸ß·¢Ìù¡C
        this.Index_Top = ["iAnnTime","iUserNum","iTopicNum","iPostNum","iTodayNum","iYesTodayNum","iMaxPost","iMaxPostDate"];
        this.Index_Top_Value = [""];
        //½øÈëJS¸³Öµ£ºÓû§IP¡¢ÏµÍ³¡¢ä¯ÀÀÆ÷¡¢ÏÔʾÏêϸÁбí×ÖÑù¡¢×ÜÔÚÏß¡¢Óû§ÔÚÏß¡¢¿ÍÈËÔÚÏß¡¢×î´óÔÚÏß¡¢×î´óÔÚÏßʱ¼ä¡¢ÂÛ̳½¨Á¢Ê±¼ä
        this.Index_Footer = ["ifIP","ifSys","ifBrw","ifOnlineStr","ifOnlineNum","ifUserNum","ifGuestNum","ifMaxNum","ifMaxDate","ifBuildDate"];
        this.Index_Footer_Value = [""];
}
//ÂÛÌ³Ìø×ªÏÂÀ­²Ëµ¥²¿·Ö,by Lao_Mi
function BoardJumpList(boardid,act){
        if (!xslDoc){GetBoardXml("index.asp?action=xml");
        }
                if (xslDoc.parseError){
                        if (xslDoc.parseError.errorCode!=0){
                                return "<div class=\"menuitems\">"+xslDoc.parseError.reason +"</div>";
                        }
                }
                var MenuStr="";
                var LoadBoard,depth,child;
                if(boardid!=0){
                        var nodelist1=xslDoc.documentElement.getElementsByTagName("board");
                        child=0
                        for(var i=0;i<nodelist1.length;i++){
                                if (parseInt(nodelist1.getAttribute("parentid"))==parseInt(boardid))
                                {
                                        child++;
                                }
                        }
                        var nodelist=xslDoc.documentElement.getElementsByTagName("board");
                        }else{
                var nodelist=xslDoc.documentElement.getElementsByTagName("board");
                        }
                MenuStr+="<div class=\"menuitems\">";
                if (nodelist!=null)
                {
                        if(boardid!=0){
                                var l=0;
                        for(var i=0;i<nodelist.length;i++)
                        {
                                if ((nodelist.getAttribute("parentid")==parseInt(boardid) || l >1 ) && l < child )
                                {
                                        child+=parseInt(nodelist.getAttribute("child"))
                                l++;
                                depth = nodelist.getAttribute("depth");
                                LoadBoard = nodelist.getAttribute("boardid");
                                boardtype = nodelist.getAttribute("boardtype");
                                if (depth==0){
                                        var outtext="©ï";
                                }
                                else{
                                        var outtext="";
                                        for (var j=0;j<(depth);j++)
                                        {
                                                if (j>0)
                                                {
                                                        outtext+=" |"
                                                }
                                                outtext+="  "
                                        }
                                        outtext+="©À"
                                }
                        MenuStr+="<a href=\"index.asp?boardid="+LoadBoard+"\">"+ outtext + boardtype +"</a><br />";
                        }
                        }
                                MenuStr+="</div>";
                }else{
                for(var i=0;i<nodelist.length;i++)
                        {
                                depth = nodelist.getAttribute("depth");
                                LoadBoard = nodelist.getAttribute("boardid");
                                boardtype = nodelist.getAttribute("boardtype");
                                if (depth==0){
                                        var outtext="©ï";
                                }
                                else{
                                        var outtext="";
                                        for (var j=0;j<(depth);j++)
                                        {
                                                if (j>0)
                                                {
                                                        outtext+=" |"
                                                }
                                                outtext+="  "
                                        }
                                        outtext+="©À"
                                }
                        MenuStr+="<a href=\"index.asp?boardid="+LoadBoard+"\">"+ outtext + boardtype +"</a><br />";
                        }
                        MenuStr+="</div>"
                }
                        return MenuStr;
                }else{
                        return "<div class=\"menuitems\">´íÎó</div>";
                }
}
//selectedÏÂÀ­Áбíѡȡ±íµ¥()
function BoardJumpListSelect(boardid,selectname,fristoption,fristvalue,checknopost){
                if (!xslDoc){GetBoardXml("index.asp?action=xml");
        }
        var sel = 0;
        var sObj = document.getElementById(selectname);
        if (sObj)
        {
                sObj.options[0] =  new Option(fristoption, fristvalue);
                if (xslDoc.parseError){
                                if (xslDoc.parseError.errorCode!=0){
                                        return;
                        }
                }
                var nodes = xslDoc.documentElement.getElementsByTagName("board")
                if (nodes)
                {
                        for (var i = 0,k = 1;i<nodes.length;i++) {
                                var t = nodes.getAttribute("boardtype");
                                var v = nodes.getAttribute("boardid");
                                if (v==boardid)
                                {
                                        sel = k;
                                }
                                if (nodes.getAttribute("depth")==0){
                                        var outtext="©ï";
                                }
                                else
                                {
                                        var outtext="";
                                        for (var j=0;j<(nodes.getAttribute("depth"));j++)
                                        {
                                                if (j>0){outtext+=" |"}
                                                outtext+="  "
                                        }
                                        outtext+="©À"
                                }
                                t = outtext + t
                                t = t.replace(/<[^>]*>/g, "")
                                t = t.replace(/&[^&]*;/g, "")
                                if(checknopost==1 && nodes.getAttribute("nopost")=='1')
                                {
                                                t+="(²»Ðí×ªÒÆ)"
                                }
                                sObj.options[k++] = new Option(t, v);
                        }
                        sObj.options[sel].selected = true;
                }
        }
}
//SELECT±íµ¥Ñ¡È¡ Obj ±íµ¥Ãû£¬VALËùÑ¡µÄÖµ
function ChkSelected(Obj,Val)
{
        if (Obj)
        {
        for (i=0;i<Obj.length;i++){
                if (Obj.options.value==Val){
                Obj.options.selected=true;
                break;
                }
        }
        }
}

//µ¥Ñ¡±íµ¥Ñ¡È¡ Obj ±íµ¥Ãû£¬VALËùÑ¡µÄÖµ
function chkradio(Obj,Val)
{
        if (Obj)
        {
        for (i=0;i<Obj.length;i++){
                if (Obj.value==Val){
                Obj.checked=true;
                break;
                }
        }
        }
}
function readCookie(name){
                var nameEQ = name + "=";
                var ca = document.cookie.split(';');
                for(var i=0;i < ca.length;i++) {
                        var c = ca;
                        while (c.charAt(0)==' ') c = c.substring(1,c.length);
                        if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
                };
                return null;
        };
function createCookie(name,value,days){
                var expires = "";
                if (days) {
                        var date = new Date();
                        date.setTime(date.getTime()+(days*24*60*60*1000));
                        expires = "; expires="+date.toGMTString();
                };
                document.cookie = name+"="+value+expires+"; path=/";
        };




 AL8 Forum © All rights reserved.
³»³¡
 siumolee
 0092916
Rank: 1

ÀY»Î: Newbie

©«¤l: 5

ºëµØ: 0

¿n¤À: 50 ÂI

²{ª÷: 10 ¤¸

¦s´Ú: 0 ¤¸

¾\ŪÅv­­: 10

µù¥U: 2007-12-15

ª¬ºA: Â÷½u
  ¤j ¤¤ ¤p
µoªí©ó 2008-1-9 15:54  ¸ê®Æ  ­Ó¤HªÅ¶¡  µu®ø®§  ¥[¬°¦n¤Í 
¤Q¤R¤Q¤R




 AL8 Forum © All rights reserved.
³»³¡
Ápô§Ú­Ì - AL8 Forum - ºô­¶ªÅ¶¡¥Ñ I-SERVICES ´£¨Ñ - Archiver - WAP
²M°£ Cookies, ·í«e®É°Ï GMT+8, ²{¦b®É¶¡¬O 2008-9-8 05:56
Processed in 0.078496 second(s), 7 queries , Gzip enabled
Powered by Discuz! 5.5.0  © 2001-2007 Comsenz Inc.