Archived
1
0
Fork 0

Korrigiert die Variable $menupunkt = "Wallpaper" zu $menupunkt = "Beispielbilder 1"(fixes #17)

This commit is contained in:
Jeremias Arnstadt 2008-08-27 06:20:11 +00:00
parent 05210f1ee1
commit 320dd525b9

234
index.php
View file

@ -1,118 +1,118 @@
<?php <?php
/* /*
* Copyright (c) 2008 Jan Dittberner <jan@dittberner.info> * Copyright (c) 2008 Jan Dittberner <jan@dittberner.info>
* Jan Dittberner IT-Consulting & -Solutions * Jan Dittberner IT-Consulting & -Solutions
* Cottbuser Str. 1, D-01129 Dresden * Cottbuser Str. 1, D-01129 Dresden
* *
* Copyright (c) 2008 Jeremias Arnstadt <douth024@googlemail.com> * Copyright (c) 2008 Jeremias Arnstadt <douth024@googlemail.com>
* *
* This file is part of the ScrollingJQueryGallery component of the * This file is part of the ScrollingJQueryGallery component of the
* gnuviech-server.de Websitetools * gnuviech-server.de Websitetools
* *
* ScrollingJQueryGallery is free software: you can redistribute it * ScrollingJQueryGallery is free software: you can redistribute it
* and/or modify it under the terms of the GNU General Public License as * and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of the * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version. * License, or (at your option) any later version.
* *
* ScrollingJQueryGallery is distributed in the hope that it will be * ScrollingJQueryGallery is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details. * General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with ScrollingJQueryGallery. If not, see * along with ScrollingJQueryGallery. If not, see
* <http://www.gnu.org/licenses/>. * <http://www.gnu.org/licenses/>.
* *
* Version: $Id$ * Version: $Id$
*/ */
// Pfad der Bilder für die jeweilige Kategorie // Pfad der Bilder für die jeweilige Kategorie
$allfiles = glob("./bilder/*.jpg"); $allfiles = glob("./bilder/*.jpg");
// Name des Menüpunktes // Name des Menüpunktes
$menupunkt = "Wallpaper"; $menupunkt = "Beispielbilder 1";
// greift auf die Funktionen der ausgelagerten Datei um die Thumbnails // greift auf die Funktionen der ausgelagerten Datei um die Thumbnails
// einzulesen // einzulesen
include ("./funktionen/thumbnail.php"); include ("./funktionen/thumbnail.php");
// bezieht sich auf die Hauptmenükategorie (für Anzeige von aktivem // bezieht sich auf die Hauptmenükategorie (für Anzeige von aktivem
// Link notwendig) // Link notwendig)
$kategorie = ($bilder_kat = 1); $kategorie = ($bilder_kat = 1);
// bezieht sich auf die Submenükategorie (für Anzeige von aktivem Link // bezieht sich auf die Submenükategorie (für Anzeige von aktivem Link
// notwendig) // notwendig)
$nav_auswahl = ($bilder_kat_sub = 1); $nav_auswahl = ($bilder_kat_sub = 1);
// bezieht sich auf das Auswahlmenü // bezieht sich auf das Auswahlmenü
$aquarelle = ($menu = 14); $aquarelle = ($menu = 14);
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd">
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Bilderframework</title> <title>Bilderframework</title>
<link rel="stylesheet" type="text/css" href="css/main.css"> <link rel="stylesheet" type="text/css" href="css/main.css">
<style type="text/css" media="./css/main.css"></style> <style type="text/css" media="./css/main.css"></style>
<link rel="stylesheet" href="./css/format.css" type="text/css" /> <link rel="stylesheet" href="./css/format.css" type="text/css" />
<link rel="stylesheet" href="./css/jquery.lightbox-0.4.css" type="text/css" /> <link rel="stylesheet" href="./css/jquery.lightbox-0.4.css" type="text/css" />
<script src="./scripts/jquery.js" type="text/javascript" ></script> <script src="./scripts/jquery.js" type="text/javascript" ></script>
<script src="./scripts/jquery.lightbox.js" type="text/javascript" ></script> <script src="./scripts/jquery.lightbox.js" type="text/javascript" ></script>
<script src="./scripts/ourhandlers.js" type="text/javascript" ></script> <script src="./scripts/ourhandlers.js" type="text/javascript" ></script>
<style type="text/css"> <style type="text/css">
<?php <?php
printf("#scrollable { width:%dpx; }", $thumbwidthsum); printf("#scrollable { width:%dpx; }", $thumbwidthsum);
?> ?>
a { a {
font-size: 9px; font-size: 9px;
} }
a:link { a:link {
text-decoration: none; text-decoration: none;
} }
a:visited { a:visited {
text-decoration: none; text-decoration: none;
} }
a:hover { a:hover {
text-decoration: none; text-decoration: none;
} }
a:active { a:active {
text-decoration: none; text-decoration: none;
} }
</style> </style>
</head> </head>
<body> <body>
<!-- container --> <!-- container -->
<div id="container"> <div id="container">
<div id="content"> <div id="content">
<div id="menu"><? include ("menu/menu.php"); ?></div> <div id="menu"><? include ("menu/menu.php"); ?></div>
<div id="content_container"> <div id="content_container">
<div id="slider"> <div id="slider">
<div id="arrleft"><img src="css/grafiken/aro-lft.png" alt="nach links" width="10" height="65" /></div> <div id="arrleft"><img src="css/grafiken/aro-lft.png" alt="nach links" width="10" height="65" /></div>
<div id="imgscroller"><div id="scrollable"><?php <div id="imgscroller"><div id="scrollable"><?php
// zeigt die eingelesenen Thumnails an // zeigt die eingelesenen Thumnails an
include("./funktionen/thumbnail_show.php"); include("./funktionen/thumbnail_show.php");
?></div></div> ?></div></div>
<div id="arrright"><img src="css/grafiken/aro-rt.png" alt="nach rechts" width="10" height="65" /></div> <div id="arrright"><img src="css/grafiken/aro-rt.png" alt="nach rechts" width="10" height="65" /></div>
</div> </div>
<div id="sub_menu"><?php <div id="sub_menu"><?php
// bindet das Submenü mit definiertem Links ein. // bindet das Submenü mit definiertem Links ein.
include("submenu.php"); include("submenu.php");
?></div> ?></div>
</div> </div>
<div id="content_sub"> <div id="content_sub">
<div id="content_main"> <div id="content_main">
<div class="bildposition"><?php <div class="bildposition"><?php
// bindet die Bilder in den Hauptbereich ein // bindet die Bilder in den Hauptbereich ein
include ("./funktionen/show_pictures.php"); include ("./funktionen/show_pictures.php");
?></div> ?></div>
</div> </div>
<div id="content_nav"> <div id="content_nav">
<img id="backbtn" src="css/grafiken/back.jpg" alt="back" class="back" width="10" height="10" top="0"><img id="fwdbtn" src="css/grafiken/next.jpg" alt="next" class="next" width="10" height="10" top="0"> <img id="backbtn" src="css/grafiken/back.jpg" alt="back" class="back" width="10" height="10" top="0"><img id="fwdbtn" src="css/grafiken/next.jpg" alt="next" class="next" width="10" height="10" top="0">
</div> </div>
<div class="imgdescription" id="imagedescription"><?php <div class="imgdescription" id="imagedescription"><?php
// liest die Bildbeschreibung für das jeweilige Bild (wenn definiert) // liest die Bildbeschreibung für das jeweilige Bild (wenn definiert)
include ("funktionen/description.php"); include ("funktionen/description.php");
?></div> ?></div>
</div> </div>
</div> </div>
</div> </div>
<!-- /container --> <!-- /container -->
</body> </body>
</html> </html>