//NewsSys News Show (c) 2000 Ingo Schramme, is@glcs.de
// Ver. 1.0, 05022001 - Variablen nun in init.php3
require("init.php3");
require("news.inc.php3");
?>
Lactat Internet - www.lactat.at | Bike Control
$conn = mysql_connect($SQL_Server,$SQL_User,$SQL_Pass);
$select = mysql_select_db($SQL_DB,$conn);
echo "\n";
if ($Archiv_Datum != "") { $SQL_Str = "WHERE News_Group LIKE '%$News_Group;%' AND News_Datum LIKE '$Archiv_Datum%' ORDER BY News_Datum DESC, News_Zeit DESC"; }
else { $SQL_Str = "WHERE News_Group LIKE '%$News_Group;%' ORDER BY News_Datum DESC, News_Zeit DESC"; }
if ($News_Index) { $SQL_Str = "WHERE News_Index = '$News_Index'"; }
$result = mysql_query("SELECT * FROM DB_News $SQL_Str",$conn);
while ($row_news = mysql_fetch_array($result, MYSQL_ASSOC))
{
if ($News_Date != $row_news[News_Datum])
{
echo "\n";
echo " ".ConvDate($row_news[News_Datum])." | \n";
echo "
\n";
echo " | \n";
echo "
";
}
echo "\n";
echo "";
if ($News_Index)
{
echo news_func($row_news, "NEWSTEXT");
}
else
{
echo news_func($row_news, "INTRO");
}
echo " | \n";
echo "
\n";
echo "
| \n";
echo "
";
$News_Date = $row_news[News_Datum];
$News_Link = $row_news[News_Datum].".".$row_news[News_Zeit];
}
if ($News_Index)
{
echo "\n";
echo "$News_Detail_Space$News_Detail_Back | \n";
echo "
\n";
}
echo "
";
mysql_close($conn);
?>