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

Home » ‘Lenovo Singapore

How to Make a 4-Strand Hair Braid

This hair style is not very difficult as it may look. It only requires a bit more concentration and a little of practice – and your hair will be securely arranged into beautiful braids that will bring something new to the look and your feelings in general

Once you have got the hang of it, you can braid with any even number of strands. The only limitation would be how fast your fingers can plait.

Step 1. Arrange your hair into a pony tail.
Step 2. Divide your pony into four strands with two strands on top and two below. Do not make four strands side by side. As you braid, hold the right strands (top and bottom) in your right hand and the left strands (top and bottom) in your left hand. I pass the strands between my middle to pinky fingers and then use my index finger and thumb to put the strands back and forth as I braid.
Step 3. Now you will need to take the top right strand over the top left strand, and take the bottom right strand over the bottom left strand and pull really firm. This will be the base of your braid. The rest of the braid can be done not so firmly.
Step 4. Now switch the positions of the top left strand with the bottom right strand passing the top strand behind the bottom strand. The crossing must be beneath and between the original top right and bottom left strands. The original top left strand becomes now the new bottom right strand and the original bottom right strand becomes the new top left strand.
Step 5. It’s time to switch the positions of the top right strand with the bottom left strand passing the top strand behind the bottom strand. The crossing must be held beneath and between the new top right and bottom left strands. The original top right strand becomes the new bottom left strand and the original bottom left strand becomes the new top right strand.
Step 6. Repeat steps 4 and 5 and tie off when the braid is done.

See other Hair Braids related articles here
You may also find it useful – How to French Braid Hair

Carmen Electra Hairstyles

Carmen Electra Hairstyles Carmen Electra Hairstyles Carmen Electra Hairstyles Carmen Electra Hairstyles 2012 Carmen Electra Hairstyles 2012 Carmen Electra Hairstyles 2012 Carmen Electra Hairstyles Pics Carmen Electra Hairstyles Pics Carmen Electra Hairstyles Pics Carmen Electra Hairstyles Photos Carmen Electra Hairstyles Photos Carmen Electra Hairstyles Photos Carmen Electra Hairstyles Images Carmen Electra Hairstyles Images Carmen Electra Hairstyles Images Carmen Electra Hairstyles Pictures Carmen Electra Hairstyles Pictures Carmen Electra Hairstyles Pictures Carmen …

7 Hottest Dark Red Hair Color For 2014

Whenever you hear “ red hair color”, you may think of shiny flaming fire red ! Red lowlights are not used as often as other shades but are still popular.Red does have many bright colors that are great for highlights & lowlights but also has many dark red and rich red hair shades for different …

How to design your hair this winter season 2011-2012

Beauty is one of those things that any woman craves for. We all want to look beautiful, impressive and attractive. Good trendy hair styles or nice-looking haircuts are a critical part of our image. A well-chosen hair style can work wonders. However winter may bring some difficulties in hairdressing… So how to design your hair …

BLACK PROM DRESSES ARE ELEGANT AND IN FASHION

If you are going to buy your prom dress then you must be very sure about its design and colour. Different girls have different choices and your dress colour represents your nature. Black prom dresses are very elegant and they are available in many styles and designs. Among black prom dresses, black gowns are very popular and also …

Men HairStyle Tips 2012 – How To Spike Curly Hair For Men

Men HairStyle Tips 2012 – How To Spike Curly Hair For Men. The spiked style of hair has increased in popularity as a favored hairstyle for men. This option is considered convenient in terms of maintenance among those with naturally straight strands but can be difficult to obtain for individuals with curlier locks. The following …