| Server IP : 202.61.199.114 / Your IP : 216.73.217.139 Web Server : nginx/1.22.1 System : Linux de.arni-solutions.de 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64 User : web20 ( 1018) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/clients/client2/web20/web/wp-content/themes/old_backup/ |
Upload File : |
<?php
require_once("config/config.php");
get_header();
wp_reset_query();
$iPageID = get_the_ID();
$aPostMeta = get_post_meta($post->ID);
?>
<?php while ( have_posts() ) : the_post(); ?>
<div class="container content-container content">
<div class="row">
<div class="col-md-12">
<h1><?php the_title(); ?></h1>
<div class="row">
<?php if ( has_post_thumbnail() ) { ?>
<div class="col-md-6 gallery-gast">
<div class="row"><?php
$sImageURL = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'thumbnail');
$sImageURLfull = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'full');
echo '<div class="col-xs-4 item-thumb">
<a href="'.$sImageURLfull[0].'" class="fancybox" rel="fancybox[group]">
<img src="'.$sImageURL[0].'" class="img-responsive" />
</a>
</div>';
echo easy_image_gallery(); ?>
</div>
</div>
<?php } ?>
<div class="<?php if ( has_post_thumbnail() ) { echo "col-md-6"; } else { echo "col-md-12"; } ?>">
<div class="row meta-gast">
<div class="col-md-5"><?php
echo $aPostMeta['gast_name'][0]; ?><br />
<?php echo $aPostMeta['gast_street'][0]; ?><br />
<?php echo $aPostMeta['gast_zipcode'][0]; ?> <?php echo $aPostMeta['gast_location'][0]; ?><br />
</div>
<div class="col-md-7"><?php
echo empty($aPostMeta['gast_phone'][0]) ? false : '<strong>Telefon:</strong> '.$aPostMeta['gast_phone'][0].'<br />';
echo empty($aPostMeta['gast_fax'][0]) ? false : '<strong>Telefax:</strong> '.$aPostMeta['gast_fax'][0].'<br />';
echo empty($aPostMeta['gast_mobil'][0]) ? false : '<strong>Mobil:</strong> '.$aPostMeta['gast_mobil'][0].'<br />';
echo empty($aPostMeta['gast_online'][0]) || $aPostMeta['gast_online'][0] == "http://" ? false : '<strong>Web:</strong> <a href="'.$aPostMeta['gast_online'][0].'" target="_blank" title="'.get_the_title().'">'.str_replace(array('http://', '/'), '', $aPostMeta['gast_online'][0]).'</a><br />';
echo empty($aPostMeta['gast_mail'][0]) ? false : '<strong>E-Mail:</strong> <a href="mailto:'.$aPostMeta['gast_mail'][0].'" title="E-Mail schreiben">'.$aPostMeta['gast_mail'][0].'</a>'; ?>
</div>
</div>
<?php the_content(); ?>
</div>
</div>
<a href="/gastgeberverzeichnis/" class="btn validate btn-primary">zur Übersicht</a>
</div>
</div>
</div>
<?php endwhile; ?>
<?php get_footer(); ?>
</body>
</html>