DB Error: Bad SQL Query: SELECT COUNT(pm_id) AS total FROM PM_TABLE WHERE pm_to = 1 AND (pm_type = PM_SENT OR pm_type = PM_SDLT OR pm_type = PM_UNREAD OR pm_type = PM_USDLT)
Unknown column 'PM_SENT' in 'where clause'
DB Error: Bad SQL Query: SELECT COUNT(pm_id) AS total FROM PM_TABLE WHERE pm_from = 1 AND (pm_type = PM_UNREAD OR pm_type = PM_USDLT)
Unknown column 'PM_UNREAD' in 'where clause'
DB Error: Bad SQL Query: SELECT COUNT(pm_id) AS total FROM PM_TABLE WHERE pm_from = 1 AND (pm_type = PM_SENT OR pm_type = PM_RDLT)
Unknown column 'PM_SENT' in 'where clause'
DB Error: Bad SQL Query: SELECT COUNT(pm_id) AS new FROM PM_TABLE WHERE pm_to = 1 AND (pm_type = PM_UNREAD OR pm_type = PM_USDLT) ORDER BY pm_date DESC
Unknown column 'PM_UNREAD' in 'where clause'
DB Error: Bad SQL Query: SELECT pm_date FROM PM_TABLE WHERE pm_to = 1 AND (pm_type = PM_UNREAD OR pm_type = PM_USDLT) ORDER BY pm_date DESC
Unknown column 'PM_UNREAD' in 'where clause'
DB Error: Bad SQL Query: SELECT COUNT(pm_id) AS new FROM PM_TABLE WHERE pm_to = 1 AND (pm_type = PM_UNREAD OR pm_type = PM_USDLT)
Unknown column 'PM_UNREAD' in 'where clause'
DB Error: Bad SQL Query: SELECT COUNT(p.pm_id) AS messages FROM PM_TABLE p WHERE p.pm_to = 1 AND (p.pm_type = PM_SDLT OR p.pm_type = PM_SENT OR p.pm_type = PM_USDLT OR p.pm_type = PM_UNREAD)
Unknown column 'PM_SDLT' in 'where clause'
DB Error: Bad SQL Query: SELECT COUNT(p.pm_id) AS messages FROM PM_TABLE p LEFT JOIN 4images_users u ON (u.user_id = p.pm_from) WHERE p.pm_to = 1 AND (p.pm_type = PM_SDLT OR p.pm_type = PM_SENT OR p.pm_type = PM_USDLT OR p.pm_type = PM_UNREAD) AND u.user_level <> 9
Unknown column 'PM_SDLT' in 'where clause'
Warning: Cannot modify header information - headers already sent by (output started at /home/ragnarok/public_html/includes/db_mysql.php:190) in /home/*****/public_html/pm.php on line 958