/[LeafOK_CVS]/pvpgn-1.7.4/src/bntrackd/servers.xsl
ViewVC logotype

Annotation of /pvpgn-1.7.4/src/bntrackd/servers.xsl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Tue Jun 6 03:41:37 2006 UTC (19 years, 9 months ago) by sysadm
CVS Tags: pvpgn_1-7-4-0_MIL
Branch point for: GNU, MAIN
Content type: application/xslt+xml
Initial revision

1 sysadm 1.1 <?xml version="1.0" encoding="UTF-8"?>
2     <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3     <xsl:output method="html" indent="yes" encoding="UTF-8" doctype-public="-//W3C/DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" standalone="yes" media-type="text/html"/>
4     <xsl:template match="/">
5     <html>
6     <head><title>PvPGN XML Server List</title>
7     <link href="main.css" rel="stylesheet" type="text/css" />
8     </head>
9     <body>
10     <p>
11     <table border='0' cellspacing='0' cellpadding='3' width='256'>
12     <tr><th><a href='xml_servers.tgz'>Download(bntrackd.c,XSL,PHP)</a></th><th><a href='servers.xsl'>servers.xsl</a></th></tr>
13     </table>
14     </p>
15     <table border='0' cellspacing='0' cellpadding='3' width='512'>
16     <tr><th align='left'>Address</th><th align='left'>Location</th><th align='left'>Description</th><th align='left'>URL</th><th align='left'>Uptime</th><th align='left'>Contact</th><th align='left'>Software</th><th>Users</th><th align='left'>Games</th><th align='left'>Channels</th></tr>
17     <xsl:for-each select="server_list/server">
18     <xsl:sort select="users" order="descending"/>
19     <tr>
20     <td><a href='bnetd://{address}:{port}/'><xsl:value-of select="address"/>:<xsl:value-of select="port"/></a></td>
21     <td><xsl:value-of select="location"/></td>
22     <td><xsl:value-of select="description"/></td>
23     <td nowrap="nowrap"><a href='{url}'><xsl:value-of select="url"/></a></td>
24     <td><xsl:value-of select="uptime"/></td>
25     <td><a href='mailto://{contact_email}'><xsl:value-of select="contact_name"/></a>&#160;<xsl:value-of select="contact_email"/></td>
26     <td><xsl:value-of select="software"/>&#160;<xsl:value-of select="version"/>&#160;<xsl:value-of select="platform"/></td>
27     <td><xsl:value-of select="users"/></td>
28     <td><xsl:value-of select="games"/></td>
29     <td><xsl:value-of select="channels"/></td></tr>
30     </xsl:for-each>
31     </table>
32     </body>
33     </html>
34     </xsl:template>
35     </xsl:stylesheet>

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1