include_once("konvtxt.php");
function usungz($ttxx){
$ttxx=str_replace(chr(47),"",$ttxx);
$ttxx=str_replace(chr(92),"",$ttxx);
$ttxx=str_replace("..","",$ttxx);
$ttxx=str_replace("?","",$ttxx);
$ttxx=str_replace("#","",$ttxx);
$ttxx=str_replace(":","",$ttxx);
$ttxx=str_replace(".php","",$ttxx);
$ttxx=str_replace("<","", $ttxx);
$ttxx=str_replace(">","", $ttxx);
return($ttxx);
}
?>
echo(konvtxt("
NADRUKI XS - nadruki na odzieży Gdańsk, Sopot, Gdynia, Trójmiasto - flock, flex, sublimacja
"));
?>
$ffn=file("nadruki.txt");
$ffc=count($ffn);
$rrd=-0.2;
$podgl="";
if (isset($_GET["podglad"])) $podgl=usungz($_GET["podglad"]);
for($t=0;$t<$ffc;$t=$t+6){
$id=rtrim($ffn[$t]);
$zdj=rtrim($ffn[$t+1]);
$opis1=rtrim($ffn[$t+2]);
$opis2=rtrim($ffn[$t+3]);
$opis3=rtrim($ffn[$t+4]);
$opisg=rtrim($ffn[$t+5]);
if ($podgl==""){
$rrr=intval(rand(0,200)-100);
$rrd=$rrd+0.2;
$xlll=rand(0,40000);
echo("
".konvtxt($opis1)."
".konvtxt($opis2)."
".konvtxt($opis3)."
");
}
else
{
if ($podgl==$id){
echo("
");
echo("
".konvtxt($opis1)."
".konvtxt($opis2)."
".konvtxt($opis3)."
");
if ($opisg<>"=====") echo($opisg);
echo("
");
}
}
}
?>
$ffn=file("opis.txt");
$ffc=count($ffn);
for($t=0;$t<$ffc;$t++){
echo(konvtxt(rtrim($ffn[$t]))."
");
}
?>