View Single Post
  #3  
Old 02-14-2005, 04:35 AM
 
Chrystella Chrystella is offline
 

Advanced Member
  
Join Date: May 2004
Location: London UK
Posts: 58
 

Default

Here is the head.tpl as requested

Code:
{* $Id: head.tpl,v 1.40.2.3 2004/11/19 06:40:15 max Exp $ *} {if $usertype eq "C"} <TABLE border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor=#C1F1FF background="{$ImagesDir}/custom/head_bg.gif" class="BackgroundRepeatX"> <TR> <TD rowspan="10" valign="top" align="left" background="{$ImagesDir}/custom/mountain_logo.gif"><OBJECT classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="341" height="206" id="flash_logo" align="top"><PARAM name="allowScriptAccess" value="sameDomain" /><PARAM name="movie" value="{$ImagesDir}/custom/flash_logo.swf" /><PARAM name="menu" value="false" /><PARAM name="loop" value="false" /><PARAM name="quality" value="high" /><PARAM name="bgcolor" value="#ffffff" /><PARAM name="FlashVars" value="not_home_page={if $main eq "catalog" and $current_category.category eq ""}0{else}1{/if}&company_name_path={$ImagesDir}/custom/company_name.jpg&home_path={$http_location}/customer/home.php" ><EMBED src="{$ImagesDir}/custom/flash_logo.swf" FlashVars="not_home_page={if $main eq "catalog" and $current_category.category eq ""}0{else}1{/if}&company_name_path={$ImagesDir}/custom/company_name.jpg&home_path={$http_location}/customer/home.php" loop="false" menu="false" quality="high" bgcolor="#ffffff" width="341" height="206" name="flash_logo" align="top" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" swLiveConnect="true" /></OBJECT></TD> <TD background="{$ImagesDir}/custom/head_02.gif" class="BackgroundNoRepeat" align="right">{if $config.Company.company_phone}{$lng.lbl_phone_1_title}: {$config.Company.company_phone}{/if}{if $config.Company.company_phone_2}{$lng.lbl_phone_2_title}: {$config.Company.company_phone_2}{/if}</TD> <TD>[img]{$ImagesDir}/spacer.gif[/img]</TD> </TR> <TR> <TD background="{$ImagesDir}/custom/head_04.gif" class="BackgroundNoRepeat">[img]{$ImagesDir}/spacer.gif[/img]</TD> <TD>[img]{$ImagesDir}/spacer.gif[/img]</TD> </TR> <TR> <TD valign="top" align="left" background="{$ImagesDir}/custom/head_line_1.gif" class="BackgroundNoRepeat"><OBJECT classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ID="head_line_1" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="429" height="2" align="middle"><PARAM name="allowScriptAccess" value="sameDomain" /><PARAM name="movie" value="{$ImagesDir}/custom/head_line_1.swf" /><PARAM name="FlashVars" value="repeat_time=60&js_enabled={$js_enabled}"><PARAM name="loop" value="false" /><PARAM name="menu" value="false" /><PARAM name="quality" value="high" /><PARAM name="bgcolor" value="#1479d0" /><EMBED src="{$ImagesDir}/custom/head_line_1.swf" FlashVars="repeat_time=60&js_enabled={$js_enabled}" loop="false" menu="false" quality="high" bgcolor="#1479d0" width="429" height="2" name="head_line_1" align="top" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" swLiveConnect=true /></OBJECT></TD> <TD>[img]{$ImagesDir}/spacer.gif[/img]</TD> </TR> <TR> <TD background="{$ImagesDir}/custom/head_08.gif" class="BackgroundNoRepeat" align="right" valign="middle"> {if $usertype eq "C"} {include file="customer/top_menu.tpl"} {else} {/if} </TD> <TD>[img]{$ImagesDir}/spacer.gif[/img]</TD> </TR> <TR> <TD background="{$ImagesDir}/custom/head_10.gif" class="BackgroundNoRepeat">[img]{$ImagesDir}/spacer.gif[/img]</TD> <TD>[img]{$ImagesDir}/spacer.gif[/img]</TD> </TR> <TR> <TD valign="top" align="left" background="{$ImagesDir}/custom/head_line_2.gif" class="BackgroundNoRepeat"><OBJECT classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ID="head_line_2" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="429" height="2" align="middle"><PARAM name="allowScriptAccess" value="sameDomain" /><PARAM name="movie" value="{$ImagesDir}/custom/head_line_2.swf" /><PARAM name="menu" value="false" /><PARAM name="quality" value="high" /><PARAM name="bgcolor" value="#1479d0" /><EMBED src="{$ImagesDir}/custom/head_line_2.swf" menu="false" quality="high" bgcolor="#1479d0" width="429" height="2" name="head_line_2" align="top" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" swLiveConnect=true /></OBJECT></TD> <TD>[img]{$ImagesDir}/spacer.gif[/img]</TD> </TR> <TR> <TD background="{$ImagesDir}/custom/head_14.gif" class="BackgroundNoRepeat" align="right"> {if $usertype eq "C"} { include file="customer/search.tpl" } {/if} </TD> <TD>[img]{$ImagesDir}/spacer.gif[/img]</TD> </TR> <TR> <TD>[img]{$ImagesDir}/spacer.gif[/img]</TD> <TD>[img]{$ImagesDir}/spacer.gif[/img]</TD> </TR> <TR><TD>[img]{$ImagesDir}/spacer.gif[/img]</TD> <TD>[img]{$ImagesDir}/spacer.gif[/img]</TD> </TR> <TR> <TD background="{$ImagesDir}/custom/head_20.gif" class="BackgroundNoRepeat" width="100%" align="right"> <TABLE border="0" cellpadding="0" cellspacing="0"> <TR> <TD> {if $login eq "" } { include file="auth.tpl" } {else} { include file="authbox.tpl" } {/if} </TD> <TD>{include file="customer/main/minicart.tpl" short_mode="short"}</TD> </TR> </TABLE> </TD> <TD>[img]{$ImagesDir}/spacer.gif[/img]</TD> </TR> </TABLE> {if $usertype eq "C" and $all_languages_cnt gt 1} <TABLE border="0" cellpadding="0" cellspacing="0"> <FORM action="home.php" method="GET" name="sl_form"> <INPUT type="hidden" name="redirect" value="{$smarty.server.PHP_SELF}?{$smarty.server.QUERY_STRING}"> <TR> <TD><FONT class="MainSubtitle">{$lng.lbl_select_language}:</FONT> <SELECT name=sl onChange="javascript: document.sl_form.submit()"> {section name=ai loop=$all_languages} <OPTION value="{$all_languages[ai].code}"{if $store_language eq $all_languages[ai].code} selected{/if}>{$all_languages[ai].language}</OPTION> {/section} </SELECT> </TD></TR> </FORM> </TABLE> {else} {/if} {else} <TABLE border="0" cellpadding="0" cellspacing="0" width="100%"> <TR> <TD width="27"></TD> <TD>[img]{$ImagesDir}/xlogo.gif[/img]</TD> <TD valign="top" align="right"> {if $usertype eq "C"} {include file="customer/top_menu.tpl"} {/if} </TD></TR> </TABLE> <TABLE border="0" cellpadding="0" cellspacing="0" width="100%"> <TR> <TD colspan="2" class="VertMenuBorder">[img]{$ImagesDir}/spacer.gif[/img]</TD> </TR> <TR> <TD class="HeadLine" height="22"> {if $usertype eq "C"} { include file="customer/search.tpl" } {/if} </TD> <TD class="HeadLine" align="right"> {if ($usertype eq "C" || $usertype eq "B")and $all_languages_cnt gt 1} <TABLE border="0" cellpadding="0" cellspacing="0"> <FORM action="home.php" method="GET" name="sl_form"> <INPUT type="hidden" name="redirect" value="{$smarty.server.PHP_SELF}?{$smarty.server.QUERY_STRING}"> <TR> <TD> {$lng.lbl_select_language}: <SELECT name="sl" onChange="javascript: document.sl_form.submit()"> {section name=ai loop=$all_languages} <OPTION value="{$all_languages[ai].code}"{if $store_language eq $all_languages[ai].code} selected{/if}>{$all_languages[ai].language}</OPTION> {/section} </SELECT> </TD></TR> </FORM> </TABLE> {else} {/if} </TD> </TR> <TR> <TD colspan="2" class="VertMenuBorder">[img]{$ImagesDir}/spacer.gif[/img]</TD> </TR> {******** Remove this line to display how much products there are online **** <TR> <TD colspan="2" class="NumberOfArticles" align="right">{insert name="productsonline"} {$lng.lbl_products} {if $config.Appearance.show_in_stock eq "Y"}{$lng.lbl_and} {insert name="itemsonline"} {$lng.lbl_items} {/if}{$lng.lbl_online}</TD> </TR> **** Remove this line to display how much products there are online ********} <TR> <TD colspan="2" valign="middle" height="32"> <TABLE cellspacing="0" cellpadding="0" border="0" width="100%" height="18"> <TR> <TD>[img]{$ImagesDir}/spacer.gif[/img]</TD> {if (($main eq 'catalog' && $cat ne '') || $main eq 'product' || ($main eq 'comparison' && $mode eq 'compare_table') || ($main eq 'choosing' && $smarty.get.mode eq 'choose')) && $config.Appearance.enabled_printable_version eq 'Y'} <TD width="100%" valign="middle" align="right">{include file="printable.tpl"}</TD> <TD>[img]{$ImagesDir}/spacer.gif[/img]</TD> {/if} </TR> </TABLE> </TD> </TR> </TABLE> {/if}

Regards

TonyS
Reply With Quote