'',"user_f_name"=>'',"user_l_name"=>''); $fldArray1 = array("user_id"=>1); $orderArray1=array(); $orderType1=''; $extra=''; $arr1=dataSelect($table1,$dataArray1,$fldArray1,$extra,$orderArray1,$orderType1); $admin_name=$arr1['user_f_name']; $admin_email=$arr1['user_email']; $tolist=dataPrepare($_REQUEST['hChoice']); $newsletters_id=dataPrepare($_REQUEST['id']); $table=TABLE_NEWSLETTER; $dataArray = array("*" => ''); $fldArray = array("newsletters_id" => $newsletters_id); $orderArray=array(); $orderType=''; $arr=dataSelect($table,$dataArray,$fldArray,$extra="",$orderArray,$orderType); $newsletters_title=$arr[0]['newsletters_title']; $newsletters_desc=stripslashes(addslashes($arr[0]['newsletters_desc'])); $table1=TABLE_USER_MAIN; $dataArray1 = array("*"=>''); $fldArray1 = array("user_id"=>'1'); $orderArray1=array(); $orderType1=''; $extra=''; $arr1=dataSelect($table1,$dataArray1,$fldArray1,$extra,$orderArray1,$orderType1); $first_name = $arr1[0]['user_f_name']; $last_name = $arr1[0]['user_l_name']; $name_to = $first_name.' '.$last_name; $email_to = $arr1[0]['user_email']; $fromArray=array("0"=>$name_to,"1"=>$email_to); $mail_list=explode(",",$tolist); for($i=0;$ihere'; $message=base64_encode($newsletters_desc.$msg2); $name = "Omnipath Subscriber"; $email_id = $to; $toArray=array("0"=>$name,"1"=>$email_id); $subject=dataPrepare($newsletters_title); $mailBody=base64_decode(trim($message)); SendMailCommon($toArray,$fromArray,$subject,$mailBody); } reDirect("show_newsletters.php"); } if(isset($_REQUEST['id'])){ $id=$_REQUEST['id']; }else{ reDirect('show_newsletters.php'); } $table=TABLE_NEWSLETTER; $dataArray = array("*" => ''); $fldArray = array("newsletters_id" => $id); $orderArray=array(); $orderType=''; $arr=dataSelect($table,$dataArray,$fldArray,$extra="",$orderArray,$orderType); $newsletters_title=$arr[0]['newsletters_title']; $newsletters_desc=$arr[0]['newsletters_desc']; $newsletters_status=$arr[0]['newsletters_status']; if($newsletters_status!='Active'){ reDirect('show_newsletters.php'); } ?>
Send Newsletter
Subscribers
Subscribers   Send To


Check All | Uncheck All   Check All | Uncheck All
Newsletter Details