- $res = XDB::execute("SELECT COUNT(*) AS lists
- FROM register_subs
- WHERE uid = {?} AND type = 'list'",
- $user->id());
+ return 'reminder/ml.tpl';
+ }
+ public function title()
+ {
+ return "Inscription aux listes de diffusion";
+ }
+
+ public static function IsCandidate(User $user, $candidate)
+ {
+ $res = XDB::query("SELECT COUNT(*) AS lists
+ FROM register_subs
+ WHERE uid = {?} AND type = 'list'",
+ $user->id());