$ppopenside $username PPPRINT; if ( $cuavatar ) { echo<<
$cuavatar

PPPRINT; } if ( $User['userid'] == $uid ) { if ( $Globals['usemsg'] == "yes" ) { echo<<
{$Globals['pp_lang']['mymessages']}

PPPRINT; } echo<<
{$Globals['pp_lang']['editprofile']}


{$Globals['pp_lang']['buddylist']}

PPPRINT; if ( $subcheck > 0 ) { echo<<
{$Globals['pp_lang']['listsubs']}

PPPRINT; } } echo<< $ppopenside
{$Globals['pp_lang']['profile']}


{$Globals['pp_lang']['stats']}


{$Globals['pp_lang']['photos']}


{$Globals['pp_lang']['favorites']}


{$Globals['pp_lang']['comments']}

PPPRINT; if ( $User['userid'] ) { if ( $Globals['usemsg'] == "yes" ) { echo<<
{$Globals['pp_lang']['sendmessage']}

PPPRINT; } if ( $buddylist ) { echo<<
$buddylist

PPPRINT; } } echo<< PPPRINT; if ( !$protype ) { include( "{$Globals['PP_PATH']}/{$Globals['TMPL_PATH']}/member.tmpl" ); } elseif ( $protype == 3 ) { echo<< {$Globals['pp_lang']['stats']} {$Globals['pp_lang']['numphotos']} $totalphotos PPPRINT; if ( $Globals['allowpost'] == "yes" && $Globals['dispcoms'] == "yes" ) { echo<< {$Globals['pp_lang']['numcoms']} $posttotal PPPRINT; } echo<< {$Globals['pp_lang']['numviews']} $totalviews {$Globals['pp_lang']['diskuse']} $diskspace {$Globals['pp_lang']['lastphotoup']} $photitle
PPPRINT; if ( $Globals['allowpost'] == "yes" && $Globals['dispcoms'] == "yes" ) { echo<< {$Globals['pp_lang']['lastcommentpo']} $comphotitle PPPRINT; } echo<< $ppopenside {$Globals['pp_lang']['forumprofile']} {$Globals['pp_lang']['forumclick']} $ppcloseside PPPRINT; } if ( $Globals['userdel'] == "yes" && $User['userid'] == $uid ) { echo<< $ppopenside {$Globals['pp_lang']['usercp']} {$Globals['pp_lang']['manage']} $ppcloseside PPPRINT; } if ( $User['adminedit'] == 1 ) { echo<< $ppopenside {$Globals['pp_lang']['adminopts']} {$Globals['pp_lang']['deleteall']} $ppcloseside PPPRINT; } if ( $catsub != "" ) { echo<<
$ppopenside {$Globals['pp_lang']['gallsub']} $catsub $ppcloseside PPPRINT; } if ( $notifysub != "" ) { echo<< $ppopenside {$Globals['pp_lang']['photonot']} $notifysub $ppcloseside PPPRINT; } } elseif ( $protype == 1 ) { display_gallery("latest", $uid, null, 4, 8, 1); display_gallery("most_views", $uid, null, 4, 8, 1); display_gallery("random", $uid, null, 4, 8, 1); } elseif ( $protype == 4 ) { display_gallery("favorites", $uid, null, 4, 32); } elseif ( $protype == 2 ) { if ( $comsfound > 0 ) { echo<< {$Globals['pp_lang']['recentcoms']} PPPRINT; for ( $x=0; $x < count($compal['comment']); $x++ ) { echo<< {$compal['comment'][$x]} {$compal['thumblink'][$x]} PPPRINT; } echo<< 0 ) { echo<< {$Globals['pp_lang']['recentmemb']} PPPRINT; for ( $x=0; $x < count($phopal['comment']); $x++ ) { echo<< {$phopal['comment'][$x]}
{$Globals['pp_lang']['by']} {$phopal['username'][$x]}
{$phopal['thumblink'][$x]} PPPRINT; } echo<< {$Globals['pp_lang']['invites']} {$Globals['pp_lang']['invitessent']} $finvites {$Globals['pp_lang']['invitesacc']} $faccepts $ppcloseside
PPPRINT; if ( $invitemsg ) { echo<< {$Globals['pp_lang']['invitemsg']} $invitemsg $ppcloseside
PPPRINT; } if ( $outstand ) { echo<< {$Globals['pp_lang']['inviteout']} PPPRINT; foreach( $outstand AS $oinvite ) { echo<< $oinvite[name] at $oinvite[email] [ {$Globals['pp_lang']['resend']} ] [ {$Globals['pp_lang']['delete']} ] $oinvite[date] $oinvite[status] PPPRINT; } echo<< PPPRINT; } if ( $acptd ) { echo<< {$Globals['pp_lang']['acceptedinv']} {$Globals['pp_lang']['lasttwozero']} $acptd $ppcloseside
PPPRINT; } echo<< $ppopenside {$Globals['pp_lang']['invitesend']} {$Globals['pp_lang']['invitewarn']} {$Globals['pp_lang']['invitename']} {$Globals['pp_lang']['inviteemail']} {$Globals['pp_lang']['inviteinclude']} $ppcloseside PPPRINT; } elseif ( $protype == 6 && $User['userid'] == $uid ) { if ( $msgtext ) { echo<< {$Globals['pp_lang']['note']} $msgtext $ppcloseside
PPPRINT; } if ( $showall ) { echo<< {$Globals['pp_lang']['allmessages']} PPPRINT; } else { echo<< {$Globals['pp_lang']['lastfifteen']} PPPRINT; } if ( $messages ) { for( $x=0; $x < count($messages); $x++ ) { echo<<
{$messages[$x]}

[ {$Globals['pp_lang']['favremove']} ] PPPRINT; } echo<< PPPRINT; if ( $showall ) { echo<<{$Globals['pp_lang']['showlast']} ] PPPRINT; } else { echo<<{$Globals['pp_lang']['showall']} ] PPPRINT; } echo<< [ {$Globals['pp_lang']['clearall']} ] PPPRINT; } else { echo<< {$Globals['pp_lang']['youhaveno']} PPPRINT; } echo<< $ppopenside {$Globals['pp_lang']['sendmessage']} {$Globals['pp_lang']['to']}: $sendname {$Globals['pp_lang']['message']}: $ppcloseside PPPRINT; } elseif ( $protype == 8 && $User['userid'] ) { echo<< {$Globals['pp_lang']['buddies']} PPPRINT; if ( $buddies ) { foreach( $buddies AS $buddy ) { echo<< $buddy PPPRINT; } } else { echo<< {$Globals['pp_lang']['buddyhelp']} PPPRINT; } echo<< PPPRINT; ?>