1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
|
<?php
$filename="ds_horoskop.php";
require("global.php");
require('./acp/lib/class_parse.php');
if(!$wbbuserdata['userid']) access_error();
if(isset($_REQUEST['action'])) $action=$_REQUEST['action'];
else $action="index";
if($action=="index") {
$sprueche = file("horoskopwoche.txt");
$ausgabe = "";
foreach ($sprueche as $spruch)
{
list($woche, $text) = explode("|", $spruch);
if ($woche == date("z"))
{
$ausgabe .= $text . "<br>\n";
}
}
eval("\$tpl->output("".$tpl->get("ds_horoskopindex")."");");
}
?> |