include_once 'include/config.php'; include_once 'classes/archive.class.php'; include_once 'classes/main.class.php'; // create new archive object $archive = new archive(); // check if page number is set if (isset($_GET['page'])) { $page = $_GET['page']; // sanitize $san = new main(); $page = $san->clean($page); } else { $page = null; } // get the archive data from object $archive->getarchive($page); ?> </div> <!--/row--> </div> <!--/span--> </div> <!--/row--> <script type="text/javascript"> $(document).ready(function () { $("[rel=tooltip]").tooltip(); }); </script>