echo "
"; readfile("../sy/ztstyle_1.txt"); echo ""; echo ""; readfile("../sy/insert/header.txt"); echo file_get_contents("http://$_SERVER[HTTP_HOST]/zt/sy/navbar/master_navbar.php?section=er"); ?> if ( ! ini_get("register_globals") ) { if (!empty($_REQUEST)) while(list($name, $value) = each($_REQUEST)) $$name = $value; if (!empty($_REQUEST)) while(list($name, $value) = each($_REQUEST)) $$name = $value; if (!empty($_COOKIE)) while(list($name, $value) = each($_COOKIE)) $$name = $value; if (!empty($_SESSION)) while(list($name, $value) = each($_SESSION)) $$name = $value; } $self = 'http://' . $_SERVER[HTTP_HOST] . $_SERVER['PHP_SELF']; if ( $http ) { $httpstatus = "http=$http&up_url=". urlencode($up_url). '&'; $httplines = file("http://www.kigyo.hu/zt/si/sy/taxa.txt"); trim($httplines[$http]); $fields = explode('@', $httplines[$http]); array_splice($fields, 0, 12); $lines = array("$up_url\n"); while ( sizeof($fields) > 0 ) { $pic = array_splice($fields, 0, 4); if ( ! $pic[0] ) { continue; } $pictmp = $pic[2]; $pic[2] = $pic[3]; $pic[3] = $pictmp; $newline = "http://zoltantakacs.com/zt/si/im/". implode('@', $pic). "@@@@@@@@@@@@@@@@\n"; $lines[] = $newline; } } else { $lines = file("ertext.txt"); } $last_idx = -1; $up_url = array_shift($lines); foreach ($lines as $line) { $last_idx++; $f = split("@", $line, 10); if ( $last_idx == $idx ) { $title = $f[0]; $image = $f[1]; $image_link = $f[2]; $text1 = $f[3]; $text2 = $f[4]; $background_gif = $f[5]; $caption = $f[3]; $caption_simple = preg_replace("/<.*?>/", "", $caption); $page_title = $f[4] ? $f[4] : "$caption_simple"; $image_alt = $f[5] ? $f[5] : "$caption_simple"; $page_kywd = $f[6] ? $f[6] : "$caption_simple"; $page_desc = $f[7] ? $f[7] : "$caption_simple"; $copyright_zt = "Dr. Zoltan Takacs."; $copyright = $f[8] ? $f[8] : "$copyright_zt"; } } ?>