{% else-1 %}
Sakamsky * 11.59
(17 дек 2014, 17:50) (0/0) [0]
Мб

if(isset($ank['avatar'])) {

$id = abs(intval($_GET['id']));
$ank = mysql_fetch_assoc(mysql_query("SELECT * FROM `users` WHERE `id` = '".$id."'"*);

echo '<img src="'.$HOME.'/files/ava/'.$ank['avatar'].'" alt="*" style="max-width: 210px; max-height: 210px;">';
} else {

echo '<img style = "margin-right: 5px;" src="'.$HOME.'/design/img/no_avatar.png" alt="*" style="max-width: 210px; max-height: 210px;" class = "obv_img"/>';

}
  • 1 из 1