function shoutbox ($messages,$info,$id,$ip_test) { global $template, $ip, $PHP_SELF, $werbeart_1,$werbeart_2, $appurl, $appname, $admin_email, $admin_name; while (list($key,$value) = each($info)) {$$key = $value;} if (!$css) $css_file = "no_css.css"; else $css_file = $id . ".css"; $i = 1; for ($z=0; $z" . $thx[name] . ":"; } else {$uname = "" . $thx[name] . ":";} $thx[chat] = replace($thx[chat]); $time = time() - $deletetime; if ($thx['datum'] > $time && $thx[ip] == $ip && $ip_test) { $thx[chat] = $thx[chat] . "
Nachricht löschen"; } if ($smilies) {$thx[chat] = smile($thx[chat],$smilietheme,$smiliecolor);} $color = $info[('table_' . $i)]; @eval ("\$entry .= \"".$template->get("shoutbox_entry")."\";"); if ($i == 1) $i++; else $i--; } if ($newpost) $scroll = 999999; else $scroll = 0; if ($werbeart_1 && $werbung) {$werbung_1 = @implode("",@file("./temp/banner_1.htm"));} if ($werbeart_2 && $werbung) {$werbung_2 = @implode("",@file("./temp/banner_2.htm"));} if ($hp) @eval ("\$hp_feld = \"".$template->get("shoutbox_hp")."\";"); if ($rbutton) @eval ("\$reset = \"".$template->get("shoutbox_reset")."\";"); if ($old && !$help) @eval ("\$links = \"".$template->get("shoutbox_links_1")."\";"); if (!$old && $help) @eval ("\$links = \"".$template->get("shoutbox_links_2")."\";"); if ($old && $help) @eval ("\$links = \"".$template->get("shoutbox_links_3")."\";"); if ($reload) @eval ("\$reload = \"".$template->get("shoutbox_reload")."\";"); else unset($reload); @eval ("\$inhalt = \"".$template->get("shoutbox_view")."\";"); return $inhalt; }