rubyfall
Forum Replies Created
Viewing 1 replies (of 1 total)
-
Forum: Plugins
In reply to: change %link[ Moderator note: it’s the backtick and not the double quote for code snippets. ]
After this question, I have made it with php itself (I know it is to program it nicer, but it works for now, as to see under this:
<div id="Laatste" style="top:80px;"> <div id="faceknop"> <?php query_posts('showposts=1000&cat=' . $cat); ?> <?php $num = 0; $Pnumtje = 0; ?> <?php while (have_posts()): the_post(); ?> <?php $num = 1 + $num; ?> <?php if ($id != $pxa) { $Pnumtje = $Pnumtje; } else { $Pnumtje = $num; } ?> <?php endwhile; ?> <?php query_posts('showposts=1000&cat=' . $cat); ?> <?php $numb = 0; $Pnumtjeb = $Pnumtje - 1; $Pnumtjec = $Pnumtje + 1; $IDplus = 0; $IDmin = 0; ?> <?php while (have_posts()): the_post(); ?> <?php $numb = 1 + $numb; ?> <?php if ($Pnumtjec != $numb ) { $IDmin = $IDmin; $IDplus = $IDplus; } else { $IDmin = $id; $IDplus = $IDplus; } if ($Pnumtjeb != $numb ) { $IDmin = $IDmin; $IDplus = $IDplus; } else { $IDmin = $IDmin; $IDplus = $id; } ?> <?php endwhile; ?> <?php if ($IDmin > 0 ) { ?> <a>&cat=<?php echo $cat; ?>" target="_top">◄ouder:</a></B> <?php } else { ?> <?php }?> </div> <div id="publdatum"> <?php if ($IDplus > 0 ) { ?> <a>&cat=<?php echo $cat; ?>" target="_top">nieuwer►</a></B> <?php } else { ?> <?php }?> </div> </div>
Viewing 1 replies (of 1 total)