1 |
<?php |
<?php $ID = substr( |
2 |
/*------------------------------------------------------------------------------ |
/*------------------------------------------------------------------------------ |
3 |
--- www.netfrag.org |
--- www.netfrag.org |
4 |
--- Main index and content access page. |
--- Main index and content access page. |
5 |
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
6 |
--- rabit, 01:28 24.08.2004 |
--- rabit, 01:28 24.08.2004 |
|
--- $Id$ |
|
7 |
------------------------------------------------------------------------------*/ |
------------------------------------------------------------------------------*/ |
8 |
|
'$Id$' |
9 |
|
//------------------------------------------------------------------------------ |
10 |
|
, 5, -2); |
11 |
|
//------------------------------------------------------------------------------ |
12 |
|
|
13 |
include('inc/common/common.php.inc'); |
include('inc/common/common.php.inc'); |
14 |
|
|
27 |
} |
} |
28 |
|
|
29 |
//------------------------------------------------------------------------------ |
//------------------------------------------------------------------------------ |
|
//- Web authorisation: |
|
|
|
|
|
if(isset($_POST['un']) && isset($_POST['pw'])) { |
|
|
|
|
|
common_authorise($_POST['un'], $_POST['pw']); |
|
|
|
|
|
common_benchmark_addstep('authorisation test'); |
|
|
|
|
|
} |
|
|
|
|
|
//------------------------------------------------------------------------------ |
|
30 |
//- GET/POST variable encapsulation: |
//- GET/POST variable encapsulation: |
31 |
|
|
32 |
$request_contentkey = (isset($_GET['ck']) ? $_GET['ck'] : ''); |
$request_contentkey = (isset($_GET['ck']) ? $_GET['ck'] : ''); |
37 |
if(isset($_GET['ot'])) |
if(isset($_GET['ot'])) |
38 |
$common_sessiondata['user_prefs']['outputtype'] = $_GET['ot']; |
$common_sessiondata['user_prefs']['outputtype'] = $_GET['ot']; |
39 |
|
|
|
if(isset($_GET['debug'])) |
|
|
$common_sessiondata['user_prefs']['debug'] = $_GET['debug']; |
|
|
|
|
|
if(isset($_GET['benchlist'])) |
|
|
$common_sessiondata['user_prefs']['benchlist'] = $_GET['benchlist']; |
|
|
|
|
40 |
//---------------------------------------------------------- |
//---------------------------------------------------------- |
41 |
//- Variable defaults: |
//- Variable defaults: |
42 |
|
|
51 |
|
|
52 |
case 'wml': // WML output |
case 'wml': // WML output |
53 |
|
|
54 |
include($common['site']['incroot'] . 'otdef/otd_wml1.php.inc'); |
include($common['site']['incroot'] . 'otdef/otd_wml1/otd_wml1.php.inc'); |
55 |
common_benchmark_addstep('OTD_WML1 included'); |
common_benchmark_addstep('OTD_WML1 included'); |
56 |
|
|
57 |
break; |
break; |
62 |
|
|
63 |
default: |
default: |
64 |
|
|
65 |
include($common['site']['incroot'] . 'otdef/otd_html1.php.inc'); |
include($common['site']['incroot'] . 'otdef/otd_html1/otd_html1.php.inc'); |
66 |
common_benchmark_addstep('OTD_HTML1 included'); |
common_benchmark_addstep('OTD_HTML1 included'); |
67 |
|
|
68 |
} |
} |