Hallo,
so nachdem ich endlich den Affilinator auf einem neuen Server zum laufen bekommen habe, wollte ich mich ein wenig mit Smarty beschäftigen und habe ein wenig rumgespielt. Das standard Template funktioniert auch wunderbar, Kategorien werden angezeigt usw.
Leider kommt immer nur ein weißer Bildschirm wenn ich das Template durch eine meiner Spielereien ersetze. Hier ist der Code für die index.html (natürlich nocht lange nicht fertig

) Mit dem vorgegebenen Layout funktioniert wie gesagt alles super!
HTML-Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html></html><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Unbenanntes Dokument</title>
<link href="css.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="800" height="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="main">
<tr>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="logo"> </td>
</tr>
<tr>
<td class="top_leiste"><TABLE cellSpacing="0" cellPadding="0" border="0" class="searchbox maintable" height="20">
<TR>
<form action="{$smarty.const.BASE_URL}search.php" method="POST">
<TD style="padding-left: 5px;">Suche</TD>
<TD style="padding-left: 5px;">
<input type="text" name="Keywords" size="15" value="{$keywords}">
<input class="searchbutton" type="submit" value="Suchen" name="search">
</td>
<td style="padding-left: 5px;" nowrap>Preis von:
<input type="text" name="PriceMin" size="1">
bis:
<input type="text" name="PriceMax" size="1">
</td>
<td style="padding-left: 5px;" nowrap>
Suche in:
<input type="radio" name="where_to_search" value="shop" checked> allen Kategorien
<input type="radio" name="where_to_search" value="shop_abteilung" {if $where_to_search eq "shop_abteilung"}checked{/if}> dieser Kategorie
<input type="hidden" name="CategoryID" value="{$CategoryID}">
</td>
</form>
</TR></TABLE></td>
</tr>
</table>
<table width="50%" border="0" align="right" cellpadding="0" cellspacing="0" class="content_box">
<tr>
<td class="content_box2"><div align="left">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="33%" class="headline">Preisvergleichs Kategorien </td>
</tr>
<tr>
<td>{foreach from=$getCategoryList_data.data item=parent name=p}
{if ($smarty.foreach.p.iteration - 1) is div by 3 }</tr><tr>{/if}
<td valign="top" width="33%">
{assign var=id value=$parent.ID.0.VALUE}
{if $parent.WITH_CHILDREN}
<a href="{$smarty.const.BASE_URL}shop_abteilung/{$ShopID}/{$id}/Seite1.html" class="catmenu" title="{$parent.TITLE.0.VALUE} - {$parent.PRODUCTS.0.VALUE}"> {$parent.TITLE.0.VALUE}</a>
{else}
{if $parent.ID.0.VALUE neq $getCategoryList_data.categoryID}
<a href="{$smarty.const.BASE_URL}shop_abteilung/{$ShopID}/{$id}/Seite1.html" class="catmenu" title="{$parent.TITLE.0.VALUE} - {$parent.PRODUCTS.0.VALUE}">{$parent.TITLE.0.VALUE}</a>
{else}
<span class="black">{$parent.TITLE.0.VALUE}</span>
{/if}
{/if} </td>
</tr>
</table>
</div></td>
</tr>
</table>
<p> </p></td>
</tr>
</table>
</table>
</body>
</html>
Ich hoffe das gibt Aufschlüsse. Hir noch ein Link zur info.php
*edit*
Viele Grüße
Hanno