<<<<Restricted Area>>>>" . "
Sorry, you must Log In to view this Page

"); exit(); } $usrn = $_GET['usrn']; if($usrn == ""){ $usrn = $_POST['usrn']; } if($usrn == ""){ echo("

<<<<Restricted Area>>>>" . "
Problem with your username. Please Log In again.

"); exit(); } $bordy = 6; $MID = $_POST['MID']; $dbcnx = @mysql_connect('mysql.plainhost.com', 'ecosmar_ecosmart', 'ecoman1'); mysql_select_db('ecosmar_friendly', $dbcnx); $checkit = mysql_query("SELECT subject,greeting,message,link_ex,link,closing,listit,leftit,dtnum from ml_temp WHERE ID='$MID'"); if(!$checkit){ echo("

Could Not Retrieve Message Info".mysql_error()."

"); exit(); }else{ $numrows = mysql_num_rows($checkit); if($numrows < 1){ echo("

Problem with Message. Message Not Found.
Go Back

"); exit(); }else{ $row = mysql_fetch_array($checkit); $subject = $row['subject']; $greeting = $row['greeting']; $message = $row['message']; $messo = nl2br($message); $link_ex = $row['link_ex']; $link = $row['link']; $closing = $row['closing']; $listit = $row['listit']; $leftit = $row['leftit']; $listoa = explode(':', $leftit); $lista = array_slice($listoa, 1); $leftcount = count($lista); $dtnum = $row['dtnum']; $chunk_dtnum = chunk_split($dtnum, 2, ':'); $chunk_arrd = explode(":", $chunk_dtnum); $datus = $chunk_arrd[2].'/'.$chunk_arrd[3].'/'.$chunk_arrd[0].$chunk_arrd[1]; } } if($leftcount > 30){ $warn = 'on'; $tonot = "Too many recipients.
TO list has been shortened to the next 30.

"; $listleft = array_slice($lista, 30); $lista = array_slice($lista, 0, 30); } if($leftcount < 1){ $warn = 'on'; $tonot = "No further recipients."; $bordy = 1; } ?>
Click Here to Return

Eco-$mart Mail-room
Email to Eco-$mart Contacts

 Repeat Email   Help 
"); }elseif($bordy == 1){ echo(""); } ?>
From: Eco-$mart, Inc. <info@eco-smart.com>
Date:
Subject:
Greeting:  Recipient’s Name,
Message:
Link Comment:
Link URL:
Closing: ,
  Matt Ross, President
Eco-$mart, Inc.
www.eco-smart.com
info@eco-smart.com
1-888-329-2705
SEND TO:
$listb[0] $listb[1]
$listb[2]
"); } foreach($listleft as $value){ echo(""); } $listoer = explode(':', $listit); $lister = array_slice($listoer, 1); $sentcount = count($lister); ?>

Previously Sent to  Recipients
Last Sent: 

" . "" . "" . "" . "" . "" . "
" . "
" . "" . "" . "" . "" . "
" . "
 Return to Your Page 
Eco-$mart Products
©2007 - Data Base Interface - Custom Built at:  kwgrubbs.com