Header
PHP Code: 
{* Smarty *}<!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 profile="http://gmpg.org/xfn/11">

    <
meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<
title>{$sitetitle}</title>
<
meta name="description" content="{$metadesc}/>
<
meta name="keywords" content="{$metakeywords}/>
<
link href=".{$themepath}default.css" rel="stylesheet" type="text/css" />
<
script type="text/javascript" src=".{$themepath}dropdown.js"></script>
    {if $RSSon == '1'}
        <link rel="alternate" type="application/rss+xml" title="{$sitetitle}" href="./rss.php" />
    {/if}
    {php}
        am_27theme(); // loads <head></head> stuff required for 2.7 themes
    {/php}    
    {$headload}
</head>
<body{$bodyload}>
<div id="wholecontainer">
    <div id="maincontainer">
        <div id="pagecontainer">
            <div class="headerpart">
                <div class="logo">
                    <a href="./index.php"><img src=".{$themepath}images/logo.png" /></a>
                </div>
                <div class="header_top">
                    <div class="header_con">
                        <div class="top_rightcon">                                
                            <div class="top_searchpart">
                                <form action="index.php" name="searchbox" id="searchbox" method="get">
                                    <div class="top_searchbox"><input type="text" name="searchstring" id="searchstring" value="Search Games" onblur="if(this.value=='') this.value='Search Games';" onfocus="if(this.value=='Search Games') this.value='';" /></div>
                                    <div class="top_searchbtn">
                                        <input type="hidden" name="loadpage" value="./includes/search.php" />
                                        <input type="submit" id="searchbtn" name="searchbtn" value="SEARCH" title="SEARCH" />
                                    </div>
                                </form>
                            </div>
                            <div class="top_loginpart">
                                <div class="login_toppart">
                                    {php}
                                            global $tokens;
                if ($tokens == 1)
                                        {
                                            $tokentext = $_SESSION['tokens_remaining'].' Tokens Left before signup. ';

                                            } else {

                                    $tokentext = '&nbsp; &nbsp; &nbsp; &nbsp;';

                                    {/php}
                                    
                                        
                                    {php} } {/php}

                                    <div class="tokentxt">{php}echo $tokentext; {/php} </div>
                                    <div class="newusertxt_bg"><a href="./index.php?loadpage=./includes/register.php">New User?<br/><span>Signup</span></a></div>
                                    
                                    <div class="loginbg">
                                        {php}
                                            if ($_SESSION['reguser'] != "")
                                            {
                                        {/php}
                                                <div class="existusertxt">
                                                    Welcome back <span style="color:#D7CB0D;">{php}echo $_SESSION['reguser']{/php}</span>
                                                </div>
                                                <div class="logincon">
                                                    <div style="padding:3px 0px; height:10px;">
                                                        <a href="./index.php?loadpage=./includes/profile.php" style="color:#99BF2F;"><b>View Profile</b></a>
                                                        <span style='padding-left:15px;'>Join Date : {php} echo am_getuserjoindate($_SESSION['reguser']) {/php}
                                                    </div>
                                                    <div style="padding:3px 0px; height:10px;"><a href="./includes/logout.php" style="color:#BD003B;"><b>Logout</b></a></div>
                                                </div>
                                        {php}    
                                            }
                                            else
                                            {
                                        {/php}
                                                <form action="./index.php" method="post">                                  
                                                    <div class="existusertxt">Existing User</div>
                                                    <div class="logincon">
                                                        <div class="useridbox"><input type="text" name="name" id="name" value="Enter User ID" onblur="if(this.value=='') this.value='Enter User ID';" onfocus="if(this.value=='Enter User ID') this.value='';" /></div>
                                                        <div class="useridbox">
                                                          <input type="password" name="pass" id="pass" value="Enter Password" onblur="if(this.value=='') this.value='Enter Password';" onfocus="if(this.value=='Enter Password') this.value='';" />
                                                        </div>
                                                        <div class="loginbtn">
                                                            <input type="hidden" name="asfsagrg4" value="d76fghhjda" />
                                                          <input type="submit" name="loginbtn" id="loginbtn" value="LOGIN" title="LOGIN" />
                                                        </div>
                                                    </div>
                                                    <div class="loginbtm">
                                                        <div class="rempart">
                                                            <div class="rembox"><input type="checkbox" name="rememb" id="rememb"  /></div>
                                                            <div class="remtxt">Remember Me</div>
                                                        </div>
                                                        <div class="forgottxt"><a href="./index.php?loadpage=./includes/forgotpassword.php">Forgot Password?</a></div>
                                                    </div>
                                                  </form>
                                        {php}    
                                            }
                                        {/php}
                                    
                                      
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <div class="topmenupart">
                            <div class="menu">
                                <div class="mleft">&nbsp;</div>
                                <div class="mcon"><a href="./index.php">Home</a></div>
                                <div class="mright">&nbsp;</div>
                            </div>    
                            <div class="menu">
                                <div class="mleft">&nbsp;</div>
                                <div class="mcon"><a href="http://forum.play4freearcade.net/" target="_blank">Forum</a>
                                                                 </div>
                                <div class="mright">&nbsp;</div>
                            </div>    
                            <div class="menu">
                                <div class="mleft">&nbsp;</div>
                                <div class="mcon"><a href="./memberlist.php">Member List</a></div>
                                <div class="mright">&nbsp;</div>
                            </div>    
                            <div class="menu">
                                <div class="mleft">&nbsp;</div>
                                <div class="mcon"><a href="./advertise.php">Advertise</a></div>
                                <div class="mright">&nbsp;</div>
                            </div>    
                            <div class="menu">
                                <div class="mleft">&nbsp;</div>
                                <div class="mcon"><a href="./trophies.php">Trophies</a></div>
                                <div class="mright">&nbsp;</div>
                            </div>    
                            <div class="menu">
                                <div class="mleft">&nbsp;</div>
                                <div class="mcon"><a href="./index.php?loadpage=./includes/linkexchange.php">Exchange Links</a></div>
                                <div class="mright">&nbsp;</div>
                            </div>    
                            <div class="menu">
                                <div class="mleft">&nbsp;</div>
                                <div class="mcon"><a href="./contactus.php">Contact us</a></div>
                                <div class="mright">&nbsp;</div>
                            </div>                                    
                    </div>
                                                        
                    </div>    
                </div>
            <div class="mainmenupart">
                <div class="mainmenu_left"><img src=".{$themepath}images/mainmenu_left.jpg" width="10" height="43" alt="" /></div>
                <div class="mainmenu_con">
                    <ul>
                        {php}am_listgamecats($db, 'list');    {/php}                                        
                    </ul>
                </div>
                <div class="mainmenu_right"><img src=".{$themepath}images/mainmenu_right.jpg" width="10" height="43" alt="" /></div>                                    
            </div>
        </div> 

Overallheader.tpl
PHP Code: 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<
html dir="{S_CONTENT_DIRECTION}">
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<
meta http-equiv="Content-Style-Type" content="text/css">
{
META}
{
NAV_LINKS}
<
title>{SITENAME} :: {PAGE_TITLE}</title>
<!-- 
link rel="stylesheet" href="templates/subSilver/{T_HEAD_STYLESHEET}" type="text/css" -->
<
style type="text/css">
<!--
/*
  The original subSilver Theme for phpBB version 2+
  Created by subBlue design
  http://www.subBlue.com

  NOTE: These CSS definitions are stored within the main page body so that you can use the phpBB2
  theme administration centre. When you have finalised your style you could cut the final CSS code
  and place it in an external file, deleting this section to save bandwidth.
*/

/* General page style. The scroll bar colours only visible in IE5.5+ */
body 
    
background-color: {T_BODY_BGCOLOR};
    
scrollbar-face-color: {T_TR_COLOR2};
    
scrollbar-highlight-color: {T_TD_COLOR2};
    
scrollbar-shadow-color: {T_TR_COLOR2};
    
scrollbar-3dlight-color: {T_TR_COLOR3};
    
scrollbar-arrow-color:  {T_BODY_LINK};
    
scrollbar-track-color: {T_TR_COLOR1};
    
scrollbar-darkshadow-color: {T_TH_COLOR1};
}

/* General font families for common tags */
font,th,td,font-family: {T_FONTFACE1} }
a:link,a:active,a:visited color : {T_BODY_LINK}; }
a:hover        text-decorationunderlinecolor : {T_BODY_HLINK}; }
hr    height0pxbordersolid {T_TR_COLOR30pxborder-top-width1px;}

/* This is the border line & background colour round the entire page */
.bodyline    background-color: {T_TD_COLOR2}; border1px {T_TH_COLOR1solid; }

/* This is the outline round the main forum tables */
.forumline    background-color: {T_TD_COLOR2}; border2px {T_TH_COLOR2solid; }

/* Main table cell colours and backgrounds */
td.row1    background-color: {T_TR_COLOR1}; }
td.row2    background-color: {T_TR_COLOR2}; }
td.row3    background-color: {T_TR_COLOR3}; }

/*
  This is for the table cell above the Topics, Post & Last posts on the index.php page
  By default this is the fading out gradiated silver background.
  However, you could replace this with a bitmap specific for each forum
*/
td.rowpic {
        
background-color: {T_TD_COLOR2};
        
background-imageurl(templates/subSilver/images/{T_TH_CLASS3});
        
background-repeatrepeat-y;
}

/* Header cells - the blue and silver gradient backgrounds */
th    {
    
color: {T_FONTCOLOR3}; font-size: {T_FONTSIZE2}pxfont-weight bold
    
background-color: {T_BODY_LINK}; height25px;
    
background-imageurl(templates/subSilver/images/{T_TH_CLASS2});
}

td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
            
background-imageurl(templates/subSilver/images/{T_TH_CLASS1});
            
background-color:{T_TR_COLOR3}; border: {T_TH_COLOR3}; border-stylesolidheight28px;
}

/*
  Setting additional nice inner borders for the main table cells.
  The names indicate which sides the border will be on.
  Don't worry if you don't understand this, just ignore it :-)
*/
td.cat,td.catHead,td.catBottom {
    
height29px;
    
border-width0px 0px 0px 0px;
}
th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR {
    
font-weightboldborder: {T_TD_COLOR2}; border-stylesolidheight28px;
}
td.row3Right,td.spaceRow {
    
background-color: {T_TR_COLOR3}; border: {T_TH_COLOR3}; border-stylesolid;
}

th.thHead,td.catHead font-size: {T_FONTSIZE3}pxborder-width1px 1px 0px 1px; }
th.thSides,td.catSides,td.spaceRow     border-width0px 1px 0px 1px; }
th.thRight,td.catRight,td.row3Right     border-width0px 1px 0px 0px; }
th.thLeft,td.catLeft      border-width0px 0px 0px 1px; }
th.thBottom,td.catBottom  border-width0px 1px 1px 1px; }
th.thTop     border-width1px 0px 0px 0px; }
th.thCornerL border-width1px 0px 0px 1px; }
th.thCornerR border-width1px 1px 0px 0px; }

/* The largest text used in the index page title and toptic title etc. */
.maintitle    {
    
font-weightboldfont-size22pxfont-family"{T_FONTFACE2}",{T_FONTFACE1};
    
text-decorationnoneline-height 120%; color : {T_BODY_TEXT};
}

/* General text */
.gen font-size : {T_FONTSIZE3}px; }
.
genmed font-size : {T_FONTSIZE2}px; }
.
gensmall font-size : {T_FONTSIZE1}px; }
.
gen,.genmed,.gensmall color : {T_BODY_TEXT}; }
a.gen,a.genmed,a.gensmall color: {T_BODY_LINK}; text-decorationnone; }
a.gen:hover,a.genmed:hover,a.gensmall:hover    color: {T_BODY_HLINK}; text-decorationunderline; }

/* The register, login, search etc links at the top of the page */
.mainmenu        font-size : {T_FONTSIZE2}pxcolor : {T_BODY_TEXT} }
a.mainmenu        text-decorationnonecolor : {T_BODY_LINK};  }
a.mainmenu:hovertext-decorationunderlinecolor : {T_BODY_HLINK}; }

/* Forum category titles */
.cattitle        font-weightboldfont-size: {T_FONTSIZE3}px letter-spacing1pxcolor : {T_BODY_LINK}}
a.cattitle        text-decorationnonecolor : {T_BODY_LINK}; }
a.cattitle:hovertext-decorationunderline; }

/* Forum title: Text and link to the forums used in: index.php */
.forumlink        font-weightboldfont-size: {T_FONTSIZE3}pxcolor : {T_BODY_LINK}; }
a.forumlink     text-decorationnonecolor : {T_BODY_LINK}; }
a.forumlink:hovertext-decorationunderlinecolor : {T_BODY_HLINK}; }

/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav            font-weightboldfont-size: {T_FONTSIZE2}pxcolor : {T_BODY_TEXT};}
a.nav            text-decorationnonecolor : {T_BODY_LINK}; }
a.nav:hover        text-decorationunderline; }

/* titles for the topics: could specify viewed link colour too */
.topictitle,h1,h2    font-weightboldfont-size: {T_FONTSIZE2}pxcolor : {T_BODY_TEXT}; }
a.topictitle:link   text-decorationnonecolor : {T_BODY_LINK}; }
a.topictitle:visited text-decorationnonecolor : {T_BODY_VLINK}; }
a.topictitle:hover    text-decorationunderlinecolor : {T_BODY_HLINK}; }

/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name            font-size : {T_FONTSIZE2}pxcolor : {T_BODY_TEXT};}

/* Location, number of posts, post date etc */
.postdetails        font-size : {T_FONTSIZE1}pxcolor : {T_BODY_TEXT}; }

/* The content of the posts (body of text) */
.postbody font-size : {T_FONTSIZE3}pxline-height18px}
a.postlink:link    text-decorationnonecolor : {T_BODY_LINK} }
a.postlink:visited text-decorationnonecolor : {T_BODY_VLINK}; }
a.postlink:hover text-decorationunderlinecolor : {T_BODY_HLINK}}

/* Quote & Code blocks */
.code 
    
font-family: {T_FONTFACE3}; font-size: {T_FONTSIZE2}pxcolor: {T_FONTCOLOR2};
    
background-color: {T_TD_COLOR1}; border: {T_TR_COLOR3}; border-stylesolid;
    
border-left-width1pxborder-top-width1pxborder-right-width1pxborder-bottom-width1px
}

.
quote {
    
font-family: {T_FONTFACE1}; font-size: {T_FONTSIZE2}pxcolor: {T_FONTCOLOR1}; line-height125%;
    
background-color: {T_TD_COLOR1}; border: {T_TR_COLOR3}; border-stylesolid;
    
border-left-width1pxborder-top-width1pxborder-right-width1pxborder-bottom-width1px
}

/* Copyright and bottom info */
.copyright        font-size: {T_FONTSIZE1}pxfont-family: {T_FONTFACE1}; color: {T_FONTCOLOR1}; letter-spacing: -1px;}
a.copyright        color: {T_FONTCOLOR1}; text-decorationnone;}
a.copyright:hover color: {T_BODY_TEXT}; text-decorationunderline;}

/* Form elements */
input,textareaselect {
    
color : {T_BODY_TEXT};
    
fontnormal {T_FONTSIZE2}px {T_FONTFACE1};
    
border-color : {T_BODY_TEXT};
}

/* The text input fields background colour */
input.posttextarea.postselect {
    
background-color : {T_TD_COLOR2};
}

input text-indent 2px; }

/* The buttons used for bbCode styling in message post */
input.button {
    
background-color : {T_TR_COLOR1};
    
color : {T_BODY_TEXT};
    
font-size: {T_FONTSIZE2}pxfont-family: {T_FONTFACE1};
}

/* The main submit button option */
input.mainoption {
    
background-color : {T_TD_COLOR1};
    
font-weight bold;
}

/* None-bold submit button */
input.liteoption {
    
background-color : {T_TD_COLOR1};
    
font-weight normal;
}

/* This is the line in the posting page which shows the rollover
  help line. This is actually a text box, but if set to be the same
  colour as the background no one will know ;)
*/
.helpline background-color: {T_TR_COLOR2}; border-stylenone; }

/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("templates/subSilver/formIE.css"); 
-->
</
style>
<!-- 
BEGIN switch_enable_pm_popup -->
<
script language="Javascript" type="text/javascript">
<!--
    if ( {
PRIVATE_MESSAGE_NEW_FLAG} )
    {
        
window.open('{U_PRIVATEMSGS_POPUP}''_phpbbprivmsg''HEIGHT=225,resizable=yes,WIDTH=400');;
    }
//-->
</script>
<!-- END switch_enable_pm_popup -->
</head>
<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">

<a name="top"></a>

<table width="728" cellspacing="0" cellpadding="10" border="0" align="center"> 
    <tr> 
        <td class="bodyline"><table width="100%" cellspacing="0" cellpadding="0" border="0">
            <tr> 
                <td><a href="{U_INDEX}"><img src="templates/subSilver/images/logo_phpBB.gif" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
                <td align="center" width="100%" valign="middle"><span class="maintitle">{SITENAME}</span><br /><span class="gen">{SITE_DESCRIPTION}<br />&nbsp; </span> 
                <table cellspacing="0" cellpadding="2" border="0">
                    <tr> 
                        <td align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_FAQ}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a></span><span class="mainmenu">&nbsp; &nbsp;<a href="{U_SEARCH}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_search.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a>&nbsp; &nbsp;<a href="{U_MEMBERLIST}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_members.gif" width="12" height="13" border="0" alt="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a>&nbsp; &nbsp;<a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>&nbsp; 
                        <!-- BEGIN switch_user_logged_out -->
                        &nbsp;<a href="{U_REGISTER}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_register.gif" width="12" height="13" border="0" alt="{L_REGISTER}" hspace="3" />{L_REGISTER}</a></span>&nbsp;
                        <!-- END switch_user_logged_out -->
                        </td>
                    </tr>
                    <tr>
                        <td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_PROFILE}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="{L_PROFILE}" hspace="3" />{L_PROFILE}</a>&nbsp; &nbsp;<a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a>&nbsp; &nbsp;<a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_login.gif" width="12" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a>&nbsp;</span></td>
                    </tr>
                </table></td>
            </tr>
        </table>
</div>

        <br />