| 1 | <?php $ID = substr( | 
| 2 | /*------------------------------------------------------------------------------ | 
| 3 | --- www.netfrag.org | 
| 4 | --- HTML1: user info page. | 
| 5 | -------------------------------------------------------------------------------- | 
| 6 | --- rabit, 02:29 05.09.2004 | 
| 7 | ------------------------------------------------------------------------------*/ | 
| 8 | '$Id$' | 
| 9 | //------------------------------------------------------------------------------ | 
| 10 | , 5, -2); | 
| 11 | //------------------------------------------------------------------------------ | 
| 12 |  | 
| 13 | include('../../inc/common/common.php.inc'); | 
| 14 |  | 
| 15 | include('../../inc/otdef/otd_html1/otd_html1.php.inc'); | 
| 16 |  | 
| 17 | common_benchmark_addstep('OTD_HTML1 included'); | 
| 18 |  | 
| 19 | common_benchmark_addstep('start'); | 
| 20 |  | 
| 21 | //------------------------------------------------------------------------------ | 
| 22 |  | 
| 23 | otd_html1_pagehead(); | 
| 24 |  | 
| 25 | common_benchmark_addstep('head'); | 
| 26 |  | 
| 27 | otd_html1_pageheader(); | 
| 28 |  | 
| 29 | common_benchmark_addstep('header'); | 
| 30 |  | 
| 31 | //---------------------------------------------------------- | 
| 32 |  | 
| 33 | otd_html1_pagetitle('User info'); | 
| 34 |  | 
| 35 | otd_html1_paragraph('This is an overview of your preferences and informations related to you and your visit. You may also change global settings here.'); | 
| 36 |  | 
| 37 | otd_html1_paragraph('Also it is the first outstanding page and was created for testing yet.'); | 
| 38 |  | 
| 39 | // Only show debug outputs when set as preference: | 
| 40 | if($common_sessiondata['user_prefs']['debug']) { | 
| 41 |  | 
| 42 | otd_html1_headline('User preferences array:'); | 
| 43 | otd_html1_codeparagraph('$common_sessiondata[user_prefs] = ' . nl2br(htmlentities(print_r($common_sessiondata['user_prefs'], true)))); | 
| 44 |  | 
| 45 | } | 
| 46 |  | 
| 47 | //---------------------------------------------------------- | 
| 48 |  | 
| 49 | common_benchmark_addstep('content'); | 
| 50 |  | 
| 51 | $extrapageinfocontents = 'Page created by <b>rabit</b> on <b>2004/09/05, 02:29</b>.'; | 
| 52 |  | 
| 53 | otd_html1_pagefooter($extrapageinfocontents); | 
| 54 |  | 
| 55 | common_benchmark_addstep('footer'); | 
| 56 |  | 
| 57 | otd_html1_pagefoot(); | 
| 58 |  | 
| 59 | //------------------------------------------------------------------------------ | 
| 60 |  | 
| 61 | ?> |