Files
ningbo/动易的标签库/标签库/WAP类/WAP头部.config
T
2026-08-31 16:22:00 +08:00

43 lines
1.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<root>
<LabelType>WAP类</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>static</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<Version officialVersion="" modifiedVersions="3600" compatibleVersion="" />
<LabelTemplate><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pe="labelproc" exclude-result-prefixes="pe">
<xsl:output method="xml" />
<xsl:template match="/">
<a id="db" >
</a>
<div class="header">
<div id="logo">
<a>
<xsl:attribute name="href"><xsl:value-of select="pe:GetSiteConfigInfo('rootpath')"/>wap/Default.aspx?sid=@Request_sid</xsl:attribute>
<img alt="动易网络">
<xsl:attribute name="src">
<xsl:value-of select="pe:GetSiteConfigInfo('rootpath')"/>wap/images/logo.gif</xsl:attribute>
</img>
</a>
</div>
<div class="reg">
<xsl:choose>
<xsl:when test="pe:GetLoginedUserInfo('UserName') =''">
<a>
<xsl:attribute name="href">
<xsl:value-of select="pe:GetSiteConfigInfo('rootpath')"/>wap/Login.aspx?sid=@Request_sid</xsl:attribute>登录</a>
<xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>
<a><xsl:attribute name="href"><xsl:value-of select="pe:GetSiteConfigInfo('rootpath')"/>wap/Register.aspx?sid=@Request_sid</xsl:attribute>注册</a>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="pe:GetLoginedUserInfo('UserName')"/>欢迎您!<a><xsl:attribute name="href"><xsl:value-of select="pe:GetSiteConfigInfo('rootpath')"/>wap/Logout.aspx?sid=@Request_sid</xsl:attribute>退出</a>
</xsl:otherwise>
</xsl:choose>
</div>
</div>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
</root>