Problem with comparison.
/photogallery/templates/MLAB/header.tpl.php |
---|
0,0 → 1,65 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
<meta name="keywords" content="stavebnice MLAB univerzální moduly"> |
<meta name="description" content="Projekt MLAB, Prázdná stránka"> |
<!-- AUTOINCLUDE START "Page/Head.cs.ihtml" DO NOT REMOVE --> |
<link rel="StyleSheet" href="../../Web/CSS/MLAB.css" type="text/css" title="MLAB základní styl"> |
<link rel="shortcut icon" type="image/x-icon" href="../../Web/PIC/MLAB.ico"> |
<script type="text/javascript" src="../../Web/JS/MLAB_Menu.js"></script> |
<!-- AUTOINCLUDE END --> |
<title><?php echo $sg->pageTitle(); ?></title> |
<?php echo $sg->navigationLinks(); ?> |
<!-- |
This page was generated by singapore <http://singapore.sourceforge.net> |
singapore is free software licensed under the terms of the GNU GPL. |
--> |
</head> |
<body lang="cs"> |
<!-- AUTOINCLUDE START "Page/Header.cs.ihtml" DO NOT REMOVE --> |
<!-- ============== HLAVICKA ============== --> |
<div class="Header"> |
<script type="text/javascript"> |
<!-- |
SetRelativePath("../../"); |
DrawHeader(); |
// --> |
</script> |
<noscript> |
<p><b> Pro zobrazení (vloení) hlavièky je potøeba JavaScript </b></p> |
</noscript> |
</div> |
<!-- AUTOINCLUDE END --> |
<!-- AUTOINCLUDE START "Page/Menu.cs.ihtml" DO NOT REMOVE --> |
<!-- ============== MENU ============== --> |
<div class="Menu"> |
<script type="text/javascript"> |
<!-- |
SetRelativePath("../../"); |
DrawMenu(); |
// --> |
</script> |
<noscript> |
<p><b> Pro zobrazení (vloení) menu je potøeba JavaScript </b></p> |
</noscript> |
</div> |
<!-- AUTOINCLUDE END --> |
<!-- ============== TEXT ============== --> |
<div class="Text"> |
<div style="float: right"> |
<?php echo $sg->languageFlipper(); ?> |
<?php echo $sg->templateFlipper(); ?> |
</div> |
<div id="crumb"><?php echo $sg->crumbLine(); ?></div> |
<!-- start of generated content --> |
/photogallery/templates/MLAB/images/Thumbs.db |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/images/blank.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/images/shadow-bl.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/images/shadow-bm.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/images/shadow-br.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/images/shadow-ml.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/images/shadow-mr.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/images/shadow-tabl.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/images/shadow-tabm.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/images/shadow-tabr.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/images/shadow-tl.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/images/shadow-tm.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/images/shadow-tr.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/images/slide-bl.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/images/slide-br.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/images/slide-tl.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/images/slide-tr.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/footer.tpl.php |
---|
0,0 → 1,27 |
<div id="footer"><p> |
<?php echo $sg->allRightsReserved(); ?> |
<?php echo $sg->licenseText(); ?> |
<br /> |
<?php echo $sg->poweredByText(); ?> |
<?php echo $sg->scriptExecTimeText(); ?> | |
<?php echo $sg->adminLink(); ?> |
</p></div> |
</div> |
<!-- AUTOINCLUDE START "Page/Footer.cs.ihtml" DO NOT REMOVE --> |
<!-- ============== PATIÈKA ============== --> |
<div class="Footer"> |
<script type="text/javascript"> |
<!-- |
SetRelativePath("../../"); |
DrawFooter(); |
// --> |
</script> |
<noscript> |
<p><b> Pro zobrazení (vloení) hlavièky je potøeba JavaScript </b></p> |
</noscript> |
</div> |
<!-- AUTOINCLUDE END --> |
</body> |
</html> |
/photogallery/templates/MLAB/album.tpl.php |
---|
0,0 → 1,60 |
<p class="sgNavBar sgTopNavBar"> |
<?php if($sg->gallery->hasPrev()) echo $sg->gallery->prevLink()." | "; ?> |
<?php if(!$sg->gallery->isRoot()) echo $sg->gallery->parentLink(); ?> |
<?php if($sg->gallery->hasNext()) echo " | ".$sg->gallery->nextLink(); ?> |
</p> |
<h2 class="sgTitle"><?php echo $sg->gallery->name(); ?></h2> |
<h4 class="sgSubTitle"><?php echo $sg->gallery->byArtistText(); ?></h4> |
<div class="sgShadow"><table class="sgShadow" cellspacing="0"> |
<tr> |
<td class="tabl"></td> |
<td class="tabm"> |
<div><?php echo $sg->galleryTab(); ?></div> |
</td> |
<td class="tabr"></td> |
</tr> |
<tr> |
<td class="tl"></td> |
<td class="tm"></td> |
<td class="tr"></td> |
</tr> |
<tr> |
<td class="ml"></td> |
<td class="mm"> |
<?php for($index = $sg->gallery->startat; $index < $sg->gallery->imageCountSelected()+$sg->gallery->startat; $index++): ?> |
<div class="sgThumbnail"> |
<div class="sgThumbnailContent"> |
<img class="borderTL" src="<?php echo $sg->config->base_url.$sg->config->pathto_current_template ?>images/slide-tl.gif" alt="" /> |
<img class="borderTR" src="<?php echo $sg->config->base_url.$sg->config->pathto_current_template ?>images/slide-tr.gif" alt="" /> |
<table><tr><td> |
<?php echo $sg->gallery->images[$index]->thumbnailLink(); ?> |
</td></tr></table> |
<div class="roundedCornerSpacer"> </div> |
</div> |
<div class="bottomCorners"> |
<img class="borderBL" src="<?php echo $sg->config->base_url.$sg->config->pathto_current_template ?>images/slide-bl.gif" alt="" /> |
<img class="borderBR" src="<?php echo $sg->config->base_url.$sg->config->pathto_current_template ?>images/slide-br.gif" alt="" /> |
</div> |
</div> |
<?php endfor; ?> |
</td> |
<td class="mr"></td> |
</tr> |
<tr> |
<td class="bl"></td> |
<td class="bm"></td> |
<td class="br"></td> |
</tr> |
</table></div> |
<p class="sgDetailsList"> |
<?php foreach($sg->gallery->detailsArray() as $key => $value): ?> |
<strong><?php echo $key; ?>:</strong> <?php echo $value; ?><br /> |
<?php endforeach; ?> |
</p> |
/photogallery/templates/MLAB/gallery.tpl.php |
---|
0,0 → 1,56 |
<p class="sgNavBar sgTopNavBar"> |
<?php if($sg->gallery->hasPrev()) echo $sg->gallery->prevLink()." | "; ?> |
<?php if(!$sg->gallery->isRoot()) echo $sg->gallery->parentLink(); ?> |
<?php if($sg->gallery->hasNext()) echo " | ".$sg->gallery->nextLink(); ?> |
</p> |
<h2 class="sgTitle"><?php echo $sg->gallery->name(); ?></h2> |
<h4 class="sgSubTitle"><?php echo $sg->gallery->byArtistText(); ?></h4> |
<div class="sgShadow"><table class="sgShadow" cellspacing="0"> |
<tr> |
<td class="tabl"></td> |
<td class="tabm"> |
<div><?php echo $sg->galleryTab(); ?></div> |
</td> |
<td class="tabr"></td> |
</tr> |
<tr> |
<td class="tl"></td> |
<td class="tm"></td> |
<td class="tr"></td> |
</tr> |
<tr> |
<td class="ml"></td> |
<td class="mm"> |
<?php for($index = $sg->gallery->startat; $index < $sg->gallery->galleryCountSelected()+$sg->gallery->startat; $index++): ?> |
<div class="sgGallery"><table class="sgGallery"><tr valign="top"> |
<td class="sgGalleryThumb"> |
<?php echo $sg->gallery->galleries[$index]->thumbnailLink(); ?> |
</td> |
<td> |
<p><strong><?php echo $sg->gallery->galleries[$index]->nameLink(); ?></strong></p> |
<p><?php echo $sg->gallery->galleries[$index]->summary(); ?></p> |
<p>[<?php echo $sg->gallery->galleries[$index]->itemCountText(); ?>]</p> |
</td> |
</tr></table></div> |
<?php endfor; ?> |
</td> |
<td class="mr"></td> |
</tr> |
<tr> |
<td class="bl"></td> |
<td class="bm"></td> |
<td class="br"></td> |
</tr> |
</table></div> |
<p class="sgDetailsList"> |
<?php foreach($sg->gallery->detailsArray() as $key => $value): ?> |
<strong><?php echo $key; ?>:</strong> <?php echo $value; ?><br /> |
<?php endforeach; ?> |
</p> |
/photogallery/templates/MLAB/image.tpl.php |
---|
0,0 → 1,45 |
<p class="sgNavBar sgTopNavBar"> |
<?php echo $sg->previewThumbnails(); ?> |
<br /> |
<?php if($sg->image->hasPrev()) echo $sg->image->prevLink()." | "; ?> |
<?php echo $sg->image->parentLink(); ?> |
<?php if($sg->image->hasNext()) echo " | ".$sg->image->nextLink(); ?> |
</p> |
<h2 class="sgTitle"><?php echo $sg->image->name(); ?></h2> |
<h4 class="sgSubTitle"><?php echo $sg->image->byArtistText(); ?></h4> |
<div class="sgShadow"><table class="sgShadow" cellspacing="0"> |
<tr> |
<td class="tl"></td> |
<td class="tm"></td> |
<td class="tr"></td> |
</tr> |
<tr> |
<td class="ml"></td> |
<td class="mm"> |
<?php echo $sg->image->imageHTML() ?> |
</td> |
<td class="mr"></td> |
</tr> |
<tr> |
<td class="bl"></td> |
<td class="bm"></td> |
<td class="br"></td> |
</tr> |
</table></div> |
<p class="sgNavBar sgBottomNavBar"> |
<?php if($sg->image->hasPrev()) echo $sg->image->prevLink()." | "; ?> |
<?php echo $sg->image->parentLink(); ?> |
<?php if($sg->image->hasNext()) echo " | ".$sg->image->nextLink(); ?> |
</p> |
<h4 class="sgNameByArtist"><em><?php echo $sg->image->name() ?></em><?php echo $sg->image->byArtistText() ?></h4> |
<p class="sgDetailsList"> |
<?php foreach($sg->image->detailsArray() as $key => $value): ?> |
<strong><?php echo $key ?>:</strong> <?php echo $value ?><br /> |
<?php endforeach; ?> |
</p> |
<?php echo $sg->imageMap() ?> |
/photogallery/templates/MLAB/index.tpl.php |
---|
0,0 → 1,32 |
<?php |
/** |
* Default singapore template. |
* |
* @author Tamlyn Rhodes <tam at zenology dot co dot uk> |
* @copyright (c)2003, 2004 Tamlyn Rhodes |
* @version 1.0 |
*/ |
//include header file |
include $sg->config->base_path.$sg->config->pathto_current_template."header.tpl.php"; |
switch($sg->action) { |
case "addcomment" : |
include $sg->config->base_path.$sg->config->pathto_current_template."addcomment.tpl.php"; |
default : |
if($sg->isImagePage()) { |
//this is an 'image' page so include the 'image' template file |
include $sg->config->base_path.$sg->config->pathto_current_template."image.tpl.php"; |
} elseif($sg->isAlbumPage()) { |
//this is an 'album' page so include the 'album' template file |
include $sg->config->base_path.$sg->config->pathto_current_template."album.tpl.php"; |
} else { |
//this is a 'gallery' page so include the 'gallery' template file |
include $sg->config->base_path.$sg->config->pathto_current_template."gallery.tpl.php"; |
} |
} |
//include footer file |
include $sg->config->base_path.$sg->config->pathto_current_template."footer.tpl.php"; |
?> |
/photogallery/templates/MLAB/template.ini |
---|
0,0 → 1,50 |
;Option descriptions have been grouped together here. |
;Do not uncomment the following lines, they are for illustration only. |
; |
;thumb_width_* |
; Width in pixels of thumbnails generated by the script. |
; This option is affected by the thumb_crop_* option (see below). |
; |
;thumb_height_* |
; Height in pixels of thumbnails generated by the script. |
; This option is affected by the thumb_crop_* option (see below). |
; |
;thumb_crop_* |
; By default, width and height are maximum dimensions and images will be |
; resized, maintaining the same aspect ratio, to fit within these limits. |
; Turn force_size on to make the script crop images to the specified size. |
; |
;*_gallery |
; These options affect gallery pages (those that contain sub-galleries). |
; |
;*_album |
; These options affect album pages (those that contain only images). |
; |
;*_preview |
; These options affect the preview thumbnails displayed on image pages. |
; |
;*_image |
; These options affect full size display images and are only used if |
; full_image_resize is on in singapore.ini |
thumb_width_gallery = 80 |
thumb_height_gallery = 80 |
thumb_crop_gallery = off |
thumb_number_gallery = 10 |
;Maximum number of galleries to show on one gallery page. |
thumb_width_album = 100 |
thumb_height_album = 100 |
thumb_crop_album = off |
thumb_number_album = 20 |
;Maximum number of image thumbnails to show on one album page. |
thumb_width_preview = 50 |
thumb_height_preview = 50 |
thumb_crop_preview = off |
thumb_number_preview = 5 |
;Maximum number of preview thumbnails to display (including |
;current image). An odd number is usually preferred. |
thumb_width_image = 700 |
thumb_height_image = 500 |