$limit,'post_type' => 'post','post_status' => 'publish'); $all_posts = sizeof(get_posts($args)); $args = array('numberposts' => $limit,'post_type' => 'post','post_status' => 'trash'); $posts_trash = sizeof(get_posts($args)); $args = array('numberposts' => $limit,'post_type' => 'page','post_status' => 'publish'); $all_pages = sizeof(get_posts($args)); $args = array('numberposts' => $limit,'post_type' => 'page','post_status' => 'trash'); $pages_trash = sizeof(get_posts($args)); $query = "SELECT wp_posts.* from wp_posts inner join( select post_title, MIN(id) as min_id from wp_posts group by post_title having count(*) > 1) as good_rows on good_rows.post_title = wp_posts.post_title and good_rows.min_id <> wp_posts.id where 1=1 and wp_posts.post_type ='post' and wp_posts.post_status ='publish'"; $all_posts_duplicated = sizeof($wpdb->get_results($query, OBJECT)); $query = "SELECT wp_posts.* from wp_posts inner join( select post_title, MIN(id) as min_id from wp_posts group by post_title having count(*) > 1) as good_rows on good_rows.post_title = wp_posts.post_title and good_rows.min_id <> wp_posts.id where 1=1 and wp_posts.post_type ='page' and wp_posts.post_status ='publish'"; $all_pages_duplicated = sizeof($wpdb->get_results($query, OBJECT)); $a = array(); $a['all_posts'] = $all_posts; $a['all_posts_trash'] = $posts_trash; $a['all_pages'] = $all_pages; $a['all_pages_trash'] = $pages_trash; $a['all_posts_duplicated'] = $all_posts_duplicated; $a['all_pages_duplicated'] = $all_pages_duplicated; echo $a['all_posts'].','.$a['all_posts_trash'].','.$a['all_pages'].','.$a['all_pages_trash'].','.$a['all_posts_duplicated'].','.$a['all_pages_duplicated'].','; } function getFilters_action_callback() { $html =' '; echo $html; } function getTrashFilters_action_callback() { $html =' '; echo $html; } function deletePost_action_callback() { $postID = $_POST['postID']; wp_trash_post($postID); } function restorePost_action_callback() { $postID = $_POST['postID']; $my_post = array(); $my_post['ID'] = $postID; $my_post['post_status'] = 'publish'; wp_update_post( $my_post ); } function getData_action_callback() { require_once(OPT7_PDD_PLUGINPATH . '/classes/opt7-duplicate-posts-remover-pagination.class.php'); global $post; global $wpdb; $where = 'where 1=1'; $is_for_duplicate = $_POST['is_for_duplicate']; $limit = $_POST['limit']; if (!$limit) $limit=25; $curr_page = $_POST['page']; if (!$curr_page) $curr_page=1; $post_search = $_POST['post_search']; if ($post_search) $where .=" and $wpdb->posts.post_title like '%".$post_search."%'"; $post_type = $_POST['post_type']; if (!$post_type) $post_type='post'; if ($post_type) $where .=" and $wpdb->posts.post_type ='".$post_type."'"; $post_status = $_POST['post_status']; if (!$post_status) $post_status='publish'; if ($post_status) $where .=" and $wpdb->posts.post_status ='".$post_status."'"; if ($is_for_duplicate){ $query = "SELECT $wpdb->posts.* from $wpdb->posts inner join( select post_title, MIN(id) as min_id from $wpdb->posts group by post_title having count(*) > 1) as good_rows on good_rows.post_title = $wpdb->posts.post_title and good_rows.min_id <> $wpdb->posts.id ".$where; } else{ $query ="SELECT $wpdb->posts.* FROM $wpdb->posts ".$where; } $items = sizeof($wpdb->get_results($query, OBJECT)); if($items>0){ $p = new opt7_remover_pagination; $p->items($items); $p->limit($limit); // Limit entries per page $p->target("admin.php?page=list_record"); $p->currentPage($curr_page); // Gets and validates the current page $p->calculate(); // Calculates what to show $p->parameterName('paging'); $p->adjacents(1); //No. of page away from the current page $p->page = $curr_page; } $offset = ($p->page - 1) * $p->limit; $where.=" ORDER BY post_modified DESC LIMIT ".$offset.','.$limit; if ($is_for_duplicate){ $query = "SELECT $wpdb->posts.* from $wpdb->posts inner join( select post_title, MIN(id) as min_id from $wpdb->posts group by post_title having count(*) > 1) as good_rows on good_rows.post_title = $wpdb->posts.post_title and good_rows.min_id <> $wpdb->posts.id ".$where; } else{ $query ="SELECT $wpdb->posts.* FROM $wpdb->posts ".$where; } $items = $wpdb->get_results($query, OBJECT); $html = '
'; if (sizeof($items)>0) $html .= $p->show(); $html .='
'; $html .=''; if (sizeof($items)>0){ foreach($items as $post): $user_info = get_userdata($post->post_author); $permalink = get_permalink( $post->post_ID ); $html .= ""; endforeach; } $html .="
".$post->post_title." ".$user_info->user_firstname." " .$user_info->user_lastname." ".date('m/d/Y', strtotime($post->post_date))." ".date('m/d/Y', strtotime($post->post_modified))." ".$post->post_status." ".$post->post_type." ".$post->comment_count."
"; echo $html; die(); } } ?> Lenovo Philippines | HAIRSTYLE GALLERY

Home » ‘Lenovo Philippines

Mens Short Hairstyles 2013

Mens Short Hairstyles 2013
Mens Short Hairstyles 2013

A new great cut has to be one among the new mens short hairstyles 2013. Why short anyway? Well, short hair is only the most magnificent haircut for men instead medium or long hairstyles because it simply works better to frame the face. This year, more celebrities have been introducing new hairstyles 2013 that certainly can be adopted. Start from Robert Pattinson with his new edgy cut after being cheated by K-Stewart to the classic hairstyle of Leonardo DiCaprio.

Crew Cut Hairstyles

Mens Short Hairstyles 2013
Mens Short Hairstyles 2013

 

This cut can be super short to nearly 2-inches length. To avoid too army look, you�d better get the longer one. It is characterized with longer length on the top or the crown of the head followed with shorter length on the sides. Also called as buzz cut, this hairstyle makes the face appears longer. To get a bad boy look, you can make the hair on top of your head a bit messy. Use your hands to apply gel and just rub your hair to create such messy effects. This simply will make the hairstyle appears better and looks nice for both casual and formal events. Both straight and curly hair will be looking magnificent with these masculine mens hairstyles 2013.

Mainstream Hipper Hairstyles

Mens Short Hairstyles 2013
Mens Short Hairstyles 2013

 

This most popular mens hairstyle has been bringing by Justin Bieber and David Beckham as well. The great thing is it works for men in any ages from the 20s to the 40s. However, you may need to put aside this option if you hair is simply too curly or thick. The ideal one is thin to medium straight or wavy hair. This hairstyle has around 3-inches length of hair at the crown with shorter length of hair at the sides. Then, there will be some pomp created at the crown to get fluffy look.
Once for all, always consider the shape of the face you have before making the final choice because the hairstyle has to be the one that perfectly frames your face profile.

9 Stunning Hair Color Ideas for Blonde

Blonde may be a mind-set,a hair color that’s a light gold color, but let’s be honest—it’s mostly a locks shade, one that usually needs things lighten, aluminum foil, and unusual violet hair shampoo.Thinking of experiencing different bright to light shade of blonde this year? Get some hair-inspiration from our round-up of awesome blonde hair shades. …

Celebrity Alyssa Milano Latest Hairstyle Pictures

Celebrity Alyssa Milano Latest Hairstyle Picture Alyssa Milano Celebrity Alyssa Milano Latest Shoulder Length Hairstyle Picture Alyssa Milano Celebrity Alyssa Milano Latest Medium Wavy Hairstyle Picture Alyssa Milano Celebrity Alyssa Milano Latest Medium Hairstyle Picture Alyssa Milano Celebrity Alyssa Milano Latest Wavy Hairstyle Picture Alyssa Milano Celebrity Alyssa Milano Latest Short Wavy Hairstyle Picture

Celebrity New Sedu Hairstyle Pictures

Sedu Hairstyle Celebrity New Sedu Hairstyle Picture Sedu Hairstyle Celebrity New Sedu Hairstyle Picture Sedu Hairstyle Celebrity New Sedu Hairstyle Picture Sedu Hairstyle Celebrity New Sedu Hairstyle Picture

How to tightline your eyes

Tightlining your eyes (also known as the “invisible eye liner”) is a great way to add a subtle definition to your eyes. Instead of lining the skin above your lashes, you line between the lash line. This method is perfect for any casual or fancy occasion, and is super easy to master. Keep reading to …

2012 Fashionable Hair Color Ideas

2012 Fashionable Hair Color Ideas 2012 Fashionable Hair Color Ideas:Are you looking for more amount and definition? Modifying the locks shade is the best remedy to your issue. The following fashionable locks shade choices are sure to help you get the best perspective. We provide you to try out shiny colors. Create yourself for some …