rendered paste body<?
include 'connectDB.php';
include 'generalfunctions.php';
require 'searchfunction.php';
$connection = connectToMySqlDataBase("seiyuutesting");
//should have connected to database by now
//mysql_query($query) or die("<br/>Could not insert values");
////////////////////////////////////////////////////////////////////////////
if (isset($_POST['upload'] ))
{
uploadSeries();
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!--<html>-->
<head><title>Anime Voice Talent</title>
<link href="css/layout.css" rel="stylesheet" type="text/css"/>
<link href="css/series.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top">
<hr>
<img src="images/mainbanner.gif">
<hr>
</div>
<div id="left">
<a href="displayseries2.php">See All Series</a><br/><br/>
<a href="newseriespage2.php?newseries=true">Add New Series</a><br/><br/>
<a href="search2.php">Search Site</a><br/><br/>
<a href="about2.php">About Site</a><br/><br/>
</div>
<div id="middle">
<?
if ( isset($_POST['submit']))
{
displayResults();
}
mysql_close($connection);
?>
<h3>Search Anime Voice Talent</h3>
<i>Enter a Voice Actor, Character Name, or Series</i>
<form method="post" action="search2.php">
<input type="text" name="searchterm">
<input type="submit" value="Submit" name="submit">
</form>
</div>
</body>
</html>