Seite 1 von 1

Amazon-Box im Index

Verfasst: 29.04.2004 22:24
von andreasOymann
Beschreibung: Fügt eine dezente Amazon-Box (ohne Bilder) im unteren Bereich der Index-Seite hinzu. Sie enthält Links zu den Produktgruppen sowie eine Suchfunktion.
Getestet mit: 2.0.8, funktioniert aber mit allen Versionen 2.0.x

index_body.tpl:
suche

Code: Alles auswählen

		<input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
		</span> </td>
	</tr>
  </table>
</form>
<!-- END switch_user_logged_out -->
füge danach ein

Code: Alles auswählen

<br>

<table class="forumline" cellspacing="1" border="0" width="100%"> 
<tr> 
<FORM METHOD="get" ACTION="http://www.amazon.de/exec/obidos/external-search?tag=amazon_id" target="_blank"> 
 <td class="catHead" align="center"><span class="cattitle">AMAZON: 5% vom Bestellwert bei Amazon fließen aufs Serverkonto</span></td> 
</tr> 
<tr> 
 <td class="row1" height="28"><span class="gensmall"><b>Links: <a href="http://www.amazon.de/exec/obidos/redirect-home?tag=amazon_id&site=home" target="_blank">Amazon Startseite</a>, 
   <a href="http://www.amazon.de/exec/obidos/redirect-home?tag=amazon_id&site=buecher" target="_blank">Bücher</a>, 
   <a href="http://www.amazon.de/exec/obidos/redirect-home?tag=amazon_id&site=musik" target="_blank">Musik</a>, 
   <a href="http://www.amazon.de/exec/obidos/redirect-home?tag=amazon_id&site=dvd" target="_blank">DVD</a>, 
   <a href="http://www.amazon.de/exec/obidos/redirect-home?tag=amazon_id&site=elektronik" target="_blank">Elektronik & Foto</a>,</b> 
  oder <b>Suchen in:</b> 

   <SELECT name="index"> 
    <OPTION VALUE="books-de">Bücher 
    <OPTION VALUE="books-de-intl-us">Englische Bücher 
    <OPTION VALUE="music" >Pop-Musik 
    <OPTION VALUE="classical-music">Klassik 
    <OPTION VALUE="dvd-de" >DVDs 
    <OPTION VALUE="video-games-de">PC- & Videospiele 
    <OPTION VALUE="software-de" >Software 
    <OPTION VALUE="ce-de">Elektronik & Foto 
   </SELECT> 
   <b>nach:</b> <INPUT TYPE="text" class="bginput" NAME="keyword" SIZE="15" VALUE=""> 

   <INPUT TYPE="hidden" NAME="tag" VALUE="amazon_id"> 
   <INPUT TYPE="hidden" NAME="tag-id" VALUE="amazon_id"> 
   <!-- go button --> 
<input type="submit" class="mainoption" name="Suchen" border="0" value="Suchen"> 
 </td> 
</form> 
</tr> 
</table> 
Ändere "amazon_id" in deine eigene ID bei Amazon.