96 lines
4.2 KiB
Cheetah
96 lines
4.2 KiB
Cheetah
<?php
|
|
$imgSize = count( $imgList );
|
|
assert( $imgSize > 0, "Bilder leider nicht verfügbar!");
|
|
$currIndex = intval( $_GET["index"] );
|
|
if( $currIndex < 0 ) $currIndex = 0;
|
|
if( $currIndex >= $imgSize) $currIndex = $imgSize-1;
|
|
?>
|
|
<!DOCTYPE HTML>
|
|
<html lang="de">
|
|
<head>
|
|
<title><?php echo $wkName;?> Einzelansicht [<?php echo $currIndex;?>/<?php echo $imgSize;?>]</title>
|
|
<script type="text/javascript">
|
|
<!-- Leute mit aktiviertem JavaScript sollen die BlueImpGallery gezeigt bekommen -->
|
|
<?php
|
|
echo "window.location = \"index.php?index=".$currIndex."\"";
|
|
?>
|
|
</script>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<meta name="description" content="Die Judoka des Chemnitzer WSV beim Wettkampf <?php echo $wkName;?> (Bild [<?php echo($currIndex);?>/<?php echo $imgSize;?>])">
|
|
<meta name="keywords" content="Judo, <?php echo $wkName;?>, Bilder, Photos, Album, Galerie, Wettkampf, CWSV, Chemnitz, ">
|
|
|
|
<!-- favIcon und Co nach der empfehlung von https://github.com/audreyr/favicon-cheat-sheet -->
|
|
<link rel="shortcut icon" type="image/x-icon" sizes="16x16 32x32 48x48 64x64" href="/ressourcen/graphiken/logos/favicon/favicon.ico">
|
|
<link rel="apple-touch-icon" sizes="152x152" href="/ressourcen/graphiken/logos/apple-touch-icon/apple-touch-icon-152.png" />
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/ressourcen/graphiken/logos/apple-touch-icon/apple-touch-icon-180.png" />
|
|
<link rel="manifest" href="/manifest.json">
|
|
|
|
<link rel="canonical" href="http://cwsvjudo.bplaced.net<?php echo $_SERVER['REQUEST_URI'].$_SERVER['REQUEST_QUERY']?>" />
|
|
</head>
|
|
<body bgcolor="#FFAE00">
|
|
<h1><?php echo $wkName;?></h1>
|
|
<!-- Variante für die Leute ohne JavaScript (Anfang)-->
|
|
<noscript>
|
|
<table style="margin-left:auto;margin-right:auto;">
|
|
<tr>
|
|
<td>
|
|
<a href="index.php">
|
|
<img src="/ressourcen/graphiken/imgGal/nav_topb.png" id="ntop" alt="Album" title="Album">
|
|
</a>
|
|
</td>
|
|
<td>
|
|
<a href="view.php?index=0">
|
|
<img src="/ressourcen/graphiken/imgGal/nav_firstb.png" id="nfirst" alt="Zum Anfang" title="Zum Anfang">
|
|
</a>
|
|
</td>
|
|
<td>
|
|
<a href=<?php echo "\"view.php?index=".( $currIndex-10 >= 0 ? $currIndex - 10 : 0)."\"";?>>
|
|
<img src="/ressourcen/graphiken/imgGal/nav_prev10b.png" id="nprev10" alt="10 Bilder zurück" title="10 Bilder zurück">
|
|
</a>
|
|
</td>
|
|
<td>
|
|
<a href=<?php echo "\"view.php?index=".( $currIndex-1 >= 0 ? $currIndex - 1 : 0)."\"";?>>
|
|
<img src="/ressourcen/graphiken/imgGal/nav_prevb.png" id="nprev" alt="Bild zurück" title="Bild zurück">
|
|
</a>
|
|
</td>
|
|
<td>
|
|
<a href=<?php echo "\"view.php?index=".( $currIndex+1 < $imgSize ? $currIndex + 1 : $imgSize-1)."\"";?>>
|
|
<img src="/ressourcen/graphiken/imgGal/nav_nextb.png" id="nnext" alt="Bild vor" title="Bild vor">
|
|
</a>
|
|
</td>
|
|
<td>
|
|
<a href=<?php echo "\"view.php?index=".( $currIndex+10 < $imgSize ? $currIndex + 10 : $imgSize-1)."\"";?>>
|
|
<img src="/ressourcen/graphiken/imgGal/nav_next10b.png" id="nnext10" alt="10 Bilder vor" title="10 Bilder vor">
|
|
</a>
|
|
</td>
|
|
<td>
|
|
<a href=<?php echo "\"view.php?index=".( $imgSize-1 )."\""?>>
|
|
<img src="/ressourcen/graphiken/imgGal/nav_lastb.png" id="nlast" alt="Zum Ende" title="Zum Ende">
|
|
</a>
|
|
</td>
|
|
<td>
|
|
<span id="image_name1"><?php echo $imgList[$currIndex]?></span>(<span id="image_num1"><?php echo $currIndex+1?></span>/<?php echo $imgSize;?>)
|
|
|
|
|
|
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a href=<?php echo "\"view.php?index=".( $currIndex+1 < $imgSize ? $currIndex + 1 : $imgSize-1)."\"";?>>
|
|
<img src=<?php echo "\"".$imgList[$currIndex]."\" alt=\"".$imgList[$currIndex]."\" id=\"main_image\" width=\"100%\""?>>
|
|
</a>
|
|
<br />
|
|
|
|
</noscript>
|
|
<!-- Ende der Variante für die Leute ohne JavaScript -->
|
|
|
|
<!--Beginn der Einbindung des Counters-->
|
|
<?php
|
|
$chCounter_page_title = $wkName." Einzelansicht [".$currIndex."/".$imgSize."]";
|
|
$chCounter_visible=0;
|
|
include( $_SERVER['DOCUMENT_ROOT'].'/expCounter/counter.php');?>
|
|
<!--Ende der Einbindung des Counters-->
|
|
</body>
|
|
</html>
|