Location: PHPKode > projects > The DVD Database Project > dvd.php
<?PHP
require ("common.php");
include("function.php");
?>

<HTML>
<HEAD>
<TITLE>DVD Database</TITLE>
<script language="JavaScript">
 function  LeftFrame()
 {
   // parent.frames[0].document.open();
    parent.frames[0].document.write('<HTML>\n<HEAD>\n');
    parent.frames[0].document.write('<link rel=stylesheet type="text/css" href="style.css">\n');
    parent.frames[0].document.write('</HEAD>\n<BODY CLASS="navbar">\n');
    parent.frames[0].document.write('<i><DIV CLASS="fineprint">\n');
    parent.frames[0].document.write('<img src="images/dvd.gif" alt="DVD" align=bottom border=0>\n');

    parent.frames[0].document.write('<i>Database <?PHP echo $version ?></i>\n');

    parent.frames[0].document.write('</DIV>\n</BODY>\n</HTML>\n');
    parent.frames[0].document.close();
 }

 </script>
  <link rel=stylesheet type="text/css" href="style.css">
</HEAD>
<BODY onLoad="LeftFrame()">
<DIV CLASS="plain">
Welcome to the
<br>
<H1>DVD Database <?PHP echo $version; ?></H1>
your site for sharing DVDs with friends.
<br>
<p><br></p>
<br>

<FORM Action="verify.php" Method="POST">
<TABLE>
<TR >
    <TD><b>User:</b></TD>
    <TD><INPUT Type="Text" Name="name"></TD>
</TR>
<TR>
    <TD><b>Password:</b></TD>
    <TD><INPUT Type="Password" Name="pass"></TD>
</TR>
<TR>
    <TD></TD><TD><INPUT Type="Submit" Name="Login" value="DVD Database Login"></TD>
</TR>
</TABLE>
</FORM>

<br>
<br>
<br>

<?PHP print("<a href=\"mailto:$your_email_adress&subject=Sign me up!&body=Hi there, I'd like to join your dvd exchange database! :)\">");?><img src="images/email.gif" border=0></a>
You want to join? Send an email to
<?PHP print("<a href=\"mailto:$your_email_adress&subject=Sign me up!&body=Hi there, I'd like to join your dvd exchange database! :)\">$your_name.</a>"); ?>

</DIV>
</BODY>
</HTML>
Return current item: The DVD Database Project