Location: PHPKode > projects > The DVD Database Project > decide.php
<?PHP
require("common.php");
include("function.php");
session_start(); 
if (validsession($time)){
?>
 
 <HTML>
 <HEAD>
  <TITLE>DVD</TITLE>
 <script language="JavaScript">
 function  LeftFrame()
 {  
   parent.frames[0].location.href="nav.php";
 }
 
 </script>
  <link rel=stylesheet type="text/css" href="style.css">  
  </HEAD>
 <BODY onLoad="LeftFrame()">
 
   <DIV ALIGN="right">
   <H1><?PHP echo $adjective_of_your_choice; ?> DvD</H1>	
   </DIV>
 
 <br> 
<DIV CLASS="colortext">
<b>You have <i>two</i> choices:</b><br><br>

Either you enter the data by connecting to the Internet Movie Database (IMDb) or you can enter it yourself. Be patient, it will last a couple of seconds.
On a 56K Modem it will last about 20 seconds to get all the data.<br><br>
For IMDb Search: <i>Do not select any actor names. click on movie titles only, otherwise it will not work.</i><br>

<OL>
<FORM action="file.php" method="post">
<LI>Enter the title:<br>
<INPUT type=text name="id" value="Title">
<A TARGET=_blank HREF="http://www.imdb.com"><IMG SRC="images/imdb.gif" ALT="IMDb" BORDER=0></A><br>
<INPUT type=submit name="click" value="Search IMDb">
</FORM><br>

<LI>Or click here to enter the data yourself: <br>
<FORM action="input.php" method="post">
<INPUT type=submit value="Do it yourself" name="asd">
</FORM></OL>
<?PHP
printf("</DIV> </BODY>  </HTML>");
 
 }else{
 $head = sprintf("Location: %s/invalidsession.html", $path);
header($head);
 }
 ?>
Return current item: The DVD Database Project