diff --git a/app/confg.php b/app/confg.php index f039dd2..3e09afa 100644 --- a/app/confg.php +++ b/app/confg.php @@ -13,6 +13,7 @@ else define('PDFDIR', '/vhosts/anpdf/app/pub/files/pdf/'); define('PGDIR', '/vhosts/anpdf/app/pub/files/pages/'); +define('VIEWPATH', SITEPATH.'views/'); define('API', 'http://api.argumenti.ru/'); db_config('argumentiru', 'mysql:host=mysql;dbname=argumentiru', 'newser', 'Chjk90yuiREY'); diff --git a/app/index.php b/app/index.php index d4ba983..bd3a9d9 100644 --- a/app/index.php +++ b/app/index.php @@ -1,13 +1,17 @@ $news] ); diff --git a/app/modules/anpdf/anpdf.phtml b/app/views/anpdf.phtml similarity index 100% rename from app/modules/anpdf/anpdf.phtml rename to app/views/anpdf.phtml diff --git a/app/views/anpdf2.phtml b/app/views/anpdf2.phtml new file mode 100644 index 0000000..b7a1170 --- /dev/null +++ b/app/views/anpdf2.phtml @@ -0,0 +1,49 @@ + + +
+ + =$downtitle?>↑ + + Получайте «Газету на @email» + +
+ +- - =$downtitle?>↑ - - Получайте «Газету на @email» - -
- -