'.$lng['sentbox'].'' : ''.$lng['inbox'].''; //add skin variables $skin = array( 'lang'=>DefaultLang(), 'lname'=>$lng['message'], 'u_id'=>$result['u_n_id'], 'username'=>Topic::UserName($user['nick'], $user['rank']), 'userrank'=>User::UserRank($user['rank']), 'delete'=>'del', 'avatar'=>($user['avatar']!='') ? 'av' : '



', 'msgtext'=>Topic::PostText($result['message'],0,0), 'sig'=> ($user['sig']!='') ? '
------------------------
'.$user['sig'] : '', 'posts'=>$user['posts'], 'regdate'=>date('d-m-Y',$user['regdate']), 'lastvisit'=>date('d-m-Y',$user['lastvisit']), //labels 'lrank'=>$lng['lurank2'], 'llastvisit'=>$lng['lulastvisit'], 'lregdate'=>$lng['regdate2'], 'lposts'=>$lng['posts'], 'lno'=>$lng['no.'], 'lpinfo'=>$lng['postinfo'] ); $skin = array_push_assoc($skin,GenerateHeader($lng['show_message'].': '.$result['name'], ' > '.$folder.' > '.$lng['show_message'] .': '.$result['name'])); //do it! include('./skins/'.$default_skin.'/overall_header.tpl'); include('./skins/'.$default_skin.'/msgs_msg_body.tpl'); if(RANK=='2') { $skin['pa_link']=''.$lng['pa_link'].''; } else { $skin['pa_link']=''; } $stop = TimeGeneration(); $skin['queries'] = ShowQueries($start, $stop); include('./skins/'.$default_skin.'/overall_footer.tpl'); break; ?>