groups

name language licence
timthumb PHP GPL 2
Display Top Comments PHP BSD
Display Archives PHP BSD
Display Recently Updated Posts/Pages PHP BSD
Untitled Snippet PHP Other
blog PHP Other
compressed.css PHP Other
Template Tags/wp list bookmarks PHP Other

< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 >



language: PHP
licence: Other

blog

options: view full snippetsend to code collector
<!-- Begin blog -->
<div id="blog-section">
<div class="span-<?php $sidebar = get_option('T_sidebar'); if($sidebar == "On") { echo "15 colborder home"; } else { echo "24 last"; } ?>">
<h3 class="sub">Blog</h3>
	<?php if (have_posts()) : ?>
	<?php $i == 0; ?>
		<?php while (have_posts()) : the_post(); $i++; ?>
			<div <?php if(function_exists('post_class')) : ?><?php post_class(); ?><?php else : ?>class="post post-<?php the_ID(); ?>"<?php endif; ?>>
				<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
				<div class="entry">
					<?php include (THEMELIB . '/apps/multimedia.php'); ?>
					<?php include (THEMELIB . '/apps/video.php'); ?>
					<?php the_content(); ?>
					<?php if ($i == 1) { ?>
					<?php include (THEMELIB . '/apps/ad-main.php'); ?>
	
(Continues...)