Enter the catalog date of the recording (yyyy-mm-dd): <input type="text" name="catalog_date"></input><br/> Enter the website link of the recording: <input type="text" name="website_link"></input><br/> <input type="submit" name="submit" value="submit"></input><br/> </form> <?php if (isset($audiobook)) { ?> <p>The last recording entered was "<?php echo $audiobook->getTitle(); ?> ". It was given ID number <?php echo $audiobook->getID(); ?> in the database.</p> <?php } else { ?> <p>The following LibriVox recordings are currently in the database: "<?php echo $audiobook = Recording::recording_list(); ?> ". </p> <?php } ?> </body> </html>
Which LibriVox recording are you looking for?:<br/><br/> <form method="POST" action=""> Enter the title of the recording: <input type="text" name="title"></input><br/> <input type="submit" name="search" value="search"></input><br/> </form> <?php if (isset($searched)) { echo $searched->find($_POST['search']); } else { echo 'Please search for a LibriVox recording by title.'; } ?> <br/><br/> To see all LibriVox recordings currrently in the database: <input type="submit" name="list" value="list"></input><br/> <?php if (isset($listed)) { echo $listed = Recording::recording_list(); } else { echo ' '; } ?> </body> </html>