View Single Post
  #38  
Old 09-17-2008, 04:41 PM
  tam10's Avatar 
tam10 tam10 is offline
 

eXpert
  
Join Date: Mar 2007
Posts: 252
 

Default Re: free <PREV | NEXT> mod help

home.tpl

(I have there the Google, counters and so on that i did not cipied)
{* $Id: home.tpl,v 1.88.2.10 2007/06/18 12:38:57 max Exp $ *}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
{if $printable ne ''}

{include file="customer/home_printable.tpl"}

{else}
{config_load file="$skin_config"}
<html>
<head>
<!--products seen-->
{literal}
<script type="text/javascript">
function setCookie(name, value) {
var today = new Date()
var expires = new Date()
expires.setTime(today.getTime() + 1000*60*60*24*30)
document.cookie = name + "=" + escape(value) + "; expires=" + expires.toGMTString() +";path=/"
}
function getCookie(Name) {
var search = Name + "="
if(document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if(offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset)
if(end == -1) end = document.cookie.length
return unescape(document.cookie.substring(offset, end))}
else return ""
}
}
</script>
{/literal}
<!--endproducts seen-->



<meta name="verify-v1" content="CZeJs7Nug+4294X0MUWIi13JaTSvsnuZAlUn4/XBuqo=" />

<title>
{*BCSE Begin*}
{if $current_category.categoryid and $current_category.meta_title and not $product.productid}
{$current_category.meta_title}
{else}
{*BCSE End*}
{*BCSE Begin*}
{if $page_data.metatitle}
{$page_data.metatitle}
{else}
{*BCSE End*}
{strip}
{capture name=title}
{if $config.SEO.page_title_format eq "A"}
{section name=position loop=$location}
{if not %position.first%}&nbsp;::&nbsp;{/if}
{$location[position].0|strip_tags|escape}
{/section}
{else}
{section name=position loop=$location step=-1}
{if not %position.first%}&nbsp;::&nbsp;{/if}
{$location[position].0|strip_tags|escape}
{/section}
{/if}
{/capture}
{if $config.SEO.page_title_limit <= 0}
{$smarty.capture.title}
{else}
{$smarty.capture.title|replace:"&nbsp;":" "|truncate:$config.SEO.page_title_limit|replac e:" ":"&nbsp;"}
{/if}
{if $navigation_page ne ""} :: Page {$navigation_page}{/if}

{/strip}
{/if}{*BCSE Added*}
{/if}{*BCSE Added*}
</title>

{include file="meta.tpl" }
<link rel="stylesheet" href="{$SkinDir}/{#CSSFile#}" />
<link rel="shortcut icon" href="favicon.ico" >
<link rel="icon" href="animated_favicon1.gif" type="image/gif" >
</head>
<body{$reading_direction_tag}{if $body_onload ne ''} onload="javascript: {$body_onload}"{/if}>
{include file="rectangle_top.tpl" }
{include file="head.tpl" }
{if $active_modules.SnS_connector}
{include file="modules/SnS_connector/header.tpl"}
{/if}
<!-- main area -->
<table width="984" cellpadding="0" cellspacing="0">
<tr>
<td class="VertMenuLeftColumn">
{if $active_modules.SnS_connector && $config.SnS_connector.sns_display_button eq 'Y'}
{include file="modules/SnS_connector/button.tpl"}<br />
<br />
{/if}
{ include file="customer/categories.tpl" }
<br/>
{if $active_modules.Bestsellers ne "" and $config.Bestsellers.bestsellers_menu eq "Y"}

{ include file="modules/Bestsellers/menu_bestsellers.tpl" }
{/if}



<!-- comment -->


{include file = "news.tpl"}
<br/>



{if $active_modules.Manufacturers ne "" and $config.Manufacturers.manufacturers_menu eq "Y"}
{ include file="modules/Manufacturers/menu_manufacturers.tpl" }
{/if}

{if $active_modules.Survey && $menu_surveys}
{foreach from=$menu_surveys item=menu_survey}
{include file="modules/Survey/menu_survey.tpl"}
<br />
{/foreach}
{/if}
<br/>
{if $active_modules.Interneka ne ""}
{ include file="modules/Interneka/menu_interneka.tpl" }
<br />
{/if}
<!-- help was here -->
{ include file="poweredby.tpl" }
<br />
<img src="{$ImagesDir}/spacer.gif" width="150" height="1" alt="" />
</td>
<td valign="top" class="MidColumn">
<!-- central space -->
{if $main ne "catalog" or $current_category.category ne ""}
{include file="location.tpl"}
{/if}



{include file="dialog_message.tpl"}

{if $active_modules.Special_Offers ne ""}
{include file="modules/Special_Offers/customer/new_offers_message.tpl"}
{/if}

{include file="customer/home_main.tpl"}
<!-- /central space -->
&nbsp;
</td>
<td>&nbsp;</td>
<td class="VertMenuRightColumn">
{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'}
{include file="printable.tpl"}<br />
{/if}
{include file="customer/menu_cart.tpl" }
<br />

<!--view products box-->
<br />
{include file="customer/main/recently_viewed.tpl"}
<!--end view products box-->


{ include file="customer/awards.tpl" }

<img src="{$ImagesDir}/spacer.gif" width="150" height="1" alt="" />
</td>

</tr>
</table>
{include file="rectangle_bottom.tpl" }
__________________
Tammy
x-cart gold + 4.7.2
x-cart 5.2.10

Reply With Quote