<p>
<form action="$script_name/search" method="GET">
<input name="q" size="40">
<input type="submit" value="Search omdb">
</form>
</p>

10 random movies:
<ul>
[% FOR m IN movies %]
<li>[% INCLUDE movie %]</li>
[% END %]
</ul>

10 random series:
<ul>
[% FOR m IN series %]
<li>[% INCLUDE movie %]</li>
[% END %]
</ul>

10 random people:
<p>
[% FOR p IN people %]
&middot; <a href="$script_name/person/$p.id-$p.name">$p.name</a>
[% END %]
&middot; </p>

10 random characters:
<p>
[% FOR c IN characters %]
&middot; <a href="$script_name/character/$c.role">$c.role</a></li>
[% END %]
&middot; </p>

10 random keywords: (<a href="$script_name/category/all">all</a>)
<p>
[% FOR c IN categories %]
&middot; <a href="$script_name/category/$c.id-$c.name">$c.name</a></li>
[% END %]
&middot; </p>

<h2>About omdb</h2>

<p>
<a href="https://www.omdb.org/content/About">
<img src="https://www.omdb.org/images/layout/omdb-logo.png" style="float:right;">
omdb</a> (open media database) is a
free database for film media. There is no set editorial staff, but rather a
large number of movie addicts and lovers who volunteer their time to provide
material and develop the site. Anybody can add or change existing information
on omdb once they have done the quick and simple task of signing up for their
user login name. Films will thus be represented with equal opportunities hence
Blockbusters, Soap Operas, and a college thesis film will each have their own
place on omdb.
</p>

<p>
omdb is a non-commercial project. All the contents of the site are published
under the Creative Commons License. The database therefore represents a
contribution to free knowledge on the Internet. The information does not belong
to a company or person but rather to the general public. omdb consciously stays
away from commercial related information with an objective to provide a
self-contained film database.
</p>

<p>
<a href="https://www.omdb.org/content/Copyright"><em>Copyright</em></a>:
Alle Textinformationen auf omdb.org unterliegen der
<a href="https://creativecommons.org/licenses/by/2.0/de/">Creative Commons-Lizenz
(Namensnennung 2.0 Deutschland)</a>.
</p>

<h2>About omdb-postgresql</h2>

<p>
This database contains CSV data downloaded from
<a href="https://www.omdb.org/content/Help:DataDownload">www.omdb.org</a>,
imported into a normalized PostgreSQL database schema. The data is basically
unmodified, except for the removal of entries that would violate foreign key
constraints. The database import script also removes some adult movies.
</p>

<p>
The database schema is intentionally not optimized (no indexes besides primary
keys) in order to serve as a playground for database optimization.
</p>

<p>
This CGI script is developed by <a href="https://www.credativ.de">credativ</a>,
independently from omdb, and licensed under the GNU GPL, version 2 or later.
</p>
