View Single Post
  #6  
Old 05-31-2005, 03:12 AM
 
pcarcare pcarcare is offline
 

eXpert
  
Join Date: Jun 2004
Location: Salt Lake City, Utah
Posts: 230
 

Default

Here is the code for my header

Code:
<body link="#081589" vlink="#000000" alink="#0000FF"> {* $Id: head.tpl,v 1.30.2.2 09/5/2004 13:29:52 svowl Exp $ *} <table border="0" cellpadding="0" cellspacing="0" width="100%" background="http://www.professionalcarcare.com/xcart/skin1/images/top_bkgd.gif"> <tr> <td width="100%" background="../temp%20pics/top_bkgd.gif" height="119"> <div align="left"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="877">[img]http://www.professionalcarcare.com/xcart/skin1/images/header1.jpg[/img]</td> <td valign="top" align="right" width="354">[img]http://www.professionalcarcare.com/xcart/skin1/images/pix1.jpg[/img]</td> </tr> </table> </div> </td> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" width="100%" height="60"> <tr> <td width="245" background="http://www.professionalcarcare.com/xcart/skin1/images/header2.jpg" valign="top" align="left">{if $usertype eq "C"} { include file="customer/search.tpl" } {else} {/if}</td> <td background="http://www.professionalcarcare.com/xcart/skin1/images/header3.jpg" valign="top" align="left"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <th width="100%" valign="top" align="right">[img]http://www.professionalcarcare.com/xcart/skin1/images/Contact_Button.jpg[/img][img]http://www.professionalcarcare.com/xcart/skin1/images/pc_Button.jpg[/img][img]http://www.professionalcarcare.com/xcart/skin1/images/tips_Button.jpg[/img][img]http://www.professionalcarcare.com/xcart/skin1/images/store_button.jpg[/img][img]http://www.professionalcarcare.com/xcart/skin1/images/Home_Button.jpg[/img]</th> </tr> </table> <p align="right">{if $login eq "" } { include file="auth.tpl" } {else} { include file="authbox.tpl" } </td> </tr> </table> </body>

and the code for auth.tpl

Code:
{* $Id: auth.tpl,v 1.28.2.4 2004/01/21 12:21:57 mclap Exp $ *} {capture name=menu} <TABLE border=0 cellPadding=0 cellSpacing=0 width=100%> <td> {if $config.General.use_https_login eq "Y"} {assign var="form_url" value=$https_location} {else} {assign var="form_url" value=$current_location} {/if} <FORM action="{$form_url}/include/login.php" method=post name=authform> {if $config.General.use_secure_login_page eq "Y"} {* use_secure_login_page *} <tr> <td> {if $usertype eq "C"} {assign var="slogin_url" value=$catalogs_secure.customer} {elseif $usertype eq "P" and $active_modules.Simple_Mode eq "Y" or $usertype eq "A"} {assign var="slogin_url" value=$catalogs_secure.admin} {elseif $usertype eq "P"} {assign var="slogin_url" value=$catalogs_secure.provider} {elseif $usertype eq "B"} {assign var="slogin_url" value=$catalogs_secure.partner} {/if} {include file="buttons/secure_login.tpl"} </td> </tr> {else} {* use_secure_login_page *} <tr> <td class=VertMenuItems> <font class=VertMenuItems>{$lng.lbl_username}</font><input type=text name=username size=16> <font class=VertMenuItems>{$lng.lbl_password}</font><input type=password name=password size=16> {if $active_modules.Simple_Mode ne "" and $usertype ne "C" and $usertype ne "B"} {else} {/if} {if $js_enabled} {include file="buttons/login_menu.tpl"} {else} {include file="buttons/login_menu.tpl"} {/if}{/if} {* use_secure_login_page *} {if $usertype eq "C" or ($usertype eq "B" and $config.Modules.partner_register eq "Y")} {include file="buttons/create_profile_menu.tpl"} </td></tr> <tr> <td height=24 class=VertMenuItems> {/if} {if $usertype eq "P" and $active_modules.Simple_Mode eq "Y" or $usertype eq "A"} </td> </tr> {$lng.lbl_insecure_login} <tr> <td height=24 nowrap class=VertMenuItems> {/if} {if $usertype eq "C"} </td> </tr> {if $js_enabled} {$lng.txt_javascript_disabled} {else} {$lng.txt_javascript_enabled} {/if} <td> {/if} </form> </table> {/capture} { include file="menu.tpl" dingbats="dingbats_authentification.gif" menu_title=$lng.lbl_authentication menu_content=$smarty.capture.menu }

Anybody see anything wrong?
__________________
X-cart gold 4.5.2 (live)
X-payments 1.0.5

http://www.professionalcarcare.com
Your online source for all your car care needs
Reply With Quote