<?php

/*
osCommerce, Open Source E-Commerce Solutions 
http://www.oscommerce.com 

Copyright (c) 2003 osCommerce 

osCommRes, Services Oline 
http://www.oscommres.com 
Copyright (c) 2005 osCommRes 

Freeway eCommerce 
http://www.zac-ware.com/freeway 
Copyright (c) 2007 ZacWare

Released under the GNU General Public License
*/
// Set flag that this is a parent file
	define( '_FEXEC', 1 );

  require('includes/application_top.php');

   
  require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_LOGOFF);

  tep_session_destroy();
  tep_session_unregister('login_id');
  tep_session_unregister('login_firstname');
  tep_session_unregister('login_groups_id');
  tep_session_unregister('login_groups_type');
  tep_session_unregister('login_email');
  tep_session_unregister('top_admin_email');
?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
<title><?php echo TITLE; ?></title>
<style type="text/css"><!--
a { color:#080381; text-decoration:none; }
a:hover { color: #000000; color:#aabbdd; text-decoration:underline; }
a.text:link, a.text:visited { color: #000000; text-decoration: none; }
a:text:hover { color: #000000; text-decoration: underline; }
A.login_heading:link, A.login_heading:visited { underline; font-family: Verdana, Arial, sans-serif; font-size: 12px; color: #F0F0FF;}
A.login_heading: hover { color: #F0F0FF;}
.heading { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 20px; font-weight: bold; line-height: 1.5; color: #D3DBFF; }
.text { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; line-height: 1.5; color: #000000; }
.smallText { font-family: Verdana, Arial, sans-serif; font-size: 10px; color:#FFFFFF;}
.login_heading { font-family: Verdana, Arial, sans-serif; font-size: 12px; color: #ffffff;}
.login { font-family: Verdana, Arial, sans-serif; font-size: 12px; color: #000000;}
.login1 { font-family: Verdana, Arial, sans-serif; font-size: 12px; color: #000000;}
.loginleft{
background:#8EA6EF url(images/template/cell_bg_strip1.gif) no-repeat top left ;
}
.smallText a {font-family: Verdana, Arial, sans-serif; font-size: 10px; color:#FFFFFF; }
.error { font-family: Verdana, Arial, sans-serif; font-size: 10px; color:#000000 }
.shadow {
background:#F0F0FF url(images/template/cell_bg_shadow.gif) no-repeat bottom  ;
}
.loginright{
	background:#8EA6EF url(images/template/cell_bg_strip2.gif) no-repeat top right ;
}

//--></style>
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#647DCD">



<table border="0" width="100%"   cellspacing="0" cellpadding="0" align="center" valign="middle" bgcolor="#647DCD" >

  <tr  height="500">
    <td>
		  <table border="0" width="100%" cellspacing="0" cellpadding="0" >
		   <!-- freeway Image -->
            <tr> <td colspan="2" valign="top" >
               <table border="0"  cellspacing="0" cellpadding="0" bgcolor="#647DCD" bordercolor="#8EA6EF" width=100%>
                  <tr><td colspan="3"> 
				     <table  border="0" cellpadding="0" cellspacing=0  width=100% >
                        <tr bgcolor="#ffffff" height="250"> 
                <!--       <td width="30%" align=center valign="bottom"> <?php //echo '<a href="http://www.zac-ware.com">' . tep_image(DIR_WS_IMAGES . COMPANY_LOGO,'') . '</a>'; ?></td> !-->
                           <td align="center" valign="bottom"><a href="http://www.zac-ware.com"><?php echo tep_image(DIR_WS_IMAGES . 'admin_logo.png', STORE_NAME,'','','align=absmiddle'); ?></a>
						   <?php 
								//$url='<a href="http://www.zac-ware.com">' . tep_image(DIR_WS_TEMPLATES.DEFAULT_TEMPLATE.'/'.DIR_WS_IMAGES . COMPANY_LOGO,  STORE_NAME,'','') . '</a>';
								//echo $url;
							   // echo tep_image(DIR_WS_IMAGES . 'admin_logo.png', STORE_NAME,'','','align=absmiddle');?>
							</td>
			    <!--	   <td width="30%" align=center valign="bottom"> <?php //echo '<a href="http://www.zac-ware.com">' . tep_image(DIR_WS_TEMPLATES.DEFAULT_TEMPLATE.'/'.DIR_WS_IMAGES . COMPANY_LOGO,'') . '</a>'; ?></td> !--> 
						 </tr>
						   <tr><td >
						   <table border="0" width="100%" cellpadding="0" cellspacing="0" >
                    		<tr><td class="loginleft"  width="256" height="31"></td> 
							<td align="center" class="login_heading" nowrap="nowrap"  bgcolor="#8EA6EF"><b>FREEWAY Administration Interface&nbsp;</b></td>
							<td class="loginright" width="256" height="31"></td>
							</tr>
							</table>
							</td>
							</tr>
							
							<tr  > 
                         	 <td height="100%" valign="top" align="center" >
								<table border="0" width="468" height="150" cellspacing="3" cellpadding="2"  class="shadow"  bgcolor="#F0F0FF">
                                  
                                <tr> 
                                      <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
                                    </tr>  
                              <tr>
                                <td class="login1" valign="top" align="center"><b><?php echo HEADING_TITLE; ?></b></td>
                              </tr>
							 
                              <tr>
                                <td class="login1"><?php echo TEXT_MAIN; ?></td>
                              </tr>
							  
                              <tr>
                                <td class="login1" align="center"><?php echo '<a class="login_heading" href="' . tep_href_link(FILENAME_LOGIN, '', 'SSL') . '">' . tep_image_button('button_back.gif', IMAGE_BACK) . '</a>'; ?></td>
                              </tr>
							  
							  <tr> 
                                      <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
                                    </tr>
                              
                            </table>
							</td>
                      	  </tr>
							<tr>
             				 <td  id="desc" valign="top"> 
              			  <?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
              			</td>
     					</tr>
                      </table>
				  </td></tr>
          		<!-- //freeway Image -->	
      
    </table></td>
  </tr>
</table>
</td>
</tr>
 <tr bgcolor="#647DCD"> 
  <td align=center> <?php //echo '<a href="http://www.zac-ware.com">' . tep_image(DIR_WS_IMAGES . 'logo_size2.gif','') . '</a>'; ?></td>
 </tr>

</table>
</body>

</html>
