get_one("SELECT itemid FROM {$DT_PRE}404 WHERE addtime>$time AND url='$url'"); if(!$r) $db->query("INSERT INTO {$DT_PRE}404 (url,refer,robot,username,ip,addtime) VALUES ('$url','$refer','".get_robot()."','$_username','$DT_IP','$DT_TIME')"); } dhttp(404, $DT_BOT); $head_title = '404 Not Found'; if($EXT['mobile_enable']) $head_mobile = $EXT['mobile_url'].'404.php'; include template('404', 'message'); ?>