HEX
Server: Apache
System: Linux p3plmcpnl504330.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: workshopbrain (3361731)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/workshopbrain/www/mis/wp-content/themes/MDISTOUR/single.php
<?php get_header(); ?>

<div id="main-content">
	<div class="container">
		<div id="content-area" class="clearfix">
			<div id="left-area">
			<?php while ( have_posts() ) : the_post(); ?>
				<?php if (et_get_option('divi_integration_single_top') <> '' && et_get_option('divi_integrate_singletop_enable') == 'on') echo(et_get_option('divi_integration_single_top')); ?>

				<article id="post-<?php the_ID(); ?>" <?php post_class( 'et_pb_post' ); ?>>
					<h1><?php the_title(); ?></h1>
					<?php if( get_field('brief_description') ): ?>
					<h2>
						<a href="http://mis.workshop-mg.com/example2/leasing-space/"><img src="http://mis.workshop-mg.com/example2/wp-content/uploads/sites/4/2014/05/back-arrow-333.jpg" style="width:250px;text-align:left;" alt="Back Button" /></a>
					</h2>
					<?php endif; ?>

				<?php
					if ( ! post_password_required() ) :

						et_divi_post_meta();

						$thumb = '';

						$width = (int) apply_filters( 'et_pb_index_blog_image_width', 1080 );

						$height = (int) apply_filters( 'et_pb_index_blog_image_height', 675 );
						$classtext = 'et_featured_image';
						$titletext = get_the_title();
						$thumbnail = get_thumbnail( $width, $height, $classtext, $titletext, $titletext, false, 'Blogimage' );
						$thumb = $thumbnail["thumb"];

						$post_format = get_post_format();

						if ( 'video' === $post_format && false !== ( $first_video = et_get_first_video() ) ) {
							printf(
								'<div class="et_main_video_container">
									%1$s
								</div>',
								$first_video
							);
						} else if ( ! in_array( $post_format, array( 'gallery', 'link', 'quote' ) ) && 'on' === et_get_option( 'divi_thumbnails', 'on' ) && '' !== $thumb ) {
							print_thumbnail( $thumb, $thumbnail["use_timthumb"], $titletext, $width, $height );
						} else if ( 'gallery' === $post_format ) {
							et_gallery_images();
						}
					?>

				<?php
						$text_color_class = et_divi_get_post_text_color();

						$inline_style = et_divi_get_post_bg_inline_style();

						switch ( $post_format ) {
							case 'audio' :
								printf(
									'<div class="et_audio_content%1$s"%2$s>
										%3$s
									</div>',
									esc_attr( $text_color_class ),
									$inline_style,
									et_pb_get_audio_player()
								);

								break;
							case 'quote' :
								printf(
									'<div class="et_quote_content%2$s"%3$s>
										%1$s
									</div> <!-- .et_quote_content -->',
									et_get_blockquote_in_content(),
									esc_attr( $text_color_class ),
									$inline_style
								);

								break;
							case 'link' :
								printf(
									'<div class="et_link_content%3$s"%4$s>
										<a href="%1$s" class="et_link_main_url">%2$s</a>
									</div> <!-- .et_link_content -->',
									esc_url( et_get_link_url() ),
									esc_html( et_get_link_url() ),
									esc_attr( $text_color_class ),
									$inline_style
								);

								break;
						}

					endif;
				?>

					<div class="entry-content">

					<?php if( get_field('brief_description') ): ?>
					<table width="100%" border="0">
						<tr>
							<td>
								<p><img src="<?php the_field('suite_thumbnail'); ?>" style="float:left;padding:10px" width="300px" /></p>
								<p><b>Brief Description:</b><br><?php the_field('brief_description'); ?></p>
								<p><b>Square Footage:</b> <?php the_field('square_footage'); ?></p>
								<p>Contact: Michael Greeby - <a href="mailto:michael@workshop-mg.com">michael@workshop-mg.com</a>
									For More Details.</p>
							</td>
						</tr>
					</table>
					<h3>Please swipe left or right on panorama images below to see additional views</h3>
					<?php endif; ?>


					<?php
						the_content();

						wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'Divi' ), 'after' => '</div>' ) );
					?>
					</div> <!-- .entry-content -->

					<?php if( get_field('brief_description') ): ?>
					<h2>
						<a href="http://mis.workshop-mg.com/example2/leasing-space/"><img src="http://mis.workshop-mg.com/example2/wp-content/uploads/sites/4/2014/05/back-arrow-333.jpg" style="width:250px;text-align:left;" alt="Back Button" /></a>
					</h2>
					<?php endif; ?>


					<?php
					if ( et_get_option('divi_468_enable') == 'on' ){
						echo '<div class="et-single-post-ad">';
						if ( et_get_option('divi_468_adsense') <> '' ) echo( et_get_option('divi_468_adsense') );
						else { ?>
							<a href="<?php echo esc_url(et_get_option('divi_468_url')); ?>"><img src="<?php echo esc_attr(et_get_option('divi_468_image')); ?>" alt="468 ad" class="foursixeight" /></a>
				<?php 	}
						echo '</div> <!-- .et-single-post-ad -->';
					}
				?>

					<?php
						if ( ( comments_open() || get_comments_number() ) && 'on' == et_get_option( 'divi_show_postcomments', 'on' ) )
							comments_template( '', true );
					?>
				</article> <!-- .et_pb_post -->

				<?php if (et_get_option('divi_integration_single_bottom') <> '' && et_get_option('divi_integrate_singlebottom_enable') == 'on') echo(et_get_option('divi_integration_single_bottom')); ?>
			<?php endwhile; ?>
			</div> <!-- #left-area -->

			<?php get_sidebar(); ?>
		</div> <!-- #content-area -->
	</div> <!-- .container -->
</div> <!-- #main-content -->

<?php get_footer(); ?>