ok

this

{ // If it's a member
  if ($pun_config['o_avatars'] == '1' && $pun_user['show_avatars'] != '0')
    { // If the admin allowed members to use avatar AND member has an avatar
      if ($img_size = @getimagesize($pun_config['o_avatars_dir'].'/'.$pun_user['id'].'.gif'))
      $user_avatar = '<a href="profile.php?section=personality&id='.$pun_user['id'].'"><img src="'.$pun_config['o_avatars_dir'].'/'.$pun_user['id'].'.gif" '.$img_size[3].' alt="" /></a>';
      else if ($img_size = @getimagesize($pun_config['o_avatars_dir'].'/'.$pun_user['id'].'.jpg'))
      $user_avatar = '<a href="profile.php?section=personality&id='.$pun_user['id'].'"><img src="'.$pun_config['o_avatars_dir'].'/'.$pun_user['id'].'.jpg" '.$img_size[3].' alt="" /></a>';
      else if ($img_size = @getimagesize($pun_config['o_avatars_dir'].'/'.$pun_user['id'].'.png'))
      $user_avatar = '<a href="profile.php?section=personality&id='.$pun_user['id'].'"><img src="'.$pun_config['o_avatars_dir'].'/'.$pun_user['id'].'.png" '.$img_size[3].' alt="" /></a>';
    
  else

  // If the admin allowed members to use avatar AND member has NO avatar
  $user_avatar = '<a href="profile.php?section=personality&id='.$pun_user['id'].'">'.$lang_profile['No avatar'].'</a>';

}
}

thank TLP

My board can't show

// If the admin allowed members to use avatar AND member has NO avatar
  $user_avatar = '<a href="profile.php?section=personality&id='.$pun_user['id'].'">'.$lang_profile['No avatar'].'</a>';

Member no avatar      --> my board not show 'No avatar'

cool!

THANK!!! ^.^

my first page i'm try to used Integrate Login/Logout
box but
this code can't use in 1.2.17
i got logout problem

this


else {
echo "Logged in as: ".pun_htmlspecialchars($pun_user['username'])."<br> Last visit: ". format_time($pun_user['last_visit'])."
<br>Click <a href=\"./forum/login.php?action=out&id=".$pun_user['id']."\">Log out</a>";

}


^^.

sry my bad english sad

my first webpage i used last 10 topic

<?
include('http://localhost:81/food/forum/extern.php?action=new&show=10&fid=1'); 
?>

:)but  i want to put button <<<<        >>>>

how can i do   in this case


Thank.