add page book

This commit is contained in:
Your Name
2021-01-13 21:09:17 +03:00
parent ed4e7b81df
commit 96a1540ef7
5 changed files with 58 additions and 1 deletions

15
app/routes/books.php Normal file
View File

@@ -0,0 +1,15 @@
<?php
function book_kuri($hash){
$book = bookid_kuri($hash);
$title = $book['pricename'].' - Аргументы Недели';
$description = 'Читайте и покупайте '.$book['pricename'].'. Издательский дом "Аргументы Недели"';
$tempcontent = VIEWPATH.'book.phtml';
include VIEWPATH.'layout.phtml';
}