1329 // |
1332 // |
1330 |
1333 |
1331 // Basic user info |
1334 // Basic user info |
1332 |
1335 |
1333 echo '<tr><th class="subhead">' . $lang->get('userpage_heading_basics', array('username' => htmlspecialchars($target_username))) . '</th></tr>'; |
1336 echo '<tr><th class="subhead">' . $lang->get('userpage_heading_basics', array('username' => htmlspecialchars($target_username))) . '</th></tr>'; |
|
1337 |
|
1338 echo '<tr><td class="row1" style="text-align: center;">'; |
1334 if ( $userdata['user_has_avatar'] == '1' ) |
1339 if ( $userdata['user_has_avatar'] == '1' ) |
1335 { |
1340 { |
1336 echo '<tr><td class="row1" style="text-align: center;"><img alt="' . $lang->get('usercp_avatar_image_alt', array('username' => $userdata['username'])) . '" src="' . make_avatar_url(intval($userdata['authoritative_uid']), $userdata['avatar_type']) . '" /></td></tr>'; |
1341 echo '<img alt="' . $lang->get('usercp_avatar_image_alt', array('username' => $userdata['username'])) . '" src="' . make_avatar_url(intval($userdata['authoritative_uid']), $userdata['avatar_type']) . '" /><br />'; |
1337 } |
1342 } |
|
1343 // username |
|
1344 echo '<big><span style="' . $rank_data['rank_style'] . '">' . htmlspecialchars($target_username) . '</span></big><br />'; |
|
1345 // user title, if appropriate |
|
1346 if ( $rank_data['user_title'] ) |
|
1347 echo htmlspecialchars($rank_data['user_title']) . '<br />'; |
|
1348 // rank |
|
1349 echo htmlspecialchars($lang->get($rank_data['rank_title'])); |
|
1350 echo '</td></tr>'; |
1338 echo '<tr><td class="row3">' . $lang->get('userpage_lbl_joined') . ' ' . enano_date('F d, Y h:i a', $userdata['reg_time']) . '</td></tr>'; |
1351 echo '<tr><td class="row3">' . $lang->get('userpage_lbl_joined') . ' ' . enano_date('F d, Y h:i a', $userdata['reg_time']) . '</td></tr>'; |
1339 echo '<tr><td class="row1">' . $lang->get('userpage_lbl_num_comments') . ' ' . $userdata['n_comments'] . '</td></tr>'; |
1352 echo '<tr><td class="row1">' . $lang->get('userpage_lbl_num_comments') . ' ' . $userdata['n_comments'] . '</td></tr>'; |
1340 |
1353 |
1341 if ( !empty($userdata['real_name']) ) |
1354 if ( !empty($userdata['real_name']) ) |
1342 { |
1355 { |