<?php
$result = $link->query('SELECT * FROM `last_winners` WHERE `steamid`="'.$id.'" ORDER BY `id` DESC');
while ($user = mysqli_fetch_array($result, MYSQLI_ASSOC)) {
?>
<td style="text-align: center;"><img src="<?echo $user['item_img'];?>" style="width: 100px;"></td><td><?echo $user['item_name'];?></td><td><?echo $user['price'];?> руб.</td><td id="zakaz<?echo $user['id'];?>"><?echo $state;?>
<?php
}
?>
Route::set('users', '(users(/<id>))')
->defaults(array(
'controller' => 'users,
'action' => 'personalPage',
));