\n";
if (!empty($foot1)) {
$footmsg .= $foot1."
\n";
}
if (!empty($foot2)) {
$footmsg .= $foot2."
\n";
}
if (!empty($foot3)) {
$footmsg .= $foot3."
\n";
}
// DO NOT REMOVE THE FOLLOWING COPYRIGHT LINE. YOU'RE NOT ALLOWED TO REMOVE NOR EDIT THIS.
// IF YOU REALLY NEED TO REMOVE IT AND HAVE MY WRITTEN AUTHORIZATION CHECK: http://phpnuke.org/modules.php?name=Commercial_License
// PLAY FAIR AND SUPPORT THE DEVELOPMENT, PLEASE!
if ($commercial_license == 1) {
$footmsg .= $total_time."
\n\n";
} else {
$footmsg .= $copyright."
$total_time
\n\n";
}
echo $footmsg;
}
function replace_for_mod_rewrite(&$temp)
{
global $db;
$base_url='http://www.date-it-yourself.de/';
$replacements=
array('Ä'=>'Ae','Ö'=>'Oe','Ü'=>'Ue','ä'=>'ae','ö'=>'oe','ü'=>'ue',
'ß'=>'ss',' '=>'-','.'=>'-',','=>'-','/'=>'_','?'=>'-');
$query="SELECT sid, title from nuke_stories";
if($result=$db->sql_query($query))
{
while($row=$db->sql_fetchrow($result))
{
$sid=$row['sid'];
$expr=$row['title'];
$expr=strtr(trim($expr),$replacements);
$expr=preg_replace("|-{2,}|",'-',$expr);
$title[$sid]=$expr;
}
}
$pattern_orig='modules.php?name=News&file=article&sid=';
$pattern_new=$base_url.'News-Artikel-';
foreach($title as $key=>$value)
{
$url=$pattern_orig.$key;
$url_new=$pattern_new.$key.'-'.$title[$key].'.html';
$url_new=str_replace('-.html','.html',$url_new);
$temp=str_replace($url,$url_new,$temp);
}
$asso=array('modules.php?name=Forums"'=>'forum.html"',
'modules.php?name=Topics"'=>'artikel.html"','index.php"'=>'index.html"',
'modules.php?name=Feedback"'=>'kontakt.html"','modules.php?name=Recommend_Us"'=>'empfehlung.html"','modules.php?name=Partner"'=>'partner.html"', 'modules.php?name=Stories_Archive"'=>'artikel-archiv.html"','modules.php?name=Sitemap"'=>'sitemap.html"', 'modules.php?name=Topliste"'=>'topliste.html"');
$temp=strtr($temp,$asso);
}
function foot() {
global $prefix, $user_prefix, $db, $index, $user, $cookie, $storynum, $user, $cookie, $Default_Theme, $foot1, $foot2, $foot3, $foot4, $home, $name, $admin, $commercial_license;
if(defined('HOME_FILE')) {
blocks("Down");
}
if (basename($_SERVER['PHP_SELF']) != "index.php" AND defined('MODULE_FILE') AND file_exists("modules/$name/copyright.php") && $commercial_license != 1) {
$cpname = str_replace("_", " ", $name);
echo "