<div class="inhaltsbox">
<div id="content">
<div class="spalterechts">
<a href="#" onclick="anzeigen('1')">
<?php if (have_posts()) : ?>
<?php $do_not_duplicate = array(); ?>
<?php
while ( have_posts() ) : the_post();
$do_not_duplicate[] = get_the_ID();
?>
<?php the_content(''); ?>
<?php endwhile; ?>
<?php
$random_query = new WP_Query(array(
'post__not_in' => $do_not_duplicate,
'showposts' => 10,
'orderby' => 'rand',
'cat' => '98'
));
while ($random_query->have_posts()) : $random_query->the_post(); ?>
<div class="fuerhead"><strong><?php the_title(); ?></strong></div>
<?php the_content(''); ?>
<?php endwhile; ?>
</a><!-- ende a tag 1 -->
</div><!-- ende spalterechts 1 -->
<div class="spalterechts">
<a href="#" onclick="anzeigen('2')">
<?php
$random_query = new WP_Query(array(
'post__not_in' => $do_not_duplicate,
'showposts' => 10,
'orderby' => 'rand',
'cat' => '99'
));
while ($random_query->have_posts()) : $random_query->the_post(); ?>
<div class="fuerhead"><strong><?php the_title(); ?></strong></div>
<?php the_content(''); ?>
<?php endwhile; ?>
</a><!-- ende a tag 2 -->
</div><!-- ende spalterechts 2 -->
<div class="spalterechts">
<a href="#" onclick="anzeigen('3')">
<?php
$random_query = new WP_Query(array(
'post__not_in' => $do_not_duplicate,
'showposts' => 10,
'orderby' => 'rand',
'cat' => '100'
));
while ($random_query->have_posts()) : $random_query->the_post(); ?>
<div class="fuerhead"><strong><?php the_title(); ?></strong></div>
<?php the_content(''); ?>
<?php endwhile; ?>
</a><!-- ende a tag 3 -->
</div><!-- ende spalterechts 3 -->
<div class="spaltelinks">
<a href="#" onclick="anzeigen('4')">
<?php
$random_query = new WP_Query(array(
'post__not_in' => $do_not_duplicate,
'showposts' => 10,
'orderby' => 'rand',
'cat' => '101'
));
while ($random_query->have_posts()) : $random_query->the_post(); ?>
<div class="fuerhead"><strong><?php the_title(); ?></strong></div>
<?php the_content(''); ?>
<?php endwhile; ?>
</a><!-- ende a tag 4 -->
</div><!-- ende spaltelinks 4 -->
</div><!-- ende content rechts -->
<div id="subcontent">
<div id="1">
<div class="sub_texte">
<?php
$random_query = new WP_Query(array(
'post__not_in' => $do_not_duplicate,
'showposts' => 10,
'orderby' => 'rand',
'cat' => '87'
));
while ($random_query->have_posts()) : $random_query->the_post(); ?>
<h2><?php the_title(); ?></h2>
<?php the_content(''); ?>
<?php endwhile; ?>
</div><!-- ende sub_texte -->
<div class="pdfbreich">
<?php
$random_query = new WP_Query(array(
'post__not_in' => $do_not_duplicate,
'showposts' => 10,
'orderby' => 'rand',
'cat' => '91'
));
while ($random_query->have_posts()) : $random_query->the_post(); ?>
<?php the_content(''); ?>
<?php endwhile; ?>
</div><!-- ende pdfbereich -->
</div><!-- ende subcontent -->
</div><!-- ende 1 -->
<div id="subcontent">
<div id="2">
<div class="sub_texte">
<?php
$random_query = new WP_Query(array(
'post__not_in' => $do_not_duplicate,
'showposts' => 10,
'orderby' => 'rand',
'cat' => '88'
));
while ($random_query->have_posts()) : $random_query->the_post(); ?>
<h2><?php the_title(); ?></h2>
<?php the_content(''); ?>
<?php endwhile; ?>
</div><!-- ende sub_texte -->
<div class="pdfbreich">
<?php
$random_query = new WP_Query(array(
'post__not_in' => $do_not_duplicate,
'showposts' => 10,
'orderby' => 'rand',
'cat' => '92'
));
while ($random_query->have_posts()) : $random_query->the_post(); ?>
<?php the_content(''); ?>
<?php endwhile; ?>
</div><!-- ende pdfbereich -->
</div><!-- ende subcontent -->
</div><!-- ende 2 -->
<div id="3">
<div class="sub_texte">
<?php
$random_query = new WP_Query(array(
'post__not_in' => $do_not_duplicate,
'showposts' => 10,
'orderby' => 'rand',
'cat' => '89'
));
while ($random_query->have_posts()) : $random_query->the_post(); ?>
<h2><?php the_title(); ?></h2>
<?php the_content(''); ?>
<?php endwhile; ?>
</div><!-- ende sub_texte -->
<div class="pdfbreich">
<?php
$random_query = new WP_Query(array(
'post__not_in' => $do_not_duplicate,
'showposts' => 10,
'orderby' => 'rand',
'cat' => '93'
));
while ($random_query->have_posts()) : $random_query->the_post(); ?>
<?php the_content(''); ?>
<?php endwhile; ?>
</div><!-- ende pdfbereich -->
</div><!-- ende 3 -->
<div id="4">
<div class="sub_texte">
<?php
$random_query = new WP_Query(array(
'post__not_in' => $do_not_duplicate,
'showposts' => 10,
'orderby' => 'rand',
'cat' => '90'
));
while ($random_query->have_posts()) : $random_query->the_post(); ?>
<h2><?php the_title(); ?></h2>
<?php the_content(''); ?>
<?php endwhile; ?>
</div><!-- ende sub_texte -->
<div class="pdfbreich">
<?php
$random_query = new WP_Query(array(
'post__not_in' => $do_not_duplicate,
'showposts' => 10,
'orderby' => 'rand',
'cat' => '94'
));
while ($random_query->have_posts()) : $random_query->the_post(); ?>
<?php the_content(''); ?>
<?php endwhile; ?><?php endif; ?>
</div><!-- ende pdfbereich -->
</div><!-- ende 4 -->
|