Source for file mail_actions.php
Documentation is available at mail_actions.php
* @package linea21.modules
* @subpackage yellowpages
* @author linea21 <info@linea21.com>
* @license http://opensource.org/licenses/gpl-3.0.html
//////////// Check Inclusion de pages ////////////
include_once("../lib/lib_common.php");
$result= $sql_object->DBSelect($req_det);
$email_html_body= _t('yp','mail_entete'). "<br />";
$email_html_body.= "<dl>\n";
$email_html_body.= "<dt>". _t('yp','theme'). ": </dt>\n";
$email_html_body.= "<dd>". formatText($result[0]['theme_name']). "</dd>\n";
$email_html_body.= "<dt>". _t('yp','name2'). ": </dt>\n";
$email_html_body.= "<dd>". formatText($result[0]['yellowp_name']). "</dd>\n";
$email_html_body.= "<dt>". _t('yp','activity'). ": </dt>\n";
$email_html_body.= "<dd>". formatText($result[0]['yellowp_activity']). "</dd>\n";
$email_html_body.= "<dt>". _t('yp','street'). ": </dt>\n";
$email_html_body.= "<dd>". formatText($result[0]['yellowp_street']). "</dd>\n";
$email_html_body.= "<dt>". _t('yp','postal_code'). ": </dt>\n";
$email_html_body.= "<dd>". formatText($result[0]['yellowp_postal_code']). "</dd>\n";
$email_html_body.= "<dt>". _t('yp','city'). ": </dt>\n";
$email_html_body.= "<dd>". formatText($result[0]['yellowp_city']). "</dd>\n";
//$email_html_body.="<dt>"._t('yp','country').": </dt>\n";
//$email_html_body.="<dd>".formatText($result[0]['yellowp_country'])."</dd>\n";
$email_html_body.= "<dt>". _t('yp','phone'). ": </dt>\n";
$email_html_body.= "<dd>". formatText($result[0]['yellowp_phone']). "</dd>\n";
$email_html_body.= "<dt>". _t('yp','fax'). ": </dt>\n";
$email_html_body.= "<dd>". formatText($result[0]['yellowp_fax']). "</dd>\n";
$email_html_body.= "<dt>". _t('yp','email'). ": </dt>\n";
$email_html_body.= "<dd>". formatText($result[0]['yellowp_email']). "</dd>\n";
$email_html_body.= "<dt>". _t('yp','website'). ": </dt>\n";
$email_html_body.= "<dd>". formatText($result[0]['yellowp_website']). "</dd>\n";
$email_html_body.= "<dt>". _t('divers','date_crea'). ": </dt>\n";
$email_html_body.= "<dd>". $result[0]['yellowp_date_crea']. "</dd>\n";
$email_html_body.= "<dt>". _t('divers','statut'). ": </dt>\n";
$email_html_body.= "<dd>". display_statut($result[0]['yellowp_statut']). "</dd></dl>\n";
$email_html_body.= "<br />". _t('yp','mail_body1'). ": <a href=\"". SITE_ROOT_URL. 'public/'. "\">". SITE_NAME. "</a><br />";
$email_html_body.= _t('yp','mail_bottom'). ": <a href=\"mailto:". SITE_MAIL. "\">". SITE_MAIL. "</a><br />\n";
$email_text_body= _t('yp','mail_entete'). "\n";
$email_text_body.= _t('yp','theme'). ": ". formatText($result[0]['theme_name']). "\n";
$email_text_body.= _t('yp','name2'). ": ". formatText($result[0]['yellowp_name']). "\n";
$email_text_body.= _t('yp','activity'). ": ". formatText($result[0]['yellowp_activity']). "\n";
$email_text_body.= _t('yp','street'). ": ". formatText($result[0]['yellowp_street']). "\n";
$email_text_body.= _t('yp','postal_code'). ": ". formatText($result[0]['yellowp_postal_code']). "\n";
$email_text_body.= _t('yp','city'). ": ". formatText($result[0]['yellowp_city']). "\n";
$email_text_body.= _t('yp','country'). ": ". formatText($result[0]['yellowp_country']). "\n";
$email_text_body.= _t('yp','phone'). ": ". formatText($result[0]['yellowp_phone']). "\n";
$email_text_body.= _t('yp','fax'). ": ". formatText($result[0]['yellowp_fax']). "\n";
$email_text_body.= _t('yp','email'). ": ". formatText($result[0]['yellowp_email']). "\n";
$email_text_body.= _t('yp','website'). ": ". formatText($result[0]['yellowp_website']). "\n";
$email_text_body.= _t('divers','date_crea'). ": ". $result[0]['yellowp_date_crea']. "\n";
$email_text_body.= _t('divers','statut'). ": ". display_statut($result[0]['yellowp_statut']). "\n";
$email_text_body.= _t('yp','mail_body1'). SITE_ROOT_URL. 'public/'. "\n";
$email_text_body.= _t('yp','mail_bottom'). SITE_MAIL. "\n";
$email_subject = _t('yp','confirm_subscription') . ' ' . SITE_NAME;
$email_dest = $result[0]['yellowp_email'];
|