add page book
This commit is contained in:
15
app/routes/books.php
Normal file
15
app/routes/books.php
Normal 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';
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user