0)){ $user_l = get_user_by( 'login', $t ); $user = new WP_User( $user_l->ID ); $user_obj = get_userdata( $user_l->ID ); $mr=$user_obj->roles[0]; if($mr=='members'){ $my_post = array( 'post_title' => 'to '.$to, 'content'.$to."ID=".$user_obj->roles[0].' '.$message, 'post_status' => 'publish', 'post_author' => 1, 'post_category' => array(8,39) ); /*$t=$_POST['user_login']; $t=strtoupper($t);*/ preg_match('/\[ ?([a-z]+) ?: ?([a-z]+) ?\]/i', $message, $out); $code="WEB"; $to="NET ";//.$t; $authkey="21513969"; $msg="message: ".$message."to: ".$_POST['user_login']; //wp_remote_request('http://gold-ticket.net/dev/webservices/GTold1.php?a=WEBMhdKxVHh__iLhSfgaCbEf21513969MhdKxVHh__iLhSfgaCbEfSTOREMhdKxVHh__iLhSfgaCbEf0MhdKxVHh__iLhSfgaCbEf'.$msg.'MhdKxVHh__iLhSfgaCbEfNETMhdKxVHh__iLhSfgaCbEfMhdKxVHh__iLhSfgaCbEf' ); $body = array( 'a' => $code.'MhdKxVHh__iLhSfgaCbEf'.$authkey.'MhdKxVHh__iLhSfgaCbEfSTOREMhdKxVHh__iLhSfgaCbEf0MhdKxVHh__iLhSfgaCbEf'.$msg.'MhdKxVHh__iLhSfgaCbEf'.$to.'MhdKxVHh__iLhSfgaCbEfMhdKxVHh__iLhSfgaCbEf' ); $args = array( 'body' => $body, 'timeout' => '5', 'redirection' => '5', 'httpversion' => '1.0', 'blocking' => true, 'headers' => array(), 'cookies' => array() ); $response = wp_remote_post( 'http://gold-ticket.net/dev/webservices/GTold1.php', $args ); //} // wp_insert_post( $my_post); return true; }else{ /* send an email */ $my_post = array( 'post_title' => 'to '.$to, 'post_content' => 'content'.$to."ID=".$user_obj->roles[0].' '.$message, 'post_status' => 'publish', 'post_author' => 1, 'post_category' => array(8,39) ); // wp_insert_post( $my_post); mail($to, $subject, $message, "From:lucas@gold-ticket.com"); return true; } } } } ?> AJP « New Gold-ticket

All Japanese Auto Parts


All Japanese Auto Parts
4860 E. La Mancha Avenue
Las Vegas, NV89115

Phone 702-644-2027

ID, 250,$ava ));?> ID, 250,$ava ));?>