forked from SnowHall/Silurus-Classifieds-Script
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathap_tell.php
More file actions
executable file
·33 lines (30 loc) · 1.01 KB
/
ap_tell.php
File metadata and controls
executable file
·33 lines (30 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
/**
* Silurus Classifieds Builder
*
*
* @author SnowHall - http://snowhall.com
* @website http://snowhall.com/silurus
* @email support@snowhall.com
*
* @version 1.0
* @date May 7, 2009
*
* Silurus is a professionally developed PHP Classifieds script that was built for you.
* Whether you are running classifieds for autos, motorcycles, bicycles, rv's, guns,
* horses, or general merchandise, our product is the right package for you.
* It has template system and no limit to usage with free for any changes.
*
* Copyright (c) 2009
*/
if(isset($_POST['tellgo']))
{
if(trim($_REQUEST['tell_name']) != '')
{
$emails = explode(",",$_REQUEST['tell_name']);
foreach ($emails as $email)
sendMail(trim($email),trim($email),$_REQUEST['tell_subj'], '<b>'.$_SESSION['memberINFO']['fname'].' '.$_SESSION['memberINFO']['lname'].' wrote to you:</b><br><br>'.nl2br($_REQUEST['tell_text']));
}
header("location: ".($contact_type==1?'/product.php?ID='.$book['ID']:'/wproduct.php?ID='.$book['ID']));
}
?>