get( 'contactform', 'contactform' ) as $key=>$detail) { if ($detail['req']=='required'&&$form[$key]=='') $error.='Field '.$detail['ttl']." is required
"; if ($detail['regex']!=''&&!eregi(stripslashes($detail['regex']),$form[$key])) { $error.='Field '.$detail['ttl']." is not valid
"; } $msg.=$detail['ttl'].": ".$form[$key]."\r\n"; } $from=($SMTheme->get( 'general','sitename' ))?$SMTheme->get( 'general','sitename' ):get_bloginfo('name'); if ($error=='') { wp_mail($SMTheme->get( 'contactform', 'email' ), 'Message from '.$from, $msg); $error=$SMTheme->_( 'emailok' ); $errorcode='green'; } } ?> get( 'contactform','address' ) != '' ) {?>
".$error."

":''?> get( 'contactform', 'email' )) { ?>

_( 'feedbackttl' ); ?>

_( 'feedbackbefore' ); ?> get( 'contactform', 'contactform' ) as $key=>$detail) { switch ($detail['type']) { case 'text': ?>

:

/>

:

' />
get( 'contactform','detailttl' ) != '') {?>

get( 'contactform','detailttl' )?>

get( 'contactform','text' )) { ?>
get( 'contactform','text' )?>
get( 'contactform', 'details' ); if (!empty($details)) { ?>