<?php
require_once 'core/system.php';
echo only_reg();
$header = 'Смайлы';
require_once 'core/head.php';
$aa = mysql_query("SELECT name,adres FROM `smiles` order by `id` desc");
while($ba = mysql_fetch_assoc($aa)){
echo $ba['name'].': <img src="'.$ba['adres'].'" alt="smile" /><br/>';
}
include_once 'core/foot.php';
?>
</div>
</body>
</html>