<?php
require_once '../core/system.php';
echo only_reg();
$header = 'Магазин';
require_once '../core/head.php';
$spis = mysql_query("SELECT * FROM `komplekt` order by `id` asc");
while($s = mysql_fetch_assoc($spis)){
echo'<a href="kompl.php?id='.$s['id'].'">'.$s['name'].'</a> (ур. '.($user['level']>=$s['lvl']?'<font color="green">':'<font color="red">').$s['lvl'].'</font>)<br/>';
}
echo'</div>';
include_once '../core/foot.php'?>
</div>
</body>
</html>