[% SET global.static = '/includes' %]
[% USE banner %]
[% USE user %]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
[% IF title %]
  <title>[% title %]</title>
[% END %]
  <link rel="shortcut icon" type="image/x-icon" href="[% global.static %]/header/favicon.ico" />
  <link rel="alternate" type="application/xml" title="RSS" href="/my/cyberarmy.rss" />
  <link rel="alternate stylesheet" type="text/css" href="[% global.static %]/style/cyberarmy1280.css" title="1280 x 1024" />
  <link rel="stylesheet" type="text/css" href="[% global.static %]/style/cyberarmy1024.css" title="1024 x 768" />
  <link rel="alternate stylesheet" type="text/css" href="[% global.static %]/style/cyberarmy800.css" title="800 x 600" />
  <meta name="description" content="CyberArmy - fight for internet self-regulation." />
  <meta name="keywords" content="cyberarmy, cyber army, brigades, zebulun" />
  <script type="text/javascript" src="[% global.static %]/style/cssHelper.js"></script>
  <script type="text/javascript" src="[% global.static %]/style/displayHelper.js"></script>
</head>

<body id="www-cyberarmy-net">
<div id="topbar">
	<a href="http://www.cauniversity.info" class="cau">CyberArmy University</a> |
	<a href="http://osi.cyberarmy.net" class="osi">Open Source Institute</a> | 
	<a href="http://sos.cyberarmy.net" class="sos">CyberArmy Intelligence &amp; Security</a> |
	<a href="http://www.cyberarmy.net/brigades/1034/" class="casap">CyberArmy Services &amp; Projects</a>
</div>
<div id="header">
  <h1><a href="/about/"><span class="hide">CyberArmy</span></a></h1>
    <!-- Begin CyberArmy Banners Network -->
    <div id="header-left">
	
	[% userinfo = user.getInfo %]
		<div id="user-info" class="header">
			[% USE date %]
					[% IF userinfo.showname %]
					<table style="padding-right: 4px" border="0" cellspacing="0" cellpadding="0">
				       <tr><td >
						[% FOREACH badge = userinfo.badges %]
						[% IF badge.search('cbadges') %]
						<img src="/includes/[% badge %]" alt="" />
						[% END %]
						[% END %]
						&nbsp;</td><td><b><small>[% userinfo.attributes.join(' ') +%] [%+ userinfo.showname %]</small></b><br/>
						[% IF userinfo.messages %]
						You have <span class="can"><strong>[%userinfo.messages%]</strong></span> <a href="/my/messages">messages</a>
						[% ELSE %]
						No unread <a href="/my/messages">messages</a>
						[% END %]<br/>
						You have <span class="can"><strong>[% userinfo.todo_size %]</strong></span>
						<a href="/my/todo">ToDo Items</a><br/>
						Your <a href="/my/articles/">Articles</a><br/>
						Your <a href="/my/profile/">Profile</a><br/>
						<a class="opt" style="padding-right: 4px" href="/my/logout/"><small>Logout</small></a></td></tr>
                    </table>
					[% ELSE %]
					You aren't <a href="/login/" class="can">logged</a> in.
					<br/><br/><br/>					
					Not a member? <a href="/bootcamp/" class="can">Sign up</a> now!
					</td></tr></table>
					[% END %]
					
		</div>
	[% banner = banner.get %][% IF banner %]
  	<center>
  	<div id="ads">
		<a href="[% banner.url %]" target="_blank">
		<img src="[% banner.image %]" alt="[% banner.caption %]" 
		border="0" width="468" height="60"/></a>
	</div>
		</center>
	[% END %]
	</div>
  <!-- End CyberArmy Banners Network -->
	<div id="menu">
	  <ul>
		<li>
		<noscript><a href="/my/" id="header-myca">HeadQuarters</a></noscript>
		<script type="text/javascript">
		<!--
		var theWidth = getBrowserWidth();
		if (theWidth > 1000)
		{
			document.write("<a href=\"/my/\" id=\"header-myca\">HeadQuarters</a>");
		}
		else
		{
			document.write("<a href=\"/my/\" id=\"header-myca\">HQ</a>");		
		}
		// -->
		</script>
		</li>
		<li><a href="/brigades/" id="header-brigades">Brigades</a></li>
		<li><a href="/projects/" id="header-projects">Projects</a></li>
		<li><a href="/sered/" id="header-sered">Sered</a></li>
		<li><a href="/forum/" id="header-forum">Forum</a></li>
		<li><a href="/library/" id="header-library">Library</a></li>
		<li><a href="/files/" id="header-files">Files</a></li>
		<li><a href="/irc/" id="header-chat">Chat</a></li>
		<li><a href="/contact/" id="header-feedback">Feedback</a></li>
		<li><a href="/donate/" id="header-donate">Donate</a></li>
	  </ul>
 	</div>
 	
  <a href="/newtfuzz.html"><!-- legal --></a>
<hr width="100%" size="1" noshade="noshade" style="clear: both; background-color: #ffaa33; color: #ffaa33" color="#ffaa33" />
  
</div>
<div id="wrap">
<!-- BEGIN CONTENT HERE -->
[% content %]
<!-- END CONTENT HERE -->
</div>

<hr width="100%" size="1" noshade="noshade" style="clear: both; background-color: #ffaa33; color: #ffaa33" color="#ffaa33" />
<center><small><a href="/about">About Us</a> | <a href="/about/PrivacyPolicy">Privacy Policy</a> | <a href="/about/MissionStatement">Mission Statement</a> | <a href="/forum/help/">Help</a></small></center>

<script type="text/javascript">
 <!--
 //set style for browser size
 checkBrowserWidth();
 // -->
</script>
<br />
</body>
</html>
