bmw11
Members-
Posts
88 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by bmw11
-
syntax error on lines "27" "62" and "65" <?php //mod coded by sniko` //FREE MODIFICATION //2008 //free MOD include "globals.php"; print "<h2>Harry's Ammo Shop</h2> <i>Here you can buy Ammo, Ammo is needed to attack people with guns.</i> You Currently Have {$ir['ammo']} Bullets. <table width=100% border=1> <th height=10%>Ammo Ammount</th><th height=10%>Price</th><th height=10%>Buy</th> <tr> <td> 6 </td> <td> $10 </td> <td> <a href="http://ammoshop.php?spend=6" target="_blank">Buy 6 Bullets</a> </td> <tr> <td> Out Of Stock </td> <td> Not Available </td> <td> Not Available </td> <tr> <td> Out Of Stock </td> <td> Not Available </td> <td> Not Available </td> </table>"; if($_GET['spend'] == '6') { if($ir['money'] <10) { print "You don't have enough money to buy 6 Bullets, you need $10!"; } else { if($ir['money'] >10) { print "Congratulations, you bought 6 Bullets for $10! <a href="http://index.php" target="_blank">Go Home</a> <a href="http://inventory.php" target="_blank">Inventory</a> "; $db->query("UPDATE users SET money=money-10,ammo=6 WHERE userid=$userid",$c); } } } $h->endpage(); ?>
-
can you help with crons "-":2: bad command errors in crontab file, can't install
-
i need help
-
thanks lucky but now theres anouther problem : Parse error: syntax error, unexpected T_SL in /home/husain/public_html/explore.php on line 82
-
now line 79 is this print "[*]<a href="http://cyberbank.php" target="_blank">Cyber Bank</a>";} but the error hasnt gone it is still Parse error: syntax error, unexpected T_STRING in /home/husain/public_html/explore.php on line 79
-
print "[*]<a href="http://cyberbank.php" target="_blank">Cyber Bank</a>";
-
Parse error: syntax error, unexpected T_STRING in /home/husain/public_html/explore.php on line 79 my explore.php <?php include "globals.php"; ?> <html> <head> <script type="text/javascript" src="tabs.min.js"></script> <style type="text/css"> #explore { color:#6688DD; float:left; font-family:Cambria,Times New Roman,serif; font-size:1.3em; font-stretch:normal; font-style:italic; font-weight:normal; line-height:normal; width:100px; } #explore li a { background:#222222 none repeat scroll 0 0; /* Change this value to change the backgroud of the tabs */ display:block; font-size:0.8em; /* Change this value to change the font size in the tabs */ font-style:normal; font-weight:bold; margin:1px; padding:2px 6px 4px; text-align:left; text-decoration:none; width:90px; /* Change this value to change the width of the tabs */ } #explore li a:hover { background:#0A0A0A none repeat scroll 0 0; /* Change this value to change the color of when the tab is hovered over */ width:90px /* This value should be the same as the width of the tabs above */ } #explore li a.selected { background:#FFFFFF none repeat scroll 0 0; /* Change this value to change the color of the tab when it is active */ color:#000000; cursor:default; width:90px; /* This should also be the same as the two above widths */ } .container { background:#181818 none repeat scroll 0 0; /* Change this value to change the background color of the links container */ border:1px solid #222222; margin:20px auto; padding-top:2px; width:400px; /* Change this value to change the width of links container */ } .container p { padding:2px 12px 10px; text-align:left; } </style> </head> <body> <?php $tresder=(int) rand(100,999); if($ir['jail'] or $ir['hospital']) { die("This page cannot be accessed while in jail or hospital."); } $q = $db->query("SELECT u.*,c.* FROM users u LEFT JOIN cities c ON u.location=c.cityid WHERE (u.userid=$userid)"); $r = $db->fetch_row($q); print <<<EOF2 <b>You begin exploring the area you're in, you see a bit that interests you.</b> <ul id="explore" class="idTabs"> [*]<a href="http://#markplace" target="_blank">Market Place</a>[*]<a href="http://#smm" target="_blank">Serious Money Makers</a>[*]<a href="http://#darkside" target="_blank">Dark Side</a>[*]<a href="http://#statdept" target="_blank">Stats Dept.</a>[*]<a href="http://#mystery" target="_blank">Mysterious</a>[/list] <div class="container"> <ul id="markplace">[*]<a href="http://shops.php" target="_blank">Shops</a>[*]<a href="http://itemmarket.php" target="_blank">Item Market</a>[*]<a href="http://cmarket.php" target="_blank">Crystal Market</a>[/list] <ul id="smm">[*]<a href="http://monorail.php" target="_blank">Travel Agency</a>[*]<a href="http://estate.php" target="_blank">Estate Agent</a>[*]<a href="http://bank.php" target="_blank">City Bank</a> EOF2; if($ir['location'] == 5) print "[*]<a href="http://cyberbank.php" target="_blank">Cyber Bank</a>"; print <<<EOF3[/list] <ul id="darkside">[*]<a href="http://gangcentral.php" target="_blank">Gangs</a>[*]<a href="http://gangwars.php" target="_blank">Gang Wars</a>[*]<a href="http://fedjail.php" target="_blank">Federal Jail</a>[*]<a href="http://slotsmachine.php?tresde=$tresder" target="_blank">Slots Machine</a>[*]<a href="http://roulette.php?tresde=$tresder" target="_blank">Roulette</a>[*]<a href="http://lucky.php" target="_blank">Lucky Boxes</a>[/list] <ul id="statdept">[*]<a href="http://userlist.php" target="_blank">User List</a>[*]<a href="http://stafflist.php" target="_blank">{$set['game_name']} Staff</a>[*]<a href="http://halloffame.php" target="_blank">Hall of Fame</a>[*]<a href="http://stats.php" target="_blank">Game Stats</a>[*]<a href="http://usersonline.php" target="_blank">Users Online</a>[/list] <ul id="mystery">[*]<a href="http://crystaltemple.php" target="_blank">Crystal Temple</a>[/list] </div> This is your referal link: http://{$domain}/register.php?REF=$userid Every signup from this link earns you two valuable crystals! </body> </html> EOF3; $h->endpage(); ?>
-
Comments on my mccodes game banner and how to improve
bmw11 replied to bmw11's topic in Requests & In Production
thanks ive been learning , can you tell me if i could improve something to make it look better -
http://www.megaupload.com/?d=ZF1LMEZT the banner
-
uploading using megaupload 1 min
-
cant uploade using imageshack "image file is too large" "please upgrade"
-
sir the file is too big for the uploaders i use so please can i have youre email , thanks
-
sorry for the delay im back and im uploading your banner now
-
Sir your prison break banner has been made but i need to go out for a couple of hours will pm you and upload when i come back ok
-
ok i will make it gimmi some time
-
i am learning to be a graphic designer and to get a feel for the job i am going to give out free banners want a free banner? post the , title of game,size, and what you want in the banner donation are welcome
-
would be happy to helP , just pm me ! with the size
-
yes i have a licence ,the reason why i have this site is as my freind can code and i cant and we shared the cost for mccodes he is on holiday right now so im on this forum asking for help
-
yup this is for mccodes v2
-
i used a converter to do the css
-
css is mine , login is someone elses
-
This is the css body { font-family: Geneva, Arial, Helvetica, sans-serif; text-align: left; font-size: small; } /* You named this layer Background */ #Layer-1 { position: absolute; left: +0px; top: +0px; width: 1280px; height: 600px; z-index: 1; } /* You named this layer Layer 1 */ #Layer-2 { position: absolute; left: 0px; top: 0px; width: 1280px; height: 223px; z-index: 2; } /* You named this layer Layer 7 */ #Layer-3 { position: absolute; left: 95px; top: 43px; width: 275px; height: 137px; z-index: 3; } /* You named this layer Layer 8 */ #Layer-4 { position: absolute; left: 389px; top: 249px; width: 258px; height: 76px; z-index: 4; } /* You named this layer Layer 2 */ #Layer-5 { position: absolute; left: 53px; top: 223px; width: 1150px; height: 232px; z-index: 5; } /* You named this layer Layer 3 */ #Layer-6 { position: absolute; left: +53px; top: +455px; width: 1150px; height: 152px; z-index: 6; } /* You named this layer Layer 4 */ #Layer-7 { position: absolute; left: 116px; top: 72px; width: 167px; height: 30px; z-index: 7; } /* You named this layer Layer 5 */ #Layer-8 { position: absolute; left: 117px; top: 18px; width: 166px; height: 33px; z-index: 8; } /* You named this layer Layer 6 */ #Layer-9 { position: absolute; left: +53px; top: +535px; width: 1150px; height: 144px; z-index: 9; } /* You named this layer Layer 4 copy */ #Layer-10 { position: absolute; left: 116px; top: 116px; width: 167px; height: 30px; z-index: 10; } /* You named this layer Layer 4 copy 2 */ #Layer-11 { position: absolute; left: 116px; top: 159px; width: 167px; height: 30px; z-index: 11; } /* You named this layer Layer 4 copy 3 */ #Layer-12 { position: absolute; left: 116px; top: 202px; width: 167px; height: 30px; z-index: 12; } /* You named this layer Layer 9 */ #Layer-13 { position: absolute; left: 10px; top: 22px; width: 148px; height: 66px; z-index: 13; } /* You named this layer Layer 10 */ #Layer-14 { position: absolute; left: 158px; top: 39px; width: 84px; height: 58px; z-index: 14; } /* You named this layer Layer 12 */ #Layer-15 { position: absolute; left: 306px; top: 7px; width: 269px; height: 65px; z-index: 15; } /* You named this layer Layer 14 */ #Layer-16 { position: absolute; left: 894px; top: 0px; width: 108px; height: 68px; z-index: 16; } /* You named this layer Layer 15 */ #Layer-17 { position: absolute; left: 841px; top: 87px; width: 146px; height: 26px; z-index: 17; } /* You named this layer Layer 16 */ #Layer-18 { position: absolute; left: 841px; top: 154px; width: 150px; height: 41px; z-index: 18; } /* Here are some examples of how you might want to change the * look and behavior of the links on your page. Some examples for * further customization are included in comments. */ a { cursor: pointer; outline: none; } a:link { color: #F88; } a:visited { color: #F88; } a:hover { color: #F00; /* text-decoration: underline; */ /* font-weight: bold; */ } this is the login.php <body> <table width='1350' border='0' align='center' cellspacing='0'> <tr bgcolor='#000000'> <td width='1000' height='600' background='' valign='top'><div id='container'> <div id='topnav' class='topnav' >Are you a member? <a href='login' class='register'><span>Register</span></a> </div> <fieldset id='register_menu'> <form action=register.php method=post name=register> <label for='username'>Username</label> <input type=text name=username onkeyup='CheckUsername(this.value);'><div id='usernameresult'></div> </p> <p> <label for='password'>Password</label> <input type=password id='pw1' name=password onkeyup='CheckPasswords(this.value);PasswordMatch();'><div id='passwordresult'></div> </p> <p> <label for='cpassword'>Confirm Password</label> <input type=password name=cpassword id='pw2' onkeyup='PasswordMatch();'><div id='cpasswordresult'></div> </p> <p> <label for='email'>Email</label> <input type=text name=email onkeyup='CheckEmail(this.value);'><div id='emailresult'></div> </p> <p> <label for='gender'>Gender</label><br /> <select name='gender' type='dropdown'> <option value='Male'>Male <option value='Female'>Female</select> </p> <p> <center><input id='register_submit' value='Register' tabindex='6' type='submit'></center> </p></td> </form> </fieldset> </div> <script src='javascripts/jquery.js' type='text/javascript'></script> <script type='text/javascript'> $(document).ready(function() { $('.register').click(function(e) { e.preventDefault(); $('fieldset#register_menu').toggle(); $('.register').toggleClass('menu-open'); }); $('fieldset#register_menu').mouseup(function() { return false }); $(document).mouseup(function(e) { if($(e.target).parent('a.register').length==0) { $('.register').removeClass('menu-open'); $('fieldset#register_menu').hide(); } }); }); </script> <script src='javascripts/jquery.tipsy.js' type='text/javascript'></script> <script type='text/javascript'> $(function() { $('#forgot_username_link').tipsy({gravity: 'w'}); }); </td> </tr> </table> <center>Copyright Game Name 2010-2011 Game owner.<br />Login made and designed by .</center> </body> </html> please tell me how to intergrate the two and how to add the login form onto the right had side of layer 5 ( layer 5 is split up into 3, left ,center right,i would like to put the login form on the right side
-
i am a newbie , and trying out a game on a free host just to learn and when i am done learning i will set up a real game , please tell me how to use div tags to add a login form on a image,thanks
-
sir how would i "build in the html"