⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 showlink.xsl

📁 个人网站比较简短
💻 XSL
📖 第 1 页 / 共 3 页
字号:
                     alert("内容不能为空!");
                     Field.focus('plcontent');
                }else{
                    // 创建返回信息XML文档
                    var checkurl = "Showlink.asp?Action=savepl";

                    var pl_dom = new ActiveXObject("Microsoft.XMLDOM");
                    pl_dom.async=false;

                    var p = pl_dom.createProcessingInstruction("xml","version=\"1.0\" encoding=\"gb2312\""); 
                    //添加文件头 
                    pl_dom.appendChild(p); 

                    //创建根节点
                    var objRoot = pl_dom.createElement("root");

                    //创建子节点
                    var objField = pl_dom.createNode(1,"username",""); 
                    objField.text = name;
                    objRoot.appendChild(objField);

                    objField = pl_dom.createNode(1,"password",""); 
                    objField.text = plpass;
                    objRoot.appendChild(objField);

                    objField = pl_dom.createNode(1,"noname",""); 
                    if(noname!='1'){
                        objField.text = 0;
                    }else{
                        objField.text = 1;
                    }
                    objRoot.appendChild(objField);

                    objField = pl_dom.createNode(1,"title",""); 
                    objField.text = title;
                    objRoot.appendChild(objField);
                    objField = pl_dom.createNode(1,"content",""); 
                    objField.text = content;
                    objRoot.appendChild(objField);
                    objField = pl_dom.createNode(1,"type",""); 
                    objField.text = 7;
                    objRoot.appendChild(objField);
                    objField = pl_dom.createNode(1,"id",""); 
                    objField.text = pid;
                    objRoot.appendChild(objField);
                    objField = pl_dom.createNode(1,"blogid",""); 
                    objField.text = blogid;
                    objRoot.appendChild(objField);

                    //添加根节点
                    pl_dom.appendChild(objRoot);

                    // 把XML文档发送到Web服务器
                    var plhttp = getHTTPObject();
                    plhttp.open("POST",checkurl,false);
                    plhttp.send(pl_dom);
                    // 显示服务器返回的信息
                    if(plhttp.readyState == 4 && plhttp.status==200){
                        CommentReponse(plhttp);
                    }else{
                        CancelComment();
                    }
                }
            }
        }
    }
}

function CommentReponse(backRequest)
{
    var tempstr;
    empstr = "";
  var xml = new ActiveXObject("Microsoft.XMLDOM");
  xml.async = false;
  xml.load(backRequest.responseXml);
    //$('diarycontent').innerHTML = backRequest.responseText;
    var root = xml.getElementsByTagName("body/serverbackinfo");
    //$('diarycontent').innerHTML = root.item(0).getElementsByTagName("infomation").item(0).text;
    //$('diarycontent').innerHTML = tempdivcontent;
    if(isroot=='1'){ 
        ChangePage(s1,s2,s3,s4,1);
    }else{
        ChangePage(s1,s2,s3,s5,0);
    }
    Sortable.create('diarycontent',{tag:'div'});
}
]]>
</script>
</head>
<body leftmargin="0" topmargin="0" onload="initPage('{body/MyBlog/TotalPage}','{body/MyBlog/CurrentPage}','{body/MyBlog/totalPut}','{body/MyBlog/BlogID}','{body/MyBlog/Diary/ID}','{body/MyBlog/IsRoot}');">
<table width="1000" align="center" border="0" cellpadding="0" cellspacing="0">
	<tr><td colspan="3" height="6"><img src="../Skin/sealove/space.gif" /></td></tr>
	<tr><td width="14" height="34"><img src="../Skin/sealove/Top_01Left.gif" /></td>
	    <td background="../Skin/sealove/Top_01BG.gif" align="right" style="color:#FFFFFF">
            <xsl:choose>  
                <xsl:when test="body/Site/ShowSiteChannel = 'enable'">  
                |<xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text><a href="{body/Site/SiteUrl}" class="channel">网站首页</a><xsl:apply-templates select="body/ChannelList/Channelitem"/><xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>|<xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>
                </xsl:when>
            </xsl:choose>
            </td>
		<td width="14"><img src="../Skin/sealove/Top_01Right.gif" /></td>
	</tr>
</table>
<table width="1000" align="center" border="0" cellpadding="0" cellspacing="0">
	<tr><td width="4" background="../Skin/sealove/Top_02Left.gif"><img src="../Skin/sealove/space.gif" /></td>
		<td background="../Skin/sealove/Top_02BG.gif">
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
			<tr><td width="280" height="90" align="center">
        <xsl:choose>  
            <xsl:when test="string-length(body/Site/SiteLogo) > 0"  >  
            <a><xsl:attribute name="href"><xsl:value-of select="body/Site/SiteUrl"/></xsl:attribute><xsl:attribute name="Title"><xsl:value-of select="body/Site/SiteName"/></xsl:attribute><img src="{body/Site/SiteLogo}" border="0" /></a>
            </xsl:when>
        </xsl:choose>
                            </td>
			    <td align="center">
        <xsl:choose>  
            <xsl:when test="string-length(body/Site/BannerUrl) > 0"  >  
            <a><xsl:attribute name="href"><xsl:value-of select="body/Site/BannerUrl"/></xsl:attribute><xsl:attribute name="Title"><xsl:value-of select="body/Site/SiteName"/></xsl:attribute><img src="{body/Site/BannerUrl}" width="580" height="60" border="0" /></a>
            </xsl:when>
        </xsl:choose> 
                            </td>
			</tr>
		</table>
		</td>
		<td width="4" background="../Skin/sealove/Top_02Right.gif"><img src="../Skin/sealove/space.gif" /></td>
	</tr>
</table>
<table width="1000" align="center" border="0" cellpadding="0" cellspacing="0">
	<tr><td width="17" background="../Skin/sealove/Top_03Left.gif"><img src="../Skin/sealove/space.gif" /></td>
		<td background="../Skin/sealove/Top_03BG.gif">
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
			<tr><td width="75" height="33">
            <xsl:choose>  
                <xsl:when test="body/Site/EnableRss = 'enable'">  
                <a href="../Rss.asp" Title="Rss 2.0" Target="_blank"><img src="../images/rss.gif" border="0" /></a>
                </xsl:when>
            </xsl:choose>
                            </td>
				<td width="20"><img src="../Skin/sealove/icon01.gif" /></td>
				<td width="60">最新公告:</td>
				<td width="400"><MARQUEE onmouseover="this.stop()" onmouseout="this.start()" scrollAmount="1" scrollDelay="4" width="400" align="left"><p><xsl:apply-templates select="body/AnnounceList/Announceitem"/></p></MARQUEE></td>
				<td align="right"></td>				
			</tr>
		</table>
		</td>
		<td width="17" background="../Skin/sealove/Top_03Right.gif"><img src="../Skin/sealove/space.gif" /></td>
	</tr>
	<tr><td colspan="3" height="5"><img src="../Skin/sealove/space.gif" /></td></tr>
</table>
<table width="1000" align="center" border="0" cellpadding="0" cellspacing="0">
	<tr><td width="15"><img src="../Skin/sealove/Main_TopLeft.gif" /></td>
		<td height="11" background="../Skin/sealove/Main_TopBG.gif"><img src="../Skin/sealove/space.gif" /></td>
		<td width="15"><img src="../Skin/sealove/Main_TopRight.gif" /></td>
	</tr>
</table>

<table width="1000" align="center" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
	<tr><td width="8" background="../Skin/sealove/Main_Left.gif"></td>
	<td>
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
			<tr><td width="135" height="60"><img src="../Skin/sealove/Main_Search.gif" alt="站内搜索" /></td>
				<td><table cellSpacing="0" cellPadding="0" border="0">
					<FORM name="search" action="../search.asp" method="post">
					<tr><td align="middle"><Input id="Keyword" maxLength="50" value="关键字" name="Keyword" /></td>
						<td align="center" width="55"><input name="Submit" id="Submit" type="image" src="../Skin/sealove/Icon_Search.gif" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" /></td>
						<td align="middle">
				<input type="radio" value="Article" name="ModuleName" checked="True" /> 文章
				<Input type="radio" value="Soft" name="ModuleName" /> 下载
				<Input type="radio" value="Photo" name="ModuleName" /> 图片
				<Input id="Field" type="hidden" value="Title" name="Field" /></td>
					</tr>
					</FORM>
					</table>
				</td>
				<td width="166" align="right"><img src="../Skin/sealove/Main_girl01.gif" /></td>
			</tr>
		</table>


		<table width="100%" border="0" cellpadding="0" cellspacing="0">
			<tr><td valign="top">
				<table width="98%" align="center" border="0" cellpadding="0" cellspacing="0" background="../Skin/sealove/Path_BG.gif">
					<tr><td width="9"><img src="../Skin/sealove/Path_Left.gif" /></td>
						<td width="20"><img src="../Skin/sealove/icon02.gif" /></td>
						<td>您现在的位置:<a class="LinkPath"><xsl:attribute name="href"><xsl:value-of select="body/Site/SiteUrl"/></xsl:attribute><xsl:value-of select="body/Site/SiteName"/></a> >> <xsl:value-of select="body/MyBlog/BlogName"/></td>
						<td width="84"><a href="/Reg/User_Reg.asp" target="_blank"><img src="../Skin/sealove/Button_Reg.gif" alt="会员注册" border="0" /></a></td>
						<td width="9"><img src="../Skin/sealove/Path_Right.gif" /></td>
					</tr>
				</table>
				</td>
				<td width="92" height="48" align="right" valign="top"><img src="../Skin/sealove/Main_girl02.gif" /></td>
			</tr>
		</table>
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
			<tr><td height="2" bgcolor="#0099BB"></td></tr>
			<tr><td height="1"></td></tr>
			<tr><td height="1" bgcolor="#0099BB"></td></tr>
			<tr><td height="2"></td></tr>
			<tr><td background="../Skin/sealove/AD02.gif" align="right">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                           <td><img src="../Skin/sealove/AD01.gif" border="0" alt="通档广告位:请自行修改为JS调用代码" /></td>
                           <td align="right"><img src="../Skin/sealove/AD08.gif" border="0" /></td>
                        </tr>
                        </table>			  
			</td>
			</tr>
			<tr><td height="8"></td></tr>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -