template <class T>
class Base {
protected:
int a;
int b;
int c;
};
template <class T>
class Derived : private Base<T> {
public:
Derived() {
a = 1;
b = 2;
c = 3;
}
};
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Порядок карт</title>
<style type="text/css">
.card IMG { position: relative; }
.seven { left: -120px; top: 25px; }
.ace { left: -240px; top: 50px; }
</style>
</head>
<body>
<p class="card">
<img src="images/3.png" alt="3" class="three" />
<img src="images/7.png" alt="7" class="seven" />
<img src="images/ace.png" alt="Туз" class="ace" />
</p>
</body>
</html>
.card IMG { position: relative; }
.seven { left: -120px; top: 25px; }
.ace { left: -240px; top: 50px; }
$db = mysqli_connect("localhost","root","","ns");
$result = mysqli_query($db, "SELECT email FROM `user` WHERE sub='1'");
$myrow = mysqli_fetch_assoc($result);
$subject = 'shop | Анонс новостей';
$body = '<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Email Newsletter</title>
</head>
<body>
Новая новость: <a href="'.get_permalink($post->ID).'">'.$post->post_title.'</a>
</body>
</html>';
$headers = ['Content-Type: text/html; charset=UTF-8'];
file_put_contents('text.txt',$myrow);
foreach($myrow as $row) {
wp_mail($row, $subject, $body, $headers );
}