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

Home » ‘Lenovo Desktops

How to Get Long Healthy Hair – An Expert’s Tip

We spend a lot of time looking at our hair, touching it, tending to it: Choosing the most effective shampoo and conditioner.When we’re trying to grow our hair it can be an extremely frustrating process however. We gaze in the mirror everyday wishing for a miracle yet still our hair grows slower than a snail’s pace. It’s a nightmare!Washing, blow-drying, and styling it. Coloring it. Curling or straightening it. But that doesn’t necessarily mean our tresses are healthy.
A-list hair stylist Anthony Nader gives his insider tips for growing a long,thick mane.
“Treatments are the key for maintaining beautiful lush and healthy hair. Keep in mind there are various kinds of treatments on the market for different hair types, which always require the consumer to read instructions on timing and application.”

Healthy hair

Healthy hair tips and guide to growing long hair


People often don’t have a good hair routine.That’s why I’ve been doing my research and have found these forty methods which are said to make your hair grow faster and keep your hair healthy.Here goes -

Healthy hair tips
  1. Up Your Folic Acid Intake
  2. Stay Away From Heat
  3. Targeted Shampoos and Conditioners
  4. Get a Trim Every Six to Eight Weeks
  5. Egg White Mix
  6. Drink More Water
  7. Don’t Shampoo So Often
  8. Eat Lots of Protein
  9. Eat More Vitamin B
  10. Don’t Stress, Just Relax
  11. Scalp Massages
  12. Say No To Ponytails
  13. Don’t Brush Excessively
  14. Biotin Supplements
  15. Eat More Leafy Greens
  16. Use Coconut Oil
  17. Lay Off The Sugar
  18. Commit To Succeed
  19. Nut and Seed Snacks
  20. Hot Oil Massages
  21. Deep Conditions
  22. Use Essential Oils
  23. Potato Hair Masks
  24. Use Onion Water
  25. Exercise!
  26. Buy A Wide Toothed Comb
  27. Tie Your Hair Up
  28. Argon Oil
  29. Don’t Brush Wet Hair
  30. Aloe Vera, Egg, and Brandy Mix
  31. Avoid Silicone Based Hair Products
  32. Use Natural Hair Products
  33. Apple Cider Vinegar Rinse
  34. Never Condition Your Scalp
  35. Avoid Hair Products
  36. Protect Your Hair With Palm Oil
  37. Wear Hats and Scarves
  38. Eat Up
  39. Sleep With Loose Hair
  40. Use Silk Pillow Covers.

SHORT HAIRSTYLES WITH BANGS: HOT AND ATTRACTIVE

Short hairstyles with bangs are great choices for women who want to have hot, attractive looks. Short hairstyles with bangs give very contemporary looks to women as well as men. Short hairstyles 2013 are versatile and there are many styling options for short hairstyles. Even celebrities opt for short hairstyles to look attractive, bold and stylish.  …

Finger Wave Hairstyles

Finger wave hairstyles is a classic hairstyle popular in the 1920s and 1930s and in late 1990 in North America and Europe. Finger wave hairstyles have style ripple is undulation and made more difficult but it makes you look elegant as a princess. Finger wave hairstyles immensely popular due to celebrity such as Zelda Fitzgerald, Marilyn …

3 Braided Bangs Tutorials: Cute,Easy Hairstyles

There are many braided bangs hairstyles to select from to make lovely and easy hairstyles.I really like braids. They’re lovely, fun, sexy and easy.Braided bangs can be included to locks with any length.kind of like the best buddy you’ve always desired.Braided bangs make you more look elegant and friendly.This hair styles is easy but cute …

Demi Lovato Hairstyles

Demi Lovato Hairstyles  Demetria Devonne “Demi” Lovato is an American singer, songwriter, musician, and actress. She is a fantastic singer. Her music and performances are superb. Demi Lovato is a talented star. Demi Lovato females fans are found of her styles and makeup. I am also a grea fan of Demi Lovato. I like Demi …

5 Hottest Blonde Hair Color Ideas for Summer

Want to celebrate the summer with some gorgeous blonde hair color? This article will show and inspired you some super,fantastic celebrity summer blonde hair color ideas for celebrating the new season with a great hair style.Golden Blonde: Originally, two types of skin tones are the best for golden blonde shade. The first one is creamy …