Created
October 2, 2018 01:15
-
-
Save guibranco/12ebafc7638c26c63e70c0744e8c60c3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$banners = "gallery-adm/repository/banners/"; | |
chdir($banners); | |
$arq_banners = glob("{*.png,*.jpg,*.jpeg,*.bmp,*.gif}", GLOB_BRACE); | |
foreach($arq_banners as $img_banners) | |
echo "<img src=".$banners.$img_banners." />"; | |
$studio = "gallery-adm/repository/studio/"; | |
chdir("../studio"); | |
$arq_studio = glob("{*.png,*.jpg,*.jpeg,*.bmp,*.gif}", GLOB_BRACE); | |
foreach($arq_studio as $img_studio) { | |
?> | |
<article class="tattoo-section" <?php echo "data-img=".$studio.$img_studio.""; ?> <?php echo "data-tabletimg=".$studio.$img_studio.""; ?> <?php echo "data-phoneimg=".$studio.$img_studio.""; ?> > | |
<?php } ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment