Source for index.php

<?php
function utime (){
$time explode" "microtime());
$usec = (double)$time[0];
$sec = (double)$time[1];
return 
$sec $usec;
}
$schtart utime(); 
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>a connection to a disconnected</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="imagetoolbar" content="no">
<script type="text/javascript">
//move menu scripts
objectLeftPos = -200;
objectTopPos = 150;
Tymer = null;
function moveOut() {
clearTimeout(Tymer);
if (objectLeftPos < 40) {
    objectLeftPos += 5;
    objectTopPos = objectTopPos-5;
    document.getElementById('navigate').style.left = objectLeftPos;
    document.getElementById('control').style.top = objectTopPos;
    Tymer = setTimeout("moveOut()",10)
    }
}

function moveIn() {
clearTimeout(Tymer);
if (objectLeftPos > -200) {
    objectLeftPos = objectLeftPos-5;
    objectTopPos = objectTopPos+5;
    document.getElementById('navigate').style.left = objectLeftPos;
    document.getElementById('control').style.top = objectTopPos;
    Tymer = setTimeout("moveIn()",10);
    }
}

//random image script
picture = new Array(9);
shizzle = new Array(9);

picture[0] = "side/alps.jpg"
shizzle[0] = "Photo 1 :: Somewhere in the Alps"

picture[1] = "side/desert.jpg"
shizzle[1] = "Photo 2 :: Californian Desert"

picture[2] = "side/leaves.jpg"
shizzle[2] = "Photo 3 :: Leaves in Biodome at Eden Project"

picture[3] = "side/blur.jpg"
shizzle[3] = "Photo 4 :: Sunset from My Room"

picture[4] = "side/edge.jpg"
shizzle[4] = "Photo 5 :: Sunrise from the Roof of My House"

picture[5] = "side/emptysea.jpg"
shizzle[5] = "Photo 6 :: The Empty Sea; Cornwall"

picture[6] = "side/dinos.jpg"
shizzle[6] = "Photo 7 :: Dinosaurs, Age 4 Photography Skills"

picture[7] = "side/cotedazur.jpg"
shizzle[7] = "Photo 8 :: The Cote d'Azur"

picture[8] = "side/city.jpg"
shizzle[8] = "Photo 9 :: A City in Germany/France, Taken from a Cathedral."

index = Math.floor(Math.random() * picture.length);
image1 = new Image();

//mouseover description script
var description = new Array(8);
description[0] = "about this site";
description[1] = "reveal menu";
description[2] = "site statistics";
description[3] = "return home";
description[4] = "  the ways of my mistakes";
description[5] = "hide menu";
description[6] = "(the one behind this menu)";
description[7] = "(in a new window)";

//decide what to submit the form to.
function actionswitch(ele) {
    if(ele == "sign guestbook"){
        document.contact.action = "http://pub.alxnet.com/guestbook"
    } else { 
        document.contact.action = "http://members.lycos.co.uk/quis/mail.php?p=<?php echo "$p"?>";
    }
    window.open("about:blank", "gb", 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=500');
    document.contact.submit();
}

//resize input box scripts
objectWidth = 200;
objectHeight = 30;
Tymerr = null;

function upsize() {
    clearTimeout(Tymerr);
    if (objectWidth < 400) {
        objectWidth += 14;
        document.getElementById('textinp').style.width = objectWidth;
    } else {
        if (objectHeight < 100) {
            objectHeight += 6;
            document.getElementById('textinp').style.height = objectHeight;
        }
    }
    Tymerr = setTimeout("upsize()",10);
}

function downsize() {
    clearTimeout(Tymerr);
    if (objectWidth >= 205) {
        objectWidth = objectWidth - 12;
        document.getElementById('textinp').style.width = objectWidth;
    } else {
        if (objectHeight >= 30) {
            objectHeight = objectHeight - 6;
            document.getElementById('textinp').style.height = objectHeight;
        }
    }
    Tymerr = setTimeout("downsize()",10);
}
</script>
<style type="text/css">
.info {
font-size: 11px;
font-family: verdana;
color: #000000;
font-weight: bold;
text-align:center;
left: 0px;
top: 313px;
position: absolute;
z-index: 5;
width:290px;
height:25px;
clip: rect(0 313 25 0);
padding-top:14px;
background:#ddeeff;
}
.navlink {
padding-left:20px;
padding-right:20px;
padding-top:2px;
padding-bottom:2px;
background:#ddeeff;
text-align: center;
color:#000000;
width:157px;
height:100%;
display:block;
border: 1px #000000 solid;
text-decoration: none;
font-weight:bold;
}
.bandpic {
float:left;
display:inline;
}
.gallimg{
padding:5px;
margin:5px;
border: 1px #000000 solid;
height:200px;
width:200px;
}
.hovas A:link {
text-decoration: none; 
color: #000000;
}
.hovas A:visited {
text-decoration: none; 
color: #000000;
}
.hovas A:hover {
text-decoration: none; 
color: #ffffff;
background: orange;
}
A:link {
font-family : verdana; 
color : #0000ff; 

A:visited {
font-family : verdana; 
color : #000090; 

A:hover {
font-family : verdana; 
color : #afd7e0;
background: #ffffff;

A:active {
font-family : verdana; 
color : #afd7e0; 

h2 {
font-size : 21px; 
font-variant : small-caps; 
font-family : Georgia; 
color : #000000; 

H3 {
font-size : 16px; 
font-variant : small-caps; 
font-family : Georgia; 
color : #000000; 

H1 {
font-size : 35px; 
font-variant : small-caps; 
font-family : Georgia; 
color : #000000; 

p,li,div,legend,ul,ol,td,tr,hr{
font-size : 11px; 
font-family : verdana; 
color : #000000; 
}
fieldset{
padding: 3px;
}
input,textarea{
background:#ddeeff;
border:2px solid #005fff;
font-size: 11px;
font-family: verdana;
color: #000000;
font-weight: bold;
width:200px;
margin-bottom:6px;
}
body {
background: #000000;
margin-left: 2px;
margin-right: 0px;
}
.footer {
text-align: center;
font-size : 11px; 
font-family : verdana; 
color : #000000; 
}
</style>
</head>

<body bgcolor="#000000" onLoad="Words.innerHTML = description[4];">

<!--pretty picture-->

    <div ID="aside" style="left: 20px; top: 0px; position: absolute; z-index: 6">
        <script language="javascript" type="text/javascript">
            document.write("<img border='0' name='image1' alt='" + shizzle[index] + "' src='" + picture[index] + "' align='top'>");
        </script>
    </div>

<!--navigation stuff-->

    <div id="bar" style="left: 0px; top: -30px; position: absolute; z-index: 9;">
        <img border="0" src="blank.gif" align="top" alt="navigate from here">
    </div>

    <div id="toob" style="left: 0px; top: 313px; position: absolute; z-index: 11;">
        <img border="0" src="tube.gif" align="top" alt="page status">
    </div>

    <div align=center ID="Words" class="info">
        page is loading
    </div>

    <div id="control" style="left: 7px; top: 150px; position: absolute; z-index: 10;">
        <img border="0" src="bar.gif" usemap="#navi" align="top" alt="control">
    </div>

onfocus="if (this.value == 'username') this.value = '';" 
    onblur="if (this.value == '') this.value = 'username';"

<!--navigation buttons-->
    <MAP NAME="navi">
    <AREA onMouseOver="Words.innerHTML = description[0];" onMouseOut="Words.innerHTML = description[4];" SHAPE="RECT" COORDS="1,18,22,0" ALT="about this site" HREF="index.php?p=about">
    <AREA onMouseOver="Words.innerHTML = description[1];" onMouseOut="Words.innerHTML = description[4];" SHAPE="RECT" COORDS="1,35,23,20" ALT="show menu" onClick="moveOut();" href="#">
    <AREA onMouseOver="Words.innerHTML = description[2];" onMouseOut="Words.innerHTML = description[4];" SHAPE="RECT" COORDS="0,51,24,37" ALT="site statistics" HREF="http://extremetracking.com/open;sum?login=quisja" target="_blank">
    <AREA onMouseOver="Words.innerHTML = description[3];" onMouseOut="Words.innerHTML = description[4];" SHAPE="RECT" COORDS="1,74,24,53" ALT="return to home page" HREF="?p=">
    </MAP>

<!-- navigation menu-->
   <div class="hovas" id="navigate" style="position:absolute; width:200px; top:77px; left:-200px; z-index:7;">
    <!--top tube-->
    <div>
    <img border="0" src="tubetop.gif" style="z-index:8;position:absolute;top:-11px;" alt="top tube">
    </div>
    <!--menu links-->
    <span style="width:193px;position:relative;top:-5px;">
    <a class="navlink" target="_top" onClick="moveIn();" href="?p=articles">
    words
    </a>
    <a class="navlink" target="_top" onClick="moveIn();" href="?p=link">
    links
    </a>
    <a class="navlink" target="_top" onClick="moveIn();" href="?p=images">
    images
    </a>
    <a class="navlink" href="http://pub.alxnet.com/guestbook?id=2273159" id="gb" onClick="moveIn();window.open(this.href, this.id, 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=500');return false;" onMouseOver="Words.innerHTML = description[7];" onMouseOut="Words.innerHTML = description[4];">
    guestbook
    </a>
    <a class="navlink" target="_top" onClick="moveIn();" href="?p=music">
    music
    </a>
    <a class="navlink" target="_top" onClick="moveIn();" href="?p=poems">
    poems
    </a>
    <a class="navlink" target="_top" onClick="moveIn();" href="?p=me">
    me
    </a>
    <a class="navlink" target="_top" onClick="moveIn();" href="?p=old">
    oldjunk
    </a>
    <a class="navlink" href="#" onClick="moveIn();index = Math.floor(Math.random() * picture.length); image1.src=picture[index]; image1.alt=shizzle[index];" onMouseOver="Words.innerHTML = description[6];" onMouseOut="Words.innerHTML = description[4];">
    change image
    </a>
    <a class="navlink" href="#" onClick="moveIn();" onMouseOver="Words.innerHTML = description[5];" onMouseOut="Words.innerHTML = description[4];">
    <img border="0" src="longarrow.gif" alt="hide menu">
    </a>
    </span>
    <span style="width:7px;height:192px;background-image:url(tubeside.gif);z-index:7;position:absolute;top:-6px;left:193px;"> </span>
    <img border="0" src="tubebot.gif" alt="tube bottom" style="position:relative;top:-10px;z-index:8;">
   </div>

<!--mail me form-->
    <div style="position:absolute;top:380px;left:40px;z-index:4;">
    <?php
    
if(!isSet($mailed)){
    
?>
    <form name="contact" METHOD="post" target="gb">
    <input type="hidden" name="q" value="submit"><input name="id" type="hidden" value="2273159">
    <INPUT TYPE="text" TABINDEX="1" NAME="name" SIZE="30" value="your name here" onfocus="if (this.value == 'your name here') this.value = '';" onblur="if (this.value == '') this.value = 'your name here';">
    <br>
    <INPUT TYPE="text" TABINDEX="2" NAME="email" SIZE="30" value="your email address here" onfocus="if (this.value == 'your email address here') this.value = '';" onblur="if (this.value == '') this.value = 'your email address here';">
    <br>
    <INPUT TYPE="text" TABINDEX="3" NAME="city" SIZE="30" value="city" style="width:85px;" onfocus="if (this.value == 'city') this.value = '';" onblur="if (this.value == '') this.value = 'city';">
    <INPUT TYPE="text" TABINDEX="4" NAME="homepage" SIZE="30" value="homepage" style="width:105px;" onfocus="if (this.value == 'homepage') this.value = '';" onblur="if (this.value == '') this.value = 'homepage';">
    <br>
    <TEXTAREA name="text" TABINDEX="5" style="width:200px;" ROWS="2" COLS="30" id="textinp" onfocus="upsize();if (this.value == 'your message here') this.value = '';" onblur="downsize();if (this.value == '') this.value = 'your message here';">your message here</TEXTAREA>
    <br>
    <INPUT TABINDEX="6" TYPE="button" value="email me" onclick="actionswitch(this.value);" style="width:87px;">
    <INPUT TABINDEX="7" TYPE="button" value="sign guestbook" onclick="actionswitch(this.value);" style="width:107px;">
    </form>
    <?php } else {
        print 
"<INPUT TABINDEX=\"1\" TYPE=\"button\" value=\"$mailed\" onclick=\"location.href='http://quis.coolfreepage.com/?p=$p';\">";
    } 
?>
    </div>

<!--main content div-->
    <div style="left: 285px; top: 0px; height:100%; position: absolute; z-index: 2; background-color: #ffffff; padding-left: 10px;">
    <?php

    
// this php includes the relevant file into the template
    // if no topic is selected, display the default content

    
if(!isSet($p) or $p==""){
    
$p front;
    }
    
    if (
file_exists("$p.php")) {
        include 
"$p.php";
    } else {
    print 
"<h2>Page not found.</h2><p>The page you requested was not found on this website. If you believe this is in error, send me an email, else please select another page from the navigation on the left.</p>";
    }

    
// display the footer information for the main content area
        
print "<br><div class=\"footer\"><a href='http://www.quisja.tk' target='_top'>quisja.tk</a>|<a target='_top' href='http://www.plogger.tk'>plogger.tk</a></div>";
        
$end utime(); $run $end $schtart;
        print 
"<div class=\"footer\">quisja 2003 | <a href='printable.php?p=$p' target='_top'>printable</a> | <a href='showsource.php' target='_top'>source code</a> | " substr($run05) . "secs to run</div>";
    
?>
    </div>

<!--hit counter, with php to determine if quis is looking at the page-->
<?php
if(substr($REMOTE_ADDR,0,3)=="172" or $REMOTE_ADDR == "127.0.0.1") exit("</body></html>");
?>
<div style="z-index: -1;">
<a target="_top" href="http://t.extreme-dm.com/?login=quisja">
<img name=im src="http://t1.extreme-dm.com/i.gif" height=0
border=0 width=0 alt=""></a><script language="javascript" type="text/javascript"><!--
an=navigator.appName;d=document;function
pr(){d.write("<img src=\"http://t0.extreme-dm.com",
"/0.gif?tag=quisja&j=y&srw="+srw+"&srb="+srb+"&",
"rs="+r+"&l="+escape(d.referrer)+"\" height=1 ",
"width=1>");}srb="na";srw="na";//-->
</script><script language="javascript1.2" type="text/javascript"><!--
s=screen;srw=s.width;an!="Netscape"?
srb=s.colorDepth:srb=s.pixelDepth;//-->
</script><script language="javascript" type="text/javascript"><!--
r=41;d.images?r=d.im.width:z=0;pr();//-->
</script><noscript><img height=1 width=1 alt="" 
src="http://t0.extreme-dm.com/0.gif?tag=quisja&j=n"></noscript>
</div>
</body>
</html>