|
ClubIran.Com
Mailing Address:
5850 Canoga Ave. Suite 400, Woodland Hills,
CA, USA 91367
Telephone: 1-818-710-3892
. Fax: 1-818-710-3891
For any inquries, Please fill out the form
include("/home/iranclub/yellowpages/modules/include/constants.php");
if ( $sent=="1") {
if ($name == "") { $error .=" Please enter your name"; }
if ($email == "") { $error .= " Please enter your e-mail address"; }
if (!ereg( '^[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+'. '@'. '[-!#$%&\'*+\\/0-9=?A-Z^_`a-z{|}~]+\.' . '[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+$', $email) ) {$error .= " A valid e-mail address is required";}
if ($subject == "") { $error .=" Please select a subject"; }
if ($address1 == "") { $error .=" Please enter your address"; }
if ($city == "") { $error .=" Please enter your city"; }
if ($state == "") { $error .=" Please enter your state"; }
if ($zip == "") { $error .=" Please enter your zip code"; }
if ($country == "") { $error .=" Please enter your country"; }
if ($phone == "") { $error .=" Please enter your telephone number"; }
if ($message == "") { $error .=" Please enter a message"; }
if ($error) {
print "The following errors were found:\n";
print "\n";
}
if (!$error) {
$fp = fopen ("/home/iranclub/contact.txt","a+");
fwrite ($fp,"$email\n");
fclose ($fp);
mail($subject, $subject,
"name: $name , email : $email \n
phone: $phone \n
address 1: $address1\n
address 2: $adrress2\n
city: $city \n
state: $state, zip: $zip\n
country : $country\n
message: $message", "From: $email");
print " Message Sent ! " ;
}
}
?>
|
Auto
Buy, sell,
Art
& Craft
Painting, hand craft,
Books
& Publication
Farsi, English
Computer
Sales, Service
Carpet
& Rug
New, Old, Repair
Dentists
Family, Cosmetics
Entertainment
Tickets, Reservation
Fashion
& Apparel
Clothing, Cosmetics
Food
& Catering
Product,Services
Gift
& Flower
Tips, Design, Delivery
Kids
& Toys
Clothing, Toys, Games
Music
& Video
CD's, Cassettes
Personal
Finance
Research, Plan, Invest
Restaurants
Foods
Travel
Tickets, Reservations |