PHP Code:
echo "<td class=\"boxedContent\">";
echo "<img class=\"bullet\" alt=\">\" src=\"themes/bullet1.gif\" align=\"middle\">";
echo "<a href=\"profile.php?action=main&who=$who\">View Profile</a><br/>";
if(cansee(getuid_sid($sid), $who))
echo "<img class=\"bullet\" alt=\">\" src=\"themes/bullet1.gif\" align=\"middle\">";
echo "<a href=\"inbox.php?action=sendpm&who=$who\">Send Message</a><br/>";
$uid = getuid_sid($sid);
if(budres($uid, $who)==0)
{
echo "<img class=\"bullet\" alt=\">\" src=\"themes/bullet1.gif\" align=\"middle\">";
echo "<a href=\"genproc.php?action=bud&who=$who&todo=add\">Add to buddy list</a><br/>";
}else if(budres($uid, $who)==1)
{
echo "Queued Buddy Requests<br/>";
}else if(budres($uid, $who)==2)
{
echo "<img class=\"bullet\" alt=\">\" src=\"themes/bullet1.gif\" align=\"middle\">";
echo "<a href=\"genproc.php?action=bud&who=$who&todo=del\">Remove From buddy list</a><br/>";
}
$ires = ignoreres($uid, $who);
if(es==2)
{
echo "<img class=\"bullet\" alt=\">\" src=\"themes/bullet1.gif\" align=\"middle\">";
echo "<a href=\"genproc.php?action=ign&who=$who&todo=del\">Remove From Ignore list</a><br/>";
}else if($ires==1)
{
echo "<img class=\"bullet\" alt=\">\" src=\"themes/bullet1.gif\" align=\"middle\">";
echo "<a href=\"genproc.php?action=ign&who=$who&todo=add\">Add to Ignore list</a><br/>";
}
echo "<br/>";
echo "<img class=\"bullet\" alt=\">\" src=\"themes/bullet1.gif\" align=\"middle\">";
echo "<a href=\"userfun.php?action=profile&who=$who\">Fun And Games</a><br/>";
////////////////////////////////////////
echo "</td>";
echo "</tr>";
echo "</table>";
}
}
Comment