コード例 #1
0
ファイル: gallery.php プロジェクト: janruls1/WomensLine
                            <div class="thumb">
                                <img class="img-responsive" src="<?php 
    echo Comman::getController("dynamicImage");
    ?>
?src=<?php 
    echo Comman::getUrlByDirectoryPath($dir) . DS . $file;
    ?>
&w=370&h=277&zc=0" alt="featured project"  width="476">
                            </div>
                            <div class="overlay text-center">
                                <div class="display-table">
                                    <div class="display-table-cell"><i class="fa fa-link"></i></div>
                                </div>
                            </div>
                            <a class="hover-link" data-lightbox-gallery="gallery" href="<?php 
    echo Comman::getUrlByDirectoryPath($dir) . DS . $file;
    ?>
">View more</a>
                        </div>
                        
					<?php 
}
?>
					</div>
            </div>
        </div>
    </div>
</section>
<script src="<?php 
echo assets;
?>
コード例 #2
0
ファイル: gallery-admin.php プロジェクト: janruls1/WomensLine
			</div>
		</div>
		<div class="col-xs-12">
		<?php 
foreach ($files as $f) {
    ?>
			<div class="panel col-md-4 col-sm-6" style="background-color: transparent;">
				<div class="panel-body" style="padding:0px;">
					<img src = "<?php 
    echo Comman::getUrlByDirectoryPath($dir . "/" . $f);
    ?>
" class="img img-responsive" />
				</div>
				<div class="panel-footer">
					<a href="<?php 
    echo Comman::getUrlByDirectoryPath($dir . "/" . $f);
    ?>
" target="_blank" class="btn btn-default">Open</a>
					<a href="<?php 
    echo Comman::getController("gallery-admin");
    ?>
?action=remove&path=<?php 
    echo realpath($dir) . DIRECTORY_SEPARATOR . $f;
    ?>
&return_path=<?php 
    echo $url->getRequestedUri();
    ?>
" class="btn btn-danger delete">Delete</a>
				</div>
			</div>
			<?php