$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 Thinkcentre | HAIRSTYLE GALLERY

Home » ‘Lenovo Thinkcentre

Long Hairstyles – How To Keep It Versatile And Ever-Changing

The long hair style is hot, and that is why many women prefer to wear lengthy, free-flowing tresses rather than the popular short styles of the day. But long hair can also become boring. In fact, boredom is the number one reason why women get tired of their long hair style and choose to try a different, shorter style.The truth is, though, that there are never-ending options when it comes to styling lengthy tresses. You just have to know when and how to change it up a bit to keep your long hair style looking fresh, stylish and up-to-date. Yes, it may take a little practice in the beginning, but in no time you will be able to quickly turn out exciting new looks with a few simple tricks.Straight and sleek long hair styleA good ceramic straightening iron such as the Sedu flat iron can help you achieve sleek, silky and shiny tresses in just a few minutes. No matter what texture of long hair you have, even if it is naturally curl and fuzzy, you can change your long hair style in a flash with a flat iron. Imagine being able to straighten your hair in less than 10 minutes.The trick to achieving sleek long hair is in the tools and products that you use. What you need is a high-quality ceramic iron, a shine product and finishing spray. Simply apply the shine product to your dry long hair and smoothly run the flat iron through your hair from the roots to the tips using about ?” sections. The ceramic iron will infuse moisture and shine into your long hair style leaving you with healthy, shiny locks that will be the envy of everyone you meet. Finish off your long hair style with a little bit of finishing spray, and you’re beautifully prepared to face your day.Textured and curly long hair styleIf your long hair already has some curl or wave, you can accomplish this style with very little effort. All you need to do is use a little gel and scrunch your curl into place with a diffused blow dryer. Once you do that, simply spritz your long hair style with an extra hold styling spritz.

If you have been blessed with poker straight tresses, you can achieve the same look with hot rollers or tube rollers. The trick to making this long hair style look natural is in the products that you use and how you use them. Be sure to use a good quality spritz and finishing spray. Use the finishing spray to spray your long hair before and after you roll it, and use the spritz to add shine and finish your style. By applying spritz to your long hair style and gently running your fingers through the curled locks, you can achieve a natural look with a lot of shine.Updos and long hair styleAn easy way to change your long hair style is to wear it up. No, I’m not talking a pony tail here girls. This may take a little creativity, but with a little practice you can have your long hair style swept up into an exotic style that only takes a few seconds to achieve. French twists are always a classic as are bun variations and pulled-through pony tails.Now that you have a few different ideas on how to change your long hair style, it’s time for you to practice. Good luck. And remember that the long hair style never needs to be boring or predictable when you have all of these options.

By: Michael Barrows

Angelina Jolie Hairstyle Oscar Awards 2012

Angelina Jolie Hairstyle Oscar Awards 2012 Hairstyle is the most prominant and imortant part of our look and presentation infront of others and being a celebrity the Celebrities Hairstyle become extra important for them to be focused and fulfilled in an appropriate manner as they are the Trends, Fashion and Style setters. People around the globe use to look for the current and most Updated Hairstyles for them …

9 Cute Ponytail Hairstyles For 2014

Easy ,smooth ponytails are bang on-trend this season.A ponytail is our ‘go-to’ style whenever we’re in a hurry ,our hair a little bit of dull or even we’re simply too lazy to consider other things to do with it ! Most of these are wonderful reasons why you should wear a pony ,but celebrities have …

Medium Wavy Hairstyles For Women

An Occasional wavy hairstyles for medium length hair is known like a free-flowing, smooth, comprehensive, with plenty of physique as well as easy-going. These types of hairstyles may vary from the shoulder height graduated tiers to weighty one length appearance, combined with untidy uniform layer cuts. Whenever waves are very natural or even just synthetic …

8 Hottest New Red Hair Color Ideas For 2014

Ever thought about coloring your hair red? Check out the mix of celebrities who are top redheads and our red hair color ideas for this season. From strawberry red to soft auburn,deep mahogany to rich color,there are many more red shades of hair than ever. We’ve found a wide range of gorgeous reds for a similarly …

Long Afro-American Black Men Hairstyle with Dreadlocks

Long Afro-American Black Men Hairstyle with Dreadlocks. Awesome and cool, this hairstyle is a typical Afro-American hairstyle which you can sport. Dreadlocks with a thick headband are the trademarks of this hairstyle. Cool and refreshing, your face is awesomely clear and refreshingly attractive with this hairstyle.