mbox = email
fqdn = PLATAL_DOMAIN
if ( fqdn == PLATAL_DOMAIN ) or ( fqdn == PLATAL_DOMAIN2 ):
- res = mysql_fetchone("""SELECT CONCAT(f.alias, '@%s'), a.full_name
+ res = mysql_fetchone("""SELECT CONCAT(s1.email, '@%s'), a.full_name
FROM accounts AS a
INNER JOIN email_source_account AS s1 ON (a.uid = s1.uid AND s1.type = 'forlife')
INNER JOIN email_source_account AS s2 ON (a.uid = s2.uid AND s2.email = '%s')
if (count($foreign) > 0) {
$sub = $uf->addEmailRedirectFilter($foreign);
- $cond[] = XDB::format('ra' . $sub . '.redirect IS NOT NULL OR ra.redirect IN {?}', $foreign);
+ $cond[] = XDB::format('ra' . $sub . '.redirect IS NOT NULL OR ra' . $sub . '.redirect IN {?}', $foreign);
}
if (count($local) > 0) {
$sub = $uf->addAliasFilter($local);
$topay = $u['montant'] - $u['paid'];
if ($topay > 0) {
$mailer = new PlMailer('xnetevents/newpayment.mail.tpl');
- $mail->addTo($u['user']);
+ $mailer->addTo($u['user']);
$mailer->assign('asso', $nom);
$mailer->assign('diminutif', $diminutif);
$mailer->assign('evt', $evt);
ksort($membres);
foreach($membres as &$membre) {
- uksort($membre, strcasecmp);
+ uksort($membre, 'strcasecmp');
}
return $membres;
}
<br />
<input type="submit" name="preview" value="Aperçu" onclick="previewWiki('msg_{$valid->id()}', 'preview_{$valid->id()}', true, 'preview_{$valid->id()}'); return false;" /><br />
<strong>Site :</strong> <input type="text" name="pay_site" size="45" value="{$valid->site}" />
-<br>
+<br />
<strong>Montant :</strong> <input type="text" name="pay_montant" size="5" value="{$valid->montant}" />
(min <input type="text" name="pay_montant_min" size="5" value="{$valid->montant_min}" />
-> max <input type="text" name="pay_montant_max" size="5" value="{$valid->montant_max}" />)