$av->setEconomicUnitLongitude(fRequest::encode('longitude', 'string'));
$av->setEconomicUnitDescription(fRequest::encode('description', 'string'));
$av->setEconomicUnitStreetName(fRequest::encode('street', 'string'));
$av->setEconomicUnitLocationNumber(fRequest::encode('number', 'string'));
$av->setEconomicUnitReserve(fRequest::encode('reserve', 'string'));
$av->setEconomicUnitPhone(fRequest::encode('phone', 'string'));
$av->setEconomicUnitCellphone(fRequest::encode('cellphone', 'string'));
$av->setEconomicUnitEmail(fRequest::encode('email', 'string'));
$av->setEconomicUnitCreditCard(fRequest::encode('credit_card', 'string'));
$av->setEconomicUnitFacebookPage(fRequest::encode('fb', 'string'));
$av->setEconomicUnitTwitter(fRequest::encode('tw', 'string'));
$av->setActive(fRequest::encode('status', 'integer'));
$av->setVerified(fRequest::encode('verified', 'integer'));
try {
    $av->store();
    $lastId = $av->getEconomicUnitId();
} catch (Exception $e) {
    exit("Ha ocurrido un error." . $e->getMessage());
}
$id_cat = fRequest::encode('cat', 'array');
$total_cat = count($id_cat);
for ($i = 0; $i < $total_cat; $i++) {
    $ts = new EconomicUnitHasCategory();
    $ts->setEconomic_units_economic_unit_id($lastId);
    $ts->setEconomic_unit_categories_economic_unit_category_id($id_cat[$i]);
    $ts->store();
}
/* Add Videos From External Server */
$videos = fRequest::encode('video');
$descrip = fRequest::encode('descrip2');
if (!empty($videos[0])) {