Source: site.view [edit]
Function name: incTop
Arguments: selected
Description: (Shared) Top part of page for SkillsRank
Page type: text
Render function:  
Module: skillsrank

Page source:

<body>
<!-- The ultra77 template is designed and released by Ian Smith - N-vent Design Services LLC - www.n-vent.com. Feel free to use this, but please don't sell it and kindly leave the credits intact. Muchas Gracias! -->
<div id="wrapper">
<a name="top"></a>

<!-- header -->
<div id="header">
<div id="pagedescription">   
   <h2>     
       <webl>
          var uname = (wubinfo.fullname ? nil);
          if (uname != nil) then
             var pts = (wubvars.rankpoints ? "0");
             if (pts == "0") then
                 pts = (Wub_GetVaultValue("rankpoints") ? "0")
             end;
             uname + "   [" + pts + " points]"
          else
             `<a href="/site/login">Login</a>`
          end
       </webl>
   </h2>
</div>
	<div id="branding"><p><span class="templogo"><!-- your logo here -->SkillsRank</span><br>Play, Search, Rank</p></div>
</div>

<!-- top menu -->
<div id="menu">
	<ul>
		<li <webl>WubCall("cmdSelectClass",[selected == "home",`class="active"`])</webl> >
                    <a href="http://www.skillsrank.com" title="Home">Home</a></li>
		<li <webl>WubCall("cmdSelectClass",[selected == "about",`class="active"`])</webl> >
                    <a href="http://www.skillsrank.com/site/about" title="About">About</a></li>
		<li <webl>WubCall("cmdSelectClass",[selected == "play",`class="active"`])</webl> >
                    <a href="http://www.skillsrank.com/site/play" title="Play">Play</a></li>
		<li <webl>WubCall("cmdSelectClass",[selected == "search",`class="active"`])</webl> >
                    <a href="http://www.skillsrank.com/site/search" title="Search">Search</a></li>
		<li <webl>WubCall("cmdSelectClass",[selected == "contact",`class="active"`])</webl> >
                    <a href="http://www.skillsrank.com/site/contact" title="Contact">Contact</a></li>
	</ul>
</div> <!-- end top menu -->


<!-- bodywrap -->
<div id="bodytop">&nbsp;</div>
<div id="bodywrap">
	
	<div id="contentbody">