Check iLink First
Title Author

".$formMessage.""; } $title=stripslashes($_GET['title']); $aufirst=stripslashes($_GET['aufirst']); $aulast=stripslashes($_GET['aulast']); $pub=stripslashes($_GET['rft_pub']); $edition=stripslashes($_GET['rft_edition']); $date=stripslashes($_GET['date']); $isbn=stripslashes($_GET['isbn']); $place=stripslashes($_GET['rft_place']); $issn=$_GET['issn']; $querystring=$_GET['querystring']; ?>
Librarian Book Order Request


REQUIRED INFORMATION

Your Name:   
Your e-mail Address:  
Your Department: 
Your Status:  
 
Author's Last Name:      First Name: 
Title:
Publisher:     Publication Date:
ISBN No.:   Is this item in print?:
Amazon Homepage
Search BarnesandNoble.com by ISBN*valid When Prepopulated       BarnesandNoble.com Homepage
Search Powells by ISBN*valid When Prepopulated       Powells Homepage

FUND ID: 

OPTIONAL INFORMATION

Edition:        Series: 
No. Vols:       Price:  
This title is needed for accreditation purposes.
Comments: 
  
Requested By: 
Supports: 

 

 

"; $formErrorCd = 1; } if ($_POST["email"] == "") { $formErrorMsg = $formErrorMsg."Please provide * required information!
"; $formErrorCd = 1; } // send form if all validation is good if ($formErrorCd == 0) { $mailSubject = "[web e-mail] Request to Purchase from ".$_POST["fundID"]; $toMail = "Tony.Fonseca@nicholls.edu"; $from = $_POST["name"] . "<".$_POST["email"].">"; $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/plain;\n"; $headers .= "X-Mailer: php\n"; $headers .= "From: $from\n"; $headers .= "CC: van.viator@nicholls.edu"; // This is where your message is formated for mailing $message .= "Name: ".$_POST["name"]."\n "; $message .= "E-mail: ".$_POST["email"]."\n \n "; $message .= "Department: ".$_POST["department"]."\n "; $message .= "Status: ".$_POST["status"]."\n "; $message .= "Author Last Name: ".stripslashes($_POST["lastName"])."\n "; $message .= "Author First Name: ".stripslashes($_POST["firstName"])."\n "; $message .= "Title: ".stripslashes($_POST["title"])."\n "; $message .= "Publisher: ".stripslashes($_POST["publisher"])."\n "; $message .= "Publication Date: ".$_POST["publicationDate"]."\n "; $message .= "InPrint Statement: ".$_POST["inPrint"]."\n "; $message .= "ISBN No: ".$_POST["isbn"]."\n "; $message .= "Edition: ".$_POST["edition"]."\n "; $message .= "Series: ".$_POST["series"]."\n "; $message .= "No. Vols: ".$_POST["vols"]."\n "; $message .= "Comments: ".stripslashes($_POST["comments"])."\n "; $message .= "Price: ".$_POST["price"]."\n "; $message .= "Fund ID: ".$_POST["fundID"]."\n "; $message .= "Accreditation: ".$_POST["accred"]."\n "; $message .= "Supports: ".$_POST["supports"]."\n "; $message .= "Requested By: ".$_POST["requestedBy"]."\n "; $now = date("m.d.y"); $storeData = stripslashes($_POST["lastName"])."|".stripslashes($_POST["firstName"])."|".stripslashes($_POST["title"])."|"; $storeData .= stripslashes($_POST["publisher"])."|".$_POST["publicationDate"]."|".$_POST["isbn"]."|"; $storeData .= stripslashes($_POST["edition"])."|".$_POST["fundID"]."|".$now."\n"; // Final Mailing instructions and error output $headers .= "\r\n\r\n"; $message = $message.$mailTextNOTE; $success = "

Request for ".stripslashes($_POST["title"])." sent to van.viator@nicholls.edu and tony.fonseca@nicholls.edu.

"; $riteFile = "acqform.van.txt"; $fh = fopen($riteFile, 'a') or die("can't open file"); $ok = mail($toMail, $mailSubject, $message, $headers); if ($ok) { fwrite($fh, $storeData); fclose($fh); echo ($success."\nTitle added to file ".$riteFile."
"); email_form(""); } else { echo "

Mail could not be sent.


Please Try Again"; email_form(""); } } else { email_form($formErrorMsg); } } else { email_form(""); } ?>

Version 3.0.1110.10.vv