<?
if(PHPMAILER &&
is_file(dirname(__FILE__).
'/phpmailer/class.phpmailer.php')) {
@
include_once dirname(__FILE__) .
"/class.phpmailer.php";
}
$link_txt_host =
eregi_replace("(.de|www.)",
'',
$_SERVER['HTTP_HOST']);
$mailcode =
'<div style="padding-left:5px;padding-right:5px;font-size:9px;background-color:#FFFFFF;border-style: solid; border-width:1px; border-color: #9F9F9F;">'.
htmlentities($aera).
'</div>';
$htmlmessage =<<<EOF
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Linkeintrag</TITLE>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<STYLE TYPE="text/css">
BODY{ margin-TOP: 10; color:color:#444444;}
BODY, td, table,p {background-color:#FEF9DB; font: 11px/18px verdana,arial,helvetica,sans-serif;}
A {color:#666;}
A:hover {color: #442B0F;}
A:visited {color: #442B0F;}
</STYLE>
<!-- powered by www.phplist.de -->
</HEAD>
<BODY BGCOLOR="#FEF9DB">
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="502" SUMMARY="" BORDER="0">
<TBODY>
<TR>
<TD STYLE="background:url({$dir}url-anmelden-link-eintragen/design/css/oben.png) no-repeat; width: 502px;height: 15px;" COLSPAN="3">
</TD>
</TR>
<TR>
<TD STYLE="background:url({$dir}url-anmelden-link-eintragen/design/css/links.png);margin:30px; background-repeat:repeat-y; width: 17px;">
</TD>
<TD STYLE="width: 468px;" VALIGN="top">
<TABLE CELLSPACING="0" BGCOLOR="#FEF9DB" CELLPADDING="0" WIDTH="100%" SUMMARY="" BORDER="0">
<TBODY>
<TR>
<TD COLSPAN="2" WIDTH="258" VALIGN="top">Willkommen,<BR>
<STRONG>$name</STRONG><HR>
</TD>
</TR>
<TR>
<TD COLSPAN="2" VALIGN="top"><B>Schnellübersicht Ihres Eintrages:</B> </TD>
</TR>
<TR>
<TD VALIGN="top" COLSPAN="2">
<TABLE STYLE="background-color:#FFFFFF;" CELLSPACING="1" BORDER="0" CELLPADDING="1" SUMMARY="">
<TBODY>
<TR>
<TD WIDTH="30%" VALIGN="top">URL der Webseite:</TD>
<TD VALIGN="top" WIDTH="70%">$url</TD>
</TR>
<TR>
<TD WIDTH="30%" VALIGN="top">Titel der Webseite:</TD>
<TD VALIGN="top" WIDTH="70%">$title</TD>
</TR>
<TR>
<TD WIDTH="30%" VALIGN="top">Beschreibung der Webseite:</TD>
<TD VALIGN="top" WIDTH="70%">$description</TD>
</TR>
<TR>
<TD WIDTH="30%" VALIGN="top">Verlinkungs URL</TD>
<TD VALIGN="top" WIDTH="70%">Link » <b>[ $linki_eintrag_mail ]</b></TD>
</TR>
<TR>
<TD WIDTH="30%" VALIGN="top">Eintragsort / Rubrik</TD>
<TD VALIGN="top" WIDTH="70%">$eintrag_mail</TD>
</TR>
<TR>
<TD WIDTH="30%" VALIGN="top">Gegenlink URL</TD>
<TD VALIGN="top" WIDTH="70%">$backlink</TD>
</TR>
<TR>
<TD COLSPAN="2" VALIGN="top"><b>Einbau Html Code:</b></TD>
</TR>
<TR>
<TD COLSPAN="2" VALIGN="top">$mailcode</TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
<TR>
<TD COLSPAN="2" VALIGN="top"><BR>
Wir freuen uns auf eine lange und gute Linkpartnerschaft!<BR>
<BR>
Mit freundlichen Grüßen<BR>
Das Adminteam<BR>
$website<BR>
</TD>
</TR>
<TR>
<TD COLSPAN="2" VALIGN="top"><BR>
<DIV STYLE="color: #AFAFAF;font-style:normal; text-decoration:none;font-size:9px; font-weight:300;" align="center">
<A style="color: #AFAFAF;" href="$dir">home</a> <a style="color: #AFAFAF;" href="$path_nutz">nutzungsbedingungen</a> <a style="color: #AFAFAF;" href="$path_impr">impressum</a>
<DIV style="color: #AFAFAF;" align="center">
<!-- Der
Link darf nicht entfernt werden -->
powered by <a style="color: #AFAFAF;" href="http://www.phplist.de">Link Script - Webkatalog</a>
</DIV>
</DIV>
</TD>
</TR>
</TBODY>
</TABLE>
</TD>
<TD STYLE="background:url({$dir}url-anmelden-link-eintragen/design/css/rechts.png); background-repeat:repeat-y; width: 17px;">
</TD>
</TR>
<TR>
<TD STYLE="background:url({$dir}url-anmelden-link-eintragen/design/css/unten.png) no-repeat; width: 502px;height: 32px;" COLSPAN="3">
</TD>
</TR>
</TBODY>
</TABLE>
</BODY>
</HTML>
EOF;
$destinationemail=$email;
//config.php $messageid =1;
//config.php $destinationemail1 ='linktausch@domain.de';
//config.php $fromname = "Eintragsservice $website";
//config.php $fromemail = 'eintragsservice@domain.de';
//config.php $subject = "Ihr Eintrag bei $website";
$mail = new PHPlistMailer($messageid,$destinationemail);
$mail->add_html($htmlmessage,"","");
$mail->
SetLanguage ("de",
dirname(__FILE__).
'/phpmailer/language/');
if (!$mail->send("", $destinationemail, $fromname, $fromemail, $subject))
{
$errormail = true;
}
if (!$mail->send("", $destinationemail1, $fromname, $fromemail, $subject))
{
$errormail = true;
}
?>