forked from TheGamesDB/TheGamesDB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tab_playgames.php
111 lines (93 loc) · 6.22 KB
/
tab_playgames.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<div id="gameHead">
<h1 id="top">Play Free Games</h1>
<div style="text-align: center;">
<iframe seamless src="<?php echo $baseurl; ?>/gamesources/message.html" id="gameContainer" style="margin: auto; border: 0px;" onLoad="autoResize('gameContainer');"></iframe>
</div>
<!-- Clear Fix -->
<div style="clear: both;"></div>
<!-- Start Game Listing -->
<div class="fadeBox" style="width: 450px; padding: 10px; margin: 4px; display: inline-block;">
<img src="<?php echo $baseurl; ?>/images/playgames/game-infinite-mario-bros.png" style="height: 100px; margin-right: 10px; border-radius: 4px; border: 2px solid rgba(255, 255, 255, 0.6); float: left;" />
<p style="font-size: 1.4em; padding-top: 0px; margin-top: 0px; color: #FFA500;">Infinite Mario Bros</p>
<p>One of the best mario games online. The levels are random each time.</p>
<p style="font-style: italic;">Use the arrow keys to move, press 'S' to start the game and jump. Press 'A' to run and shoot.</p>
<p style="text-align: right;"><a href="#top" class="greyButton" onClick="loadIframe('<?php echo $baseurl; ?>/gamesources/infinitemariobros/game.html');">Play Game ►</a></p>
<div style="clear: both;"></div>
</div>
<!-- End Game Listing -->
<!-- Start Game Listing -->
<div class="fadeBox" style="width: 450px; padding: 10px; margin: 4px; display: inline-block;">
<img src="<?php echo $baseurl; ?>/images/playgames/game-duck-hunt.jpg" style="height: 100px; margin-right: 10px; border-radius: 4px; border: 2px solid rgba(255, 255, 255, 0.6); float: left;" />
<p style="font-size: 1.4em; padding-top: 0px; margin-top: 0px; color: #FFA500;">Duck Hunt</p>
<p>Ducks appear one or two at a time, and you are given three shots to shoot them down.</p>
<p style="font-style: italic;">Use the mouse to take aim and click to shoot.</p>
<p style="text-align: right;"><a href="#top" class="greyButton" onClick="loadIframe('<?php echo $baseurl; ?>/gamesources/duckhunt/game.html');">Play Game ►</a></p>
<div style="clear: both;"></div>
</div>
<!-- End Game Listing -->
<!-- Start Game Listing -->
<div class="fadeBox" style="width: 450px; padding: 10px; margin: 4px; display: inline-block;">
<img src="<?php echo $baseurl; ?>/images/playgames/game-onslaught-arena.png" style="height: 100px; margin-right: 10px; border-radius: 4px; border: 2px solid rgba(255, 255, 255, 0.6); float: left;" />
<p style="font-size: 1.4em; padding-top: 0px; margin-top: 0px; color: #FFA500;">Onslaught Arena</p>
<p>Fight off hordes of classic medieval monsters in this fast paced arcade shooter!</p>
<p style="font-style: italic;">Use the 'w, a, s, d' keys to move. Use the mouse to aim, click to shoot.</p>
<p style="text-align: right;"><a href="#top" class="greyButton" onClick="loadIframe('<?php echo $baseurl; ?>/gamesources/onslaughtarena/game.html');">Play Game ►</a></p>
<div style="clear: both;"></div>
</div>
<!-- End Game Listing -->
<!-- Start Game Listing -->
<div class="fadeBox" style="width: 450px; padding: 10px; margin: 4px; display: inline-block;">
<img src="<?php echo $baseurl; ?>/images/playgames/game-starship-sorades.jpg" style="height: 100px; margin-right: 10px; border-radius: 4px; border: 2px solid rgba(255, 255, 255, 0.6); float: left;" />
<p style="font-size: 1.4em; padding-top: 0px; margin-top: 0px; color: #FFA500;">Starship SORADES 13K</p>
<p>A scrolling shooter in the vein of "Raptor: Call of the Shadows" and "Warning Forever".</p>
<p style="font-style: italic;">Use the arrow or 'w, a, s, d' keys to move. Use 'X' to shoot.</p>
<p style="text-align: right;"><a href="#top" class="greyButton" onClick="loadIframe('<?php echo $baseurl; ?>/gamesources/starshipsorades/game.html');">Play Game ►</a></p>
<div style="clear: both;"></div>
</div>
<!-- End Game Listing -->
<!-- Start Game Listing -->
<div class="fadeBox" style="width: 450px; padding: 10px; margin: 4px; display: inline-block;">
<img src="<?php echo $baseurl; ?>/images/playgames/game-coil.jpg" style="height: 100px; margin-right: 10px; border-radius: 4px; border: 2px solid rgba(255, 255, 255, 0.6); float: left;" />
<p style="font-size: 1.4em; padding-top: 0px; margin-top: 0px; color: #FFA500;">Coil</p>
<p>Coil is an addictive game where you enclose your enemies in your trail.</p>
<p style="font-style: italic;">Use your mouse to enclose the blue orbs before they explode.</p>
<p style="text-align: right;"><a href="#top" class="greyButton" onClick="loadIframe('<?php echo $baseurl; ?>/gamesources/coil/game.html');">Play Game ►</a></p>
<div style="clear: both;"></div>
</div>
<!-- End Game Listing -->
<!-- Start Game Listing -->
<div class="fadeBox" style="width: 450px; padding: 10px; margin: 4px; display: inline-block;">
<img src="<?php echo $baseurl; ?>/images/playgames/game-digger.png" style="height: 100px; margin-right: 10px; border-radius: 4px; border: 2px solid rgba(255, 255, 255, 0.6); float: left;" />
<p style="font-size: 1.4em; padding-top: 0px; margin-top: 0px; color: #FFA500;">Digger</p>
<p>A retro game inspired by classic titles such as Baulderdash and Digger T Rock.</p>
<p style="font-style: italic;">Use the arrow keys to dig through the map, watch out for falling rocks.</p>
<p style="text-align: right;"><a href="#top" class="greyButton" onClick="loadIframe('<?php echo $baseurl; ?>/gamesources/digger/game.html');">Play Game ►</a></p>
<div style="clear: both;"></div>
</div>
<!-- End Game Listing -->
<hr class="boxShadow" style="border-collapse: collapse; border: 0; height: 1px; background-color: #333333; padding: 0px; margin: 0px;" />
</div>
<script language="JavaScript">
<!--
function autoResize(id){
var newheight;
var newwidth;
if(document.getElementById){
newheight=document.getElementById(id).contentWindow.document .body.scrollHeight;
newwidth=document.getElementById(id).contentWindow.document .body.scrollWidth;
}
document.getElementById(id).height= (newheight) + "px";
document.getElementById(id).width= (newwidth) + "px";
var iframe = $("#gameContainer")[0];
iframe.contentWindow.focus();
}
function loadIframe(url) {
var $iframe = $('#gameContainer');
if ( $iframe.length ) {
$iframe.attr('src',url);
return false;
}
return true;
}
//-->
</script>