Back to top
$this_attachments = array(); if ( $email_params->get("enable_attachments", "1") == "1" ) { $MyUploads =& CFUploads::getInstance($MyForm->formrow->id); $this_attachments = $MyUploads->attachments; }else{ $this_attachments = array(); }
$this_attachments = array(); if ( $email_params->get("enable_attachments", "1") == "1" ) { if (substr_count($MyForm->formparams('plugins'),'cf_email_verification')) { $uploadpath = $MyForm->formparams('uploadpath', JPATH_SITE.DS.'components'.DS.'com_chronocontact'.DS.'uploads'.DS.$MyForm->formrow->name.DS); $query = "SELECT `allegato` FROM `#__chronoforms_".$MyForm->formrow->name."` WHERE `uid` = '".JRequest::getVar('uid')."'"; $database->setQuery( $query ); $all=$database->loadRow(); $allegato=trim($all[0]); $this_attachments[0] = $uploadpath.$allegato; }else{ $MyUploads =& CFUploads::getInstance($MyForm->formrow->id); $this_attachments = $MyUploads->attachments; } }else{ $this_attachments = array(); }
Copyleft: Tutto il materiale pubblicato o comunque presente all'interno del sito www.joomla.it può essere utilizzato, diffuso e modificato liberamente. Hosting fornito gratuitamente da Joomlahost.it Disegno web da kreatif multimedia srl