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

📄 showart.xsl

📁 delphi资料大全ADO使用和数据导出.有助于delphi数据库的开发
💻 XSL
📖 第 1 页 / 共 2 页
字号:
<?xml version="1.0" encoding="gb2312"?>
<xsl:stylesheet version="1.0" xmlns="http://www.w3.org/1999/xhtml" 
	xmlns:html="http://www.w3.org/1999/xhtml" 
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:output method="html" omit-xml-declaration="yes"/> 


  <xsl:template match="/">
<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=gb2312' />

<link rel='stylesheet' href='../../templates/tech/index.css'></link>

<title><xsl:value-of select="BLOG/ATRICLE/TITLE" /> - <xsl:value-of select="BLOG/BLOG_NAME" /> </title>
<script language="javascript">
top.document.title="<xsl:value-of select="BLOG/ATRICLE/TITLE" /> - <xsl:value-of select="BLOG/BLOG_NAME" />";
</script>
</head>
<xsl:element name="body">
<xsl:attribute name="leftmargin">0</xsl:attribute>
<xsl:attribute name="topmargin">0</xsl:attribute>
<xsl:attribute name="marginwidth">0</xsl:attribute>
<xsl:attribute name="marginheight">0</xsl:attribute>
<xsl:attribute name="style">background:<xsl:value-of select="BLOG/STYLE_BODYCOLOR" />;background-image:url(<xsl:value-of select="BLOG/STYLE_BODYBGIMAGE" />)</xsl:attribute>
<xsl:attribute name="align">center</xsl:attribute>

<div width="100%" height="25" id="cutoolbar"></div><script src="/js/toolbar.js"></script>
<center>


<xsl:element name="table">
<xsl:attribute name="border">0</xsl:attribute>
<xsl:attribute name="cellspacing">0</xsl:attribute>
<xsl:attribute name="cellpadding">0</xsl:attribute>
<xsl:attribute name="style">border-collapse: collapse;background-image:url(<xsl:value-of select="BLOG/STYLE_TOPBGIMAGE" />);background-repeat: <xsl:value-of select="BLOG/STYLE_TOPBGREPEAT" /></xsl:attribute>
<xsl:attribute name="width">100%</xsl:attribute>
<xsl:attribute name="bgcolor"><xsl:value-of select="BLOG/STYLE_TOPCOLOR" /></xsl:attribute>
<xsl:attribute name="height">80</xsl:attribute>
<tr><td width="200" align="center">
<font style="font-size:20pt" color="#FFFFFF"><b><xsl:value-of select="BLOG/BLOG_NAME" /></b></font>
</td><td style="color:#AAC6F6">
<xsl:if test="/BLOG/BLOG_BRIEF!=''">
	<div id="blogbrief"></div>
	<script language="javascript">
		document.getElementById("blogbrief").innerHTML="<xsl:value-of select='/BLOG/BLOG_BRIEF' disable-output-escaping="yes" />"; 
	</script>
	</xsl:if>
</td></tr>
</xsl:element>


<table border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" width="100%" background="../../templates/tech/images/bg_menu.gif" height="27"  bgcolor="#FFFFFF">
<tr><td width="20"></td><td>
<xsl:if test="/BLOG/DOMAIN!=''">
	<xsl:element name="a">
	<xsl:attribute name="href">http://<xsl:value-of select="/BLOG/DOMAIN" />.cublog.cn</xsl:attribute>
	<xsl:attribute name="target">_blank</xsl:attribute>
	<xsl:attribute name="class">list1</xsl:attribute>
	<xsl:value-of select="/BLOG/DOMAIN" />.cublog.cn
	</xsl:element>
</xsl:if>
</td><td align="right">
<a href="index.php" class="list1">首页</a> |  
<a href="article.php" class="list1">文章</a> |  
<a href="photo.php" class="list1">相册</a> |  
<a href="links.php" class="list1">收藏夹</a> |  
<a href="guestbook.php" class="list1">留言</a>
</td>
<td width="10"></td>
</tr>
</table>
<script language="javascript">
function $(s){return document.getElementById(s);}
function ShowHideDiv(divid,iImg){
	if($(divid).style.display == "none"){
		iImg.src="../../templates/tech/images/dot2.gif";
		$(divid).style.display = "block";
		iImg.title="收起";
	}else{
		iImg.src="../../templates/tech/images/dot4.gif";
		$(divid).style.display = "none";
		iImg.title="展开";
	}
}
</script>

<table border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" width="100%">
<tr><td width="235" valign="top"  align="center">
<br />

<table border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111" width="220">
<tr><td><img src="../../templates/tech/images/left_bg_top.gif" border="0" alt="" /></td></tr>
<tr><td bgcolor="#EDF2F2" height="25" align="center">
	<table border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111" width="200">
	<tr><td width="180" align="center"><font style="font-size:10pt" color="#1F72D0"><b>关于作者</b></font></td><td width="20"><img src="../../templates/tech/images/dot2.gif" border="0" title="收起" onclick="ShowHideDiv('aboutwriter',this);return false;"/></td></tr>
	</table>

</td></tr>
<tr><td bgcolor="#D2DEE2" height="1"></td></tr>
<tr><td bgcolor="#FFFFFF" height="1"></td></tr>

<tr><td style="color:#02368D" bgcolor="F3F6F6" id="aboutwriter" align="center">
		<table border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse;word-wrap:break-word;color:#02368D;" width="200" height="16">
		<tr><td align="center">
	<xsl:element name="a">
	<xsl:attribute name="href"><xsl:value-of select="BLOG/UP_PIC" /></xsl:attribute>

	<xsl:attribute name="target">_blank</xsl:attribute>
		<xsl:element name="img">
		<xsl:attribute name="src">up_user_pre.jpg</xsl:attribute>
		<xsl:attribute name="border">0</xsl:attribute>
		</xsl:element>
	</xsl:element>
		</td></tr>
		<tr><td width="200">
	<pre style="line-height: 150%; margin: 5px;" width="25">
	<xsl:value-of select="BLOG/BLOG_INFO" />
	</pre>
		</td></tr>
		</table>
</td></tr>
<tr><td>
	<table bgcolor="#FFFFFF" cellspacing="0" cellpadding="0" style="border-collapse: collapse;border: 1px solid #D2DEE2; padding: 1" align="center" width="220" border="0">
	<tr height="20" bgcolor="#EDF2F2">
		<td align="center" width="14" style="cursor: hand; color: #1F72D0;font-size:9pt;" title="上一年" onclick="pushBtm('YU')">||</td>
		<td align="center" width="14" style="cursor: hand; color: #1F72D0;font-size:9pt" title="上一月" onclick="pushBtm('MU')">&lt;&lt;</td>
		<td align="center" nowrap="nowrap" id="YMBG" style="color: #1F72D0;font-size:9pt"></td>
		<td align="center" nowrap="nowrap" id="GZ" style="color: #1F72D0;font-size:9pt"></td>
		<td align="center" width="14" style="cursor: hand; color: #1F72D0;font-size:9pt" title="下一月" onclick="pushBtm('MD')">>></td>
		<td align="center" width="14" style="cursor: hand; color: #1F72D0;font-size:9pt" title="下一年" onclick="pushBtm('YD')">||</td>
	</tr>
	<tr><td colspan="6">
	<div id="ttdiv" align="center" width="210"></div>
	</td></tr>
	<tr><td colspan="6" height="1"></td></tr>
	</table>

	<script src="../../templates/tech/mdate.js" ></script>
	<script language="javascript">
	var arrArtdate=new Array(<xsl:value-of select="/BLOG/DateItems" />);

	initial("ttdiv");

	</script>

</td></tr>


<tr><td bgcolor="#D2DEE2" height="1"></td></tr>
<tr><td bgcolor="#FFFFFF" height="1"></td></tr>
<tr><td bgcolor="#EDF2F2" height="25" align="center">
	<table border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111" width="200">
	<tr><td width="180" align="center"><font style="font-size:10pt" color="#1F72D0"><b>我的分类</b></font></td><td width="20"><img src="../../templates/tech/images/dot2.gif" border="0" title="收起" onclick="ShowHideDiv('lefttree',this);return false;"/></td></tr>
	</table>

</td></tr>
<tr><td bgcolor="#D2DEE2" height="1"></td></tr>
<tr><td bgcolor="#FFFFFF" height="1"></td></tr>
<tr><td style="color:#02368D" bgcolor="F3F6F6" id="lefttree" >
	<script src="../../templates/tech/tree.js" ></script>
	<div style="width:200;overflow:auto;scrollbar-face-color: #EEEEEE;scrollbar-highlight-color: #FFFFFF;scrollbar-shadow-color: #CCCCCC;scrollbar-3dlight-color: #D1D7DC;scrollbar-arrow-color:#006699;scrollbar-track-color: #CCCCCC;scrollbar-darkshadow-color: #EEDFE7;" id="lefttree"></div>
	<script language="javascript">
	ContentsTree = new CTree("ContentsTree");
	ContentsTree.bAutoClose = false;
	ContentsTree.stTarget = "";
	a0 = ContentsTree.AddNode(null, "我的文章分类", "article.php");
	a0.bOpen=true;
	p0 = ContentsTree.AddNode(null, "我的图片分类", "photo.php");
	p0.bOpen=true;
	f0 = ContentsTree.AddNode(null, "我的链接分类", "links.php");
	f0.bOpen=true;
	<xsl:for-each select="BLOG/ARTILCE_CLASS/ATRICLE_CLASS_ITEM" >
	a<xsl:value-of select="ID" /> = ContentsTree.AddNode(a<xsl:value-of select="PID" />, "<xsl:value-of select="TITLE" />", "article.php?frmid=<xsl:value-of select="ID" />");
	</xsl:for-each>

	<xsl:for-each select="BLOG/PHOTO_CLASS/PHOTO_CLASS_ITEM" >
	p<xsl:value-of select="ID" /> = ContentsTree.AddNode(p<xsl:value-of select="PID" />, "<xsl:value-of select="TITLE" />", "photo.php?frmid=<xsl:value-of select="ID" />");
	</xsl:for-each>
	<xsl:for-each select="BLOG/FAVORITES_CLASS/FAVORITES_CLASS_ITEM" >
	f<xsl:value-of select="ID" /> = ContentsTree.AddNode(f<xsl:value-of select="PID" />, "<xsl:value-of select="TITLE" />", "links.php?frmid=<xsl:value-of select="ID" />");
	</xsl:for-each>
	//document.write(ContentsTree.GetHTMLCode());
	document.getElementById("lefttree").innerHTML=ContentsTree.GetHTMLCode();
	</script>
</td></tr>
<tr><td><img src="../../templates/tech/images/left_bg_bottom.gif" border="0" alt="" /></td></tr>

</table>


</td><td width="10"></td><td  valign="top" align="center">

<br />

<table border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" width="100%">
<tr><td width="11" height="11"><img src="../../templates/tech/images/g_left_top.gif" border="0" alt="" /></td>
<td bgcolor="#DDDDDD" width="99%" height="11"></td>
<td width="11" height="11"><img src="../../templates/tech/images/g_right_top.gif" border="0" alt="" /></td>
</tr>

<tr><td colspan="3" width="100%"  bgcolor="#DDDDDD" align="center" valign="top"> 

	<table border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" width="96%">
	<tr><td width="7" height="7"><img src="../../templates/tech/images/w_left_top.gif" border="0" alt="" /></td>
	<td bgcolor="#F3F3F3" width="100%"></td>
	<td width="7" height="7"><img src="../../templates/tech/images/w_right_top.gif" border="0" alt="" /></td>
	</tr>
	<tr><td colspan="3"  bgcolor="#F3F3F3" align="center">

<table border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse;word-wrap:break-word;" width="100%" >
<tr><td height="25" align="center">
<font color="#02368D" style="font-size:14pt"><b><xsl:value-of select="BLOG/ATRICLE/TITLE" /></b></font><br />

⌨️ 快捷键说明

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