Compare commits
10 Commits
9cf60308fc
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
88d2e1bf6c | ||
|
|
47947dd13e | ||
|
|
1ef13a75a2 | ||
|
|
44b3fe2704 | ||
|
|
aee2ed7207 | ||
|
|
d8767e4c9d | ||
|
|
d82fbdaf8f | ||
|
|
4189d0e19f | ||
|
|
c033ac05d1 | ||
|
|
1ceb7ee85c |
@@ -79,17 +79,22 @@ set('noreply',
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
||||||
if ( $_SERVER['HTTP_HOST'] == 'vklan.argumenti.ru') {
|
//if ( $_SERVER['HTTP_HOST'] == 'vklan.argumenti.ru') {
|
||||||
db_config('argumentiru', 'mysql:host=mysql;dbname=argumentiru', 'root', '234ASasdYa56UIkol');
|
// db_config('argumentiru', 'mysql:host=mysql;dbname=argumentiru', 'root', '234ASasdYa56UIkol');
|
||||||
db_config('reader', 'mysql:host=mysql;dbname=argumentiru', 'root', '234ASasdYa56UIkol');
|
// db_config('reader', 'mysql:host=mysql;dbname=argumentiru', 'root', '234ASasdYa56UIkol');
|
||||||
db_config('chitatel', 'mysql:host=mysql;dbname=argumentiru', 'root', '234ASasdYa56UIkol');
|
// db_config('chitatel', 'mysql:host=mysql;dbname=argumentiru', 'root', '234ASasdYa56UIkol');
|
||||||
db_config('klan', 'mysql:host=mysql;dbname=argumentiru', 'root', '234ASasdYa56UIkol');
|
// db_config('klan', 'mysql:host=mysql;dbname=argumentiru', 'root', '234ASasdYa56UIkol');
|
||||||
}
|
//}
|
||||||
else {
|
//else {
|
||||||
db_config('argumentiru', 'mysql:host=mysql;dbname=argumentiru', 'newser', 'Chjk90yuiREY');
|
db_config('argumentiru', 'mysql:host=87.249.36.139;dbname=argumentiru', 'argumentiru', 'hjYu78kl*90-Uio23');
|
||||||
db_config('reader', 'mysql:host=mysql;dbname=argumentiru', 'reader', 'ghjyjkUIOhg56Fh');
|
db_config('reader', 'mysql:host=87.249.36.139;dbname=argumentiru', 'newser', 'Chjk90yuiREY');
|
||||||
db_config('chitatel', 'mysql:host=mysql;dbname=argumentiru', 'chitatel', 'hjYu78kl*90Uio');
|
db_config('chitatel', 'mysql:host=87.249.36.139;dbname=argumentiru', 'argumentiru', 'hjYu78kl*90-Uio23');
|
||||||
db_config('klan', 'mysql:host=mysql;dbname=argumentiru', 'klan', 'zpFGhyuRty765Jk');
|
db_config('klan', 'mysql:host=87.249.36.139;dbname=argumentiruu', 'argumentiru', 'hjYu78kl*90-Uio23');
|
||||||
}
|
|
||||||
|
//db_config('argumentiru', 'mysql:host=mysql;dbname=argumentiru', 'newser', 'Chjk90yuiREY');
|
||||||
|
//db_config('reader', 'mysql:host=mysql;dbname=argumentiru', 'reader', 'ghjyjkUIOhg56Fh');
|
||||||
|
//db_config('chitatel', 'mysql:host=mysql;dbname=argumentiru', 'chitatel', 'hjYu78kl*90Uio');
|
||||||
|
//db_config('klan', 'mysql:host=mysql;dbname=argumentiru', 'klan', 'zpFGhyuRty765Jk');
|
||||||
|
//}
|
||||||
|
|
||||||
// GRANT ALL PRIVILEGES ON argumentiru.* TO 'hitatel'@'%' IDENTIFIED BY 'hjYu78kl*90Uio'
|
// GRANT ALL PRIVILEGES ON argumentiru.* TO 'hitatel'@'%' IDENTIFIED BY 'hjYu78kl*90Uio'
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ require 'routes/anpay.php';
|
|||||||
require 'routes/sendmail.php';
|
require 'routes/sendmail.php';
|
||||||
require 'routes/report.php';
|
require 'routes/report.php';
|
||||||
require 'routes/generation.php';
|
require 'routes/generation.php';
|
||||||
|
require 'routes/push.php';
|
||||||
#lib
|
#lib
|
||||||
require 'libs/logsave.php';
|
require 'libs/logsave.php';
|
||||||
#api
|
#api
|
||||||
|
|||||||
@@ -311,16 +311,26 @@ h1 {
|
|||||||
color: white;
|
color: white;
|
||||||
font-size: 1.4em;
|
font-size: 1.4em;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
padding-left: 6px;
|
||||||
}
|
}
|
||||||
#stuff-bar a {
|
#stuff-bar a {
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
#zoomnav, #pagenav {
|
#zoomnav, #pagenav {
|
||||||
width: 45%;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#zoomnav{
|
||||||
|
width: 40%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#pagenav {
|
||||||
|
width: 60%;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#zoomnav div, #pagenav div {
|
#zoomnav div, #pagenav div {
|
||||||
margin-right: 15px;
|
margin-right: 15px;
|
||||||
}
|
}
|
||||||
@@ -359,6 +369,11 @@ h1 {
|
|||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.click-info{
|
||||||
|
font-size: .78em;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
.book_small{
|
.book_small{
|
||||||
position:relative;
|
position:relative;
|
||||||
}
|
}
|
||||||
@@ -483,6 +498,26 @@ input[type="email"],input[type="password"], input[type="text"], input[type="tel"
|
|||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.footer-text{
|
||||||
|
margin-top:10px;
|
||||||
|
background: white;
|
||||||
|
border: 1px solid #dcdcdc;
|
||||||
|
padding: 10px;
|
||||||
|
font-size: .8em;
|
||||||
|
line-height: 17px;
|
||||||
|
}
|
||||||
|
|
||||||
|
embed[type="application/pdf"] {
|
||||||
|
display: block;
|
||||||
|
width: 100vw;
|
||||||
|
height: 100vh;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@media screen and (max-width: 1260px) {
|
@media screen and (max-width: 1260px) {
|
||||||
.book_mini{
|
.book_mini{
|
||||||
font-size: .9em;
|
font-size: .9em;
|
||||||
@@ -596,9 +631,11 @@ input[type="email"],input[type="password"], input[type="text"], input[type="tel"
|
|||||||
margin-right: 0px;
|
margin-right: 0px;
|
||||||
}
|
}
|
||||||
#zoomnav, #pagenav {
|
#zoomnav, #pagenav {
|
||||||
width: 100%;
|
|
||||||
font-size: 1.3em;
|
font-size: 1.3em;
|
||||||
}
|
}
|
||||||
|
.zoomstatus{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
.firstpage{
|
.firstpage{
|
||||||
margin-right: 15px!important;
|
margin-right: 15px!important;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ function renderPage() {
|
|||||||
var el_title = document.getElementById('pdfprogress');
|
var el_title = document.getElementById('pdfprogress');
|
||||||
|
|
||||||
|
|
||||||
//el_title.innerHTML = 'Идет подготовка страницы ...';
|
el_title.innerHTML = 'Идет подготовка страницы ...';
|
||||||
|
|
||||||
pageRendering = true;
|
pageRendering = true;
|
||||||
// Using promise to fetch the page
|
// Using promise to fetch the page
|
||||||
@@ -34,6 +34,8 @@ function renderPage() {
|
|||||||
canvas.height = viewport.height;
|
canvas.height = viewport.height;
|
||||||
canvas.width = viewport.width;
|
canvas.width = viewport.width;
|
||||||
|
|
||||||
|
canvas.innerHTML = '';
|
||||||
|
|
||||||
// Render PDF page into canvas context
|
// Render PDF page into canvas context
|
||||||
var renderContext = {
|
var renderContext = {
|
||||||
canvasContext: context,
|
canvasContext: context,
|
||||||
@@ -50,7 +52,7 @@ function renderPage() {
|
|||||||
pageNumPending = null;
|
pageNumPending = null;
|
||||||
|
|
||||||
}
|
}
|
||||||
// el_title.innerHTML = '';
|
el_title.innerHTML = '';
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -172,18 +174,18 @@ function startpdfviewer(newcurr){
|
|||||||
}
|
}
|
||||||
|
|
||||||
var detect = new MobileDetect(window.navigator.userAgent);
|
var detect = new MobileDetect(window.navigator.userAgent);
|
||||||
var isOpera = window.opera | window.opr | ( navigator.userAgent.indexOf(' OPR/') > -1 ) | ( navigator.userAgent.indexOf(' Coast/') > -1 ) | ( navigator.userAgent.indexOf(' OPiOS/') > -1 );
|
//var isOpera = window.opera | window.opr | ( navigator.userAgent.indexOf(' OPR/') > -1 ) | ( navigator.userAgent.indexOf(' Coast/') > -1 ) | ( navigator.userAgent.indexOf(' OPiOS/') > -1 );
|
||||||
|
|
||||||
if (category == 1){
|
if (category == 1){
|
||||||
embed = false;
|
embed = false;
|
||||||
}
|
}
|
||||||
else if (category == 3){
|
else if (category == 3){
|
||||||
embed = true;
|
embed = false; //true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(isOpera){
|
//if(isOpera){
|
||||||
embed = true;
|
// embed = false;
|
||||||
}
|
//}
|
||||||
|
|
||||||
if (detect.phone()){
|
if (detect.phone()){
|
||||||
embed = false;
|
embed = false;
|
||||||
@@ -191,7 +193,8 @@ function startpdfviewer(newcurr){
|
|||||||
|
|
||||||
|
|
||||||
if (embed){
|
if (embed){
|
||||||
document.getElementById(pdfcanvas).innerHTML = '<embed src="'+ url +'" width="100%" type="application/pdf" style="height: 100vh;">';
|
//document.getElementById(pdfcanvas).innerHTML = '<embed src="'+ url +'" width="100%" type="application/pdf" style="height: 100vh;">';
|
||||||
|
document.getElementById(pdfcanvas).innerHTML = '<object data="'+ url +'" type="application/pdf" width="100%" height="100%" style="border: none;"><param name="toolbar" value="0"><param name="navpanes" value="0"><param name="view" value="FitH"></object>';
|
||||||
}
|
}
|
||||||
|
|
||||||
else {
|
else {
|
||||||
|
|||||||
@@ -240,7 +240,7 @@ function sendstatus_kuri(){
|
|||||||
|
|
||||||
$message = "Ваш заказ выполнен.<br/><br/>
|
$message = "Ваш заказ выполнен.<br/><br/>
|
||||||
Он будет всегда доступен в Вашем личном кабинете. <br/><br/>
|
Он будет всегда доступен в Вашем личном кабинете. <br/><br/>
|
||||||
Чтобы войти в КЛАН перейдите по ссылке - <a href='https://klan.argumenti.ru/login'>https://klan.argumenti.ru/login</a>. Введите свой логин и пароль. Если Вы еще не пользовались кабинетом создайте пароль, использую эту электронную почту. Если пароль забыли, воспользуйтесь опцией Забыли пароль, используя эту электронную почту.";
|
Чтобы войти в КЛАН перейдите по ссылке - <a href='https://klan.argumenti.ru/login'>https://klan.argumenti.ru/login</a>. Введите свой логин и пароль. Если Вы еще не пользовались кабинетом создайте пароль, используя эту электронную почту. Если пароль забыли, воспользуйтесь опцией Забыли пароль, используя эту электронную почту.";
|
||||||
$subject = "Аргументы Недели: заказ выполнен";
|
$subject = "Аргументы Недели: заказ выполнен";
|
||||||
$result = klanmail($order['buy_email'], $subject, $message, set('klanmail'));
|
$result = klanmail($order['buy_email'], $subject, $message, set('klanmail'));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -207,6 +207,13 @@ function read_kuri($hash, $page = 0, $promo = 'full', $version = null){
|
|||||||
$file = PDFSOURCE."${price['price_id']}.pdf";
|
$file = PDFSOURCE."${price['price_id']}.pdf";
|
||||||
$data = pdfs_init($file, $page);
|
$data = pdfs_init($file, $page);
|
||||||
|
|
||||||
|
if (!$data) {
|
||||||
|
$text = '<p>Книга временно недоступна. Просим прощение за неудобство</p>';
|
||||||
|
$tempcontent = $text; //подшаблон
|
||||||
|
include VIEWPATH.'layout.phtml'; //центральный шаблон
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if ($price['pages'] == 0){
|
if ($price['pages'] == 0){
|
||||||
$data['pages'] = pdfs_count($file);
|
$data['pages'] = pdfs_count($file);
|
||||||
$count = $data['pages'];
|
$count = $data['pages'];
|
||||||
@@ -283,8 +290,8 @@ function read_kuri($hash, $page = 0, $promo = 'full', $version = null){
|
|||||||
|
|
||||||
|
|
||||||
if ($page > 1) {
|
if ($page > 1) {
|
||||||
//$title = $price['pricename']." / $page стр.";
|
$title = $price['pricename']." / стр. $page - Аргументы Недели";
|
||||||
$title = $price['pricename'];
|
//$title = $price['pricename'];
|
||||||
$prevpage = $page - 1;
|
$prevpage = $page - 1;
|
||||||
$prevurl = "$baseurl$prevpage";
|
$prevurl = "$baseurl$prevpage";
|
||||||
if ($promo == 'full'){
|
if ($promo == 'full'){
|
||||||
@@ -299,7 +306,9 @@ function read_kuri($hash, $page = 0, $promo = 'full', $version = null){
|
|||||||
$htmlurl = "/readtext/$hash/$page/$promo";
|
$htmlurl = "/readtext/$hash/$page/$promo";
|
||||||
|
|
||||||
$tempcontent = VIEWPATH.'anpdf3.phtml'; //подшаблон
|
$tempcontent = VIEWPATH.'anpdf3.phtml'; //подшаблон
|
||||||
include VIEWPATH.'layout.phtml'; //центральный шаблон
|
include VIEWPATH.'layout_lite.phtml'; //центральный шаблон
|
||||||
|
|
||||||
|
//include $tempcontent;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,49 @@
|
|||||||
use PHPMailer\PHPMailer\PHPMailer;
|
use PHPMailer\PHPMailer\PHPMailer;
|
||||||
use PHPMailer\PHPMailer\Exception;
|
use PHPMailer\PHPMailer\Exception;
|
||||||
|
|
||||||
function sendmail($config, $mail){
|
|
||||||
|
function sendmail($config, $mail) {
|
||||||
|
ini_set('display_errors', 1);
|
||||||
|
ini_set('display_startup_errors', 1);
|
||||||
|
error_reporting(E_ALL);
|
||||||
|
|
||||||
|
$send = new PHPMailer(true);
|
||||||
|
|
||||||
|
try {
|
||||||
|
//$send->SMTPDebug = 2; // Включить отладку
|
||||||
|
//$send->Debugoutput = 'html';
|
||||||
|
|
||||||
|
$send->isSMTP();
|
||||||
|
$send->Host = 'mail.argumenti.ru';
|
||||||
|
$send->SMTPAuth = true;
|
||||||
|
$send->CharSet = 'UTF-8';
|
||||||
|
$send->Username = 'klan@mail.argumenti.ru';
|
||||||
|
$send->Password = 'Adfhj789-jkhgk6F';
|
||||||
|
$send->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS;
|
||||||
|
$send->Port = 587;
|
||||||
|
|
||||||
|
$send->setFrom('klan@mail.argumenti.ru', 'Аргументы Недели');
|
||||||
|
$send->addAddress($mail['mail'], $mail['mail']);
|
||||||
|
|
||||||
|
if (isset($mail['html'])) {
|
||||||
|
$send->isHTML(true);
|
||||||
|
} else {
|
||||||
|
$send->ContentType = 'text/plain';
|
||||||
|
$send->isHTML(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
$send->Subject = $mail['subject'];
|
||||||
|
$send->Body = $mail['message'];
|
||||||
|
|
||||||
|
return $send->send();
|
||||||
|
} catch (Exception $e) {
|
||||||
|
//echo "Ошибка отправки: {$e->getMessage()}";
|
||||||
|
echo '<p>К сожалению в данный момент письмо невозможно отправить.</p><p>Попробуйте позже.</p>';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function sendmail_old($config, $mail){
|
||||||
|
|
||||||
$send = new PHPMailer;
|
$send = new PHPMailer;
|
||||||
$send->isSMTP();
|
$send->isSMTP();
|
||||||
@@ -40,3 +82,5 @@ function sendmail($config, $mail){
|
|||||||
return $send->send();
|
return $send->send();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -42,6 +42,14 @@ function checkout_kuri($priceslug, $delivery_id = 1){
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$preorder = 0;
|
||||||
|
$current_date = date('Y-m-d H:i:s');
|
||||||
|
$datestart = $price_id['BeginDate'];
|
||||||
|
|
||||||
|
if (strtotime($datestart) > strtotime($current_date)) {
|
||||||
|
$preorder = 1; // Если дата из MySQL больше текущей, устанавливаем предзаказ = 1
|
||||||
|
}
|
||||||
|
|
||||||
# отправляем цену на форму в js
|
# отправляем цену на форму в js
|
||||||
if ($delivery_id == 1){ // тип товара = 1 (только электронная)
|
if ($delivery_id == 1){ // тип товара = 1 (только электронная)
|
||||||
$price = $price_id['price']; // электронный прайс
|
$price = $price_id['price']; // электронный прайс
|
||||||
@@ -63,6 +71,7 @@ function checkout_kuri($priceslug, $delivery_id = 1){
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# если пришла форма
|
# если пришла форма
|
||||||
if (count($_POST) > 0){
|
if (count($_POST) > 0){
|
||||||
|
|
||||||
@@ -159,10 +168,10 @@ function checkout_kuri($priceslug, $delivery_id = 1){
|
|||||||
|
|
||||||
$price = $price * $count;
|
$price = $price * $count;
|
||||||
|
|
||||||
$delivery = db_get("SELECT * FROM `delivery` WHERE `delivery_id` = '$delivery_id' LIMIT 1");
|
$curr_delivery = db_get("SELECT * FROM `delivery` WHERE `delivery_id` = '$delivery_id' LIMIT 1");
|
||||||
|
|
||||||
if (isset($delivery['delivery_id']) and $delivery['delivery_price'] !== '0.00' ) {
|
if (isset($curr_delivery['delivery_id']) and $curr_delivery['delivery_price'] !== '0.00' ) {
|
||||||
$price = $price + $delivery['delivery_price'] ;
|
$price = $price + $curr_delivery['delivery_price'] ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -212,7 +221,7 @@ function checkout_kuri($priceslug, $delivery_id = 1){
|
|||||||
else { # заказ создался
|
else { # заказ создался
|
||||||
|
|
||||||
|
|
||||||
if ( $delivery_id == 1){
|
if ( $delivery_id == 1 or $preorder == 1){
|
||||||
//уводим на оплату онлайн в Юкассу
|
//уводим на оплату онлайн в Юкассу
|
||||||
return anpay_kuri($order_id);
|
return anpay_kuri($order_id);
|
||||||
}
|
}
|
||||||
@@ -246,7 +255,7 @@ function checkout_kuri($priceslug, $delivery_id = 1){
|
|||||||
Наименование: {$price_id['pricename']}<br>
|
Наименование: {$price_id['pricename']}<br>
|
||||||
Цена: {$price_id['offline_price']}<br>
|
Цена: {$price_id['offline_price']}<br>
|
||||||
Кол-во: $count<br>
|
Кол-во: $count<br>
|
||||||
Доставка: {$delivery_id['delivery']}<br>
|
Доставка: {$delivery['delivery']}<br>
|
||||||
Сумма заказа: $price руб.<br>
|
Сумма заказа: $price руб.<br>
|
||||||
Оплата: при получении<br>
|
Оплата: при получении<br>
|
||||||
E-mail: {$add['buy_email']}<br>
|
E-mail: {$add['buy_email']}<br>
|
||||||
@@ -270,6 +279,8 @@ function checkout_kuri($priceslug, $delivery_id = 1){
|
|||||||
$submit_link = SITE."checkout/$priceslug";
|
$submit_link = SITE."checkout/$priceslug";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$tempcontent = VIEWPATH.'checkout.phtml';
|
$tempcontent = VIEWPATH.'checkout.phtml';
|
||||||
include VIEWPATH.'layout_pay.phtml';
|
include VIEWPATH.'layout_pay.phtml';
|
||||||
|
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ function addhash_kuri(){
|
|||||||
$hash = md5("$id$date");
|
$hash = md5("$id$date");
|
||||||
$usql = "UPDATE `price` SET `pricehash` = '$hash' WHERE `price_id` = '$id'";
|
$usql = "UPDATE `price` SET `pricehash` = '$hash' WHERE `price_id` = '$id'";
|
||||||
|
|
||||||
dbl_get($usql, 'reader');
|
dbl_get($usql, 'argumentiru');
|
||||||
|
|
||||||
echo $usql."\n";
|
echo $usql."\n";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,8 +9,80 @@
|
|||||||
nexturl = '<?=$nexturl?>?ver=2',
|
nexturl = '<?=$nexturl?>?ver=2',
|
||||||
newcurr ='<?=$newcurr?>?ver=2',
|
newcurr ='<?=$newcurr?>?ver=2',
|
||||||
prevurl = '<?=$prevurl?>?ver=2';
|
prevurl = '<?=$prevurl?>?ver=2';
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
<div id="the-canvas">
|
||||||
|
<div id="pdfprogress"></div>
|
||||||
|
<noscript>
|
||||||
|
<embed src="<?=$pdfile?>" width="100%" type="application/pdf" style="height: 100vh;">
|
||||||
|
</noscript>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script>startpdfviewer(newcurr);
|
||||||
|
|
||||||
|
var canvasDiv = document.getElementById('the-canvas');
|
||||||
|
|
||||||
|
canvasDiv.addEventListener('click', function() {
|
||||||
|
window.location.href = nexturl;
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
canvasDiv.addEventListener('contextmenu', function(event) {
|
||||||
|
event.stopPropagation();
|
||||||
|
window.location.href = prevurl;
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<p class="click-info"><i class="fa fa-mouse-pointer" aria-hidden="true"></i> кликайте чтобы листать страницы</p>
|
||||||
|
|
||||||
|
<div id="stuff-bar">
|
||||||
|
|
||||||
|
<a href="<?=SITE?>"><i class="fas fa-home"></i></a>
|
||||||
|
|
||||||
|
<div id="zoomnav">
|
||||||
|
<div id="title_minus" onclick="resize_minus()">
|
||||||
|
<span><i class="fas fa-search-minus"></i></span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="title_plus" onclick="resize_plus()">
|
||||||
|
<span><i class="fas fa-search-plus"></i></span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="pagenav">
|
||||||
|
<?if (isset($prevurl)):?>
|
||||||
|
<div class="firstpage">
|
||||||
|
<a href="<?=$baseurl?>1">
|
||||||
|
<i class="fas fa-angle-double-left"></i>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="navpage"><a href="<?=$prevurl?>"><i class="fas fa-chevron-circle-left"></i></a></div>
|
||||||
|
<?endif?>
|
||||||
|
|
||||||
|
<div id="currpage">
|
||||||
|
<select id="pages" onchange="changepage()">
|
||||||
|
<?for ($i = 1; $i <= $count; $i++):?>
|
||||||
|
<?$selected = ($page == $i) ? ' selected' : ''?>
|
||||||
|
<option value="<?=$i?>"<?=$selected?>><?=$i?></option>
|
||||||
|
<?endfor?>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?if (isset($nexturl)):?>
|
||||||
|
<div class="navpage"><a href="<?=$nexturl?>"><i class="fas fa-chevron-circle-right"></i></a></div>
|
||||||
|
<?if (isset($endurl)):?>
|
||||||
|
<div class="navpage"><a href="<?=$endurl?>"><i class="fas fa-angle-double-right"></i></a></div>
|
||||||
|
<?endif?>
|
||||||
|
<?endif?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<p id="downloadtitle">
|
<p id="downloadtitle">
|
||||||
<?if ($promo == 'pr'):?>
|
<?if ($promo == 'pr'):?>
|
||||||
<a href="https://argumenti.ru/robomail/486?utm_source=argumenti.ru&utm_medium=subscript&utm_campaign=promo" target="_blank">Получайте «Газету на @email»</a>
|
<a href="https://argumenti.ru/robomail/486?utm_source=argumenti.ru&utm_medium=subscript&utm_campaign=promo" target="_blank">Получайте «Газету на @email»</a>
|
||||||
@@ -25,81 +97,6 @@
|
|||||||
<?endif?>
|
<?endif?>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div id="stuff-bar">
|
|
||||||
<div id="zoomnav">
|
|
||||||
<div id="title_minus" onclick="resize_minus()">
|
|
||||||
<span><i class="fas fa-search-minus"></i></span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="zoomstatus_up" class="zoomstatus">100%</div>
|
|
||||||
|
|
||||||
<div id="title_plus" onclick="resize_plus()">
|
|
||||||
<span><i class="fas fa-search-plus"></i></span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="pagenav">
|
|
||||||
|
|
||||||
<?if (isset($prevurl)):?>
|
|
||||||
<div class="firstpage">
|
|
||||||
<a href="<?=$baseurl?>1">
|
|
||||||
<i class="fas fa-angle-double-left"></i>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
<div class="navpage"><a href="<?=$prevurl?>"><i class="fas fa-chevron-circle-left"></i></a></div>
|
|
||||||
<?endif?>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="currpage">
|
|
||||||
<select id="pages" onchange="changepage()">
|
|
||||||
<?for ($i = 1; $i <= $count; $i++):?>
|
|
||||||
<?$selected = ($page == $i) ? ' selected' : ''?>
|
|
||||||
<option value="<?=$i?>"<?=$selected?>><?=$i?></option>
|
|
||||||
<?endfor?>
|
|
||||||
</select>
|
|
||||||
<i class="fas fa-chevron-down"></i>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?if (isset($nexturl)):?>
|
|
||||||
<div class="navpage"><a href="<?=$nexturl?>"><i class="fas fa-chevron-circle-right"></i></a></div>
|
|
||||||
<?if (isset($endurl)):?>
|
|
||||||
<div class="navpage"><a href="<?=$endurl?>"><i class="fas fa-angle-double-right"></i></a></div>
|
|
||||||
<?endif?>
|
|
||||||
<?endif?>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="the-canvas">
|
|
||||||
<noscript>
|
|
||||||
<embed src="<?=$pdfile?>" width="100%" type="application/pdf" style="height: 100vh;">
|
|
||||||
</noscript>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>startpdfviewer(newcurr);</script>
|
|
||||||
<div id="stuff-bar">
|
|
||||||
<div id="zoomnav">
|
|
||||||
<div id="title_minus" onclick="resize_minus()">
|
|
||||||
<span><i class="fas fa-search-minus"></i></span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="title_plus" onclick="resize_plus()">
|
|
||||||
<span><i class="fas fa-search-plus"></i></span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="pagenav">
|
|
||||||
<?if (isset($prevurl)):?>
|
|
||||||
<div class="navpage"><a href="<?=$prevurl?>"><i class="fas fa-chevron-circle-left"></i></a></div>
|
|
||||||
<?endif?>
|
|
||||||
<div id="currpage"><?=$page?></div>
|
|
||||||
<?if (isset($nexturl)):?>
|
|
||||||
<div class="navpage"><a href="<?=$nexturl?>"><i class="fas fa-chevron-circle-right"></i></a></div>
|
|
||||||
<?endif?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
<?endif?>
|
<?endif?>
|
||||||
<div class="textanons"><?=$book['priceanons']?></div>
|
<div class="textanons"><?=$book['priceanons']?></div>
|
||||||
<?if ($buy_status): // если книжка куплена?>
|
<?if ($buy_status): // если книжка куплена?>
|
||||||
<p class="price"><a href="<?=$book['links']['pdf']?>">Читать PDF</a></p>
|
<p class="price"><a href="<?=$book['links']['pdf']?>" target="_blank">Читать PDF</a></p>
|
||||||
<!-- <p><a href="<?=$book['links']['text']?>">Читать текст</a></p> -->
|
<!-- <p><a href="<?=$book['links']['text']?>">Читать текст</a></p> -->
|
||||||
<?if ($book['category_id'] == 1):?>
|
<?if ($book['category_id'] == 1):?>
|
||||||
<p class="price"><a href="<?=$book['links']['download']?>">Скачать PDF</a></p>
|
<p class="price"><a href="<?=$book['links']['download']?>">Скачать PDF</a></p>
|
||||||
@@ -33,14 +33,12 @@
|
|||||||
<p>Или <strong><a href="https://klan.argumenti.ru/login">войдите</a></strong> в личный кабинет если покупка уже оформлена</p>
|
<p>Или <strong><a href="https://klan.argumenti.ru/login">войдите</a></strong> в личный кабинет если покупка уже оформлена</p>
|
||||||
<?else:?>
|
<?else:?>
|
||||||
<?if ($book['date_subscript'] !== '0000-00-00 00:00:00'):?>
|
<?if ($book['date_subscript'] !== '0000-00-00 00:00:00'):?>
|
||||||
<p>в подписке с <?=date('d.m.Y', strtotime($book['date_subscript']))?>
|
<p>в подписке с <?=date('d.m.Y', strtotime($book['date_subscript']))?>.
|
||||||
<?else:?>
|
|
||||||
<p>Скоро в подписке
|
|
||||||
<?endif?>
|
|
||||||
<?if (SUBSTATUS == 0):?>
|
<?if (SUBSTATUS == 0):?>
|
||||||
<strong><a href="https://argumenti.ru/klan_landing">за 540 рублей в год</a></strong>
|
<strong> Оформить <a href="https://argumenti.ru/klan_landing">за 540 рублей в год</a></strong>
|
||||||
<?endif?>
|
<?endif?>
|
||||||
</p>
|
</p>
|
||||||
|
<?endif?>
|
||||||
<?endif?>
|
<?endif?>
|
||||||
|
|
||||||
<?if ($book['offline_price'] > 0 && $book['pieces'] > 0):?>
|
<?if ($book['offline_price'] > 0 && $book['pieces'] > 0):?>
|
||||||
|
|||||||
@@ -10,16 +10,29 @@
|
|||||||
var count = document.getElementById('count').value;
|
var count = document.getElementById('count').value;
|
||||||
|
|
||||||
<?foreach($delivery as $ditem):?>
|
<?foreach($delivery as $ditem):?>
|
||||||
|
|
||||||
<?$nn++;?>
|
<?$nn++;?>
|
||||||
|
|
||||||
|
<?if ($ditem['delivery_id'] == 2){
|
||||||
|
continue;
|
||||||
|
}?>
|
||||||
|
|
||||||
|
<?if ( $price_id['fullprice'] and $ditem['delivery_id'] == 4 or $ditem['delivery_id'] == 5 ){
|
||||||
|
continue;
|
||||||
|
}?>
|
||||||
|
|
||||||
<? if($nn == 1): ?>
|
<? if($nn == 1): ?>
|
||||||
if (document.getElementById('devilery_id<?=$ditem['delivery_id']?>').checked) {
|
if (document.getElementById('devilery_id<?=$ditem['delivery_id']?>').checked) {
|
||||||
<?else:?>
|
<?else:?>
|
||||||
else if (document.getElementById('devilery_id<?=$ditem['delivery_id']?>').checked){
|
else if (document.getElementById('devilery_id<?=$ditem['delivery_id']?>').checked){
|
||||||
<?endif?>
|
<?endif?>
|
||||||
itog = product_price * count;
|
|
||||||
|
itog = product_price * count;
|
||||||
|
|
||||||
<?if ($ditem['delivery_price'] !== '0.00'):?>
|
<?if ($ditem['delivery_price'] !== '0.00'):?>
|
||||||
itog = itog + <?=$ditem['delivery_price']?>;
|
itog = itog + <?=$ditem['delivery_price']?>;
|
||||||
<?endif?>
|
<?endif?>
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
<?endforeach?>
|
<?endforeach?>
|
||||||
@@ -45,17 +58,24 @@
|
|||||||
el_adress.placeholder='Адрес в свободной форме';
|
el_adress.placeholder='Адрес в свободной форме';
|
||||||
|
|
||||||
}
|
}
|
||||||
else if(document.getElementById('devilery_id4').checked){
|
<?if ( $price_id['fullprice'] ):?>
|
||||||
document.getElementById("form_adress").style.display='block';
|
if(document.getElementById('devilery_id6').checked){
|
||||||
document.getElementById("form_samo").style.display='none';
|
document.getElementById("form_adress").style.display='block';
|
||||||
el_adress.placeholder='Индекс (обязательно). Далее область, населенный пункт и Ваш адрес';
|
document.getElementById("form_samo").style.display='none';
|
||||||
}
|
el_adress.placeholder='Индекс (обязательно). Далее область, населенный пункт и Ваш адрес';
|
||||||
else if(document.getElementById('devilery_id5').checked){
|
}
|
||||||
document.getElementById("form_adress").style.display='block';
|
<?else:?>
|
||||||
document.getElementById("form_samo").style.display='none';
|
if(document.getElementById('devilery_id4').checked){
|
||||||
el_adress.placeholder='Индекс (обязательно). Далее область, населенный пункт и Ваш адрес';
|
document.getElementById("form_adress").style.display='block';
|
||||||
}
|
document.getElementById("form_samo").style.display='none';
|
||||||
|
el_adress.placeholder='Индекс (обязательно). Далее область, населенный пункт и Ваш адрес';
|
||||||
|
}
|
||||||
|
else if(document.getElementById('devilery_id5').checked){
|
||||||
|
document.getElementById("form_adress").style.display='block';
|
||||||
|
document.getElementById("form_samo").style.display='none';
|
||||||
|
el_adress.placeholder='Индекс (обязательно). Далее область, населенный пункт и Ваш адрес';
|
||||||
|
}
|
||||||
|
<?endif?>
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -101,11 +121,22 @@
|
|||||||
|
|
||||||
<p style="font-weight: bold;font-size: 22px;"><label for="devilery_id">Доставка:</label></p>
|
<p style="font-weight: bold;font-size: 22px;"><label for="devilery_id">Доставка:</label></p>
|
||||||
|
|
||||||
|
<?foreach($delivery as $ditem):
|
||||||
<?foreach($delivery as $ditem):?>
|
if ($ditem['delivery_id'] == 2){
|
||||||
|
continue;
|
||||||
|
}?>
|
||||||
|
|
||||||
<?$checked = ($ditem['delivery_id'] == $delivery_id) ? ' checked': '';?>
|
<?$checked = ($ditem['delivery_id'] == $delivery_id) ? ' checked': '';?>
|
||||||
|
|
||||||
|
<?if ( $price_id['fullprice'] and $ditem['delivery_id'] == 4 ){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( !$price_id['fullprice'] and $ditem['delivery_id'] == 6 ){
|
||||||
|
continue;
|
||||||
|
}?>
|
||||||
|
|
||||||
|
|
||||||
<?if ($ditem['delivery_weight_max'] > 0):?>
|
<?if ($ditem['delivery_weight_max'] > 0):?>
|
||||||
<?if ($price_id['weight'] > $ditem['delivery_weight'] and $price_id['weight'] < $ditem['delivery_weight_max']):?>
|
<?if ($price_id['weight'] > $ditem['delivery_weight'] and $price_id['weight'] < $ditem['delivery_weight_max']):?>
|
||||||
<div>
|
<div>
|
||||||
@@ -129,19 +160,13 @@
|
|||||||
|
|
||||||
<?endforeach?>
|
<?endforeach?>
|
||||||
|
|
||||||
<div id="form_samo" class="adress_box" style="display: <?= ($delivery_id == 2) ? 'block' : 'none' ?>;">
|
|
||||||
<p>Москва, метро "Аэропорт", Авиационный переулок, д. 4А (здание МФЮА), к. 104</p>
|
|
||||||
<p>Мы работаем пн.-пт. c 10:00 - 18:00</p>
|
|
||||||
<p><strong><em>Резерв - 3 рабочих дня<em></strong></p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="form_adress" class="adress_box" style="display: <?= ($delivery_id == 3 or $delivery_id == 4) ? 'block' : 'none' ?>;">
|
<div id="form_adress" class="adress_box" style="display: <?= ($delivery_id == 3 or $delivery_id == 4) ? 'block' : 'none' ?>;">
|
||||||
<p style="margin:0px;"><label for="buy_adress">Адрес:</label></p>
|
<p style="margin:0px;"><label for="buy_adress">Адрес:</label></p>
|
||||||
<p><textarea id="buy_adress" style="width:100%;height:70px;font-size:15px;" name="buy_adress" placeholder="Адрес в свободной форме" value="<?=post_value("buy_adress")?>"></textarea></p>
|
<p><textarea id="buy_adress" style="width:100%;height:70px;font-size:15px;" name="buy_adress" placeholder="Адрес в свободной форме" value="<?=post_value("buy_adress")?>"></textarea></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<p>Телефоны для консультаций: <strong><a href="tel:+74959804560">8(495)980-45-60</a></strong>, <strong><a href="tel:+79686365180">8(958)636-51-80</a></strong></p>
|
<p>Телефоны для консультаций: <strong><a href="tel:+74959804560">8(495)980-45-60</a></strong></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
@@ -150,14 +175,15 @@
|
|||||||
|
|
||||||
<div id="form_pay">
|
<div id="form_pay">
|
||||||
<p style="font-weight: bold;font-size: 22px;"><label for="buy_adress">Оплата:</label></p>
|
<p style="font-weight: bold;font-size: 22px;"><label for="buy_adress">Оплата:</label></p>
|
||||||
|
<?if ($preorder == 0):?>
|
||||||
<?foreach($pay_ids as $pkey=>$pitem):?>
|
<?foreach($pay_ids as $pkey=>$pitem):?>
|
||||||
<?$p++;
|
<?$p++;
|
||||||
$pchecked = ($pkey == $pay_id) ? ' checked': '';?>
|
$pchecked = ($pkey == $pay_id) ? ' checked': '';?>
|
||||||
<? if ($pkey == 2):?>
|
<? if ($pkey == 2):?>
|
||||||
<p><input name="pay_id" type="radio" value="<?=$pkey?>" id="pay_id<?=$p?>" <?=$pchecked?>><?=$pitem?></p>
|
<p><input name="pay_id" type="radio" value="<?=$pkey?>" id="pay_id<?=$p?>" <?=$pchecked?>><?=$pitem?></p>
|
||||||
<?endif?>
|
<?endif?>
|
||||||
<?endforeach?>
|
<?endforeach?>
|
||||||
|
<?endif?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="form_itog">
|
<div id="form_itog">
|
||||||
|
|||||||
@@ -100,7 +100,11 @@ else {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?if (isset($tempcontent))
|
<?if (isset($tempcontent))
|
||||||
include($tempcontent);
|
|
||||||
|
if (file_exists($tempcontent))
|
||||||
|
include($tempcontent);
|
||||||
|
else
|
||||||
|
echo $tempcontent;
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<p style="margin-top:10px;background: white;border: 1px solid #dcdcdc;padding: 10px;font-size: .8em;line-height: 17px;">Распространение электронной версии еженедельника «Аргументы недели» осуществляется учредителем - ООО «Издательство «Аргументы недели», юр.адрес: 119002,ул.Арбат, д.29,1-й эт, пом.IV.ком.2, ОГРН 1207700354223</p>
|
<p style="margin-top:10px;background: white;border: 1px solid #dcdcdc;padding: 10px;font-size: .8em;line-height: 17px;">Распространение электронной версии еженедельника «Аргументы недели» осуществляется учредителем - ООО «Издательство «Аргументы недели», юр.адрес: 119002,ул.Арбат, д.29,1-й эт, пом.IV.ком.2, ОГРН 1207700354223</p>
|
||||||
|
|||||||
@@ -1,29 +1,86 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<title><?=$title?></title>
|
||||||
<title>Еженедельник Аргументы Недели - <?=$title?></title>
|
<//base href="<?=SITE?>">
|
||||||
<script src="/pub/scripts/pdf.min.js"></script>
|
<script src="/pub/scripts/pdf.min.js"></script>
|
||||||
<script src="/pub/scripts/anviewer.js?ver=43"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/mobile-detect/1.4.4/mobile-detect.min.js"></script>
|
||||||
<link rel="stylesheet" type="text/css" href="/pub/css/an.css?ver=76">
|
<script src="/pub/scripts/klanviewer.js?ver=44"></script>
|
||||||
<link rel="icon" type="image/ico" href="https://argumenti.ru/favicon.ico">
|
<link rel="stylesheet" type="text/css" href="/pub/css/an.css?ver=259">
|
||||||
|
<link rel="shortcut icon" href="/favicon.ico?ver=2" type="image/x-icon" />
|
||||||
|
<link rel="apple-touch-icon" href="/apple-touch-icon.png?ver=2" />
|
||||||
|
<link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57x57.png?ver=2" />
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-72x72.png?ver=2" />
|
||||||
|
<link rel="apple-touch-icon" sizes="76x76" href="/apple-touch-icon-76x76.png?ver=2" />
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114x114.png?ver=2" />
|
||||||
|
<link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon-120x120.png?ver=2" />
|
||||||
|
<link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144x144.png?ver=2" />
|
||||||
|
<link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon-152x152.png?ver=2" />
|
||||||
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-180x180.png?ver=2" />
|
||||||
|
<link rel="icon" type="image/ico" href="/favicon.ico?ver=2" />
|
||||||
|
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png?ver=2">
|
||||||
|
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png?ver=2">
|
||||||
|
<?if (isset($description)):?>
|
||||||
|
<meta name="description" content="<?=$description?>">
|
||||||
|
<?endif?>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<link rel="stylesheet" href="/pub/fontawesome/css/all.css">
|
<link rel="stylesheet" href="/pub/fontawesome/css/all.css">
|
||||||
<link rel="stylesheet" href="/pub/fontawesome/css/v4-shims.css">
|
<link rel="stylesheet" href="/pub/fontawesome/css/v4-shims.css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<header style="justify-content:center;">
|
|
||||||
<div class="lite-logo">
|
|
||||||
<a href="https://klan.argumenti.ru">
|
|
||||||
<img src="https://argumenti.ru/images/argumenti/klan_logo.png?ver=1">
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
|
<!-- Rating Mail.ru counter -->
|
||||||
|
<script type="text/javascript">
|
||||||
|
var _tmr = window._tmr || (window._tmr = []);
|
||||||
|
_tmr.push({id: "1069168", type: "pageView", start: (new Date()).getTime()});
|
||||||
|
(function (d, w, id) {
|
||||||
|
if (d.getElementById(id)) return;
|
||||||
|
var ts = d.createElement("script"); ts.type = "text/javascript"; ts.async = true; ts.id = id;
|
||||||
|
ts.src = "https://top-fwz1.mail.ru/js/code.js";
|
||||||
|
var f = function () {var s = d.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ts, s);};
|
||||||
|
if (w.opera == "[object Opera]") { d.addEventListener("DOMContentLoaded", f, false); } else { f(); }
|
||||||
|
})(document, window, "topmailru-code");
|
||||||
|
</script><noscript><div>
|
||||||
|
<img src="https://top-fwz1.mail.ru/counter?id=1069168;js=na" style="border:0;position:absolute;left:-9999px;" alt="Top.Mail.Ru" />
|
||||||
|
</div></noscript>
|
||||||
|
<!-- //Rating Mail.ru counter -->
|
||||||
|
<!-- Yandex.Metrika counter -->
|
||||||
|
<script type="text/javascript" >
|
||||||
|
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
|
||||||
|
m[i].l=1*new Date();k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
|
||||||
|
(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
|
||||||
|
|
||||||
|
ym(26004090, "init", {
|
||||||
|
clickmap:true,
|
||||||
|
trackLinks:true,
|
||||||
|
accurateTrackBounce:true,
|
||||||
|
webvisor:true
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
<noscript><div><img src="https://mc.yandex.ru/watch/26004090" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
|
||||||
|
<!-- /Yandex.Metrika counter -->
|
||||||
|
<script>
|
||||||
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||||
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||||
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||||
|
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||||
|
|
||||||
|
ga('create', 'UA-11186859-1', 'auto');
|
||||||
|
ga('send', 'pageview');
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
<?if (isset($tempcontent))
|
<?if (isset($tempcontent))
|
||||||
include($tempcontent);
|
|
||||||
|
if (file_exists($tempcontent))
|
||||||
|
include($tempcontent);
|
||||||
|
else
|
||||||
|
echo $tempcontent;
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
<p class="footer-text">Распространение электронной версии еженедельника «Аргументы недели» осуществляется учредителем - ООО «Издательство «Аргументы недели», юр.адрес: 119002,ул.Арбат, д.29,1-й эт, пом.IV.ком.2, ОГРН 1207700354223</p>
|
||||||
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -3,4 +3,7 @@
|
|||||||
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/root
|
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/root
|
||||||
PATH=$PATH:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
|
PATH=$PATH:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
|
||||||
|
|
||||||
|
#bash /home/arlemp/vhosts/anpdf/scripts/push_mail.sh
|
||||||
|
|
||||||
docker exec arlemp_pdftk_1 php /vhosts/anpdf/app/index.php sendstatus
|
docker exec arlemp_pdftk_1 php /vhosts/anpdf/app/index.php sendstatus
|
||||||
|
docker exec arlemp_pdftk_1 php /vhosts/anpdf/app/index.php addhash
|
||||||
Reference in New Issue
Block a user