span style="color: #0000BB"><?php$text = file("db.dat");$top = rand (0,count($text)-1);$out = explode("|",$text[$top]);print "<b>$out[1]</b>";?> |
span style="color: #0000BB"><?php$text = file('db.dat');$data = array_diff(range(0, sizeof($text)), $_SESSION['reklama']);if (!$data) { $data = & $text; $_SESSION['reklama'] = array();}$index = array_rand($data, 1);array_push($_SESSION['reklama'], $index);$out = explode('|', $text[$index]);echo $out[1];?> |
span style="color: #0000BB"><?php$text = file('db.dat');$data = array_diff(range(0, sizeof($text)), $_SESSION['reklama']);if (!$data) { $data = & $text; $_SESSION['reklama'] = array();}$index = array_rand($data, 1);array_push($_SESSION['reklama'], $index);$out = explode('|', $text[$index]);echo $out[1];?> |