<!doctype html>
<html>
<head>
<title>CSS Hover</title>
<link rel="stylesheet" href="hover.css">
</head>
<body>
<div class="container">
<span class="color-black">Black</span>
<span class="color-red">Red</span>
<span class="color-green">Green</span>
<div class="image"></div>
</div>
</body>
</html>
div.image {
width: 100px;
height: 75px;
}
span.color-black:hover ~ div.image {
background-image: url(black.png);
}
span.color-red:hover ~ div.image {
background-image: url(red.png);
}
span.color-green:hover ~ div.image {
background-image: url(green.png);
}
SELECT * FROM ((
SELECT id, user_id_posted, user_id as uid, type, `date`, content
FROM "post"
WHERE user_id = IN ( $array1 ) AND user_id_posted = user_id
LIMIT 20
) UNION (
SELECT id, user_id_posted, group_id as uid, type, `date`, content
FROM "userpost"
WHERE group_id = IN ( $array2 )
LIMIT 20
))
ORDER BY `date`
LIMIT 20
Bob -> сообщение -> канал передачи данных -> сообщение -> Maria
|
перехваченное сообщение
|
Jack