add select page
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
var pdfDoc = null,
|
||||
pageNum = <?=$pagenum?>,
|
||||
scale = 1,
|
||||
baseurl ='<?=$baseurl?>',
|
||||
url = '<?=$pdfile?>',
|
||||
pageRendering = false,
|
||||
pageNumPending = null,
|
||||
@@ -14,7 +15,7 @@
|
||||
<?if ($promo):?>
|
||||
<a href="https://argumenti.ru/robomail/486?utm_source=argumenti.ru&utm_medium=subscript&utm_campaign=promo">Получайте «Газету на @email»</a>
|
||||
<?else:?>
|
||||
<a href="<?=$fullpdf?>"><?=$downtitle?></a><span id="downarrow">↑</span>
|
||||
<a href="<?=$fullpdf?>"><?=$downtitle?></a><span id="downarrow">↑</span> <span id="downarrow">Приятного чтения ↓</span>
|
||||
<?endif?>
|
||||
</p>
|
||||
|
||||
@@ -42,8 +43,16 @@
|
||||
</div>
|
||||
<div class="navpage"><a href="<?=$prevurl?>"><i class="fas fa-chevron-circle-left"></i></a></div>
|
||||
<?endif?>
|
||||
|
||||
<div id="currpage"><?=$page?></div>
|
||||
|
||||
|
||||
<div id="currpage">
|
||||
<select id="pages" onchange="changepage()">
|
||||
<?for ($i = 1; $i <= $count; $i++):?>
|
||||
<?$selected = ($page == $i) ? ' selected' : ''?>
|
||||
<option value="<?=$i?>"<?=$selected?>><?=$i?></option>
|
||||
<?endfor?>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<?if (isset($nexturl)):?>
|
||||
<div class="navpage"><a href="<?=$nexturl?>"><i class="fas fa-chevron-circle-right"></i></a></div>
|
||||
|
||||
Reference in New Issue
Block a user