Go to most recent revision |
Blame |
Last modification |
View Log
| RSS feed
<?php
if (!defined('WBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.');
$inhalt = str_replace('<!DOCTYPE', '<!-- <!DOCTYPE', $inhalt);
$inhalt = str_replace('<body>', '<body> -->', $inhalt);
$inhalt = str_replace('</body></html>', '<!-- </body></html> -->', $inhalt);
$php_style = zwischen_str($inhalt, '<style', '</style>');
echo str_replace('</head>', $php_style.'</head>', $header);
echo '<h1>'.htmlentities($module_information->caption).'</h1>';
$inhalt = str_replace('<a href="http://www.php.net/">', '<a href="'.deferer
('http://www.php.net/').'" target="_blank">', $inhalt);
$inhalt = str_replace('<a href="http://www.zend.com/">', '<a href="'.deferer
('http://www.zend.com/').'" target="_blank">', $inhalt);
if (strpos($inhalt, '">PHP Credits</a></h1>') !== false)
{
$zw_links = zwischen_str($inhalt, '<h1><a href="', '">PHP Credits</a></h1>', false);
$protokoll = $WBConfig->getForceSSLFlag() ? 'https' : 'http';
$credits_links = $protokoll.'://'.$_SERVER['HTTP_HOST'].$zw_links;
$credit_inhalt = my_get_contents($credits_links);
$credit_inhalt = str_replace('<!DOCTYPE', '<!-- <!DOCTYPE', $credit_inhalt);
$credit_inhalt = str_replace('<body>', '<body> -->', $credit_inhalt);
$credit_inhalt = str_replace('</body></html>', '<!-- </body></html> -->', $credit_inhalt);
$credit_inhalt = str_replace('ä', 'ä', $credit_inhalt);
$credit_inhalt = str_replace('ö', 'ö', $credit_inhalt);
$credit_inhalt = str_replace('ü', 'ü', $credit_inhalt);
$credit_inhalt = str_replace('Ä', 'Ä', $credit_inhalt);
$credit_inhalt = str_replace('Ö', 'Ö', $credit_inhalt);
$credit_inhalt = str_replace('Ü', 'Ü', $credit_inhalt);
$credit_inhalt = str_replace('ß', 'ß', $credit_inhalt);
echo str_replace('<h1><a href="'.$zw_links.'">PHP Credits</a></h1>', $credit_inhalt, $inhalt);
}
else
{
echo $inhalt;
}
echo $footer;
?>