Location: PHPKode > projects > Esvon Personals > esvon-personals/modules/Form_to_Email/addons/blocks/block-Form_to_Email.php
<?php

// --------------------------------------------------------------------------
//
// Esvon Classifieds v.4.0
// Copyright(C), Esvon LTD, 2001-2010, All Rights Reserved.
// E-mail: hide@address.com
//
// All forms of reproduction, including, but not limited to, internet posting, 
// printing, e-mailing, faxing and recording are strictly prohibited.
// One license required per site running Esvon Classifieds. 
// To obtain a license for using Esvon Classifieds, please register at
// http://www.esvon.com/pg/products/p_classifieds/
//
// --------------------------------------------------------------------------

function block_Form_to_Email(&$tpl, $args = ''){

  $tpl_v = array();
  if($args['extra_fields']){
    $a_f = explode('/',$args['extra_fields']);
    foreach($a_f as $fid){ 
      $tpl_v[$fid] = $_POST[$fid]!='' ? html_esc($_POST[$fid]) : '';
    }
  }

  $tpl->AddCell('b_Form_to_Email', $tpl_v);
}

?>
Return current item: Esvon Personals