Hunter Greec
Mitglied
Ich hab hier den vollständigen Phpcode von meinem Forum!
Ich will dass nur der mittlere Kasten angezeigt wird! (siehe hier)
Ohne Login etc.!
Ich hab schon alles probiert, da es aber viel zu viele Funktionen in dem Script gibt, die ich nicht verstehe, hat es bis jetzt noch nicht hingehauen!
Könntet ihr mir helfen!?
Vielen Dank im Vorraus....
Ich will dass nur der mittlere Kasten angezeigt wird! (siehe hier)
Ohne Login etc.!
Ich hab schon alles probiert, da es aber viel zu viele Funktionen in dem Script gibt, die ich nicht verstehe, hat es bis jetzt noch nicht hingehauen!
Könntet ihr mir helfen!?
Vielen Dank im Vorraus....
PHP:
<?PHP
//error_reporting(E_ALL);
//* --------------- Installation aufrufen --------------------- *//
if ((!is_writeable("./data")) OR (!file_exists("./data/config.php")))
{
echo "<script language=\"Javascript\">location.href=\"./ap/index.php\";</script><a href=./ap/index.php>Please click here...</a>";
Exit;
}
$phpver = phpversion();
if ($phpver < "4.1.0")
{
echo "<html><body><font color=red>400 ERROR: PHP-VERSION</font></body></html>";
Exit;
}
//* --------------- Funktionen integrieren --------------------- *//
//ini_set('url_rewriter.tags','');
session_start();
header('Cache-control: private');
include("functions.php");
$_FORUM = IniLoad('./data/forum.ini');
$_ADMINS = IniLoad('./data/user/Admins.grp.ini');
//* --------------- Update auf Version 6.4 durchführen --------------------- *//
if (!file_exists('./data/forum.ini'))
{
$_FORUM['update_date'] = ftime(time());
IniSave('./data/forum.ini', $_FORUM);
$bdat = file('./data/bdat.dat');
for ($j = 0; $j < count($bdat); $j++)
{
$line = explode('#',trim($bdat[$j]));
$_BOARD['title'] = $line[0];
$_BOARD['description'] = $line[1];
$_BOARD['topics'] = $line[2];
$_BOARD['answeres'] = $line[3];
$_BOARD['lastpost'] = '';
$_BOARD['auth_topic'] = '*1';
$_BOARD['auth_answere'] = '*1';
$_BOARD['auth_read'] = '*0'.$TRENNZEICHEN.'*1';
$_BOARD['mods'] = str_replace(', ', $TRENNZEICHEN, $line[6]);
IniSave('./data/'.$j.'/board.ini', $_BOARD);
$_ADMINS['members'] = $admin;
IniSave('./data/user/Admins.grp.ini', $_ADMINS);
neu_berechnen($j);
}
@unlink('./data/bdat.dat');
echo '<img src=./ap/images/ap_yes.gif border=0> Ihr Forum wurde erfolgreich auf Version 6.4 geupdated. Bitte loggen Sie sich im Administration-Panel ein und setzen die Zugriffsrechte neu.';
}
//* --------------- Update auf Version 6.4.2 durchführen --------------------- *//
if ($_FORUM['version'] < '6.4.2')
{
$data = file("data/forum.dat");
foreach(explode("#", $data[0]) as $item)
if ($item != '')
if (is_numeric($item))
{
$_BOARD = IniLoad('./data/'.$item.'/board.ini');
$_BOARD['auth_show'] = '*0'.$TRENNZEICHEN.'*1';
IniSave('./data/'.$item.'/board.ini', $_BOARD);
}
$_FORUM['version'] = '6.4.2';
$_FORUM['update_date'] = ftime(time());
IniSave('./data/forum.ini', $_FORUM);
}
//* --------------- Update auf Version 6.4.4 durchführen --------------------- *//
if ($_FORUM['version'] < '6.4.4')
{
$_FORUM['version'] = '6.4.4';
$_FORUM['update_date'] = ftime(time());
IniSave('./data/forum.ini', $_FORUM);
}
//* --------------- Login und Logout --------------------- *//
if ($_SESSION['IP'] == '')
{
$_SESSION['IP'] = $_SERVER['REMOTE_ADDR'];
}
if (($action=="logout") OR ($action == "delete2"))
{
if ($_COOKIE['loginname'] != '')
{
setcookie("loginname", "nicht eingeloggt", time()+99999999999999);
setcookie("loginpasswd", "nicht eingeloggt", time()+99999999999999);
}
$_SESSION['Benutzername'] = '';
unset($_SESSION['Benutzername']);
}
if (($action=="login") && (val_user($name, $passwd)))
{
@session_regenerate_id();
$_SESSION['Benutzername'] = $name;
if ($cookie == "on")
{
setcookie("loginname", $name, time()+99999999999999);
setcookie("loginpasswd", $passwd, time()+99999999999999);
}
// Last Login
$udat = FileLoad("./data/user/".$_SESSION['Benutzername'].".txt");
$udat[0][3] = time();
FileSave("./data/user/".$_SESSION['Benutzername'].".txt", $udat);
}
else
{
if ((!$_SESSION['Benutzername']) && (val_user($_COOKIE['loginname'], $_COOKIE['loginpasswd'])) && ($action != "logout"))
{
@session_regenerate_id();
$_SESSION['Benutzername'] = $loginname;
// Last Login
$udat = FileLoad("./data/user/".$_SESSION['Benutzername'].".txt");
$udat[0][3] = time();
FileSave("./data/user/".$_SESSION['Benutzername'].".txt", $udat);
}
}
//* --------------- Header --------------------- *//
$add_title = '';
$add_description = $_FORUM['settings_forum_description'];
$add_keywords = $_FORUM['settings_forum_keywords'];
if (auth('auth_read', false))
{
$_BOARD = IniLoad('./data/'.$board.'/board.ini');
$add_title = ' » '.$_BOARD['title'];
if (file_exists('./data/'.$board.'/'.$thema.'.txt'))
{
$arr = FileLoad('./data/'.$board.'/'.$thema.'.txt');
$add_title .= ' » '.$arr[0][2];
$add_description = history_text($arr[0][2], $arr[0][3], 300);
// Keywords erzeugen
$seperator = " ,.!?:'\"_#+*()\\/\n\r\t";
$arr_keywords = array();
$tok = strtok(history_text($arr[0][2], $arr[0][3], 1000), $seperator);
while ($tok !== false)
{
if (strlen($tok) > 4)
array_push($arr_keywords, $tok);
$tok = strtok($seperator);
}
$arr_keywords = array_unique($arr_keywords);
$add_keywords = implode(', ', $arr_keywords);
}
}
echo '<html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><meta name="Author" content="GL-SH Deaf Forum Script - www.frank-karau.de"><meta name="Keywords" CONTENT="'.$add_keywords.'"><meta name="Description" CONTENT="'.$add_description.'"><meta http-equiv="cache-control" content="no-cache">';
if ($_FORUM['settings_system_shorturls'])
{
if ($FORUM_URL != '') echo '<base href="'.$FORUM_URL.'/">';
}
if ($robots_index)
echo '';
//echo '<meta name="robots" content="index, follow">';
else
echo '<meta name="robots" content="noindex, follow">';
echo '<TITLE>'.$FORUM_NAME.$add_title.'</TITLE>';
if ($FORUM_ALLOW_RSS)
echo '<link rel="alternate" type="application/atom+xml" title="'.$FORUM_NAME.'" href="'.$FORUM_URL.'/rss.php">';
echo '<link rel=stylesheet type="text/css" href="styles/'.$style.'/text.css"></head><body>';
//* --------------- Online-Statistik schreiben --------------------- *//
$count_online = 0;
$count_online_user = array();
$count_today = 0;
$count_gesamt = 0;
$count_data = FileLoad("./data/count.txt");
if (($count_data[0][0]=='') OR ($count_data[0][0] > time()-100000))
{
if (file_exists("./data/count.tmp"))
{
$count_data = FileLoad("./data/count.tmp");
}
else
{
$count_data[0] = array('0', '', '', '');
}
}
for ($i=0; $i<1000; $i++)
{
$user_in_board[$i] = array();
$guests_in_board[$i] = 0;
}
$count_gefunden = false;
for ($i=1; $i<count($count_data); $i++)
{
if (date("d.m.y", $count_data[$i][0]) != date("d.m.y", time()))
{
$count_data[$i][0] = '-';
}
else
{
if (($count_data[$i][2] == $_SESSION['Benutzername']) AND ($_SESSION['Benutzername']))
{
$count_data[$i][0] = time();
if ($count_gefunden) $count_data[$i][0] = "-";
$count_data[$i][1] = $_SESSION['IP'];
$count_data[$i][2] = $_SESSION['Benutzername'];
$count_data[$i][3] = $board;
$count_data[$i][4] = session_id();
$count_gefunden = true;
}
else if ($count_data[$i][1] == $_SESSION['IP'])
{
$count_data[$i][0] = time();
if ($count_gefunden) $count_data[$i][0] = "-";
$count_data[$i][1] = $_SESSION['IP'];
$count_data[$i][2] = $_SESSION['Benutzername'];
$count_data[$i][3] = $board;
$count_data[$i][4] = session_id();
$count_gefunden = true;
}
if ($count_data[$i][0] > (time() - 300))
{
$count_online++;
if ($count_data[$i][2] != '') array_push($count_online_user, $count_data[$i][2]);
if (is_numeric($count_data[$i][3]))
{
if ($count_data[$i][2] != '')
{
@array_push($user_in_board[$count_data[$i][3]], $count_data[$i][2]);
}
else
{
$guests_in_board[$count_data[$i][3]]++;
}
}
}
}
}
if (!$count_gefunden)
{
array_push($count_data, array(time(), $_SESSION['IP'], $_SESSION['Benutzername'], $board, session_id()));
if ($_SESSION['Benutzername']) array_push($count_online_user, $_SESSION['Benutzername']);
$count_data[0][0]++;
$count_online++;
}
FileSave("./data/count.txt", $count_data);
if (($count_data[0][0] > 2) && ($count_data[0][0] < time()-100000))
{
FileSave("./data/count.tmp", $count_data);
}
$count_data = FileLoad("./data/count.txt");
$count_gesamt = $count_data[0][0];
$count_today = count($count_data)-1;
//* --------------- Style einfügen --------------------- *//
@include("./styles/$style/top.php");
$file = file("./styles/$style/top.fsd");
foreach ($file as $line)
{
$line = str_replace("{_USER_ONLINE_}","<nobr><a href=index.php#statistik>$count_online ".$_TEXT['STAT_X_ONLINE']."</a></nobr>",$line);
$line = str_replace("{_HEADLINE_}",$FORUM_HEADER,$line);
$line = str_replace("{_NAVIGATION_}","<a href=./>".$_TEXT['NAV_FORUM']."</a> | <a href=reg.php>".$_TEXT['NAV_REGISTER']."</a> | <a href=login.php>".$_TEXT['NAV_LOGIN']."</a> | <a href=ranking.php>".$_TEXT['NAV_RANKING']."</a> | <a href=search.php>".$_TEXT['NAV_SEARCH']."</a> | <a href=faq.php>".$_TEXT['NAV_FAQ']."</a> | <a href=impressum.php>".$_TEXT['NAV_IMPRESSUM']."</a>",$line);
$line = str_replace("{_STYLE_}",$style,$line);
$line = str_replace("{_FORUM_VERSION_}",$_FORUM['version'],$line);
if ($_SESSION['Benutzername'])
{
$replace_with = user($_SESSION['Benutzername'])." | <a href=my_profil.php>".$_TEXT['LOGIN_PROFILE']."</a> | <a href=\"".$_SERVER['SCRIPT_NAME']."?".$_SERVER['QUERY_STRING']."&action=logout\">".$_TEXT['LOGIN_LOGOUT']."</a>";
}
else
{
$replace_with = "<form action=\"".$_SERVER['SCRIPT_NAME']."?".$_SERVER['QUERY_STRING']."&action=login\" name=\"login\" method=post>".$_TEXT['LOGIN_USERNAME'].": <INPUT TYPE=\"TEXT\" class=\"txt\" NAME=\"name\" SIZE=\"10\" MAXLENGTH=\"20\"> ".$_TEXT['LOGIN_PASSWORD'].": <INPUT TYPE=\"PASSWORD\" class=\"txt\" NAME=\"passwd\" SIZE=\"10\" MAXLENGTH=\"20\"> <INPUT TYPE=\"SUBMIT\" class=\"btn\" NAME=\"submit\" VALUE=\"".$_TEXT['LOGIN_LOGIN']."\"></td></form>";
}
$line = str_replace("{_USER_LOGIN_}",$replace_with,$line);
echo $line;
}
?>
<?PHP
if (file_exists("./data/offline.txt"))
{
echo "<table width=600 cellspacing=0 cellpadding=0 border=0 class=bordercolor><tr><td><table width=100% cellspacing=1 cellpadding=5><tr><td class=oben>".$_TEXT['FORUM_OFFLINE']."</td></tr><tr><td class=g>";
$file = file("data/offline.txt");
foreach($file as $line)
{
if ($line <> $file[0]) echo "<br>";
echo do_ubb($line);
}
echo "</td></tr></table></td></tr></table>";
include("bottom.php");
Exit;
}
?>
<script type="text/javascript" language="JavaScript1.2" src="http://phlansh.111mb.de/phlansh/stmenu.js"></script>
<script type="text/javascript" language="JavaScript1.2">
<!--
stm_bm(["menu45ba",730,"","http://phlansh.111mb.de/phlansh/blank.gif",0,"","",1,0,250,0,1000,1,0,0,"","",0,0,1,2,"default","hand",""],this);
stm_bp("p0",[0,4,0,0,2,6,0,9,100,"",-2,"",-2,50,2,3,"#999999","transparent","http://phlansh.111mb.de/phlansh/bluefireback1.gif",1,1,1,"#000000 #666666 #B4C8B4"]);
stm_ai("p0i0",[0,"Home","","",-1,-1,0,"http://phlansh.111mb.de/phlansh/index.php","_self","","","","",0,0,0,"","",0,0,0,0,1,"#00CCFF",1,"#B5BED6",1,"","http://phlansh.111mb.de/phlansh/bluefireback2.gif",3,0,0,0,"#FFFFF7","#000000","#FFFFFF","#FFFFFF","9pt Verdana","9pt Verdana",0,0],90,0);
stm_aix("p0i1","p0i0",[0,"News","","",-1,-1,0,"#","_self","","","","",0,0,0,"http://phlansh.111mb.de/phlansh/0604arroldw.gif","http://phlansh.111mb.de/phlansh/0604arroldw.gif",9,7,0,0,1,"#FFFFF7"],90,0);
stm_bp("p1",[1,4,0,0,5,5,0,0,85,"",-2,"",-2,50,2,3,"#999999","#333333","",0,1,1,"#B4C8B4"]);
stm_aix("p1i0","p0i0",[0,"Anstehende Events","","",-1,-1,0,"http://phlansh.111mb.de/phlansh/news.php","_self","","","","",0,0,0,"","",0,0,0,0,1,"#00CCFF",1,"#B4C8B4",0,"","",3,0,0,0,"#FFFFF7","#000000","#FFFFFF","#000000","8pt Verdana","8pt Verdana"]);
stm_aix("p1i1","p1i0",[0,"Gespielte Gigs","","",-1,-1,0,"http://phlansh.111mb.de/phlansh/gespielte.php"]);
stm_ep();
stm_aix("p0i2","p0i1",[0,"Downloads","","",-1,-1,0,"http://phlansh.111mb.de/phlansh/downloads/index.php","_self","","","","",0,0,0,"","",0,0],90,0);
stm_aix("p0i3","p0i1",[0,"Unterhaltung"],90,0);
stm_bpx("p2","p1",[1,4,0,0,5,5,0,9]);
stm_aix("p2i0","p1i0",[0,"Forum","","",-1,-1,0,"http://phlansh.111mb.de/phlansh/forum/index.php"]);
stm_aix("p2i1","p1i0",[0,"Gästebuch","","",-1,-1,0,"http://phlansh.111mb.de/weichbook-1.1.2/index.php"]);
stm_aix("p2i2","p1i0",[0,"Bilder","","",-1,-1,0,"","_self","","","","",0,0,0,"http://phlansh.111mb.de/phlansh/0604arroldw.gif","http://phlansh.111mb.de/phlansh/0604arroldw.gif",9,7]);
stm_bpx("p3","p1",[1,2]);
stm_aix("p3i0","p1i0",[0,"Übersicht","","",-1,-1,0,"http://phlansh.111mb.de/phlansh/pic_upload/index.php"]);
stm_aix("p3i1","p1i0",[0,"Bilder - Upload","","",-1,-1,0,"http://phlansh.111mb.de/phlansh/pic_upload/geheim/index.php"]);
stm_ep();
stm_ep();
stm_ep();
stm_em();
//-->
</script>
<?PHP
$robots_index = true;
//abbrechen, wenn Thema nicht existiert
if (!((file_exists("data/".$board."/".$thema.".txt")) && (is_numeric($board))))
{
show_error('ERROR_TOPIC');
}
$_BOARD = IniLoad('./data/'.$board.'/board.ini');
$gesperrt = file_exists("data/".$board."/".$thema.".lck");
auth('auth_read');
function bb_php_string($text)
{
$text = str_replace("<br />","¿",$text);
$text = html_entity_decode($text);
ob_start();
highlight_string($text);
$text = ob_get_contents();
ob_end_clean();
$text = str_replace("¿","<br>",$text);
return $text;
}
?>
<table width=600 cellspacing=0 cellpadding=0 border=0 class=bordercolor><tr><td>
<table width=100% cellspacing=1 cellpadding=5 border=0>
<?PHP
$data = FileLoad("data/".$board."/".$thema.".txt");
$gesamt = count($data);
// Views zählen
if (($data[0][4])=="") $data[0][4] = $gesamt;
$data[0][4] = ($data[0][4] + 1);
FileSave("data/".$board."/".$thema.".txt", $data);
echo '
<tr>
<td colspan="5" class="w">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="w"><a href="./">'.$_TEXT['FORUM'].'</a> » <a href='.url('board.php',$board).'>'.$_BOARD['title'].'</a> » '.$data[0][2].'</td>
<td class="w" align="right">
';
$items = 10;
$pages = ceil(($gesamt)/$items);
if ($page=="last") $page=$pages;
if ($page>$pages) $page=$pages;
if ($page<1) $page=1;
show_pages_($pages, $page, 'thema.php', $board, $thema);
echo '
</td>
</tr></table>
</td>
</tr>
<tr>
<td class=oben colspan="2">
';
if (!$gesperrt) echo "<a href=post.php?do=beitragneu&board=$board&thema=$thema class=w>".$_TEXT['ANSWER']."</a>";
if ($gesperrt) echo $_TEXT['LOCKED'];
echo "</tr>";
$von = (($page-1)*$items);
$bis = ($page*$items);
if ($von<0) $von=0;
if ($bis>$gesamt) $bis=$gesamt;
$color="g";
for ($i=$von; $i<$bis; $i++)
{
echo "<tr><td class=$color valign=top width=20%>".ftime($data[$i][0])."<br>";
$user = $data[$i][1];
echo "<b>".user($user)."</b><br>";
if (file_exists("./data/user/".$user.".txt"))
{
$udat = FileLoad("./data/user/".$user.".txt");
$avatar = $udat[2][2];
if (($avatar!="") && (@file($avatar)))
{
$info = getimagesize($avatar);
if (($info[0]<=$OWN_AVATAR_SIZE_X) && ($info[1]<=$OWN_AVATAR_SIZE_Y))
echo "<br><img src=$avatar border=0>";
}
}
else
{
echo "<sup>".$_TEXT['NOT_REGISTERED'];
}
echo "<br><br>";
if (!$gesperrt)
{
echo "<a href=post.php?do=beitragneu&board=$board&thema=$thema&beitrag=$i><img src=styles/$style/images/do_answere.gif border=0 title=\"".$_TEXT['ANSWER']."\"></a>";
if (($_SESSION['Benutzername'] == $data[$i][1]) || (IsMod($board,$_SESSION['Benutzername']) && $FORUM_ALLOW_EDIT))
{
echo "<a href=post.php?do=edit&board=$board&thema=$thema&beitrag=$i><img src=styles/$style/images/do_edit.gif border=0 title=\"".$_TEXT['EDIT']."\"></a>";
}
}
if (IsMod($board,$_SESSION['Benutzername']))
{
if (($i==0) && (!$gesperrt)) echo "<a href=do.php?board=$board&thema=$thema&do=sperren><img src=styles/$style/images/do_lock.gif border=0 title=\"".$_TEXT['LOCK']."\"></a>";
if (($i==0) && ($gesperrt)) echo "<a href=do.php?board=$board&thema=$thema&do=entsperren><img src=styles/$style/images/do_unlock.gif border=0 title=\"".$_TEXT['UNLOCK']."\"></a>";
if ($i==0)
{
if (file_exists("./data/$board/$thema.pin"))
{echo "<a href=do.php?board=$board&thema=$thema&do=unpin><img src=styles/$style/images/do_unpin.gif border=0 title=\"".$_TEXT['UNPIN']."\"></a>";}
else
{echo "<a href=do.php?board=$board&thema=$thema&do=pin><img src=styles/$style/images/do_pin.gif border=0 title=\"".$_TEXT['PIN']."\"></a>";}
}
if ($i==0) echo "<a href=do_move.php?board=$board&thema=$thema><img src=styles/$style/images/do_move.gif border=0 title=\"".$_TEXT['MOVE']."\"></a>";
echo "<a href=do.php?do=del&board=$board&thema=$thema&beitrag=$i><img src=styles/$style/images/do_delete.gif border=0 title=\"".$_TEXT['DELETE']."\"></a>";
}
echo "</td>";
// Sytaxhightlighting
$data[$i][3] = preg_replace("/\[php\](.*?)\[\/php\]/esiU", "bb_php_string('$1')", $data[$i][3]);
// Badwordfilter
$file = file("data/badwordlist.txt");
$count = count($file);
for ($x=0;$x<=$count;$x++)
{
$badwords = explode("=", $file[$x]);
$data[$i][3] = str_replace($badwords[0],$badwords[1], $data[$i][3]);
}
echo "<td class=$color valign=top width=80%><a name=".$i."></a><b>".$data[$i][2]."</b><p>".$data[$i][3]."</td></tr>";
if ($color=="g") {$color="w";}else{$color="g";}
}
if ($gesperrt)
{
echo "<tr><td colspan=2 class=g>";
$temp = file("data/".$board."/".$thema.".lck");
$temp2 = explode($TRENNZEICHEN, $temp[0]);
if (is_numeric($temp2[0])) echo $_TEXT['LOCKED_BY']." ".user($temp2[1])." (".ftime($temp2[0]).")";
else echo $temp[0];
echo "</td></tr>";
}
echo '
<tr>
<td colspan="5" class="w">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="w"><a href="./">'.($gesperrt?'':'<a href=post.php?do=beitragneu&board='.$board.'&thema='.$thema.'>'.$_TEXT['ANSWER'].'</a>').'</td>
<td class="w" align="right">
';
show_pages_($pages, $page, 'thema.php', $board, $thema);
?>
</td></tr></table>
</td></tr></table>
</td></tr></table>
<script language="JavaScript">
function user(id){
userwind = open("<?PHP if ($FORUM_URL != '') echo $FORUM_URL.'/'; ?>user.php?id=" + id + "&<?PHP echo session_name().'='.session_id(); ?>","user","width=320,height=400,screenX=0,screenY=0,locationbar=no,menubar=no,scrollbars=yes");
userwind.focus();
}
function user_mail(id){
userwind = open("<?PHP if ($FORUM_URL != '') echo $FORUM_URL.'/'; ?>user_mail.php?id=" + id + "&<?PHP echo session_name().'='.session_id(); ?>","user","width=320,height=400,screenX=0,screenY=0,locationbar=no,menubar=no,scrollbars=yes");
userwind.focus();
}
</script>
<?PHP
GLOBAL $style;
$file = file("styles/$style/bottom.fsd");
foreach ($file as $line)
{
GLOBAL $version;
$line = str_replace("{_USER_ONLINE_}","<a href=index.php#statistik>$count_online ".$_TEXT['STAT_X_ONLINE']."</a>",$line);
$line = str_replace("{_HEADLINE_}",$FORUM_HEADER,$line);
$line = str_replace("{_NAVIGATION_}","<a href=./>".$_TEXT['NAV_FORUM']."</a> | <a href=reg.php>".$_TEXT['NAV_REGISTER']."</a> | <a href=login.php>".$_TEXT['NAV_LOGIN']."</a> | <a href=ranking.php>".$_TEXT['NAV_RANKING']."</a> | <a href=search.php>".$_TEXT['NAV_SEARCH']."</a> | <a href=faq.php>".$_TEXT['NAV_FAQ']."</a> | <a href=impressum.php>".$_TEXT['NAV_IMPRESSUM']."</a>",$line);
$line = str_replace("{_STYLE_}",$style,$line);
$line = str_replace("{_FORUM_VERSION_}",$_FORUM['version'],$line);
if ($_SESSION['Benutzername'])
{
$replace_with = user($_SESSION['Benutzername'])." | <a href=my_profil.php>".$_TEXT['LOGIN_PROFIL']."</a> | <a href=\"?".$_SERVER['QUERY_STRING']."&action=logout\">".$_TEXT['LOGIN_LOGOUT']."</a>";
}
else
{
$replace_with = "<form action=\"?".$_SERVER['QUERY_STRING']."&action=login\" name=\"login\" method=post>".$_TEXT['LOGIN_USERNAME'].": <INPUT TYPE=\"TEXT\" class=\"txt\" NAME=\"name\" SIZE=\"10\" MAXLENGTH=\"30\"> ".$_TEXT['LOGIN_PASSWORD'].": <INPUT TYPE=\"PASSWORD\" class=\"txt\" NAME=\"passwd\" SIZE=\"10\" MAXLENGTH=\"30\"> <INPUT TYPE=\"SUBMIT\" class=\"btn\" NAME=\"submit\" VALUE=\"".$_TEXT['LOGIN_LOGIN']."\"></td></form>";
}
$line = str_replace("{_USER_LOGIN_}",$replace_with,$line);
echo $line;
}
@include("./styles/$style/bottom.php");
?>
</body></html>
<p><table width=600 cellspacing=0 cellpadding=0 border=0 class=bordercolor><tr><td>
<table width=100% cellspacing=1 cellpadding=5 border=0>
<tr><td class=g><center><a href="http://www.frank-karau.de" target="_blank"><img src="./images/powered.gif" alt="Php Forum"border="0"></a><a href="http://www.my-deaf.com" target="_blank"><img src="./images/deaf.gif" alt="Deaf Community"border="0"><a href="http://www.reifen-360.de" target="_blank"><img src="./images/f.gif" alt="Reifen"border="0"></a><a href="http://www.versicherung-vergleiche.de" target="_blank"><img src="./images/o.GIF" alt="Zahnzusatzversicherung"border="0"></a><a href="http://www.pkv360.de" target="_blank"><img src="./images/r.GIF" alt="Private Krankenversicherung"border="0"></a><a href="http://www.golfakademie-gmbh.de" target="_blank"><img src="./images/u.GIF" alt="Golf" border="0"></a><a href="http://www.oekoadressen.de" target="_blank"><img src="./images/m.GIF" alt="Branchenbuch"border="0"></a><a href="http://www.business-handy.com" target="_blank"><img src="./images/gehoerlose.GIF" alt="Handys Handy-Shop"border="0"></a><a href="http://www.roulette-forum.de" target="_blank"><img src="./images/schwerhoerige.GIF" alt="Poker Forum"border="0"></a><a href="http://artikel.industrystock.de" target="_blank"><img src="./images/php_forum.GIF" alt="kostenloses Artikelverzeichnis Script"border="0"></a> <a href="http://www.privathaftpflicht-versicherung.eu" target="_blank"><img src="./images/f.gif" alt="Privathaftpflicht"border="0"><img src="./images/i.gif" alt="Final"border="0"><img src="./images/n.gif" alt="Final"border="0"><img src="./images/a.gif" alt="Final"border="0"><img src="./images/l.gif" alt="Final"border="0"></td></tr>
</td></tr>
</td></tr>
</center></td></tr>
</table>
</td></tr></table>