-
Posts
241 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by H4x0r666
-
so as a normal player you can just slap someone and take all his cash?!
-
okay good luck with that ;) if the splittext isnt working than just use ShadyCoco's answer^^
-
so let me get this right.. you want players to sent an question with an request to answer it or not.. or is it like an quest sort of thing.. im very sorry for the not understanding :( perhaps someone else does..
-
i dont really get what your saying.. if they are just questions players wanne ask.. then cant they do that with 'pm'?
-
i've done this a couple months back i think.. i did something with an if check (for example let your script check for.. if this player has name color 100 , 110 , 120, 130 etc (in the database) and if as example is 110 than let him make the names in the script that color... ehm hard to explain with the right codes atm but the idea is good, and just insert an table in your database players info place^^ .. maybe if someone does understand all im saying he could help you further now<.<
-
then what version are you at this moment using? 2.0 2.03 2.5(redux?) etc etc
-
nevermind i'll do it myself.. all i wanted to know was if there were sql queries for share on this forum .. like guns for mafia games and no images or stuff that worth alot at all just things that are already been given away.. like the free mods^^ since i've not readed this forum fully 100%.. i was just a little lazy since like everything is already done except the item names, descriptions etc.. and if there were available (database querys) i could easely edit those i didnt like .. but thanks for ruining topics on this forum.. not that it matters that much.. and that you were all negative.. (just in my head some of you are..) cuz of these replies topics will die out and etc.. ah why am i even bothering to explain it-.- admins.. you may close this thread/topic. sry for beeing negative myself<.<"
-
random person :D 100% right^^
-
just a question.. why being all so negative..? dont you have something better to do.. than actually help others on this forum-.- im just asking friendly if someone does got this sql query for me so i dont have to spend 4hours thinking of abilities and sh*t :P seriously think before you reply to newcomers and all those people.. if they ask something you could help with.. than answer.. if your answers are gonna be like ; Wow Crap this Crap that.. dont bother trying.. google this google that.. do it yourself ... bla bla.. jeez :) /im getting sick of all these negative , sarcastm users.. and i feel that it only get worser.. your answers^^ since i also say im getting sick of it.. so what.. shushhhh :P
-
its not images or something its just plain text.. just an items query i need to put in my database so i dont have to make them all by myself if someone is so friendly to share his.. (just like , item name , item description , powers , defense.. and that sort things you know..) ;) i dont see these simple things but could take some time and thinking and needing ideas to do it.. to be worth things you can buy mods with :P etc you know :D since mods are the real work ;)
-
aww i thought alot of you would already have an simple SQL Query with items etc ready to use .. just giving out for free to help other starters and so on.. but i guess not? and if someone does.. please let me know :D
-
This is maybe a lazy question but does someone got an SQL Query for me to use.. (with ehm.. already made items.. with prices, power, defense, etc..) ?? Would be nice xD
-
oh my god this looks so freakin nice :O
-
worked without error thanks ! :D you are the king :P
-
Okay i've also searched for sql_regcase on: http://www.php.net/manual/en/reference.pcre.pattern.posix.php and its saying: sql_regcase() | No equivalent and i've got this error: Deprecated: Function sql_regcase() is deprecated in /home/*****/public_html/globals.php on line 38 and this is the line from the error.. $val = preg_replace(sql_regcase("/(from|select|insert|delete|where|drop table|show tables|#|\*|--|\\\\)/"),"",$val); and it only seems to help if i remove the full sql_regcase so it would be: $val = preg_replace("/(from|select|insert|delete|where|drop table|show tables|#|\*|--|\\\\)/"); someone with a explaination or possible solution (and thanks by the way for showing me those sites since changing it to "preg_match ... / ... /i" is working
-
the code is not exactly the same since his problem was in the email part and mine is in the header '.php' as you see and also i am not an pro at this but i assume its like this? if(!preg_match("[\'|'/'\''<'>'*'~'`']",$ids_checkpost) || strstr($ids_checkpost,'union') || strstr($ids_checkpost,'java') || strstr($ids_checkpost,'script') || strstr($ids_checkpost,'substring(') || strstr($ids_checkpost,'ord()')){ only changing eregi or ereg to !preg_match ?? what exactly is the difference o.0 between this.. and eregi.. i havent tested this yet.. but let me know if this is also right^^ ? and make changes if not. thx
-
i also got an error like that.. ; Deprecated: Function eregi() is deprecated in /home/*****/public_html/header.php on line 55 this is line 55: if(eregi("[\'|'/'\''<'>'*'~'`']",$ids_checkpost) || strstr($ids_checkpost,'union') || strstr($ids_checkpost,'java') || strstr($ids_checkpost,'script') || strstr($ids_checkpost,'substring(') || strstr($ids_checkpost,'ord()')){ idk if its enough information but maybe someone over here got an fast fix for this ;)
-
absolute right xD
-
also i think the text must be brighter so its better & easier to read.. since its very hard to read now.. unless your using super glasses xD
-
ehm yes it does.. if i bought the window first xD then its absolute mine , but not made by me.. unless i change so much on it.. that you wouldnt recognize it.. so your not fully 100% right with that.
-
install.php <?php session_start(); ob_start(); function valid_email($email) { // First, we check that there's one @ symbol, and that the lengths are right if (!ereg("^[^@]{1,64}@[^@]{1,255}$", $email)) { // Email invalid because wrong number of characters in one section, or wrong number of @ symbols. return false; } // Split it into sections to make life easier $email_array = explode("@", $email); $local_array = explode(".", $email_array[0]); for ($i = 0; $i < sizeof($local_array); $i++) { if (!ereg("^(([A-Za-z0-9!#$%&'*+/=?^_`{|}~-][A-Za-z0-9!#$%&'*+/=?^_`{|}~\.-]{0,63})|(\"[^(\\|\")]{0,62}\"))$", $local_array[$i])) { return false; } } if (!ereg("^\[?[0-9\.]+\]?$", $email_array[1])) { // Check if domain is IP. If not, it should be valid domain name $domain_array = explode(".", $email_array[1]); if (sizeof($domain_array) < 2) { return false; // Not enough parts to domain } for ($i = 0; $i < sizeof($domain_array); $i++) { if (!ereg("^(([A-Za-z0-9][A-Za-z0-9-]{0,61}[A-Za-z0-9])|([A-Za-z0-9]+))$", $domain_array[$i])) { return false; } } } return true; } ?> <!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=utf-8"/> <title> Ravan Scripts - Mafia Game Installer v2.1 </title> <meta name="keywords" content="RPG, Online Games, Online Mafia Game" /> <meta name="description" content=" Ravan Scripts - Mafia Game Installer v2.1 " /> <meta name="author" content="Ravan Scripts " /> <meta name="copyright" content="Copyright Ravan Scripts " /> <link rel="SHORTCUT ICON" href="favicon.ico" /> <link rel="stylesheet" href="css/stylenew.css" type="text/css" /> <link rel='stylesheet' href='css/lightbox.css' type='text/css' media='screen' /> </head> <body> <div id="pagecontainer"> <!-- Header Part Starts --> <div class="headerpart"> <div ></div> <div class="toplist"> </div> </div> <!--<script language="JavaScript" type="text/javascript"> function countd(){ var wesinurodz= new Date("10/15/2009 13:30:00"); var wesinnow = new Date(); var wesinile = wesinurodz.getTime() - wesinnow.getTime(); var nday = Math.floor(wesinile / 86400000); if(nday<=0){nday=0;} var nhor = Math.floor((wesinile-nday*86400000)/3600000); if(nhor<=0){nhor=0;} var nmin = Math.floor((wesinile-nday*86400000-nhor*3600000)/60000); if(nmin<=0){nmin=0;} var nsec = Math.floor((wesinile-nday*86400000-nhor*3600000-nmin*60000)/1000); if(nsec<=0){nsec=0;} var ttttt = nday+' days '+nhor+' hours '+nmin+' minutes '+nsec+' seconds'; document.getElementById('countdown').innerHTML = ttttt; } setInterval("countd()",200); </script> --> <script type="text/javascript"> <!-- function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } function MM_nbGroup(event, grpName) { //v6.0 var i,img,nbArr,args=MM_nbGroup.arguments; if (event == "init" && args.length > 2) { if ((img = MM_findObj(args[2])) != null && !img.MM_init) { img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src; if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array(); nbArr[nbArr.length] = img; for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) { if (!img.MM_up) img.MM_up = img.src; img.src = img.MM_dn = args[i+1]; nbArr[nbArr.length] = img; } } } else if (event == "over") { document.MM_nbOver = nbArr = new Array(); for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) { if (!img.MM_up) img.MM_up = img.src; img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up); nbArr[nbArr.length] = img; } } else if (event == "out" ) { for (i=0; i < document.MM_nbOver.length; i++) { img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; } } else if (event == "down") { nbArr = document[grpName]; if (nbArr) for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; } document[grpName] = nbArr = new Array(); for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) { if (!img.MM_up) img.MM_up = img.src; img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up; nbArr[nbArr.length] = img; } } } //--> </script> <!-- //Header Part End --> <!-- Flash Part Starts --> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="1000" height="260" title="Ravan Scripts"> <param name="movie" value="images/mafia.swf" /> <param name="quality" value="high" /> <param name="wmode" value="Transparent" /> <embed src="images/mafia.swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="1000" height="260"></embed> </object> </div> <!-- //Falsh Part End --> <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.username; pw = document.login.password; sv = document.login.save; if (GetCookie('player') != null) { usr.value = GetCookie('username') 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('username', usr.value, expdate); SetCookie('password', pw.value, expdate); SetCookie('save', 'true', expdate); } if (sv[1].checked) { DeleteCookie('username'); DeleteCookie('password'); DeleteCookie('save'); } } else { alert('You must enter a username/password.'); return false; } } </script> <style type="text/css"> <!-- --> </style></head> <body onload="getme();"> <center> <div class='generalinfo_txt'> <div><img src='images/info_left.jpg' alt='' /></div> <div class='info_mid'><h2 style='padding-top:10px;'> Installer</h2></div> <div><img src='images/info_right.jpg' alt='' /></div> </div> <div class='generalinfo_simple'><br> <br><br> </script> <style type="text/css"> <!-- a:visited,a:active,a:hover,a:link { color: red;text-decoration: underline; font-weight: bold; } 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 { } .center { width:932px; background-color:#FFFFFF; vertical-align:top; text-align:center; } .table { background-color:#000000; } .table3 { background-color:#000000; } .table td { background-image: url("images/generalinfo_mid.jpg"); height:22px; } .table3 td { background-color:#CCCCCC; } td .alt { background-color:#EEEEEE; height:22px; } td .h { background-image:white; background-repeat:repeat-x; font-weight: bold; background-color: #D6D6D6; } .table th { background-image:white; background-repeat:repeat-x; font-weight: bold; background-color: #121212; } --> </style></head> <body onload="getme();"> <!-- Begin Main Content --> <?php switch($_GET['code']) { case "install": install(); break; case "config": config(); break; default: diagnostics(); break; } function menuprint($highlight) { $items=array( 'diag' => '1. Diagnostics', 'input' => '2. Configuration', 'sql' => '3. Installation & Extras', ); $c=0; print "<hr />"; foreach($items as $k => $v) { $c++; if($c > 1) { print " >> "; } if($k==$highlight) { print "<font color='green'>{$v}</font>"; } else { print "<font color='gray'>{$v}</font>"; } } print "<hr />"; } function diagnostics() { menuprint("diag"); if (version_compare(phpversion(), '4.1.2') < 0) { $pv="<font color='red'>Failed</font>"; $pvf=0; } else { $pv="<font color='green'>OK</font>"; $pvf=1; } if(is_writable('./')) { $wv="<font color='green'>OK</font>"; $wvf=1; } else { $wv="<font color='red'>Failed</font>"; $wvf=0; } if(function_exists('mysql_connect') || function_exists('mysqli_connect')) { $dv="<font color='green'>OK</font>"; $dvf=1; } else { $dv="<font color='red'>Failed</font>"; $dvf=0; } if(str_replace('install.php','',$_SERVER['SCRIPT_NAME']) == "/") { $av=" <font color='green'>OK</font> "; $avf=1; } else { $av="<font color='red'>Failed</font>"; $avf=0; } print " <br/> <h3>Basic Diagnostic Results:</h3> <table width='100%' class='table' cellspacing='1'> <tr> <td>PHP version >= 4.1.2</td> <td>{$pv}</td> </tr> <tr> <td>Game folder writable</td> <td>{$wv}</td> </tr> <tr> <td>MySQL support in PHP present</td> <td>{$dv}</td> </tr> <tr> <td>Game installed at root level of domain or subdomain</td> <td>{$av}</td> </tr> </table>"; if($pvf+$wvf+$dvf+$avf < 4) { print "<font color='red'>One of the basic diagnostics failed, so Setup cannot continue. Please fix the ones that failed and try again.</font><hr />"; } else { print "<br/><a href='install.php?code=config'><b> Next Step</b></a>"; } } function config() { menuprint("input"); print " <br/><h3>Configuration:</h3><br/> <center> <form action='install.php?code=install' method='post'> <table width='75%' class='table' cellspacing='1'> <tr> <th colspan='2'>Database Config</th> </tr> <tr> <td align='center'>MySQL Driver</td> <td><select name='driver' type='dropdown'>"; if(function_exists('mysql_connect')) { print "<option value='mysql'>MySQL Standard</option>"; } if(function_exists('mysqli_connect')) { print "<option value='mysql'>MySQLi Enhanced</option>"; } print "</select></td> </tr> <tr> <td align='center'>Hostname<br /> <small>This is usually localhost</small></td> <td><input type='text' name='hostname' value='localhost' /></td> </tr> <tr> <td align='center'>Username<br /> <small>The user must be able to use the database</small></td> <td><input type='text' name='username' value='' /></td> </tr> <tr> <td align='center'>Password</td> <td><input type='text' name='password' value='' /></td> </tr> <tr> <td align='center'>Database Name<br /> <small>The database should not have any other software using it.</small></td> <td><input type='text' name='database' value='' /></td> </tr> <tr> <th colspan='2'>Game Config</th> </tr> <tr> <td align='center'>Game Name</td> <td><input type='text' name='game_name' /></td> </tr> <tr> <td align='center'>Game Owner<br /> <small>This can be your nick, real name, or a company</small></td> <td><input type='text' name='game_owner' /></td> </tr> <tr> <td align='center'>Game Description<br /> <small>This is shown on the login page.</small></td> <td><textarea rows='6' cols='40' name='game_description'></textarea></td> </tr> <tr> <td align='center'>PayPal Address<br /> <small>This is where the payments for game DPs go. Must be at least Premier.</small></td> <td><input type='text' name='paypal' /></td> </tr> <tr> <th colspan='2'>Admin User</th> </tr> <tr> <td align='center'>Username</td> <td><input type='text' name='a_username' /></td> </tr> <tr> <td align='center'>Password</td> <td><input type='password' name='a_password' /></td> </tr> <tr> <td align='center'>Confirm Password</td> <td><input type='password' name='a_cpassword' /></td> </tr> <tr> <td align='center'>E-Mail</td> <td><input type='text' name='a_email' /></td> </tr> <tr> <td align='center'> Gender </td> <td><select name='a_gender' type='dropdown'> <option value='Male'>Male</option> if<option value='Female'>Female</option> </select></td> </tr> <tr> <td colspan='2' align='center'><input type='submit' value='Install' /></td> </tr> </table></form></center>"; } function install() { menuprint("sql"); if($_POST['a_password'] != $_POST['a_cpassword']) { print "The admin passwords did not match."; } else if(!valid_email($_POST['a_email'])) { print("<br/>Sorry, the email used for the admin user is invalid. <br/> <a href='install.php?code=config'>Back</a> "); } else if(!valid_email($_POST['paypal'])) { print("Sorry, the email used for the PayPal is invalid.<br/> <a href='install.php?code=config'>Back</a>"); } else if(strlen($_POST['a_username']) < 4) { die("Sorry, the admin username is too short.<br/> <a href='install.php?code=config'>Back</a>"); } else { print "Write Config...<br>"; $code=md5(rand(1,100000000000)); if(file_exists("config.php")) { unlink("config.php"); } $f=fopen("config.php", "w"); fwrite($f, "<?php \$_CONFIG = array( 'hostname' => '{$_POST['hostname']}', 'username' => '{$_POST['username']}', 'password' => '{$_POST['password']}', 'database' => '{$_POST['database']}', 'persistent' => 0, 'driver' => '{$_POST['driver']}', 'code' => '{$code}' ); ?>"); fclose($f); print "Config written.<br> Attempting DB connection<br>"; define('MONO_ON', 1); require "class/class_db_{$_POST['driver']}.php"; $db=new database; $db->configure($_POST['hostname'], $_POST['username'], $_POST['password'], $_POST['database'], 0); $db->connect(); $c=$db->connection_id; print "Connection Successful.<br> Writing Main MySQL data.<br>"; $fo=fopen("dbdata.sql","r"); $query=""; $lines=explode("\n",fread($fo,1024768)); fclose($fo); foreach($lines as $line) { if(!(strpos($line,"--") === 0) && trim($line) != "") //check for commented lines or blankies { $query.=$line; if(!(strpos($line,";") === FALSE)) { $db->query($query); $query=""; } } } print "Main MySQL data was written.<br /> Now write Extra MySQL data.<br />"; $username=$_POST['a_username']; $IP = $_SERVER['REMOTE_ADDR']; $IP=addslashes($IP); $IP=mysql_real_escape_string($IP); $IP=strip_tags($IP); $db->query("INSERT INTO users (username, display_pic, login_name, userpass, level, money, crystals, donatordays, user_level, energy, maxenergy, will, maxwill, brave, maxbrave, hp, maxhp, location, gender, signedup, email, bankmoney, lastip, lastip_signup) VALUES( '{$username}', 'http://{$_SERVER['HTTP_HOST']}/images/avatar.gif', '{$username}', md5('{$_POST['a_password']}'), 1, 100, 0, 0, 2, 12, 12, 100, 100, 5, 5, 100, 100, 1, '{$_POST['a_gender']}', unix_timestamp(), '{$_POST['a_email']}', -1, '$IP', '$IP')"); $i=$db->insert_id(); $db->query("INSERT INTO userstats VALUES($i, 10, 10, 10, 10, 10, 5)"); $db->query("INSERT INTO settings VALUES(NULL, 'game_name', '{$_POST['game_name']}')"); $db->query("INSERT INTO settings VALUES(NULL, 'game_owner', '{$_POST['game_owner']}')"); $db->query("INSERT INTO settings VALUES(NULL, 'paypal', '{$_POST['paypal']}')"); $db->query("INSERT INTO settings VALUES(NULL, 'game_description', '{$_POST['game_description']}')"); $path=$_SERVER['HTTP_HOST']; print " <style type='text/css'> .style1 { color: #008000; font-weight: bold; } </style> <span class='style1'>Installation Complete!</span><hr /> <br/> <center><strong><font color='red'>Warning:For Security Issues Please Delete the install.php file from script folder.</a> </font></strong></center><br> <center><strong><font color='#0000FF'><a href='login.php'>Click here to Login ..</a> </font></strong></center> <br/> <hr /> <u>Cron Info<br><br>Note: <br><br></u>Time based things will work only if the cron jobs has properly set up .<br><br>Time based things depends upon cron-jobs such as recovery time , jail function etc ,energy refill etc .<br><br /> <pre> */5 * * * * curl http://$path/cron_run_five.php<br /> * * * * * curl http://$path/cron_run_minute.php<br /> 0 * * * * curl http://$path/cron_run_hour.php<br /> 0 0 * * * curl http://$path/cron_run_day.php</pre> "; } } ?> </td> </tr> <tr> <td colspan="3"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> </tr> </table> </td> </tr> </table> </div><div><img src='images/generalinfo_btm.jpg' alt='' /></div><br></div></div></div></div></div> </body> </html> footer.php <?php print " <!-- Do Not Remove Powered By Ravan Scripts without permission . However, if you would like to use the script without the powered by links you may do so by purchasing a Copyright removal license for a very low fee. --> </table> <br> <br> <br> <br> <br> <br> <table width='982' border='0' align='center' cellpadding='0' cellspacing='0'> <div id='footerpart'> <div id='pagecontainer'> <div class='ifooter'> <br><br><br> <center> Copyright © 2010 {$_SERVER['HTTP_HOST']}, All Rights Reserved</center> <br> <center> Powered By Ravans <a href=http://ravan.info/_catalog/php_scripts/_mmorpg_game_script_v_1.2>Online Mafia Script</a> </center> <br> <br> <br> <br> <br> <center> <h3> Current Server Time: " .date ('F j, Y')." ".date('g:i:s a'). " </h3> </center> </div> </div> </table> </body> </html> </html> "; ?> and the last one.. license.php <?php if(!file_exists("config.php")) { die("Configuration file not found !"); } if(!file_exists("footer.php")) { die("Footer file not found !"); } if(!file_exists("lfooter.php")) { die("Footer file not found !"); } require "config.php"; ?> good luck with it :) incase these decoded files will be deleted.. feel free to pm me for an download link or such thing.. :)
-
staff.php <?php /************************************************************************************************** | Software Name : Ravan Scripts Online Mafia Game | Software Author : Ravan Soft Tech | Software Version : Version 2.0.1 Build 2101 | Website : http://www.ravan.info/ | E-mail : [email protected] |************************************************************************************************** | The source files are subject to the Ravan Scripts End-User License Agreement included in License Agreement.html | The files in the package must not be distributed in whole or significant part. | All code is copyrighted unless otherwise advised. | Do Not Remove Powered By Ravan Scripts without permission . |************************************************************************************************** | Copyright (c) 2010 Ravan Scripts . All rights reserved. |**************************************************************************************************/ include "sglobals.php"; //This contains general thingies switch($_GET['action']) { case 'basicset': basicsettings(); break; case 'announce': announcements(); break; case 'cmanual': cronmanual(); break; default: index(); break; } function basicsettings() { global $db,$ir,$c,$h,$userid,$set; if($ir['user_level'] != 2) { die("403"); } if($_POST['submit']) { unset($_POST['submit']); foreach($_POST as $k => $v) { $db->query("UPDATE `settings` SET conf_value='$v' WHERE conf_name='$k'"); } print "Settings updated!<br /> <a href='staff.php?action=basicset'>Back</a>"; stafflog_add("Updated the basic game settings"); } else { print " <div class='generalinfo_txt'> <div><img src='images/info_left.jpg' alt='' /></div> <div class='info_mid'><h2 style='padding-top:10px;'> Basic Settings</h2></div> <div><img src='images/info_right.jpg' alt='' /></div> </div> <div class='generalinfo_simple'><br> <br><br> <br> <form action='staff.php?action=basicset' method='post'> <input type='hidden' name='submit' value='1' /> Game Name: <input type='text' STYLE='color: black; background-color: white;' name='game_name' value='{$set['game_name']}' /><br /> Game Owner: <input type='text' STYLE='color: black; background-color: white;' name='game_owner' value='{$set['game_owner']}' /><br /> Game Description:<br /> <textarea rows='15' cols='55' name='game_description'>{$set['game_description']}</textarea><br /> Paypal Address: <input type='text' STYLE='color: black; background-color: white;' name='paypal' value='{$set['paypal']}' /><br /> Gym/Crimes Validation: <select name='validate_on' type='dropdown'>"; $opt=array( "1" => "On", "0" => "Off" ); foreach($opt as $k => $v) { if($k == $set['validate_on']) { print "<option value='{$k}' selected='selected'>{$v}</option>"; } else { print "<option value='{$k}'>{$v}</option>"; } } print "</select><br /> Validation Period: <select name='validate_period' type='dropdown'>"; $opt=array( "5" => "Every 5 Minutes", "15" => "Every 15 Minutes", "60" => "Every Hour", "login" => "Every Login" ); foreach($opt as $k => $v) { if($k == $set['validate_period']) { print "<option value='{$k}' selected='selected'>{$v}</option>"; } else { print "<option value='{$k}'>{$v}</option>"; } } print "</select><br /> Registration CAPTCHA: <select name='regcap_on' type='dropdown'>"; $opt=array( "1" => "On", "0" => "Off" ); foreach($opt as $k => $v) { if($k == $set['regcap_on']) { print "<option value='{$k}' selected='selected'>{$v}</option>"; } else { print "<option value='{$k}'>{$v}</option>"; } } print "</select><br /> Send Crystals: <select name='sendcrys_on' type='dropdown'>"; $opt=array( "1" => "On", "0" => "Off" ); foreach($opt as $k => $v) { if($k == $set['sendcrys_on']) { print "<option value='{$k}' selected='selected'>{$v}</option>"; } else { print "<option value='{$k}'>{$v}</option>"; } } print "</select><br /> Bank Xfers: <select name='sendbank_on' type='dropdown'>"; $opt=array( "1" => "On", "0" => "Off" ); foreach($opt as $k => $v) { if($k == $set['sendbank_on']) { print "<option value='{$k}' selected='selected'>{$v}</option>"; } else { print "<option value='{$k}'>{$v}</option>"; } } print "</select><br /> Energy Refill Price (crystals): <input type='text' STYLE='color: black; background-color: white;' name='ct_refillprice' value='{$set['ct_refillprice']}' /><br /> IQ per crystal: <input type='text' STYLE='color: black; background-color: white;' name='ct_iqpercrys' value='{$set['ct_iqpercrys']}' /><br /> Money per crystal: <input type='text' STYLE='color: black; background-color: white;' name='ct_moneypercrys' value='{$set['ct_moneypercrys']}' /><br /> Will Potion Item: ".item_dropdown($c, "willp_item", $set['willp_item'])."<br /> <input type='submit' STYLE='color: black; background-color: white;' value='Update Settings' /></form></div><div><img src='images/generalinfo_btm.jpg' alt='' /></div><br></div></div></div></div></div>"; } } function announcements() { global $db,$ir,$c,$h,$userid,$set; if($ir['user_level'] != 2) { die("403"); } if($_POST['text']) { $db->query("INSERT INTO announcements VALUES('{$_POST['text']}', unix_timestamp())"); $db->query("UPDATE users SET new_announcements=new_announcements+1"); print "Announcement added!<br /> > <a href='staff.php'>Back</a>"; stafflog_add("Added a new announcement"); } else { print " <div class='generalinfo_txt'> <div><img src='images/info_left.jpg' alt='' /></div> <div class='info_mid'><h2 style='padding-top:10px;'> Adding an announcement...</h2></div> <div><img src='images/info_right.jpg' alt='' /></div> </div> <div class='generalinfo_simple'><br> <br><br> Please try to make sure the announcement is concise and covers everything you want it to.<form action='staff.php?action=announce' method='post'> Announcement text:<br /> <textarea name='text' rows='10' cols='60'></textarea><br /> <input type='submit' STYLE='color: black; background-color: white;' value='Add Announcement' /></form></div><div><img src='images/generalinfo_btm.jpg' alt='' /></div><br></div></div></div></div></div>"; } } function cronmanual() { global $db,$ir,$c,$h,$userid,$set; if($ir['user_level'] != 2) { die("403"); } print " <div class='generalinfo_txt'> <div><img src='images/info_left.jpg' alt='' /></div> <div class='info_mid'><h2 style='padding-top:10px;'> Manual Cron Jobs</h2></div> <div><img src='images/info_right.jpg' alt='' /></div> </div> <div class='generalinfo_simple'><br> <br><br> <style type='text/css'> .style1 { color: #FF0000; } .style2 { text-decoration: underline; color: #008000; } </style> You can manually run cron jobs from here.<br><br> <span class='style1'><b>Warning</b></span>: Use only for testing. Statistics are updated every time you run a corresponding cron instead of time limit. <br><br> <a href='cron_srun_minute.php'>Run 1 Minute Cron Jobs</a> [ Updates Jail and Hospital Time ]<br><br> <a href='cron_srun_five.php'>Run 5 Minute Cron Jobs</a> [ Updates User Statistics ]<br><br> <a href='cron_srun_hour.php'>Run Hourly Cron Jobs</a> [ Updates Hourly Cron ]<br><br> <a href='cron_srun_day.php'>Run Daily Cron Jobs</a> [ Updates Daily Cron ]<br><br> <a href='battle_cron.php'>Run Battle Ladder Cron</a> [ Updates Battle Ladder Cron Job ] <br><br> Run Battle Ladder cron , every week , month or so ! <br>Running this job credit the table leader with cash and points and also reset the battle ladder for new tournament ! </div><div><img src='images/generalinfo_btm.jpg' alt='' /></div><br></div></div></div></div></div> "; } function index() { global $db,$ir,$c,$h,$userid,$set, $_CONFIG; $pv=phpversion(); $mv=$db->fetch_single($db->query("SELECT VERSION()")); $dv=$_CONFIG['driver']; if($ir['user_level']==2) { $versionno=2101; $version="2.1.01"; print " <div class='generalinfo_txt'> <div><img src='images/info_left.jpg' alt='' /></div> <div class='info_mid'><h2 style='padding-top:10px;'> Game Engine Information</h2></div> <div><img src='images/info_right.jpg' alt='' /></div> </div> <div class='generalinfo_simple'><br> <br><br> <table width='75%' cellspacing='1' class='table'> <tr> <th>PHP Version:</th> <td>$pv</td> </tr> <tr> <th>MySQL Version:</th> <td>$mv</td> </tr> <tr> <th>MySQL Driver:</th> <td>$dv</td> </tr> <tr> <th>Ravan's MMORPG Script </th> <td>2.1.01 (Build: 2101)</td> </tr> </table></div><div><img src='images/generalinfo_btm.jpg' alt='' /></div><br></div></div></div></div></div> <div class='generalinfo_txt'> <div><img src='images/info_left.jpg' alt='' /></div> <div class='info_mid'><h2 style='padding-top:10px;'> Last 10 Staff Actions</h2></div> <div><img src='images/info_right.jpg' alt='' /></div> </div> <div class='generalinfo_simple'><br> <br><br> <table width='90%' cellspacing='1' class='table'> <tr> <th>Staff</th> <th>Action</th> <th>Time</th> <th>IP</th> </tr>"; $q=$db->query("SELECT s.*, u.* FROM stafflog AS s LEFT JOIN users AS u ON s.user=u.userid ORDER BY s.time DESC LIMIT 10"); while($r=$db->fetch_row($q)) { print "<tr><td>{$r['username']} [{$r['user']}]</td> <td>{$r['action']}</td> <td>".date('F j Y g:i:s a', $r['time'])."</td> <td>{$r['ip']}</td></tr>"; } print "</table></div><div><img src='images/generalinfo_btm.jpg' alt='' /></div><br></div></div></div></div></div>"; } print " <div class='generalinfo_txt'> <div><img src='images/info_left.jpg' alt='' /></div> <div class='info_mid'><h2 style='padding-top:10px;'> Staff Notepad</h2></div> <div><img src='images/info_right.jpg' alt='' /></div> </div> <div class='generalinfo_simple'><br> <br><br>"; if($_POST['pad']) { $db->query("UPDATE settings SET conf_value='{$_POST['pad']}' WHERE conf_name='staff_pad'"); $set['staff_pad']=stripslashes($_POST['pad']); print "<b>Staff Notepad Updated!</b><hr />"; } print "<form action='staff.php' method='post'> <textarea rows='10' cols='60' name='pad'>".htmlspecialchars($set['staff_pad'])."</textarea><br /> <input type='submit' STYLE='color: black; background-color: white;' value='Update Notepad' /></form></div><div><img src='images/generalinfo_btm.jpg' alt='' /></div><br></div></div></div></div></div>"; } $h->endpage(); ?> there comes more xD
-
okay i've been searching in a different version of ravan.. also again.. idk if they work.. maybe testing later but here are the files i decoded for you.. (i hope thats all..) ;) core.php <?php session_start(); if(!file_exists("license.php")) { die("License Not Found !!"); } require "license.php"; include "language.php"; if (filesize("config.php") <= 150) { header("Location: install.php"); } global $_CONFIG; define("MONO_ON", 1); require "class/class_db_{$_CONFIG['driver']}.php"; $db=new database; $db->configure($_CONFIG['hostname'], $_CONFIG['username'], $_CONFIG['password'], $_CONFIG['database'], $_CONFIG['persistent']); $db->connect(); $c=$db->connection_id; $set=array(); $settq=$db->query("SELECT * FROM settings"); while($r=$db->fetch_row($settq)) { $set[$r['conf_name']]=$r['conf_value']; } $q=$db->query("SELECT userid FROM users"); $membs=$db->num_rows($q); $q=$db->query("SELECT userid FROM users WHERE bankmoney>-1"); $banks=$db->num_rows($q); $q=$db->query("SELECT userid FROM users WHERE gender='Male'"); $male=$db->num_rows($q); $q=$db->query("SELECT userid FROM users WHERE gender='Female'"); $fem=$db->num_rows($q); $total=0; // Users Online , Counts Users Online In Last 15 minutes $q=$db->query("SELECT * FROM users WHERE laston>unix_timestamp()-15*60 ORDER BY laston DESC"); $online=$db->num_rows($q); ?> lfooter.php <?php // Do Not Remove Powered By Ravan Scripts without permission . // However, if you would like to use the script without the powered by links you may do so by purchasing a Copyright removal license for a very low fee. print "<div class='footerpart'> <p><center>Game Copyright © 2010 {$_SERVER['HTTP_HOST']}. {$set['game_owner']}. Powered by Ravan's Online <a href=http://ravan.info/_catalog/php_scripts/_mmorpg_game_script_v_1.2>Mafia Script</a></p> </div> </body> </html> "; ?> smenu.php <?php /************************************************************************************************** | Software Name : Ravan Scripts Online Mafia Game | Software Author : Ravan Soft Tech | Software Version : Version 2.0.1 Build 2101 | Website : http://www.ravan.info/ | E-mail : [email protected] |************************************************************************************************** | The source files are subject to the Ravan Scripts End-User License Agreement included in License Agreement.html | The files in the package must not be distributed in whole or significant part. | All code is copyrighted unless otherwise advised. | Do Not Remove Powered By Ravan Scripts without permission . |************************************************************************************************** | Copyright (c) 2010 Ravan Scripts . All rights reserved. |**************************************************************************************************/ global $db,$c,$ir, $set; print " <div class='navi_mid'><ul> <br><li> <a class='link1' href='index.php'><b>Back To Game</b></a> </div><div><img src='images/navi_btm.gif' alt='' /></div></div> <div class='navipart'> <div class='navitop'> <p><h2><strong> General</strong></h2></p> </div> <div class='navi_mid'><ul> <li> <a class='link1' href='staff.php'>Index</a></li>"; if($ir['user_level']==2) { print " <li> <a class='link1' href='staff.php?action=basicset'>Basic Settings</a></li> <li> <a class='link1' href='staff.php?action=announce'>Add Announcement</a></li> <li> <a class='link1' href='staff.php?action=cmanual'>Manual Cron Jobs</a></li> </div><div><img src='images/navi_btm.gif' alt='' /></div></div> "; } if($ir['user_level'] <= 3) { print " <div class='navipart'> <div class='navitop'> <p><h2><strong> Users</strong></h2></p> </div> <div class='navi_mid'><ul> "; if($ir['user_level']==2) { print " <li> <a class='link1' href='staff_users.php?action=newuser'>Create New User</a></li> <li> <a class='link1' href='staff_users.php?action=edituser'>Edit User</a></li> <li> <a class='link1' href='staff_users.php?action=deluser'>Delete User</a></li>"; } print "<li> <a class='link1' href='staff_users.php?action=invbeg'>View User Inventory</a></li> <li> <a class='link1' href='staff_users.php?action=creditform'>Credit User</a></li>"; if($ir['user_level']==2) { print "<li> <a class='link1' href='staff_users.php?action=masscredit'>Mass Payment</a></li> <li> <a class='link1' href='staff_users.php?action=forcelogout'>Force User Logout</a></li>"; } print " <li> <a class='link1' href='staff_users.php?action=reportsview'>Player Reports</a></li> </div><div><img src='images/navi_btm.gif' alt='' /></div></div> "; print " <div class='navipart'><div class='navitop'><p><h2><strong> Items</strong></h2></p></div><div class='navi_mid'><ul> "; if($ir['user_level']==2) { print "<li> <a class='link1' href='staff_items.php?action=newitem'>Create New Item</a></li>"; } if($ir['user_level']==2) { print "<li> <a class='link1' href='staff_items.php?action=edititem'>Edit Item</a></li> <li> <a class='link1' href='staff_items.php?action=killitem'>Delete An Item</a></li> <li> <a class='link1' href='staff_items.php?action=newitemtype'>Add Item Type</a></li> "; } print "<li> <a class='link1' href='staff_items.php?action=giveitem'>Give Item To User</a></li> </div><div><img src='images/navi_btm.gif' alt='' /></div></div> "; } print " <div class='navipart'><div class='navitop'><p><h2><strong> Logs</strong></h2></p></div><div class='navi_mid'><ul> <li> <a class='link1' href='staff_logs.php?action=atklogs'>Attack Logs</a></li> <li> <a class='link1' href='staff_logs.php?action=cashlogs'>Cash Xfer Logs</a></li> <li> <a class='link1' href='staff_logs.php?action=cryslogs'>Crystal Xfer Logs</a></li> <li> <a class='link1' href='staff_logs.php?action=banklogs'>Bank Xfer Logs</a></li> <li> <a class='link1' href='staff_logs.php?action=itmlogs'>Item Xfer Logs</a></li>"; if($ir['user_level'] == 2) { print "<li> <a class='link1' href='staff_logs.php?action=stafflogs'>Staff Logs</a></li>"; } print " <li> <a class='link1' href='staff_logs.php?action=maillogs'>Mail Logs</a></li> </div><div><img src='images/navi_btm.gif' alt='' /></div></div> "; if($ir['user_level'] <= 3) { print " <div class='navipart'><div class='navitop'><p><h2><strong> Gangs</strong></h2></p></div><div class='navi_mid'><ul> <li> <a class='link1' href='staff_gangs.php?action=grecord'>Gang Record</a></li> <li> <a class='link1' href='staff_gangs.php?action=gcredit'>Credit Gang</a></li> <li> <a class='link1' href='staff_gangs.php?action=gwar'>Manage Gang Wars</a></li> <li> <a class='link1' href='staff_gangs.php?action=gedit'>Edit Gang</a></li> <li> <a class='link1' href='staff_gangs.php?action=gedel'>Delete Gang</a></li> </div><div><img src='images/navi_btm.gif' alt='' /></div></div> "; } if($ir['user_level']==2) { print " <div class='navipart'><div class='navitop'><p><h2><strong> Shops</strong></h2></p></div><div class='navi_mid'><ul> <li> <a class='link1' href='staff_shops.php?action=newshop'>Create New Shop</a></li> <li> <a class='link1' href='staff_shops.php?action=newstock'>Add Item To Shop</a></li> <li> <a class='link1' href='staff_shops.php?action=delshop'>Delete Shop</a></li> </div><div><img src='images/navi_btm.gif' alt='' /></div></div> <div class='navipart'><div class='navitop'><p><h2><strong> Polls</strong></h2></p></div><div class='navi_mid'><ul> <li> <a class='link1' href='staff_polls.php?action=spoll'>Start Poll</a></li> <li> <a class='link1' href='staff_polls.php?action=endpoll'>End A Poll</a></li> </div><div><img src='images/navi_btm.gif' alt='' /></div></div> <div class='navipart'><div class='navitop'><p><h2><strong> Jobs</strong></h2></p></div><div class='navi_mid'><ul> <li> <a class='link1' href='staff_jobs.php?action=newjob'>Make a new Job</a></li> <li> <a class='link1' href='staff_jobs.php?action=jobedit'>Edit a Job</a></li> <li> <a class='link1' href='staff_jobs.php?action=jobdele'>Delete a Job</a></li> <li> <a class='link1' href='staff_jobs.php?action=newjobrank'>Make a new Job Rank</a></li> <li> <a class='link1' href='staff_jobs.php?action=jobrankedit'>Edit a Job Rank</a></li> <li> <a class='link1' href='staff_jobs.php?action=jobrankdele'>Delete a Job Rank</a></li> </div><div><img src='images/navi_btm.gif' alt='' /></div></div> <div class='navipart'><div class='navitop'><p><h2><strong> Houses</strong></h2></p></div><div class='navi_mid'><ul> <li> <a class='link1' href='staff_houses.php?action=addhouse'>Add House</a></li> <li> <a class='link1' href='staff_houses.php?action=edithouse'>Edit House</a></li> <li> <a class='link1' href='staff_houses.php?action=delhouse'>Delete House</a></li> </div><div><img src='images/navi_btm.gif' alt='' /></div></div> <div class='navipart'><div class='navitop'><p><h2><strong> Cities</strong></h2></p></div><div class='navi_mid'><ul> <li> <a class='link1' href='staff_cities.php?action=addcity'>Add City</a></li> <li> <a class='link1' href='staff_cities.php?action=editcity'>Edit City</a></li> <li> <a class='link1' href='staff_cities.php?action=delcity'>Delete City</a></li> </div><div><img src='images/navi_btm.gif' alt='' /></div></div> <div class='navipart'><div class='navitop'><p><h2><strong> Forums</strong></h2></p></div><div class='navi_mid'><ul> <li> <a class='link1' href='staff_forums.php?action=addforum'>Add Forum</a></li> <li> <a class='link1' href='staff_forums.php?action=editforum'>Edit Forum</a></li> <li> <a class='link1' href='staff_forums.php?action=delforum'>Delete Forum</a></li> </div><div><img src='images/navi_btm.gif' alt='' /></div></div> <div class='navipart'><div class='navitop'><p><h2><strong> Courses</strong></h2></p></div><div class='navi_mid'><ul> <li> <a class='link1' href='staff_courses.php?action=addcourse'>Add Course</a></li> <li> <a class='link1' href='staff_courses.php?action=editcourse'>Edit Course</a></li> <li> <a class='link1' href='staff_courses.php?action=delcourse'>Delete Course</a></li> </div><div><img src='images/navi_btm.gif' alt='' /></div></div> <div class='navipart'><div class='navitop'><p><h2><strong> Crimes</strong></h2></p></div><div class='navi_mid'><ul> <li> <a class='link1' href='staff_crimes.php?action=newcrime'>Create New Crime</a></li> <li> <a class='link1' href='staff_crimes.php?action=editcrime'>Edit Crime</a></li> <li> <a class='link1' href='staff_crimes.php?action=delcrime'>Delete Crime</a></li> <li> <a class='link1' href='staff_crimes.php?action=newcrimegroup'>Create New Crime Group</a></li> <li> <a class='link1' href='staff_crimes.php?action=editcrimegroup'>Edit Crime Group</a></li> <li> <a class='link1' href='staff_crimes.php?action=delcrimegroup'>Delete Crime Group</a></li> <li> <a class='link1' href='staff_crimes.php?action=reorder'>Reorder Crime Groups</a></li> </div><div><img src='images/navi_btm.gif' alt='' /></div></div> <div class='navipart'><div class='navitop'><p><h2><strong> Battle Tent</strong></h2></p></div><div class='navi_mid'><ul> <li> <a class='link1' href='staff_battletent.php?action=addbot'>Add Challenge Bot</a></li> <li> <a class='link1' href='staff_battletent.php?action=editbot'>Edit Challenge Bot</a></li> <li> <a class='link1' href='staff_battletent.php?action=delbot'>Remove Challenge Bot</a></li> </div><div><img src='images/navi_btm.gif' alt='' /></div></div> <div class='navipart'><div class='navitop'><p><h2><strong> Battle Ladder</strong></h2></p></div><div class='navi_mid'><ul> <li> <a class='link1' href='staff_ladder.php?act=CreateLadder'>Create Ladder</a></li> <li> <a class='link1' href='staff_ladder.php?act=DeleteLadder'>Remove Ladder</a></li> </div><div><img src='images/navi_btm.gif' alt='' /></div></div> "; } print " <div class='navipart'><div class='navitop'><p><h2><strong> Punishments</strong></h2></p></div><div class='navi_mid'><ul> <li> <a class='link1' href='staff_punit.php?action=mailform'>Mail Ban User</a></li> <li> <a class='link1' href='staff_punit.php?action=unmailform'>Un-Mailban User</a></li> <li> <a class='link1' href='staff_punit.php?action=forumform'>Forum Ban User</a></li> <li> <a class='link1' href='staff_punit.php?action=unforumform'>Un-Forumban User</a></li> <li> <a class='link1' href='staff_punit.php?action=fedform'>Jail User</a></li> <li> <a class='link1' href='staff_punit.php?action=fedeform'>Edit Fedjail Sentence</a></li> <li> <a class='link1' href='staff_punit.php?action=unfedform'>Unjail User</a></li> <li> <a class='link1' href='staff_punit.php?action=ipform'>Ip Search</a></li> </div><div><img src='images/navi_btm.gif' alt='' /></div></div> "; if($ir['user_level']==2) { print " <div class='navipart'><div class='navitop'><p><h2><strong> Specials</strong></h2></p></div><div class='navi_mid'><ul> <li> <a class='link1' href='staff_special.php?action=editnews'>Edit Newspaper</a></li> <li> <a class='link1' href='staff_special.php?action=massmailer'>Mass mailer</a></li> <li> <a class='link1' href='staff_special.php?action=stafflist'>Staff List</a></li> <li> <a class='link1' href='staff_special.php?action=userlevelform'>Adjust User Level</a></li> <li> <a class='link1' href='staff_special.php?action=givedpform'>Give User Donator Pack</a></li>"; } print " <div class='navipart'><div class='navitop'><p><h2><strong> Staffs Online</strong></h2></p></div><div class='navi_mid'><ul> "; $q=$db->query("SELECT * FROM users WHERE laston>(unix_timestamp()-15*60) AND user_level>1 ORDER BY userid ASC"); while($r=$db->fetch_row($q)) { $la=time()-$r['laston']; $unit="secs"; if($la >= 60) { $la=(int) ($la/60); $unit="mins"; } if($la >= 60) { $la=(int) ($la/60); $unit="hours"; if($la >= 24) { $la=(int) ($la/24); $unit="days"; } } print "<br> <a href='viewuser.php?u={$r['userid']}'>{$r['username']}</a> ($la $unit)<br> </div><div><img src='images/navi_btm.gif' alt='' /></div></div>"; } ?>
-
i've found 3 domains xD mccodes.tk , ravan.info and mafiagamescript.net .. is this all ravan? haha
-
EDIT: Please delete this post.. and see my newer replies for the good scripts.. since i was decoding the wrong version^^