projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pending commit, finished during MQ/S download ...
[platal.git]
/
modules
/
xnetevents.php
diff --git
a/modules/xnetevents.php
b/modules/xnetevents.php
index
40fa385
..
d290d5e
100644
(file)
--- a/
modules/xnetevents.php
+++ b/
modules/xnetevents.php
@@
-99,7
+99,7
@@
class XnetEventsModule extends PLModule
LEFT JOIN groupex.evenements_participants AS ep ON (ep.eid = e.eid AND ep.uid = {?})
WHERE asso_id = {?}
GROUP BY e.eid
LEFT JOIN groupex.evenements_participants AS ep ON (ep.eid = e.eid AND ep.uid = {?})
WHERE asso_id = {?}
GROUP BY e.eid
- ORDER BY debut", S
ession::get
('uid'), $globals->asso('id'));
+ ORDER BY debut", S
::v
('uid'), $globals->asso('id'));
$evts = array();
$evts = array();
@@
-110,7
+110,7
@@
class XnetEventsModule extends PLModule
LEFT JOIN groupex.evenements_participants AS ep
ON (ep.eid = ei.eid AND ep.item_id = ei.item_id AND uid = {?})
WHERE ei.eid = {?}",
LEFT JOIN groupex.evenements_participants AS ep
ON (ep.eid = ei.eid AND ep.item_id = ei.item_id AND uid = {?})
WHERE ei.eid = {?}",
- S
ession::get
('uid'), $e['eid']);
+ S
::v
('uid'), $e['eid']);
$e['moments'] = $res->fetchAllAssoc();
$e['topay'] = 0;
$e['moments'] = $res->fetchAllAssoc();
$e['topay'] = 0;
@@
-121,7
+121,7
@@
class XnetEventsModule extends PLModule
$query = XDB::query(
"SELECT montant
FROM {$globals->money->mpay_tprefix}transactions AS t
$query = XDB::query(
"SELECT montant
FROM {$globals->money->mpay_tprefix}transactions AS t
- WHERE ref = {?} AND uid = {?}", $e['paiement_id'], S
ession::get
('uid'));
+ WHERE ref = {?} AND uid = {?}", $e['paiement_id'], S
::v
('uid'));
$montants = $query->fetchColumn();
foreach ($montants as $m) {
$montants = $query->fetchColumn();
foreach ($montants as $m) {
@@
-192,13
+192,13
@@
class XnetEventsModule extends PLModule
XDB::execute(
"REPLACE INTO groupex.evenements_participants
VALUES ({?}, {?}, {?}, {?}, {?})",
XDB::execute(
"REPLACE INTO groupex.evenements_participants
VALUES ({?}, {?}, {?}, {?}, {?})",
- $eid, S
ession::getInt
('uid'), $j, $nb, $evt['paid']);
+ $eid, S
::v
('uid'), $j, $nb, $evt['paid']);
$page->assign('updated', true);
} else {
XDB::execute(
"DELETE FROM groupex.evenements_participants
WHERE eid = {?} AND uid = {?} AND item_id = {?}",
$page->assign('updated', true);
} else {
XDB::execute(
"DELETE FROM groupex.evenements_participants
WHERE eid = {?} AND uid = {?} AND item_id = {?}",
- $eid, S
ession::getInt("uid"), $j);
+ $eid, S
::v("uid"), $j);
$page->assign('updated', true);
}
}
$page->assign('updated', true);
}
}
@@
-266,7
+266,7
@@
class XnetEventsModule extends PLModule
$evt = array(
'eid' => $eid,
'asso_id' => $globals->asso('id'),
$evt = array(
'eid' => $eid,
'asso_id' => $globals->asso('id'),
- 'organisateur_uid' => S
ession::get
('uid'),
+ 'organisateur_uid' => S
::v
('uid'),
'paiement_id' => Post::get('paiement_id') > 0 ? Post::get('paiement_id') : null,
'debut' => Post::get('deb_Year').'-'.Post::get('deb_Month')
.'-'.Post::get('deb_Day').' '.Post::get('deb_Hour')
'paiement_id' => Post::get('paiement_id') > 0 ? Post::get('paiement_id') : null,
'debut' => Post::get('deb_Year').'-'.Post::get('deb_Month')
.'-'.Post::get('deb_Day').' '.Post::get('deb_Hour')
@@
-331,7
+331,7
@@
class XnetEventsModule extends PLModule
// request for a new payment
if (Post::get('paiement_id') == -1 && $money_defaut >= 0) {
require_once 'validations.inc.php';
// request for a new payment
if (Post::get('paiement_id') == -1 && $money_defaut >= 0) {
require_once 'validations.inc.php';
- $p = new PayReq(S
ession::get
('uid'),
+ $p = new PayReq(S
::v
('uid'),
Post::get('intitule')." - ".$globals->asso('nom'),
Post::get('site'), $money_defaut,
Post::get('confirmation'), 0, 999,
Post::get('intitule')." - ".$globals->asso('nom'),
Post::get('site'), $money_defaut,
Post::get('confirmation'), 0, 999,