include ('dbconnect.php');
include ('bbcode/bbtest.php');
$cat = $_GET["cat"];
$content = $_GET["content"];
$site = $_GET["site"];
?>
Hilfe, Tipps und Tricks für Schoolwars
include("header.php");
?>
include("navicats.php");
?>
if (!content || $content == "")
{
$abfrage = "SELECT * FROM impressum WHERE id LIKE '3'";
$result = mysql_query($abfrage);
while ($row = mysql_fetch_object($result))
{
$starttext = $row->text;
$startnew = $bbcode->parse ($starttext);
}
echo "
Herzlich Willkommen auf der Seite für Hilfe, Tipps und Tricks zum Browsergame Schoolwars. | ";
######################## Aktuelle News ########################
/* Titel modifizierbar über CSS als "newstitle",
beispielsweise in http://swnews.de/neutral.css:
.newstitle {
font-size: 11px;
}
*/
#include("http://www.schoolwars.de/aktuell.php");
$swaktuell=file_get_contents("http://www.schoolwars.de/aktuell.php");
preg_match_all("/<\/a>(.*) /Umi",$swaktuell,$dates);
preg_match_all("/\"_blank\">(.*)<\/a>/Umi",$swaktuell,$titel);
$newhtml='Aktuelles:';
for($t=0;$t'.$titel[1][$t].' '.$dates[1][$t].' ';
$newshtml.= " ";
}
echo $newhtml;
echo $newshtml;
######################## Aktuelle News ########################
echo"$startnew |
";
$content = 1;
}
if ($content == "impressum")
{
include("impressum.php");
$content = 1;
}
if ($content == "chat")
{
include("chat.php");
$content = 1;
}
if ($content == "log")
{
include("logberechner.php");
$content = 1;
}
if ($content == "karten")
{
include("sammelkarten.php");
$content = 1;
}
if ($content == "skillzeiten")
{
include("skillzeiten.php");
$content = 1;
}
if ($content == "lmv")
{
include("lmvrechner.php");
$content = 1;
}
if ($content == "kontakt")
{
include("kontakt.php");
$content = 1;
}
if ($content == "sendkontakt")
{
include("sendkontakt.php");
$content = 1;
}
if ($content == "soon")
{
include("http://www.sw-forum.de/soon.html");
$content = 1;
}
if ($content == "text")
{
include("text.php");
$content = 1;
}
if ($content == "cat")
{
$content = 1;
$abfrage = "SELECT * FROM cats WHERE id LIKE '$cat'";
$result = mysql_query($abfrage);
while ($row = mysql_fetch_object($result))
{
$catsname = $row->name;
$catbeschreibung = $row->beschreibung;
$catbeschreibung = $bbcode->parse ($catbeschreibung);
}
echo " ";
}
if ($content != 1)
{
echo "
Die von ihnen angegebene Seite wurde nicht gefunden!";
}
?>
|
include("navi2.php");
?>
include("footer.php");
?>