Send E-Mail to

"; if($_GET[artworkid]) { $_GET[artworkid] = IntVal($_GET[artworkid]); $query = "SELECT * FROM artwork WHERE id = '$_GET[artworkid]'"; $result = mysql_query($query); $num = mysql_numrows($result); if($num > 0) { $row = mysql_fetch_array($result, MYSQL_ASSOC); $dateaccurate = date('m/d/Y',$row[timestamp]); $_SESSION[sendemail][subject] = ucwords($_GET[type]).' Artwork - '.$row[artworkname]; } } if($_GET[status] == 'yes') { echo"

The $_GET[type] of \"$row[artworkname]\" was listed as \"for sale\" by $to on $dateaccurate.   Please note, \"$row[artworkname]\" may have been sold between then and now.   The form, below, will send an e-mail directly to $to.

"; } if($_GET[status] == 'no') { echo"

The $_GET[type] of \"$row[artworkname]\" was listed as \"not for sale\" by $to on $dateaccurate.   If you would like to contact $to regarding this artwork or other artwork, the form below will send an e-mail directly to $to.

"; } if($_GET[status] == 'sold') { echo"

The $_GET[type] of \"$row[artworkname]\" was listed as \"sold\" by $to on $dateaccurate.   If you would like to contact $to regarding this artwork or other artwork, the form below will send an e-mail directly to $to.

"; } echo"
"; } ?>

Your Name

Your E-Mail Address

Subject

Message

Security Code

Please enter the code on the right into the textbox.

Send E-Mail to