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:
21
• Yesterday:
80
• 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:
119,404 • Total:
2,492,691
Average Hits:
• Hourly: 9
• Daily:
209
• Monthly:
6,357
• Yearly:
76,285
Objective
goldrush_by_fog_200
The Axis are guarding a hoard of gold in the Tobruk Central Bank. The Allies must steal an Axis Jagdpanther to blow up the bank open, steal the gold bars and drive them to safety in a Truck. Rules of this map: When the tank r
Hits: 44
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 Canada 8 Ukraine 9 United Kingdom 10 Netherlands 11 Germany 12 Poland 13 Italy 14 Taiwan, Province of China 15 Seychelles 16 Romania 17 Indonesia 18 Sweden 19 Thailand 20 Brazil 21 Japan 22 South Africa 23 Lithuania 24 India 25 Spain 26 Luxembourg 27 Chile 28 Turkey 29 Moldova, Republic of 30 Korea, Republic of 31 Venezuela 32 Malaysia 33 unknown 34 Australia 35 Switzerland 36 Singapore 37 Colombia 38 Hong Kong 39 Mexico 40 Argentina 41 Belize 42 Greece 43 Honduras 44 Estonia 45 Czech Republic 46 Latvia 47 Bangladesh 48 Bulgaria 49 Pakistan 50 Albania View MS-Analysis
Mods: Community: Clans: League: Anticheat: Other:
August
There is a problem right now with this block.
Innen is be lehet jutni a Bankba
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.