HAYIRSEVER Olmadı hocam ya :(

$ads_ase = $advertisement_log_row['advertisement_base'];
$is_buyed_query = mysql_query("SELECT * FROM andesite_adsrice WHERE adsrice_username = '$user_nickname'");
$is_buyed_row = mysql_fetch_assoc($is_buyed_query);
$timeA = $is_buyed_row['adsrice_time'];
$timeB = date("d.m.Y H:i");
$timeDiff = strtotime($timeB) - strtotime($timeA);
if($timeDiff > $ads_time){
while($advertisement_log_row = mysql_fetch_array($advertisement_query)){
echo '

'.$advertisement_log_row['advertisement_id'].'
'.$advertisement_log_row['advertisement_title'].'
 '.ls_view.'

';
}
}