add mobile version pdf
This commit is contained in:
@@ -277,7 +277,21 @@ function promo_kuri($hash, $page = 0, $promo = true){
|
||||
}
|
||||
|
||||
|
||||
function text($hash, $page){
|
||||
function textpdf_kuri($hash, $page = 1){
|
||||
|
||||
$price = api_pricehash($hash);
|
||||
|
||||
if (!isset($price['price_id'])){
|
||||
return 'page not found';
|
||||
}
|
||||
|
||||
$title = $price['pricename'];
|
||||
$content = apipage_kuri($price['price_id'], $page);
|
||||
|
||||
|
||||
$tempcontent = VIEWPATH.'antext.phtml'; //подшаблон
|
||||
include VIEWPATH.'layout.phtml'; //центральный шаблон
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user