Warning: pg_query() [function.pg-query]: Query failed: ERROR: syntax error at end of input LINE 1: select id from menu where document_id = ^ in /home/bserceui/public_html/global.php on line 58

Warning: pg_num_rows(): supplied argument is not a valid PostgreSQL result resource in /home/bserceui/public_html/global.php on line 59

Warning: pg_query() [function.pg-query]: Query failed: ERROR: syntax error at end of input LINE 1: select name from menu where id= ^ in /home/bserceui/public_html/global.php on line 58

Warning: pg_num_rows(): supplied argument is not a valid PostgreSQL result resource in /home/bserceui/public_html/global.php on line 59

Warning: pg_query() [function.pg-query]: Query failed: ERROR: syntax error at end of input LINE 1: select parent_id from menu where id= ^ in /home/bserceui/public_html/global.php on line 58

Warning: pg_num_rows(): supplied argument is not a valid PostgreSQL result resource in /home/bserceui/public_html/global.php on line 59