You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
103 lines
3.6 KiB
103 lines
3.6 KiB
{if $site->adbrowse}
|
|
{$site->adbrowse}
|
|
{/if}
|
|
<h1>{$page->title}</h1>
|
|
|
|
<p>
|
|
<a href="{$smarty.const.WWW_TOP}/upcoming/1">Box Office</a> |
|
|
<a href="{$smarty.const.WWW_TOP}/upcoming/2">In Theatre</a> |
|
|
<a href="{$smarty.const.WWW_TOP}/upcoming/3">Opening</a> |
|
|
<a href="{$smarty.const.WWW_TOP}/upcoming/4">Upcoming</a> |
|
|
<a href="{$smarty.const.WWW_TOP}/upcoming/5">DVD Releases</a>
|
|
</p>
|
|
|
|
{if isset($nodata)}
|
|
{$nodata}
|
|
{elseif $data|@count > 0}
|
|
<table style="width:100%;" class="data highlight icons" id="coverstable">
|
|
<tr>
|
|
<th></th>
|
|
<th>Name</th>
|
|
</tr>
|
|
|
|
{foreach $data as $result}
|
|
<tr class="{cycle values=",alt"}">
|
|
<td class="mid">
|
|
<div class="movcover">
|
|
<img class="shadow" src="{$result->posters->original}" width="120"
|
|
border="0" alt="{$result->title|escape:"htmlall"}"/>
|
|
|
|
<div class="movextra">
|
|
{if $result->ratings->critics_score > 60}
|
|
<a
|
|
target="_blank"
|
|
href="{$site->dereferrer_link}{$result->links->alternate}"
|
|
title="View Rotten Tomatoes Details">
|
|
<img src="{$smarty.const.WWW_TOP}/themes/shared/img/icons/fresh.png">
|
|
</a>
|
|
{else}
|
|
<a
|
|
target="_blank"
|
|
href="{$site->dereferrer_link}{$result->links->alternate}"
|
|
title="View Rotten Tomatoes Details">
|
|
<img src="{$smarty.const.WWW_TOP}/themes/shared/img/icons/rotten.png">
|
|
</a>
|
|
{/if}
|
|
{if !empty($result->alternate_ids)}
|
|
<a
|
|
target="_blank"
|
|
href="{$site->dereferrer_link}http://www.imdb.com/title/tt{$result->alternate_ids->imdb}/"
|
|
name="imdb{$result->alternate_ids->imdb}"
|
|
title="View imdb page">
|
|
<img src="{$smarty.const.WWW_TOP}/themes/shared/img/icons/imdb.png">
|
|
</a>
|
|
<a
|
|
target="_blank"
|
|
href="{$site->dereferrer_link}http://trakt.tv/search/imdb/tt{$result->alternate_ids->imdb}/"
|
|
name="trakt{$result->alternate_ids->imdb}"
|
|
title="View trakt page">
|
|
<img src="{$smarty.const.WWW_TOP}/themes/shared/img/icons/trakt.png">
|
|
</a>
|
|
{if !empty($cpurl) && !empty($cpapi)}
|
|
<a
|
|
id="imdb{$result->alternate_ids->imdb}"
|
|
href="javascript:;"
|
|
class="sendtocouch"
|
|
title="Add to CouchPotato">
|
|
<img src="{$smarty.const.WWW_TOP}/themes/shared/img/icons/couch.png">
|
|
</a>
|
|
{/if}
|
|
{/if}
|
|
</div>
|
|
</div>
|
|
</td>
|
|
<td colspan="3" class="left">
|
|
<h2>
|
|
<a href="{$smarty.const.WWW_TOP}/movies?title={$result->title}&year={$result->year}">{$result->title|escape:"htmlall"}</a>
|
|
(<a class="title" title="{$result->year}"
|
|
href="{$smarty.const.WWW_TOP}/movies?year={$result->year}">{$result->year}</a>) {if $result->ratings->critics_score > 0}{$result->ratings->critics_score}/100{/if}
|
|
</h2>
|
|
{if $result->synopsis == ""}No synopsis. Check
|
|
<a target="_blank" href="{$site->dereferrer_link}{$result->links->alternate}"
|
|
title="View Rotten Tomatoes Details">Rotten Tomatoes</a>
|
|
for more information.{else}{$result->synopsis}{/if}
|
|
{if $result->abridged_cast|@count > 0}
|
|
<br/>
|
|
<br/>
|
|
<b>Starring:</b>
|
|
{foreach $result->abridged_cast as $cast name="cast"}
|
|
<a href="{$smarty.const.WWW_TOP}/movies?actors={$cast->name|escape:"htmlall"}"
|
|
title="Search for movies starring {$cast->name|escape:"htmlall"}">{$cast->name|escape:"htmlall"}</a>
|
|
{if $smarty.foreach.cast.last}<br/><br/>{else},{/if}
|
|
{/foreach}
|
|
{else}
|
|
<br/>
|
|
<br/>
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
{/foreach}
|
|
</table>
|
|
{else}
|
|
<h2>No results</h2>
|
|
{/if}
|
|
|