Location: PHPKode > projects > NewsP > intern.php
<HTML>
<HEAD>
	<TITLE>Gerds Aktuell</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#8339D5" VLINK="#8339D5" ALINK="#FF0000">


<?php
$serverpfad = getenv('SCRIPT_FILENAME'); 
$zerteil_slash = explode('/',$serverpfad);
$anz_sl = count($zerteil_slash);
$b = 0;
while ($b < ($anz_sl-2))
{
$pfad = "$pfad$zerteil_slash[$b]/";
$b++;
}
$scriptpath = "$pfad";
$steuerfiles = "steuerfiles/";
$steuerpath ="$scriptpath$steuerfiles";
$aktuellurl = "../";

@$ft = fopen("../footer.txt","r"); 
@$inhalt_ft = fgets($ft);  
@fclose($ft); 
$i_ft = explode(',',$inhalt_ft);
$t_ft = $i_ft[0];
$l_ft = $i_ft[1];
$v_ft1 = "<BR>&nbsp;<BR>&nbsp;<CENTER><span style=\"font-weight:100; font-size: 8pt; font-family:Arial, Helvetica, sans-serif; line-height: 15px; color:silver; text-align:center;\">";
$v_ft2 = "<A style=\"color:silver;\" HREF=\"http://";
$v_ft3 = "\" TARGET=\"_blank\">";
$v_ft4 = "</A></span></CENTER>";
$ed ="$v_ft1$t_ft $v_ft2$l_ft $v_ft3 $l_ft $v_ft4";

$php = ".php";
$txt = ".txt";
$_ = "_";
$ende = "ende";
$jetzt_unix = time();
$outform_time =  '%d.%b.%Y '; 
$tafelcolor ="#FFFF80";
$tag_az = "TT";
$monat_az = "MM"; 
$jahr_az = "YYYY";
$refresh = $HTTP_POST_VARS["refresh"]; 
### Files löschen ############################################
$delete = $HTTP_POST_VARS["delete"]; 
$del_name = $HTTP_POST_VARS["del_name"]; 
$del_datum = $HTTP_POST_VARS["del_datum"]; 
if ($delete == "delete")
{
$datum_del= strftime($outform_time , $del_datum); 
echo "<CENTER><TABLE width=860 <TR><TD class=td_error> <CENTER><B>Should <A HREF=\"../$del_name\" TARGET=\"_blank\">$del_name</A> from $datum_del really be deleted?</B><br>";
echo "<TABLE><TR><TD><form name=\"del\" method=\"post\" action=\"\" enctype=\"multipart/form-data\"> <input type=\"hidden\" name=\"delete\" value=\"delete_true\"><input type=\"hidden\" name=\"del_name\" value=\"$del_name\"><input type=\"hidden\" name=\"del_datum\" value=\"$del_datum\"><input type=submit value=YES></form> </TD>";
echo "<TD><form name=\"del\" method=\"post\" action=\"\" enctype=\"multipart/form-data\"><input type=submit value=NO></form> </TD></TR></TABLE></CENTER></TD></TR></TABLE></CENTER>";
}
if ($delete == "delete_true")
{
$delfile1 = "$scriptpath$del_name";
$delfile2 = "$steuerpath$del_datum$txt";
unlink ($delfile1);
unlink ($delfile2);
}

if (!file_exists(".htaccess")) 
{ 
echo "daaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
} ;
########################################################
$fehler1="<CENTER><TABLE width=860><TR><TD class=td_error> <B>$lg[p1_err01]<br></B></TD></TR></TABLE></CENTER>";
$fehler2="<CENTER><TABLE width=860><TR><TD class=td_error> <B>$lg[p1_err02]<br></B></TD></TR></TABLE></CENTER>";
####### Entgegennehmen der Eigabe ######################
$minute = $HTTP_POST_VARS["minute"]; 
$stunde = $HTTP_POST_VARS["stunde"]; 
$tag = $HTTP_POST_VARS["tag"]; 
$monat = $HTTP_POST_VARS["monat"]; 
$jahr = $HTTP_POST_VARS["jahr"]; 
$titel = $HTTP_POST_VARS["titel"]; 
$nachricht = $HTTP_POST_VARS["nachricht"]; 
$nachricht = stripcslashes($nachricht);
$anlegen = $HTTP_POST_VARS["anlegen"]; 
$editiert_ja = $HTTP_POST_VARS["editiert"]; 
$edit_url = $HTTP_POST_VARS["edit_url"]; 
### EXPIRE #########################################
$tag_e = $HTTP_POST_VARS["tag_e"]; 
$monat_e = $HTTP_POST_VARS["monat_e"]; 
$jahr_e = $HTTP_POST_VARS["jahr_e"]; 
if (($tag_e !="" && $monat_e != "" && $jahr_e != "") && ($anlegen =="neu"))
{ 
$expiredate = mktime(0, 0, 0, $monat_e, $tag_e, $jahr_e);
}else{
$expiredate = "";}
### Sonderzeichen umstellen ##############################
$nachricht = urlencode($nachricht);
$nachricht = str_replace("%0D%0A", "<br>", $nachricht);
$nachricht = urldecode($nachricht);
$nachricht = htmlentities($nachricht);
$titel_mod = $titel;
$titel = stripcslashes($titel);
$titel = htmlentities($titel);
$nachricht_feld = str_replace("&lt;br&gt;", "\n", $nachricht);
$nachricht = str_replace("&lt;br&gt;", "<br>", $nachricht);
$nachricht = str_replace("[b]", "<b>", $nachricht);
$nachricht = str_replace("[/b]", "</b>", $nachricht);
$nachricht = str_replace("[i]", "<i>", $nachricht);
$nachricht = str_replace("[/i]", "</i>", $nachricht);
$nachricht = str_replace("[c]", "<CENTER>", $nachricht);
$nachricht = str_replace("[/c]", "</CENTER>", $nachricht);
$nachricht = str_replace("[r]", "<P ALIGN=RIGHT>", $nachricht);
$nachricht = str_replace("[/r]", "</P>", $nachricht);
$nachricht = str_replace("[img]", "<IMG SRC=\"", $nachricht);
$nachricht = str_replace("[img-r]", "<img style=\"float:right; margin: 5px;\" src=\"", $nachricht);
$nachricht = str_replace("[img-l]", "<img style=\"float:left; margin: 5px;\" src=\"", $nachricht);
$nachricht = str_replace("[/img]", "\">", $nachricht);
### E D I T I E R E N ########################################
$edit_datum = $HTTP_POST_VARS["edit_datum"]; 
if ($edit_datum != "")
{
$editiert = "ja";
$minuteform =  "%M";
$stundeform =  '%H';
$tagform =  '%d';
$monatform =  '%m';
$jahrform =  '%Y';

	$zaehlfile = fopen("../$steuerfiles$edit_datum$txt","r"); 
	$inhalt_zaehlfile = fgets($zaehlfile);  
	fclose($zaehlfile); 
	$inhalt = explode('ä',$inhalt_zaehlfile);
$datum = $inhalt[0];
$edit_datum = $datum;
$expire = $inhalt[1];
$filename = $inhalt[2];
$titel_e = $inhalt[3];
$nachricht_feld_e = $inhalt[4];

$nachricht_feld_e = str_replace("<br>", "\n", $nachricht_feld_e);
$nachricht_feld_e = str_replace("<b>", "[b]", $nachricht_feld_e);
$nachricht_feld_e = str_replace("</b>", "[/b]", $nachricht_feld_e);
$nachricht_feld_e = str_replace("<i>", "[i]", $nachricht_feld_e);
$nachricht_feld_e = str_replace("</i>", "[/i]", $nachricht_feld_e);
$nachricht_feld_e = str_replace("<CENTER>", "[c]", $nachricht_feld_e);
$nachricht_feld_e = str_replace("</CENTER>", "[/c]", $nachricht_feld_e);
$nachricht_feld_e = str_replace("<P ALIGN=RIGHT>", "[r]", $nachricht_feld_e);
$nachricht_feld_e = str_replace("</P>", "[/r]", $nachricht_feld_e);
$nachricht_feld_e = str_replace("<IMG SRC=\"", "[img]", $nachricht_feld_e);
$nachricht_feld_e = str_replace("<img style=\"float:right; margin: 5px;\" src=\"", "[img-r]", $nachricht_feld_e);
$nachricht_feld_e = str_replace("<img style=\"float:left; margin: 5px;\" src=\"", "[img-l]", $nachricht_feld_e);
$nachricht_feld_e = str_replace("\">", "[/img]>", $nachricht_feld_e);

$minute_az= strftime($minuteform , $datum); 
$stunde_az= strftime($stundeform , $datum); 
$tag_az= strftime($tagform , $datum); 
$monat_az= strftime($monatform , $datum); 
$jahr_az= strftime($jahrform , $datum); 
	if ($expire != ""){
	$minute_e= strftime($minuteform , $expire); 
	$stunde_e= strftime($stundeform , $expire); 
	$tag_e= strftime($tagform , $expire); 
	$monat_e= strftime($monatform , $expire); 
	$jahr_e= strftime($jahrform , $expire); 
	}

}
###Fehler prüfen #######################################
if (($tag =="TT" || $monat == "MM" || $jahr == "YYYY") && ($anlegen =="neu"))
{ 
$datum_zu_unix = $jetzt_unix;
}else{
if ($anlegen =="neu")
{
$datum_zu_unix = mktime($stunde, $minute, 0, $monat, $tag, $jahr);
}}

if ($titel == "" && $anlegen =="neu")
{echo "$fehler1";
$anleg ="nix";}
if ($nachricht == "" && $anlegen =="neu")
{echo "$fehler2";
$anleg ="nix";}
### Files anlegen ######################################
if ($anleg == "" && $anlegen =="neu")
{
### Für Dateiname ######################################
$titel_mod = strtolower($titel_mod);
$titel_mod = str_replace("%", "prz", $titel_mod);
$titel_mod = str_replace("ä", "ae", $titel_mod);
$titel_mod = str_replace("ü", "ue", $titel_mod);
$titel_mod = str_replace("ö", "oe", $titel_mod);
$titel_mod = str_replace("ß", "ss", $titel_mod);
$titel_mod = str_replace(" ", "_", $titel_mod);
$titel_mod = str_replace("'", "", $titel_mod);
$titel_mod = str_replace("/", "", $titel_mod);
$titel_mod = str_replace(",", "", $titel_mod);
$titel_mod = str_replace(".", "", $titel_mod);
$titel_mod = str_replace(")", "-", $titel_mod);
$titel_mod = str_replace("(", "-", $titel_mod);
$titel_mod = urlencode($titel_mod);
$titel_mod = str_replace("%", "_", $titel_mod);
$titel_mod = str_replace("_5C_22", "", $titel_mod);

$dateiname = "$titel_mod$php";
$check = "testen";
$i = 1;

	if ($editiert_ja == "ja"){
	$delfile3 = "$steuerpath$edit_datum$txt";
	$delfile4 = "$scriptpath$edit_url";
	unlink ($delfile3);
	unlink ($delfile4);
	}

while ($check == "testen") {
$xfile = "$scriptpath$dateiname" ;
if (file_exists("$xfile")) 
{
$i++;
$dateiname = "$titel_mod$_$i$php";
}
else{$check = "ok";
echo "Gespeichert als <B>$dateiname</B><P>";
}}


### STEUERFILES #################################################
$st = 600;
$check_st = "testen";
while ($check_st == "testen") {
$yfile = "$steuerpath/$datum_zu_unix.txt" ;
if (file_exists("$yfile")) 
{
$st++;
$datum_zu_unix = $datum_zu_unix+$st;
}
else{$check_st = "ok";}
}


$zu_speichernd = array("$datum_zu_unix","$expiredate","$dateiname","$titel","$nachricht","$ende");
$schreibe = implode('ä',$zu_speichernd);
$fp = fopen("../steuerfiles/$datum_zu_unix.txt","w"); 
fputs($fp,$schreibe.",");
fclose($fp);

### PHP-FILES ##########################################
$datum_seite= strftime($outform_time , $datum_zu_unix);
$schreib_php = "<? include(\"templates/p1.txt\"); ?>$titel<? include(\"templates/p2.txt\"); include(\"templates/headline.txt\"); include(\"templates/p3.txt\"); ?>$datum_seite<? include(\"templates/p4.txt\"); ?>$titel<? include(\"templates/p5.txt\"); ?>$nachricht $ed<? include(\"templates/p6.txt\"); ?>";
$file = fopen("../$dateiname","a"); 
rewind($file);
fwrite($file,$schreib_php);
fclose($file);
echo "<META HTTP-EQUIV=Refresh CONTENT=\"1; URL=../admin/\">";
}
##############################################


?>
<H2>Gerd's little Newsscript</H2>
<CENTER>

<TABLE>
<TR>
	<TD>
<TABLE width="860" border=0 cellspacing="0">
<TR>
	<TD class=td_silver valign=top>
<TABLE>
<TR>
	<TD valign=top><? echo "$lg[p1_001]"; ?></TD>
	<TD class=td_l ><form name="anlegen" method="post" action="" enctype="multipart/form-data">
	<? echo "<input type=\"text\" size=\"3\" maxlength=\"2\" name=\"tag\" value=\"$tag_az\"><input type=\"text\" size=\"3\" maxlength=\"2\" name=\"monat\" value=\"$monat_az\"><input type=\"text\" size=\"5\" maxlength=\"4\" name=\"jahr\" value=\"$jahr_az\">";


echo " $lg[z_std] <select name=\"stunde\">";

 if($stunde_az != ""){echo "<option value=\"$stunde_az\">$stunde_az</option>";}?>
<option value="00">00</option>
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
</select>
<? echo " $lg[z_min] <select name=\"minute\">";
if($minute_az != ""){echo "<option value=\"$minute_az\">$minute_az</option>";}?>
<option value="00">00</option>
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
<option value="32">32</option>
<option value="33">33</option>
<option value="34">34</option>
<option value="35">35</option>
<option value="36">36</option>
<option value="37">37</option>
<option value="38">38</option>
<option value="39">39</option>
<option value="40">40</option>
<option value="41">41</option>
<option value="42">42</option>
<option value="43">43</option>
<option value="44">44</option>
<option value="45">45</option>
<option value="46">46</option>
<option value="47">47</option>
<option value="48">48</option>
<option value="49">49</option>
<option value="50">50</option>
<option value="51">51</option>
<option value="52">52</option>
<option value="53">53</option>
<option value="54">54</option>
<option value="55">55</option>
<option value="56">56</option>
<option value="57">57</option>
<option value="58">58</option>
<option value="59">59</option>
</select>

<? echo "<p> <I><FONT COLOR=\"#808080\">$lg[p1_005]</FONT></I>"; ?>
</TD>

</TR>
<TR>
	<TD valign=top><? echo "$lg[p1_002]"; ?></TD>
	<TD  class=td_l><? echo "<input type=\"text\" size=\"3\" maxlength=\"2\" name=\"tag_e\" value=\"$tag_e\"><input type=\"text\" size=\"3\" maxlength=\"2\" name=\"monat_e\" value=\"$monat_e\"><input type=\"text\" size=\"5\" maxlength=\"4\" name=\"jahr_e\" value=\"$jahr_e\">";

echo " $lg[z_std] <select name=\"stunde_e\">";

 if($stunde_az != ""){echo "<option value=\"$stunde_az\">$stunde_az</option>";}?>
<option value="00">00</option>
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
</select>
<? echo " $lg[z_min] <select name=\"minute_e\">";
if($minute_az != ""){echo "<option value=\"$minute_az\">$minute_az</option>";}?>
<option value="00">00</option>
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
<option value="32">32</option>
<option value="33">33</option>
<option value="34">34</option>
<option value="35">35</option>
<option value="36">36</option>
<option value="37">37</option>
<option value="38">38</option>
<option value="39">39</option>
<option value="40">40</option>
<option value="41">41</option>
<option value="42">42</option>
<option value="43">43</option>
<option value="44">44</option>
<option value="45">45</option>
<option value="46">46</option>
<option value="47">47</option>
<option value="48">48</option>
<option value="49">49</option>
<option value="50">50</option>
<option value="51">51</option>
<option value="52">52</option>
<option value="53">53</option>
<option value="54">54</option>
<option value="55">55</option>
<option value="56">56</option>
<option value="57">57</option>
<option value="58">58</option>
<option value="59">59</option>
</select>

<? echo "<p> <I><FONT COLOR=\"#808080\">$lg[p1_006]</FONT></I>"; 
if ($nachricht_feld_e ==""){$nachricht_feld_e = $nachricht;}
?>
</TD>
</TR>
<TR>
	<TD valign=top><? echo "$lg[p1_003]"; ?></TD>
	<TD  class=td_l><? echo "<input type=\"text\" size=\"70\" name=\"titel\" value=\"$titel_e\"><p> <I><FONT COLOR=\"#808080\">$lg[p1_007]</FONT></I>"; ?> </TD>
</TR>
<TR>
	<TD valign=top><? echo "$lg[p1_004]"; ?></TD>
	<TD  class=td_l><input type="hidden" name="anlegen" value="neu"><input type="hidden" name="editiert" value="<? echo "$editiert"; ?>"><input type="hidden" name="edit_datum" value="<? echo "$edit_datum"; ?>"><input type="hidden" name="refresh" value="1"><input type="hidden" name="edit_url" value="<? echo "$edit_url"; ?>"><textarea name="nachricht" rows="10" cols="53"><? echo "$nachricht_feld_e";?></textarea>
<P><CENTER><input type=submit></form></CENTER> </TD>
</TR>
</TD>
</TABLE> 
 	</TD>
	<TD class=td_s> 
<B><FONT SIZE=2 COLOR="#FFFFFF">Formating</B> <I>(textfield only)</I>:<P>
<TABLE border=1>
<TR>
	<TD class=td_s> [b] <I>...text... </I>[/b] </TD>
	<TD class=td_s><B>Text bold</B></TD>
</TR>
<TR>
	<TD class=td_s>[i] <I>...text... </I>[/i] </TD>
	<TD class=td_s><I>Text italics</I></TD>
</TR>
<TR>
	<TD class=td_s>[c] <I>...text... </I>[/c] </TD>
	<TD class=td_s>centered</TD>
</TR>
<TR>
	<TD class=td_s>[r] <I>...text... </I>[/r] </TD>
	<TD class=td_s>Alignment right</TD>
</TR>
<TR>
	<TD class=td_s>[img] <I>http://... </I>[/img] </TD>
	<TD class=td_s>Add picture</TD>
</TR>
<TR>
	<TD class=td_s>[img-r] <I>http://... </I>[/img] </TD>
	<TD class=td_s>Text arround picture (p. right)</TD>
</TR>
<TR>
	<TD class=td_s>[img-l] <I>http://... </I>[/img] </TD>
	<TD class=td_s>Text arround picture (p. left)</FONT></TD>
</TR>
</TABLE>

	</TD>
</TR>
</TABLE>


<CENTER><TABLE width="860" border=0 cellpadding=3 cellspacing="0">
<TR>
	<TD class=td_l1><B><? echo "$lg[p1_001]"; ?> </B></TD>
	<TD class=td_l1><B><? echo "$lg[p1_008]"; ?></B> </TD>
	<TD class=td_l1><B><? echo "$lg[p1_002]"; ?></B> </TD>
</TR>
<?
$outform_time =  '%a, %d %b %Y (%R) '; 

$file_ext = '.txt'; //

$folder = openDir($steuerpath); // Öffnet das Archiv
while ($file = readDir($folder)) { // Verzeichnis lesen
if ($file != "." && $file != "..") { // '.' und '..' ausschließen
if($file != substr_count($file, $file_ext)) {
// Dateityp filtern. Es werden nur .txt-Dateien angezeigt
$name = explode(".",$file); // Extension ausfiltern
$input_files[] = $file; // Array aus Dateinamen erzeugen
}
}
}
closeDir($folder);
if ($input_files[0] != ""){
arsort($input_files);
$fb=2;
	foreach($input_files as $meine_blume){
if ($fb > 2){$fb = 1;}
	$zaehlfile = fopen("../$steuerfiles$meine_blume","r"); 
	$inhalt_zaehlfile = fgets($zaehlfile);  
	fclose($zaehlfile); 
	$inhalt = explode('ä',$inhalt_zaehlfile);
	$datum = $inhalt[0];
	$datum_ag= strftime($outform_time , $inhalt[0]); 
	$expires = $inhalt[1];
if ($expires != "")
{
$expires= strftime($outform_time , $expires);
}
if ($jetzt_unix < $datum)
	{
	if ($jetzt_unix+(86400*3) > $datum)
	{$symb = "../templates/rb.gif";
	}else{
	$symb = "../templates/r.gif";
	}}
else{
if ($expires !="" && $expires < $jetzt_unix+(86400*3))
	{$symb = "../templates/gb.gif";
	}else{
		if ($jetzt_unix-(86400*91) > $datum)
		{$symb = "../templates/y.gif";
		}else{
		$symb = "../templates/g.gif";
		}
	}}

	$url = $inhalt[2];

	echo "<TR><TD class=td_l$fb width=\"220\"><TABLE><TR><TD class=td_l><IMG SRC=\"$symb\" BORDER=0> </TD><TD class=td_l ><form name=\"edit\" method=\"post\" action=\"\" enctype=\"multipart/form-data\"><input type=\"hidden\" name=\"edit_url\" value=\"$url\"><input type=\"hidden\" name=\"edit_datum\" value=\"$datum\"><input type=\"hidden\" name=\"del_datum\" value=\"$datum\"><input type=\"image\" name=\"edit\" src=\"../templates/edit.gif\" /></form></TD><TD class=td_l><form name=\"del\" method=\"post\" action=\"\" enctype=\"multipart/form-data\"> <input type=\"hidden\" name=\"delete\" value=\"delete\"><input type=\"hidden\" name=\"del_name\" value=\"$url\"><input type=\"hidden\" name=\"del_datum\" value=\"$datum\"><input type=\"image\" name=\"delete\" src=\"../templates/delete.gif\" width=\"11\" height=\"11\" border=\"0\" /></form></TD><TD class=td_l> ...$datum_ag</TD>
</TR>
</TABLE></TD>";
	echo "<TD class=td_l$fb><A HREF=\"../$url\" TARGET=\"_blank\">$url</A>";
	echo "<TD class=td_l$fb width=\"160\"><I>$expires </I></TD></TD>";
	echo "</TR>";
$fb++;
	}
}
?>

</TABLE></CENTER>
</CENTER>
</BODY>


Return current item: NewsP