diff --git a/app/pub/css/an.css b/app/pub/css/an.css index 0e433ca..1ce6b17 100644 --- a/app/pub/css/an.css +++ b/app/pub/css/an.css @@ -483,6 +483,26 @@ input[type="email"],input[type="password"], input[type="text"], input[type="tel" 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) { .book_mini{ font-size: .9em; @@ -599,6 +619,9 @@ input[type="email"],input[type="password"], input[type="text"], input[type="tel" width: 100%; font-size: 1.3em; } + .zoomstatus{ + display: none; + } .firstpage{ margin-right: 15px!important; } diff --git a/app/pub/scripts/klanviewer.js b/app/pub/scripts/klanviewer.js index f6566f7..7916c4b 100644 --- a/app/pub/scripts/klanviewer.js +++ b/app/pub/scripts/klanviewer.js @@ -178,11 +178,11 @@ function startpdfviewer(newcurr){ embed = false; } else if (category == 3){ - embed = true; + embed = false; //true; } if(isOpera){ - embed = true; + embed = false; } if (detect.phone()){ @@ -191,7 +191,8 @@ function startpdfviewer(newcurr){ if (embed){ - document.getElementById(pdfcanvas).innerHTML = ''; + //document.getElementById(pdfcanvas).innerHTML = ''; + document.getElementById(pdfcanvas).innerHTML = ''; } else { diff --git a/app/routes/anpdf.php b/app/routes/anpdf.php index 2d726fd..2792a15 100644 --- a/app/routes/anpdf.php +++ b/app/routes/anpdf.php @@ -306,7 +306,9 @@ function read_kuri($hash, $page = 0, $promo = 'full', $version = null){ $htmlurl = "/readtext/$hash/$page/$promo"; $tempcontent = VIEWPATH.'anpdf3.phtml'; //подшаблон - include VIEWPATH.'layout.phtml'; //центральный шаблон + include VIEWPATH.'layout_lite.phtml'; //центральный шаблон + + //include $tempcontent; diff --git a/app/views/anpdf3.phtml b/app/views/anpdf3.phtml index 90a4431..e84979a 100644 --- a/app/views/anpdf3.phtml +++ b/app/views/anpdf3.phtml @@ -11,6 +11,60 @@ prevurl = '?ver=2'; + + +
+ +
+ + +
+ + + +
+
+ +
+ +
+ +
+ +
+ + + +
+

Получайте «Газету на @email» @@ -25,81 +79,5 @@

-
-
-
- -
- -
100%
- -
- -
- -
- - -
- -
- -
- - -
-
-
- -
- -
- -
- -
- - -
diff --git a/app/views/book.phtml b/app/views/book.phtml index 6f2aa3d..75db017 100644 --- a/app/views/book.phtml +++ b/app/views/book.phtml @@ -18,7 +18,7 @@
-

Читать PDF

+

Читать PDF

Скачать PDF

diff --git a/app/views/layout_lite.phtml b/app/views/layout_lite.phtml index c26c9e5..c29ca6a 100644 --- a/app/views/layout_lite.phtml +++ b/app/views/layout_lite.phtml @@ -1,29 +1,86 @@ - - Еженедельник Аргументы Недели - <?=$title?> + <?=$title?> + "> - - - + + + + + + + + + + + + + + + + + + + + -
- -
+ + + + + + + + + + +