Skip to content

Commit

Permalink
a3 squad
Browse files Browse the repository at this point in the history
  • Loading branch information
froglicker authored Nov 24, 2024
1 parent d9b612b commit e405807
Show file tree
Hide file tree
Showing 6 changed files with 341 additions and 0 deletions.
Binary file added a3/logo.paa
Binary file not shown.
Binary file added a3/logo.tga
Binary file not shown.
Binary file added a3/sqd_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
168 changes: 168 additions & 0 deletions a3/squad.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
/*
CSS template for "squad.xml", used in "Armed Assault" (Ref: "http://www.armedassault.com")
and "Armed Assault 2" (Ref: "http://www.arma2.com")
See also the Arma-Wiki page: "http://community.bistudio.com/wiki/squad.xml"
Created by TomNedry, 26.Jan07
Reviewed by TomNedry, 15.Jul09
Lisence: Creative Common (http://creativecommons.org/licenses/by-nc-sa/2.5/deed.de)
*/

body
{
font-family:Arial;
background-color:#eaece5;
margin:0px;
}

a:link
{
text-decoration:none;
color:#800000;
}
a:visited
{
text-decoration:none;
color:#800000;
}
a:hover
{
text-decoration:none;
color:#ffffff;
}
a:active
{
text-decoration:none;
}
a:focus {
text-decoration:none;
}

th
{
background-color:#aeb399;
font-family:Arial;
font-size:10pt;
font-weight:bold;
padding:4px;
}

tr.one
{
background-color:#dde4c3;
width:100%;
padding:4px;
}
tr.two
{
background-color:#d2d9b8;
width:100%;
padding:4px;
}
td.one
{
background-color:#aeb399;
width:100%;
}
td.two
{
background-color:#e2e9c7;
width:100%;
}
.main
{
text-align:center;
width:100%;
border:0px solid #333333;
}
div.sqd_name
{
text-align:center;
font-family:Arial;
font-size:12pt;
font-weight:bold;
}
div.sqd_title
{
text-align:center;
font-family:Arial;
font-size:10pt;
}
div.sqd_logo
{
text-align:center;
font-size:8pt;
padding:5px;
}
.sqd_info
{
border:1px dotted darkgrey;
width:100%;
padding:0px;
border-spacing:0px;
}
.sqd_website
{
font-family:Arial;
font-size:10pt;
text-align:center;
background-color:#aeb399;
width:100%;
padding:4px;
border-spacing:0px;
}
.sqd_email
{
font-family:Arial;
font-size:10pt;
text-align:center;
background-color:#aeb399;
width:100%;
padding:4px;
border-spacing:0px;
}
.left-row
{
vertical-align:top;
height:100%;
}
.right-row
{
vertical-align:top;
height:100%;
}
.member_info
{
border:1px dotted darkgrey;
width:100%;
padding:0px;
border-spacing:0px;
}
.member_name
{
font-family:Arial;
color:black;
font-size:10pt;
padding:4px;
}
.member_email
{
font-family:Arial;
color:black;
font-size:8pt;
padding:4px;
}
.member_icq
{
font-family:Arial;
color:black;
font-size:8pt;
padding:4px;
}
.member_remark
{
font-family:Arial;
color:black;
font-size:8pt;
text-align:center;
}
40 changes: 40 additions & 0 deletions a3/squad.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?xml version="1.0"?>
<!DOCTYPE squad SYSTEM "squad.dtd">
<?xml-stylesheet href="squad.xsl?" type="text/xsl"?>
<squad nick="BLG">
<name>BreakLimitGamers</name>
<email>[email protected]</email>
<web>breaklimitgamers.com</web>
<picture>logo.paa</picture>
<title>GO. BEYOND. LIMITS.</title>
<member id="76561198079317072" nick="frog licker">
<name>frog licker</name>
<email>[email protected]</email>
<icq>Founder</icq>
<remark>i c u</remark>
</member>
<member id="76561198034657551" nick="BLG Mercury">
<name>Magical Midnight Mercury</name>
<email>[email protected]</email>
<icq>Community Manager</icq>
<remark>It's entirely possible that I'm drunk</remark>
</member>
<member id="76561197981288561" nick="BLG Duffman">
<name>Nicolai</name>
<email>N/A</email>
<icq>Administrator</icq>
<remark>DUFFMAN! CAN'T DIE!"</remark>
</member>
<member id="76561198142548035" nick="BLG Qlaskov">
<name>Qlaskov</name>
<email>N/A</email>
<icq>Moderator</icq>
<remark>Bitches Be Crazy</remark>
</member>
<member id="76561197984204596" nick="BLG Lemming">
<name>Lemming</name>
<email>N/A</email>
<icq>Administrator</icq>
<remark>Walk off the cliff!</remark>
</member>
</squad>
133 changes: 133 additions & 0 deletions a3/squad.xsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet
version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="text()">
<xsl:value-of select="."/>
</xsl:template>
<xsl:template match="*">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="/">
<HTML>
<HEAD>
<TITLE><xsl:value-of select="/squad/name"/></TITLE>
<LINK REL="stylesheet" TYPE="text/css" HREF="squad.css"></LINK>
</HEAD>
<!--
XSL template for "squad.xml", used in "Armed Assault" (Ref: "http://www.armedassault.com")
and "Armed Assault 2" (Ref: "http://www.arma2.com")
See also the Arma-Wiki page: "http://community.bistudio.com/wiki/squad.xml"
Created by TomNedry, 26.Jan07
Reviewed by TomNedry, 15.Jul09
Lisence: Creative Common (http://creativecommons.org/licenses/by-nc-sa/2.5/deed.de)
To have a squad logo in the HTML output, just put a "sqd_logo.png" in the same folder...
-->
<BODY>
<!--Main TABLE -->
<TABLE class="main">
<TR>
<TD class="left_row" valign="top">
<!-- Squad Info Table -->
<TABLE class="sqd_info">
<TR height="30">
<TD class="one">
<DIV class="sqd_name">
<xsl:value-of select="/squad/name"/>
</DIV>
</TD>
</TR>
<TR height="30">
<TD class="two">
<DIV class="sqd_title">
<xsl:value-of select="/squad/title"/>
</DIV>
</TD>
</TR>
<TR height="100%">
<TD width="100%" height="100%" valign="top">
<DIV class="sqd_logo">
<img src="sqd_logo.png" alt="Picture: Squad Logo"/>
</DIV>
</TD>
</TR>
<TR height="10">
<TD class="sqd_website">
Web site:
<A>
<xsl:attribute name="href">
http://<xsl:value-of select="/squad/web"/>
</xsl:attribute>
<xsl:value-of select="/squad/web"/>
</A>
</TD>
</TR>
<TR>
<TD class="sqd_email">
e-mail:
<A>
<xsl:attribute name="href">
mailto:<xsl:value-of select="/squad/email"/>
</xsl:attribute>
<xsl:value-of select="/squad/email"/>
</A>
</TD>
</TR>
</TABLE>
<!-- Squad Info Table -->
</TD>
<TD class="right_row" valign="top">
<!-- Member-Info Table -->
<TABLE class="member_info">
<Tr>
<Th>Members</Th>
<Th>e-mail</Th>
<Th>ICQ</Th>
</Tr>
<xsl:for-each select="/squad/member">
<TR>
<xsl:attribute name="class">
<xsl:choose>
<xsl:when test="position() mod 2 = 0">one</xsl:when>
<xsl:otherwise>two</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<TD class="member_name" rowspan="2">
<xsl:value-of select="name"/>
</TD>
<TD class="member_email">
<A>
<xsl:attribute name="href">
mailto:<xsl:value-of select="email"/>
</xsl:attribute>
<xsl:value-of select="email"/>
</A>
</TD>
<TD class="member_icq">
<xsl:value-of select="icq"/>
</TD>
</TR>
<TR>
<xsl:attribute name="class">
<xsl:choose>
<xsl:when test="position() mod 2 = 0">one</xsl:when>
<xsl:otherwise>two</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<TD class="member_remark" colspan="2" valign="top">
<xsl:value-of select="remark"/>
</TD>
</TR>
</xsl:for-each>
</TABLE>
<!-- Member Info Table -->
<!--Main TABLE -->
</TD>
</TR>
</TABLE>
<p style="font-family:verdana;font-size:7pt;color:darkgrey;text-align:center;padding:10px;">
"squad.xsl" by <a href="http://www.csar-clan.net">TomNedry</a>, last change: 15.Jul09
</p>
</BODY>
</HTML>
</xsl:template>
</xsl:stylesheet>

0 comments on commit e405807

Please sign in to comment.