HEX
Server: Apache
System: Linux eisbus 6.8.12-9-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-9 (2025-03-16T19:18Z) x86_64
User: www-data (33)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/wordpress/wp-content/themes/eisschnecken/index.php
<?php

$i = 0;

get_header(); ?>
	
	<!-- site-content -->
	<div class="site-content clearfix">
	
		<!-- STATUSMELDUNG -->
		<div class="post_notice">
			<b>Notice:</b> Mehr Bilder und Projekte aktuell auf <a href="https://3dcustomparts.de/index.php/instagram/">Intagram</a> zu sehen. <a href="https://3dcustomparts.de/index.php/instagram/">Hier...</a>
		</div>
		<!-- /STATUSMELDUNG -->
		
		<!-- main-column 
		<div class="main-column"> -->

			<?php if (have_posts()) :
				while (have_posts()) : the_post();
									
			
				if (($i % 2) == 0) {
			?>	
					<div class="post-left">
			<?php
				} else {
			?>	
					<div class="post-right">
			<?php
				}			
			
				
				get_template_part('content', get_post_format());

				echo "</div> <!-- /post-left/right -->"; 
				
				if (($i % 2) == 0) {
			?>
							<!-- post-thumbnail -->
							<div class="post-thumbnail-right">
								<center><a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('middle-thumbnail'); ?></a></center>
							</div><!-- /post-thumbnail -->
			<?php
				} else {
			?>
							<!-- post-thumbnail -->
							<div class="post-thumbnail-left">
								<center><a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('middle-thumbnail'); ?></a></center>
							</div><!-- /post-thumbnail -->
			<?php
				}
				
				$i++;
				
				endwhile;

				else :
					echo '<p>No content found</p>';

				endif;
				?>

		<!-- </div><!-- /main-column -->

		<?php //get_sidebar(); ?>
		
	</div><!-- /site-content -->
	
	<?php
	get_footer();

?>