"SELECT * FROM friends WHERE status = 0 AND ( user_id1 = ". $myrow ['id'] ." OR user_id2 = ". $myrow ['id'] . ")"
$result = mysql_query ("SELECT * FROM `users` WHERE `id` =",$id);
вместо запятой поставьте точку. @media screen and (max-width: 1023px) {
.block {
position: fixed;
display: none;
width: 50px;
height: 50px;
}
}