/[cvs]/nfo/site/htdocs/index.php
ViewVC logotype

Diff of /nfo/site/htdocs/index.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by rabit, Mon Aug 30 01:48:30 2004 UTC revision 1.4 by rabit, Mon Aug 30 04:21:55 2004 UTC
# Line 14  include('inc/common/common.php.inc'); Line 14  include('inc/common/common.php.inc');
14    
15  $contentkeyname = (isset($_GET['ck']) ? $_GET['ck'] : '');  $contentkeyname = (isset($_GET['ck']) ? $_GET['ck'] : '');
16    
17    $language_id = (isset($_GET['li']) ? $_GET['li'] : '');
18    
19  $outputtype = (isset($_GET['ot']) ? $_GET['ot'] : '');  $outputtype = (isset($_GET['ot']) ? $_GET['ot'] : '');
20    
21  //------------------------------------------------------------------------------  //------------------------------------------------------------------------------
22    
23  if(!$contentkeyname) $contentkeyname = 'Home';  if(!$contentkeyname) $contentkeyname = 'Home';
24    
25    if(!$language_id) $language_id = 1;
26    
27  if(!$outputtype) $outputtype = 'html';  if(!$outputtype) $outputtype = 'html';
28    
29  //------------------------------------------------------------------------------  //------------------------------------------------------------------------------
# Line 39  switch($outputtype) { Line 43  switch($outputtype) {
43    default:    default:
44    
45      // Generate a HTML page:      // Generate a HTML page:
46      common_page($contentkeyname);      common_page($contentkeyname, $language_id);
47    
48  }  }
49    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed