Initial 2005 state

This commit is contained in:
dave 2017-10-22 18:15:11 -07:00
commit bb1051e490
189 changed files with 3432 additions and 0 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

View File

@ -0,0 +1,6 @@
-----STEALTHTEMPLATES.COM-----
Thank you for downloading our Template. To get more updates on this template please visit www.stealthtemplates.com
We also offer custom made templates so be sure to visit our site!
-----STEALTHTEMPLATES.COM-----

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 414 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 648 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 369 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 411 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 422 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 426 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1001 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 450 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 427 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 441 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 367 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 397 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 397 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 402 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 515 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 B

256
TEMP/4315 copy/index.html Normal file
View File

@ -0,0 +1,256 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Template5 - created by StealthTemplates.com</title>
<meta name="#">
<meta name="Keywords" content="#">
<meta name="Copyright" content="StealthTemplates.com">
<meta name="Language" content="English">
<meta name="Author" content="Michael Davis">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body background="images/bg_1.jpg" marginleft="0" marginright="0" leftmargin="0" rightmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<br></br>
<table align="center" width="740" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/spacer.gif" width="298" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="35" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="14" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="34" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="8" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="56" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="6" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="36" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="7" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="41" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="205" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="1" border="0" alt=""></td>
</tr>
<tr>
<td colspan="11"><img name="images/topimage_r1_c1" src="images/topimage_r1_c1.gif" width="740" height="83" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="83" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="3"><img name="images/topimage_r2_c1" src="images/topimage_r2_c1.gif" width="298" height="17" border="0" alt=""></td>
<td rowspan="2"><a href="index.html" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('images/topimage_r2_c2','','images/topimage_r2_c2_f2.gif',1);"><img name="images/topimage_r2_c2" src="images/topimage_r2_c2.gif" width="35" height="14" border="0" alt="Home"></a></td>
<td rowspan="3"><img name="images/topimage_r2_c3" src="images/topimage_r2_c3.gif" width="14" height="17" border="0" alt=""></td>
<td><a href="about.html"><img name="images/topimage_r2_c4" src="images/topimage_r2_c4.gif" width="34" height="13" border="0" alt="About"></a></td>
<td rowspan="3"><img name="images/topimage_r2_c5" src="images/topimage_r2_c5.gif" width="8" height="17" border="0" alt=""></td>
<td><a href="templates.html"><img name="images/topimage_r2_c6" src="images/topimage_r2_c6.gif" width="56" height="13" border="0" alt="Templates"></a></td>
<td rowspan="3"><img name="images/topimage_r2_c7" src="images/topimage_r2_c7.gif" width="6" height="17" border="0" alt=""></td>
<td><a href="flash.html"><img name="images/topimage_r2_c8" src="images/topimage_r2_c8.gif" width="36" height="13" border="0" alt="Flash"></a></td>
<td rowspan="3"><img name="images/topimage_r2_c9" src="images/topimage_r2_c9.gif" width="7" height="17" border="0" alt=""></td>
<td><a href="contact.html"><img name="images/topimage_r2_c10" src="images/topimage_r2_c10.gif" width="41" height="13" border="0" alt="Contact"></a></td>
<td rowspan="3"><img name="images/topimage_r2_c11" src="images/topimage_r2_c11.gif" width="205" height="17" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="13" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="2"><img name="images/topimage_r3_c4" src="images/topimage_r3_c4.gif" width="34" height="4" border="0" alt=""></td>
<td rowspan="2"><img name="images/topimage_r3_c6" src="images/topimage_r3_c6.gif" width="56" height="4" border="0" alt=""></td>
<td rowspan="2"><img name="images/topimage_r3_c8" src="images/topimage_r3_c8.gif" width="36" height="4" border="0" alt=""></td>
<td rowspan="2"><img name="images/topimage_r3_c10" src="images/topimage_r3_c10.gif" width="41" height="4" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="1" border="0" alt=""></td>
</tr>
<tr>
<td><img name="images/topimage_r4_c2" src="images/topimage_r4_c2.gif" width="35" height="3" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="3" border="0" alt=""></td>
</tr>
</table>
<table align="center" height=30 width="740" cellspacing="0" cellpadding="0" class="table1">
<tr>
<td align="center" bgcolor="#424E5B"></td>
</tr>
</table>
<table align="center" height=100 width="740" cellspacing="0" border="0" cellpadding="0" class="table2">
<tr>
<td valign=center width="241" background="images/sidediv.jpg"><center>
<img src="images/home_icon.jpg"><a href="index.html" class="menulink" alt="Home"> Home</a>
<img src="images/about_icon.jpg"><a href="about.html" class="menulink" alt="about"> About</a>
<img src="images/email_icon.jpg"><a href="contact.html" class="menulink" alt="contact"> Contact</a>
<br>
<img src="images/guestbook_icon.jpg"><a href="#" class="menulink" alt="guestbook">Guestbook</a>
<td align="right" width="499" background="images/right_side.jpg">
</td>
</tr>
</table>
<table align="center" height=360 width="740" cellspacing="0" border="0" cellpadding="0" class="table3">
<tr>
<td align="left" width="239" bgcolor="#B3B3B3">
<table align="center" height=150 width="200" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">
<div class="style5" align="left"><img src="images/arrow_icon.jpg">News & Events</div>
<div align="right" class="style1">dd/mm/yyyy</div>
<div align="left" class="style2"><img src="images/smallarrow_icon.jpg">Heading Here</div>
<br>
<div align="left" class="style3">
text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here
<br>
<hr width="180"></hr>
</tr>
</table>
<table align="center" height=170 width="200" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">
<hr width="180"></hr>
<div class="style5" align="left"><img src="images/arrow_icon.jpg">News & Events</div>
<div align="right" class="style1">dd/mm/yyyy5</div>
<div align="left" class="style2"><img src="images/smallarrow_icon.jpg">Heading Here</div>
<br>
<div align="left" class="style3">
text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here
<br>
<hr width="180"></hr>
</tr>
</table>
<td align="center" width="1" bgcolor="#000000">
<td align="center" width="499" bgcolor="#5A6674">
<table align="center" height=300 width="435" cellspacing="0" cellpadding="15" class="table2">
<tr>
<td valign="top"><div class="style4"><b>Welcome</b></div>
<br>
<div class="style7">Welcome to Company Name - provided by StealthTemplates.com</div>
<br>
<div class="style1">
text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here
<br>
<br>
text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here
<br>
<br>
text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text
<br>
<br>
Affiliates:
<br>
<a href="http://www.stealthtemplates.com" class="menulink" target="_blank">WWW.STEALTHTEMPLATES.COM</A>
<br>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table align="center" height=140 width="740" cellspacing="0" border="0" cellpadding="0" class="table3">
<tr>
<td valign=center width="239" bgcolor="#7D7D7D">
<table align="center" height=100 width="200" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">
<div class="style1" align="left"><img src="images/arrow_icon2.jpg"> E-mail Subscription</div>
<br>
<div align="left" class="style2">Enter your e-mail below to subscribe</div>
<br>
<div align="left" class="style3">
<form width:5em name="input" action="email.cgi" method="get">
E-mail:
<input type="text" size="10" name="user">
<input type="submit" class="submit" value="Submit">
</form>
</tr>
</table>
<td valign=center width="1" bgcolor="#000000">
<td valign="top" width="498" bgcolor="#5A6674">
<table align="center" height=25 width="498" cellspacing="0" cellpadding="0">
<tr>
<td align="left" bgcolor="#B3B3B3" class="style2">Latest Templates
</tr>
<tr>
<td align="center" height="1" bgcolor="#000000">
</table>
<br>
<table align="center" height=85 width="435" cellspacing="0" cellpadding="10" border="0" class="table2">
<tr>
<td valign="top">
<div class="style1">
text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here text here
</tr>
</table>
</td>
</tr>
</table>
<table align="center" height=30 width="740" cellspacing="0" cellpadding="0" class="table4">
<tr>
<td align="center" bgcolor="#424E5B"><div align="center" class="style1">StealthTemplates 2006<br>Created by Michael Davis. www.stealthtemplates.com
</td>
</tr>
</table>
</body>
</html>

103
TEMP/4315 copy/style.css Normal file
View File

@ -0,0 +1,103 @@
.style1 {
color: #ffffff;
font-size: 11px;
font-family: arial, helvetica, sans-serif;
padding-left:10px;
}
.style2 {
color: #424E5B;
font-size: 11px;
font-family: arial, helvetica, sans-serif;
padding-left:10px;
}
.style3 {
color: #424E5B;
font-size: 11px;
font-family: arial, helvetica, sans-serif;
padding-left:10px;
}
.style4 {
color: #aaaaaa;
font-size: 15px;
font-family: arial, helvetica, sans-serif;
padding-left:10px;
}
.style5 {
color: #ffffff;
font-size: 11px;
table-size: 0px;
font-family: arial, helvetica, sans-serif;
padding-left:10px;
}
.style6 {
color: #6A6D75;
font-size: 0px;
font-family: arial, helvetica, sans-serif;
padding-left:0px;
}
.style7 {
color: #aaaaaa;
font-size: 11px;
font-family: arial, helvetica, sans-serif;
padding-left:10px;
}
.menuLink2 {
color: #424E5B;
font-size: 11px;
font-family: arial, helvetica, sans-serif;
text-decoration:none;
}
a.menuLink2:hover {
color: #FFFFFF;
font-size: 11px;
font-family: arial, helvetica, sans-serif;
text-decoration:underline;
}
.menuLink {
color: #9DA4BF;
font-size: 11px;
font-family: arial, helvetica, sans-serif;
text-decoration:none;
}
a.menuLink:hover {
color: #FFFFFF;
font-size: 11px;
font-family: arial, helvetica, sans-serif;
text-decoration:underline;
}
.table1
{
border-right: 1px solid #000000;
border-left: 1px solid #000000;
border-top: 1px solid #000000;
border-bottom: 0px solid #000000;
}
.table2
{
border-right: 1px solid #000000;
border-left: 1px solid #000000;
border-top: 1px solid #000000;
border-bottom: 1px solid #000000;
}
.table3
{
border-right: 1px solid #000000;
border-left: 1px solid #000000;
border-top: 0px solid #000000;
border-bottom: 1px solid #000000;
}
.table4
{
border-right: 1px solid #000000;
border-left: 1px solid #000000;
border-top: 0px solid #000000;
border-bottom: 1px solid #000000;
}
.submit {
border: 1px solid #565861;
height: 20;
width: 50;
font-family: Arial;
font-size: 11px;
color: #666666;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

View File

@ -0,0 +1,6 @@
-----STEALTHTEMPLATES.COM-----
Thank you for downloading our Template. To get more updates on this template please visit www.stealthtemplates.com
We also offer custom made templates so be sure to visit our site!
-----STEALTHTEMPLATES.COM-----

BIN
TEMP/4315/images/Thumbs.db Normal file

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 414 B

BIN
TEMP/4315/images/bg_1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 648 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 369 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 411 B

BIN
TEMP/4315/images/home.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 422 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 426 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1001 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 450 B

BIN
TEMP/4315/images/spacer.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 427 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 441 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 367 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 397 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 397 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 402 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 515 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 635 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 538 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 544 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 691 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

308
TEMP/pcgamester2/index.html Normal file
View File

@ -0,0 +1,308 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>--PcGamester 2 - The best place for cheats, downloads and more!--</title>
<meta name="Descripion" content="Game downloads, cheats and more!">
<meta name="Keywords" content="games, flash, online, free, multiplayer, game, gaming, online games, free games, flash games, fun, fun games, web games, action games, adventure games, multiplayer games, board games, shooting games, sim games, racing games, racing, shooting, adventure, board, fighting, fighting games, multiplayer, action, gamersnet.co.nr, gamersnet, gamers, net, co, nr">
<meta name="Copyright" content="StealthTemplates">
<meta name="Language" content="English">
<meta name="Author" content="Michael Davis">
<body bgcolor="#2f2f2f" marginleft="0" marginright="0" leftmargin="0" rightmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<link rel="stylesheet" href="style.css" type="text/css">
<br>
<table align="center" height="15" width="700" cellspacing="0" cellpadding="0" class="table1">
<tr>
<td bgcolor="#666666" height="15"><img src="images/img_2.jpg" height="15" width="700"></td>
</tr>
</table>
<table align="center" height="120" width="700" cellspacing="0" cellpadding="0" class="table2">
<tr>
<td background="images/img_main.jpg">
</tr>
</table>
<table align="center" height="15" width="700" cellspacing="0" cellpadding="0" class="table2">
<tr>
<td bgcolor="#666666" height="15"><img src="images/img_2.jpg" height="15" width="700"></td>
</tr>
</table>
<table align="center" height="640" width="700" cellspacing="0" cellpadding="0" class="table2">
<tr>
<td background="images/img_4.png" valign="top" width="170">
<table align="center" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td height="20" background="images/img_5.jpg" class="style1" align="center">- Menu -
</tr>
<tr>
<td bgcolor="#000000" height="1">
</tr>
<tr>
<td height="20" align="center"><a href="#" class="menulink">Home</a>
</tr>
<tr>
<td bgcolor="#000000" height="1">
</tr>
<tr>
<td height="20" align="center"><a href="#" class="menulink">About</a>
</tr>
<tr>
<td bgcolor="#000000" height="1">
</tr>
<tr>
<td height="20" align="center"><a href="#" class="menulink">New Games</a>
</tr>
<tr>
<td bgcolor="#000000" height="1">
</tr>
<tr>
<td height="20" align="center"><a href="#" class="menulink">Cheats</a>
</tr>
<tr>
<td bgcolor="#000000" height="1">
</tr>
<tr>
<td height="20" align="center"><a href="#" class="menulink">Reviews</a>
</tr>
<tr>
<td bgcolor="#000000" height="1">
</tr>
<tr>
<td height="20" align="center"><a href="#" class="menulink">Related</a>
</tr>
<tr>
<td bgcolor="#000000" height="1">
</tr>
<tr>
<td height="20" align="center"><a href="#" class="menulink">Other</a>
</tr>
<tr>
<td bgcolor="#000000" height="1">
</tr>
<tr>
<td height="20" align="center"><a href="#" class="menulink">Contact</a>
</tr>
<tr>
<td bgcolor="#000000" height="1">
</tr>
<tr>
<td height="20" background="images/img_5.jpg" class="style1" align="center">- Games -
</tr>
<tr>
<td bgcolor="#000000" height="1">
</tr>
<tr>
<td height="20" align="center"><a href="#" class="menulink">Top Rated Games</a>
</tr>
<tr>
<td bgcolor="#000000" height="1">
</tr>
<tr>
<td height="20" align="center"><a href="#" class="menulink">Top 50 Games</a>
</tr>
<tr>
<td bgcolor="#000000" height="1">
</tr>
<tr>
<td height="20" align="center"><a href="#" class="menulink">Most Popular Games</a>
</tr>
<tr>
<td bgcolor="#000000" height="1">
</tr>
<tr>
<td height="20" align="center"><a href="#" class="menulink">Game Review</a>
</tr>
<tr>
<td bgcolor="#000000" height="1">
</tr>
<tr>
<td height="20" align="center"><a href="#" class="menulink">Action Games</a>
</tr>
<tr>
<td bgcolor="#000000" height="1">
</tr>
<tr>
<td height="20" align="center"><a href="#" class="menulink">Stratergy Games</a>
</tr>
<tr>
<td bgcolor="#000000" height="1">
</tr>
<tr>
<td height="20" align="center"><a href="#" class="menulink">Simulation Games</a>
</tr>
<tr>
<td bgcolor="#000000" height="1">
</tr>
<tr>
<td height="20" align="center"><a href="#" class="menulink">Racing Games</a>
</tr>
<tr>
<td bgcolor="#000000" height="1">
</tr>
<tr>
<td height="20" align="center"><a href="#" class="menulink">Shooting Games</a>
</tr>
<tr>
<td bgcolor="#000000" height="1">
</tr>
<tr>
<td height="20" align="center"><a href="#" class="menulink">Adventure Games</a>
</tr>
<tr>
<td bgcolor="#000000" height="1">
</tr>
<tr>
<td height="20" align="center"><a href="#" class="menulink">Fighting Games</a>
</tr>
<tr>
<td bgcolor="#000000" height="1">
</tr>
<tr>
<td height="20" align="center"><a href="#" class="menulink">Board Games</a>
</tr>
<tr>
<td bgcolor="#000000" height="1">
</tr>
<tr>
<td height="20" background="images/img_5.jpg" class="style1" align="center">- Our Affiliates -
</tr>
<tr>
<td bgcolor="#000000" height="1">
</tr>
<tr>
<td height="20" align="center"><a href="http://www.templatedesign.co.nr" class="menulink">Template Design</a>
</tr>
<tr>
<td bgcolor="#000000" height="1">
</tr>
<tr>
<td height="20" align="center"><a href="http://www.thegamesphere.com" class="menulink">TheGameSphere</a>
</tr>
<tr>
<td bgcolor="#000000" height="1">
</tr>
<tr>
<td height="20" background="images/img_5.jpg" class="style1" align="center">- Latest News -
</tr>
<tr>
<td bgcolor="#000000" height="1">
</tr>
<tr>
<td height="20" class="style3">Our website has just launched on the web! We will be updating it daily as soon as we finish with our new design.
</tr>
</table>
<td bgcolor="#000000" width="1">
<td bgcolor="#666666" valign="top">
<table align="center" height="189" width="100%" cellspacing="0" cellpadding="10" border="0" class="table3">
<tr>
<td bgcolor="#666666">
<table align="center" height="150" width="455" cellspacing="0" cellpadding="10" border="0" class="table1">
<tr>
<td bgcolor="#777777" class="style2">
<img src="images/img_6.jpg" align="left">
<img src="images/img_7.jpg" align="right">
<img src="images/img_8.jpg" align="center">
</tr>
</table>
</tr>
</table>
<br>
<table align="center" height="410" width="480" cellspacing="0" cellpadding="10" border="0" class="table1">
<tr>
<td bgcolor="#666666" valign="top">
<table align="center" height="385" width="255" cellspacing="0" cellpadding="10" border="0" class="table1">
<tr>
<td bgcolor="#777777" height="270" valign="top"><div class="style1">Featured Game - Pacific Fighters</div>
<img src="images/img_9.jpg" align="center">
<div class="style4">Pacific Fighters features an action packed flight simulation based in world war II aircrafts. You can choose of
over 40 flyable aircraft models and many missions. <a href="#" class="menulink">Read More.</a>
</tr>
<tr>
<td bgcolor="#777777" valign="top">
<div class="style1">News And Announcments</div>
<div class="style4">PcGamester 2 just launched on the web! Designed by http://www.stealthtemplates.com We hope you like our
new template and be sure to visit StealthTemplates</div>
</tr>
</table>
<td bgcolor="#666666" valign="top">
<table align="center" height="385" width="185" cellspacing="0" cellpadding="10" border="0" class="table1">
<tr>
<td bgcolor="#777777" valign="top"><div class="style1">Top 10 Games:</div>
<div class="style4">
1. World of Warcraft
<br>
2. The chronicles of Riddick
<br>
3. Guild Wars
<br>
4. Sid Meier's Pirates
<br>
5. Half-Life 2
<br>
6. Grand Theft Auto - San Andreas
<br>
7. Falcon 4.0: Allied Force
<br>
8. Silent Hunter III
<br>
9. GTR FIA Racing
<br>
10. Star Wars Republic Commando
</div>
<div class="style1">Featured Playable Demo
<br>
</div>
<div class="style4">
Piolet Down - Behind Enemy
</div>
<img src="images/img_10.jpg">
<div class="style4">
In this action adventure game pilot down features 3 playable levels and many other extras to play. Click the games section to download it
</div>
</tr>
</table>
</tr>
</table>
</tr>
</table
</tr>
</table>
<table align="center" height="15" width="700" cellspacing="0" cellpadding="0" class="table2">
<tr>
<td background="images/img_2.jpg" align="center"><div class="style2">
Copyright 2005 Your Company Name. All rights reserved. <a href="#" class="style2">Contact</a> Created by Michael Davis
<a href="http://www.stealthtemplates.com" class="style2"> http://www.stealthtemplates.com</a>
</div>
</tr>
</table>
<table align="center" height="15" width="700" cellspacing="0" cellpadding="0">
<tr>
<td align="right" class="style2">Created by Stealthtemplates.com
</tr>
</table>
<body>
</head>
</html>

View File

@ -0,0 +1,57 @@
.style1 {
color: #ffffff;
font-size: 11px;
font-family: arial, helvetica, sans-serif;
}
.style2 {
color: #000000;
font-size: 11px;
font-family: arial, helvetica, sans-serif;
}
.style3 {
color: #000000;
font-size: 11px;
font-family: arial, helvetica, sans-serif;
padding-left: 20px;
padding-right: 20px;
padding-top: 10px;
}
.style4 {
color: #9DA4BF;
font-size: 11px;
font-family: arial, helvetica, sans-serif;
}
.menuLink {
color: #9DA4BF;
font-size: 11px;
font-family: arial, helvetica, sans-serif;
text-decoration:none;
}
a.menuLink:hover {
color: #aaaaaa;
font-size: 11px;
font-family: arial, helvetica, sans-serif;
text-decoration:underline;
}
.table1
{
border-right: 1px solid #000000;
border-left: 1px solid #000000;
border-top: 1px solid #000000;
border-bottom: 1px solid #000000;
}
.table2
{
border-right: 1px solid #000000;
border-left: 1px solid #000000;
border-top: 0px solid #000000;
border-bottom: 1px solid #000000;
}
.table3
{
border-right: 0px solid #000000;
border-left: 0px solid #000000;
border-top: 0px solid #000000;
border-bottom: 1px solid #000000;
}

252
actions.php Normal file
View File

@ -0,0 +1,252 @@
<?php
include("gui.php");
include("config.php");
include("walkable.php");
include("battlezones.php");
$update=false;
$credsYo=$_COOKIE['mrpg-ethbnd'];
$credsYo=explode("@seperator@", $credsYo);
$u=strtolower($credsYo[0]);
$p=strtolower($credsYo[1]);
if($u=="")
{
header("Location: index.php?login");
}
$result = mysql_query("SELECT * FROM mrpg_users WHERE name='$u'");
while($row = mysql_fetch_array($result))
{
if($row['password']!=$p)
{
header("Location: index.php");
exit;
}
}
$sql="UPDATE mrpg_users SET lastact='" . date("U") . "' WHERE name='$u'";
$result = mysql_query($sql);
$sql="SELECT * FROM mrpg_users WHERE name='$u'";
$result = mysql_query($sql);
while($row = mysql_fetch_array($result))
{
$char['id']=$row['id'];
$char['x']=$row['x'];
$char['y']=$row['y'];
$char['mode']=$row['mode'];
}
if($char['mode']=="battle") {
if($_SERVER['QUERY_STRING']=="stats") {
header("Location: stat.php?x=" . $u . "&y=" . md5($p));
exit;
}
header("Location: battle.php");
exit;
} else if($char['mode']=="lvlup") {
header("Location: lvlup.php");
exit;
} else if($char['mode']=="confirm") {
header("Location: confirm.php");
exit;
} else if($char['mode']=="message") {
header("Location: message.php");
exit;
}
if($_SERVER['QUERY_STRING']!="") {
$update=true;
switch($_SERVER['QUERY_STRING']) {
case "up":
$char['x']=$char['x'];
$char['y']=$char['y']-1;
$sql="UPDATE mrpg_users SET dir='1' WHERE name='$u'";
$result = mysql_query($sql);
break;
case "down":
$char['x']=$char['x'];
$char['y']=$char['y']+1;
$sql="UPDATE mrpg_users SET dir='4' WHERE name='$u'";
$result = mysql_query($sql);
break;
case "right":
$char['x']=$char['x']+1;
$char['y']=$char['y'];
$sql="UPDATE mrpg_users SET dir='3' WHERE name='$u'";
$result = mysql_query($sql);
break;
case "left":
$char['x']=$char['x']-1;
$char['y']=$char['y'];
$sql="UPDATE mrpg_users SET dir='2' WHERE name='$u'";
$result = mysql_query($sql);
break;
case "stats":
header("Location: stat.php?x=" . $u . "&y=" . md5($p));
exit;
break;
}
}
if($_GET['que']!="") {
$update=true;
$que=$_GET['que'];
$que=explode(",", $que);
if($que[10]!="") {
fallback();
}
foreach($que as $value) {
walkByNumArray($value);
if(!(walkable($char['x'], $char['y']))) {
fallback();
}
}
}
/* TELES */
if($char['x']==19 && $char['y']==7) { $char['x']=10; $char['y']=60;
//Lol heal
mysql_query("UPDATE mrpg_stat SET hp=maxhp WHERE id=" . $char['id'] . ";");
} //Tele into tut area
else if($char['x']==11 && $char['y']==59) { $char['x']=19; $char['y']=8; } //Tele out of tut area, to noobland
else if($char['x']==56 && $char['y']==10) { $char['x']=6; $char['y']=58; mysql_query("UPDATE mrpg_stat SET hp=maxhp WHERE id=" . $char['id'] . ";"); } //Out of canyon. + heal.
/* Misc stuff, like confirmations & messages */
if($char['x']==6 && $char['y']==56) {
$char['x']=6;
$char['y']=57;
mysql_query("UPDATE mrpg_users SET mode='confirm' WHERE id=" . $char['id'] . ";");
mysql_query("UPDATE mrpg_confirm SET q='The area you are about to enter is very dangerous for low-levels, and also leads to the first City. Level 10+ Reccommended. Once you exit it, you will never be able to return here. Do you want to continue?', yesx=56, yesy=11, nox=6, noy=57 WHERE id=" . $char['id'] . ";");
header("Location: confirm.php");
exit;
} else if($char['x']==97 && $char['y']==13) {
mysql_query("UPDATE mrpg_users SET mode='message' WHERE id=" . $char['id'] . ";");
mysql_query("UPDATE mrpg_message SET q='<h4>Chapter I:<br><br>Coming soon! :)<h4>', x=96, y=13 WHERE id=" . $char['id'] . ";");
header("Location: message.php");
exit;
}
if($update==true && walkable($char['x'], $char['y'])) {
$tx=$char['x'];
$ty=$char['y'];
$sql="UPDATE mrpg_users SET x='$tx', y='$ty' WHERE name='$u'";
$result = mysql_query($sql);
///////////BATTLE CHECK////////////
$bzone=checkbzone($tx, $ty, 0);
$battle=$bzone[rand(0,(count($bzone)-1))];
if($battle!=0) {
$sql="UPDATE mrpg_users SET mode='battle' WHERE name='$u'";
$result = mysql_query($sql);
$result = mysql_query("SELECT * FROM mrpg_monsters WHERE id='$battle'");
while($row = mysql_fetch_array($result))
{
$battlehp=$row['hp'];
}
$sql="UPDATE `mrpg_battles` SET `use` = '1', `enemy` = '$battle', `enemyhp` = '$battlehp' WHERE `id` =" . $char['id'] . ";";
$result = mysql_query($sql);
//echo "<font color='white'>BATTLE! <br> $sql";
header("Location: battle.php?appear=yes");
exit;
}
//////////END BATTLE CHECK//////////
fallback();
}
function walkByNumArray($num) {
global $char;
if($num==1) {
$char['x']=$char['x'];
$char['y'] =$char['y']-1;
} else if($num==2) {
$char['x']=$char['x']-1;
$char['y'] =$char['y'];
} else if($num==3) {
$char['x']=$char['x']+1;
$char['y'] =$char['y'];
} else if($num==4) {
$char['x']=$char['x'];
$char['y'] =$char['y']+1;
}
}
function fallback() {
global $u, $p;
header('Location: showim.php?x=' . $u . '&y=' . md5($p));
exit;
}
fallback();
?>

203
battle.php Normal file
View File

@ -0,0 +1,203 @@
<?php
include("config.php");
include("includes/battleimfuncts.php");
include("includes/experience.php");
$test=level(1,1);
$credsYo=$_COOKIE['mrpg-ethbnd'];
$credsYo=explode("@seperator@", $credsYo);
$havegone=false;
$dead=false;
$messages=array();
$u=strtolower($credsYo[0]);
$p=strtolower($credsYo[1]);
if($u=="")
{
header("Location: index.php?login");
}
$result = mysql_query("SELECT * FROM mrpg_users WHERE name='$u'");
while($row = mysql_fetch_array($result))
{
if($row['password']!=$p)
{
header("Location: index.php");
exit;
}
}
$sql="UPDATE mrpg_users SET lastact='" . date("U") . "' WHERE name='$u'";
$result = mysql_query($sql);
$sql="SELECT * FROM mrpg_users WHERE name='$u'";
$result = mysql_query($sql);
while($row = mysql_fetch_array($result))
{
$char['id']=$row['id'];
$char['exp']=$row['level'];
}
$sql="SELECT * FROM mrpg_battles WHERE id='" . $char['id'] . "'";
$result = mysql_query($sql);
while($row = mysql_fetch_array($result))
{
if($row['use']==0) {
header("Location: actions.php");
exit;
}
$enemy=$row['enemy'];
$enemyhp=$row['enemyhp'];
}
$sql="SELECT * FROM mrpg_monsters WHERE id='$enemy'";
$result = mysql_query($sql);
$monsterstats = mysql_fetch_array($result);
$sql="SELECT * FROM mrpg_stat WHERE id='" . $char['id'] . "'";
$result = mysql_query($sql);
$pstats = mysql_fetch_array($result);
if($_GET['appear']==yes) {
$messages[]=ucfirst($monsterstats['name']) . " appears!";
}
if($_GET['act']==run) {
$run=rand(1,4);
if($run==4) {
$messages[]="You attempt to escape!";
$messages[]="Success!";
$havegone=false;
$sql="UPDATE mrpg_battles SET `use`=0, `enemy`=0, `enemyhp`=0 WHERE `id`=" . $char['id'] . ";";
mysql_query($sql);
mysql_query("UPDATE mrpg_users SET mode='norm' WHERE id=" . $char['id'] . ";");
} else {
$havegone=true;
$messages[]="You attempt to escape!";
$messages[]="Failure...";
}
} else if($_GET['act']==attack) {
$messages[]="You attack the " . ucfirst($monsterstats['name']) . "!";
$havegone=true;
//(Strength + Force / 2) + (offense + fight / 2)
$hit1=($pstats['strength'] + $pstats['force']) / 2;
$hit2=($pstats['offsnse'] + $pstats['fight']) / 2;
$hit=(2/3)*(($hit1+$hit2)/2);
$hit=rand(0,round($hit+4.9999));
$messages[]="And you deal $hit damage!";
$enemyhp=$enemyhp-$hit;
}
//We've attacked and done all other things
//that could harm the enemy, lets save him
//and let him kick some ass!
mysql_query("UPDATE mrpg_battles SET enemyhp=$enemyhp WHERE id=" . $char['id'] . ";");
if($enemyhp<=0) {
$messages[]=$monsterstats['diemsg'];
$sql="UPDATE mrpg_battles SET `use`=0, `enemy`=0, `enemyhp`=0 WHERE `id`=" . $char['id'] . ";";
mysql_query($sql);
$expgiven=$monsterstats['expgive'];
$messages[]="You gain $expgiven experience.";
if( level(2, $char['exp']) != level(2, $char['exp']+$expgiven) ) {
mysql_query("UPDATE mrpg_users SET mode='lvlup', level=level+$expgiven WHERE id=" . $char['id'] . ";");
}
else
{
mysql_query("UPDATE mrpg_users SET mode='norm', level=level+$expgiven WHERE id=" . $char['id'] . ";");
}
$havegone=false;
}
if($havegone==true) { //The player has acted! Now its the games turn!
$monsterhit=rand(0, $monsterstats['power']);
$pstats['hp']=$pstats['hp']-$monsterhit;
mysql_query("UPDATE mrpg_stat SET hp=" . $pstats['hp'] . " WHERE id=" . $char['id'] . ";");
$messages[]="The " . ucfirst($monsterstats['name']) . " attacks! And deals $monsterhit Damage!";
}
if($pstats['hp']<=0) {
$messages[]="You died!";
$dead=true;
mysql_query("UPDATE mrpg_stat SET hp=maxhp, poison=0, other=0 WHERE id=" . $char['id'] . ";");
mysql_query("UPDATE mrpg_battles SET `use`=0, enemy=0, enemyhp=0 WHERE id=" . $char['id'] . ";");
mysql_query("UPDATE mrpg_users SET mode='norm', x=5, y=3 WHERE id=" . $char['id'] . ";");
}
bimage($char['id'], $messages[0], $messages[1], $messages[2], $messages[3], $dead);
?>

25
battlezones.php Normal file
View File

@ -0,0 +1,25 @@
<?php
function checkbzone($x, $y, $m) {
if($y>=0 && $y<=12 && $x>=0 && $x<=25) { //Noob zone
return array(1,2,0,0,0,0,0,0,0); // 1/10th chance rat :O
} else if($y>=11 && $y<=15 && $x>=53 && $x<=99) {
return array(2,0,0,0,0,3);
} else {
return array(0);
}
}
?>

25
config.php Normal file
View File

@ -0,0 +1,25 @@
<?php
/*echo "<h1>Down for maintenance!</h1>";
exit;*/
$con = mysql_connect("localhost","mop_admin","droids");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("mop_rpg", $con);
//Get user IP
if($_SERVER['HTTP_X_FORWARDED_FOR']!="")
{
$ip=$_SERVER['HTTP_X_FORWARDED_FOR'];
}
else
{
$ip=$_SERVER['REMOTE_ADDR'];
}
?>

93
confirm.php Normal file
View File

@ -0,0 +1,93 @@
<?php
include("config.php");
$credsYo=$_COOKIE['mrpg-ethbnd'];
$credsYo=explode("@seperator@", $credsYo);
$u=strtolower($credsYo[0]);
$p=strtolower($credsYo[1]);
if($u=="")
{
header("Location: index.php?login");
}
$result = mysql_query("SELECT * FROM mrpg_users WHERE name='$u'");
while($row = mysql_fetch_array($result))
{
if($row['password']!=$p)
{
header("Location: index.php");
exit;
}
}
$sql="SELECT * FROM mrpg_users WHERE name='$u'";
$result = mysql_query($sql);
while($row = mysql_fetch_array($result))
{
$char['id']=$row['id'];
$char['mode']=$row['mode'];
}
if($char['mode']!="confirm") {
header("Location: action.php");
exit;
}
$sql="SELECT * FROM mrpg_confirm WHERE id=" . $char['id'] . ";";
$result = mysql_query($sql);
while($row = mysql_fetch_array($result))
{
$confirm['q']=$row['q'];
$confirm['yesx']=$row['yesx'];
$confirm['yesy']=$row['yesy'];
$confirm['nox']=$row['nox'];
$confirm['noy']=$row['noy'];
}
if($_SERVER['QUERY_STRING']=="") {
echo "<center><br><h4><font color='white'>" . $confirm['q'] . "</font></h4><br><br>
<h5><a href='confirm.php?yes'>Yes</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href='confirm.php?no'>No</a></h5>";
}
if($_SERVER['QUERY_STRING']=="yes") {
mysql_query("UPDATE mrpg_users SET mode='norm', x=" . $confirm['yesx'] . ", y=" . $confirm['yesy'] . " WHERE id=" . $char['id'] . ";");
header("Location: actions.php");
exit;
}
if($_SERVER['QUERY_STRING']=="no") {
mysql_query("UPDATE mrpg_users SET mode='norm', x=" . $confirm['nox'] . ", y=" . $confirm['noy'] . " WHERE id=" . $char['id'] . ";");
header("Location: actions.php");
exit;
}
?>

153
coordim.php Normal file
View File

@ -0,0 +1,153 @@
<?php
ob_start();
Header('Cache-Control: no-cache');
Header('Pragma: no-cache');
$char['x']=$_GET['x'];
$char['y']=$_GET['y'];
//start mod
include("config.php");
include("battlezones.php");
$u=$char['x'];
$p=$char['y'];
if($u=="")
{
header("Location: index.php");
}
$result = mysql_query("SELECT * FROM mrpg_users WHERE name='$u'");
while($row = mysql_fetch_array($result))
{
$x=$row['x']+0;
$y=$row['y']+0;
$dir=$row['dir'];
$bzone=checkbzone($x, $y, 0);
if(md5($row['password'])!=$p)
{
header("Location: index.php");
exit;
}
}
$char['x']=$x;
$char['y']=$y;
//end mod
$im=imageCreateFromPNG("media/map.png");
$im2 = imageCreateTrueColor(470, 329);
$images['chDown']=imageCreateFromPNG("media/chdown.png");
$images['chUp']=imageCreateFromPNG("media/chup.png");
$images['chLeft']=imageCreateFromPNG("media/chleft.png");
$images['chRight']=imageCreateFromPNG("media/chright.png");
$background = imageColorAllocate ($images['chDown'], 255, 0, 255);
$background = imageColorTransparent($images['chDown'],$background);
$background = imageColorAllocate ($images['chUp'], 255, 0, 255);
$background = imageColorTransparent($images['chUp'],$background);
$background = imageColorAllocate ($images['chLeft'], 255, 0, 255);
$background = imageColorTransparent($images['chLeft'],$background);
$background = imageColorAllocate ($images['chRight'], 255, 0, 255);
$background = imageColorTransparent($images['chRight'],$background);
$srcx=$char['x']*16-230;
$srcy=$char['y']*16-160;
$srcx2=$char['x']*16+5;
$srcy2=$char['y']*16+5;
$black = imageColorAllocate ($im, 0x00, 0x00, 0x00);
$white = imageColorAllocate ($im, 0xFF, 0xFF, 0xFF);
$result = mysql_query("SELECT name,x,y,lastact,dir FROM mrpg_users");
while($row = mysql_fetch_array($result))
{
$dx=$row['x'];
$dy=$row['y'];
$thetime=$row['lastact'];
$dsrcx=$dx*16-230;
$dsrcy=$dy*16-160;
if((date("U")-$thetime)<=60) {
if($row['dir']==1) {
imageCopyMerge($im, $images['chUp'], $dsrcx +230, $dsrcy +144, 0, 0, 12, 32,100);
} else if($row['dir']==2) {
imageCopyMerge($im, $images['chLeft'], $dsrcx +230, $dsrcy +144, 0, 0, 12, 32,100);
} else if($row['dir']==3) {
imageCopyMerge($im, $images['chRight'], $dsrcx +230, $dsrcy +144, 0, 0, 12, 32,100);
} else if($row['dir']==4) {
imageCopyMerge($im, $images['chDown'], $dsrcx +230, $dsrcy +144, 0, 0, 12, 32,100);
}
//imageString($im,5, $dsrcx+230-(strlen($row['name'])*3), $dsrcy+129, ucfirst($row['name']), $black);
imageString($im,5, $dsrcx+233-(strlen($row['name'])*3), $dsrcy+127, ucfirst($row['name']), $black);
}
}
if($dir==1) {
imageCopyMerge($im, $images['chUp'], $srcx+230, $srcy+144, 0, 0, 12, 32,100);
} else if($dir==2) {
imageCopyMerge($im, $images['chLeft'], $srcx+230, $srcy+144, 0, 0, 12, 32,100);
} else if($dir==3) {
imageCopyMerge($im, $images['chRight'], $srcx+230, $srcy+144, 0, 0, 12, 32,100);
} else if($dir==4) {
imageCopyMerge($im, $images['chDown'], $srcx+230, $srcy+144, 0, 0, 12, 32,100);
}
//imageCopyMerge($im, $images['chDown'], $srcx+230, $srcy+144, 0, 0, 12, 32,100);
imageCopy($im2, $im, 0, 0, $srcx, $srcy, 470, 329);
//imageFilledRectangle ($im2, 1, 1, 110, 20, $black);
//imageString($im2, 2, 2, 2, "X: $x, Y: $y, B: " . $bzone[0], $white);
header('Content-type: image/png');
imagePNG($im2);
imageDestroy($im);
imageDestroy($im2);
imageDestroy($images['chDown']);
imageDestroy($images['chUp']);
imageDestroy($images['chLeft']);
imageDestroy($images['chRight']);
ob_end_flush();
?>

33
experience.php Normal file
View File

@ -0,0 +1,33 @@
<?php
/* * * * * * * * * * * * * * * * * * * * * \
Finds experience from level, and vice-versa
\ * * * * * * * * * * * * * * * * * * * * */
function level($mode,$input) {
if($mode==1) {
$a=pow($input, 2) * 31;
return $a;
}
if($mode==2) {
$val=$input/31;
$val=sqrt($val);
$val=round($val-.499);
//$val=$val-.499;
return(abs($val));
}
}
?>

BIN
forum.zip Normal file

Binary file not shown.

375
game.php Normal file
View File

@ -0,0 +1,375 @@
<?php
include("gui.php");
include("config.php");
include("walkable.php");
$update=false;
$credsYo=$_COOKIE['mrpg-ethbnd'];
$credsYo=explode("@seperator@", $credsYo);
$u=strtolower($credsYo[0]);
$p=strtolower($credsYo[1]);
if($u=="")
{
header("Location: index.php?login");
}
$result = mysql_query("SELECT * FROM mrpg_users WHERE name='$u'");
while($row = mysql_fetch_array($result))
{
if($row['password']!=$p)
{
header("Location: index.php");
exit;
}
}
$sql="SELECT * FROM mrpg_users WHERE name='$u'";
$result = mysql_query($sql);
while($row = mysql_fetch_array($result))
{
$char['x']=$row['x'];
$char['y']=$row['y'];
}
?><script type='text/javascript'>
qSwitch=0
strW1=""
strW2=""
strW3=""
strW4=""
strW5=""
function qswitch() {
if(qSwitch==0) {
qSwitch=1
} else if(qSwitch==1) {
qSwitch=0
}
drawQs(qSwitch)
}
function dirtostring(dir) {
if(dir==1) {
return "<image src='images/icons_up.gif'>"
} else if(dir==2) {
return "<image src='images/icons_left.gif'>"
} else if(dir==3) {
return "<image src='images/icons_right.gif'>"
} else if(dir==4) {
return "<image src='images/icons_down.gif'>"
} else if(dir==0) {
return "<image src='images/exbox.gif'>"
} else {
return ""
}
}
function drawQs(x) {
if(x==1) {
qSwitch=1
obj = document.getElementById('qswitch')
obj.innerHTML='<image src=\'images/switchon.gif\' border=\'0\'>'
obj = document.getElementById('overlay')
obj.style.display=""
obj2 = document.getElementById('walkdiv')
obj2.style.display=""
}
if(x==0) {
qSwitch=0
obj = document.getElementById('qswitch')
obj.innerHTML='<image src=\'images/switchoff.gif\' border=\'0\'>'
obj = document.getElementById('overlay')
obj.style.display="none"
obj = document.getElementById('walkdiv')
obj.style.display="none"
}
}
qued=0
q1=null
q2=null
q3=null
q4=null
q5=null
q6=null
q7=null
q8=null
q9=null
q10=null
function walkfunct(d) {
if(qSwitch==1 && d!=null) {
if(d==1) {
obj2 = document.getElementById('square')
obj2.style.top=(obj2.offsetTop - 16)
} else if(d==2) {
obj2 = document.getElementById('square')
obj2.style.left=(obj2.offsetLeft - 16)
} else if(d==3) {
obj2 = document.getElementById('square')
obj2.style.left=(obj2.offsetLeft + 16)
} else if(d==4) {
obj2 = document.getElementById('square')
obj2.style.top=(obj2.offsetTop + 16)
}
if(q1==null) {
q1=d
} else if(q2==null) {
q2=d
} else if(q3==null) {
q3=d
} else if(q4==null) {
q4=d
} else if(q5==null) {
q5=d
} else if(q6==null) {
q6=d
} else if(q7==null) {
q7=d
} else if(q8==null) {
q8=d
} else if(q9==null) {
q9=d
} else if(q10==null) {
q10=d
goque()
}
drawque();
}
else
{
if(d==0) {
document.all.TheFrame.src="actions.php"
} else if(d==1) {
document.all.TheFrame.src="actions.php?up"
} else if(d==2) {
document.all.TheFrame.src="actions.php?left"
} else if(d==3) {
document.all.TheFrame.src="actions.php?right"
} else if(d==4) {
document.all.TheFrame.src="actions.php?down"
}
}
}
function drawque() {
strW1=dirtostring(q1)
strW2=dirtostring(q2)
strW3=dirtostring(q3)
strW4=dirtostring(q4)
strW5=dirtostring(q5)
strW6=dirtostring(q6)
strW7=dirtostring(q7)
strW8=dirtostring(q8)
strW9=dirtostring(q9)
strW10=dirtostring(q10)
questring="Walking Que: "
if(strW1!="") {
questring=questring+strW1
}
if(strW2!="") {
questring=questring+", "+strW2
}
if(strW3!="") {
questring=questring+", "+strW3
}
if(strW4!="") {
questring=questring+", "+strW4
}
if(strW5!="") {
questring=questring+", "+strW5
}
if(strW6!="") {
questring=questring+", "+strW6
}
if(strW7!="") {
questring=questring+", "+strW7
}
if(strW8!="") {
questring=questring+", "+strW8
}
if(strW9!="") {
questring=questring+", "+strW9
}
if(strW10!="") {
questring=questring+", "+strW10+"."
}
obj = document.getElementById('theQue')
obj.innerHTML=questring
}
function goque() {
document.all.TheFrame.src="actions.php?que=" + q1 + "," + q2 + "," + q3 + "," + q4 + "," + q5 + "," + q6 + "," + q7 + "," + q8 + "," + q9 + "," + q10
clearque()
}
function clearque() {
qued=0
q1=null
q2=null
q3=null
q4=null
q5=null
q6=null
q7=null
q8=null
q9=null
q10=null
obj = document.getElementById('square')
obj.style.top=199
obj.style.left=272
drawque()
}
function tab(id) {
if(id==0) {
document.all.TheFrame.src="actions.php"
show('GUI-walktable')
hide('GUI-battle');
} else if(id==1) {
drawQs(0)
show('GUI-battle')
hide('GUI-walktable')
}
}
function show(id){
if (document.getElementById){
obj = document.getElementById(id);
obj.style.display = "";
}
}
function hide(id){
if (document.getElementById){
obj = document.getElementById(id);
obj.style.display = "none";
}
}
function stats() {
document.all.TheFrame.src="actions.php?stats"
}
function battle(action) {
if(action==0) {
document.all.TheFrame.src="battle.php?act=attack"
} else if(action==1) {
document.all.TheFrame.src="battle.php?act=run"
}
}
</script>
<style type="text/css">
#overlay {
width: 470px;
height: 329px;
position: absolute;
top: 38px;
left: 41px;
}
#square {
width: 15px;
height: 15px;
position: absolute;
top: 199px;
left: 272px;
}
</style>
<div id="overlay" style="display:none;"><image src='media/overlay.png'></div>
<div id="walkdiv" style="display:none;"><div id="square"><image src='images/redsq.png'></div></div>
<?php
$frame="
<iframe id='TheFrame' src='showim.php?x=" . $u . "&y=" . md5($p) . "' frameborder='0' width='470' height='329' scrolling='no'></iframe>";
$guif="<table border='1' cellpadding='1' cellspacing='0' width='100%'><tr><td colspan='2'>
Controls: <a href='javascript:tab(0);'>Movement</a>
<a href='javascript:stats();'>Status</a>
<a href='javascript:tab(1);'>Battle</a>
</td></tr></table>
<div id='GUI-walktable'>
<table border='1' cellpadding='1' cellspacing='0' width='100%'><tr><td align='center' rowspan='2' width='150'>
<table border='0'>
<tr><td colspan='3' align='center'><a href='javascript:walkfunct(1)'><image src='images/icons_up.gif' border='0'></a></td></tr>
<tr><td><a href='javascript:walkfunct(2)'><image src='images/icons_left.gif' border='0'></a></td>
<td><a href='javascript:walkfunct(0)'><image src='images/ex.gif' border='0'></a></td>
<td><a href='javascript:walkfunct(3)'><image src='images/icons_right.gif' border='0'></a></td></tr>
<tr><td colspan='3' align='center'><a href='javascript:walkfunct(4)'><image src='images/icons_down.gif' border='0'></a></td></tr></table>
</td><td>
<table border='0' cellpadding='0' cellspacing='0'><tr><td>Walking Que: </td><td><a href='javascript:qswitch();'><div id='qswitch'><image src='images/switchoff.gif' border='0'></div></a></td><td>&nbsp;&nbsp; <a href='javascript:goque()'><image src='images/check.gif' border='0'></a> &nbsp; <a href='javascript:clearque()'><image src='images/ex.gif' border='0'></a></td></tr></table>
</td></tr>
<tr><td><div id='theQue'>Walking Que: </div></td>
</tr></table></div>
<div id='GUI-battle' style='display: none;'>
<a href='javascript:battle(0);'>Attack</a> | <a href='javascript:battle(1);'>Run</a>
</div>
";
make_gui($frame, $guif);
?>
<br><h3>Please note that the experience / level formula has been adjusted, and you may not be the same level as earlier.</h3>

43
gameold.php Normal file
View File

@ -0,0 +1,43 @@
<?php
include("gui.php");
?>
<script type="text/javascript">
x=3
y=5
function newframe(x,y) {
document.all.TheFrame.src="showim.php?x=" + x + "&y=" + y
}
function go(d) {
// 1 for up, 2 for right, 3 for down, 4 for left
if(d==1) {
x=x
y=y-1
} else if(d==2) {
x=x+1
y=y
} else if(d==3) {
x=x
y=y+1
} else if(d==4) {
x=x-1
y=y
}
newframe(x,y)
}
</script>
<?php
$frame="<iframe id='TheFrame' src='showim.php?x=3&y=5' frameborder='0' width='470' height='329'></iframe>";
$links="<a href='javascript:go(1);'>Up</a> <br><a href='javascript:go(4);'>Left</a> <a href='javascript:go(2);'>Right</a><br>
<a href='javascript:go(3);'>Down</a>";
make_gui($frame, $links);
?>

99
grid.php Normal file
View File

@ -0,0 +1,99 @@
<?php
/*$im=imageCreateTrueColor(470, 329);
$white=imageColorAllocate ($im, 255, 255, 255);
$black = imageColorAllocate ($im, 0, 0, 0);
imageFill($im, 5, 5, $black);
*/
include("config.php");
function makestatimage($pid) {
global $con;
$result = mysql_query("SELECT * FROM mrpg_stat WHERE id='$pid'");
$row = mysql_fetch_array($result);
$im=imageCreateTrueColor(470, 329);
$white=imageColorAllocate ($im, 255, 255, 255);
$red=imageColorAllocate ($im, 255, 0, 0);
$green=imageColorAllocate ($im, 0, 255, 0);
$black = imageColorAllocate ($im, 0, 0, 0);
imageFill($im, 5, 5, $black);
imageString($im, 4, 50, 100, "PP: " . $row['pp'], $white);
imageString($im, 4, 50, 140, "Offense: " . $row['offense'], $white);
imageString($im, 4, 50, 180, "Defense: " . $row['defense'], $white);
imageString($im, 4, 50, 220, "Fight: " . $row['fight'], $white);
imageString($im, 4, 340, 100, "Speed: " . $row['speed'], $white);
imageString($im, 4, 340, 140, "Wisdom: " . $row['wisdom'], $white);
imageString($im, 4, 340, 180, "Strength: " . $row['strength'], $white);
imageString($im, 4, 340, 220, "Force: " . $row['force'], $white);
$barw=round(($row['hp'] / $row['maxhp'])*370);
imageFilledRectangle($im, 50, 30, 420, 70, $red);
imageFilledRectangle($im, 50, 30, 50+$barw, 70, $green);
imageRectangle($im, 50, 30, 420, 70, $white);
imageString($im, 5, 210, 10, "HP: " . $row['hp'], $green);
header('Content-type: image/png');
imagePNG($im);
imageDestroy($im);
}
makestatimage(1);
/*
$background = imageColorAllocate ($im, 255, 255, 255);
$background = imageColorTransparent($im,$background);
$y=0;
while($y<=1000) {
imageLine($im, 0, $y, 1000, $y, $black);
imageString($im,1, 1, $y+1, $y/16, $black);
$y=$y+16;
}
$x=0;
while($x<=1000) {
imageLine($im, $x, 0, $x, 1000, $black);
imageString($im,1, $x+1, 1, $x/16, $black);
$x=$x+16;
}*/
?>

36
gui.php Normal file
View File

@ -0,0 +1,36 @@
<?php
function make_gui($t, $b) {
echo '<table id="Table_01" width="537" height="594" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3">
<img src="images/gui_01.gif" width="537" height="30" alt=""></td>
</tr>
<tr>
<td rowspan="4">
<img src="images/gui_02.gif" width="33" height="564" alt=""></td>
<td background="images/gui_03.gif" width="470" height="329" align="center" valign="middle">
' . $t . '
<td rowspan="4">
<img src="images/gui_04.gif" width="34" height="564" alt=""></td>
</tr>
<tr>
<td>
<img src="images/gui_05.gif" width="470" height="35" alt=""></td>
</tr>
<tr>
<td background="images/gui_06.gif" width="470" height="191" align="center" valign="top">
' . $b . '
</tr>
<tr>
<td>
<img src="images/gui_07.gif" width="470" height="9" alt=""></td>
</tr>
</table>';
}
?>

28
hs.php Normal file
View File

@ -0,0 +1,28 @@
<?php
//include("config.php");
include("includes/experience.php");
$sql=mysql_query("SELECT * FROM mrpg_users ORDER BY level DESC LIMIT 20");
while($row=mysql_fetch_array($sql)) {
$hs[]=array("name"=>$row['name'], "exp"=>$row['level']);
}
//print_r($hs);
echo "<table border='1' cellspacing='0' class='hs'><tr><td colspan='4' align='center'> Earthbound Highscores </td></tr><tr><td>#</td><td>Name</td><td>EXP</td><td>Level</td></tr>";
$i=1;
foreach($hs as $value) {
echo "<tr><td> $i: </td><td> " . ucfirst($value['name']) . " </td><td> " . $value['exp'] . " </td><td> " . abs(level(2, $value['exp'])) . " </td></tr>";
$i++;
}
echo "</table>";
?>

BIN
images/Thumbs.db Normal file

Binary file not shown.

BIN
images/about_icon.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 B

BIN
images/arrow_icon.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 B

BIN
images/arrow_icon2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 414 B

Some files were not shown because too many files have changed in this diff Show More