aboutsummaryrefslogtreecommitdiff
path: root/mod/guidbrowser/views/default/guidbrowser/prevnext.php
blob: c8e599f806c030b481918fb152bd5a09239491a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
	global $CONFIG;
	
	$limit = $vars['limit'];
	$offset = $vars['offset'];
	$type = $vars['type'];
	$subtype = $vars['subtype'];
	
	
	$common = "&type=$type&subtype=$subtype";
?>

<div id="guidbrowser_navbar">
	<table width="100%">
		<tr>
			<td align="left"><?php if ($offset>0){?><a href="<?php echo $CONFIG->wwwroot . "mod/guidbrowser/?offset=" . ($offset-$limit) . $common  ?>">Previous</a><?php } ?></td>
			<td align="right"><a href="<?php echo $CONFIG->wwwroot . "mod/guidbrowser/?offset=" . ($offset+$limit) . $common  ?>">Next</a></td>
		</tr>
	</table>
</div>