Re: Gang Crimes - Help Needed (Please Read)
Do you have the required amount of gang member's?
Try this:
print "<h3>Organised Crimes</h3>
<form action='yourgang.php?action=staff&act2=crimes' method='post'>Choose a crime that your gang should commit.
<select name='crime' type='dropdown'>";
$cnt=$db->query("SELECT username FROM users WHERE gang={$gangdata['gangID']}");
$membs=$db->num_rows($cnt);
$q=$db->query("SELECT * FROM orgcrimes WHERE ocUSERS <= $membs");
if(mysql_num_rows($q) == 0)
{
echo '<option value="">Not enough members</option>';
}
else
{
while($r=$db->fetch_row($q))
{
print "<option value='{$r['ocID']}'>{$r['ocNAME']} ({$r['ocUSERS']} members needed)</option>";
}
}
print "</select>
<input type='submit' value='Commit' /></form>";
}
}
Re: [mccode all] sql backup
Very rare to even interact with the passthru/exec/system func?
A visitor to your site should never be able to run such a command.
Re: [mccode all] sql backup
The escapeshellcmd() function is only necessary if the "user" is inputing a raw command. If the editor of the script or such is differntly using this. Then that should be his own fault if he screw's up the server.
Re: [MCCODE V2] User Competitions
You have a error in comps.php
Here is the fix:
<?php
include "globals.php";
$q=$db->("SELECT * FROM competitions ORDER BY id");
print"
<table class='table' cellspacing='1' width =75%>
<tr><th>Creator</th><th>Reward</th><th>Entry Fee</th><th>Entrys</th><th>Time Left (hours)</th><th>View</th></tr>";
while($r=$db->fetch_row($q))
{
print "
<tr>
<td>{$r['creator']}</td>
<td>{$r['rewardcash']}
{$r['rewardcrys']}</td>
<td>{$r['fee']}</td>
<td>{$r['entrys']}</td>
<td>{$r['time']}</td>
<td>[url='viewcomp.php?id={$r[']View[/url]</td>
</tr>
</td></tr>";
}
?>
Re: [Request] Gang Addon
Yet still. Gang's are not hacker's. And people on computer's. Gang's are criminal's who rob and stuff like that. Not computer people.
Re: New Banner
I have been looking for free vector's and brushe's. Just can't find any good one's.
You say your kid could even do it? Well i have not actualy seen any of your work. Yet you want to bring your kid into the story? Pfft.
Graffiti from dafont.com
Re: gang bugs
1.- Learn english.
2.- Who is "us"?
3.- Read first
3.1 => No where did he state he is having an error and you reply "i get the same problem".
4.- Search around the forum's there is already a fix.
And how much is the bet you are on co.cc or ej.am domain? ;)
Well i recently got cs3 back on this old computer. I used to have cs2 on my laptop. And now aquired cs3.
I made a simple banner. It's not quite finished yet. But i will be posting the final product while i go along creating it.
Here it is: