Pages vues depuis 25/05/2001 : 108 401 059
Index du forum »» Version future »» REvolution 16.3
Message édité par : jpb / 08-01-2022 14:17
Message édité par : jpb / 08-01-2022 14:17
DROP TABLE IF EXISTS users_status;
CREATE TABLE users_status (
uid int(11) NOT NULL auto_increment,
posts int(10) DEFAULT '0',
attachsig int(2) DEFAULT '0',
rang int(10) DEFAULT '0',
level int(10) DEFAULT '1',
open tinyint(1) DEFAULT '1' NOT NULL,
groupe varchar(34),
PRIMARY KEY (uid)
);
INSERT INTO users_status VALUES ( .........);
DROP TABLE IF EXISTS `users_status`;
CREATE TABLE IF NOT EXISTS `users_status` (
`uid` int(11) NOT NULL AUTO_INCREMENT,
`posts` int(10) DEFAULT '0',
`attachsig` int(2) DEFAULT '0',
`rang` int(10) DEFAULT '0',
`level` int(10) DEFAULT '1',
`open` tinyint(1) NOT NULL DEFAULT '1',
`groupe` varchar(34) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
PRIMARY KEY (`uid`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO users_status VALUES ( .........);
block-User_Info Warning: Use of undefined constant username - assumed 'username' (this will throw an Error in a future version of PHP) in C:\wamp64_2\www\revolution_163\modules\block-User_Info\block-User_Info.php on line 119 et plusieurs lignes
$ibid[$i][username] = $session[username];
$ibid[$i][time] = $session[time];
DROP TABLE IF EXISTS users_status;
CREATE TABLE users_status (
uid int(11) NOT NULL auto_increment,
posts int(10) DEFAULT '0',
attachsig int(2) DEFAULT '0',
rang int(10) DEFAULT '0',
level int(10) DEFAULT '1',
open tinyint(1) DEFAULT '1' NOT NULL,
groupe varchar(34),
PRIMARY KEY (uid)
);
INSERT INTO users_status VALUES ( .........);
DROP TABLE IF EXISTS `users_status`;
CREATE TABLE IF NOT EXISTS `users_status` (
`uid` int(11) NOT NULL AUTO_INCREMENT,
`posts` int(10) DEFAULT '0',
`attachsig` int(2) DEFAULT '0',
`rang` int(10) DEFAULT '0',
`level` int(10) DEFAULT '1',
`open` tinyint(1) NOT NULL DEFAULT '1',
`groupe` varchar(34) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
PRIMARY KEY (`uid`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO users_status VALUES ( .........);
Warning: mktime() expects at most 6 parameters, 7 given in C:\wamp64_2\www\revolution_163\modules\block-User_Info\block-User_Info.php on line 249
248 $today = getdate();
249 $today = mktime ( 0, 0, 0, $today['mon'] , $today['mday'], $today['year'], -1);
250$yesterday = $today - (60*60*24);
Message édité par : jpb / 09-01-2022 11:20
Message édité par : jpb / 09-01-2022 11:23
Message édité par : jpb / 09-01-2022 11:25