$z=$db->fass_c("SELECT COUNT(*) as count FROM `zc_file`"
;
echo '<a href="/zc">'.img('dload.png').' '.Language::config('zc').' <span>'.$z.'</span></a>';
if($z!=0){
$zc=$db->query("SELECT * FROM `zc_file` ORDER BY `pin` = '0', `hide` = '1', `time` DESC LIMIT 5"
;
while($z=$zc->fetch_assoc()){
echo '<a class="items topic" href="/zc/file'.$z['id'].'"><div class="times2"><img src="/files/zc/screen/'.$z['screen'].'" style="width: 100px; height: 70px;"/></div><span class="times">'.times($z['time']).'</span>'.file_icon($z['file']).' '.$z['name'].'</br>'.bb(smile(mb_strimwidth($z['opis'], 0, 100, "..."
)).'</a>';
}
}