$getsql=$DB_site->query_first("SELECT * FROM post WHERE threadid='$threadid' ORDER BY postid ASC LIMIT 1");