|
Server IP : 193.34.145.200 / Your IP : 216.73.216.19 Web Server : Apache System : Linux m2794.contaboserver.net 3.10.0-962.3.2.lve1.5.87.el7.x86_64 #1 SMP Tue Jan 28 09:38:56 UTC 2025 x86_64 User : adm4397 ( 1176) PHP Version : 8.2.28 Disable Function : show_source, system, shell_exec, passthru, popen, proc_open MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF Directory (0755) : /home/adm4397/adm4397/../.cpanel/../php/../cache/../ssl/../www/bilder/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
/*************************
Coppermine Photo Gallery
************************
Copyright (c) 2003-2009 Coppermine Dev Team
v1.1 originally written by Gregory DEMAR
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3
as published by the Free Software Foundation.
********************************************
Coppermine version: 1.4.25
$HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/faq.php $
$Revision: 5997 $
$Author: gaugau $
$Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
**********************************************/
define('IN_COPPERMINE', true);
define('FAQ_PHP', true);
global $CONFIG;
require('include/init.inc.php');
// build the ouput
$faqHeading = '';
$faqContent = '';
$anchorName = '';
foreach($lang_faq_data as $element) {
if ((is_array($element))) {
if ($CONFIG[$element[2]] == $element[3]) {
$anchorName = createAnchorName($element[0]);
$faqHeading .= '<ul style="margin-top:0px;margin-bottom:0px"><li><a href="#'.$anchorName.'">'.$element[0].'</a></li></ul>';
$faqContent .= '<tr><td class="tablef"><i>'.$lang_faq_php['question'].'</i><a name="'.$anchorName.'"></a><b>'.$element[0].'</b></td></tr><tr><td class="tableb"><i>'.$lang_faq_php['answer'].'</i>'.$element[1].'<br /> <br /> <br /></td></tr>';
}
}
else {
$anchorName = createAnchorName($element);
$faqHeading .= '<h2><a href="#'.$anchorName.'">'.$element.'</a></h2>';
$faqContent .= '<tr><td class="tableh1"><a name="'.$anchorName.'"></a><h2>'.$element.'</h2></td></tr>';
}
}
$faqHeading .= '';
//print $faqHeading;
//print '<hr>';
//print $faqContent;
pageheader($lang_faq_php['faq']);
print '<h1>'.$lang_faq_php['faq'].'</h1>';
starttable('100%',$lang_faq_php['toc']);
print '<tr>';
print '<td class="tableb">';
print $faqHeading;
print '</td>';
print '</tr>';
endtable();
print '<br /> <br />';
starttable('100%');
print $faqContent;
endtable();
print '<br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br />';
pagefooter();
ob_end_flush();
function createAnchorName($anchor)
{
$anchor = trim(str_replace(' ','_',str_replace('?','',$anchor)));
return $anchor;
}
?>