1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30:
| <?php//++++++++++++++++++++++++++++ Baut die Nachrichten des Newsletters auf ++++++++++++++++++++++++++++++++++++
while ($newsletter = $db->next_record($newsletter_query)){
$newsl_number = $newsletter[h_id];
$newsl_head_datum = hackdate2($newsletter[h_time]);
$newsl_thema_datum = hackdate2($newsletter[b_time]);
$newsl_anzahl = $newsletter[b_nummer];
$thema_newsl = $newsletter[h_titel];
$mail_type = $newsletter[h_type];
$tablecolor = get_color();
$newsl_themabody = "$newsletter[b_thema] [$newsletter[b_person] - $newsl_thema_datum]";
$underline_text .= get_underline_text($newsl_anzahl, 1);
$underline_html .= get_underline_text($newsl_anzahl, 0);
$massege_hmtl = get_massege_hmtl($mail_type, $newsletter);
$massege_text = $newsletter[b_message];
$attachement_id = get_attachementid($i, $attachement_id);
$newsletter_bodytext = $_LANG[newsl_trennung].$newsletter[b_thema]."\r\n*********************************************************************************\r\n";
$massege_text_html .= "<tr><TD bgcolor=\"$tablecolor\"><FONT face=\"$font\" color=\"$fontcolorsec\" size=\"2\">
".str_replace("\r", "<BR>", $newsletter_bodytext)."
</FONT><FONT face=\"$font\" color=\"$fontcolor\" size=\"2\">$massege_hmtl</FONT><BR><BR></TD></TR>";
$massege_text_text.= "\r".$newsletter_bodytext . $massege_text."\r\r";
}
$newsletter_subject = $_LANG[newsl_header].$newsl_anzahl.$_LANG[newsl_header_1];
$header_texttrennung = str_replace("\r", "<BR>", $newsletter_subject);?> |