Home | Contact Us | Warranty | Shipping | Payment | Return | Privacy | FAQs
  • 45 Days Money Back
  • One Year Warranty
  • A Grade Cells
  • Same Day Shipping
Featured brands

', $show_pass_post = false, $skip_posts = 0) { global $wpdb, $tableposts; $request = "SELECT ID, post_title, post_date, post_content FROM $tableposts WHERE post_status = 'publish' "; if(!$show_pass_post) { $request .= "AND post_password ='' "; } $request .= "ORDER BY post_date DESC LIMIT $skip_posts, $no_posts"; $posts = $wpdb->get_results($request); $output = ''; foreach ($posts as $post) { $post_title = stripslashes($post->post_title); // $post_date = mysql2date('j.m.Y', $post->post_date); $permalink = get_permalink($post->ID); $post_content = stripslashes($post->post_content); $output .= $before . '
' . $post_title . '
'. $after; $output .= $before . '
' .substr($post_content,0,4000).'
'. $after; } echo $output; } function mul_excerpt ($excerpt) { $myexcerpt = substr($excerpt,0,255); return utf8_trim($myexcerpt) . '... '; } get_recent_posts(); ?>