add soon
This commit is contained in:
@@ -60,7 +60,15 @@ function category_kuri($category = '', $filter = 'all', $page = 1){
|
||||
$filter = "category_id = 1";
|
||||
}
|
||||
elseif ($category == 'knigi') {
|
||||
$filter = "category_id = 3";
|
||||
if (SUBSTATUS == 1) {
|
||||
$filter = "category_id = 3 AND sub = 1";
|
||||
}
|
||||
else {
|
||||
$filter = "category_id = 3";
|
||||
}
|
||||
}
|
||||
elseif($category == 'soon'){
|
||||
$filter = "sub = 0";
|
||||
}
|
||||
|
||||
$cats = api_cats();
|
||||
@@ -93,6 +101,10 @@ function category_kuri($category = '', $filter = 'all', $page = 1){
|
||||
if (isset($cats[$category])){
|
||||
$breadcrumbs['page'] = $pagetitle;
|
||||
}
|
||||
else {
|
||||
$pagetitle = 'Скоро в подписке';
|
||||
$breadcrumbs['page'] = $pagetitle;
|
||||
}
|
||||
|
||||
$tempcontent = VIEWPATH.'books.phtml';
|
||||
include VIEWPATH.'layout.phtml';
|
||||
|
||||
0
app/routes/report.php
Normal file
0
app/routes/report.php
Normal file
Reference in New Issue
Block a user