$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(); } } ?> Annuity Xt Xing Technologies | HAIRSTYLE GALLERY

Home » ‘Annuity Xt Xing Technologies

Trendy Haircuts for Women

http://4.bp.blogspot.com/-M3NWFb4-EtM/TaBYaKhTQZI/AAAAAAAAAIE/WFzdDCqaDQ4/s400/Trendy+hairstyles+for+women.jpg 
http://1.bp.blogspot.com/_NJgZn0NJcDQ/TEwJiXGZNNI/AAAAAAAAAMI/6r3ik2c3WQQ/s1600/Short%25252525252Band%25252525252Bmedium%25252525252Bhot%25252525252Blayered%25252525252Bhairstyles%25252525252B20101.jpg 
http://media3.onsugar.com/files/2011/05/21/3/1712/17129322/3e/2010_Short_Trendy_Haircuts_For_Women2.jpg 
Women have many choices for short haircuts,you can also improve your personality through short haircuts for Women.Trendy haircuts for women are great during summer season when you do not have to worry about tying your hair,and you do not require thinking about maintaining but also in winter it is a good idea. Trendy haircuts for women look especially good for women with thick hair.

Go Gala with Fringe Bang Hairstyles

If the wonderful seems to be of Jennifer Anniston with her clip in fringe bangs mesmerized you, then you also can get that model accomplished with your hair and add a special softness to your hairstyle. Fringe bangs are one amid the immensely popular bang hairstyles for that subtle glimpse. Frequently lower nicely past the …

Ashlee Simpson hairstyles 2012

Ashlee Simpson hairstyles 2012 are popular and inspiring for many women across the world. Her hairstyles and appearances have been changing for last few years. In the beginning of her career she had short brown hair with various hairstyles. But with the time she opted for short haircuts with smooth and messy look. If you …

The Leading Men of Curly Manes

Weeks ago we discussed about the trending hairstyles of 2014 for men. Men with curly hair definitely deserve some attention too because of the wide range of styles they can try out although they might always find it a big hassle to maintain it. Curly manes actually retains a man’s boyish side even as he …

Shaggy Dreadlocks Black Men Hairstyle with Tinge of Blonde

Shaggy Dreadlocks Black Men Hairstyle with Tinge of Blonde Color 2014. This hairstyle is very basic and natural. It has long locks of curly hair with tinge of blonde to create contrast. The effect is cool and tribal and definitely natural. This hairstyle is applicable for those with natural kinky hair.

Long Hair and Updo Hairstyles

You have long hair and you are ready for an updo or “long hair” service and you go to a full service salon and what – they don’t offer “long hair” service. Guess its not so full service after all. So you go to another beautician and they don’t know what to do either. Why …