add author
This commit is contained in:
@@ -419,13 +419,18 @@ function readbook_kuri($hash, $page = 1){
|
||||
$baseurl = SITE.'/readbook/'.$hash.'/';
|
||||
$endurl = $baseurl.$count;
|
||||
|
||||
$nextpage = $page + 1;
|
||||
$nexturl = $baseurl.$nextpage;
|
||||
if ($page < $count) {
|
||||
$nextpage = $page + 1;
|
||||
$nexturl = $baseurl.$nextpage;
|
||||
}
|
||||
|
||||
$prevpage = $page - 1;
|
||||
$prevurl = $baseurl.$prevpage;
|
||||
if ($page > 1) {
|
||||
$prevpage = $page - 1;
|
||||
$prevurl = $baseurl.$prevpage;
|
||||
}
|
||||
|
||||
$title = $price['pricename'];
|
||||
$author = $price['author'];
|
||||
|
||||
$tempcontent = VIEWPATH.'epub.phtml'; //подшаблон
|
||||
include VIEWPATH.'layout.phtml'; //центральный шаблон
|
||||
|
||||
Reference in New Issue
Block a user