kaine-
Members-
Posts
145 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by kaine-
-
Ahhh well i inboxed him yesterday but hes not been online since
-
Il bid $10 aswell because i want a copy so i can make it better and add more stuff to it.
-
Because i cant move the register bit over to the right and take all piks off apart from one i can use for a full background.
-
Would you be able to sort it for me please?
-
<?php session_start(); include 'includes/db_connect.php'; include 'register.php'; include 'pwremind.php'; function GetUserIP() { if (isset($_SERVER)) { if (isset($_SERVER["HTTP_X_FORWARDED_FOR"])) return $_SERVER["HTTP_X_FORWARDED_FOR"]; if (isset($_SERVER["HTTP_CLIENT_IP"])) return $_SERVER["HTTP_CLIENT_IP"]; return $_SERVER["REMOTE_ADDR"]; } if (getenv('HTTP_X_FORWARDED_FOR')) return getenv('HTTP_X_FORWARDED_FOR'); if (getenv('HTTP_CLIENT_IP')) return getenv('HTTP_CLIENT_IP'); return getenv('REMOTE_ADDR'); } $realip = GetUserIP(); function lookupIp() { $realip = GetUserIP(); include("geoip.inc"); $handle = geoip_open("GeoIP.dat", GEOIP_STANDARD); $co = geoip_country_name_by_addr($handle, "$realip"); return $co; } if ($_POST['login']){ if(!$_POST['username']){ $message="Please enter a valid username!"; }elseif(!$_POST['password']){ $message="Please enter a valid password"; }else{ $username=mysql_real_escape_string(strip_tags($_POST['username'])); $password=mysql_real_escape_string(strip_tags($_POST['password'])); $sql = mysql_query("SELECT SQL_NO_CACHE id FROM users WHERE username='$username' AND password='$password' AND activated='1'"); $login_check = mysql_num_rows($sql); $targetstats = mysql_query("SELECT SQL_NO_CACHE username, password, status FROM users WHERE username='$username'"); while($ts = mysql_fetch_array($targetstats)){ $username= $ts[0]; $pw = $ts[1]; $status = $ts[2]; } if($pw!=$password){ $message="Invalid username and password combination"; }elseif($login_check == 0 ){ $message="Invalid username and password combination"; }elseif($pw!=$password){ $message="Invalid username and password combination"; }elseif ($status == "Dead"){ echo "<SCRIPT LANGUAGE='JavaScript'>window.location='Dead.aspx';</script>"; }elseif ($status == "Banned"){ echo "<SCRIPT LANGUAGE='JavaScript'>window.location='Banned.aspx?busername=$username';</script>"; exit(); }else{ $_SESSION['username'] = $username; $_SESSION['password'] = $password; $now = time(); $domain = $_SERVER['REMOTE_ADDR']; mysql_query("UPDATE users SET r_ip='$domain' WHERE username='$username'"); $co = lookupIp(); mysql_query("UPDATE users SET realcount='$co' WHERE username='$username'"); echo "<META HTTP-EQUIV=\"Refresh\" CONTENT=\"0; URL=Auth.aspx\">"; } } } if(session_is_registered('username')){ $checkpassword = $_SESSION['password']; $checkusername = $_SESSION['username']; $checklogin = mysql_query("SELECT SQL_NO_CACHE id FROM users WHERE username='$checkusername' AND password='$checkpassword'"); $checkloginrows = mysql_num_rows($checklogin); if($checkloginrows > 0 ){ echo "<SCRIPT LANGUAGE='JavaScript'>window.location='Auth.aspx';</script>"; exit(); }else{ unset($_SESSION['username'],$_SESSION['password']); } } $timenow=time(); $select = mysql_query("SELECT SQL_NO_CACHE * FROM users WHERE online > '$timenow' ORDER by username"); $num = mysql_num_rows($select); ?> <html> <html><title>Mafia Elite</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="includes/in.css" rel="stylesheet" type="text/css"> </head> <form name="form2" method="post" action=""> <table width="632" height="759" border="0" cellpadding="0" cellspacing="0" align="center"> <td colspan="15" width="503" height="72" style="background: url(index_img/index_01.gif);" valign="top"><? echo"<font color=\"white\">$message</font>"; ?></td> <td colspan="7" rowspan="2"><img src="index_img/index_02.gif" width="128" height="77" border="0px"></td> <td><img src="index_img/spacer.gif" width="1" height="72" border="0px"></td> </tr> <tr> <td><img src="index_img/index_03.gif" width="44" height="5" border="0px"></td> <td colspan="6" rowspan="4"><input name="username" type="text" id="username" style="background: url(index_img/lu.gif); width:220; height:33;color:#ffffff;padding-left:5px;font-size:13px;text-decoration:none;border:0px;"></td> <td colspan="2" rowspan="5"><img src="index_img/index_05.gif" width="19" height="206" border="0px"></td> <td colspan="6" rowspan="3"><input name="password" type="password" id="password" style="background: url(index_img/lp.gif); width:220; height:32;border:0px;color:#ffffff;padding-left:5px;font-size:13px;text-decoration:none;"></td> </td> <td><img src="index_img/spacer.gif" width="1" height="5" border="0px"></td> </tr> <tr> <td rowspan="3"><img src="index_img/index_07.gif" width="44" height="28" border="0px"></td> <td rowspan="3"><img src="index_img/index_08.gif" width="13" height="28" border="0px"></td> <td colspan="4"><input name="login" type="submit" id="login" style="background: url(index_img/lb.gif); width:66px; height:25px;border:0px;" value=" "></td> <td colspan="2" rowspan="3"><img src="index_img/index_10.gif" width="49" height="28" border="0px"></td> <td><img src="index_img/spacer.gif" width="1" height="25" border="0px"></td> </tr> <tr> <td colspan="4" rowspan="2"><img src="index_img/index_11.gif" width="66" height="3" border="0px"></td> <td><img src="index_img/spacer.gif" width="1" height="2" border="0px"></td> </tr> <tr> <td colspan="6"><img src="index_img/index_12.gif" width="220" height="1" border="0px"></td> <td><img src="index_img/spacer.gif" width="1" height="1" border="0px"></td> </tr> <tr> <td colspan="3" rowspan="14"><img src="index_img/index_13.gif" width="171" height="559" border="0px"></td> <td colspan="4"><img src="index_img/index_14.gif" width="93" height="173" border="0px"></td> <td colspan="5"><img src="index_img/index_15.gif" width="185" height="173" border="0px"></td> <td colspan="8" rowspan="13"><img src="index_img/index_16.gif" width="163" height="557" border="0px"></td> <td><img src="index_img/spacer.gif" width="1" height="173" border="0px"></td> </tr> <tr> <td colspan="11" width="297" height="45" style="background: url(index_img/em.gif);border:0px;"><? echo"$message2"; ?></td> <td><img src="index_img/spacer.gif" width="1" height="45" border="0px"></td> </tr> <tr> <td colspan="11"><img src="index_img/index_18.gif" width="297" height="39" border="0px"></td> <td><img src="index_img/spacer.gif" width="1" height="39" border="0px"></td> </tr> <tr> <td rowspan="8"><img src="index_img/index_19.gif" width="42" height="224" border="0px"></td> <td colspan="9"><input name="reg_username" type="text" id="reg_username" style="background: url(index_img/du.gif); width:220px; height:31px;border:0px;color:#333333;padding-left:5px;font-size:13px;"> </td> <td rowspan="13"><img src="index_img/index_21.gif" width="35" height="304" border="0px"></td> <td><img src="index_img/spacer.gif" width="1" height="31" border="0px"></td> </tr> <tr> <td colspan="9"><img src="index_img/index_22.gif" width="220" height="28" border="0px"></td> <td><img src="index_img/spacer.gif" width="1" height="28" border="0px"></td> </tr> <tr> <td colspan="9"><input name="reg_password" type="text" id="reg_password" style="background: url(index_img/rp.gif); width:220px; height:31px;border:0px;color:#333333;padding-left:5px;font-size:13px;"></td> <td><img src="index_img/spacer.gif" width="1" height="31" border="0px"></td> </tr> <tr> <td colspan="9"><img src="index_img/index_24.gif" width="220" height="30" border="0px"></td> <td><img src="index_img/spacer.gif" width="1" height="30" border="0px"></td> </tr> <tr> <td colspan="9"><input name="email" type="text" id="email" style="background: url(index_img/re.gif); width:220px; height:31px;border:0px;color:#333333;padding-left:5px;font-size:13px;"></td> <td><img src="index_img/spacer.gif" width="1" height="31" border="0px"></td> </tr> <tr> <td colspan="9"><img src="index_img/index_26.gif" width="220" height="21" border="0px"></td> <td><img src="index_img/spacer.gif" width="1" height="21" border="0px"></td> </tr> <tr> <td rowspan="2"><img src="index_img/index_27.gif" width="29" height="52" border="0px"></td> <td colspan="7"><input name="register" type="submit" id="register" style="background: url(index_img/reb.gif); width:167px; height:30px;border:0px;color:#ffffff;padding-left:5px;font-size:13px;" value=" "></td> <td rowspan="7"><img src="index_img/index_29.gif" width="24" height="132" border="0px"></td> <td><img src="index_img/spacer.gif" width="1" height="30" border="0px"></td> </tr> <tr> <td colspan="7"><img src="index_img/index_30.gif" width="167" height="22" border="0px"></td> <td><img src="index_img/spacer.gif" width="1" height="22" border="0px"></td> </tr> <tr> <td colspan="3"><img src="index_img/index_31.gif" width="81" height="21" border="0px"></td> <td colspan="6" rowspan="4"><img src="index_img/index_32.gif" width="157" height="79" border="0px"></td> <td><img src="index_img/spacer.gif" width="1" height="21" border="0px"></td> </tr> <tr> <td colspan="3" rowspan="3"><img src="index_img/index_33.gif" width="81" height="58" border="0px"></td> <td><img src="index_img/spacer.gif" width="1" height="55" border="0px"></td> </tr> <tr> <td colspan="8"><img src="index_img/index_34.gif" width="163" height="2" border="0px"></td> <td><img src="index_img/spacer.gif" width="1" height="2" border="0px"></td> </tr> <tr> <td colspan="3"><img src="index_img/index_35.gif" width="171" height="1" border="0px"></td> <td colspan="4" rowspan="2"><img src="index_img/index_36.gif" width="50" height="2" border="0px"></td> <td colspan="4" rowspan="3"><img src="index_img/index_37.gif" width="113" height="5" border="0px"></td> <td><img src="index_img/spacer.gif" width="1" height="1" border="0px"></td> </tr> <tr> <td colspan="2" rowspan="6"><img src="index_img/index_38.gif" width="45" height="93" border="0px"></td> <td colspan="6" rowspan="2"><img src="index_img/lou.gif" width="220" height="4" border="0px"></td> <td colspan="4"><img src="index_img/index_40.gif" width="144" height="1" border="0px"></td> <td><img src="index_img/spacer.gif" width="1" height="1" border="0px"></td> </tr> <tr> <td colspan="3"><img src="index_img/index_41.gif" width="33" height="3" border="0px"></td> <td colspan="6" rowspan="4"><input name="lemail" type="text" id="lemail" style="background: url(index_img/loe.gif); width:219px; height:32px;border:0px;color:#ffffff;padding-left:5px;font-size:13px;"></td> <td rowspan="5"><img src="index_img/index_43.gif" width="1" height="92" border="0px"></td> <td><img src="index_img/spacer.gif" width="1" height="3" border="0px"></td> </tr> <tr> <td colspan="5" rowspan="2"><input name="user" type="text" id="user" style="background: url(index_img/lou-45.gif); width:219px; height:28px;border:0px;color:#ffffff;padding-left:5px;font-size:13px;"></td> <td colspan="3" rowspan="4"><img src="index_img/index_45.gif" width="33" height="89" border="0px"></td> <td rowspan="4"><img src="index_img/index_46.gif" width="1" height="89" border="0px"></td> <td rowspan="4"><img src="index_img/index_47.gif" width="15" height="89" border="0px"></td> <td colspan="2"><input name="lp" type="submit" id="lp" style="background: url(index_img/rem.gif); width:65px; height:25px;border:0px;color:#ffffff;padding-left:5px;font-size:13px;" value=" "></td> <td rowspan="4"><img src="index_img/index_49.gif" width="33" height="89" border="0px"></td> <td><img src="index_img/spacer.gif" width="1" height="25" border="0px"></td> </tr> <tr> <td colspan="2" rowspan="3"><img src="index_img/index_50.gif" width="65" height="64" border="0px"></td> <td><img src="index_img/spacer.gif" width="1" height="3" border="0px"></td> </tr> <tr> <td colspan="5" rowspan="2"><img src="index_img/index_51.gif" width="219" height="61" border="0px"></td> <td><img src="index_img/spacer.gif" width="1" height="1" border="0px"></td> </tr> <tr> <td colspan="6" width="219" height="60" style="background: url(index_img/index_52.gif);"><? echo"<font color=\"white\">$message3</font>"; ?></td> <td><img src="index_img/spacer.gif" width="1" height="60" border="0px"></td> </tr> <tr> <td><img src="index_img/spacer.gif" width="44" height="1" border="0px"></td> <td><img src="index_img/spacer.gif" width="1" height="1" border="0px"></td> <td><img src="index_img/spacer.gif" width="126" height="1" border="0px"></td> <td><img src="index_img/spacer.gif" width="42" height="1" border="0px"></td> <td><img src="index_img/spacer.gif" width="29" height="1" border="0px"></td> <td><img src="index_img/spacer.gif" width="10" height="1" border="0px"></td> <td><img src="index_img/spacer.gif" width="12" height="1" border="0px"></td> <td><img src="index_img/spacer.gif" width="1" height="1" border="0px"></td> <td><img src="index_img/spacer.gif" width="18" height="1" border="0px"></td> <td><img src="index_img/spacer.gif" width="14" height="1" border="0px"></td> <td><img src="index_img/spacer.gif" width="1" height="1" border="0px"></td> <td><img src="index_img/spacer.gif" width="111" height="1" border="0px"></td> <td><img src="index_img/spacer.gif" width="24" height="1" border="0px"></td> <td><img src="index_img/spacer.gif" width="35" height="1" border="0px"></td> <td><img src="index_img/spacer.gif" width="35" height="1" border="0px"></td> <td><img src="index_img/spacer.gif" width="13" height="1" border="0px"></td> <td><img src="index_img/spacer.gif" width="1" height="1" border="0px"></td> <td><img src="index_img/spacer.gif" width="1" height="1" border="0px"></td> <td><img src="index_img/spacer.gif" width="15" height="1" border="0px"></td> <td><img src="index_img/spacer.gif" width="49" height="1" border="0px"></td> <td><img src="index_img/spacer.gif" width="16" height="1" border="0px"></td> <td><img src="index_img/spacer.gif" width="33" height="1" border="0px"></td> <td></td> </tr> </table> <p align="center">* Site is best viewed in firefox *</p> </form> I need it so the bit where it says login and the user and password is on the left hand side and the register and so on is smaller and the image/s from behind register and everything gone and so its edited so i can add just one big image. Please help me.
-
Yeah it means they compatible with all browsers.
-
http://www.crime-city.co.uk i created all images myself just need a new layout if anyone can help me please help inbox me or post here.
-
Hey i do want a partnership please give me your email adddress and i will add you.
-
Email me if you can do it, then we will sort out what you want for the layout.
-
http://www.crime-city.co.uk if so i need a person who can help me advertise it also who can help with the website if you are interested inbox me.
-
The lad who owns it changed it back to http://www.crime-city.co.uk now and nice :) i will help if you want?
-
I have just joined this website and i like it does anyone have the scripts or want to make one like it? http://www.crime-city.co.uk/index23593.php thats the link what does everyone think?
-
tha thanks any idea which font to use instead? Also when you log into the website do you know how to add pictures for the background?
-
I can do the pictures for it in no time but i cant do the coding for it
-
just a quick question i have made some pictures for when you log in onto my website and i wanna put them onto my header any idea how?
-
http://www.crime-city.co.uk thats it when it is on.
-
i put the blood on last i didnt think lol and will do il make it darker but i cant show my propa designs because the files are to big :(
-
this isnt it looking its best by the way this is just a basic one on a transparent background so it should be black.
-
What does everyone think of the new login page well the .jpg i made for it?
-
Can you do it for me please so its all grey please mate, if you will so its like a grey layout
-
hey i need help with some themes for mccode v2 i need a new one does anyone have a free good one i can use and edit?
-
Can someone put this all grey please, as i dont know the colour codes for it :/ <?php class headers { function startheaders() { global $ir, $set; echo <<<EOF <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>{$set['game_name']}</title> <style type="text/css"> <!-- body { background-color: #DEDEDE; margin-top: 0px; margin-bottom: 0px; font-family:calibri, helvetica, arial, geneva, sans-serif;font-size:12px;color: black; scrollbar-base-color: #005B70; scrollbar-arrow-color: #F3960B; scrollbar-DarkShadow-Color: #000000; } a:visited,a:active,a:hover,a:link { color: black;text-decoration: none; } table,tr,td { font-family:helvetica, arial, geneva, sans-serif;font-size: 12px; } img { border:none; } textarea { font-family:helvetica, arial, geneva, sans-serif;font-size:12px;color: black; } .table2 { } .lgrad { background-image:url(lgrad.jpg); background-repeat:repeat-y; width:19px; } .linegrad { background-image:url(linegrad.PNG); background-repeat:repeat-y; background-align: center; width:2px; } .rgrad { background-image:url(rgrad.jpg); background-repeat:repeat-y; width:19px; } .dgrad { background-image:url(dgrad.jpg); background-repeat:repeat-x; height:38px; } .dgradl { background-image:url(dgradl.jpg); background-repeat:no-repeat; height:38px; width:38px; } .dgradr { background-image:url(dgradr.jpg); background-repeat:no-repeat; height:38px; width:38px; } .center { width:932px; background-color:#FFFFFF; vertical-align:top; text-align:center; } .table { background-color:#000000; } .table3 { background-color:#000000; } .table td { background-color:#DEDEDE; height:22px; } .table3 td { background-color:#CCCCCC; } td .alt { background-color:#EEEEEE; height:22px; } td .h { background-image:url(tablehgrad.png); background-repeat:repeat-x; font-weight: bold; background-color: #D6D6D6; } .table th { background-image:url(tablehgrad.png); background-repeat:repeat-x; font-weight: bold; background-color: #D6D6D6; } --> </style></head> <body> <center> <table width="970" border="0" cellpadding="0" cellspacing="0" class="table2"> <tr> <td class="lgrad"></td> <td class="center"> EOF; } function userdata($ir,$lv,$fm,$cm,$dosessh=1) { global $db,$c,$userid, $set; $IP = ($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; $db->query("UPDATE users SET laston=unix_timestamp(),lastip='$IP' WHERE userid=$userid"); if(!$ir['email']) { global $domain; die ("<body>Your account may be broken. Please mail help@{$domain} stating your username and player ID."); } if($dosessh && ($_SESSION['attacking'] || $ir['attacking'])) { print "You lost all your EXP for running from the fight."; $db->query("UPDATE users SET exp=0,attacking=0 WHERE userid=$userid"); $_SESSION['attacking']=0; } $enperc=(int) ($ir['energy']/$ir['maxenergy']*100); $wiperc=(int) ($ir['will']/$ir['maxwill']*100); $experc=(int) ( $ir['exp']/$ir['exp_needed']*100); $brperc=(int) ($ir['brave']/$ir['maxbrave']*100); $hpperc=(int) ($ir['hp']/$ir['maxhp']*100); $enopp=100-$enperc; $wiopp=100-$wiperc; $exopp=100-$experc; $bropp=100-$brperc; $hpopp=100-$hpperc; $d=""; $u=$ir['username']; if($ir['donatordays']) { $u = "<font color=red>{$ir['username']}</font>";$d="[img=donator.gif]"; } $gn=""; global $staffpage; $bgcolor = 'FFFFFF'; print <<<OUT [img=title.jpg] <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="20%" bgcolor="#$bgcolor" valign="top"> [b]Name:[/b] $gn{$u} [{$ir['userid']}] $d [b]Money:[/b] {$fm} [b]Level:[/b] {$ir['level']} [b]Crystals:[/b] {$ir['crystals']} [[url='logout.php']Emergency Logout[/url]] <hr /> [b]Energy:[/b] {$enperc}% <img src=greenbar.png width=$enperc height=10><img src=redbar.png width=$enopp height=10> [b]Will:[/b] {$wiperc}% <img src=bluebar.png width=$wiperc height=10><img src=redbar.png width=$wiopp height=10> [b]Brave:[/b] {$ir['brave']}/{$ir['maxbrave']} <img src=yellowbar.png width=$brperc height=10><img src=redbar.png width=$bropp height=10> [b]EXP:[/b] {$experc}% <img src=navybar.png width=$experc height=10><img src=redbar.png width=$exopp height=10> [b]Health:[/b] {$hpperc}% <img src=greenbar.png width=$hpperc height=10><img src=redbar.png width=$hpopp height=10> <hr /> OUT; if($ir['fedjail']) { $q=$db->query("SELECT * FROM fedjail WHERE fed_userid=$userid"); $r=$db->fetch_row($q); die("[b]<font color=red size=+1>You have been put in the {$set['game_name']} Federal Jail for {$r['fed_days']} day(s). Reason: {$r['fed_reason']}</font>[/b]</body></html>"); } if(file_exists('ipbans/'.$IP)) { die("[b]<font color=red size=+1>Your IP has been banned from {$set['game_name']}, there is no way around this.</font>[/b]</body></html>"); } } function menuarea() { global $ir,$c; $bgcolor = 'FFFFFF'; print '</td><td width="2" class="linegrad" bgcolor="#'.$bgcolor.'"></td><td width="80%" bgcolor="#'.$bgcolor.'" valign="top"> <center>'; if($ir['hospital']) { print "[b]NB:[/b] You are currently in hospital for {$ir['hospital']} minutes. "; } if($ir['jail']) { print "[b]NB:[/b] You are currently in jail for {$ir['jail']} minutes. "; } include("mainmenu1.php"); print "[url='donator.php'][b]Donate to {$set['game_name']} now for game benefits![/b][/url] "; } function smenuarea() { include "smenu.php"; global $ir,$c; $bgcolor = 'FFFFFF'; print '</td><td width="2" class="linegrad" bgcolor="#'.$bgcolor.'"></td><td width="80%" bgcolor="#'.$bgcolor.'" valign="top"><center>'; } function endpage() { global $db; print <<<OUT </center> </td> </tr> </table></td> <td class="rgrad"></td> </tr> <tr> <td colspan="3"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> <td class="dgradl"></td> <td class="dgrad"></td> <td class="dgradr"></td> </tr> </table> </td> </tr> </table> {$db->num_queries} queries</body> </html> OUT; } } ?>
-
I need a new explore.php that is good anyone got one if you have please post it here thanks.
-
hey thanks for that, also do you have the header converted for v2?