Jump to content
MakeWebGames

L96A1

Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Everything posted by L96A1

  1. i only started coding yesterday :(
  2. i just edited and updated jail user.php so here it is   <?php include 'globals.php'; if($ir['user_level'] != 2 or 3 or 5) { echo 'You cannot jail users.'; } if($_POST['user']) { global $ir,$c,$h,$userid; $q=$db->query('SELECT * FROM users WHERE userid='.$_POST['user'].''); $them=$db->fetch_row($q); if($them['user_level'] == 2 || $them['user_level'] == 3 || $them['user_level'] == 5) { echo 'You cannot jail fellow staff.'; } $db->query('UPDATE users SET fedjail=1 WHERE userid='.$_POST['user'].''); $db->query('INSERT INTO fedjail VALUES('','.$_POST['user'].','.$_POST['days'].','.$userid.',''. mysql_real_escape_string('.$_POST['reason'].',$c)."')"); echo 'User jailed.'; $db->query('INSERT INTO jaillogs VALUES('','.$userid.', '.$_POST['user'].', '.$_POST['days'].', ''.$_POST['reason'].'',unix_timestamp())"); } else { global $ir,$c,$h,$userid; echo '<h3>Jailing User</h3>'; echo 'The user will be put in fed jail and will be unable to do anything in the game. '; echo'<form action="jailuser.php" method="post"> User: ".user_dropdown($c,"user",'.$_GET['userid'].')." Days: <input type="text" name="days"/> Reason: <input type="text" name="reason"/> <input type="submit" value="Jail User"/></form>'; } $h->endpage(); ?> rate please
  3. nice little add on
  4. L96A1

    mccode image

    hello can some one help me i need this image done and i carnt do it can some one help me image url : http://img411.imageshack.us/img411/2251/headerpe.png i need the your game name to be Destroying-City if can help please post
×
×
  • Create New...