ID).'" title="RSS 2.0">RSS 2.0'); if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) { // Both Comments and Pings are open printf(__('You can leave a response here or a trackback.', 'finojaho'), trackback_url('',false)); } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) { // Only Pings are Open printf(__('Comments are closed, but you can leave a trackback.', 'finojaho'), trackback_url('',false)); } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) { // Comments are open, Pings are not _e('You may leave a comment but pings are closed.','finojaho'); } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) { // Neither Comments, nor Pings are open _e('Both comments and pings are currently closed.','finojaho'); } ?>

ID; if (is_page($postid)) $posttype = "'page'"; else $posttype = "'post'"; $my_pre = "SELECT * FROM wp_posts WHERE post_status = 'publish' AND post_password = '' AND post_type = $posttype AND ID < $postid ORDER BY ID DESC LIMIT 1"; $id_my_pre = $wpdb->get_results( $my_pre, OBJECT); if ($id_my_pre) { foreach ($id_my_pre as $post): setup_postdata($post); ?>

= 37 ) { $posttit = substr($posttit, 0, 35).'...';} ?> /i', $imginpost, $matches); if ($matches) preg_match_all('/(alt|title)=("[^"]*")/i',$matches[0],$match); if (isset($match[0][0])) {$match[0][0] =' '.$match[0][0];} else {$match[0][0] = '';} if (isset($match[0][1])) {$match[0][1] =' '.$match[0][1];} else {$match[0][1] = '';} if ($matches) { ereg('wp-image-([0-9]+)',$matches[0],$regs); if ($regs) { if (is_numeric($regs[1])) { $image = wp_get_attachment_image_src($regs[1], $size, false); if ($image) { $image = ''; } // if ($image) } // if (is_numeric($regs[1])) } // if ($regs) else { $image = ''; } } // if ($matches) else { $image = '';} $postprecontent = strip_shortcodes(get_the_content()); $postprecontent = strip_tags($postprecontent); if (strlen($postprecontent) <= 300 ) { echo '

'.$image.$postprecontent.'

';} else {$postprecontent = substr($postprecontent, 0, 300).'...'; echo '

'.$image.$postprecontent.'

';}?>
flush(); if (is_page($postid)) $posttype = "'page'"; else $posttype = "'post'"; $my_nex = "SELECT * FROM wp_posts WHERE post_status = 'publish' AND post_password = '' AND post_type = $posttype AND ID > $postid ORDER BY ID ASC LIMIT 1"; $id_my_nex = $wpdb->get_results( $my_nex, OBJECT); if ($id_my_nex) { foreach ($id_my_nex as $post): setup_postdata($post); ?>

= 37 ) { $posttit = substr($posttit, 0, 35).'....';} ?> /i', $imginpost, $matches); if ($matches) preg_match_all('/(alt|title)=("[^"]*")/i',$matches[0],$match); if (isset($match[0][0])) {$match[0][0] =' '.$match[0][0];} else {$match[0][0] = '';} if (isset($match[0][1])) {$match[0][1] =' '.$match[0][1];} else {$match[0][1] = '';} if ($matches) { ereg('wp-image-([0-9]+)',$matches[0],$regs); if ($regs) { if (is_numeric($regs[1])) { $image = wp_get_attachment_image_src($regs[1], $size, false); if ($image) { $image = ''; } // if ($image) } // if (is_numeric($regs[1])) } // if ($regs) else { $image = ''; } } // if ($matches) else { $image = '';} $postnexcontent = strip_shortcodes(get_the_content()); $postnexcontent = strip_tags($postnexcontent); if (strlen($postnexcontent) <= 300 ) { echo '

'.$image.$postnexcontent.'

';} else {$postnexcontent = substr($postnexcontent, 0, 300).'...'; echo '

'.$image.$postnexcontent.'

';}?>
0) ) : ?> 0) { if ($numComments > 1) {?>

“'.get_the_title($postid).''))); ?>

“'.get_the_title($postid).''))); ?>

comment_status) : ?>

comment_status) : ?>

logged in to post a comment.', 'finojaho'), $loginlink); ?>

'.$user_identity.''); ?>

) {this.value = '';} if (this.value == ) {this.value = '';}" onblur="if (this.value == '') {this.value = ;}" size="100%" tabindex="1" /> ) {this.value = '';} if (this.value == ) {this.value = '';}" onblur="if (this.value == '') {this.value = ;}" size="100%" tabindex="2" /> ) {this.value = '';}" onblur="if (this.value == '') {this.value = ;}" size="100%" tabindex="3" />

ID); ?>
0) { if ($numPingBacks > 1) { ?>

“'.get_the_title($postid).''))); ?>

“'.get_the_title($postid).''))); ?>

'.__('No trackbacks yet.','finojaho').'

';} ?>

ID); if (get_option('finojaho_reltag') == 0) {$numpost = '-1';} if (get_option('finojaho_reltag') > 0) {$numpost = get_option('finojaho_reltag');} if ($tags) { $tag_ids = array(); foreach($tags as $individual_tag) $tag_ids[] = $individual_tag->term_id; if (get_option('finojaho_reltag') > 0) { $args=array( 'tag__in' => $tag_ids, 'post__not_in' => array($post->ID), 'showposts'=> $numpost, // Number of related posts that will be shown. 'caller_get_posts'=> 1, 'post_status' => 'publish' );} if (get_option('finojaho_reltag') == 0) { $args=array( 'tag__in' => $tag_ids, 'post__not_in' => array($post->ID), 'posts_per_page' => $numpost, // Number of related posts that will be shown. 'caller_get_posts'=> 1, 'post_status' => 'publish' );} $rp_query = new wp_query($args); if($rp_query) { if($rp_query->have_posts()) { ?> '.__('No post with similar tags yet.','finojaho').'

';} }} else {echo '

'.__('No post with similar tags yet.','finojaho').'

';} ?>

ID); if (get_option('finojaho_relcat') == 0) {$catpost = '-1';} if (get_option('finojaho_relcat') > 0) {$catpost = get_option('finojaho_relcat');} if ($categories) { $category_ids = array(); foreach($categories as $individual_category) $category_ids[] = $individual_category->term_id; if (get_option('finojaho_relcat') > 0) { $args=array( 'category__in' => $category_ids, 'post__not_in' => array($postid), 'showposts'=>$catpost, // Number of related posts that will be shown. 'caller_get_posts'=>1, 'post_status' => 'publish' );} if (get_option('finojaho_reltag') == 0) { $args=array( 'category__in' => $category_ids, 'post__not_in' => array($postid), 'posts_per_page' =>$catpost, // Number of related posts that will be shown. 'caller_get_posts'=>1, 'post_status' => 'publish' );} $rp_query = new wp_query($args); if($rp_query) { if($rp_query->have_posts()) { ?> '.__('No post with similar categories yet.','finojaho').'

';} }} else {echo '

'.__('No post with similar categories yet.','finojaho').'

';} ?>