feat: add videodb media index with Docker stack
- Add videodb PHP/MySQL media collection manager (Blu-ray, DVD, CD) - Dockerfile: PHP 8.1 + Apache with GD/mysqli/exif extensions - docker-compose.yml: app on port 6761 + MySQL 8.0 with health checks - docker-entrypoint.sh: auto-generates config.inc.php from env vars, waits for MySQL, initializes DB schema idempotently - init-db.php: CLI schema installer using app's own prefix_query() logic - Persistent volumes for DB, cache, and cover images Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
27
videodb/templates/modern/page.tpl
Normal file
27
videodb/templates/modern/page.tpl
Normal file
@@ -0,0 +1,27 @@
|
||||
{*
|
||||
This is the page navigation which is displayed on bottom of new filter
|
||||
$Id: page.tpl,v 1.1 2003/10/13 16:57:00 andig2 Exp $
|
||||
*}
|
||||
<div class="page">
|
||||
{foreach from=$page item=curPage key=page name=pages}
|
||||
{if $smarty.foreach.pages.first and $lastPage}
|
||||
<a href="index.php?filter=new&OK=OK&page={$lastPage}">
|
||||
<<
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
{if $curPage == 1}
|
||||
<span class="curPage">[ {$page} ]</span>
|
||||
{else}
|
||||
<a href="index.php?filter=new&OK=OK&page={$page}">
|
||||
{$page}
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
{if $smarty.foreach.pages.last and $nextPage}
|
||||
<a href="index.php?filter={$filter}&OK=OK&page={$nextPage}">
|
||||
>>
|
||||
</a>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
Reference in New Issue
Block a user