Latino_Heat Posted April 26, 2007 Posted April 26, 2007 <?php /*----------------------------------------------------- -- Contra By http://freegoodgames.net -- Converted to work with MCCodes By Latino Heat -----------------------------------------------------*/ session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); $fm=money_formatter($ir['money']); $cm=money_formatter($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); print " Contra"; print " > Back "; $h->endpage(); ?> And uses there bandwidth! If you use these, please at least give me a plus one. Quote
KyleCrispy Posted April 26, 2007 Posted April 26, 2007 Re: (Free) Contra Game nice one still nah i wont use it i can make a betta one :evil:(if i had the time :-() Quote
KyleCrispy Posted April 26, 2007 Posted April 26, 2007 Re: (Free) Contra Game <?php /*----------------------------------------------------- kyles contra -----------------------------------------------------*/ session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); $fm=money_formatter($ir['money']); $cm=money_formatter($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); print " <center><table width='500' border=2><tr style bgcolor='#ff0000'><th>CONTRA</th></center></tr><tr><td>"; print "<div><embed src='http://www.puffgames.com/contra/' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='500' height='450'></embed></div></tr><tr><td><center>Back to Explore</center>"; $h->endpage(); ?> thats my contra :-D (hope u guys like it) mail me if u want it in v2! Quote
Decepti0n Posted April 27, 2007 Posted April 27, 2007 Re: (Free) Contra Game you just put it in a table and made it smaller? Quote
hamster01 Posted April 27, 2007 Posted April 27, 2007 Re: (Free) Contra Game try this: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Insert this to your db. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Not tested yet! Hope that helps :) Quote
KyleCrispy Posted April 27, 2007 Posted April 27, 2007 Re: (Free) Contra Game with that u can like add games and that right? Quote
oxidati0n Posted April 27, 2007 Posted April 27, 2007 Re: (Free) Contra Game possibly, but the sql hes used is only for recording how many times its been played. Quote
hamster01 Posted April 27, 2007 Posted April 27, 2007 Re: (Free) Contra Game can add more stuff ;) Quote
hamster01 Posted April 28, 2007 Posted April 28, 2007 Re: (Free) Contra Game :) I'm to lazy to write a function right now XD Quote
Arson Posted April 28, 2007 Posted April 28, 2007 Re: (Free) Contra Game Theres a much better way to do this, to where you only have to add the game to the database, and you are done, but I think Deathstar can handle coding it. Quote
-Genocide- Posted May 1, 2007 Posted May 1, 2007 Re: (Free) Contra Game an edit of the simple putt putt game i posted a while back..... Quote
KyleCrispy Posted May 1, 2007 Posted May 1, 2007 Re: (Free) Contra Game can ya re post that put put game? Quote
-Genocide- Posted May 1, 2007 Posted May 1, 2007 Re: (Free) Contra Game http://criminalexistence.com/ceforums/h ... 585#p16585 Quote
Latino_Heat Posted May 6, 2007 Author Posted May 6, 2007 Re: (Free) Contra Game And yes it was an edit of the putt putt game. Just thought everyone would like an older game. Thanks Genocide! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.