-
Posts
443 -
Joined
-
Last visited
-
Days Won
20
Content Type
Profiles
Forums
Events
Everything posted by AdamHull
-
This script is leaked all over the Internet. And as far as I can remember the staff panel was not very secure and normal uses could use it with out even using sql/xss exploits
-
The new owner as far as I know is NonStopCoding mesagae him on here or on Skype am sure he will be willing to help
-
$activateCode = $_GET["activateCode"]; $user = $_GET["user"]; $activate = mysql_query("UPDATE `grpgusers` SET `verified` = `1` WHERE `activateCode` = '$activateCode' AND `username` = 'user_class->username'"); are you sure that the Colum name is user within the database? On my copy of GRPG it uses username instead of user
-
this is the first file <?php include "header.php"; mysql_query("UPDATE grpgusers SET rate=rate+1 WHERE username = '".$_GET['name']."'"); mysql_query("UPDATE grpgusers SET canrate=canrate-1 WHERE id=`id`='".$user_class->id."'"); $b = mysql_query("SELECT username,rate FROM grpgusers WHERE username='".$_GET['name']."'"); $a = mysql_fetch_array($b); echo "You have given 1 rating to ".$_GET['name']."! Their rating is now ".$a['rate']."!"; die(); if ($_GET['action'] == "take") { mysql_query("UPDATE grpgusers SET rate=rate-1 WHERE username ='".$_GET['name']."'"); mysql_query("UPDATE grpgusers SET canrate=canrate-1 WHERE id=`id`='".$user_class->id."'"); $b = mysql_query("SELECT username,rate FROM grpgusers WHERE username='".$_GET['u']."'"); $a = mysql_fetch_array($b); echo "You have taken 1 rating from '".$_GET['name']."'! Their rating is now '".$a['rate']."'!"; die(); }else{ echo "Unknown action!"; die(); } ; ?> here is the second code <?php $b = mysql_query("SELECT username,rate FROM grpgusers WHERE username='".$profile_class->username."'"); $a = mysql_fetch_array($b); if ($a['rate'] == 0) { echo "<font color='blue'>$a['rate']</font>"; }else if ($a['rate'] > 0) { echo "<font color='green'>$a['rate']</font>"; }else if ($a['rate'] < 0) { echo "<font color='red'>$a['rate']</font>"; } print "Rating: [<a href=giverate.php?name=$profile_class->username&action=take>-</a>] rate [<a href=giverate.php?name=$profile_class->username&action=give>+</a>]"; ?> </td></tr> <? if ($user_class->id != $profile_class->id){ die(); } ?> You will need to protect this as it is not very secure and users can vote over again but if you do need help pm me and i will give you my contact details
-
Try that I have amended your bbcode engine. You where replacing nothing for [br] or [/br] try that and see if that works if it does not I will have a look again when I get home
-
for your problem of you getting attacked add if ($ir['username'] == "your username here"){ echo "You can not attack this account"; die(); } just before the first $_GET if statement but change the username to your username.
-
What engine is this for? Grpg or v2?
-
Open to offers
-
Hello it has come to a point where I can no longer keep up with the running of my site so I am selling the layout of the site or possible the whole system if the price is right. The web site is wise-crime.org.uk this site was still under beta mode and in development please pm me for details
-
Good guy and amazing work :) just made me a new login/register/ingame layout will post screen shots soon
-
I have now gone into partnership with death on creating this and we together have done a mass overhaul on the game and have changed the domain to wise-crime.org.uk most bugs have been worked out and alot more time is being invested in the game
-
[ATTACH=CONFIG]1586[/ATTACH][ATTACH=CONFIG]1587[/ATTACH]This is my first mod I have released to the public and I am fairly pants at coding. So all feedback is welcome. It should be secure but it is not 100% tested Save this as addnews.php <? include "header.php"; if ($user_class->admin <1){ echo "You do not have permission to be here"; die(); include "footer.php"; } if ($_GET['post'] == 1){ echo "<font color=red>Successfully added a news article</font>"; $news = mysql_real_escape_string($_POST['news']); $title = mysql_real_escape_string($_POST['title']); $sql=mysql_query("INSERT INTO `news` (user, title, news, time) VALUES (\"$user_class->username\", \"$title\", \"$news\", \"".time()."\")"); } ?> <form method="post" action="addnews.php?post=1"> <table width="100%"> <tr> <td width="100%"> Add a news article</td> <tr> <td width="100">Title</td> <tr> <td><input name="title" type="text" id="title"></td> <tr> <td width="100">News</td> <tr> <td width=""><textarea name="news" cols="66" rows="5">Enter New News Here</textarea></td> </tr> <tr> <td width="100"> </td> <td> </td> </tr> <tr> <td align="center"> <input name="add" type="submit" id="add" value="Submit"> </td> </tr> <tr> <td>Rules</td> <tr> <td>The rules to use the newspaper are as follows: 1)No swearing<br> 2)Only game related info including updates<br> 3)No naming and shaming only good factors towards users<br> 4)Run a comp post it on here<br> </td> </table> </form> </td></tr> This next page you can call what ever you like as long as you remember to add it to the city or menu <? include "header.php"; include "bbcodes.php"; ?> <table class="contentcontent" width="100%"> <tr><td width="25%">Username</td><td width="25%">Title</td><td width="25%">News</td><td width="25%">Time</td> <? $sql= mysql_query("SELECT * FROM `news` ORDER BY `time` ASC LIMIT 15"); while($row= mysql_fetch_assoc($sql, MYSQL_ASSOC)) { ?> <table class="contentcontent" width="100%" height="100px"> <tr><td width=25%><? echo $row['user'];?></td><td width=25%><? echo $row['title'];?><td width="25%"><? echo $row['news'];?> <td width="25%"><? echo howlongago($row['time']);"</table>"?></td></table> <? } ?> The sql tables -- -- Table structure for table `news` -- CREATE TABLE IF NOT EXISTS `news` ( `id` int(10) NOT NULL AUTO_INCREMENT, `user` text COLLATE latin1_general_ci NOT NULL, `title` text COLLATE latin1_general_ci NOT NULL, `news` text COLLATE latin1_general_ci NOT NULL, `time` int(100) NOT NULL, UNIQUE KEY `id` (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=25 ;
-
Hello i am looking for quotes for someone to make me a mod for grpg which would be drive by shootings for gangs. Basically it will give the option for the user to select a drive and car and the choice of having two other people in the car Also it will have options to drive by other people like a rirvals gang member, a celeb, homeless person and so on please message me quotes on here or on skype my skpe is live:adamh_10
-
bought a mod off this guy and recived quickly and helped with the install Recomend [MENTION=70347]NonStopCoding[/MENTION]
-
Anybody have a organised crime script for grpg I could use ? Willing to pay :) add me on sykpe live:adamh_10
-
Back up and running
-
Check out my design. It is still a work in progress so please leave comments on how to improve :) http://wise-crime.org.uk
-
So i have a orginal copy on my pc so that means if i use it as it is under open source i will not got my site taken down as they can not put a price on it as it has been relased as open source. I like what i am hearing
-
I would like to know how much a licence for grpg is and how to get one as I would like to start developing a game on this engine after working with it for a few other sites I have really got a feel for it
-
And did the login and the new header. You added a menu bar, a logo and a background that's was all
-
FTP access logs[ATTACH=CONFIG]1467[/ATTACH] Ip tracer [ATTACH=CONFIG]1467[/ATTACH] Also same ip I use for this forum so if you care to have a look at it. Sure that should be enough proof
-
[ATTACH=CONFIG]1465[/ATTACH] Me asking him to look at new login I implemented [ATTACH=CONFIG]1466[/ATTACH] Changing content boxes to have rounded edges
-
I have asked for cron help for this site on the forum. The login and register is a free sourced template from the internet(will get link off laptop) The user account owner has my name as the clan tag. I can show you the ftp logs and also [ATTACH=CONFIG]1464[/ATTACH] Proof the hosting and URL is owned by me. Need anything else Skype screen shots to him? Maybe ?
-
So please lock and delete topic cheers guys :)
-
Thanks for all of these comments because it was me that redesigned the site and me that hosts it. Someone else just taking all the credit