<?php
require "admin/admin_access.php";
echo '
<td valign="top" width="100%">
<blockquote>
<h1>'.localize_string("TVEz Configuration").'</h1>
<blockquote>
<ul type=square>
<li><a href=?content=admin&page=tvezconfig>'.localize_string("TVEz Configuration").'</a>
<li><a href=?content=admin&page=showsconfig>'.localize_string("Shows Configuration").'</a>
</ul>
</blockquote>
<h1>'.localize_string("Movie Database Administration").'</h1>
<h2>'.localize_string("Scan your system for new movies").'</h2>
<blockquote>
<ul type=square>
<li><a href="?content=admin&page=movies&action=search">'.localize_string("Start search").'</a>
</ul>
</blockquote>
<p>
<form method="POST" action="tvez.php">
<input type="hidden" name="content" value="admin">
<input type="hidden" name="page" value="movies">
<h2>'.localize_string("Search a for a movie by title or IMDB ID").'</h2>
<table border="0" cellpadding="6" cellspacing="0">
<tr>
<td valign="top" align="right" class="nicetext"><b>'.localize_string("Title").': </b></td>
<td valign="top"><input type="text" size="30" name="title" value="'.$movie["title"].'"><br> </td>
</tr>
<tr>
<td valign="top" align="right" class="nicetext"><b>IMDB '.localize_string("ID").': </b></td>
<td valign="top"><input type="text" size="10" maxlength="7" name="id" value="'.$movie["id"].'">';
echo ' <input type=submit name=queryimdb value="'.localize_string("Query IMDB").'">';
echo '</td>
</tr>
</table>
</form>
</p>
<h2>'.localize_string("Insert a new movie from a blank form").'</h2>
<blockquote>
<ul type=square>
<li><a href="?content=admin&page=movies">'.localize_string("Get Form").'</a>
</ul>
</blockquote>
</blockquote>
</td>
';
?>