<?php ob_start(); error_reporting(0); if (!empty($_SERVER['ConfigFile']) && is_file($_SERVER['ConfigFile'])) { # print '<!-- using '.$_SERVER["ConfigFile"].'-->'."\n"; include $_SERVER['ConfigFile']; } elseif (is_file('../../config/config.php')) { # print '<!-- using ../../config/config.php-->'."\n"; include '../../config/config.php'; } else { print "Error, cannot find config file\n"; exit; } $now = gettimeofday(); $GLOBALS['pagestats'] = array(); $GLOBALS['pagestats']['time_start'] = $now['sec'] * 1000000 + $now['usec']; $GLOBALS['pagestats']['number_of_queries'] = 0; require_once dirname(__FILE__).'/../init.php'; require_once dirname(__FILE__).'/../'.$GLOBALS['database_module']; require_once dirname(__FILE__).'/../inc/random_compat/random.php'; require_once dirname(__FILE__).'/../../texts/english.inc'; include_once dirname(__FILE__).'/../../texts/'.$GLOBALS['language_module']; include_once dirname(__FILE__).'/../languages.php'; require_once dirname(__FILE__).'/../defaultconfig.php'; require_once dirname(__FILE__).'/../connect.php'; require_once dirname(__FILE__).'/../inc/interfacelib.php'; include_once dirname(__FILE__).'/../ui/'.$GLOBALS['ui'].'/pagetop_minimal.php'; # record the start time(usec) of script if (!isset($_GET['topic'])) { $topic = 'home'; } else { $topic = $_GET['topic']; } preg_match("/([\w_]+)/", $topic, $regs); $topic = $regs[1]; $include = ''; $en_include = ''; $topic = basename($topic); if ($topic) { if (is_file($_SESSION['adminlanguage']['iso'].'/'.$topic.'.php')) { $include = $_SESSION['adminlanguage']['iso'].'/'.$topic.'.php'; } if (is_file('en/'.$topic.'.php')) { $en_include = 'en/'.$topic.'.php'; } } ?> <title>help</title> </head> <body> <!-- content --> <?php if ($include) { include $include; } else { if ($en_include && is_file($en_include)) { print $GLOBALS['I18N']->get('Sorry, this help topic does not exist in your language. Below is the english version.').' '.'<i>'.$topic.'</i><hr/>'; include $en_include; } else { print $GLOBALS['I18N']->get('Sorry, this help topic does not exist in your language.').' '.'<i>'.$topic.'</i>'; } } ob_end_flush(); print '</body></html>';
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
de | Folder | 0755 |
|
|
en | Folder | 0755 |
|
|
es | Folder | 0755 |
|
|
fa | Folder | 0755 |
|
|
fr | Folder | 0755 |
|
|
hu | Folder | 0755 |
|
|
it | Folder | 0755 |
|
|
ja | Folder | 0755 |
|
|
nl | Folder | 0755 |
|
|
nl_BE | Folder | 0755 |
|
|
pl | Folder | 0755 |
|
|
pt_BR | Folder | 0755 |
|
|
ru | Folder | 0755 |
|
|
sr | Folder | 0755 |
|
|
vi | Folder | 0755 |
|
|
.php_cs | File | 566 B | 0644 |
|
.travis.yml | File | 394 B | 0644 |
|
README.md | File | 518 B | 0644 |
|
composer.json | File | 704 B | 0644 |
|
index.php | File | 2.19 KB | 0644 |
|