$p"; } $pmsgs=mysql_query("SELECT p.id,user$from u,date,t.title,msgread,name,sex,powerlevel FROM pmsgs p,pmsgs_text t,users u WHERE user$to=$u AND p.id=pid AND user$from=u.id ORDER BY p.id DESC LIMIT $pmin,$ppp"); $from[0]=strtoupper($from[0]); if(!$view) $viewlink="View sent messages"; else $viewlink="View received messages"; print " $header
$fonttag$boardname - Private messages: $msgtotal | $smallfont$viewlink | Send new message |