-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
69 lines (64 loc) · 3.94 KB
/
index.php
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?php
$title='CatchChallenger - MMORPG with multiple gameplay';
$description='CatchChallenger project, Independent Old school Opensource MMORPG/Single player game';
$keywords='catchchallenger,catch challenger,catch challenger,pokemon,minecraft,crafting,MMORPG,Opensource,Single player,Indie,Independent,game';
$css_list=array('/css/index.min.css');
include 'template/top.php';
?>
<section id="banner">
<span class="droplowwidth">
<img src="/images/catchchallenger-line.png" width="551" height="81" alt="Catch Challenger logo" title="Catch Challenger logo" />
This game is a independent MMORPG or a single player game. You can fight, farming, crafting, trading, ...<br />
<b><?php echo (date('Y')-2011); ?> years</b> working and server up. The game is fully open source (GPL3). <a href="/rules.html">(Read more)</a>
</span>
<span class="showlowwidth">
<img src="/images/catchchallenger-2line.png" width="252" height="116" alt="Catch Challenger logo" title="Catch Challenger logo" />
This MMORPG is open source game with multiple gameplay, <b><?php echo (date('Y')-2011); ?> years</b> up. <a href="/rules.html">(Read more)</a>
</span>
</section>
<section id="link">
<table>
<tr>
<td class="droplowwidth"><img src="/images/free-to-play.png" width="267" height="104" alt="Free to play open source" title="Free to play open source" /></td>
<td class="droplowwidth"><a href="/rules.html" id="rules"><img src="/images/rules.png" width="267" height="104" alt="Rules of Catch challenger" title="Rules of Catch challenger" /></a></td>
<td id="download"><a href="/download.html"><img src="/images/d.png" width="266" height="116" alt="Download this open source MMORPG" title="Download this open source MMORPG" /><img src="/images/a.png" width="59" height="43" alt="" class="bounce" /></a></td>
</tr>
</table>
</section>
<section class="subsec">
<div class="header"><a href="/screenshot.html"><span class="fh">Screen</span>shot</a></div>
<center>
<div class="mscreenl">
<a href="/screenshot/catchchallenger-ingame.png" class="droplowwidth"><img src="/screenshot/catchchallenger-ingame-mini.jpg" class="screenshot" alt="ingame into the mmorpg client" title="ingame into the mmorpg client" width="200" height="150" /></a>
<a href="/screenshot/catchchallenger-battle.png"><img src="/screenshot/catchchallenger-battle-mini.png" class="screenshot" alt="battle" title="battle" width="200" height="150" /></a>
<a href="/screenshot/catchchallenger-crafting.png" class="droplowwidth"><img src="/screenshot/catchchallenger-crafting-mini.jpg" class="screenshot" alt="catchchallenger crafting" title="catchchallenger crafting" width="200" height="150" /></a>
<br style="clear:both;" />
</div>
</center>
</section>
<?php
if(1)
{
date_default_timezone_set('Europe/Paris');
$filecurs=@file_get_contents('http://catchchallenger.herman-brule.com/forum/feed.php?f=7');
if(preg_match('#^.*<content[^>]*>(.*)</content>.*$#isU',$filecurs))
{
echo ' <section class="subsec">
<div class="header"><a href="/forum/viewforum.php?f=7"><span class="fh">Ne</span>ws</a></div>
<div class="bodynews"><span class="text">';
$filecurs=preg_replace('#^.*<content[^>]*>(.*)</content>.*$#isU','$1',$filecurs);
$filecurs=preg_replace('#<p>Statistics:.*$#isU','',$filecurs);
$filecurs=preg_replace('#<hr />.*$#isU','',$filecurs);
$filecurs=str_replace('<![CDATA[','',$filecurs);
$filecurs=str_replace(']]>','',$filecurs);
if((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') || (isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] == 443))
$filecurs=str_replace('http://','https://',$filecurs);
echo htmlspecialchars_decode($filecurs);
echo '</span><br /><br /> </div>
</section>';
}
}
?>
<img src="/images/widget01-inside.png" alt="" width="0" height="0" />
<?php
include 'template/bottom.php';