Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 2 of 3
Goto page Previous  1, 2, 3  Next
 
Reply with quote Download Post 
Post Re: How Do I Check If A User Is Logged In ? 
 
MG,

Tried what you suggested and it did not work out. Still the same.

What i have now done is removed all code so that all i have is :-

alertz_VIP.php

Code: [Download] [Hide] [Select]

define('IN_ICYPHOENIX', true);
if (!defined('IP_ROOT_PATH')) define('IP_ROOT_PATH', './');
if (!defined('PHP_EXT')) define('PHP_EXT', substr(strrchr(__FILE__, '.'), 1));

// Include files
include(IP_ROOT_PATH . 'common.' . PHP_EXT);


//Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();
//End session management


if (!$user->data['session_logged_in'])

{

    redirect(append_sid(CMS_PAGE_LOGIN . '?redirect=alertz_VIP.' . PHP_EXT, true));
    exit;
}

else
    // Yes they are
   {
           $template->assign_vars(array(
                'USERNAME' => htmlspecialchars($user->data[username]),
            )
        );    
            
        //full_page_generation();
                full_page_generation('alertz_VIP.php', , '', '');
            
   }



and the template alertz_VIP.tpl

Code: [Download] [Hide] [Select]

<style type="text/css">
<!--
.style7 {
    color: #006600;
    font-weight: bold;
    font-size: 18px;
}
.style14 {color: #003300; font-weight: bold; }
.style16 {
    color: #000066;
    font-style: italic;
}
.style25 {
    color: #FF0000;
    font-weight: bold;
    font-size: 12px;
}
.style28 {
    font-size: 12px;
    color: #330000;
}
.style29 {
    font-size: 12px
}
.style31 {color: #003300; font-weight: bold; font-size: 16px; }
.style33 {
    color: #000099;
    font-weight: bold;
    font-style: italic;
    font-size: 18px;
}
.style34 {
    color: #FF0000;
    font-weight: bold;
    font-size: 24px;
}
.style35 {font-size: 12px; color: #003300; }
.style36 {
    color: #FF0000;
    font-weight: bold;
    font-size: 14px;
    font-style: italic;
}
.style38 {color: #003300; font-weight: bold; font-size: 16px; font-style: italic; }
.style39 {font-size: x-small}
.style40 {color: #FF0000; font-weight: bold; font-size: xx-small; font-style: italic; }
-->
</style>

<!-- INCLUDE overall_header.tpl -->
  
  
<h1 align="center" class="style34"><blink>Scotbirds Alertz - Rare and Scarce</blink></h1>
<p align="center" class="style34 style39">&nbsp;</p>
<p align="center" class="style40">&nbsp; </p>
<h3 align="center" class="style14">If you have seen something unusual / rare then please call it in on -- <span class="style33">Hotline: 0333 5772473</span></h3>
<p align="center" class="style14">

<table width="90%" border="0" align="center" cellpadding="5">
  <tr>
 
    <td width="1%"><td width="5%"><td width="2%"><td width="2%"><td width="2%"><form action="alertz_VIP.php" method="GET">
    <td width="2%"><td width="2%"><td width="5%"><span class="style38">Date</span><td width="3%"></td>
    <td width="12%"><span class="style14">
      <select name=DATE_FILTER size="1" id=DATE_FILTER onchange="this.form.submit()">
      <option value="">Select </option>
      <option value={DATE_FILTER}></option>    
      </select>
    </span></td>
    <td width="1%">&nbsp;</td>
    <td width="7%"><span class="style16"><span class="style14"><span class="style31">Region</span></span></span></td>
    
        <td width="22%"><span class="style16"><span class="style14">
          <select name=REGION_FILTER size="1" id=REGION_FILTER onchange="this.form.submit()">
          <option value="">Select </option>
            <option value={REGION_FILTER}></option>
          </select>
        </span></span></td>
    <td width="1%">&nbsp;</td>

    <td width="8%"><span class="style16"><span class="style14"><span class="style31">Species</span></span></span></td>
    <td width="10%"><span class="style16"><span class="style14">
      <select name=SPECIES_FILTER size="1" id=SPECIES_FILTER onchange="this.form.submit()">
        <option value="">Select </option>
        <option value={SPECIES_FILTER}></option>
      </select>
    </span></span></td>
    
    <td width="10%"><!-- Begin FreeButtons.org -->
<style>#web-buttons-id2nj62 a{display:block;color:transparent;} #web-buttons-id2nj62 a:hover{background-position:left bottom;}a#web-buttons-id2nj62a {display:none}</style>
<table id="web-buttons-id2nj62" width=0 cellpadding=0 cellspacing=0 border=0><tr>
<td style="padding-right:0px" title ="Reset Search">
<a href="http://www.scotbird.co.uk/Forum/alertz_VIP.php" title="Reset Search" style="background-image:url(images/bt2nj62.png);width:151px;height:34px;display:block;"><br/></a></td>
</tr></table><a id="web-buttons-id2nj62a"></a>
<!-- End FreeButtons.org --></td>

</table>
<p>&nbsp;</p>
<table width="870" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#99CC99">

  <tr>
    <th width="178" class="style31" scope="col">Region</th>
    <th width="184" class="style31" scope="col">Species</th>
    <th width="96" class="style31" scope="col">Date</th>
    <th width="96" class="style31" scope="col">Time</th>
    <th width = "304" class="style31" scope="col">Comments</th>
  </tr>
  <!-- BEGIN alerts -->
  <tr>
    <th class="style7 style29" scope="col">{alerts.REGION}</th>
    <th class="style25" scope="col">{alerts.SPECIES}</th>
    <th class="style35" scope="col">{alerts.DATE} </th>
    <th scope="col"><span class="style35">{alerts.TIME} </span></th>
    <th scope="col"><span class="style28">{alerts.COMMENTS} </span></th>
  </tr>
  <!-- END alerts -->
</table>
<p align="center" class="style14">&nbsp;</p>


<!-- INCLUDE overall_footer.tpl -->



using any user to login gets the same results

A -- i am logged into website already and click on the link to this page, i get faced with the log in screen, once i log in a second time i can access this page
B -- I am NOT logged in and browse to this page direct, i get asked to login then it goes to the page

User - test
password - test

website - HERE

Link called alertz only appears once a user is logged in and can be found up near the header logo.



Any suggestions
 



 
AndyGpySend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: How Do I Check If A User Is Logged In ? 
 
Just one - Turn on error reporting when you do these things.

'USERNAME' => htmlspecialchars($user->data[username]),

And it would have probably said something like "Undefined CONSTANT"

data[username]), != data['username']),  

Well I hope that's the problem.  
 



 
mortSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How Do I Check If A User Is Logged In ? 
 
Changed

data[username]

to

data['username']

still the same
 



 
AndyGpySend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How Do I Check If A User Is Logged In ? 
 
You're not setting cookies and the test account thinks I'm an Admin?

    ACP
    CMS

    Home
    Profile
    Forum

Without cookies, you can't log sessions.

Can I suggest that you upgrade this again and go through one thing at a time as you are modding it, because somewhere you are killing it.

Here's a couple of tools that just saved my life -  

Put them at the top of index.php ? and and keep that page in the browser while you play in another window.

Code: [Download] [Hide] [Select]
foreach($_SESSION as $key => $value) {
    echo  'Current session variable ' . $key . ' is: ' . $value . '<br />';
}

print_r($_COOKIE);

 



 
Edited by mort, Tue 15 Jan, 2013 06:36: Added tools
mortSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How Do I Check If A User Is Logged In ? 
 
Right guys,

getting closer i think.

i know the alertz.php and the .tpl files are okay the problem lies when i am logged in and click on the link to go to the alertz page it forgets about the session ID and kicks me to the log in screen.

THe link i have in the header sectiion is

<a href="{FULL_SITE_PATH}/alertz_VIP.php" class="invert">Alertz</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;

how can i get it so the session ID is kept like any other link i have ?

I am sure i have cookies on, as i have set cookie path etc.
 



 
AndyGpySend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How Do I Check If A User Is Logged In ? 
 
AndyGpy wrote: [View Post]
I am sure i have cookies on, as i have set cookie path etc.


Andy, you were not setting SESSIONS on anything, anywhere - Cookies either

And the fact that you have set a cookie path, means nothing if cookies are not being created.

Even without cookies - SESSIONS normally handles the user-security.

You have neither.

Go to your browser (if it's not fixed) and check if there are any current cookies or sessions for your site.
 



 
mortSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How Do I Check If A User Is Logged In ? 
 
ok Mort in Icy terms how to i set sessions then as i thought

//Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();
//End session management

created the session ?

regards
 



 
AndyGpySend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How Do I Check If A User Is Logged In ? 
 
Not IP - -

But as an example.

You query the DB for the information.

Code: [Download] [Hide] [Select]
    $row = $db->fetch_row($sql);
    if($row['activation_key'] == "0"){
    $_SESSION['username'] = $username;
    $_SESSION['userid'] = $row['userid'];
    $_SESSION['website'] = $row['website'];
    $_SESSION['blog_level'] = $row['blog_level'];
    $_SESSION['lang'] = $row['user_lang'];
    $_SESSION['user_flag'] = $row['user_flag'];
    $_SESSION['user_style'] = $row['user_style'];
    $_SESSION['user_session_time'] = $row['user_session_time'];


Then start the session in a "Global" file by adding:

Code: [Download] [Hide] [Select]
    session_start();


At the top of the file.

Code: [Download] [Hide] [Select]
$user->session_begin();


Would be a function that collects all the users data. If they are logged in.?

That too - would need to be at the top of every file the user has access to.

Because if it's not S_LOGGED_IN or S_LOGGED-OUT Means nothing.  
 



 
mortSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How Do I Check If A User Is Logged In ? 
 
Could you perhaps give me an example based on what i am trying to achieve, i am not a PHP developer, i am a VB man and learning as i go with PHP
 



 
AndyGpySend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How Do I Check If A User Is Logged In ? 
 
AndyGpy wrote: [View Post]
Could you perhaps give me an example based on what i am trying to achieve, i am not a PHP developer, i am a VB man and learning as i go with PHP


I hate to be blunt, but by using GPL/GNU software you are expected to sort these things yourself. If it was an Icy Phoenix problem that would be different. But it's not.

Consider this - After you - There's someone else - Then someone else again. So somewhere the free ride on other people's time has to have a line drawn under it. And I've just drawn the line under mine on this subject.

Some time ago I was told this at Coppermine:

Quote:
If you can't fix it, then learn how to do it, or pay someone who can.


And that's what GPL/GNU is - Or you can just wait until someone else wants to be involved some more.
 



 
mortSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How Do I Check If A User Is Logged In ? 
 
Mort

The purpose of the forum that i am led to beleive is for more experienceed members to help others where they can, that way they game experience and can then offer to help others.

If that is your attitude towards support, ie pay for it then, i had already PM'ed MG asking and fully prepared to pay.

I have looked at several other pages profile.php, memberlist.php etc looking on how the session id is retained and cannot figure it out hence the reason i am asking for support.

As explained i am fully up for learning and i am a long way from being a PHP developer.

You keep going on about sessions and cookies, now lets explore that further.

I have taken profile.php, which we all know works wonderfully. I create a link to it in my header and when clicked the session ID is lost and you are asked to log in.

Perhaps now you can understand my frustration. I am using the code as shown by MG in his tutorials but i am still having problems, ask for support and basically getting told to pay for such.

I too , like you am a VIP and i dont have any issue supporting this site as i have recieved support from it myself in the past but now im basically being told fix it yourself.

regards
 



 
AndyGpySend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How Do I Check If A User Is Logged In ? 
 
You don't take enough care Andy.

This all works for me - - Ten minutes.

And please DON'T change anything until you test it.

Code: [Download] [Hide] [Select]
<?php

define('IN_ICYPHOENIX', true);
if (!defined('IP_ROOT_PATH')) define('IP_ROOT_PATH', './');
if (!defined('PHP_EXT')) define('PHP_EXT', substr(strrchr(__FILE__, '.'), 1));

// Include files
include(IP_ROOT_PATH . 'common.' . PHP_EXT);


//Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();
//End session management


if (!$user->data['session_logged_in'])

{

    redirect(append_sid(CMS_PAGE_LOGIN . '?redirect=alertz_VIP.' . PHP_EXT, true));
    exit;
}

else
    // Yes they are
   {
           $template->assign_vars(array(
                'USERNAME' => htmlspecialchars($user->data[username]),
            )
        );    
            
        //full_page_generation();
                full_page_generation('alertz_VIP.tpl', '', '');
            
   }
?>




Code: [Download] [Hide] [Select]
<style type="text/css">
<!--
.style7 {
    color: #006600;
    font-weight: bold;
    font-size: 18px;
}
.style14 {color: #003300; font-weight: bold; }
.style16 {
    color: #000066;
    font-style: italic;
}
.style25 {
    color: #FF0000;
    font-weight: bold;
    font-size: 12px;
}
.style28 {
    font-size: 12px;
    color: #330000;
}
.style29 {
    font-size: 12px
}
.style31 {color: #003300; font-weight: bold; font-size: 16px; }
.style33 {
    color: #000099;
    font-weight: bold;
    font-style: italic;
    font-size: 18px;
}
.style34 {
    color: #FF0000;
    font-weight: bold;
    font-size: 24px;
}
.style35 {font-size: 12px; color: #003300; }
.style36 {
    color: #FF0000;
    font-weight: bold;
    font-size: 14px;
    font-style: italic;
}
.style38 {color: #003300; font-weight: bold; font-size: 16px; font-style: italic; }
.style39 {font-size: x-small}
.style40 {color: #FF0000; font-weight: bold; font-size: xx-small; font-style: italic; }
-->
</style>

<!-- INCLUDE overall_header.tpl -->
  
  
<h1 align="center" class="style34"><blink>Scotbirds Alertz - Rare and Scarce</blink></h1>
<p align="center" class="style34 style39">&nbsp;</p>
<p align="center" class="style40">&nbsp; </p>
<h3 align="center" class="style14">If you have seen something unusual / rare then please call it in on -- <span class="style33">Hotline: 0333 5772473</span></h3>
<p align="center" class="style14">

<table width="90%" border="0" align="center" cellpadding="5">
  <tr>
 
    <td width="1%"><td width="5%"><td width="2%"><td width="2%"><td width="2%"><form action="alertz_VIP.php" method="GET">
    <td width="2%"><td width="2%"><td width="5%"><span class="style38">Date</span><td width="3%"></td>
    <td width="12%"><span class="style14">
      <select name=DATE_FILTER size="1" id=DATE_FILTER onchange="this.form.submit()">
      <option value="">Select </option>
      <option value={DATE_FILTER}></option>    
      </select>
    </span></td>
    <td width="1%">&nbsp;</td>
    <td width="7%"><span class="style16"><span class="style14"><span class="style31">Region</span></span></span></td>
    
        <td width="22%"><span class="style16"><span class="style14">
          <select name=REGION_FILTER size="1" id=REGION_FILTER onchange="this.form.submit()">
          <option value="">Select </option>
            <option value={REGION_FILTER}></option>
          </select>
        </span></span></td>
    <td width="1%">&nbsp;</td>

    <td width="8%"><span class="style16"><span class="style14"><span class="style31">Species</span></span></span></td>
    <td width="10%"><span class="style16"><span class="style14">
      <select name=SPECIES_FILTER size="1" id=SPECIES_FILTER onchange="this.form.submit()">
        <option value="">Select </option>
        <option value={SPECIES_FILTER}></option>
      </select>
    </span></span></td>
    
    <td width="10%"><!-- Begin FreeButtons.org -->
<style>#web-buttons-id2nj62 a{display:block;color:transparent;} #web-buttons-id2nj62 a:hover{background-position:left bottom;}a#web-buttons-id2nj62a {display:none}</style>
<table id="web-buttons-id2nj62" width=0 cellpadding=0 cellspacing=0 border=0><tr>
<td style="padding-right:0px" title ="Reset Search">
<a href="http://www.scotbird.co.uk/Forum/alertz_VIP.php" title="Reset Search" style="background-image:url(images/bt2nj62.png);width:151px;height:34px;display:block;"><br/></a></td>
</tr></table><a id="web-buttons-id2nj62a"></a>
<!-- End FreeButtons.org --></td>

</table>
<p>&nbsp;</p>
<table width="870" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#99CC99">

  <tr>
    <th width="178" class="style31" scope="col">Region</th>
    <th width="184" class="style31" scope="col">Species</th>
    <th width="96" class="style31" scope="col">Date</th>
    <th width="96" class="style31" scope="col">Time</th>
    <th width = "304" class="style31" scope="col">Comments</th>
  </tr>
  <!-- BEGIN alerts -->
  <tr>
    <th class="style7 style29" scope="col">{alerts.REGION}</th>
    <th class="style25" scope="col">{alerts.SPECIES}</th>
    <th class="style35" scope="col">{alerts.DATE} </th>
    <th scope="col"><span class="style35">{alerts.TIME} </span></th>
    <th scope="col"><span class="style28">{alerts.COMMENTS} </span></th>
  </tr>
  <!-- END alerts -->
</table>
<p align="center" class="style14">&nbsp;</p>


<!-- INCLUDE overall_footer.tpl -->

 



 
mortSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How Do I Check If A User Is Logged In ? 
 
Mort,

I have done as you asked,


Content Encoding Error
      
  
          The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.
 

  Please contact the web site owners to inform them of this problem.



i am using firefox

regards
 



 
AndyGpySend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How Do I Check If A User Is Logged In ? 
 
Disable gzip encoding
 



 
InformproSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How Do I Check If A User Is Logged In ? 
 
thanks informpro thats fixed that but i still have original problem double login for anything i access of my menu in my header

if i manual type in www.scotbird.co.uk/scotforum/alertz...xxxxxxxxxxxxxxx  xxxxxxxx being the SID i am currently logged in with i get to the page.

If i type in www.scotbird.co.uk/scotforum/alertz_VIP.php i get shoved to the login page

My Overall Header.tpl file is below

Code: [Download] [Hide] [Select]
<!-- IF S_LOFI -->
<!-- IF S_LOFI_BOTS -->
<!-- INCLUDE ../common/lofi/bots/lofi_bots_header.tpl -->
<!-- ELSE -->
<!-- INCLUDE ../common/lofi/lofi_header.tpl -->
<!-- ENDIF -->
<!-- ELSE -->
{DOCTYPE_HTML}
<head>
<!-- INCLUDE overall_inc_header.tpl -->
{EXTRA_CSS_JS}

<!-- IF S_HEADER_DROPDOWN -->
<script type="text/javascript">

/***********************************************
* AnyLink Drop Down Menu- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

//Contents for menu 1
var menu1 = new Array();
menu1[0] = '<br /><div class="center-block-text">&nbsp;<form action="{FULL_SITE_PATH}{U_SEARCH}" method="post"><input name="search_keywords" type="text" class="post" style="width: 150px;" />&nbsp;<input type="submit" class="mainoption" value="{L_SEARCH}" />&nbsp;<br /><\/form><\/div>';
menu1[1] = '&nbsp;<a href="{FULL_SITE_PATH}{U_SEARCH}" title="{L_SEARCH_EXPLAIN}">{L_ADV_SEARCH}<\/a>';
//Contents for menu 2
var menu2 = new Array();
menu2[0] = '<a href="{FULL_SITE_PATH}{U_SEARCH_NEW}" title="{L_SEARCH_NEW}">{L_SEARCH_NEW2}<\/a>';
menu2[1] = '{L_DISPLAY_UNREAD}';
menu2[2] = '{L_DISPLAY_MARKED}';
menu2[3] = '{L_DISPLAY_PERMANENT}';

var menuwidth = '180px'; //default menu width
var disappeardelay = 250; //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick = "no"; //hide menu when user clicks within menu?

/////No further editing needed
if (ie4 || ns6)
{
    document.write('<div id="dropmenudiv" class="row1" style="visibility: hidden; width:' + menuwidth + ';" onmouseover="clearhidemenu();" onmouseout="dynamichide(event);"><\/div>');
}
</script>

<script type="text/javascript" src="{FULL_SITE_PATH}{T_COMMON_TPL_PATH}js/ddmenu.js"></script>

<script type="text/javascript">
if (hidemenu_onclick == "yes")
{
    document.onclick = hidemenu;
}
</script>
<!-- ENDIF -->

</head>
<body>

<div id="logo-img"><a href="{FULL_SITE_PATH}{U_PORTAL}" title="{L_HOME}"><img src="{FULL_SITE_PATH}{SITELOGO}" alt="{L_HOME}" title="{L_HOME}" /></a></div>

<?php
$domainname = basename($_SERVER['SCRIPT_NAME'], '.' . PHP_EXT);
IF (strstr($domainname,'newsletter')){
?>
</p>
  <tr>
    <td width="100%" class="forum-buttons" colspan="3">
        <a href="{FULL_SITE_PATH}{U_PORTAL}">Home</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <a href="{FULL_SITE_PATH}/newsletter2.php">Nov 2008</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <a href="{FULL_SITE_PATH}/newsletter3.php">Apr 2009</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
                <!-- IF not S_LOGGED_IN -->
        <a href="{FULL_SITE_PATH}{U_REGISTER}">{L_REGISTER}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ENDIF -->
        <a href="{FULL_SITE_PATH}{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT2}</a>
    </td>
</tr>
<?php
}
ELSEIF (basename($_SERVER['SCRIPT_NAME'], '.' . PHP_EXT) == 'tickindex'){
?>

<tr>
    <td width="100%" class="forum-buttons" colspan="3">
        <a href="{FULL_SITE_PATH}{U_PORTAL}" class="invert">{L_HOME}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <a href="{FULL_SITE_PATH}/tickindex.php" class="invert">Personal List</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <a href="{FULL_SITE_PATH}/tickleaderboard.php" class="invert">Leaderboard</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;

        <!-- IF not S_LOGGED_IN -->
        <a href="{FULL_SITE_PATH}{U_REGISTER}" class="invert">{L_REGISTER}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ENDIF -->
        <a href="{FULL_SITE_PATH}{U_LOGIN_LOGOUT}" class="invert">{L_LOGIN_LOGOUT2}</a>
    </td>
</tr>
<?php
}
ELSEIF (basename($_SERVER['SCRIPT_NAME'], '.' . PHP_EXT) == 'tickleaderboard'){
?>

<tr>
    <td width="100%" class="forum-buttons" colspan="3">
        <a href="{FULL_SITE_PATH}{U_PORTAL}" class="invert">{L_HOME}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <a href="{FULL_SITE_PATH}/tickindex.php" class="invert">Personal List</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <a href="{FULL_SITE_PATH}/tickleaderboard.php" class="invert">Leaderboard</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;

        <!-- IF not S_LOGGED_IN -->
        <a href="{FULL_SITE_PATH}{U_REGISTER}" class="invert">{L_REGISTER}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ENDIF -->
        <a href="{FULL_SITE_PATH}{U_LOGIN_LOGOUT}" class="invert">{L_LOGIN_LOGOUT2}</a>
    </td>
</tr>
<?php
}
ELSEIF (basename($_SERVER['SCRIPT_NAME'], '.' . PHP_EXT) == 'index'){
?>
<tr>
    <td width="100%" class="forum-buttons" colspan="3"><a href="{FULL_SITE_PATH}{U_PORTAL}" class="invert">{L_HOME}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <a href="{FULL_SITE_PATH}{U_INDEX}" class="invert">{L_INDEX}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- BEGIN switch_upi2db_off -->
        <a href="{FULL_SITE_PATH}{U_SEARCH_NEW}" class="invert">{L_NEW2}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- END switch_upi2db_off -->
        <a href="{FULL_SITE_PATH}/album.php" class="invert">Gallery</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- IF S_LOGGED_IN -->
        
        <a href="{FULL_SITE_PATH}/newsletter.php" class="invert">ESSE Project</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <a href="{FULL_SITE_PATH}/alertz_VIP.php" class="invert">Alertz</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <a href="{FULL_SITE_PATH}/tickindex.php" class="invert">TickLists</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        
        <a href="{FULL_SITE_PATH}{U_PROFILE}" class="invert">{L_PROFILE}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ENDIF -->
        <!-- IF S_HEADER_DROPDOWN -->
        <a href="{FULL_SITE_PATH}{U_SEARCH}" onMouseOver="dropdownmenu(this,event,menu1,'250px')" onMouseOut="delayhidemenu()" class="invert">{L_SEARCH}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ELSE -->
        <a href="{FULL_SITE_PATH}{U_SEARCH}" class="invert">{L_SEARCH}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ENDIF -->
        <!-- IF not S_LOGGED_IN -->
        <a href="{FULL_SITE_PATH}{U_REGISTER}" class="invert">{L_REGISTER}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ENDIF -->
        <a href="{FULL_SITE_PATH}{U_LOGIN_LOGOUT}" class="invert">{L_LOGIN_LOGOUT2}</a>    </td>
</tr>
<?php
}
ELSEIF (basename($_SERVER['SCRIPT_NAME'], '.' . PHP_EXT) == 'album'){
?>
<tr>
    <td width="100%" class="forum-buttons" colspan="3"><a href="{FULL_SITE_PATH}{U_PORTAL}" class="invert">{L_HOME}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <a href="{FULL_SITE_PATH}{U_INDEX}" class="invert">{L_INDEX}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- BEGIN switch_upi2db_off -->
        <a href="{FULL_SITE_PATH}{U_SEARCH_NEW}" class="invert">{L_NEW2}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- END switch_upi2db_off -->
        <a href="{FULL_SITE_PATH}/album.php" class="invert">Gallery</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- IF S_LOGGED_IN -->
        
        <a href="{FULL_SITE_PATH}/newsletter.php" class="invert">ESSE Project</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <a href="{FULL_SITE_PATH}/alertz_VIP.php" class="invert">Alertz</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <a href="{FULL_SITE_PATH}/tickindex.php" class="invert">TickLists</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        
        <a href="{FULL_SITE_PATH}{U_PROFILE}" class="invert">{L_PROFILE}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ENDIF -->
        <!-- IF S_HEADER_DROPDOWN -->
        <a href="{FULL_SITE_PATH}{U_SEARCH}" onMouseOver="dropdownmenu(this,event,menu1,'250px')" onMouseOut="delayhidemenu()" class="invert">{L_SEARCH}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ELSE -->
        <a href="{FULL_SITE_PATH}{U_SEARCH}" class="invert">{L_SEARCH}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ENDIF -->
        <!-- IF not S_LOGGED_IN -->
        <a href="{FULL_SITE_PATH}{U_REGISTER}" class="invert">{L_REGISTER}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ENDIF -->
        <a href="{FULL_SITE_PATH}{U_LOGIN_LOGOUT}" class="invert">{L_LOGIN_LOGOUT2}</a>    </td>
</tr>
<?php
}
ELSEIF (basename($_SERVER['SCRIPT_NAME'], '.' . PHP_EXT) == 'viewtopic'){
?>
<tr>
    <td width="100%" class="forum-buttons" colspan="3"><a href="{FULL_SITE_PATH}{U_PORTAL}" class="invert">{L_HOME}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <a href="{FULL_SITE_PATH}{U_INDEX}" class="invert">{L_INDEX}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- BEGIN switch_upi2db_off -->
        <a href="{FULL_SITE_PATH}{U_SEARCH_NEW}" class="invert">{L_NEW2}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- END switch_upi2db_off -->
        <a href="{FULL_SITE_PATH}/album.php" class="invert">Gallery</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- IF S_LOGGED_IN -->
        
        <a href="{FULL_SITE_PATH}/newsletter.php" class="invert">ESSE Project</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <a href="{FULL_SITE_PATH}/alertz_VIP.php" class="invert">Alertz</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <a href="{FULL_SITE_PATH}/tickindex.php" class="invert">TickLists</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        
        <a href="{FULL_SITE_PATH}{U_PROFILE}" class="invert">{L_PROFILE}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ENDIF -->
        <!-- IF S_HEADER_DROPDOWN -->
        <a href="{FULL_SITE_PATH}{U_SEARCH}" onMouseOver="dropdownmenu(this,event,menu1,'250px')" onMouseOut="delayhidemenu()" class="invert">{L_SEARCH}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ELSE -->
        <a href="{FULL_SITE_PATH}{U_SEARCH}" class="invert">{L_SEARCH}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ENDIF -->
        <!-- IF not S_LOGGED_IN -->
        <a href="{FULL_SITE_PATH}{U_REGISTER}" class="invert">{L_REGISTER}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ENDIF -->
        <a href="{FULL_SITE_PATH}{U_LOGIN_LOGOUT}" class="invert">{L_LOGIN_LOGOUT2}</a>    </td>
</tr>
<?php
}

ELSEIF (basename($_SERVER['SCRIPT_NAME'], '.' . PHP_EXT) == 'viewforum'){
?>
<tr>
    <td width="100%" class="forum-buttons" colspan="3"><a href="{FULL_SITE_PATH}{U_PORTAL}" class="invert">{L_HOME}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <a href="{FULL_SITE_PATH}{U_INDEX}" class="invert">{L_INDEX}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- BEGIN switch_upi2db_off -->
        <a href="{FULL_SITE_PATH}{U_SEARCH_NEW}" class="invert">{L_NEW2}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- END switch_upi2db_off -->
        <a href="{FULL_SITE_PATH}/album.php" class="invert">Gallery</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- IF S_LOGGED_IN -->
        
        <a href="{FULL_SITE_PATH}/newsletter.php" class="invert">ESSE Project</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <a href="{FULL_SITE_PATH}/alertz_VIP.php" class="invert">Alertz</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <a href="{FULL_SITE_PATH}/tickindex.php" class="invert">TickLists</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        
        <a href="{FULL_SITE_PATH}{U_PROFILE}" class="invert">{L_PROFILE}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ENDIF -->
        <!-- IF S_HEADER_DROPDOWN -->
        <a href="{FULL_SITE_PATH}{U_SEARCH}" onMouseOver="dropdownmenu(this,event,menu1,'250px')" onMouseOut="delayhidemenu()" class="invert">{L_SEARCH}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ELSE -->
        <a href="{FULL_SITE_PATH}{U_SEARCH}" class="invert">{L_SEARCH}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ENDIF -->
        <!-- IF not S_LOGGED_IN -->
        <a href="{FULL_SITE_PATH}{U_REGISTER}" class="invert">{L_REGISTER}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ENDIF -->
        <a href="{FULL_SITE_PATH}{U_LOGIN_LOGOUT}" class="invert">{L_LOGIN_LOGOUT2}</a>    </td>
</tr>
<?php
}
ELSEIF (basename($_SERVER['SCRIPT_NAME'], '.' . PHP_EXT) == 'forum'){
?>
<tr>
    <td width="100%" class="forum-buttons" colspan="3"><a href="{FULL_SITE_PATH}{U_PORTAL}" class="invert">{L_HOME}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <a href="{FULL_SITE_PATH}{U_INDEX}" class="invert">{L_INDEX}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- BEGIN switch_upi2db_off -->
        <a href="{FULL_SITE_PATH}{U_SEARCH_NEW}" class="invert">{L_NEW2}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- END switch_upi2db_off -->
        <a href="{FULL_SITE_PATH}/album.php" class="invert">Gallery</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- IF S_LOGGED_IN -->
        
        <a href="{FULL_SITE_PATH}/newsletter.php" class="invert">ESSE Project</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <a href="{FULL_SITE_PATH}/alertz_VIP.php" class="invert">Alertz</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <a href="{FULL_SITE_PATH}/tickindex.php" class="invert">TickLists</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        
        <a href="{FULL_SITE_PATH}{U_PROFILE}" class="invert">{L_PROFILE}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ENDIF -->
        <!-- IF S_HEADER_DROPDOWN -->
        <a href="{FULL_SITE_PATH}{U_SEARCH}" onMouseOver="dropdownmenu(this,event,menu1,'250px')" onMouseOut="delayhidemenu()" class="invert">{L_SEARCH}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ELSE -->
        <a href="{FULL_SITE_PATH}{U_SEARCH}" class="invert">{L_SEARCH}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ENDIF -->
        <!-- IF not S_LOGGED_IN -->
        <a href="{FULL_SITE_PATH}{U_REGISTER}" class="invert">{L_REGISTER}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ENDIF -->
        <a href="{FULL_SITE_PATH}{U_LOGIN_LOGOUT}" class="invert">{L_LOGIN_LOGOUT2}</a>    </td>
</tr>
<?php
}
ELSEIF (basename($_SERVER['SCRIPT_NAME'], '.' . PHP_EXT) == 'album_cat'){
?>
<tr>
    <td width="100%" class="forum-buttons" colspan="3"><a href="{FULL_SITE_PATH}{U_PORTAL}" class="invert">{L_HOME}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <a href="{FULL_SITE_PATH}{U_INDEX}" class="invert">{L_INDEX}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- BEGIN switch_upi2db_off -->
        <a href="{FULL_SITE_PATH}{U_SEARCH_NEW}" class="invert">{L_NEW2}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- END switch_upi2db_off -->
        <a href="{FULL_SITE_PATH}/album.php" class="invert">Gallery</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- IF S_LOGGED_IN -->
        
        <a href="{FULL_SITE_PATH}/newsletter.php" class="invert">ESSE Project</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <a href="{FULL_SITE_PATH}/alertz_VIP.php" class="invert">Alertz</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <a href="{FULL_SITE_PATH}/tickindex.php" class="invert">TickLists</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        
        <a href="{FULL_SITE_PATH}{U_PROFILE}" class="invert">{L_PROFILE}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ENDIF -->
        <!-- IF S_HEADER_DROPDOWN -->
        <a href="{FULL_SITE_PATH}{U_SEARCH}" onMouseOver="dropdownmenu(this,event,menu1,'250px')" onMouseOut="delayhidemenu()" class="invert">{L_SEARCH}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ELSE -->
        <a href="{FULL_SITE_PATH}{U_SEARCH}" class="invert">{L_SEARCH}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ENDIF -->
        <!-- IF not S_LOGGED_IN -->
        <a href="{FULL_SITE_PATH}{U_REGISTER}" class="invert">{L_REGISTER}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ENDIF -->
        <a href="{FULL_SITE_PATH}{U_LOGIN_LOGOUT}" class="invert">{L_LOGIN_LOGOUT2}</a>    </td>
</tr>
<?php
}
ELSEIF (basename($_SERVER['SCRIPT_NAME'], '.' . PHP_EXT) == 'alertz_VIP'){
?>
<tr>
    <td width="100%" class="forum-buttons" colspan="3"><a href="{FULL_SITE_PATH}{U_PORTAL}" class="invert">{L_HOME}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <a href="{FULL_SITE_PATH}{U_INDEX}" class="invert">{L_INDEX}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- BEGIN switch_upi2db_off -->
        <a href="{FULL_SITE_PATH}{U_SEARCH_NEW}" class="invert">{L_NEW2}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- END switch_upi2db_off -->
        <a href="{FULL_SITE_PATH}/album.php" class="invert">Gallery</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- IF S_LOGGED_IN -->
        
        <a href="{FULL_SITE_PATH}/newsletter.php" class="invert">ESSE Project</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <a href="{FULL_SITE_PATH}/alertz_VIP.php" class="invert">Alertz</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <a href="{FULL_SITE_PATH}/tickindex.php" class="invert">TickLists</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        
        <a href="{FULL_SITE_PATH}{U_PROFILE}" class="invert">{L_PROFILE}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ENDIF -->
        <!-- IF S_HEADER_DROPDOWN -->
        <a href="{FULL_SITE_PATH}{U_SEARCH}" onMouseOver="dropdownmenu(this,event,menu1,'250px')" onMouseOut="delayhidemenu()" class="invert">{L_SEARCH}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ELSE -->
        <a href="{FULL_SITE_PATH}{U_SEARCH}" class="invert">{L_SEARCH}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ENDIF -->
        <!-- IF not S_LOGGED_IN -->
        <a href="{FULL_SITE_PATH}{U_REGISTER}" class="invert">{L_REGISTER}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ENDIF -->
        <a href="{FULL_SITE_PATH}{U_LOGIN_LOGOUT}" class="invert">{L_LOGIN_LOGOUT2}</a>    </td>
</tr>
<?php
}
ELSEIF (basename($_SERVER['SCRIPT_NAME'], '.' . PHP_EXT) == 'index'){
?>
<tr>
    <td width="100%" class="forum-buttons" colspan="3">
        <a href="{FULL_SITE_PATH}{U_PORTAL}">{L_HOME}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <a href="{FULL_SITE_PATH}{U_INDEX}">1{L_INDEX}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- BEGIN switch_upi2db_off -->
        <a href="{FULL_SITE_PATH}{U_SEARCH_NEW}">{L_NEW2}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- END switch_upi2db_off -->
        <!-- BEGIN switch_upi2db_on -->
        <span style="vertical-align:top;">{L_POSTS}:&nbsp;</span><a href="{FULL_SITE_PATH}{U_SEARCH_NEW}">{L_NEW2}</a><span style="vertical-align:top;">&nbsp;•&nbsp;</span>{L_DISPLAY_U}<span style="vertical-align:top;">&nbsp;•&nbsp;</span>{L_DISPLAY_M}<span style="vertical-align:top;">&nbsp;•&nbsp;</span>{L_DISPLAY_P}&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- END switch_upi2db_on -->
        <!-- IF S_LOGGED_IN -->
        <a href="{FULL_SITE_PATH}{U_PROFILE}">{L_PROFILE}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ENDIF -->
        <!-- IF S_HEADER_DROPDOWN -->
        <a href="{FULL_SITE_PATH}{U_SEARCH}" onMouseOver="dropdownmenu(this,event,menu1,'250px')" onMouseOut="delayhidemenu()">{L_SEARCH}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ELSE -->
        <a href="{FULL_SITE_PATH}{U_SEARCH}">{L_SEARCH}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ENDIF -->
        <a href="{FULL_SITE_PATH}{U_FAQ}">{L_FAQ}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- IF not S_LOGGED_IN -->
        <a href="{FULL_SITE_PATH}{U_REGISTER}">{L_REGISTER}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <!-- ENDIF -->
        <a href="{FULL_SITE_PATH}{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT2}</a>
    </td>
</tr>
<!-- ENDIF -->

                    <!-- BEGIN switch_lw_user_logged_in -->
                    <tr>
                        <td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;{L_LW_EXPIRE_REMINDER}</span></td>
                    </tr>
                    <!-- END switch_lw_user_logged_in -->



 <?php
}
?>
  
<div id="global-wrapper">
<span><a name="top"></a></span>
{TOP_HTML_BLOCK}
<!-- IF GH_BLOCK --><!-- BEGIN gheader_blocks_row -->{gheader_blocks_row.CMS_BLOCK}<!-- END gheader_blocks_row --><!-- ENDIF -->
<!-- IF PROFILE_VIEW --><script type="text/javascript">window.open('{U_PROFILE_VIEW}','_blank','height=800,width=250,resizable=yes');</script><!-- ENDIF -->

          
{PAGE_BEGIN}
<table id="forumtable" cellspacing="0" cellpadding="0">
<!-- IF GT_BLOCK -->
<tr><td width="100%" colspan="3"><!-- BEGIN ghtop_blocks_row -->{ghtop_blocks_row.CMS_BLOCK}<!-- END ghtop_blocks_row --></td></tr>
<!-- ENDIF -->
<tr>
    <td width="100%" colspan="3" valign="top">
        <div id="top_logo">
        <table class="" width="100%" cellspacing="0" cellpadding="0" border="0">
        <tr>
        <td align="left" height="100%" valign="middle">
        <!-- IF GL_BLOCK -->
        <!-- BEGIN ghleft_blocks_row -->{ghleft_blocks_row.OUTPUT}<!-- END ghleft_blocks_row -->
        <!-- ELSE -->

        <!-- ENDIF -->
        </td>
        <td align="center" valign="middle"><!-- IF S_HEADER_BANNER --><center><br />{HEADER_BANNER_CODE}</center><!-- ELSE -->&nbsp;<!-- ENDIF --></td>
        <td align="right" valign="middle">
        <!-- <div class="sitedes"><h1>{SITENAME}</h1><h2>{SITE_DESCRIPTION}</h2></div> -->
        <!-- IF GR_BLOCK -->
        <!-- BEGIN ghright_blocks_row -->{ghright_blocks_row.OUTPUT}<!-- END ghright_blocks_row -->
        <!-- ELSE -->
        <!-- IF S_LOGGED_IN -->&nbsp;<!-- ELSE -->&nbsp;<!-- ENDIF -->
        <!-- ENDIF -->
        </td>
        </tr>
        </table>
        </div>
    </td>
</tr>



<!-- IF S_PAGE_NAV --><tr><td width="100%" colspan="3"><div style="margin-left: 7px; margin-right: 7px;"><!-- INCLUDE breadcrumbs_main.tpl --></div></td></tr><!-- ENDIF -->

<!-- INCLUDE overall_inc_body.tpl -->

<!-- ENDIF -->


is my overal header
 



 
AndyGpySend private messageVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 2 of 3
Goto page Previous  1, 2, 3  Next


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron