db_connect()
getRow(): SELECT id FROM addr where ip='34.239.173.144'; result: OK
getValue(): SELECT mode FROM addr where id='916777'; result: OK
getRow(): SELECT id FROM addr where ip='34.239.173.144'; result: OK
getValue(): SELECT mode FROM addr where id='916777'; result: OK
User not logged in or cookies disabled
Addr_id: 916777; Addr_mode: 1
case ADDR_TESTING
getValue(): SELECT time FROM addr where id='916777'; result: OK
Cookies disabled
setValue(): UPDATE addr SET mode='2' WHERE id = 916777; result: OK
getQueryParam(): course=1952
getRow(): SELECT id FROM course where end='1951'; result: OK
getRow(): SELECT id FROM course where end='1953'; result: OK
printCourseList(): SELECT * FROM (SELECT * FROM person2course WHERE course = 1952 AND type <> 't' AND org='' ORDER by type, end) t1 GROUP BY t1.person; result: OK
printCourseList(): SELECT * FROM person WHERE id in (144,145,146,147,148,153,155,2215,2485,2509,2510,2514,2515,2516,3941,3945,4231,4239) AND 0 >= rights ORDER BY lname, fname, mname; result: OK
getTeachers4Course(): SELECT person.id, lname, fname, mname, parallel FROM person, person2course WHERE person.id = person2course.person AND person2course.course = 1952 AND type = 't' AND 0 >= rights AND org='' ORDER BY person2course.start; result: OK
getFotos4Course(): SELECT * FROM series WHERE course = 1952; result: OK
printCourseList(): SELECT * FROM (SELECT * FROM person2course WHERE course = 1952 AND type <> 't' AND org='m' ORDER by type, end) t1 GROUP BY t1.person; result: OK
getFotos4Course(): SELECT * FROM series WHERE course = 1952; result: OK
getRow(): SELECT id FROM uri where uri='/course1952'; result: OK
getDateCounter(): SELECT COUNT(*) from user where creation_time > '1679589438'; result: OK