Example #1
0
<?php

// Include the UberGallery class
include 'resources/UberGallery.php';
// Initialize the UberGallery object
$gallery = new UberGallery();
// Initialize the gallery array
$galleryArray = $gallery->readImageDirectory('gallery-images');
// Define theme path
if (!defined('THEMEPATH')) {
    define('THEMEPATH', $gallery->getThemePath());
}
// Set path to theme index
$themeIndex = $gallery->getThemePath(true) . '/index.php';
$themeIndex = "C:\\xampp\\htdocs\\UberGallery\\resources//themes//uber-naked//index.php";
echo $themeIndex;
// Initialize the theme
if (file_exists($themeIndex)) {
    include $themeIndex;
} else {
    die('ERROR: Failed to initialize theme');
}
Example #2
0
$galeriaSeleccionada = $_GET["path"];
/*LISTAR DIRECTORIO*/
$cp = new controladorProductos();
$cp->listar_directorios('galeria//productos', $galeriaSeleccionada);
?>
	           	</div>
			</section>
		
			<div id="izq" class="col-xs-12 col-sm-8 col-md-9 col-md-9" 
			style="border:0px solid blue; float:right; text-aling:center;">
             
            <?php 
// Include the UberGallery class
include 'galeria/resources/UberGallery.php';
// Initialize the UberGallery object
$gallery = new UberGallery();
/*SI ES LA 1RA VEZ QUE ENTRA A LA PAGINA DE PRODUCTOS. EL PATH AUN NO ESTA DEFINIDO*/
if ($galeriaSeleccionada == "") {
    $galeriaSeleccionada = $cp->primerProducto;
}
// Initialize the gallery array
$galleryArray = $gallery->readImageDirectory('galeria/productos/' . $galeriaSeleccionada);
// Define theme path
if (!defined('THEMEPATH')) {
    define('THEMEPATH', $gallery->getThemePath());
}
// Set path to theme index
$themeIndex = $gallery->getThemePath(true) . '/index.php';
// Initialize the theme
if (file_exists($themeIndex)) {
    include $themeIndex;
Example #3
0
$gallery = UberGallery::init()->createGallery('webcam/garage');
?>
				</div>				
				<div class="row-fluid">			
					<h2>JARDIN</h2>
					<form method="POST" action="camera_gal.php" name="formulaire">
						<input type="hidden" name="gal" value="jardin">
						<input type="submit" name="bteffacer" value="Effacer"/>
					</form>
					<?php 
include_once 'webcam/resources/UberGallery.php';
$gallery = UberGallery::init()->createGallery('webcam/ext');
?>
				</div>
				<div class="row-fluid">
					<h2>PORCHE</h2>				
					<form method="POST" action="camera_gal.php" name="formulaire">
						<input type="hidden" name="gal" value="porche">
						<input type="submit" name="bteffacer" value="Effacer"/>
					</form>					
					<?php 
include_once 'webcam/resources/UberGallery.php';
$gallery = UberGallery::init()->createGallery('webcam/porche');
?>
			
				</div>
			</div><!-- /container -->
		</div><!-- /wrap -->
  </body>
</html>
foreach ($files as $file) {
    ?>
            
            <?php 
    $dir = 'galleries/' . $file;
    ?>
            
            <?php 
    if (is_dir($dir) && $file != '.' && $file != '..') {
        ?>
                <h2><?php 
        echo ucwords($file);
        ?>
</h2>
                <?php 
        $gallery = UberGallery::init()->createGallery($dir, $file);
        ?>
            <?php 
    }
    ?>
            
        <?php 
}
?>
                
    </div>

</body>

<!-- Page template by, Chris Kankiewicz <http://www.chriskankiewicz.com> -->
Example #5
0
		
		
		
			<section class="top_image">
				<img src="../_images_content/banner_absolventen2016.jpg" alt="Absolventenfeier 2016">
			</section>
		
		
		
            <section class="text">
			
				<h1>Bildergalerie Absolventenfeier 2016</h1>

				<?php 
include_once 'ubergallery-resources/UberGallery.php';
$gallery = UberGallery::init()->createGallery('ubergallery-images');
?>
				
				

		
				
			</section>
			
			
			
			
			
			
        </section>