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:
157
• Yesterday:
1,426
• 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:
253,457 • Total:
2,819,970
Average Hits:
• Hourly: 93
• Daily:
2,240
• Monthly:
68,147
• Yearly:
817,756
Objective
ET_depot
Dual Objective Time on ET Depot. Protect your base & dynamite your objective.
Hits: 9
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 Canada 9 Ukraine 10 United Kingdom 11 Germany 12 Netherlands 13 Taiwan, Province of China 14 Poland 15 Italy 16 Seychelles 17 Australia 18 Romania 19 Indonesia 20 India 21 Sweden 22 Thailand 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:
International Day of Democracy
There is a problem right now with this block.
A szerelvény igazítására alkalmas hely
How to get multipage News articles
It appears that while Reviews, Section, and Content areas allow multipage bodies, the general News article does not. Contrary to what one would think, if you want to add such functionality in the
News module, the code under modules/News/ is not the right place. The right place is the themearticle() in the theme.php file of your theme!
This is so, because it is the themearticle() function that outputs the article text, through a call to the FormatStory() function (which is also defined in theme.php):
FormatStory($thetext, $notes="", $aid, $informant);
Thus, all we have to do is format $thetext accordingly, before it is passed to FormatStory. Just add the following code to the begining of the themearticle() function in theme.php, like
this (see Multipage
articles , Pagebreaks in articles ):
function themearticle ($aid, $informant, $datetime, $title, $thetext,
$topic, $topicname, $topicimage, $topictext) {
global $admin, $sid, $tipath, $page;
$contentpages = explode( "<!--pagebreak-->", $thetext );
$pageno = count($contentpages);
if ( $page=="" || $page < 1 )
$page = 1;
if ( $page > $pageno )
$page = $pageno;
$arrayelement = (int)$page;
$arrayelement --;
if ($pageno > 1) {
$thetextNew .= "Page: $page/$pageno<br>";
}
$thetextNew .= "<p align=\"justify\">$contentpages[$arrayelement]</p>";
if($page >= $pageno) {
$next_page = "";
} else {
$next_pagenumber = $page + 1;
if ($page != 1) {
$next_page .= "- ";
}
$next_page .= "<a href=\"modules.php?name=News&file=article&sid=$sid
&page=$next_pagenumber\">"._NEXT." ($next_pagenumber/$pageno)</a>
<a href=\"modules.php?name=News&file=article&sid=$sid&page=$next_pagenumber\">
<img src=\"images/right.gif\"border=\"0\" alt=\""._NEXT."\"></a>";
}
if ($page == $pageno) {
$thetextNew .= "<br><p align=\"justify\">".nl2br($mypage[page_footer])."</p><br><br>";
}
if($page <= 1) {
$previous_page = "";
} else {
$previous_pagenumber = $page - 1;
$previous_page = "<a href=\"modules.php?name=News&file=article&sid=$sid
&page=$previous_pagenumber\">
<img src=\"images/left.gif\" border=\"0\" alt=\""._PREVIOUS."\"></a>
<a href=\"modules.php?name=News&file=article&sid=$sid
&page=$previous_pagenumber\">"._PREVIOUS." ($previous_pagenumber/$pageno)</a>";
}
$thetextNew .= "<br><br><br><center>$previous_page $next_page</center><br><br>";
$thetext = $thetextNew;
Now you can use <!--pagebreak--> in your News stories, and the code above will split the text at the <!--pagebreak--> and create the "previous" and "next" hyperlinks for you (don't
forget to define _NEXT and _PREVIOUS in your language file, as shown in Chapter 13 ).