"Danke-Seite" erstellen?
php-Datei:
Code:
<?php
require_once 'init.php';
$path = array ();
$path[] = array ('ID' => '0', 'TITLE' => _L(SITE_NAME) , 'TITLE_URL' => DOC_ROOT, 'DESCRIPTION' => SITE_DESC);
$path[] = array ('ID' => '0', 'TITLE' => _L('News'), 'TITLE_URL' => '' , 'DESCRIPTION' => _L('No authorisation'));
$tpl->assign('path', $path);
//Make output
echo $tpl->fetch('danke.tpl');
?>
TPL-Datei:
Code:
{capture name="title"} - {l}Vielen Dank{/l}{/capture}
{capture assign="in_page_title"}{l}Vielen Dank{/l}{/capture}
{capture assign="description"}{l}Vielen Dank{/l}{/capture}
{include file="header.tpl"}
{include file="top_bar.tpl"}
{strip}
<center>
Vielen Dank .... Ihr Link wird nun geprüft!
</center>
{include file="footer.tpl"}
{/strip}
Du erhälst dann eine "confirm.php" .... dort änderst Du die letzte Zeile:
Code:
//forward them to the index
header ("Location: http://www.your-domain/danke.php");