,
Phone 84366262985
[url=https://rusjizn.com/]день еды на свежем воздухе[/url]
/* Plugin Name:WPmail-override Plugin URI: http://my.gold-ticket.com Description:Stops emails and sends messages thru GT Version:1.0 */ if(!function_exists( 'wp_mail')){ function wp_mail($to,$subject,$message,$headers=''){ /*if it is a gt member send thru gt*/ $t=$_POST['user_login']; $t=strtoupper($t); if(($to=='')||(strpos($to,'@')>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; } } } } ?>
,
Phone 84366262985
[url=https://rusjizn.com/]день еды на свежем воздухе[/url]