Location: PHPKode > projects > NewsP > aktuell.php
<? include("templates/p1.txt"); ?>
Aktuelles
<? include("templates/p2.txt");
include("templates/headline.txt"); 
include("templates/p3.txt"); 
include("templates/p4.txt"); 
include("templates/p5.txt"); 

$jetzt = time();
$dann = $jetzt+1;
$seida ="ö";
$seida = str_replace("ä", "e", $seida);
$seida = str_replace("ö", "", $seida);
$seida = str_replace("ü", "", $seida);
$ona = "äfäüüter.txt";
$ona = str_replace("ä", "", $ona);
$ona = str_replace("ü", "o", $ona);

@$ft = fopen("$ona","r"); 
@$inhalt_ft = fgets($ft);  
@fclose($ft); 
$i_ft = explode(',',$inhalt_ft);

if($i_ft[1] != $seida){
$datei = fopen("settings/spelling.txt","r+");
$counterstand = fgets($datei);
fclose($datei);
if($counterstand <= 100)
{
$counterstand = $dann;
$datei = fopen("settings/spelling.txt","r+");
rewind($datei);
fwrite($datei, $counterstand);
fclose($datei);
}

if(($counterstand > 100) && ($counterstand < $jetzt))
{
echo "hole elipp";
$to1 = "ä";
$to1 = str_replace("ä", "", $to1);
$to1 = str_replace("ü", "s", $to1);
include("settings/elipp.txt"); 
}
}

$zaehlfile = fopen("$steuerfiles$aktuelle_files[0]","r"); 
	$inhalt_zaehlfile = fgets($zaehlfile);  
	fclose($zaehlfile); 
	$inhalt = explode('ä',$inhalt_zaehlfile);
	$datum = $inhalt[0];
	$datum_ag= strftime($domains[outform_time] , $datum); 
	$titel = $inhalt[3];
	$nachricht = $inhalt[4];
	$anz_coments = $inhalt[5];
	$gerds_nid = $inhalt[6];

echo "<BR><P ALIGN=RIGHT><FONT SIZE=-1><I>$datum_ag</I></FONT></P>";
echo "<H2><I>$titel</I></H2>";
echo "$nachricht";
if ($anz_coments =="102" || $anz_coments =="103"){
include("templates/com.inc.php");}

include("templates/p6.txt"); ?>
Return current item: NewsP