...

View Full Version : if you havesome free time look here!



johay
06-12-2006, 07:53 PM
if you have like alot free time say 2 hours a day an intrested in been a admin on this! (http://www.devaney-host.com/~mafia/mafia/logged_in.php) site look here!

alot bug's that main reason why i need one...

examle of a bug!

Username: "name"| Add to your friends list | Block
Status: Alive (Online - 0)
Wealth: wipes his *** with cash
Rank:
OC status: Ready
Getaway status: Ready
Order time: Can order
Register Date: 2006-06-11 08:06:58
Crew: None
Friends: None
Quote :

surposed to have the rank


<?php
session_start();
include "includes/db_connect.php";
include "includes/functions.php";
include"includes/smile.php";
logincheck();
$username=$_SESSION['username'];
$viewuser=$_GET['viewuser'];

$fetch=mysql_fetch_object(mysql_query("SELECT * FROM users WHERE username='$viewuser'"));
if (!$fetch){
echo "No such user";
exit();
}


?>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="includes/in.css" rel="stylesheet" type="text/css">
</head>
<embed src="<?php echo "".addslashes($fetch->music).""; ?>" width=0 height=0 play=true loop=true quality=high>
</embed>
<body>
<?php $donater=mysql_num_rows(mysql_query("SELECT * FROM donaters WHERE username='$viewuser'"));
if ($donater != "0"){
echo "
<a href=donate.php><img src=\"images/donater.gif\" border=0 style=\"position: absolute; top: 10px; right: 30px; filter:alpha(Opacity=90);\"></a>
";
}
?>
<table width="78%" border="1" align="center" cellpadding="3" cellspacing="3" bordercolor=#000000>
<tr >
<td colspan="2" class=header height="27" background="includes/grad.jpg">
<div align="center">Viewing
<?php echo "$viewuser"; ?>
's profile</div>
</td>
</tr>
<tr>
<td height="99" colspan="2">
<div align="center"><img src=<?php echo "$fetch->image"; ?>></div>
</td>
</tr>
<tr>
<td height="27" bgcolor="#666666" width="284">Username:</td>
<td width="284">
<?php echo "<a href='send.php?fromper=$viewuser'>$viewuser</a>"; ?>
| <a href="?friend=1&viewuser=<?php echo "$viewuser"; ?>">Add to your friends
list</a> | <a href="?block=1&viewuser=<?php echo "$viewuser"; ?>">Block
</a></td>
</tr>
<tr>
<td bgcolor="#666666" height="27">Status:</td>
<td>
<?php
$time_min=time() - (60 * 1);
$time_five=time() - (60 * 5);
$time_day=time() - (3600 * 24);
$time_week=time() - (3600 * 24 * 7);

if ($fetch->online > $time_min){
$state="Online";
}elseif ($fetch->online > $time_five){
$state="Idle";
}elseif ($fetch->online > $time_day){
$state="Offline for a while";
}elseif ($fetch->online > $time_week){
$state="Inactive";
}

echo "$fetch->status ($state - $fetch->choice)"; ?>
</td>
</tr>
<tr>
<td bgcolor="#666666" height="27">Wealth:</td>
<td>
<?php
if ($fetch->money >= "0" && $fetch->money < "5000"){ $wealth = "Tramp"; }
elseif ($fetch->money >= "5000" && $fetch->money < "10000"){ $wealth = "On the dole"; }
elseif ($fetch->money >= "10000" && $fetch->money < "50000"){ $wealth = "Piggy Bank"; }
elseif ($fetch->money >= "50000" && $fetch->money < "100000"){ $wealth = "Pocket Money"; }
elseif ($fetch->money >= "100000" && $fetch->money < "500000"){ $wealth = "Got some cash"; }
elseif ($fetch->money >= "500000" && $fetch->money < "2000000"){ $wealth = "rich"; }
elseif ($fetch->money >= "2000000" && $fetch->money < "5000000"){ $wealth = "swiming in cash"; }
elseif ($fetch->money >= "5000000" && $fetch->money < "10000000"){ $wealth = "Loaded!"; }
elseif ($fetch->money >= "10000000" && $fetch->money < "50000000"){ $wealth = "bill gates"; }
elseif ($fetch->money >= "50000000"){ $wealth = "wipes his *** with cash"; }
echo "$wealth";
?>
</td>
</tr>
<tr>
<td bgcolor="#666666" height="27">Rank:</td>
<td>
<?php echo "$fetch->rank"; ?>



</td>
</tr>
<tr>
<td bgcolor="#666666" height="27">OC status:</td>
<td>
<?php

$selects = mysql_query("SELECT * FROM users WHERE username = '$viewuser'");
$is = mysql_fetch_object($selects);
if ($is->last_oc > time()){
$status="Not ready";
}else{
$status="Ready";
}
echo "$status"; ?>
</td>
</tr>
<tr>
<td bgcolor="#666666" height="27">Getaway status:</td>
<td>
<?php

$selects_g= mysql_query("SELECT * FROM users WHERE username = '$viewuser'");
$is_g = mysql_fetch_object($selects_g);
if ($is_g->get_away_time > time()){
$status1="Not ready";
}else{
$status1="Ready";
}
echo "$status1"; ?>
</td>
</tr>
<tr>
<td bgcolor="#666666" height="27">Order time:</td>
<td>
<?php

$selects_gl= mysql_query("SELECT * FROM users WHERE username = '$viewuser'");
$is_gl = mysql_fetch_object($selects_gl);
if ($is_gl->last_order > time()){
$status1l="Cant order";
}else{
$status1l="Can order";
}
echo "$status1l"; ?>
</td>
</tr>
<tr>
<td bgcolor="#666666" height="27">Register Date:</td>
<td>
<?php echo "$fetch->regged"; ?>
</td>
</tr>
<tr>
<td bgcolor="#666666" height="27">Crew:</td>
<td>
<?php if ($fetch->crew == "0"){ echo "None"; }else{ echo "$fetch->crew"; } ?>
</td>
</tr>
<tr>
<td bgcolor="#666666" height="27">Friends:</td>
<td>
<?php
$ky=mysql_query("SELECT * FROM friends WHERE person='$viewuser' AND type='Friend'");
$g=mysql_num_rows($ky);
if ($g == "0"){ echo "None"; }
while($t=mysql_fetch_object($ky)){

echo "<a href='profile.php?viewuser=$t->username'>$t->username</a>, ";
}
?>
</td>
<tr>
<td colspan="2" valign="top" height="27" bgcolor="#666666">Quote :</td>
</tr>
<tr>
<td height="58" colspan="2" valign="top">
<?php echo "".replace($fetch->quote).""; ?>
</td>
</tr>
</table>
</body>
</html>



Also you would have acces to the cpanel so you can easyly see the .php and .htm flies...

if your intrested post below please....

Spookster
06-12-2006, 10:54 PM
So what is it you are asking for?

lavinpj1
06-12-2006, 11:02 PM
So what is it you are asking for?

I think it is someone to work for the site. If so, get your wallet out and go post in the paid work forum.

~Phil~

johay
06-12-2006, 11:18 PM
Damn,

and if it was my site i would prob pay for a programmer but it's a mate site who im helping n00bish script anyway's

/me goes to study some more .php :o



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum