[Workshop] Template Erstellung

MyOOS hat einen Fehler, oder tut nicht das, was Ihr erwartet? Derartige "Unanehmlichkeiten" bitte hier.
r23
Beiträge: 2696
Registriert: 18.09.2008, 05:56
Wohnort: Hagen
Kontaktdaten:

Beitrag von r23 »

Für die Auflistung der Produkte

Bild

verwenden wir folgende Seitenleisten-Plugins

Bestseller
Besuchte Produkte
Ähnliche Produkte zeigen wir nur auf der Produktseite und Meinungen

Als Besonderheit aktivieren wir diese Plugins als _rechte_ Seitenleisten-Plugins.

Die Reihenfolge sollte sein:
Ähnliche Produkte
Besuchte Produkte
Bestseller



MyOOS Handbuch Seitenleisten-Plugins
http://www.oos-shop.de/doc/myoosdoc/htm ... block.html
r23
Beiträge: 2696
Registriert: 18.09.2008, 05:56
Wohnort: Hagen
Kontaktdaten:

Beitrag von r23 »

Aus der Tabellezeile Custom Boot

<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1--> <tr>
<td height="21" align="left" valign="middle" style="background-image:url(images/rep_2.jpg); background-position:bottom; background-repeat:repeat-x "><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="middle">
<td width="12"><img alt="" src="images/point_3.jpg" width="2" height="2" hspace="1"></td>
<td><a href="#" class="style5"></a></td>
</tr>
</table></td>
</tr><!--c2-->[/align]<!--ec2-->

erstellen wir die Templates für
Ähnliche Produkte

products_xsell.html
<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1-->{if $xsell_block eq 'true'}
{foreach name=xsell item=xsell_products from=$block_xsell_products}
<tr>
<td height="21" align="left" valign="middle" style="background-image:url({$theme_image}/rep_2.jpg); background-position:bottom; background-repeat:repeat-x "><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="middle">
<td width="12"><img alt="" src="{$theme_image}/point_3.jpg" width="2" height="2" hspace="1"></td>
{if $smarty.const.BLOCK_XSELL_PRODUCTS_IMAGE eq 'true'}
<td>{tooltip products_id=$xsell_products.products_id products_description=$xsell_products.products_description image=$xsell_products.products_image}{$xsell_products.products_name|truncate:14:"":true|close_tags}</a></td>
{else}
<td><a href="{product_info_link products_id=$xsell_products.products_id}" class="style5">{$xsell_products.products_name|truncate:14:"":true|close_tags}</a></td>
{/if}
</tr>
</table></td>
</tr>
{/foreach}
{/if}<!--c2-->[/align]<!--ec2-->


Besuchte Produkte

products_history.html
<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1-->{if $products_history_block eq 'true'}
{foreach name=history item=products_history from=$customer_products_history}
<tr>
<td height="21" align="left" valign="middle" style="background-image:url({$theme_image}/rep_2.jpg); background-position:bottom; background-repeat:repeat-x "><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="middle">
<td width="12"><img alt="" src="{$theme_image}/point_3.jpg" width="2" height="2" hspace="1"></td>
{if $smarty.const.BLOCK_PRODUCTS_HISTORY_IMAGE eq 'true'}
<td>{tooltip products_id=$products_history.products_id products_description=$products_history.products_description image=$products_history.products_image}{$products_history.products_name|truncate:11:"":true|close_tags}</a></td>
{else}
<td><a href="{product_info_link products_id=$products_history.products_id}" class="style5">{$products_history.products_name|truncate:11:"":true|close_tags}</a></td>
{/if}
</tr>
</table></td>
</tr>
{/foreach}
{/if}<!--c2-->[/align]<!--ec2-->


Bestseller

best_sellers.html
<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1-->{if $best_sellers_block eq 'true'}
{foreach name=best item=best_seller from=$best_sellers_list}
<tr>
<td height="21" align="left" valign="middle" style="background-image:url({$theme_image}/rep_2.jpg); background-position:bottom; background-repeat:repeat-x "><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="middle">
<td width="12"><img alt="" src="{$theme_image}/point_3.jpg" width="2" height="2" hspace="1"></td>
{if $smarty.const.BLOCK_BEST_SELLERS_IMAGE eq 'true'}
<td>{tooltip products_id=$best_seller.products_id products_description=$best_seller.products_description image=$best_seller.products_image}{$best_seller.products_name|truncate:14:"":true|close_tags}</a>
{else}
<td><a href="{product_info_link products_id=$best_seller.products_id}" class="style5">{$best_seller.products_name|truncate:17:"":true|close_tags}</a></td>
{/if}
</tr>
</table></td>
</tr>
{/foreach}
{/if}<!--c2-->[/align]<!--ec2-->

In der theme.html

~/oos_temp/shop/templates/footwear_green/theme.html

wird aus
<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1-->{* start block *}
<table width="170" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="21" align="left" valign="middle" style="background-image:url({$theme_image}/rep_2.jpg); background-position:bottom; background-repeat:repeat-x "><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="middle">
<td width="12"><img alt="" src="{$theme_image}/point_3.jpg" width="2" height="2" hspace="1"></td>
<td><a href="#" class="style5">Custom Boot</a></td>
</tr>
</table></td>
</tr>
<tr>
<td height="21" align="left" valign="middle" style="background-image:url({$theme_image}/rep_2.jpg); background-position:bottom; background-repeat:repeat-x "><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="middle">
<td width="12"><img alt="" src="{$theme_image}/point_3.jpg" width="2" height="2" hspace="1"></td>
<td><a href="#" class="style5">Boots</a></td>
</tr>
</table></td>
</tr>
<tr>
<td height="21" align="left" valign="middle" style="background-image:url({$theme_image}/rep_2.jpg); background-position:bottom; background-repeat:repeat-x "><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="middle">
<td width="12"><img alt="" src="{$theme_image}/point_3.jpg" width="2" height="2" hspace="1"></td>
<td><a href="#" class="style5">Casual</a></td>
</tr>
</table></td>
</tr>
<tr>
<td height="21" align="left" valign="middle" style="background-image:url({$theme_image}/rep_2.jpg); background-position:bottom; background-repeat:repeat-x "><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="middle">
<td width="12"><img alt="" src="{$theme_image}/point_3.jpg" width="2" height="2" hspace="1"></td>
<td><a href="#" class="style5">Boat Shoes</a></td>
</tr>
</table></td>
</tr>
<tr>
<td height="21" align="left" valign="middle" style="background-image:url({$theme_image}/rep_2.jpg); background-position:bottom; background-repeat:repeat-x "><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="middle">
<td width="12"><img alt="" src="{$theme_image}/point_3.jpg" width="2" height="2" hspace="1"></td>
<td><a href="#" class="style5">Sport Casual</a></td>
</tr>
</table></td>
</tr>
<tr>
<td height="21" align="left" valign="middle" style="background-image:url({$theme_image}/rep_2.jpg); background-position:bottom; background-repeat:repeat-x "><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="middle">
<td width="12"><img alt="" src="{$theme_image}/point_3.jpg" width="2" height="2" hspace="1"></td>
<td><a href="#" class="style5">Hiking</a></td>
</tr>
</table></td>
</tr>
<tr>
<td height="21" align="left" valign="middle" style="background-image:url({$theme_image}/rep_2.jpg); background-position:bottom; background-repeat:repeat-x "><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="middle">
<td width="12"><img alt="" src="{$theme_image}/point_3.jpg" width="2" height="2" hspace="1"></td>
<td><a href="#" class="style5">Sport Utility</a></td>
</tr>
</table></td>
</tr>
<tr>
<td height="21" align="left" valign="middle" style="background-image:url({$theme_image}/rep_2.jpg); background-position:bottom; background-repeat:repeat-x "><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="middle">
<td width="12"><img alt="" src="{$theme_image}/point_3.jpg" width="2" height="2" hspace="1"></td>
<td><a href="#" class="style5">Office</a></td>
</tr>
</table></td>
</tr>
<tr>
<td height="21" align="left" valign="middle" style="background-image:url({$theme_image}/rep_2.jpg); background-position:bottom; background-repeat:repeat-x "><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="middle">
<td width="12"><img alt="" src="{$theme_image}/point_3.jpg" width="2" height="2" hspace="1"></td>
<td><a href="#" class="style5">Product Care</a></td>
</tr>
</table></td>
</tr>
</table>
{* stop block *}<!--c2-->[/align]<!--ec2-->

wird
<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1-->{* start block *}
<table width="170" border="0" cellspacing="0" cellpadding="0">
{foreach item=block from=$oos_blockright}
{if $block.content}{$block.content}{/if}
{/foreach}
</table>
{* stop block *}<!--c2-->[/align]<!--ec2-->
r23
Beiträge: 2696
Registriert: 18.09.2008, 05:56
Wohnort: Hagen
Kontaktdaten:

Beitrag von r23 »

Da die Verwaltung der Seitenleisten-Plugins

MyOOS Handbuch
http://www.oos-shop.de/doc/myoosdoc/htm ... block.html

für den Shopbetreiber zu aufwendig ist erweitern wir unser Setup-Skript
nun um die Block (Seitenleisten-Plugins)

Bei dem Setup löschen wir keine Plugins sondern deaktiveren diese nur.

<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1--> $aKeys = array();
$aKeys = array('languages',
'customers_status',
'manufacturers',
// hier tragen wir die Seitenleisten-Plugins ein, die wir nicht verwenden!
'skype',
'ads',
'account');
$blocktable = $oostable['block];
$query = "UPDATE $blocktable SET block_status = '0' WHERE block_file in ('" . implode("', '", $aKeys) . "')";
$result =&$dbconn->Execute($query);
if ($result === false) {
echo $dbconn->ErrorMsg();
exit;
}<!--c2-->[/align]<!--ec2-->

Soll der Shopbetreiber keine Möglichkeit zur Änderung haben, kann man Seitenleisten-Plugins
auch löschen.

aus
<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1--> $query = "UPDATE $blocktable SET block_status = '0' WHERE block_file in ('" . implode("', '", $aKeys) . "')";<!--c2-->[/align]<!--ec2-->

wird
<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1--> $query = "DELETE FROM $blocktable WHERE block_file in ('" . implode("', '", $aKeys) . "')";<!--c2-->[/align]<!--ec2-->


Die Seitenleisten-Plugins, die wir in unserem Shop-System verwenden, sortieren wir und aktivieren wir
nun

<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1--> $blocktable = $oostable['block];
$query = "UPDATE $blocktable SET block_status = '1', block_side = 'left', block_sort_order = '1' WHERE block_file = 'categories'";
$result =&$dbconn->Execute($query);
if ($result === false) {
echo $dbconn->ErrorMsg();
exit;
}


$blocktable = $oostable['block];
$query = "UPDATE $blocktable SET block_status = '1', block_side = 'right', block_sort_order = '4' WHERE block_file = 'products_xsell'";
$result =&$dbconn->Execute($query);
if ($result === false) {
echo $dbconn->ErrorMsg();
exit;
}

$blocktable = $oostable['block];
$query = "UPDATE $blocktable SET block_status = '1', block_side = 'right', block_sort_order = '5' WHERE block_file = 'products_history'";
$result =&$dbconn->Execute($query);
if ($result === false) {
echo $dbconn->ErrorMsg();
exit;
}

$blocktable = $oostable['block];
$query = "UPDATE $blocktable SET block_status = '1', block_side = 'right', block_sort_order = '6' WHERE block_file = 'best_sellers'";
$result =&$dbconn->Execute($query);
if ($result === false) {
echo $dbconn->ErrorMsg();
exit;
}<!--c2-->[/align]<!--ec2-->

Unser Setup-Skript sieht nun so aus
http://foren.myoos.de/files/template_setup.txt
r23
Beiträge: 2696
Registriert: 18.09.2008, 05:56
Wohnort: Hagen
Kontaktdaten:

Beitrag von r23 »

Damit die Seitenleisten-Plugins auch auf den gewünschten Seiten angezeigt werden
erweitern wir nun unser Setup-Skript
http://www.oos-shop.de/doc/myoosdoc/htm ... block.html


Wir sehen zuerst nach, welche block_id unser Seitenleisten Plugin hat

<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1--> $blocktable = $oostable['block];
$block_sql = "SELECT block_id FROM $blocktable WHERE block_file = 'products_history'";
$nBlockID = $dbconn->GetOne($block_sql);<!--c2-->[/align]<!--ec2-->

Danach löschen wir alle Verknüpfungen mit den Seiten

<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1--> $block_to_page_typetable = $oostable['block_to_page_type];
$result = $dbconn->Execute("DELETE FROM " . $block_to_page_typetable . " WHERE block_id ='". intval($nBlockID) ."'");
if ($result === false) {
echo $dbconn->ErrorMsg();
exit;
}<!--c2-->[/align]<!--ec2-->

Nun tragen wir in die Datenbank ein, auf welchen Seiten wir das Plgin anzeigen möchten

<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1--> $dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 1)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 2)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 3)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 4)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 5)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 6)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 7)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 9)");<!--c2-->[/align]<!--ec2-->

Dies ist für products_xsell

<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1--> $blocktable = $oostable['block];
$query = "UPDATE $blocktable SET block_status = '1', block_side = 'right', block_sort_order = '4' WHERE block_file = 'products_xsell'";
$result =&$dbconn->Execute($query);
if ($result === false) {
echo $dbconn->ErrorMsg();
exit;
}


$blocktable = $oostable['block];
$block_sql = "SELECT block_id FROM $blocktable WHERE block_file = 'products_xsell'";
$nBlockID = $dbconn->GetOne($block_sql);

$block_to_page_typetable = $oostable['block_to_page_type];
$result = $dbconn->Execute("DELETE FROM " . $block_to_page_typetable . " WHERE block_id ='". intval($nBlockID) ."'");
if ($result === false) {
echo $dbconn->ErrorMsg();
exit;
}

$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 3)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 9)");<!--c2-->[/align]<!--ec2-->

und categories

<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1--> $blocktable = $oostable['block];
$query = "UPDATE $blocktable SET block_status = '1', block_side = 'left', block_sort_order = '1' WHERE block_file = 'categories'";
$result =&$dbconn->Execute($query);
if ($result === false) {
echo $dbconn->ErrorMsg();
exit;
}

$blocktable = $oostable['block];
$block_sql = "SELECT block_id FROM $blocktable WHERE block_file = 'categories'";
$nBlockID = $dbconn->GetOne($block_sql);

$block_to_page_typetable = $oostable['block_to_page_type];
$result = $dbconn->Execute("DELETE FROM " . $block_to_page_typetable . " WHERE block_id ='". intval($nBlockID) ."'");
if ($result === false) {
echo $dbconn->ErrorMsg();
exit;
}

$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 1)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 2)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 3)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 4)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 5)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 6)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 7)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 8)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 9)");<!--c2-->[/align]<!--ec2-->

und best_sellers

<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1--> $blocktable = $oostable['block];
$query = "UPDATE $blocktable SET block_status = '1', block_side = 'right', block_sort_order = '6' WHERE block_file = 'best_sellers'";
$result =&$dbconn->Execute($query);
if ($result === false) {
echo $dbconn->ErrorMsg();
exit;
}


$blocktable = $oostable['block];
$block_sql = "SELECT block_id FROM $blocktable WHERE block_file = 'best_sellers'";
$nBlockID = $dbconn->GetOne($block_sql);

$block_to_page_typetable = $oostable['block_to_page_type];
$result = $dbconn->Execute("DELETE FROM " . $block_to_page_typetable . " WHERE block_id ='". intval($nBlockID) ."'");
if ($result === false) {
echo $dbconn->ErrorMsg();
exit;
}

$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 1)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 2)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 3)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 4)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 5)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 6)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 7)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 9)");<!--c2-->[/align]<!--ec2-->
r23
Beiträge: 2696
Registriert: 18.09.2008, 05:56
Wohnort: Hagen
Kontaktdaten:

Beitrag von r23 »

Anstelle more products
Bild

verwenden wir einen Link zu unseren Neue Produkte im Shop.

Auf die zufällige Auswahl verzichten wir.

~/shop/includes/blocks/block_whats_new.php

<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1--><?php
/* ----------------------------------------------------------------------
$Id: $

OOS [OSIS Online Shop]
http://www.oos-shop.de/

Copyright (c) 2003 - 2009 by the OOS Development Team.
----------------------------------------------------------------------
Based on:

File: whats_new.php,v 1.2 2003/01/09 09:40:07 elarifr
orig: whats_new.php,v 1.31 2003/02/10 22:31:09 hpdl
----------------------------------------------------------------------
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com

Copyright (c) 2003 osCommerce
----------------------------------------------------------------------
Released under the GNU General Public License
---------------------------------------------------------------------- */

/** ensure this file is being included by a parent file */
defined( 'OOS_VALID_MOD' ) or die( 'Direct Access to this location is not allowed.' );

$oSmarty->assign('block_heading_whats_new', $block_heading);
?><!--c2-->[/align]<!--ec2-->

Template
<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1--> </table>
[/align]
<div style="padding-left:23px; padding-top:14px; padding-bottom:21px"><a href="{html_href_link modul=$modules.products file=$filename.products_new}" class="style6">{$block_heading_whats_new}</a>[/align]
<div style="padding-left:22px; padding-top:19px"><table width="170" border="1" cellspacing="0" cellpadding="0"><!--c2-->[/align]<!--ec2-->

Setup

<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1--> // whats_new
$blocktable = $oostable['block];
$query = "UPDATE $blocktable SET block_status = '1', block_side = 'right', block_sort_order = '7' WHERE block_file = 'whats_new'";
$result =&$dbconn->Execute($query);
if ($result === false) {
echo $dbconn->ErrorMsg();
exit;
}


$blocktable = $oostable['block];
$block_sql = "SELECT block_id FROM $blocktable WHERE block_file = 'whats_new'";
$nBlockID = $dbconn->GetOne($block_sql);

$block_to_page_typetable = $oostable['block_to_page_type];
$result = $dbconn->Execute("DELETE FROM " . $block_to_page_typetable . " WHERE block_id ='". intval($nBlockID) ."'");
if ($result === false) {
echo $dbconn->ErrorMsg();
exit;
}

$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 1)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 2)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 3)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 4)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 5)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 6)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 7)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 9)");<!--c2-->[/align]<!--ec2-->

Theme.html
<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1--> <tr>
<td height="100%" align="left" valign="top" bgcolor="#F3F3F3"><div style="padding-left:22px; padding-top:19px">
{* start block *}
<table width="170" border="0" cellspacing="0" cellpadding="0">
{foreach item=block from=$oos_blockright}
{if $block.content}{$block.content}{/if}
{/foreach}

</table>
{* stop block *}
[/align]</td>
</tr><!--c2-->[/align]<!--ec2-->
r23
Beiträge: 2696
Registriert: 18.09.2008, 05:56
Wohnort: Hagen
Kontaktdaten:

Beitrag von r23 »

Für Impressum, ABG, Versandkosten, Datenschutz usw. Informationen erstellen
wir noch das Template für Informationen

http://www.oos-shop.de/doc/myoosdoc/htm ... ation.html

Template:
~/oos_temp/shop/templates/*skin*/blocks/information.html

<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1-->{if $oEvent->installed_plugin('gallery')}
<tr>
<td height="21" align="left" valign="middle" style="background-image:url({$theme_image}/rep_2.jpg); background-position:bottom; background-repeat:repeat-x "><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="middle">
<td width="12"><img alt="" src="{$theme_image}/point_3.jpg" width="2" height="2" hspace="1"></td>
<td><a href="{html_href_link modul=$modules.info file=$filename.info_gallery}" class="style5">{$lang.block_information_gallery}</a></td>
</tr>
</table></td>
</tr>
{/if}
{foreach item=info from=$information}
<tr>
<td height="21" align="left" valign="middle" style="background-image:url({$theme_image}/rep_2.jpg); background-position:bottom; background-repeat:repeat-x "><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="middle">
<td width="12"><img alt="" src="{$theme_image}/point_3.jpg" width="2" height="2" hspace="1"></td>
<td><a href="{html_href_link modul=$modules.info file=$filename.information information_id=$info.information_id}" class="style5">{$info.information_name}</a></td>
</tr>
</table></td>
</tr>
{/foreach}
<tr>
<td height="21" align="left" valign="middle" style="background-image:url({$theme_image}/rep_2.jpg); background-position:bottom; background-repeat:repeat-x "><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="middle">
<td width="12"><img alt="" src="{$theme_image}/point_3.jpg" width="2" height="2" hspace="1"></td>
<td><a href="{html_href_link modul=$modules.main file=$filename.contact_us}" class="style5">{$lang.block_information_contact}</a></td>
</tr>
</table></td>
</tr><!--c2-->[/align]<!--ec2-->

Setup
<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1--> // information
$blocktable = $oostable['block];
$query = "UPDATE $blocktable SET block_status = '1', block_side = 'right', block_sort_order = '8' WHERE block_file = 'information'";
$result =&$dbconn->Execute($query);
if ($result === false) {
echo $dbconn->ErrorMsg();
exit;
}


$blocktable = $oostable['block];
$block_sql = "SELECT block_id FROM $blocktable WHERE block_file = 'whats_new'";
$nBlockID = $dbconn->GetOne($block_sql);

$block_to_page_typetable = $oostable['block_to_page_type];
$result = $dbconn->Execute("DELETE FROM " . $block_to_page_typetable . " WHERE block_id ='". intval($nBlockID) ."'");
if ($result === false) {
echo $dbconn->ErrorMsg();
exit;
}

$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 1)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 2)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 3)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 4)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 5)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 6)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 7)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 8)");
$dbconn->Execute("INSERT INTO " . $block_to_page_typetable . " (block_id, page_type_id) VALUES ('" . intval($nBlockID) . "', 9)");<!--c2-->[/align]<!--ec2-->
r23
Beiträge: 2696
Registriert: 18.09.2008, 05:56
Wohnort: Hagen
Kontaktdaten:

Beitrag von r23 »

In dem Verzeichnis

~/oos_temp/shop/templates/footwear_green/blocks

löschen wir alle Templates bis auf die verwendeten

best_sellers.html
categories.html
information.html
products_history.html
products_xsell.html
whats_new.html

Wir schalten den Shop in den Debug-Modus

~/shop/includes/oos_main.php

Zeile 26
<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1-->// debug
$debug = 'true';<!--c2-->[/align]<!--ec2-->

Und rufen den Shop mit aktivieren JavaScript im Browser auf.

Man sollte nun die
Debugging Konsole sehen.
http://smarty.net/manual/de/chapter.deb ... onsole.php
r23
Beiträge: 2696
Registriert: 18.09.2008, 05:56
Wohnort: Hagen
Kontaktdaten:

Beitrag von r23 »

Bild

Im Template haben wir die Links customer service, your account, und shopping cart mit
{* start customernavi *} markiert.

<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1-->{* start customernavi *}
<td width="8"><img alt="" src="{$theme_image}/point_2.jpg" width="3" height="3"></td>
<td width="97"><a href="#" class="style2">customer service</a></td>
<td width="8"><img alt="" src="{$theme_image}/point_2.jpg" width="3" height="3"></td>
<td width="79"><a href="#" class="style2">your account</a></td>
<td width="8"><img alt="" src="{$theme_image}/point_2.jpg" width="3" height="3"></td>
<td><span class="style3"><a href="index-3.html" class="style2">shopping cart</a> (0 items)</span>
{* stop customernavi *}<!--c2-->[/align]<!--ec2-->

Ich denke, wir bauen eine Navigation wie folgt ein:

Anmelden
Mein Konto
Warenkorb

ein.


Anmelden

Sollte der Kunde angemeldet sein, bieten wir ihm einen Logoff Link an


<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1-->{if (isset($smarty.session.customer_id)) }
<a href="{html_href_link modul=$modules.user file=$filename.logoff connection=SSL}" class="style2">{$lang.header_title_logoff}</a>
{else}
<a href="{html_href_link modul=$modules.user file=$filename.login connection=SSL}" class="style2">{$lang.header_title_login}</a>
{/if}<!--c2-->[/align]<!--ec2-->



Mein Konto

<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1--><a href="{html_href_link modul=$modules.user file=$filename.account connection=SSL}" class="style2">{$lang.header_title_my_account}</a><!--c2-->[/align]<!--ec2-->


Warenkorb

<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1--><a href="{html_href_link modul=$modules.main file=$filename.main_shopping_cart}" class="style2">{$lang.header_title_cart_contents}</a><!--c2-->[/align]<!--ec2-->


(0 items)

Wie wir der Debugging Konsole entnehmen können, steht uns die Menge der Artikel im Warenkorb unter
{$cart_count_contents} zur Verfügung.

<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1-->({$cart_count_contents} {$lang.items})<!--c2-->[/align]<!--ec2-->
r23
Beiträge: 2696
Registriert: 18.09.2008, 05:56
Wohnort: Hagen
Kontaktdaten:

Beitrag von r23 »

Home - Link

Für das Logo
Bild

und für den Text - Link 'Home'

Verwenden wir den Link zur Startseite des Shops.

<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1--><a href="{html_href_link modul=$modules.main file=$filename.main}"><!--c2-->[/align]<!--ec2-->

Zeile 91

~oos_temp/shop/templates/footwear_green/theme.html
<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1--> <td width="252"><div style="padding-left:45px; padding-top:12px"><a href="{html_href_link modul=$modules.main file=$filename.main}"><img alt="" src="{$theme_image}/logo.jpg" width="159" height="97" border="0"></a>[/align]<div style="padding-left:43px; padding-top:30px"><!--c2-->[/align]<!--ec2-->


Zeile 395
<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1--> <td width="428" height="47" style="border-right:1px solid #DBDBDB ">{* start customernavi *}<div style="padding-right:27px; padding-top:5px"><span class="style4"><a href="{html_href_link modul=$modules.main file=$filename.main}" class="style4">Home</a> &nbsp<!--c2-->[/align]<!--ec2-->
r23
Beiträge: 2696
Registriert: 18.09.2008, 05:56
Wohnort: Hagen
Kontaktdaten:

Beitrag von r23 »

Die untere Navigation

Bild

Soll den Kunden im Shop halten. In diesem Bereich sucht er in der Regel
Informationen über das Unternehmen...

Home | Product Directory | My Account | Easy Returns | Affiliate Program

Wir verwenden als Beispiel:

Home | Sitemap | Mein Konto | Versandkosten | Impressum | Kontakt


Home ist bereits fertig

Sitemap

<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1-->{html_href_link modul=$modules.info file=$filename.info_sitemap} {$lang.block_service_sitemap}<!--c2-->[/align]<!--ec2-->


Mein Konto

<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1-->{html_href_link modul=$modules.user file=$filename.account connection=SSL} {$lang.header_title_my_account}<!--c2-->[/align]<!--ec2-->


Versandkosten
<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1-->{html_href_link modul=$modules.info file=$filename.information information_id=1} {$lang.block_information_shipping}<!--c2-->[/align]<!--ec2-->



Impressum

<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1-->{html_href_link modul=$modules.info file=$filename.information information_id=4} {$lang.block_information_imprint}<!--c2-->[/align]<!--ec2-->

Kontakt

<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1-->{html_href_link modul=$modules.main file=$filename.contact_us} {$lang.block_information_contact}<!--c2-->[/align]<!--ec2-->


Zeile 396
<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1--> <td width="428" height="47" style="border-right:1px solid #DBDBDB ">{* start customernavi *}<div style="padding-right:27px; padding-top:5px"><span class="style4"><a href={html_href_link modul=$modules.main file=$filename.main}" class="style4">Home</a>   |   <a href="{html_href_link modul=$modules.info file=$filename.info_sitemap}" class="style4">{$lang.block_service_sitemap}</a>   |   <a href="{html_href_link modul=$modules.user file=$filename.account connection=SSL}" class="style4">{$lang.header_title_my_account}</a>   |   <a href="{html_href_link modul=$modules.info file=$filename.information information_id=1}" class="style4">{$lang.block_information_shipping}</a>   |   <a href="{html_href_link modul=$modules.info file=$filename.information information_id=4}" class="style4">{$lang.block_information_imprint}</a>   |   <a href="{html_href_link modul=$modules.main file=$filename.contact_us}" class="style4">{$lang.block_information_contact}</span>[/align]<!--c2-->[/align]<!--ec2-->
r23
Beiträge: 2696
Registriert: 18.09.2008, 05:56
Wohnort: Hagen
Kontaktdaten:

Beitrag von r23 »

Das PullDown Menue "All products"

Bild

ersetzen wir durch die "Schnellsuche" aus dem Template
~/oos_temp/.../blocks/serach.html

<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1--><form name="quick_find" action="{html_href_link modul=$modules.search file=$filename.advanced_search_result}" method="get">
<input type="hidden" name="mp" value="{$modules.search}">
<input type="hidden" name="file" value="{$filename.advanced_search_result}">
{html_js_inputbox name='keywords' size='12' value=$lang.text_search}
<input type="hidden" name="{$oos_session_name}" value="{$oos_session_id}">
{html_image_submit image="quick_find.gif" alt=$block_heading_search}
</form><!--c2-->[/align]<!--ec2-->

anstelle
~/theme.html

Zeiel 158

<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1--> <form action="" style="margin:0px; padding:0px "><table width="188" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="middle">
<td><select name="select" style="width:156px; height:17px; font-family:tahoma; font-size:11px; color:#000000 ">
<option>- all products -</option>
</select></td>
<td align="right"><input type="image" src="{$theme_image}/ok.gif"></td>
</tr>
</table></form><!--c2-->[/align]<!--ec2-->

verwenden.
r23
Beiträge: 2696
Registriert: 18.09.2008, 05:56
Wohnort: Hagen
Kontaktdaten:

Beitrag von r23 »

Da wir in dem Template keine Banner zeigen - deaktivieren wir unter Pluigns die Banner.

Zusätzlich können wir unter Hilfsprogramme => Banner Manger die Banner löschen.
r23
Beiträge: 2696
Registriert: 18.09.2008, 05:56
Wohnort: Hagen
Kontaktdaten:

Beitrag von r23 »

Wir löschen alles zwischen {* start content *} {* stop content *}


<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1--> {* start content *}
<table width="470" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="top">
<td width="242" style="border-right:1px solid #DBDBDB "><div style="padding-left:0px; padding-top:2px; padding-bottom:10px">
<table width="210" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="top">
<td width="98"><div style="padding-left:0px; padding-top:29px"><a href="#"><img alt="" src="{$theme_image}/ca_1.jpg" width="91" height="55" border="0"></a>[/align]
<div style="padding-left:18px; padding-top:22px">
<table width="55" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="middle">
<td width="12"><img alt="" src="{$theme_image}/point_4.jpg" width="9" height="9"></td>
<td><a href="#" class="style6">enlarge</a></td>
</tr>
</table>
[/align]</td>
<td><table width="121" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="24" align="left" valign="top" class="style5" style="background-image:url({$theme_image}/rep_1.jpg); background-position:bottom; background-repeat:repeat-x "><img alt="" src="{$theme_image}/offer.jpg" width="109" height="15"></td>
</tr>
<tr>
<td height="40" align="left" valign="middle" class="style5" style="background-image:url({$theme_image}/rep_1.jpg); background-position:bottom; background-repeat:repeat-x ">Men's custom waterproof varsity boots.</td>
</tr>
<tr>
<td height="22" align="left" valign="middle" class="style5" style="background-image:url({$theme_image}/rep_1.jpg); background-position:bottom; background-repeat:repeat-x ">Size: <span class="style3"><strong>12</strong></span>    Color: <span class="style3"><strong>green</strong></span></td>
</tr>
<tr>
<td height="25" align="left" valign="bottom" class="style5"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="middle">
<td class="style7"><strong>$ <span class="style8">179.95</span></strong></td>
<td align="right"><a href="#"><img alt="" src="{$theme_image}/buy.jpg" width="45" height="16" border="0"></a></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
[/align]</td>
<td><div style="padding-left:14px; padding-top:2px; padding-bottom:10px">
<table width="210" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="top">
<td width="81"><a href="#"><img alt="" src="{$theme_image}/ho_2.jpg" width="72" height="81" hspace="2" border="0"></a>
<div style="padding-left:7px; padding-top:17px">
<table width="55" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="middle">
<td width="12"><img alt="" src="{$theme_image}/point_4.jpg" width="9" height="9"></td>
<td><a href="#" class="style6">enlarge</a></td>
</tr>
</table>
[/align]</td>
<td><table width="121" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="24" align="left" valign="top" class="style5" style="background-image:url({$theme_image}/rep_1.jpg); background-position:bottom; background-repeat:repeat-x "><img alt="" src="{$theme_image}/offer.jpg" width="109" height="15"></td>
</tr>
<tr>
<td height="40" align="left" valign="middle" class="style5" style="background-image:url({$theme_image}/rep_1.jpg); background-position:bottom; background-repeat:repeat-x ">Men's custom waterproof varsity boots.</td>
</tr>
<tr>
<td height="22" align="left" valign="middle" class="style5" style="background-image:url({$theme_image}/rep_1.jpg); background-position:bottom; background-repeat:repeat-x ">Size: <span class="style3"><strong>12</strong></span>    Color: <span class="style3"><strong>green</strong></span></td>
</tr>
<tr>
<td height="25" align="left" valign="bottom" class="style5"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="middle">
<td class="style7"><strong>$ <span class="style8">84.95</span></strong></td>
<td align="right"><a href="#"><img alt="" src="{$theme_image}/buy.jpg" width="45" height="16" border="0"></a></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
[/align]</td>
</tr>
</table></td>
</tr>
<tr>
<td height="16" align="left" valign="middle"><div style="padding-left:24px; padding-top:0px"><img alt="" src="{$theme_image}/line_1.jpg" width="436" height="1">[/align]</td>
</tr>
<tr>
<td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="top">
<td width="242" style="border-right:1px solid #DBDBDB "><div style="padding-left:0px; padding-top:11px; padding-bottom:0px">
<table width="210" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="top">
<td width="81"><a href="#"><img alt="" src="{$theme_image}/ho_3.jpg" width="69" height="83" hspace="2" vspace="3" border="0"></a>
<div style="padding-left:0px; padding-top:5px">
<table width="55" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="middle">
<td width="12"><img alt="" src="{$theme_image}/point_4.jpg" width="9" height="9"></td>
<td><a href="#" class="style6">enlarge</a></td>
</tr>
</table>
[/align]</td>
<td><table width="121" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="24" align="left" valign="top" class="style5" style="background-image:url({$theme_image}/rep_1.jpg); background-position:bottom; background-repeat:repeat-x "><img alt="" src="{$theme_image}/offer.jpg" width="109" height="15"></td>
</tr>
<tr>
<td height="40" align="left" valign="middle" class="style5" style="background-image:url({$theme_image}/rep_1.jpg); background-position:bottom; background-repeat:repeat-x ">Men's custom waterproof varsity boots.</td>
</tr>
<tr>
<td height="22" align="left" valign="middle" class="style5" style="background-image:url({$theme_image}/rep_1.jpg); background-position:bottom; background-repeat:repeat-x ">Size: <span class="style3"><strong>12</strong></span>    Color: <span class="style3"><strong>green</strong></span></td>
</tr>
<tr>
<td height="25" align="left" valign="bottom" class="style5"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="middle">
<td class="style7"><strong>$ <span class="style8">78.95</span></strong></td>
<td align="right"><a href="#"><img alt="" src="{$theme_image}/buy.jpg" width="45" height="16" border="0"></a></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
[/align]</td>
<td><div style="padding-left:14px; padding-top:11px; padding-bottom:0px">
<table width="210" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="top">
<td width="81"><a href="#"><img alt="" src="{$theme_image}/ho_4.jpg" width="74" height="77" hspace="2" border="0"></a>
<div style="padding-left:7px; padding-top:17px">
<table width="55" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="middle">
<td width="12"><img alt="" src="{$theme_image}/point_4.jpg" width="9" height="9"></td>
<td><a href="#" class="style6">enlarge</a></td>
</tr>
</table>
[/align]</td>
<td><table width="121" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="24" align="left" valign="top" class="style5" style="background-image:url({$theme_image}/rep_1.jpg); background-position:bottom; background-repeat:repeat-x "><img alt="" src="{$theme_image}/offer.jpg" width="109" height="15"></td>
</tr>
<tr>
<td height="40" align="left" valign="middle" class="style5" style="background-image:url({$theme_image}/rep_1.jpg); background-position:bottom; background-repeat:repeat-x ">Men's custom waterproof varsity boots.</td>
</tr>
<tr>
<td height="22" align="left" valign="middle" class="style5" style="background-image:url({$theme_image}/rep_1.jpg); background-position:bottom; background-repeat:repeat-x ">Size: <span class="style3"><strong>12</strong></span>    Color: <span class="style3"><strong>green</strong></span></td>
</tr>
<tr>
<td height="25" align="left" valign="bottom" class="style5"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="middle">
<td class="style7"><strong>$ <span class="style8">64.95</span></strong></td>
<td align="right"><a href="#"><img alt="" src="{$theme_image}/buy.jpg" width="45" height="16" border="0"></a></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
[/align]</td>
</tr>
</table></td>
</tr>
</table>
{* stop content *}<!--c2-->[/align]<!--ec2-->
r23
Beiträge: 2696
Registriert: 18.09.2008, 05:56
Wohnort: Hagen
Kontaktdaten:

Beitrag von r23 »

wir fügen nun unseren content ein

<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1--> {* start content *}
{$contents}
{* stop content *}<!--c2-->[/align]<!--ec2-->
Antworten