Merge branch 'master' of ssh://gl.arguments.ru:2224/ak/anpdf

This commit is contained in:
arlemp@selectel.ru
2022-12-04 17:43:37 +03:00
3 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
<?php
function order_klanbooks_kuri(){
$books = db_get("
SELECT price_id, pricename, priceauthor, author, price.priceauthor_id as author_id
FROM `price`
LEFT JOIN `price_authors`
ON `price`.`priceauthor_id` = `price_authors`.`author_id`
WHERE `category_id` = 3 AND `sub` = 1
");
include VIEWPATH.'klanbooks.phtml';
}