root/trunk/includes/pages/ranges/ranges.php @ 1

Revision 1, 1.1 kB (checked in by Winner, 5 years ago)

Initial import

Line 
1<?php
2/*
3 * WiND - Wireless Nodes Database
4 *
5 * Copyright (C) 2005 Nikolaos Nikalexis <winner@cube.gr>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; version 2 dated June, 1991.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19 *
20 */
21
22if (get('subpage') != '') include_once($root_path."includes/pages/ranges/ranges_".get('subpage').".php");
23
24class ranges {
25
26        var $tpl;
27        var $page;
28       
29        function ranges() {
30                if (get('subpage') != '') {
31                        $p = "ranges_".get('subpage');
32                        $this->page = new $p;
33                }
34        }
35       
36        function output() {
37                return $this->page->output();
38        }
39
40}
41
42?>
Note: See TracBrowser for help on using the browser.