navinfo.php

File Type: php File Location: monofiles/ File name: navinfo.php
<?php
        
        
// results per page. Works for the control panel and the visitors pages
        
        
if (isset($directory)) {

            
$path $directory->getPath();

            if (
strpos($path,'images') !== false)
                
$n get_account($_SESSION['userID'])['results_images'];
        
            elseif
            (
strpos($path,'autosaves') !== false)
                
$n get_account($_SESSION['userID'])['results_posts'];
        
            else
                
$n get_account($_SESSION['userID'])['results_pages'];
        }
    
        else
        
$n $files_to_load;
    
        
        
$ofp = (isset($_GET['max'])) ? $_GET['max'] : $n;
    
        
$nextlink $ofp $n;
        
$prevlink $ofp $n;
    
        
$first $ofp $n;
        
$last $ofp
?>