|
this section of teh code does not deal with field 2 it desls with the user info nothing about fields
if( $vboptions['avatarenabled'] ) {
list( $cuser, $chomepage, $ctitle, $cposts, $regdate, $clocation, $conline, $csig, $avpath, $hasav, $avrev ) = mysql_fetch_row($results);
}
else {
list( $cuser, $chomepage, $ctitle, $cposts, $regdate, $clocation, $conline, $csig ) = mysql_fetch_row($results);
}
ppmysql_free_result( $results );
if ( $chomepage != "" ) {
$hpage = "<a href=\"$chomepage\" target=\"_blank\"><img src=\"{$Globals['idir']}/home.gif\" alt=\"Visit ".$cuser."'s homepage!\" border=\"0\" /></a>";
}
if ($conline == "") {
$isonline = "<img src=\"{$Globals['idir']}/vb2off.gif\" border=\"0\" alt=\"{$Globals['pp_lang']['offline']}\" align=\"absmiddle\" /> ";
}
else {
$isonline = "<img src=\"{$Globals['idir']}/vb2on.gif\" border=\"0\" alt=\"{$Globals['pp_lang']['online']}\" align=\"absmiddle\" /> ";
}
$userprofile[0] = $cuser; // Username
$userprofile[1] = $chomepage; // Homepage
$userprofile[2] = $cposts; // Total Posts
$userprofile[3] = $ctitle; // Title
$userprofile[4] = $regdate; // Registered Date
$userprofile[5] = $clocation; // Location
$userprofile[6] = ""; // Avatar
|