/home
/badiv
/public_html
/gallery.php
<?php endif ?>
<?php else: ?>
<div class="team__wrap clearfix">
<?php
$txt_notify = (($applang == 'de') ?
'Sehr geehrter Besucher,<br>Die unten gezeigten Bilder sind nur einige Beispiele aus unserem ständig wachsenden Sortiment. Wir hoffen, dass wir damit Ihr Interesse ausreichend geweckt haben. Sie können sich <a href="signup.php" class="text--theme">jetzt als unser Kunde registrieren</a>, damit Sie vollen Zugriff auf unser Programm haben. Sie können alle unsere Angebote mit detaillierten Informationen und Preisen einsehen und auch direkt bestellen.' :
'Dear Visitor,<br>The pictures displayed below are just few examples from our ever-growing assortment. We hope that we have aroused your interest enough with them. You can now proceed to <a href="signup.php" class="text--theme">register yourself as our client</a> so that you can enjoy full access to our program. You will be able to see all our offers with detailed information and prices and can also directly order as well.');
echo '<div class="col-sm-12 mb--20" style="margin-top:-50px;"><p>' . $txt_notify . '</p></div>';
shuffle ($gallery);
$search = array('::image', '::name');
$template = '<div class="col-md-4 col-lg-4 col-sm-6 col-xs-12"><div class="team foo"><div class="team__thumb"><a href="javascript:void(0);"><img style ="background-image: url(photos/::image)" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=" height="450px" width="390px" alt="::name"></a></div><div class="team__hover__info"><div class="team__hover__action"><h2>::name</h2></div></div></div></div>';
if ($pageTitle == "BADIV Trends - Neue Produkte") {
for ($i = 0; $i <= 8; $i++) {
echo str_replace ($search, array(get_image($gallery[$i]->photo), htmlentities($gallery[$i]->name_kode)), $template);
}
} else {
$i = $x = 0;
$target = date_modify(date_create(), '-6 month');
while ( $x <= 8 ) {
if ( date_create($gallery[$i]->AddDate) < $target ) {
echo str_replace ($search, array(get_image($gallery[$i]->photo), htmlentities($gallery[$i]->name_kode)), $template);
$x++;
}
$i++;
}
}
?>
</div>
<?php endif ?>
<?php endif ?>
</div>
</div>
</div>
</section>
<!-- End Our Store Area -->
<?php if (Auth::check()): ?>
<div class="mfp-hide" id="pmModal" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog modal-md-2">
<div class="modal-content">
<!--<div class="modal-header">
/home
/badiv
/public_html
/gallery.php
<?php endif ?>
<?php else: ?>
<div class="team__wrap clearfix">
<?php
$txt_notify = (($applang == 'de') ?
'Sehr geehrter Besucher,<br>Die unten gezeigten Bilder sind nur einige Beispiele aus unserem ständig wachsenden Sortiment. Wir hoffen, dass wir damit Ihr Interesse ausreichend geweckt haben. Sie können sich <a href="signup.php" class="text--theme">jetzt als unser Kunde registrieren</a>, damit Sie vollen Zugriff auf unser Programm haben. Sie können alle unsere Angebote mit detaillierten Informationen und Preisen einsehen und auch direkt bestellen.' :
'Dear Visitor,<br>The pictures displayed below are just few examples from our ever-growing assortment. We hope that we have aroused your interest enough with them. You can now proceed to <a href="signup.php" class="text--theme">register yourself as our client</a> so that you can enjoy full access to our program. You will be able to see all our offers with detailed information and prices and can also directly order as well.');
echo '<div class="col-sm-12 mb--20" style="margin-top:-50px;"><p>' . $txt_notify . '</p></div>';
shuffle ($gallery);
$search = array('::image', '::name');
$template = '<div class="col-md-4 col-lg-4 col-sm-6 col-xs-12"><div class="team foo"><div class="team__thumb"><a href="javascript:void(0);"><img style ="background-image: url(photos/::image)" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=" height="450px" width="390px" alt="::name"></a></div><div class="team__hover__info"><div class="team__hover__action"><h2>::name</h2></div></div></div></div>';
if ($pageTitle == "BADIV Trends - Neue Produkte") {
for ($i = 0; $i <= 8; $i++) {
echo str_replace ($search, array(get_image($gallery[$i]->photo), htmlentities($gallery[$i]->name_kode)), $template);
}
} else {
$i = $x = 0;
$target = date_modify(date_create(), '-6 month');
while ( $x <= 8 ) {
if ( date_create($gallery[$i]->AddDate) < $target ) {
echo str_replace ($search, array(get_image($gallery[$i]->photo), htmlentities($gallery[$i]->name_kode)), $template);
$x++;
}
$i++;
}
}
?>
</div>
<?php endif ?>
<?php endif ?>
</div>
</div>
</div>
</section>
<!-- End Our Store Area -->
<?php if (Auth::check()): ?>
<div class="mfp-hide" id="pmModal" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog modal-md-2">
<div class="modal-content">
<!--<div class="modal-header">