Jump to content
MakeWebGames

-zebba-

Members
  • Posts

    57
  • Joined

  • Last visited

    Never

Everything posted by -zebba-

  1. you need to have your own register.php for this to work basicly it send the data the person types in to your login page to make it register and if you have it send a validate email they will still get all that it will run with any regiater page im selling this script for $15 you will receive the script and a psd for you to edit for your logo my email is [email protected] here is a screen shot of the script in effect http://s105.photobucket.com/albums/m204/zebba301/?action=view&current=login.png
  2. Re: New Login Page, Great look!!! sorry to burst your bubble but the border is blatantly from wow and you can tell you didnt make the large circle thing because its poorly cut i meen you can see were parts are missing were you have cut it from somthing
  3. Re: [V2]Ranks Mod!!!![V2] gratz on the mod its good =]   i know the images are not copyright because there free images. just because something free doesn't meen it isn't copyrighted
  4. Re: Login [Free] you get what you pay for lol and like he said change the layout to suite you or what ever aslong as you credit him for the script if you need help with gfx or anything let me no =]  
  5. Re: Advanced RentASpy[V2] can anyone do this in v1 please? i tried and get erros :? :?
  6. Re: Burn House for V2 also dont you need to own a lighter and gasoline/petrol to burn a house down maybe add somthing were you need a lighter and some gasonline oh and this aswell   when pouring the gasonline around the house you accidently spill some on your jacket, not noing you have gasoline on you you spark your lighter, you set on fire, you wake up in agony in hospital with severe burns on your torso looks like your going to be on hospital for a while
  7. Re: [V2]Items table why not just write your own query with the items then upload its the same as what your asking other ppl only your making the items yourself unless your just being lazy and cant be arsed to add your own items every ones game is different so there items might not suite your game and your gonna have to edit them anyway m8
  8. Re: Different User Profile & View User Page how come on both screen shots u are viewing 2 different ppl yet both satts are ranked 1 in everything? also i dont like the fact you can see another users stats
  9. Re: News Latter V1 no i recived it off a friend called black arrow who claims he wrote it and gave me permission to post it here
  10. i did not make this i am just simply sharing it =] it was in v2 i just converted it to v1 100% working   <?php 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(); if($userid != 1) { die("You are not the owner therefore you cannot view this page."); exit; } if($_POST['message']) { $_POST['message']=$_POST['message']; if($_POST['category']==1) $q=mysql_query("SELECT * FROM users"); else if($_POST['category']==2) $q=mysql_query("SELECT * FROM users WHERE user_level > 1"); else if($_POST['category']==3) $q=mysql_query("SELECT * FROM users WHERE user_level=2"); else $q=mysql_query("SELECT * FROM users WHERE user_level={$_POST['level']}"); while($r=mysql_fetch_array($q)) { $to=$r['email']; $subj = "Deadly-Town Newsletter"; $headers ="From: [email][email protected][/email]"; $mess =$_POST['message']; mail($to,$subj,$mess,$headers); } print "<h3>Newsletter Sent!</h3>The Newsletter was successfully sent to ".mysql_num_rows($q)." users. [url='newsletter.php'][i]<u>Go Back[/i]</u>[/url] or [url='index.php'][i]<u>Go Home[/i]</u>[/url]"; } else { print "<h3>E-mail A Newsletter</h3>[i]Here you can email a newsletter to all of your users.[/i] <form action='newsletter.php' method='post'> <textarea cols=100 rows=25 name='message'> </textarea> <input type='radio' name='category' value='1' /> Send To All Members <input type='radio' name='category' value='2' /> Send To Staff Only <input type='radio' name='category' value='3' /> Send To Admins Only [b][i] OR Send to a specific group:[/b][/i] <input type='radio' name='level' value='1' /> Member <input type='radio' name='level' value='2' /> Admin <input type='radio' name='level' value='3' /> Secretary <input type='radio' name='level' value='5' /> Assistant <input type='submit' value='Send' /></form>"; } $h->endpage(); ?>
  11. Re: New Crime Page [V2] i hope you dont mind i edited it to v1 and changed the red color to an image here is the code and the image i used incase any one wants it <?php 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(); if($ir['jailtime'] or $ir['hospital']) { die("<center>This Page is Unavailable while in Hospital or Jail."); } $_GET['ID'] = abs((int) $_GET['ID']); $getid=$_GET['ID']; if(!$getid) { $q=mysql_query("SELECT * FROM crimegroups WHERE cgID>0 ORDER BY cgID ASC;",$c); print "Choose a Crime Group from the list below...<hr width=80%> <form action='crimes.php?ID={$_GET['ID']}' method='get'> <table width=80% cellspacing=1> <tr background='tile.gif'> <th><font color=white>Crime</font></th> <th><font color=white>Cost</font></th> <th><font color=white>Do</font></th></tr>"; if(mysql_num_rows($q) == 0) { print "<tr class='row$current_row'><td colspan=3></td></tr>"; $current_row = 1 - $current_row; } while($r=mysql_fetch_array($q)) { print "<tr class='row$current_row'><td><font color=#A38703>{$r['cgNAME']}</td><td><font color=#FF0000><center>-{$r['cgBRAVE']} Brave</center></font></td><td><center><input type='radio' name='ID' value='{$r['cgID']}' /></td></tr>"; $current_row = 1 - $current_row; } print "<tr background='tile.gif'> <td colspan=2><div align=center><input type='submit' value='Next Step'></div></td><td></td> </tr></table></form> <hr width='80%'>>[url='index.php'] Back[/url]<hr width=80%>"; } else { $getid=($_GET['ID']); $q=mysql_query("SELECT * FROM crimes WHERE crimeGROUP=$getid ORDER BY crimeID ASC;",$c); $r=mysql_fetch_array($q); if (!mysql_num_rows($q)) { print "Invalid Crime ID"; } else { $q=mysql_query("SELECT * FROM crimes WHERE crimeGROUP=$getid ORDER BY crimeID ASC;",$c); print "Choose a Crime from the list below...<hr width=80%> <form action='docrime.php' method='get2'> <table width=80% cellspacing=1> <tr background='tile.gif'> <th><font color=white>Crime</font></thiteh> <th><font color=white>Brave Cost</font></th> <th><font color=white>Do</font></th></tr>"; if(mysql_num_rows($q) == 0) { print "<tr class='row$current_row'><td colspan=3></td></tr>"; $current_row = 1 - $current_row; } while($r=mysql_fetch_array($q)) { print "<tr class='row$current_row'><td><font color=#A38703>{$r['crimeNAME']}</td><td><font color=#FF0000>-{$r['crimeBRAVE']} Brave</font></td><td><center><input type='radio' name='c' value='{$r['crimeID']}' /></td></tr>"; $current_row = 1 - $current_row; } print "<tr background='tile.gif'> <td colspan=2><div align=center><input type='submit' value='Do Crime'></div></td><td></td> </tr></table></form> <hr width='80%'>>[url='index.php'] Back[/url]<hr width=80%>"; } } $h->endpage(); ?>
  12. Re: login page v1 this is the only part thats copied the rest is all mine and i am working on some blank template images for others to use with it if they choose to use the script also the parts on my site were there is just an image and no code it is for when i add user online count and things   also as for you saying its just a big image well coding is one thing but you need nive images to give the code some credit =] h8 all you want im just sharing it for others to use if they choose to i like it and thats all that amtters as fare as im concerned   <script language="JavaScript"> <!-- function getCookieVal (offset) { var endstr = document.cookie.indexOf (";", offset); if (endstr == -1) endstr = document.cookie.length; return unescape(document.cookie.substring(offset, endstr)); } function GetCookie (name) { var arg = name + "=" var alen = arg.length; var clen = document.cookie.length; var i = 0; while (i < clen) { var j = i + alen; if (document.cookie.substring(i, j) == arg) return getCookieVal (j); i = document.cookie.indexOf(" ", i) + 1; if (i == 0) break; } return null; } function SetCookie (name,value,expires,path,domain,secure) { document.cookie = name + "=" + escape (value) + ((expires) ? "; expires=" + expires.toGMTString() : "") + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : ""); } function DeleteCookie (name,path,domain) { if (GetCookie(name)) { document.cookie = name + "=" + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + "; expires=Thu, 01-Jan-70 00:00:01 GMT"; } } // --> </script> <script language="JavaScript"> var usr; var pw; var sv; function getme() { usr = document.login.player; pw = document.login.password; sv = document.login.save; if (GetCookie('player') != null) { usr.value = GetCookie('player') pw.value = GetCookie('password') if (GetCookie('save') == 'true') { sv[0].checked = true; } } } function saveme() { if (usr.value.length != 0 && pw.value.length != 0) { if (sv[0].checked) { expdate = new Date(); expdate.setTime(expdate.getTime()+(365 * 24 * 60 * 60 * 1000)); SetCookie('player', usr.value, expdate); SetCookie('password', pw.value, expdate); SetCookie('save', 'true', expdate); } if (sv[1].checked) { DeleteCookie('player'); DeleteCookie('password'); DeleteCookie('save'); } } else { alert('You must enter a username/password.'); return false; } } </script>
  13. you can preivew this code at www.deadly-town.com if you use this login page you are not permited to use the images as they are made by me & copywrited to www.deadly-towncom anyone found using the images without my permision will face legal action -zebba-   <html><head><title>Deadly-Town Login</title></head> <link rel="shortcut icon" href="/logo.gif" /> <body background='/webg.jpg'> <script language="JavaScript"> <!-- function getCookieVal (offset) { var endstr = document.cookie.indexOf (";", offset); if (endstr == -1) endstr = document.cookie.length; return unescape(document.cookie.substring(offset, endstr)); } function GetCookie (name) { var arg = name + "=" var alen = arg.length; var clen = document.cookie.length; var i = 0; while (i < clen) { var j = i + alen; if (document.cookie.substring(i, j) == arg) return getCookieVal (j); i = document.cookie.indexOf(" ", i) + 1; if (i == 0) break; } return null; } function SetCookie (name,value,expires,path,domain,secure) { document.cookie = name + "=" + escape (value) + ((expires) ? "; expires=" + expires.toGMTString() : "") + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : ""); } function DeleteCookie (name,path,domain) { if (GetCookie(name)) { document.cookie = name + "=" + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + "; expires=Thu, 01-Jan-70 00:00:01 GMT"; } } // --> </script> <script language="JavaScript"> var usr; var pw; var sv; function getme() { usr = document.login.player; pw = document.login.password; sv = document.login.save; if (GetCookie('player') != null) { usr.value = GetCookie('player') pw.value = GetCookie('password') if (GetCookie('save') == 'true') { sv[0].checked = true; } } } function saveme() { if (usr.value.length != 0 && pw.value.length != 0) { if (sv[0].checked) { expdate = new Date(); expdate.setTime(expdate.getTime()+(365 * 24 * 60 * 60 * 1000)); SetCookie('player', usr.value, expdate); SetCookie('password', pw.value, expdate); SetCookie('save', 'true', expdate); } if (sv[1].checked) { DeleteCookie('player'); DeleteCookie('password'); DeleteCookie('save'); } } else { alert('You must enter a username/password.'); return false; } } </script> <body bgcolor="#FFFFFF" text="#000000"> <div id="bv_Image1" style="overflow:hidden;position:absolute;left:288px;top:80px;z-index:0" align="left"> [img=/login1.png]</div> <div id="bv_Text1" style="position:absolute;left:309px;top:349px;width:109px;height:16px;z-index:1" align="center"> <form action='authenticate.php' method='post' name='login' onsubmit='return saveme();'> <font style="font-size:13px" color="#FF0000" face="Arial">[i]Username[/i]</font></div> <hr noshade size="1" width="132" color="#FFFFFF" id="Line1" style="position:absolute;left:90px;top:357px;width:132px;height:1px;z-index:2"> <div id="bv_Text2" style="position:absolute;left:538px;top:350px;width:73px;height:16px;z-index:4" align="center"> <font style="font-size:13px" color="#FF0000" face="Arial">[i]Password[/i]</font></div> <input type="text" id="Editbox1" size="12" name="username" style="position:absolute;left:405px;top:347px;width:128px;"> <input type="password" id="Editbox1" size="12" name="password" style="position:absolute;left:624px;top:347px;width:128px;"> <script language='JavaScript' type='text/javascript'> getme(); </script> <div id="bv_Text7" style="position:absolute;left:89px;top:99px;width:186px;height:16px;z-index:13" align="center"> <font style="font-size:13px" color="#FFFFFF" face="Arial">[b][i]About Deadly-Town[/i][/b]</font></div> <div id="bv_Text9" style="position:absolute;left:958px;top:99px;width:170px;height:16px;z-index:14" align="center"> <font style="font-size:13px" color="#FFFFFF" face="Arial">[b][i]Server Status : </font><font style="font-size:13px" color="#005500" face="Arial">ONLINE[/i][/b]</font></div> <div id="bv_Text10" style="position:absolute;left:99px;top:138px;width:161px;height:228px;z-index:15" align="center"> <font style="font-size:15px" color="#FFFFFF" face="Times New Roman">Deadly Town is a text based mmorpg (massive multi player online role playing game) DT is free to play with the option of paying to receive extra in game benefits, You take up the role of a gangster who is new in town and wishes to make a name for them self, how you do it is down to you, </font></div> <div id="bv_Text11" style="position:absolute;left:961px;top:139px;width:163px;height:16px;z-index:17" align="center"> <font style="font-size:14px" color="#FFFFFF" face="Arial">[b][i]Contact us![/i][/b]</font></div> <div id="bv_Text12" style="position:absolute;left:963px;top:162px;width:163px;height:224px;z-index:18" align="left"> <font style="font-size:13px" color="#FFFFFF" face="Arial">If you would like to contact us about anything please send an email to </font><font style="font-size:13px" color="#FF0000" face="Arial">[email protected] </font><font style="font-size:13px" color="#FFFFFF" face="Arial">please put the email subject as dt-question or the email will be put as spam, you can email us about any concerns or questions you have about [url]www.deadly-town.com[/url], please do not email us asking for free items or to be ingame staff,</font></div> <div id="bv_Text13" style="position:absolute;left:101px;top:390px;width:160px;height:192px;z-index:18" align="center"> <font style="font-size:13px" color="#FFFFFF" face="Arial">Deadly-Town is best played on a Firefox browser with a screen resolution of 1280x 800, we recommend you use Firefox to improve your gaming experience, You can get Mozilla Firefox from</font><font style="font-size:13px" color="#FF6820" face="Arial"> </font><font style="font-size:13px" color="#FF0000" face="Arial">[url]www.mozilla.com[/url] </font><font style="font-size:13px" color="#FFFFFF" face="Arial">its free to download simple to set up and easy to use, -zebba-</font></div> <div id="bv_Image2" style="overflow:hidden;position:absolute;left:82px;top:7px;z-index:19" align="left"> [img=top.PNG]</div> <div id="bv_AdvancedButton1" style="position:absolute;left:304px;top:537px;width:147px;height:27px;z-index:18" align="center"> <button id="AdvancedButton1" type="button" onClick="window.location='/register.php'" name="register" value="Register!" style="width:147px;height:27px;border:1px #FFFFFF solid;background-color:#000000"> <font style="font-size:13px" color="#FF0000" face="Arial">[b][i]Register![/i][/b]</font></p></button></div> <div id="bv_AdvancedButton2" style="position:absolute;left:769px;top:345px;width:131px;height:27px;z-index:18" align="center"> <button id="AdvancedButton2" type="submit" name="Submit" value="Register!" style="width:131px;height:27px;border:1px #FFFFFF solid;background-color:#000000"> <font style="font-size:13px" color="#FF0000" face="Arial">[b][i]Login!![/i][/b]</font></p></button></div> <div id="bv_Image3" style="overflow:hidden;position:absolute;left:82px;top:80px;z-index:12" align="left"> [img=bar.png]</div> <div id="bv_Image4" style="overflow:hidden;position:absolute;left:943px;top:80px;z-index:13" align="left"> [img=bar2.png]</div> <div id="bv_Text5" style="position:absolute;left:461px;top:550px;width:457px;height:16px;z-index:10" align="center"> <font style="font-size:11px" color="lime" face="Arial">[i]The whole DT website is Copyright © 2008, Owned by Zebba & Davin All rights reserved.[/i]</font></div> <div id="bv_Text3" style="position:absolute;left:307px;top:390px;width:141px;height:144px;z-index:19" align="center"> <font style="font-size:13px" color="#FFFFFF" face="Arial">To start playing </font><font style="font-size:13px" color="#FF0000" face="Arial">[b]Deadly-Town</font><font style="font-size:13px" color="#FFFFFF" face="Arial"> [/b]click the register button below, You are only allowed to have </font><font color="#FFFF00">[b]<u>one</font><font style="font-size:13px" color="#FFFFFF" face="Arial"></u>[/b] account per person having multiple accounts may result in all of your accounts being banned</font></div> <div id="bv_Text4" style="position:absolute;left:473px;top:389px;width:444px;height:16px;z-index:20" align="center"> <font style="font-size:13px" color="#FF0000" face="Arial">[b]Welcome to [url]www.deadly-town.com[/url][/b]</font></div> <div id="bv_Text6" style="position:absolute;left:473px;top:408px;width:444px;height:120px;z-index:21" align="center"> <font style="font-size:12px" color="#FFFFFF" face="Arial">The street can be a place with danger but also filled with promise. Which path will you take down the mean streets of Deadly Town. Will you strive to be best driver in the city, racing for papers and earning big money while evading the police. Or do you fancy yourself a hardcore thug, roaming the street using your dogs to hunt down your next victim. Living on the streets can be a thrill on it's own, but are you bad enough to go at it alone or smart enough to join the right crew? Who will make the most Money and own the biggest crib can depend on which gang you call your family, But beware for someone may be hunting you!</font></div> </body> </html>
×
×
  • Create New...