0) { $n = '1'; } else { $try = '* please enter your name'; } if(strlen($_POST['emaila'])>0) { $e = '1'; } else { $try1 = '* please enter your e-mail address'; } if (ereg("^[a-zA_Z0-9_]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-\.]+$", $_POST['emaila'])) { $e1 = '1'; } else { $try1a = '* please enter your email address correctly'; } if(strlen($_POST['subjecta'])>0) { $s = '1'; } else { $try2 = '* please enter a subject'; } if(strlen($_POST['commentsa'])>0) { $c = '1'; } else { $try3 = '* please enter any comment(s) you might have'; } } if( $n == '1' && $e == '1' && $e1 == '1' && $s == '1' && $c == '1') { $string = ''.$_POST['commentsa'].''; $string = str_replace("", "
<--Javascript code section end-->", $string); $string = str_replace("
", $string); $string = str_replace("?>", "
<--PHP code section end-->", $string); $string = str_replace("\n", "
", $string); $name = $_POST['namea']; $usermail = $_POST['emaila']; $usersubj = $_POST['subjecta']; $usercom = ''.$string.''; $emailto = ''.$eaddress.''; $subj = $_POST['subjecta']; $mesg = 'The Following was submitted from
'.$title2.'

Comments:
'.$usercom.'
'."\n"; mail($emailto, $subj, $mesg, 'From: '.$_POST['emaila'].''."\r\n".'Content-Type: text/html; charset=iso-8859-1\n Content-Transfer-Encoding: 8bit\n')or die('mail not sent'); header('Location: '.$relocate.''); } ?> <? echo ''.$title.''; ?> '; ?>
Home About AFMA IRR Ouputs Site Links Contact Us
CONTACT US FORM
Name:
Comment:
Email Address:
 

AFMA COMPONENTS

Irrigation

Postharvest Facilities

Other Infrastructure (FMRs)

Other Infrastructure (excluding FMRs)

Research & Development

Farmers-Fisherfolk Marketing Assistance System

Agro-Industry Modernization Credit and Financing Program (AMCFP)

Capability Building of Farmers & Fisherfolk Organizations & LGUs

NAFES; and Basic Needs Program Implementation

Rural Non-Farm Employment Training; and Salary Supplement of Extension Workers Under the LGUs

National Information Network

SAFDZ

Product Standardization and Consumer Safety

Home | About AFMA | IRR Outputs | Site Links | Contact Us
Agricultural and Fisheries Modernization Act © 2004