=4): $IE4=true; $HAVE_STYLE = true; elseif($ver==3): $IE3=true; endif; elseif (ereg("Mozilla/([0-9]+)",$HTTP_USER_AGENT,$version)): $ver=(int)$version[1]; if ($ver>=4): $NS4=true; $HAVE_STYLE=true; elseif($ver==3): $NS3=true; endif; endif; if (ereg("X11",$HTTP_USER_AGENT)): $X11 = true; endif; if (ereg("htdig",$HTTP_USER_AGENT)): $HTDIG = true; endif; /* Base variables */ $FONTFACE = "tahoma, verdana, arial, helvetica, sans-serif"; $FRAMEMODE = "standard"; $FONTFACEATTR = " FACE=\"$FONTFACE\""; /* Base functions */ function preloadImages() { global $FRAMEMODE; ?> b_close0 = new Image(); b_close0.src = "/gifs/b-close-p.gif"; b_close1 = new Image(); b_close1.src = "/gifs/b-close-c.gif"; b_cred0 = new Image(); b_cred0.src = "/gifs/b-credits-p.gif"; b_cred1 = new Image(); b_cred1.src = "/gifs/b-credits-c.gif"; b_top0 = new Image(); b_top0.src = "/gifs/b-top-p.gif"; b_top1 = new Image(); b_top1.src = "/gifs/b-top-c.gif"; b_sear0 = new Image(); b_sear0.src = "/gifs/b-search-p.gif"; b_sear1 = new Image(); b_sear1.src = "/gifs/b-search-c.gif"; b_sour0 = new Image(); b_sour0.src = "/gifs/b-source-p.gif"; b_sour1 = new Image(); b_sour1.src = "/gifs/b-source-c.gif"; b_mirr0 = new Image(); b_mirr0.src = "/gifs/b-mirror-p.gif"; b_mirr1 = new Image(); b_mirr1.src = "/gifs/b-mirror-c.gif"; b_next0 = new Image(); b_next0.src = "/gifs/b-next-p.gif"; b_next1 = new Image(); b_next1.src = "/gifs/b-next-c.gif"; b_prev0 = new Image(); b_prev0.src = "/gifs/b-prev-p.gif"; b_prev1 = new Image(); b_prev1.src = "/gifs/b-prev-c.gif"; b_next20 = new Image(); b_next20.src = "/gifs/b-next-p.gif"; b_next21 = new Image(); b_next21.src = "/gifs/b-next-c.gif"; b_prev20 = new Image(); b_prev20.src = "/gifs/b-prev-p.gif"; b_prev21 = new Image(); b_prev21.src = "/gifs/b-prev-c.gif"; b_cont0 = new Image(); b_cont0.src = "/gifs/b-contents-p.gif"; b_cont1 = new Image(); b_cont1.src = "/gifs/b-contents-c.gif"; b_up0 = new Image(); b_up0.src = "/gifs/b-up-p.gif"; b_up1 = new Image(); b_up1.src = "/gifs/b-up-c.gif"; b_bullet0 = new Image(); b_bullet0.src = "/gifs/b-bullet-p.gif"; b_bullet1 = new Image(); b_bullet1.src = "/gifs/b-bullet-c.gif"; b_bullet2 = new Image(); b_bullet2.src = "/gifs/b-bullet-w.gif"; b_down0 = new Image(); b_down0.src = "/gifs/b-downloads-p.gif"; b_down1 = new Image(); b_down1.src = "/gifs/b-downloads-c.gif"; b_docs0 = new Image(); b_docs0.src = "/gifs/b-docs-p.gif"; b_docs1 = new Image(); b_docs1.src = "/gifs/b-docs-c.gif"; b_mail0 = new Image(); b_mail0.src = "/gifs/b-mailing-p.gif"; b_mail1 = new Image(); b_mail1.src = "/gifs/b-mailing-c.gif"; b_dev0 = new Image(); b_dev0.src = "/gifs/b-development-p.gif"; b_dev1 = new Image(); b_dev1.src = "/gifs/b-development-c.gif"; b_news0 = new Image(); b_news0.src = "/gifs/b-news-p.gif"; b_news1 = new Image(); b_news1.src = "/gifs/b-news-c.gif"; b_link0 = new Image(); b_link0.src = "/gifs/b-links-p.gif"; b_link1 = new Image(); b_link1.src = "/gifs/b-links-c.gif"; "; } function kickHeader($offset,$side,$width) { global $FONTFACEATTR; $off=abs($offset); $innerwidth=$width-40; $innerwidth2=$innerwidth+21; $tablewidth=$width; if ($side=="left"): $tablewidth=$tablewidth+50; endif; echo "\n"; if ($side=="left"): echo "\n"; if ($offset>=0): echo "\n"; else: echo "\n"; endif; else: if ($offset>=0): echo "\n\n"; else: echo "\n\n"; endif; echo "\n"; endif; echo "\n"; echo "\n\n"; echo "\n"; echo "\n\n\n\n\n\n"; echo "\n"; echo "\n\n"; echo "\n
"; spc(1,$off); echo "


"; spc(1,$off); echo "
"; spc($off,1); echo "
"; spc($off,1); echo "

"; spc(1,10); echo "

"; spc(9,1); echo "
\n"; } function kickFooter($kickname,$buttname,$width) { $innerwidth=$width-40; echo ""; echo "Close this window
"; echo "
"; spc(10,1); echo "

"; spc(1,10); echo "

\n"; } function download_link($file, $title) { global $filesizes; if ($tmp = strrchr($file, "/")) { $local_file = substr($tmp, 1, strlen($tmp)); } else { $file = "distributions/$file"; $local_file = $file; } echo("$title"); $size = filesize($local_file)/1024; echo("\n"); if ($size) { printf(" (%dKB)", $size); } elseif (isset($filesizes[$local_file])) { echo " (".$filesizes[$local_file].")"; } } function gifurl($img) { global $root_url; return $root_url . "/gifs/" . $img; } function jpgurl($img) { global $root_url; return $root_url . "jpgs/" . $img; } function makeSideButton($url,$button,$kick,$gif,$width,$height,$vspace,$hspace,$alt,$br) { if ($url): echo ""; else: echo "\" \n onMouseout=\"hide();\">"; endif; endif; echo "\"$alt\""; if ($url): echo ""; endif; echo $br; } function commonHeader($title) { global $NS4, $NS3, $IE3, $IE4, $X11, $FRAMEMODE, $FONTFACEATTR, $HTDIG; global $PHP_SELF, $HTTP_REFERER, $FONTFACE, $COUNTRIES, $MIRRORS, $MYSITE; global $HAVE_STYLE,$HAVE_SEARCH; global $NEXT, $PREV, $UP, $HOME, $TOC; global $DISABLE_KICKOUTS; $HAVE_SEARCH=$MIRRORS[$MYSITE][5]; ?> PHP3: <? echo $title;?> >

PHP3 Home Page

\n"); if ($UP[0] && $UP[1]): makeSideButton($UP[0],"up","","up",129,30,0,10,"Up to $UP[1]","
\n"); endif; if (!$HTDIG): makeBorderTOC($title); endif; else: makeSideButton("downloads.php3","down","","downloads",129,30,0,10,"Downloads","
\n"); makeSideButton("docs.php3","docs","","docs",129,30,0,10,"Documentation","
\n"); # makeSideButton("mail.php3","mail","","mailing",129,30,0,10,"Mailing Lists","
\n"); makeSideButton("support.php3","dev","","development",129,30,0,10,"Getting Help","
\n"); makeSideButton("news.php3","news","","news",129,30,0,10,"PHP in the News","
\n"); makeSideButton("links.php3","link","","links",129,30,0,10,"PHP Links","
\n"); makeSideButton("mirrors.php3","mirr","mirrorsKick","mirror",129,30,0,10,"Mirror sites","
\n"); endif; ?>
$title
\n"; ?>


>


\n"; makeSideButton("/credits.php3","cred","","credits",129,30,0,10,"Who's responsible for this?","
\n"); makeSideButton("#top","top","","top",129,30,0,10,"Top of this page","
\n"); ?>
SIZE=1> Site
Hosting:



\n"; echo "Located in
".$COUNTRIES[$country]; endif; ?>