*/ include("session.php"); require("class_functions.php"); /*require_once($_SESSION['pathtocoreclass']."class_functions.php"); require_once($_SESSION['pathtocoreclass']."class_core_tools.php"); $core_tools = new core_tools(); //here we loading the lang vars $core_tools->load_lang();*/ //print_r ($_SESSION['close']['position']); echo "/"; //Next if(isset($_GET['where']) && $_GET['where'] == 'next') { $_SESSION['close']['position'] = $_SESSION['close']['position'] + 1; } //Next Buffer if(isset($_GET['where']) && $_GET['where'] == 'nextbuffer') { $_SESSION['close']['position'] = ($_SESSION['close']['position'] + $_SESSION['config']['navigationbuffer']) - 1; } //Last if(isset($_GET['where']) && $_GET['where'] == 'last') { $_SESSION['close']['position'] = count($_SESSION['chosen_doc']) - 1; } //Previous if (isset($_GET['where']) && $_GET['where'] == 'prev') { $_SESSION['close']['position'] = $_SESSION['close']['position'] - 1; } //Previous buffer if (isset($_GET['where']) && $_GET['where'] == 'prevbuffer') { $_SESSION['close']['position'] = ($_SESSION['close']['position'] - $_SESSION['config']['navigationbuffer']) + 1; } //First if (isset($_GET['where']) && $_GET['where'] == 'first') { $_SESSION['close']['position'] = 0; } //print_r ($_SESSION['close']['position']); ?>