- $this->infos = Array();
-
- $this->infos['commercant'] = Array(
- 'business' => $globals->money->paypal_compte,
- 'rm' => 2,
- 'return' => $roboturl,
- 'cn' => 'Commentaires',
- 'no_shipping' => 1,
- 'cbt' => empty($GLOBALS['IS_XNET_SITE']) ?
- 'Revenir sur polytechnique.org' :
- 'Revenir sur polytechnique.net');
-
- $info_client = Array(
- 'first_name' => S::v('prenom'),
- 'last_name' => $name,
- 'email' => S::v('bestalias').'@' . $globals->mail->domain);
-
- $res = XDB::query(
- "SELECT a.adr1 AS address1, a.adr2 AS address2,
- a.city, a.postcode AS zip, a.country,
- IF(t.tel, t.tel, q.profile_mobile) AS night_phone_b
- FROM auth_user_quick AS q
- LEFT JOIN adresses AS a ON (q.user_id = a.uid AND FIND_IN_SET('active', a.statut))
+ $this->infos = Array();
+
+ $this->infos['commercant'] = Array(
+ 'business' => $globals->money->paypal_compte,
+ 'rm' => 2,
+ 'return' => $roboturl,
+ 'cn' => 'Commentaires',
+ 'no_shipping' => 1,
+ 'cbt' => empty($GLOBALS['IS_XNET_SITE']) ?
+ 'Revenir sur polytechnique.org' :
+ 'Revenir sur polytechnique.net');
+
+ $info_client = Array(
+ 'first_name' => S::v('prenom'),
+ 'last_name' => $name,
+ 'email' => S::v('bestalias').'@' . $globals->mail->domain);
+
+ $res = XDB::query(
+ "SELECT a.adr1 AS address1, a.adr2 AS address2,
+ a.city, a.postcode AS zip, a.country,
+ IF(t.tel, t.tel, q.profile_mobile) AS night_phone_b
+ FROM auth_user_quick AS q
+ LEFT JOIN adresses AS a ON (q.user_id = a.uid AND FIND_IN_SET('active', a.statut))