Select Interface Language:
--Select-- Albanian Arabic Bulgarian Catalan Chinese(Simp) Chinese(Trad) Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Indonesian Italian Japanese Korean Latvian Lithuanian Maltese Norwegian Persian ALPHA Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swedish Thai Turkish Ukrainian Vietnamese
Recent Hits:
• Today:
850
• Yesterday:
968
• Trend:
Yearly Hits:
• 2009:
5,463 • 2010:
70,070 • 2011:
122,282 • 2012:
139,559 • 2013:
279,738 • 2014:
211,936 • 2015:
195,374 • 2016:
153,554 • 2017:
110,448 • 2018:
53,122 • 2019:
28,252 • 2020:
70,563 • 2021:
152,497 • 2022:
555,112 • 2023:
224,993 • 2024:
193,226 • 2025:
178,013 • Total:
2,744,526
Average Hits:
• Hourly: 57
• Daily:
1,359
• Monthly:
41,332
• Yearly:
495,983
Objective
Golddays v4
briefing Kill the naabs and grab the gold! Axis Objective Descriptions: Primary Objective:**blow the door to access the house. 2 Primary Objective:**build the ladder to get an extra entrance to the
Hits: 5
Total Maps: 85
Top-Ten Countries visiting Fogfighters Hungary 1 United States 2 China 3 Viet nam 4 Russian Federation 5 France 6 Hungary 7 unknown 8 Ukraine 9 Canada 10 United Kingdom 11 Germany 12 Netherlands 13 Poland 14 Italy 15 Taiwan, Province of China 16 Seychelles 17 Australia 18 Romania 19 Indonesia 20 India 21 Thailand 22 Sweden 23 Brazil 24 Japan 25 South Africa 26 Lithuania 27 Argentina 28 Spain 29 Iran, Islamic Republic of 30 Chile 31 Luxembourg 32 Turkey 33 Moldova, Republic of 34 Korea, Republic of 35 Belarus 36 Malaysia 37 Venezuela 38 Switzerland 39 Singapore 40 Colombia 41 Hong Kong 42 Mexico 43 Mongolia 44 Czech Republic 45 Belize 46 Greece 47 Honduras 48 Estonia 49 Latvia 50 Bulgaria View MS-Analysis
Mods: Community: Clans: League: Anticheat: Other:
Reggae Music Day
There is a problem right now with this block.
Az ajtó mögötti rész
How to allow HTML in the Newsletter
If you want to use HTML, instead of only plain text in the Newsletter from the administration panel, you have to do the following:
Replace the function newsletter_send() in admin/modules/newsletter.php with:
function newsletter_send($title, $content) {
global $user_prefix, $sitename, $dbi, $nukeurl, $adminmail;
$send_html_messages = "yes";
$from = $adminmail;
$subject = "[$sitename Newsletter]: ".stripslashes($title)."";
$content = stripslashes($content);
$content = "$sitename "._NEWSLETTER."\n\n\n$content\n\n-
$sitename "._STAFF."\n\n\n\n\n\n"._NLUNSUBSCRIBE."";
$result = sql_query("select email from ".$user_prefix.
"_users where newsletter='1'", $dbi);
while(list($email) = sql_fetch_row($result, $dbi)) {
$xheaders = "From: " . $sitename . " <" . $adminmail . ">\n";
$xheaders .= "X-Sender: <" . $adminmail . ">\n";
$xheaders .= "X-Mailer: PHP\n"; // mailer
$xheaders .= "X-Priority: 6\n"; // Urgent message!
if ($send_html_messages == "yes") {
$xheaders .= "Content-Type: text/html;
charset=iso-8859-1\n"; // Mime type
}
mail("$email","$subject","$content",$xheaders);
}
Header("Location: admin.php?op=newsletter_sent");
}
and the function massmail_send() with
function massmail_send($title, $content) {
global $user_prefix, $sitename, $dbi, $nukeurl, $adminmail;
$send_html_messages = "yes";
$from = $adminmail;
$subject = "[$sitename]: $title";
$content = stripslashes($content);
$content = ""._FROM.": $sitename\n\n\n\n$content\n\n\n\n-
$sitename "._STAFF."\n\n\n\n"._MASSEMAILMSG."";
$result = sql_query("select email from ".$user_prefix
."_users where uid != '1'", $dbi);
while(list($email) = sql_fetch_row($result, $dbi)) {
$xheaders = "From: " . $sitename . " <" . $adminmail . ">\n";
$xheaders .= "X-Sender: <" . $adminmail . ">\n";
$xheaders .= "X-Mailer: PHP\n"; // mailer
$xheaders .= "X-Priority: 6\n"; // Urgent message!
if ($send_html_messages == "yes") {
$xheaders .= "Content-Type: text/html;
charset=iso-8859-1\n"; // Mime type
}
mail("$email","$subject","$content",$xheaders);
}
Header("Location: admin.php?op=massmail_sent");
}
The changes are in both functions the same: a flag, $send_html_messages, is checked and if set to "yes", the headers of the Newsletter mails (stored in the $xheaders variable) get an extra line
for the MIME type:
Content-Type: text/html; charset=iso-8859-1
See also HTML Newsletter , but be warned that the code presented in that link, may not escape double quotes, probabbly due to an
upgrade bug in the forums.