DB Error: no database selectedDB_Error Object
(
    [error_message_prefix] => 
    [mode] => 16
    [level] => 1024
    [code] => -14
    [message] => DB Error: no database selected
    [userinfo] => select count(*) from bp_usersnaps where ins_time > 1283462974  [nativecode=2006 ** MySQL server has gone away]
    [backtrace] => Array
        (
            [0] => Array
                (
                    [file] => /home/buscapar/public_html/libs/Pear/DB.php
                    [line] => 747
                    [function] => PEAR_Error
                    [class] => PEAR_Error
                    [type] => ->
                    [object] => DB_Error Object
 *RECURSION*
                    [args] => Array
                        (
                            [0] => DB Error: no database selected
                            [1] => -14
                            [2] => 16
                            [3] => errhndl
                            [4] => select count(*) from bp_usersnaps where ins_time > 1283462974  [nativecode=2006 ** MySQL server has gone away]
                        )

                )

            [1] => Array
                (
                    [file] => /home/buscapar/public_html/libs/Pear/PEAR.php
                    [line] => 540
                    [function] => DB_Error
                    [class] => DB_Error
                    [type] => ->
                    [object] => DB_Error Object
 *RECURSION*
                    [args] => Array
                        (
                            [0] => -14
                            [1] => 16
                            [2] => errhndl
                            [3] => select count(*) from bp_usersnaps where ins_time > 1283462974  [nativecode=2006 ** MySQL server has gone away]
                        )

                )

            [2] => Array
                (
                    [file] => /home/buscapar/public_html/libs/Pear/DB/common.php
                    [line] => 504
                    [function] => raiseError
                    [class] => PEAR
                    [type] => ->
                    [object] => DB_mysqlc Object
                        (
                            [connection] => Resource id #23
                            [phptype] => 
                            [dbsyntax] => mysql
                            [prepare_tokens] => Array
                                (
                                    [0] => Array
                                        (
                                            [0] => SELECT * from 
                                            [1] => 
                                        )

                                    [1] => Array
                                        (
                                            [0] => select distinct lang from 
                                            [1] => 
                                        )

                                    [2] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [4] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [5] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [7] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [8] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [10] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [11] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [13] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [14] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [16] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [17] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [19] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [20] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [21] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [22] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [23] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [25] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [26] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [28] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [29] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [31] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [32] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [34] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [35] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [37] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [38] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [40] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [41] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [42] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [43] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [45] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [46] => Array
                                        (
                                            [0] => select id, section from 
                                            [1] =>  where enabled = 
                                            [2] =>   order by displayorder asc
                                        )

                                    [47] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [48] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [49] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [50] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [51] => Array
                                        (
                                            [0] => select id, displayorder, section from 
                                            [1] => 
                                        )

                                    [52] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [53] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [54] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [55] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [57] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [59] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [60] => Array
                                        (
                                            [0] => select code, name from 
                                            [1] =>  order by name 
                                        )

                                    [61] => Array
                                        (
                                            [0] => SELECT count(ou.userid) as onlineusers FROM 
                                            [1] =>  ou, 
                                            [2] =>  as user where ou.userid <> ifnull(
                                            [3] => ,-1) and ou.userid = user.id and user.allow_viewonline = 
                                            [4] =>  
                                        )

                                    [62] => Array
                                        (
                                            [0] => SELECT pollid FROM 
                                            [1] =>  WHERE enabled = 
                                            [2] =>  AND active = 
                                            [3] =>  and date >= 
                                            [4] => 
                                        )

                                    [64] => Array
                                        (
                                            [0] => SELECT * FROM 
                                            [1] =>  where enabled = 
                                            [2] =>  order by date desc limit 0,1
                                        )

                                    [65] => Array
                                        (
                                            [0] => SELECT * FROM 
                                            [1] =>  where id= 
                                            [2] => 
                                        )

                                    [66] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [67] => Array
                                        (
                                            [0] => SELECT * FROM 
                                            [1] =>  order by date desc limit 0,2
                                        )

                                    [69] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [70] => Array
                                        (
                                            [0] => 
      SELECT s.id, s.userid, s.adminid, s.date_posted, s.title, s.story, s.views, IF(ROUND(AVG(v.vote),0) IS NULL,0, ROUND(AVG(v.vote),0)) AS votes, COUNT(v.vote) AS num_votes

      FROM 
                                            [1] =>  s

      LEFT JOIN 
                                            [2] =>  v ON s.id = v.storyid

      WHERE  s.adminid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                        )

                                    [72] => Array
                                        (
                                            [0] => 
      SELECT s.id, s.userid, s.adminid, s.date_posted, s.title, s.story, s.views, IF(ROUND(AVG(v.vote),0) IS NULL,0, ROUND(AVG(v.vote),0)) AS votes, COUNT(v.vote) AS num_votes

      FROM 
                                            [1] =>  s

      LEFT JOIN 
                                            [2] =>  v ON s.id = v.storyid

      WHERE  s.userid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                        )

                                    [74] => Array
                                        (
                                            [0] => SELECT id FROM 
                                            [1] =>  WHERE ( startdate <= 
                                            [2] =>  AND  expdate >= 
                                            [3] =>  ) AND enabled = 
                                            [4] =>  and ( language is null or language = 
                                            [5] => )
                                        )

                                    [76] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [78] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [79] => Array
                                        (
                                            [0] => SELECT * FROM 
                                            [1] =>  where lastactivitytime < 
                                            [2] => 
                                        )

                                    [81] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [82] => Array
                                        (
                                            [0] => select count(*) from 
                                            [1] =>  where active = 
                                            [2] =>  and regdate > 
                                            [3] =>  and status in ( 
                                            [4] => , 
                                            [5] => ) 
                                        )

                                    [84] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [85] => Array
                                        (
                                            [0] => select regdate from 
                                            [1] =>  where status in ( 
                                            [2] => , 
                                            [3] => )
                                        )

                                    [86] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [87] => Array
                                        (
                                            [0] => select sum(if(gender='M',1,0)) as gents, sum(if(gender='F',1,0)) as females, sum(if(gender='C',1,0)) as couples from 
                                            [1] =>  where active = 
                                            [2] =>  and status in (
                                            [3] => , 
                                            [4] => )
                                        )

                                    [88] => Array
                                        (
                                            [0] => select count(*) from 
                                            [1] =>  where ins_time > 
                                            [2] =>  
                                        )

                                    [89] => Array
                                        (
                                            [0] => select count(*) from 
                                            [1] =>  where ins_time > 
                                            [2] =>  
                                        )

                                )

                            [prepare_types] => Array
                                (
                                    [0] => Array
                                        (
                                            [0] => 3
                                        )

                                    [1] => Array
                                        (
                                            [0] => 3
                                        )

                                    [2] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [4] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [5] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [7] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [8] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [10] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [11] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [13] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [14] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [16] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [17] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [19] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [20] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [21] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [22] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [23] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [25] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [26] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [28] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [29] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [31] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [32] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [34] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [35] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [37] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [38] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [40] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [41] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [42] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [43] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [45] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [46] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                    [47] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [48] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [49] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [50] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [51] => Array
                                        (
                                            [0] => 3
                                        )

                                    [52] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [53] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [54] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [55] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [57] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [59] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [60] => Array
                                        (
                                            [0] => 3
                                        )

                                    [61] => Array
                                        (
                                            [0] => 3
                                            [1] => 3
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [62] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [64] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                    [65] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                    [66] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [67] => Array
                                        (
                                            [0] => 3
                                        )

                                    [69] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [70] => Array
                                        (
                                            [0] => 3
                                            [1] => 3
                                        )

                                    [72] => Array
                                        (
                                            [0] => 3
                                            [1] => 3
                                        )

                                    [74] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                            [4] => 1
                                        )

                                    [76] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [78] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [79] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                    [81] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [82] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                            [4] => 1
                                        )

                                    [84] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [85] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [86] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [87] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [88] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                    [89] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                )

                            [num_rows] => Array
                                (
                                )

                            [transaction_opcount] => 0
                            [autocommit] => 1
                            [fetchmode] => 2
                            [_db] => buscapar_busca
                            [cached_tables] => Array
                                (
                                    [bp_admin] => 0
                                    [bp_admin_permissions] => 0
                                    [bp_adminemails] => 0
                                    [bp_aff_referals] => 0
                                    [bp_affiliates] => 0
                                    [bp_articles] => 0
                                    [bp_banners] => 1284065873
                                    [bp_blockuser] => 0
                                    [bp_blog_comments] => 0
                                    [bp_blog_preferences] => 0
                                    [bp_blog_story] => 1284067772
                                    [bp_blog_vote] => 1284067772
                                    [bp_buddy_ban_list] => 0
                                    [bp_calendarevents] => 0
                                    [bp_calendars] => 0
                                    [bp_calendarwatchevents] => 0
                                    [bp_cities] => 0
                                    [bp_counties] => 0
                                    [bp_countries] => 0
                                    [bp_featured_profiles] => 0
                                    [bp_gift_master] => 0
                                    [bp_glblsettings] => 0
                                    [bp_hotlist] => 0
                                    [bp_import_questions_xref] => 0
                                    [bp_imported_users] => 0
                                    [bp_instant_message] => 0
                                    [bp_languages] => 0
                                    [bp_letters] => 0
                                    [bp_log] => 1284067746
                                    [bp_mailbox] => 1284063768
                                    [bp_membership] => 0
                                    [bp_news] => 0
                                    [bp_onlineusers] => 1284067764
                                    [bp_pages] => 0
                                    [bp_payment_config] => 0
                                    [bp_payment_modules] => 0
                                    [bp_personality_search] => 0
                                    [bp_plugin] => 0
                                    [bp_plugin_access] => 0
                                    [bp_plugin_config] => 0
                                    [bp_plugin_tables] => 0
                                    [bp_poll_answer] => 1284067499
                                    [bp_poll_option] => 1284067499
                                    [bp_poll_question] => 0
                                    [bp_pollips] => 0
                                    [bp_polloptions] => 0
                                    [bp_polls] => 0
                                    [bp_questionoptions] => 0
                                    [bp_questions] => 0
                                    [bp_ratings] => 0
                                    [bp_report] => 0
                                    [bp_sections] => 0
                                    [bp_shoutbox] => 0
                                    [bp_smilies] => 0
                                    [bp_states] => 0
                                    [bp_stories] => 0
                                    [bp_tellafriend] => 0
                                    [bp_transactions] => 0
                                    [bp_uploadimage] => 0
                                    [bp_user] => 1284067667
                                    [bp_user_actions] => 1284067557
                                    [bp_user_choices] => 0
                                    [bp_user_watched_profiles] => 0
                                    [bp_useralbums] => 0
                                    [bp_userpreference] => 1284067518
                                    [bp_userrating] => 0
                                    [bp_usersearches] => 0
                                    [bp_usersnaps] => 0
                                    [bp_usersnaps_bkp] => 0
                                    [bp_usertemplates] => 0
                                    [bp_uservideos] => 0
                                    [bp_views_winks] => 1284067557
                                    [bp_zipcodes] => 0
                                    [bp_zips] => 0
                                    [osd_blockuser] => 0
                                    [osd_personality_search] => 0
                                    [phpbb_auth_access] => 0
                                    [phpbb_banlist] => 0
                                    [phpbb_categories] => 0
                                    [phpbb_config] => 0
                                    [phpbb_confirm] => 0
                                    [phpbb_disallow] => 0
                                    [phpbb_forum_prune] => 0
                                    [phpbb_forums] => 0
                                    [phpbb_groups] => 0
                                    [phpbb_inline_ads] => 0
                                    [phpbb_posts] => 0
                                    [phpbb_posts_text] => 0
                                    [phpbb_privmsgs] => 0
                                    [phpbb_privmsgs_text] => 0
                                    [phpbb_ranks] => 0
                                    [phpbb_search_results] => 0
                                    [phpbb_search_wordlist] => 0
                                    [phpbb_search_wordmatch] => 0
                                    [phpbb_sessions] => 0
                                    [phpbb_sessions_keys] => 0
                                    [phpbb_smilies] => 0
                                    [phpbb_themes] => 0
                                    [phpbb_themes_name] => 0
                                    [phpbb_topics] => 0
                                    [phpbb_topics_watch] => 0
                                    [phpbb_user_group] => 0
                                    [phpbb_users] => 0
                                    [phpbb_vote_desc] => 0
                                    [phpbb_vote_results] => 0
                                    [phpbb_vote_voters] => 0
                                    [phpbb_words] => 0
                                    [v3chat_room_badwords] => 0
                                    [v3chat_room_banners] => 0
                                    [v3chat_room_bans] => 0
                                    [v3chat_room_blocked] => 0
                                    [v3chat_room_messages] => 0
                                    [v3chat_room_private] => 0
                                    [v3chat_room_rooms] => 0
                                    [v3chat_room_users] => 1284067239
                                )

                            [dsn] => Array
                                (
                                    [phptype] => mysqlc
                                    [dbsyntax] => mysqlc
                                    [username] => buscapar_busca
                                    [password] => busca123
                                    [protocol] => tcp
                                    [hostspec] => localhost
                                    [port] => 
                                    [socket] => 
                                    [database] => buscapar_busca
                                )

                            [_dsninfo] => Array
                                (
                                    [phptype] => mysqlc
                                    [dbsyntax] => mysqlc
                                    [username] => buscapar_busca
                                    [password] => busca123
                                    [protocol] => tcp
                                    [hostspec] => localhost
                                    [port] => 
                                    [socket] => 
                                    [database] => buscapar_busca
                                )

                            [_dboptions] => Array
                                (
                                    [persistent] => 1
                                )

                            [_connected] => 1
                            [features] => Array
                                (
                                    [prepare] => 
                                    [pconnect] => 1
                                    [transactions] => 1
                                    [limit] => alter
                                )

                            [errorcode_map] => Array
                                (
                                    [1004] => -15
                                    [1005] => -15
                                    [1006] => -15
                                    [1007] => -5
                                    [1008] => -17
                                    [1022] => -5
                                    [1046] => -14
                                    [1050] => -5
                                    [1051] => -18
                                    [1054] => -19
                                    [1062] => -5
                                    [1064] => -2
                                    [1100] => -21
                                    [1136] => -22
                                    [1146] => -18
                                    [1048] => -3
                                    [1216] => -3
                                )

                            [prepared_queries] => Array
                                (
                                    [0] => SELECT * from  
                                    [1] => select distinct lang from  
                                    [2] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [4] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [5] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [7] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [8] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [10] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [11] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [13] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [14] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [16] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [17] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [19] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [20] => select descr from   where lang=  and mainkey=   
                                    [21] => select descr from   where lang=  and mainkey=   
                                    [22] => select descr from   where lang=  and mainkey=   
                                    [23] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [25] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [26] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [28] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [29] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [31] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [32] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [34] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [35] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [37] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [38] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [40] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [41] => select descr from   where lang=  and mainkey=   
                                    [42] => select descr from   where lang=  and mainkey=   
                                    [43] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [45] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [46] => select id, section from   where enabled =    order by displayorder asc
                                    [47] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [48] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [49] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [50] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [51] => select id, displayorder, section from  
                                    [52] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [53] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [54] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [55] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [57] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [59] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [60] => select code, name from   order by name 
                                    [61] => SELECT count(ou.userid) as onlineusers FROM   ou,   as user where ou.userid <> ifnull( ,-1) and ou.userid = user.id and user.allow_viewonline =   
                                    [62] => SELECT pollid FROM   WHERE enabled =   AND active =   and date >=  
                                    [64] => SELECT * FROM   where enabled =   order by date desc limit 0,1
                                    [65] => SELECT * FROM   where id=  
                                    [66] => select descr from   where lang=  and mainkey=   
                                    [67] => SELECT * FROM   order by date desc limit 0,2
                                    [69] => select descr from   where lang=  and mainkey=   
                                    [70] => 
      SELECT s.id, s.userid, s.adminid, s.date_posted, s.title, s.story, s.views, IF(ROUND(AVG(v.vote),0) IS NULL,0, ROUND(AVG(v.vote),0)) AS votes, COUNT(v.vote) AS num_votes

      FROM   s

      LEFT JOIN   v ON s.id = v.storyid

      WHERE  s.adminid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                    [72] => 
      SELECT s.id, s.userid, s.adminid, s.date_posted, s.title, s.story, s.views, IF(ROUND(AVG(v.vote),0) IS NULL,0, ROUND(AVG(v.vote),0)) AS votes, COUNT(v.vote) AS num_votes

      FROM   s

      LEFT JOIN   v ON s.id = v.storyid

      WHERE  s.userid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                    [74] => SELECT id FROM   WHERE ( startdate <=   AND  expdate >=   ) AND enabled =   and ( language is null or language =  )
                                    [76] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [78] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [79] => SELECT * FROM   where lastactivitytime <  
                                    [81] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [82] => select count(*) from   where active =   and regdate >   and status in (  ,  ) 
                                    [84] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [85] => select regdate from   where status in (  ,  )
                                    [86] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [87] => select sum(if(gender='M',1,0)) as gents, sum(if(gender='F',1,0)) as females, sum(if(gender='C',1,0)) as couples from   where active =   and status in ( ,  )
                                    [88] => select count(*) from   where ins_time >   
                                    [89] => select count(*) from   where ins_time >   
                                )

                            [prepare_maxstmt] => 0
                            [last_query] => select count(*) from bp_usersnaps where ins_time > 1283462974 
                            [fetchmode_object_class] => stdClass
                            [options] => Array
                                (
                                    [persistent] => 1
                                    [ssl] => 
                                    [debug] => 0
                                    [seqname_format] => %s_seq
                                    [autofree] => 
                                    [portability] => 0
                                    [optimize] => performance
                                )

                            [dbh] => 
                            [_debug] => 
                            [_default_error_mode] => 
                            [_default_error_options] => 
                            [_default_error_handler] => 
                            [_error_class] => DB_Error
                            [_expected_errors] => Array
                                (
                                )

                        )

                    [args] => Array
                        (
                            [0] => 
                            [1] => -14
                            [2] => 
                            [3] => 
                            [4] => select count(*) from bp_usersnaps where ins_time > 1283462974  [nativecode=2006 ** MySQL server has gone away]
                            [5] => DB_Error
                            [6] => 1
                        )

                )

            [3] => Array
                (
                    [file] => /home/buscapar/public_html/libs/Pear/DB/mysqlc.php
                    [line] => 796
                    [function] => raiseError
                    [class] => DB_common
                    [type] => ->
                    [object] => DB_mysqlc Object
                        (
                            [connection] => Resource id #23
                            [phptype] => 
                            [dbsyntax] => mysql
                            [prepare_tokens] => Array
                                (
                                    [0] => Array
                                        (
                                            [0] => SELECT * from 
                                            [1] => 
                                        )

                                    [1] => Array
                                        (
                                            [0] => select distinct lang from 
                                            [1] => 
                                        )

                                    [2] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [4] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [5] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [7] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [8] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [10] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [11] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [13] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [14] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [16] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [17] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [19] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [20] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [21] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [22] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [23] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [25] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [26] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [28] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [29] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [31] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [32] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [34] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [35] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [37] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [38] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [40] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [41] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [42] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [43] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [45] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [46] => Array
                                        (
                                            [0] => select id, section from 
                                            [1] =>  where enabled = 
                                            [2] =>   order by displayorder asc
                                        )

                                    [47] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [48] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [49] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [50] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [51] => Array
                                        (
                                            [0] => select id, displayorder, section from 
                                            [1] => 
                                        )

                                    [52] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [53] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [54] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [55] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [57] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [59] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [60] => Array
                                        (
                                            [0] => select code, name from 
                                            [1] =>  order by name 
                                        )

                                    [61] => Array
                                        (
                                            [0] => SELECT count(ou.userid) as onlineusers FROM 
                                            [1] =>  ou, 
                                            [2] =>  as user where ou.userid <> ifnull(
                                            [3] => ,-1) and ou.userid = user.id and user.allow_viewonline = 
                                            [4] =>  
                                        )

                                    [62] => Array
                                        (
                                            [0] => SELECT pollid FROM 
                                            [1] =>  WHERE enabled = 
                                            [2] =>  AND active = 
                                            [3] =>  and date >= 
                                            [4] => 
                                        )

                                    [64] => Array
                                        (
                                            [0] => SELECT * FROM 
                                            [1] =>  where enabled = 
                                            [2] =>  order by date desc limit 0,1
                                        )

                                    [65] => Array
                                        (
                                            [0] => SELECT * FROM 
                                            [1] =>  where id= 
                                            [2] => 
                                        )

                                    [66] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [67] => Array
                                        (
                                            [0] => SELECT * FROM 
                                            [1] =>  order by date desc limit 0,2
                                        )

                                    [69] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [70] => Array
                                        (
                                            [0] => 
      SELECT s.id, s.userid, s.adminid, s.date_posted, s.title, s.story, s.views, IF(ROUND(AVG(v.vote),0) IS NULL,0, ROUND(AVG(v.vote),0)) AS votes, COUNT(v.vote) AS num_votes

      FROM 
                                            [1] =>  s

      LEFT JOIN 
                                            [2] =>  v ON s.id = v.storyid

      WHERE  s.adminid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                        )

                                    [72] => Array
                                        (
                                            [0] => 
      SELECT s.id, s.userid, s.adminid, s.date_posted, s.title, s.story, s.views, IF(ROUND(AVG(v.vote),0) IS NULL,0, ROUND(AVG(v.vote),0)) AS votes, COUNT(v.vote) AS num_votes

      FROM 
                                            [1] =>  s

      LEFT JOIN 
                                            [2] =>  v ON s.id = v.storyid

      WHERE  s.userid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                        )

                                    [74] => Array
                                        (
                                            [0] => SELECT id FROM 
                                            [1] =>  WHERE ( startdate <= 
                                            [2] =>  AND  expdate >= 
                                            [3] =>  ) AND enabled = 
                                            [4] =>  and ( language is null or language = 
                                            [5] => )
                                        )

                                    [76] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [78] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [79] => Array
                                        (
                                            [0] => SELECT * FROM 
                                            [1] =>  where lastactivitytime < 
                                            [2] => 
                                        )

                                    [81] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [82] => Array
                                        (
                                            [0] => select count(*) from 
                                            [1] =>  where active = 
                                            [2] =>  and regdate > 
                                            [3] =>  and status in ( 
                                            [4] => , 
                                            [5] => ) 
                                        )

                                    [84] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [85] => Array
                                        (
                                            [0] => select regdate from 
                                            [1] =>  where status in ( 
                                            [2] => , 
                                            [3] => )
                                        )

                                    [86] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [87] => Array
                                        (
                                            [0] => select sum(if(gender='M',1,0)) as gents, sum(if(gender='F',1,0)) as females, sum(if(gender='C',1,0)) as couples from 
                                            [1] =>  where active = 
                                            [2] =>  and status in (
                                            [3] => , 
                                            [4] => )
                                        )

                                    [88] => Array
                                        (
                                            [0] => select count(*) from 
                                            [1] =>  where ins_time > 
                                            [2] =>  
                                        )

                                    [89] => Array
                                        (
                                            [0] => select count(*) from 
                                            [1] =>  where ins_time > 
                                            [2] =>  
                                        )

                                )

                            [prepare_types] => Array
                                (
                                    [0] => Array
                                        (
                                            [0] => 3
                                        )

                                    [1] => Array
                                        (
                                            [0] => 3
                                        )

                                    [2] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [4] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [5] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [7] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [8] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [10] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [11] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [13] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [14] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [16] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [17] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [19] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [20] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [21] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [22] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [23] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [25] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [26] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [28] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [29] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [31] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [32] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [34] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [35] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [37] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [38] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [40] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [41] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [42] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [43] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [45] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [46] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                    [47] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [48] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [49] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [50] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [51] => Array
                                        (
                                            [0] => 3
                                        )

                                    [52] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [53] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [54] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [55] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [57] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [59] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [60] => Array
                                        (
                                            [0] => 3
                                        )

                                    [61] => Array
                                        (
                                            [0] => 3
                                            [1] => 3
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [62] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [64] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                    [65] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                    [66] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [67] => Array
                                        (
                                            [0] => 3
                                        )

                                    [69] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [70] => Array
                                        (
                                            [0] => 3
                                            [1] => 3
                                        )

                                    [72] => Array
                                        (
                                            [0] => 3
                                            [1] => 3
                                        )

                                    [74] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                            [4] => 1
                                        )

                                    [76] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [78] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [79] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                    [81] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [82] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                            [4] => 1
                                        )

                                    [84] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [85] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [86] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [87] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [88] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                    [89] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                )

                            [num_rows] => Array
                                (
                                )

                            [transaction_opcount] => 0
                            [autocommit] => 1
                            [fetchmode] => 2
                            [_db] => buscapar_busca
                            [cached_tables] => Array
                                (
                                    [bp_admin] => 0
                                    [bp_admin_permissions] => 0
                                    [bp_adminemails] => 0
                                    [bp_aff_referals] => 0
                                    [bp_affiliates] => 0
                                    [bp_articles] => 0
                                    [bp_banners] => 1284065873
                                    [bp_blockuser] => 0
                                    [bp_blog_comments] => 0
                                    [bp_blog_preferences] => 0
                                    [bp_blog_story] => 1284067772
                                    [bp_blog_vote] => 1284067772
                                    [bp_buddy_ban_list] => 0
                                    [bp_calendarevents] => 0
                                    [bp_calendars] => 0
                                    [bp_calendarwatchevents] => 0
                                    [bp_cities] => 0
                                    [bp_counties] => 0
                                    [bp_countries] => 0
                                    [bp_featured_profiles] => 0
                                    [bp_gift_master] => 0
                                    [bp_glblsettings] => 0
                                    [bp_hotlist] => 0
                                    [bp_import_questions_xref] => 0
                                    [bp_imported_users] => 0
                                    [bp_instant_message] => 0
                                    [bp_languages] => 0
                                    [bp_letters] => 0
                                    [bp_log] => 1284067746
                                    [bp_mailbox] => 1284063768
                                    [bp_membership] => 0
                                    [bp_news] => 0
                                    [bp_onlineusers] => 1284067764
                                    [bp_pages] => 0
                                    [bp_payment_config] => 0
                                    [bp_payment_modules] => 0
                                    [bp_personality_search] => 0
                                    [bp_plugin] => 0
                                    [bp_plugin_access] => 0
                                    [bp_plugin_config] => 0
                                    [bp_plugin_tables] => 0
                                    [bp_poll_answer] => 1284067499
                                    [bp_poll_option] => 1284067499
                                    [bp_poll_question] => 0
                                    [bp_pollips] => 0
                                    [bp_polloptions] => 0
                                    [bp_polls] => 0
                                    [bp_questionoptions] => 0
                                    [bp_questions] => 0
                                    [bp_ratings] => 0
                                    [bp_report] => 0
                                    [bp_sections] => 0
                                    [bp_shoutbox] => 0
                                    [bp_smilies] => 0
                                    [bp_states] => 0
                                    [bp_stories] => 0
                                    [bp_tellafriend] => 0
                                    [bp_transactions] => 0
                                    [bp_uploadimage] => 0
                                    [bp_user] => 1284067667
                                    [bp_user_actions] => 1284067557
                                    [bp_user_choices] => 0
                                    [bp_user_watched_profiles] => 0
                                    [bp_useralbums] => 0
                                    [bp_userpreference] => 1284067518
                                    [bp_userrating] => 0
                                    [bp_usersearches] => 0
                                    [bp_usersnaps] => 0
                                    [bp_usersnaps_bkp] => 0
                                    [bp_usertemplates] => 0
                                    [bp_uservideos] => 0
                                    [bp_views_winks] => 1284067557
                                    [bp_zipcodes] => 0
                                    [bp_zips] => 0
                                    [osd_blockuser] => 0
                                    [osd_personality_search] => 0
                                    [phpbb_auth_access] => 0
                                    [phpbb_banlist] => 0
                                    [phpbb_categories] => 0
                                    [phpbb_config] => 0
                                    [phpbb_confirm] => 0
                                    [phpbb_disallow] => 0
                                    [phpbb_forum_prune] => 0
                                    [phpbb_forums] => 0
                                    [phpbb_groups] => 0
                                    [phpbb_inline_ads] => 0
                                    [phpbb_posts] => 0
                                    [phpbb_posts_text] => 0
                                    [phpbb_privmsgs] => 0
                                    [phpbb_privmsgs_text] => 0
                                    [phpbb_ranks] => 0
                                    [phpbb_search_results] => 0
                                    [phpbb_search_wordlist] => 0
                                    [phpbb_search_wordmatch] => 0
                                    [phpbb_sessions] => 0
                                    [phpbb_sessions_keys] => 0
                                    [phpbb_smilies] => 0
                                    [phpbb_themes] => 0
                                    [phpbb_themes_name] => 0
                                    [phpbb_topics] => 0
                                    [phpbb_topics_watch] => 0
                                    [phpbb_user_group] => 0
                                    [phpbb_users] => 0
                                    [phpbb_vote_desc] => 0
                                    [phpbb_vote_results] => 0
                                    [phpbb_vote_voters] => 0
                                    [phpbb_words] => 0
                                    [v3chat_room_badwords] => 0
                                    [v3chat_room_banners] => 0
                                    [v3chat_room_bans] => 0
                                    [v3chat_room_blocked] => 0
                                    [v3chat_room_messages] => 0
                                    [v3chat_room_private] => 0
                                    [v3chat_room_rooms] => 0
                                    [v3chat_room_users] => 1284067239
                                )

                            [dsn] => Array
                                (
                                    [phptype] => mysqlc
                                    [dbsyntax] => mysqlc
                                    [username] => buscapar_busca
                                    [password] => busca123
                                    [protocol] => tcp
                                    [hostspec] => localhost
                                    [port] => 
                                    [socket] => 
                                    [database] => buscapar_busca
                                )

                            [_dsninfo] => Array
                                (
                                    [phptype] => mysqlc
                                    [dbsyntax] => mysqlc
                                    [username] => buscapar_busca
                                    [password] => busca123
                                    [protocol] => tcp
                                    [hostspec] => localhost
                                    [port] => 
                                    [socket] => 
                                    [database] => buscapar_busca
                                )

                            [_dboptions] => Array
                                (
                                    [persistent] => 1
                                )

                            [_connected] => 1
                            [features] => Array
                                (
                                    [prepare] => 
                                    [pconnect] => 1
                                    [transactions] => 1
                                    [limit] => alter
                                )

                            [errorcode_map] => Array
                                (
                                    [1004] => -15
                                    [1005] => -15
                                    [1006] => -15
                                    [1007] => -5
                                    [1008] => -17
                                    [1022] => -5
                                    [1046] => -14
                                    [1050] => -5
                                    [1051] => -18
                                    [1054] => -19
                                    [1062] => -5
                                    [1064] => -2
                                    [1100] => -21
                                    [1136] => -22
                                    [1146] => -18
                                    [1048] => -3
                                    [1216] => -3
                                )

                            [prepared_queries] => Array
                                (
                                    [0] => SELECT * from  
                                    [1] => select distinct lang from  
                                    [2] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [4] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [5] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [7] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [8] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [10] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [11] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [13] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [14] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [16] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [17] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [19] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [20] => select descr from   where lang=  and mainkey=   
                                    [21] => select descr from   where lang=  and mainkey=   
                                    [22] => select descr from   where lang=  and mainkey=   
                                    [23] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [25] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [26] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [28] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [29] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [31] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [32] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [34] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [35] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [37] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [38] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [40] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [41] => select descr from   where lang=  and mainkey=   
                                    [42] => select descr from   where lang=  and mainkey=   
                                    [43] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [45] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [46] => select id, section from   where enabled =    order by displayorder asc
                                    [47] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [48] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [49] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [50] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [51] => select id, displayorder, section from  
                                    [52] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [53] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [54] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [55] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [57] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [59] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [60] => select code, name from   order by name 
                                    [61] => SELECT count(ou.userid) as onlineusers FROM   ou,   as user where ou.userid <> ifnull( ,-1) and ou.userid = user.id and user.allow_viewonline =   
                                    [62] => SELECT pollid FROM   WHERE enabled =   AND active =   and date >=  
                                    [64] => SELECT * FROM   where enabled =   order by date desc limit 0,1
                                    [65] => SELECT * FROM   where id=  
                                    [66] => select descr from   where lang=  and mainkey=   
                                    [67] => SELECT * FROM   order by date desc limit 0,2
                                    [69] => select descr from   where lang=  and mainkey=   
                                    [70] => 
      SELECT s.id, s.userid, s.adminid, s.date_posted, s.title, s.story, s.views, IF(ROUND(AVG(v.vote),0) IS NULL,0, ROUND(AVG(v.vote),0)) AS votes, COUNT(v.vote) AS num_votes

      FROM   s

      LEFT JOIN   v ON s.id = v.storyid

      WHERE  s.adminid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                    [72] => 
      SELECT s.id, s.userid, s.adminid, s.date_posted, s.title, s.story, s.views, IF(ROUND(AVG(v.vote),0) IS NULL,0, ROUND(AVG(v.vote),0)) AS votes, COUNT(v.vote) AS num_votes

      FROM   s

      LEFT JOIN   v ON s.id = v.storyid

      WHERE  s.userid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                    [74] => SELECT id FROM   WHERE ( startdate <=   AND  expdate >=   ) AND enabled =   and ( language is null or language =  )
                                    [76] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [78] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [79] => SELECT * FROM   where lastactivitytime <  
                                    [81] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [82] => select count(*) from   where active =   and regdate >   and status in (  ,  ) 
                                    [84] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [85] => select regdate from   where status in (  ,  )
                                    [86] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [87] => select sum(if(gender='M',1,0)) as gents, sum(if(gender='F',1,0)) as females, sum(if(gender='C',1,0)) as couples from   where active =   and status in ( ,  )
                                    [88] => select count(*) from   where ins_time >   
                                    [89] => select count(*) from   where ins_time >   
                                )

                            [prepare_maxstmt] => 0
                            [last_query] => select count(*) from bp_usersnaps where ins_time > 1283462974 
                            [fetchmode_object_class] => stdClass
                            [options] => Array
                                (
                                    [persistent] => 1
                                    [ssl] => 
                                    [debug] => 0
                                    [seqname_format] => %s_seq
                                    [autofree] => 
                                    [portability] => 0
                                    [optimize] => performance
                                )

                            [dbh] => 
                            [_debug] => 
                            [_default_error_mode] => 
                            [_default_error_options] => 
                            [_default_error_handler] => 
                            [_error_class] => DB_Error
                            [_expected_errors] => Array
                                (
                                )

                        )

                    [args] => Array
                        (
                            [0] => -14
                            [1] => 
                            [2] => 
                            [3] => 
                            [4] => 2006 ** MySQL server has gone away
                        )

                )

            [4] => Array
                (
                    [file] => /home/buscapar/public_html/libs/Pear/DB/mysqlc.php
                    [line] => 232
                    [function] => mysqlRaiseError
                    [class] => DB_mysqlc
                    [type] => ->
                    [object] => DB_mysqlc Object
                        (
                            [connection] => Resource id #23
                            [phptype] => 
                            [dbsyntax] => mysql
                            [prepare_tokens] => Array
                                (
                                    [0] => Array
                                        (
                                            [0] => SELECT * from 
                                            [1] => 
                                        )

                                    [1] => Array
                                        (
                                            [0] => select distinct lang from 
                                            [1] => 
                                        )

                                    [2] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [4] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [5] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [7] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [8] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [10] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [11] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [13] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [14] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [16] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [17] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [19] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [20] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [21] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [22] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [23] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [25] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [26] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [28] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [29] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [31] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [32] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [34] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [35] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [37] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [38] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [40] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [41] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [42] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [43] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [45] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [46] => Array
                                        (
                                            [0] => select id, section from 
                                            [1] =>  where enabled = 
                                            [2] =>   order by displayorder asc
                                        )

                                    [47] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [48] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [49] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [50] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [51] => Array
                                        (
                                            [0] => select id, displayorder, section from 
                                            [1] => 
                                        )

                                    [52] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [53] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [54] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [55] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [57] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [59] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [60] => Array
                                        (
                                            [0] => select code, name from 
                                            [1] =>  order by name 
                                        )

                                    [61] => Array
                                        (
                                            [0] => SELECT count(ou.userid) as onlineusers FROM 
                                            [1] =>  ou, 
                                            [2] =>  as user where ou.userid <> ifnull(
                                            [3] => ,-1) and ou.userid = user.id and user.allow_viewonline = 
                                            [4] =>  
                                        )

                                    [62] => Array
                                        (
                                            [0] => SELECT pollid FROM 
                                            [1] =>  WHERE enabled = 
                                            [2] =>  AND active = 
                                            [3] =>  and date >= 
                                            [4] => 
                                        )

                                    [64] => Array
                                        (
                                            [0] => SELECT * FROM 
                                            [1] =>  where enabled = 
                                            [2] =>  order by date desc limit 0,1
                                        )

                                    [65] => Array
                                        (
                                            [0] => SELECT * FROM 
                                            [1] =>  where id= 
                                            [2] => 
                                        )

                                    [66] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [67] => Array
                                        (
                                            [0] => SELECT * FROM 
                                            [1] =>  order by date desc limit 0,2
                                        )

                                    [69] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [70] => Array
                                        (
                                            [0] => 
      SELECT s.id, s.userid, s.adminid, s.date_posted, s.title, s.story, s.views, IF(ROUND(AVG(v.vote),0) IS NULL,0, ROUND(AVG(v.vote),0)) AS votes, COUNT(v.vote) AS num_votes

      FROM 
                                            [1] =>  s

      LEFT JOIN 
                                            [2] =>  v ON s.id = v.storyid

      WHERE  s.adminid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                        )

                                    [72] => Array
                                        (
                                            [0] => 
      SELECT s.id, s.userid, s.adminid, s.date_posted, s.title, s.story, s.views, IF(ROUND(AVG(v.vote),0) IS NULL,0, ROUND(AVG(v.vote),0)) AS votes, COUNT(v.vote) AS num_votes

      FROM 
                                            [1] =>  s

      LEFT JOIN 
                                            [2] =>  v ON s.id = v.storyid

      WHERE  s.userid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                        )

                                    [74] => Array
                                        (
                                            [0] => SELECT id FROM 
                                            [1] =>  WHERE ( startdate <= 
                                            [2] =>  AND  expdate >= 
                                            [3] =>  ) AND enabled = 
                                            [4] =>  and ( language is null or language = 
                                            [5] => )
                                        )

                                    [76] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [78] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [79] => Array
                                        (
                                            [0] => SELECT * FROM 
                                            [1] =>  where lastactivitytime < 
                                            [2] => 
                                        )

                                    [81] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [82] => Array
                                        (
                                            [0] => select count(*) from 
                                            [1] =>  where active = 
                                            [2] =>  and regdate > 
                                            [3] =>  and status in ( 
                                            [4] => , 
                                            [5] => ) 
                                        )

                                    [84] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [85] => Array
                                        (
                                            [0] => select regdate from 
                                            [1] =>  where status in ( 
                                            [2] => , 
                                            [3] => )
                                        )

                                    [86] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [87] => Array
                                        (
                                            [0] => select sum(if(gender='M',1,0)) as gents, sum(if(gender='F',1,0)) as females, sum(if(gender='C',1,0)) as couples from 
                                            [1] =>  where active = 
                                            [2] =>  and status in (
                                            [3] => , 
                                            [4] => )
                                        )

                                    [88] => Array
                                        (
                                            [0] => select count(*) from 
                                            [1] =>  where ins_time > 
                                            [2] =>  
                                        )

                                    [89] => Array
                                        (
                                            [0] => select count(*) from 
                                            [1] =>  where ins_time > 
                                            [2] =>  
                                        )

                                )

                            [prepare_types] => Array
                                (
                                    [0] => Array
                                        (
                                            [0] => 3
                                        )

                                    [1] => Array
                                        (
                                            [0] => 3
                                        )

                                    [2] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [4] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [5] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [7] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [8] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [10] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [11] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [13] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [14] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [16] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [17] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [19] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [20] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [21] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [22] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [23] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [25] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [26] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [28] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [29] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [31] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [32] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [34] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [35] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [37] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [38] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [40] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [41] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [42] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [43] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [45] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [46] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                    [47] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [48] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [49] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [50] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [51] => Array
                                        (
                                            [0] => 3
                                        )

                                    [52] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [53] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [54] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [55] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [57] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [59] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [60] => Array
                                        (
                                            [0] => 3
                                        )

                                    [61] => Array
                                        (
                                            [0] => 3
                                            [1] => 3
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [62] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [64] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                    [65] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                    [66] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [67] => Array
                                        (
                                            [0] => 3
                                        )

                                    [69] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [70] => Array
                                        (
                                            [0] => 3
                                            [1] => 3
                                        )

                                    [72] => Array
                                        (
                                            [0] => 3
                                            [1] => 3
                                        )

                                    [74] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                            [4] => 1
                                        )

                                    [76] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [78] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [79] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                    [81] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [82] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                            [4] => 1
                                        )

                                    [84] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [85] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [86] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [87] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [88] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                    [89] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                )

                            [num_rows] => Array
                                (
                                )

                            [transaction_opcount] => 0
                            [autocommit] => 1
                            [fetchmode] => 2
                            [_db] => buscapar_busca
                            [cached_tables] => Array
                                (
                                    [bp_admin] => 0
                                    [bp_admin_permissions] => 0
                                    [bp_adminemails] => 0
                                    [bp_aff_referals] => 0
                                    [bp_affiliates] => 0
                                    [bp_articles] => 0
                                    [bp_banners] => 1284065873
                                    [bp_blockuser] => 0
                                    [bp_blog_comments] => 0
                                    [bp_blog_preferences] => 0
                                    [bp_blog_story] => 1284067772
                                    [bp_blog_vote] => 1284067772
                                    [bp_buddy_ban_list] => 0
                                    [bp_calendarevents] => 0
                                    [bp_calendars] => 0
                                    [bp_calendarwatchevents] => 0
                                    [bp_cities] => 0
                                    [bp_counties] => 0
                                    [bp_countries] => 0
                                    [bp_featured_profiles] => 0
                                    [bp_gift_master] => 0
                                    [bp_glblsettings] => 0
                                    [bp_hotlist] => 0
                                    [bp_import_questions_xref] => 0
                                    [bp_imported_users] => 0
                                    [bp_instant_message] => 0
                                    [bp_languages] => 0
                                    [bp_letters] => 0
                                    [bp_log] => 1284067746
                                    [bp_mailbox] => 1284063768
                                    [bp_membership] => 0
                                    [bp_news] => 0
                                    [bp_onlineusers] => 1284067764
                                    [bp_pages] => 0
                                    [bp_payment_config] => 0
                                    [bp_payment_modules] => 0
                                    [bp_personality_search] => 0
                                    [bp_plugin] => 0
                                    [bp_plugin_access] => 0
                                    [bp_plugin_config] => 0
                                    [bp_plugin_tables] => 0
                                    [bp_poll_answer] => 1284067499
                                    [bp_poll_option] => 1284067499
                                    [bp_poll_question] => 0
                                    [bp_pollips] => 0
                                    [bp_polloptions] => 0
                                    [bp_polls] => 0
                                    [bp_questionoptions] => 0
                                    [bp_questions] => 0
                                    [bp_ratings] => 0
                                    [bp_report] => 0
                                    [bp_sections] => 0
                                    [bp_shoutbox] => 0
                                    [bp_smilies] => 0
                                    [bp_states] => 0
                                    [bp_stories] => 0
                                    [bp_tellafriend] => 0
                                    [bp_transactions] => 0
                                    [bp_uploadimage] => 0
                                    [bp_user] => 1284067667
                                    [bp_user_actions] => 1284067557
                                    [bp_user_choices] => 0
                                    [bp_user_watched_profiles] => 0
                                    [bp_useralbums] => 0
                                    [bp_userpreference] => 1284067518
                                    [bp_userrating] => 0
                                    [bp_usersearches] => 0
                                    [bp_usersnaps] => 0
                                    [bp_usersnaps_bkp] => 0
                                    [bp_usertemplates] => 0
                                    [bp_uservideos] => 0
                                    [bp_views_winks] => 1284067557
                                    [bp_zipcodes] => 0
                                    [bp_zips] => 0
                                    [osd_blockuser] => 0
                                    [osd_personality_search] => 0
                                    [phpbb_auth_access] => 0
                                    [phpbb_banlist] => 0
                                    [phpbb_categories] => 0
                                    [phpbb_config] => 0
                                    [phpbb_confirm] => 0
                                    [phpbb_disallow] => 0
                                    [phpbb_forum_prune] => 0
                                    [phpbb_forums] => 0
                                    [phpbb_groups] => 0
                                    [phpbb_inline_ads] => 0
                                    [phpbb_posts] => 0
                                    [phpbb_posts_text] => 0
                                    [phpbb_privmsgs] => 0
                                    [phpbb_privmsgs_text] => 0
                                    [phpbb_ranks] => 0
                                    [phpbb_search_results] => 0
                                    [phpbb_search_wordlist] => 0
                                    [phpbb_search_wordmatch] => 0
                                    [phpbb_sessions] => 0
                                    [phpbb_sessions_keys] => 0
                                    [phpbb_smilies] => 0
                                    [phpbb_themes] => 0
                                    [phpbb_themes_name] => 0
                                    [phpbb_topics] => 0
                                    [phpbb_topics_watch] => 0
                                    [phpbb_user_group] => 0
                                    [phpbb_users] => 0
                                    [phpbb_vote_desc] => 0
                                    [phpbb_vote_results] => 0
                                    [phpbb_vote_voters] => 0
                                    [phpbb_words] => 0
                                    [v3chat_room_badwords] => 0
                                    [v3chat_room_banners] => 0
                                    [v3chat_room_bans] => 0
                                    [v3chat_room_blocked] => 0
                                    [v3chat_room_messages] => 0
                                    [v3chat_room_private] => 0
                                    [v3chat_room_rooms] => 0
                                    [v3chat_room_users] => 1284067239
                                )

                            [dsn] => Array
                                (
                                    [phptype] => mysqlc
                                    [dbsyntax] => mysqlc
                                    [username] => buscapar_busca
                                    [password] => busca123
                                    [protocol] => tcp
                                    [hostspec] => localhost
                                    [port] => 
                                    [socket] => 
                                    [database] => buscapar_busca
                                )

                            [_dsninfo] => Array
                                (
                                    [phptype] => mysqlc
                                    [dbsyntax] => mysqlc
                                    [username] => buscapar_busca
                                    [password] => busca123
                                    [protocol] => tcp
                                    [hostspec] => localhost
                                    [port] => 
                                    [socket] => 
                                    [database] => buscapar_busca
                                )

                            [_dboptions] => Array
                                (
                                    [persistent] => 1
                                )

                            [_connected] => 1
                            [features] => Array
                                (
                                    [prepare] => 
                                    [pconnect] => 1
                                    [transactions] => 1
                                    [limit] => alter
                                )

                            [errorcode_map] => Array
                                (
                                    [1004] => -15
                                    [1005] => -15
                                    [1006] => -15
                                    [1007] => -5
                                    [1008] => -17
                                    [1022] => -5
                                    [1046] => -14
                                    [1050] => -5
                                    [1051] => -18
                                    [1054] => -19
                                    [1062] => -5
                                    [1064] => -2
                                    [1100] => -21
                                    [1136] => -22
                                    [1146] => -18
                                    [1048] => -3
                                    [1216] => -3
                                )

                            [prepared_queries] => Array
                                (
                                    [0] => SELECT * from  
                                    [1] => select distinct lang from  
                                    [2] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [4] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [5] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [7] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [8] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [10] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [11] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [13] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [14] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [16] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [17] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [19] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [20] => select descr from   where lang=  and mainkey=   
                                    [21] => select descr from   where lang=  and mainkey=   
                                    [22] => select descr from   where lang=  and mainkey=   
                                    [23] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [25] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [26] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [28] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [29] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [31] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [32] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [34] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [35] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [37] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [38] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [40] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [41] => select descr from   where lang=  and mainkey=   
                                    [42] => select descr from   where lang=  and mainkey=   
                                    [43] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [45] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [46] => select id, section from   where enabled =    order by displayorder asc
                                    [47] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [48] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [49] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [50] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [51] => select id, displayorder, section from  
                                    [52] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [53] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [54] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [55] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [57] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [59] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [60] => select code, name from   order by name 
                                    [61] => SELECT count(ou.userid) as onlineusers FROM   ou,   as user where ou.userid <> ifnull( ,-1) and ou.userid = user.id and user.allow_viewonline =   
                                    [62] => SELECT pollid FROM   WHERE enabled =   AND active =   and date >=  
                                    [64] => SELECT * FROM   where enabled =   order by date desc limit 0,1
                                    [65] => SELECT * FROM   where id=  
                                    [66] => select descr from   where lang=  and mainkey=   
                                    [67] => SELECT * FROM   order by date desc limit 0,2
                                    [69] => select descr from   where lang=  and mainkey=   
                                    [70] => 
      SELECT s.id, s.userid, s.adminid, s.date_posted, s.title, s.story, s.views, IF(ROUND(AVG(v.vote),0) IS NULL,0, ROUND(AVG(v.vote),0)) AS votes, COUNT(v.vote) AS num_votes

      FROM   s

      LEFT JOIN   v ON s.id = v.storyid

      WHERE  s.adminid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                    [72] => 
      SELECT s.id, s.userid, s.adminid, s.date_posted, s.title, s.story, s.views, IF(ROUND(AVG(v.vote),0) IS NULL,0, ROUND(AVG(v.vote),0)) AS votes, COUNT(v.vote) AS num_votes

      FROM   s

      LEFT JOIN   v ON s.id = v.storyid

      WHERE  s.userid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                    [74] => SELECT id FROM   WHERE ( startdate <=   AND  expdate >=   ) AND enabled =   and ( language is null or language =  )
                                    [76] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [78] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [79] => SELECT * FROM   where lastactivitytime <  
                                    [81] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [82] => select count(*) from   where active =   and regdate >   and status in (  ,  ) 
                                    [84] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [85] => select regdate from   where status in (  ,  )
                                    [86] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [87] => select sum(if(gender='M',1,0)) as gents, sum(if(gender='F',1,0)) as females, sum(if(gender='C',1,0)) as couples from   where active =   and status in ( ,  )
                                    [88] => select count(*) from   where ins_time >   
                                    [89] => select count(*) from   where ins_time >   
                                )

                            [prepare_maxstmt] => 0
                            [last_query] => select count(*) from bp_usersnaps where ins_time > 1283462974 
                            [fetchmode_object_class] => stdClass
                            [options] => Array
                                (
                                    [persistent] => 1
                                    [ssl] => 
                                    [debug] => 0
                                    [seqname_format] => %s_seq
                                    [autofree] => 
                                    [portability] => 0
                                    [optimize] => performance
                                )

                            [dbh] => 
                            [_debug] => 
                            [_default_error_mode] => 
                            [_default_error_options] => 
                            [_default_error_handler] => 
                            [_error_class] => DB_Error
                            [_expected_errors] => Array
                                (
                                )

                        )

                    [args] => Array
                        (
                            [0] => -14
                        )

                )

            [5] => Array
                (
                    [file] => /home/buscapar/public_html/libs/Pear/DB/mysqlc.php
                    [line] => 1535
                    [function] => simpleQuery
                    [class] => DB_mysqlc
                    [type] => ->
                    [object] => DB_mysqlc Object
                        (
                            [connection] => Resource id #23
                            [phptype] => 
                            [dbsyntax] => mysql
                            [prepare_tokens] => Array
                                (
                                    [0] => Array
                                        (
                                            [0] => SELECT * from 
                                            [1] => 
                                        )

                                    [1] => Array
                                        (
                                            [0] => select distinct lang from 
                                            [1] => 
                                        )

                                    [2] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [4] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [5] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [7] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [8] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [10] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [11] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [13] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [14] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [16] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [17] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [19] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [20] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [21] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [22] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [23] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [25] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [26] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [28] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [29] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [31] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [32] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [34] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [35] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [37] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [38] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [40] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [41] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [42] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [43] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [45] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [46] => Array
                                        (
                                            [0] => select id, section from 
                                            [1] =>  where enabled = 
                                            [2] =>   order by displayorder asc
                                        )

                                    [47] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [48] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [49] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [50] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [51] => Array
                                        (
                                            [0] => select id, displayorder, section from 
                                            [1] => 
                                        )

                                    [52] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [53] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [54] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [55] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [57] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [59] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [60] => Array
                                        (
                                            [0] => select code, name from 
                                            [1] =>  order by name 
                                        )

                                    [61] => Array
                                        (
                                            [0] => SELECT count(ou.userid) as onlineusers FROM 
                                            [1] =>  ou, 
                                            [2] =>  as user where ou.userid <> ifnull(
                                            [3] => ,-1) and ou.userid = user.id and user.allow_viewonline = 
                                            [4] =>  
                                        )

                                    [62] => Array
                                        (
                                            [0] => SELECT pollid FROM 
                                            [1] =>  WHERE enabled = 
                                            [2] =>  AND active = 
                                            [3] =>  and date >= 
                                            [4] => 
                                        )

                                    [64] => Array
                                        (
                                            [0] => SELECT * FROM 
                                            [1] =>  where enabled = 
                                            [2] =>  order by date desc limit 0,1
                                        )

                                    [65] => Array
                                        (
                                            [0] => SELECT * FROM 
                                            [1] =>  where id= 
                                            [2] => 
                                        )

                                    [66] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [67] => Array
                                        (
                                            [0] => SELECT * FROM 
                                            [1] =>  order by date desc limit 0,2
                                        )

                                    [69] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [70] => Array
                                        (
                                            [0] => 
      SELECT s.id, s.userid, s.adminid, s.date_posted, s.title, s.story, s.views, IF(ROUND(AVG(v.vote),0) IS NULL,0, ROUND(AVG(v.vote),0)) AS votes, COUNT(v.vote) AS num_votes

      FROM 
                                            [1] =>  s

      LEFT JOIN 
                                            [2] =>  v ON s.id = v.storyid

      WHERE  s.adminid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                        )

                                    [72] => Array
                                        (
                                            [0] => 
      SELECT s.id, s.userid, s.adminid, s.date_posted, s.title, s.story, s.views, IF(ROUND(AVG(v.vote),0) IS NULL,0, ROUND(AVG(v.vote),0)) AS votes, COUNT(v.vote) AS num_votes

      FROM 
                                            [1] =>  s

      LEFT JOIN 
                                            [2] =>  v ON s.id = v.storyid

      WHERE  s.userid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                        )

                                    [74] => Array
                                        (
                                            [0] => SELECT id FROM 
                                            [1] =>  WHERE ( startdate <= 
                                            [2] =>  AND  expdate >= 
                                            [3] =>  ) AND enabled = 
                                            [4] =>  and ( language is null or language = 
                                            [5] => )
                                        )

                                    [76] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [78] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [79] => Array
                                        (
                                            [0] => SELECT * FROM 
                                            [1] =>  where lastactivitytime < 
                                            [2] => 
                                        )

                                    [81] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [82] => Array
                                        (
                                            [0] => select count(*) from 
                                            [1] =>  where active = 
                                            [2] =>  and regdate > 
                                            [3] =>  and status in ( 
                                            [4] => , 
                                            [5] => ) 
                                        )

                                    [84] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [85] => Array
                                        (
                                            [0] => select regdate from 
                                            [1] =>  where status in ( 
                                            [2] => , 
                                            [3] => )
                                        )

                                    [86] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [87] => Array
                                        (
                                            [0] => select sum(if(gender='M',1,0)) as gents, sum(if(gender='F',1,0)) as females, sum(if(gender='C',1,0)) as couples from 
                                            [1] =>  where active = 
                                            [2] =>  and status in (
                                            [3] => , 
                                            [4] => )
                                        )

                                    [88] => Array
                                        (
                                            [0] => select count(*) from 
                                            [1] =>  where ins_time > 
                                            [2] =>  
                                        )

                                    [89] => Array
                                        (
                                            [0] => select count(*) from 
                                            [1] =>  where ins_time > 
                                            [2] =>  
                                        )

                                )

                            [prepare_types] => Array
                                (
                                    [0] => Array
                                        (
                                            [0] => 3
                                        )

                                    [1] => Array
                                        (
                                            [0] => 3
                                        )

                                    [2] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [4] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [5] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [7] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [8] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [10] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [11] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [13] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [14] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [16] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [17] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [19] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [20] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [21] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [22] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [23] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [25] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [26] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [28] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [29] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [31] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [32] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [34] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [35] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [37] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [38] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [40] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [41] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [42] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [43] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [45] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [46] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                    [47] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [48] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [49] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [50] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [51] => Array
                                        (
                                            [0] => 3
                                        )

                                    [52] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [53] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [54] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [55] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [57] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [59] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [60] => Array
                                        (
                                            [0] => 3
                                        )

                                    [61] => Array
                                        (
                                            [0] => 3
                                            [1] => 3
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [62] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [64] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                    [65] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                    [66] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [67] => Array
                                        (
                                            [0] => 3
                                        )

                                    [69] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [70] => Array
                                        (
                                            [0] => 3
                                            [1] => 3
                                        )

                                    [72] => Array
                                        (
                                            [0] => 3
                                            [1] => 3
                                        )

                                    [74] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                            [4] => 1
                                        )

                                    [76] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [78] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [79] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                    [81] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [82] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                            [4] => 1
                                        )

                                    [84] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [85] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [86] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [87] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [88] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                    [89] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                )

                            [num_rows] => Array
                                (
                                )

                            [transaction_opcount] => 0
                            [autocommit] => 1
                            [fetchmode] => 2
                            [_db] => buscapar_busca
                            [cached_tables] => Array
                                (
                                    [bp_admin] => 0
                                    [bp_admin_permissions] => 0
                                    [bp_adminemails] => 0
                                    [bp_aff_referals] => 0
                                    [bp_affiliates] => 0
                                    [bp_articles] => 0
                                    [bp_banners] => 1284065873
                                    [bp_blockuser] => 0
                                    [bp_blog_comments] => 0
                                    [bp_blog_preferences] => 0
                                    [bp_blog_story] => 1284067772
                                    [bp_blog_vote] => 1284067772
                                    [bp_buddy_ban_list] => 0
                                    [bp_calendarevents] => 0
                                    [bp_calendars] => 0
                                    [bp_calendarwatchevents] => 0
                                    [bp_cities] => 0
                                    [bp_counties] => 0
                                    [bp_countries] => 0
                                    [bp_featured_profiles] => 0
                                    [bp_gift_master] => 0
                                    [bp_glblsettings] => 0
                                    [bp_hotlist] => 0
                                    [bp_import_questions_xref] => 0
                                    [bp_imported_users] => 0
                                    [bp_instant_message] => 0
                                    [bp_languages] => 0
                                    [bp_letters] => 0
                                    [bp_log] => 1284067746
                                    [bp_mailbox] => 1284063768
                                    [bp_membership] => 0
                                    [bp_news] => 0
                                    [bp_onlineusers] => 1284067764
                                    [bp_pages] => 0
                                    [bp_payment_config] => 0
                                    [bp_payment_modules] => 0
                                    [bp_personality_search] => 0
                                    [bp_plugin] => 0
                                    [bp_plugin_access] => 0
                                    [bp_plugin_config] => 0
                                    [bp_plugin_tables] => 0
                                    [bp_poll_answer] => 1284067499
                                    [bp_poll_option] => 1284067499
                                    [bp_poll_question] => 0
                                    [bp_pollips] => 0
                                    [bp_polloptions] => 0
                                    [bp_polls] => 0
                                    [bp_questionoptions] => 0
                                    [bp_questions] => 0
                                    [bp_ratings] => 0
                                    [bp_report] => 0
                                    [bp_sections] => 0
                                    [bp_shoutbox] => 0
                                    [bp_smilies] => 0
                                    [bp_states] => 0
                                    [bp_stories] => 0
                                    [bp_tellafriend] => 0
                                    [bp_transactions] => 0
                                    [bp_uploadimage] => 0
                                    [bp_user] => 1284067667
                                    [bp_user_actions] => 1284067557
                                    [bp_user_choices] => 0
                                    [bp_user_watched_profiles] => 0
                                    [bp_useralbums] => 0
                                    [bp_userpreference] => 1284067518
                                    [bp_userrating] => 0
                                    [bp_usersearches] => 0
                                    [bp_usersnaps] => 0
                                    [bp_usersnaps_bkp] => 0
                                    [bp_usertemplates] => 0
                                    [bp_uservideos] => 0
                                    [bp_views_winks] => 1284067557
                                    [bp_zipcodes] => 0
                                    [bp_zips] => 0
                                    [osd_blockuser] => 0
                                    [osd_personality_search] => 0
                                    [phpbb_auth_access] => 0
                                    [phpbb_banlist] => 0
                                    [phpbb_categories] => 0
                                    [phpbb_config] => 0
                                    [phpbb_confirm] => 0
                                    [phpbb_disallow] => 0
                                    [phpbb_forum_prune] => 0
                                    [phpbb_forums] => 0
                                    [phpbb_groups] => 0
                                    [phpbb_inline_ads] => 0
                                    [phpbb_posts] => 0
                                    [phpbb_posts_text] => 0
                                    [phpbb_privmsgs] => 0
                                    [phpbb_privmsgs_text] => 0
                                    [phpbb_ranks] => 0
                                    [phpbb_search_results] => 0
                                    [phpbb_search_wordlist] => 0
                                    [phpbb_search_wordmatch] => 0
                                    [phpbb_sessions] => 0
                                    [phpbb_sessions_keys] => 0
                                    [phpbb_smilies] => 0
                                    [phpbb_themes] => 0
                                    [phpbb_themes_name] => 0
                                    [phpbb_topics] => 0
                                    [phpbb_topics_watch] => 0
                                    [phpbb_user_group] => 0
                                    [phpbb_users] => 0
                                    [phpbb_vote_desc] => 0
                                    [phpbb_vote_results] => 0
                                    [phpbb_vote_voters] => 0
                                    [phpbb_words] => 0
                                    [v3chat_room_badwords] => 0
                                    [v3chat_room_banners] => 0
                                    [v3chat_room_bans] => 0
                                    [v3chat_room_blocked] => 0
                                    [v3chat_room_messages] => 0
                                    [v3chat_room_private] => 0
                                    [v3chat_room_rooms] => 0
                                    [v3chat_room_users] => 1284067239
                                )

                            [dsn] => Array
                                (
                                    [phptype] => mysqlc
                                    [dbsyntax] => mysqlc
                                    [username] => buscapar_busca
                                    [password] => busca123
                                    [protocol] => tcp
                                    [hostspec] => localhost
                                    [port] => 
                                    [socket] => 
                                    [database] => buscapar_busca
                                )

                            [_dsninfo] => Array
                                (
                                    [phptype] => mysqlc
                                    [dbsyntax] => mysqlc
                                    [username] => buscapar_busca
                                    [password] => busca123
                                    [protocol] => tcp
                                    [hostspec] => localhost
                                    [port] => 
                                    [socket] => 
                                    [database] => buscapar_busca
                                )

                            [_dboptions] => Array
                                (
                                    [persistent] => 1
                                )

                            [_connected] => 1
                            [features] => Array
                                (
                                    [prepare] => 
                                    [pconnect] => 1
                                    [transactions] => 1
                                    [limit] => alter
                                )

                            [errorcode_map] => Array
                                (
                                    [1004] => -15
                                    [1005] => -15
                                    [1006] => -15
                                    [1007] => -5
                                    [1008] => -17
                                    [1022] => -5
                                    [1046] => -14
                                    [1050] => -5
                                    [1051] => -18
                                    [1054] => -19
                                    [1062] => -5
                                    [1064] => -2
                                    [1100] => -21
                                    [1136] => -22
                                    [1146] => -18
                                    [1048] => -3
                                    [1216] => -3
                                )

                            [prepared_queries] => Array
                                (
                                    [0] => SELECT * from  
                                    [1] => select distinct lang from  
                                    [2] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [4] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [5] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [7] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [8] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [10] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [11] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [13] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [14] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [16] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [17] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [19] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [20] => select descr from   where lang=  and mainkey=   
                                    [21] => select descr from   where lang=  and mainkey=   
                                    [22] => select descr from   where lang=  and mainkey=   
                                    [23] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [25] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [26] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [28] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [29] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [31] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [32] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [34] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [35] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [37] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [38] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [40] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [41] => select descr from   where lang=  and mainkey=   
                                    [42] => select descr from   where lang=  and mainkey=   
                                    [43] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [45] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [46] => select id, section from   where enabled =    order by displayorder asc
                                    [47] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [48] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [49] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [50] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [51] => select id, displayorder, section from  
                                    [52] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [53] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [54] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [55] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [57] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [59] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [60] => select code, name from   order by name 
                                    [61] => SELECT count(ou.userid) as onlineusers FROM   ou,   as user where ou.userid <> ifnull( ,-1) and ou.userid = user.id and user.allow_viewonline =   
                                    [62] => SELECT pollid FROM   WHERE enabled =   AND active =   and date >=  
                                    [64] => SELECT * FROM   where enabled =   order by date desc limit 0,1
                                    [65] => SELECT * FROM   where id=  
                                    [66] => select descr from   where lang=  and mainkey=   
                                    [67] => SELECT * FROM   order by date desc limit 0,2
                                    [69] => select descr from   where lang=  and mainkey=   
                                    [70] => 
      SELECT s.id, s.userid, s.adminid, s.date_posted, s.title, s.story, s.views, IF(ROUND(AVG(v.vote),0) IS NULL,0, ROUND(AVG(v.vote),0)) AS votes, COUNT(v.vote) AS num_votes

      FROM   s

      LEFT JOIN   v ON s.id = v.storyid

      WHERE  s.adminid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                    [72] => 
      SELECT s.id, s.userid, s.adminid, s.date_posted, s.title, s.story, s.views, IF(ROUND(AVG(v.vote),0) IS NULL,0, ROUND(AVG(v.vote),0)) AS votes, COUNT(v.vote) AS num_votes

      FROM   s

      LEFT JOIN   v ON s.id = v.storyid

      WHERE  s.userid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                    [74] => SELECT id FROM   WHERE ( startdate <=   AND  expdate >=   ) AND enabled =   and ( language is null or language =  )
                                    [76] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [78] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [79] => SELECT * FROM   where lastactivitytime <  
                                    [81] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [82] => select count(*) from   where active =   and regdate >   and status in (  ,  ) 
                                    [84] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [85] => select regdate from   where status in (  ,  )
                                    [86] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [87] => select sum(if(gender='M',1,0)) as gents, sum(if(gender='F',1,0)) as females, sum(if(gender='C',1,0)) as couples from   where active =   and status in ( ,  )
                                    [88] => select count(*) from   where ins_time >   
                                    [89] => select count(*) from   where ins_time >   
                                )

                            [prepare_maxstmt] => 0
                            [last_query] => select count(*) from bp_usersnaps where ins_time > 1283462974 
                            [fetchmode_object_class] => stdClass
                            [options] => Array
                                (
                                    [persistent] => 1
                                    [ssl] => 
                                    [debug] => 0
                                    [seqname_format] => %s_seq
                                    [autofree] => 
                                    [portability] => 0
                                    [optimize] => performance
                                )

                            [dbh] => 
                            [_debug] => 
                            [_default_error_mode] => 
                            [_default_error_options] => 
                            [_default_error_handler] => 
                            [_error_class] => DB_Error
                            [_expected_errors] => Array
                                (
                                )

                        )

                    [args] => Array
                        (
                            [0] => select count(*) from bp_usersnaps where ins_time > 1283462974 
                        )

                )

            [6] => Array
                (
                    [file] => /home/buscapar/public_html/libs/Pear/DB/mysqlc.php
                    [line] => 969
                    [function] => execute
                    [class] => DB_mysqlc
                    [type] => ->
                    [object] => DB_mysqlc Object
                        (
                            [connection] => Resource id #23
                            [phptype] => 
                            [dbsyntax] => mysql
                            [prepare_tokens] => Array
                                (
                                    [0] => Array
                                        (
                                            [0] => SELECT * from 
                                            [1] => 
                                        )

                                    [1] => Array
                                        (
                                            [0] => select distinct lang from 
                                            [1] => 
                                        )

                                    [2] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [4] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [5] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [7] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [8] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [10] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [11] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [13] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [14] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [16] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [17] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [19] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [20] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [21] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [22] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [23] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [25] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [26] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [28] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [29] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [31] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [32] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [34] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [35] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [37] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [38] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [40] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [41] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [42] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [43] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [45] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [46] => Array
                                        (
                                            [0] => select id, section from 
                                            [1] =>  where enabled = 
                                            [2] =>   order by displayorder asc
                                        )

                                    [47] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [48] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [49] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [50] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [51] => Array
                                        (
                                            [0] => select id, displayorder, section from 
                                            [1] => 
                                        )

                                    [52] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [53] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [54] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [55] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [57] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [59] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [60] => Array
                                        (
                                            [0] => select code, name from 
                                            [1] =>  order by name 
                                        )

                                    [61] => Array
                                        (
                                            [0] => SELECT count(ou.userid) as onlineusers FROM 
                                            [1] =>  ou, 
                                            [2] =>  as user where ou.userid <> ifnull(
                                            [3] => ,-1) and ou.userid = user.id and user.allow_viewonline = 
                                            [4] =>  
                                        )

                                    [62] => Array
                                        (
                                            [0] => SELECT pollid FROM 
                                            [1] =>  WHERE enabled = 
                                            [2] =>  AND active = 
                                            [3] =>  and date >= 
                                            [4] => 
                                        )

                                    [64] => Array
                                        (
                                            [0] => SELECT * FROM 
                                            [1] =>  where enabled = 
                                            [2] =>  order by date desc limit 0,1
                                        )

                                    [65] => Array
                                        (
                                            [0] => SELECT * FROM 
                                            [1] =>  where id= 
                                            [2] => 
                                        )

                                    [66] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [67] => Array
                                        (
                                            [0] => SELECT * FROM 
                                            [1] =>  order by date desc limit 0,2
                                        )

                                    [69] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [70] => Array
                                        (
                                            [0] => 
      SELECT s.id, s.userid, s.adminid, s.date_posted, s.title, s.story, s.views, IF(ROUND(AVG(v.vote),0) IS NULL,0, ROUND(AVG(v.vote),0)) AS votes, COUNT(v.vote) AS num_votes

      FROM 
                                            [1] =>  s

      LEFT JOIN 
                                            [2] =>  v ON s.id = v.storyid

      WHERE  s.adminid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                        )

                                    [72] => Array
                                        (
                                            [0] => 
      SELECT s.id, s.userid, s.adminid, s.date_posted, s.title, s.story, s.views, IF(ROUND(AVG(v.vote),0) IS NULL,0, ROUND(AVG(v.vote),0)) AS votes, COUNT(v.vote) AS num_votes

      FROM 
                                            [1] =>  s

      LEFT JOIN 
                                            [2] =>  v ON s.id = v.storyid

      WHERE  s.userid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                        )

                                    [74] => Array
                                        (
                                            [0] => SELECT id FROM 
                                            [1] =>  WHERE ( startdate <= 
                                            [2] =>  AND  expdate >= 
                                            [3] =>  ) AND enabled = 
                                            [4] =>  and ( language is null or language = 
                                            [5] => )
                                        )

                                    [76] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [78] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [79] => Array
                                        (
                                            [0] => SELECT * FROM 
                                            [1] =>  where lastactivitytime < 
                                            [2] => 
                                        )

                                    [81] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [82] => Array
                                        (
                                            [0] => select count(*) from 
                                            [1] =>  where active = 
                                            [2] =>  and regdate > 
                                            [3] =>  and status in ( 
                                            [4] => , 
                                            [5] => ) 
                                        )

                                    [84] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [85] => Array
                                        (
                                            [0] => select regdate from 
                                            [1] =>  where status in ( 
                                            [2] => , 
                                            [3] => )
                                        )

                                    [86] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [87] => Array
                                        (
                                            [0] => select sum(if(gender='M',1,0)) as gents, sum(if(gender='F',1,0)) as females, sum(if(gender='C',1,0)) as couples from 
                                            [1] =>  where active = 
                                            [2] =>  and status in (
                                            [3] => , 
                                            [4] => )
                                        )

                                    [88] => Array
                                        (
                                            [0] => select count(*) from 
                                            [1] =>  where ins_time > 
                                            [2] =>  
                                        )

                                    [89] => Array
                                        (
                                            [0] => select count(*) from 
                                            [1] =>  where ins_time > 
                                            [2] =>  
                                        )

                                )

                            [prepare_types] => Array
                                (
                                    [0] => Array
                                        (
                                            [0] => 3
                                        )

                                    [1] => Array
                                        (
                                            [0] => 3
                                        )

                                    [2] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [4] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [5] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [7] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [8] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [10] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [11] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [13] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [14] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [16] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [17] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [19] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [20] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [21] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [22] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [23] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [25] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [26] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [28] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [29] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [31] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [32] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [34] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [35] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [37] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [38] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [40] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [41] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [42] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [43] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [45] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [46] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                    [47] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [48] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [49] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [50] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [51] => Array
                                        (
                                            [0] => 3
                                        )

                                    [52] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [53] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [54] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [55] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [57] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [59] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [60] => Array
                                        (
                                            [0] => 3
                                        )

                                    [61] => Array
                                        (
                                            [0] => 3
                                            [1] => 3
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [62] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [64] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                    [65] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                    [66] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [67] => Array
                                        (
                                            [0] => 3
                                        )

                                    [69] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [70] => Array
                                        (
                                            [0] => 3
                                            [1] => 3
                                        )

                                    [72] => Array
                                        (
                                            [0] => 3
                                            [1] => 3
                                        )

                                    [74] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                            [4] => 1
                                        )

                                    [76] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [78] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [79] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                    [81] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [82] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                            [4] => 1
                                        )

                                    [84] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [85] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [86] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [87] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [88] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                    [89] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                )

                            [num_rows] => Array
                                (
                                )

                            [transaction_opcount] => 0
                            [autocommit] => 1
                            [fetchmode] => 2
                            [_db] => buscapar_busca
                            [cached_tables] => Array
                                (
                                    [bp_admin] => 0
                                    [bp_admin_permissions] => 0
                                    [bp_adminemails] => 0
                                    [bp_aff_referals] => 0
                                    [bp_affiliates] => 0
                                    [bp_articles] => 0
                                    [bp_banners] => 1284065873
                                    [bp_blockuser] => 0
                                    [bp_blog_comments] => 0
                                    [bp_blog_preferences] => 0
                                    [bp_blog_story] => 1284067772
                                    [bp_blog_vote] => 1284067772
                                    [bp_buddy_ban_list] => 0
                                    [bp_calendarevents] => 0
                                    [bp_calendars] => 0
                                    [bp_calendarwatchevents] => 0
                                    [bp_cities] => 0
                                    [bp_counties] => 0
                                    [bp_countries] => 0
                                    [bp_featured_profiles] => 0
                                    [bp_gift_master] => 0
                                    [bp_glblsettings] => 0
                                    [bp_hotlist] => 0
                                    [bp_import_questions_xref] => 0
                                    [bp_imported_users] => 0
                                    [bp_instant_message] => 0
                                    [bp_languages] => 0
                                    [bp_letters] => 0
                                    [bp_log] => 1284067746
                                    [bp_mailbox] => 1284063768
                                    [bp_membership] => 0
                                    [bp_news] => 0
                                    [bp_onlineusers] => 1284067764
                                    [bp_pages] => 0
                                    [bp_payment_config] => 0
                                    [bp_payment_modules] => 0
                                    [bp_personality_search] => 0
                                    [bp_plugin] => 0
                                    [bp_plugin_access] => 0
                                    [bp_plugin_config] => 0
                                    [bp_plugin_tables] => 0
                                    [bp_poll_answer] => 1284067499
                                    [bp_poll_option] => 1284067499
                                    [bp_poll_question] => 0
                                    [bp_pollips] => 0
                                    [bp_polloptions] => 0
                                    [bp_polls] => 0
                                    [bp_questionoptions] => 0
                                    [bp_questions] => 0
                                    [bp_ratings] => 0
                                    [bp_report] => 0
                                    [bp_sections] => 0
                                    [bp_shoutbox] => 0
                                    [bp_smilies] => 0
                                    [bp_states] => 0
                                    [bp_stories] => 0
                                    [bp_tellafriend] => 0
                                    [bp_transactions] => 0
                                    [bp_uploadimage] => 0
                                    [bp_user] => 1284067667
                                    [bp_user_actions] => 1284067557
                                    [bp_user_choices] => 0
                                    [bp_user_watched_profiles] => 0
                                    [bp_useralbums] => 0
                                    [bp_userpreference] => 1284067518
                                    [bp_userrating] => 0
                                    [bp_usersearches] => 0
                                    [bp_usersnaps] => 0
                                    [bp_usersnaps_bkp] => 0
                                    [bp_usertemplates] => 0
                                    [bp_uservideos] => 0
                                    [bp_views_winks] => 1284067557
                                    [bp_zipcodes] => 0
                                    [bp_zips] => 0
                                    [osd_blockuser] => 0
                                    [osd_personality_search] => 0
                                    [phpbb_auth_access] => 0
                                    [phpbb_banlist] => 0
                                    [phpbb_categories] => 0
                                    [phpbb_config] => 0
                                    [phpbb_confirm] => 0
                                    [phpbb_disallow] => 0
                                    [phpbb_forum_prune] => 0
                                    [phpbb_forums] => 0
                                    [phpbb_groups] => 0
                                    [phpbb_inline_ads] => 0
                                    [phpbb_posts] => 0
                                    [phpbb_posts_text] => 0
                                    [phpbb_privmsgs] => 0
                                    [phpbb_privmsgs_text] => 0
                                    [phpbb_ranks] => 0
                                    [phpbb_search_results] => 0
                                    [phpbb_search_wordlist] => 0
                                    [phpbb_search_wordmatch] => 0
                                    [phpbb_sessions] => 0
                                    [phpbb_sessions_keys] => 0
                                    [phpbb_smilies] => 0
                                    [phpbb_themes] => 0
                                    [phpbb_themes_name] => 0
                                    [phpbb_topics] => 0
                                    [phpbb_topics_watch] => 0
                                    [phpbb_user_group] => 0
                                    [phpbb_users] => 0
                                    [phpbb_vote_desc] => 0
                                    [phpbb_vote_results] => 0
                                    [phpbb_vote_voters] => 0
                                    [phpbb_words] => 0
                                    [v3chat_room_badwords] => 0
                                    [v3chat_room_banners] => 0
                                    [v3chat_room_bans] => 0
                                    [v3chat_room_blocked] => 0
                                    [v3chat_room_messages] => 0
                                    [v3chat_room_private] => 0
                                    [v3chat_room_rooms] => 0
                                    [v3chat_room_users] => 1284067239
                                )

                            [dsn] => Array
                                (
                                    [phptype] => mysqlc
                                    [dbsyntax] => mysqlc
                                    [username] => buscapar_busca
                                    [password] => busca123
                                    [protocol] => tcp
                                    [hostspec] => localhost
                                    [port] => 
                                    [socket] => 
                                    [database] => buscapar_busca
                                )

                            [_dsninfo] => Array
                                (
                                    [phptype] => mysqlc
                                    [dbsyntax] => mysqlc
                                    [username] => buscapar_busca
                                    [password] => busca123
                                    [protocol] => tcp
                                    [hostspec] => localhost
                                    [port] => 
                                    [socket] => 
                                    [database] => buscapar_busca
                                )

                            [_dboptions] => Array
                                (
                                    [persistent] => 1
                                )

                            [_connected] => 1
                            [features] => Array
                                (
                                    [prepare] => 
                                    [pconnect] => 1
                                    [transactions] => 1
                                    [limit] => alter
                                )

                            [errorcode_map] => Array
                                (
                                    [1004] => -15
                                    [1005] => -15
                                    [1006] => -15
                                    [1007] => -5
                                    [1008] => -17
                                    [1022] => -5
                                    [1046] => -14
                                    [1050] => -5
                                    [1051] => -18
                                    [1054] => -19
                                    [1062] => -5
                                    [1064] => -2
                                    [1100] => -21
                                    [1136] => -22
                                    [1146] => -18
                                    [1048] => -3
                                    [1216] => -3
                                )

                            [prepared_queries] => Array
                                (
                                    [0] => SELECT * from  
                                    [1] => select distinct lang from  
                                    [2] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [4] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [5] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [7] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [8] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [10] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [11] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [13] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [14] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [16] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [17] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [19] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [20] => select descr from   where lang=  and mainkey=   
                                    [21] => select descr from   where lang=  and mainkey=   
                                    [22] => select descr from   where lang=  and mainkey=   
                                    [23] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [25] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [26] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [28] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [29] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [31] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [32] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [34] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [35] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [37] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [38] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [40] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [41] => select descr from   where lang=  and mainkey=   
                                    [42] => select descr from   where lang=  and mainkey=   
                                    [43] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [45] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [46] => select id, section from   where enabled =    order by displayorder asc
                                    [47] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [48] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [49] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [50] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [51] => select id, displayorder, section from  
                                    [52] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [53] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [54] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [55] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [57] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [59] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [60] => select code, name from   order by name 
                                    [61] => SELECT count(ou.userid) as onlineusers FROM   ou,   as user where ou.userid <> ifnull( ,-1) and ou.userid = user.id and user.allow_viewonline =   
                                    [62] => SELECT pollid FROM   WHERE enabled =   AND active =   and date >=  
                                    [64] => SELECT * FROM   where enabled =   order by date desc limit 0,1
                                    [65] => SELECT * FROM   where id=  
                                    [66] => select descr from   where lang=  and mainkey=   
                                    [67] => SELECT * FROM   order by date desc limit 0,2
                                    [69] => select descr from   where lang=  and mainkey=   
                                    [70] => 
      SELECT s.id, s.userid, s.adminid, s.date_posted, s.title, s.story, s.views, IF(ROUND(AVG(v.vote),0) IS NULL,0, ROUND(AVG(v.vote),0)) AS votes, COUNT(v.vote) AS num_votes

      FROM   s

      LEFT JOIN   v ON s.id = v.storyid

      WHERE  s.adminid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                    [72] => 
      SELECT s.id, s.userid, s.adminid, s.date_posted, s.title, s.story, s.views, IF(ROUND(AVG(v.vote),0) IS NULL,0, ROUND(AVG(v.vote),0)) AS votes, COUNT(v.vote) AS num_votes

      FROM   s

      LEFT JOIN   v ON s.id = v.storyid

      WHERE  s.userid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                    [74] => SELECT id FROM   WHERE ( startdate <=   AND  expdate >=   ) AND enabled =   and ( language is null or language =  )
                                    [76] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [78] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [79] => SELECT * FROM   where lastactivitytime <  
                                    [81] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [82] => select count(*) from   where active =   and regdate >   and status in (  ,  ) 
                                    [84] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [85] => select regdate from   where status in (  ,  )
                                    [86] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [87] => select sum(if(gender='M',1,0)) as gents, sum(if(gender='F',1,0)) as females, sum(if(gender='C',1,0)) as couples from   where active =   and status in ( ,  )
                                    [88] => select count(*) from   where ins_time >   
                                    [89] => select count(*) from   where ins_time >   
                                )

                            [prepare_maxstmt] => 0
                            [last_query] => select count(*) from bp_usersnaps where ins_time > 1283462974 
                            [fetchmode_object_class] => stdClass
                            [options] => Array
                                (
                                    [persistent] => 1
                                    [ssl] => 
                                    [debug] => 0
                                    [seqname_format] => %s_seq
                                    [autofree] => 
                                    [portability] => 0
                                    [optimize] => performance
                                )

                            [dbh] => 
                            [_debug] => 
                            [_default_error_mode] => 
                            [_default_error_options] => 
                            [_default_error_handler] => 
                            [_error_class] => DB_Error
                            [_expected_errors] => Array
                                (
                                )

                        )

                    [args] => Array
                        (
                            [0] => 89
                            [1] => Array
                                (
                                    [0] => bp_usersnaps
                                    [1] => 1283462974
                                )

                        )

                )

            [7] => Array
                (
                    [file] => /home/buscapar/public_html/init.php
                    [line] => 548
                    [function] => getOne
                    [class] => DB_mysqlc
                    [type] => ->
                    [object] => DB_mysqlc Object
                        (
                            [connection] => Resource id #23
                            [phptype] => 
                            [dbsyntax] => mysql
                            [prepare_tokens] => Array
                                (
                                    [0] => Array
                                        (
                                            [0] => SELECT * from 
                                            [1] => 
                                        )

                                    [1] => Array
                                        (
                                            [0] => select distinct lang from 
                                            [1] => 
                                        )

                                    [2] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [4] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [5] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [7] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [8] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [10] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [11] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [13] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [14] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [16] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [17] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [19] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [20] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [21] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [22] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [23] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [25] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [26] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [28] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [29] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [31] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [32] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [34] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [35] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [37] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [38] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [40] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [41] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [42] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [43] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [45] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [46] => Array
                                        (
                                            [0] => select id, section from 
                                            [1] =>  where enabled = 
                                            [2] =>   order by displayorder asc
                                        )

                                    [47] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [48] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [49] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [50] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [51] => Array
                                        (
                                            [0] => select id, displayorder, section from 
                                            [1] => 
                                        )

                                    [52] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [53] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [54] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [55] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [57] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [59] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [60] => Array
                                        (
                                            [0] => select code, name from 
                                            [1] =>  order by name 
                                        )

                                    [61] => Array
                                        (
                                            [0] => SELECT count(ou.userid) as onlineusers FROM 
                                            [1] =>  ou, 
                                            [2] =>  as user where ou.userid <> ifnull(
                                            [3] => ,-1) and ou.userid = user.id and user.allow_viewonline = 
                                            [4] =>  
                                        )

                                    [62] => Array
                                        (
                                            [0] => SELECT pollid FROM 
                                            [1] =>  WHERE enabled = 
                                            [2] =>  AND active = 
                                            [3] =>  and date >= 
                                            [4] => 
                                        )

                                    [64] => Array
                                        (
                                            [0] => SELECT * FROM 
                                            [1] =>  where enabled = 
                                            [2] =>  order by date desc limit 0,1
                                        )

                                    [65] => Array
                                        (
                                            [0] => SELECT * FROM 
                                            [1] =>  where id= 
                                            [2] => 
                                        )

                                    [66] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [67] => Array
                                        (
                                            [0] => SELECT * FROM 
                                            [1] =>  order by date desc limit 0,2
                                        )

                                    [69] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  
                                        )

                                    [70] => Array
                                        (
                                            [0] => 
      SELECT s.id, s.userid, s.adminid, s.date_posted, s.title, s.story, s.views, IF(ROUND(AVG(v.vote),0) IS NULL,0, ROUND(AVG(v.vote),0)) AS votes, COUNT(v.vote) AS num_votes

      FROM 
                                            [1] =>  s

      LEFT JOIN 
                                            [2] =>  v ON s.id = v.storyid

      WHERE  s.adminid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                        )

                                    [72] => Array
                                        (
                                            [0] => 
      SELECT s.id, s.userid, s.adminid, s.date_posted, s.title, s.story, s.views, IF(ROUND(AVG(v.vote),0) IS NULL,0, ROUND(AVG(v.vote),0)) AS votes, COUNT(v.vote) AS num_votes

      FROM 
                                            [1] =>  s

      LEFT JOIN 
                                            [2] =>  v ON s.id = v.storyid

      WHERE  s.userid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                        )

                                    [74] => Array
                                        (
                                            [0] => SELECT id FROM 
                                            [1] =>  WHERE ( startdate <= 
                                            [2] =>  AND  expdate >= 
                                            [3] =>  ) AND enabled = 
                                            [4] =>  and ( language is null or language = 
                                            [5] => )
                                        )

                                    [76] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [78] => Array
                                        (
                                            [0] => select subkey, descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  order by id
                                        )

                                    [79] => Array
                                        (
                                            [0] => SELECT * FROM 
                                            [1] =>  where lastactivitytime < 
                                            [2] => 
                                        )

                                    [81] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [82] => Array
                                        (
                                            [0] => select count(*) from 
                                            [1] =>  where active = 
                                            [2] =>  and regdate > 
                                            [3] =>  and status in ( 
                                            [4] => , 
                                            [5] => ) 
                                        )

                                    [84] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [85] => Array
                                        (
                                            [0] => select regdate from 
                                            [1] =>  where status in ( 
                                            [2] => , 
                                            [3] => )
                                        )

                                    [86] => Array
                                        (
                                            [0] => select descr from 
                                            [1] =>  where lang=
                                            [2] =>  and mainkey= 
                                            [3] =>  and subkey=
                                            [4] => 
                                        )

                                    [87] => Array
                                        (
                                            [0] => select sum(if(gender='M',1,0)) as gents, sum(if(gender='F',1,0)) as females, sum(if(gender='C',1,0)) as couples from 
                                            [1] =>  where active = 
                                            [2] =>  and status in (
                                            [3] => , 
                                            [4] => )
                                        )

                                    [88] => Array
                                        (
                                            [0] => select count(*) from 
                                            [1] =>  where ins_time > 
                                            [2] =>  
                                        )

                                    [89] => Array
                                        (
                                            [0] => select count(*) from 
                                            [1] =>  where ins_time > 
                                            [2] =>  
                                        )

                                )

                            [prepare_types] => Array
                                (
                                    [0] => Array
                                        (
                                            [0] => 3
                                        )

                                    [1] => Array
                                        (
                                            [0] => 3
                                        )

                                    [2] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [4] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [5] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [7] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [8] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [10] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [11] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [13] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [14] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [16] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [17] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [19] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [20] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [21] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [22] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [23] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [25] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [26] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [28] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [29] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [31] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [32] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [34] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [35] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [37] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [38] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [40] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [41] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [42] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [43] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [45] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [46] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                    [47] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [48] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [49] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [50] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [51] => Array
                                        (
                                            [0] => 3
                                        )

                                    [52] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [53] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [54] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [55] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [57] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [59] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [60] => Array
                                        (
                                            [0] => 3
                                        )

                                    [61] => Array
                                        (
                                            [0] => 3
                                            [1] => 3
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [62] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [64] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                    [65] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                    [66] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [67] => Array
                                        (
                                            [0] => 3
                                        )

                                    [69] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [70] => Array
                                        (
                                            [0] => 3
                                            [1] => 3
                                        )

                                    [72] => Array
                                        (
                                            [0] => 3
                                            [1] => 3
                                        )

                                    [74] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                            [4] => 1
                                        )

                                    [76] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [78] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [79] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                    [81] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [82] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                            [4] => 1
                                        )

                                    [84] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [85] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                        )

                                    [86] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [87] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                            [2] => 1
                                            [3] => 1
                                        )

                                    [88] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                    [89] => Array
                                        (
                                            [0] => 3
                                            [1] => 1
                                        )

                                )

                            [num_rows] => Array
                                (
                                )

                            [transaction_opcount] => 0
                            [autocommit] => 1
                            [fetchmode] => 2
                            [_db] => buscapar_busca
                            [cached_tables] => Array
                                (
                                    [bp_admin] => 0
                                    [bp_admin_permissions] => 0
                                    [bp_adminemails] => 0
                                    [bp_aff_referals] => 0
                                    [bp_affiliates] => 0
                                    [bp_articles] => 0
                                    [bp_banners] => 1284065873
                                    [bp_blockuser] => 0
                                    [bp_blog_comments] => 0
                                    [bp_blog_preferences] => 0
                                    [bp_blog_story] => 1284067772
                                    [bp_blog_vote] => 1284067772
                                    [bp_buddy_ban_list] => 0
                                    [bp_calendarevents] => 0
                                    [bp_calendars] => 0
                                    [bp_calendarwatchevents] => 0
                                    [bp_cities] => 0
                                    [bp_counties] => 0
                                    [bp_countries] => 0
                                    [bp_featured_profiles] => 0
                                    [bp_gift_master] => 0
                                    [bp_glblsettings] => 0
                                    [bp_hotlist] => 0
                                    [bp_import_questions_xref] => 0
                                    [bp_imported_users] => 0
                                    [bp_instant_message] => 0
                                    [bp_languages] => 0
                                    [bp_letters] => 0
                                    [bp_log] => 1284067746
                                    [bp_mailbox] => 1284063768
                                    [bp_membership] => 0
                                    [bp_news] => 0
                                    [bp_onlineusers] => 1284067764
                                    [bp_pages] => 0
                                    [bp_payment_config] => 0
                                    [bp_payment_modules] => 0
                                    [bp_personality_search] => 0
                                    [bp_plugin] => 0
                                    [bp_plugin_access] => 0
                                    [bp_plugin_config] => 0
                                    [bp_plugin_tables] => 0
                                    [bp_poll_answer] => 1284067499
                                    [bp_poll_option] => 1284067499
                                    [bp_poll_question] => 0
                                    [bp_pollips] => 0
                                    [bp_polloptions] => 0
                                    [bp_polls] => 0
                                    [bp_questionoptions] => 0
                                    [bp_questions] => 0
                                    [bp_ratings] => 0
                                    [bp_report] => 0
                                    [bp_sections] => 0
                                    [bp_shoutbox] => 0
                                    [bp_smilies] => 0
                                    [bp_states] => 0
                                    [bp_stories] => 0
                                    [bp_tellafriend] => 0
                                    [bp_transactions] => 0
                                    [bp_uploadimage] => 0
                                    [bp_user] => 1284067667
                                    [bp_user_actions] => 1284067557
                                    [bp_user_choices] => 0
                                    [bp_user_watched_profiles] => 0
                                    [bp_useralbums] => 0
                                    [bp_userpreference] => 1284067518
                                    [bp_userrating] => 0
                                    [bp_usersearches] => 0
                                    [bp_usersnaps] => 0
                                    [bp_usersnaps_bkp] => 0
                                    [bp_usertemplates] => 0
                                    [bp_uservideos] => 0
                                    [bp_views_winks] => 1284067557
                                    [bp_zipcodes] => 0
                                    [bp_zips] => 0
                                    [osd_blockuser] => 0
                                    [osd_personality_search] => 0
                                    [phpbb_auth_access] => 0
                                    [phpbb_banlist] => 0
                                    [phpbb_categories] => 0
                                    [phpbb_config] => 0
                                    [phpbb_confirm] => 0
                                    [phpbb_disallow] => 0
                                    [phpbb_forum_prune] => 0
                                    [phpbb_forums] => 0
                                    [phpbb_groups] => 0
                                    [phpbb_inline_ads] => 0
                                    [phpbb_posts] => 0
                                    [phpbb_posts_text] => 0
                                    [phpbb_privmsgs] => 0
                                    [phpbb_privmsgs_text] => 0
                                    [phpbb_ranks] => 0
                                    [phpbb_search_results] => 0
                                    [phpbb_search_wordlist] => 0
                                    [phpbb_search_wordmatch] => 0
                                    [phpbb_sessions] => 0
                                    [phpbb_sessions_keys] => 0
                                    [phpbb_smilies] => 0
                                    [phpbb_themes] => 0
                                    [phpbb_themes_name] => 0
                                    [phpbb_topics] => 0
                                    [phpbb_topics_watch] => 0
                                    [phpbb_user_group] => 0
                                    [phpbb_users] => 0
                                    [phpbb_vote_desc] => 0
                                    [phpbb_vote_results] => 0
                                    [phpbb_vote_voters] => 0
                                    [phpbb_words] => 0
                                    [v3chat_room_badwords] => 0
                                    [v3chat_room_banners] => 0
                                    [v3chat_room_bans] => 0
                                    [v3chat_room_blocked] => 0
                                    [v3chat_room_messages] => 0
                                    [v3chat_room_private] => 0
                                    [v3chat_room_rooms] => 0
                                    [v3chat_room_users] => 1284067239
                                )

                            [dsn] => Array
                                (
                                    [phptype] => mysqlc
                                    [dbsyntax] => mysqlc
                                    [username] => buscapar_busca
                                    [password] => busca123
                                    [protocol] => tcp
                                    [hostspec] => localhost
                                    [port] => 
                                    [socket] => 
                                    [database] => buscapar_busca
                                )

                            [_dsninfo] => Array
                                (
                                    [phptype] => mysqlc
                                    [dbsyntax] => mysqlc
                                    [username] => buscapar_busca
                                    [password] => busca123
                                    [protocol] => tcp
                                    [hostspec] => localhost
                                    [port] => 
                                    [socket] => 
                                    [database] => buscapar_busca
                                )

                            [_dboptions] => Array
                                (
                                    [persistent] => 1
                                )

                            [_connected] => 1
                            [features] => Array
                                (
                                    [prepare] => 
                                    [pconnect] => 1
                                    [transactions] => 1
                                    [limit] => alter
                                )

                            [errorcode_map] => Array
                                (
                                    [1004] => -15
                                    [1005] => -15
                                    [1006] => -15
                                    [1007] => -5
                                    [1008] => -17
                                    [1022] => -5
                                    [1046] => -14
                                    [1050] => -5
                                    [1051] => -18
                                    [1054] => -19
                                    [1062] => -5
                                    [1064] => -2
                                    [1100] => -21
                                    [1136] => -22
                                    [1146] => -18
                                    [1048] => -3
                                    [1216] => -3
                                )

                            [prepared_queries] => Array
                                (
                                    [0] => SELECT * from  
                                    [1] => select distinct lang from  
                                    [2] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [4] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [5] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [7] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [8] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [10] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [11] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [13] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [14] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [16] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [17] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [19] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [20] => select descr from   where lang=  and mainkey=   
                                    [21] => select descr from   where lang=  and mainkey=   
                                    [22] => select descr from   where lang=  and mainkey=   
                                    [23] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [25] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [26] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [28] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [29] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [31] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [32] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [34] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [35] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [37] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [38] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [40] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [41] => select descr from   where lang=  and mainkey=   
                                    [42] => select descr from   where lang=  and mainkey=   
                                    [43] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [45] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [46] => select id, section from   where enabled =    order by displayorder asc
                                    [47] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [48] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [49] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [50] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [51] => select id, displayorder, section from  
                                    [52] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [53] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [54] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [55] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [57] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [59] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [60] => select code, name from   order by name 
                                    [61] => SELECT count(ou.userid) as onlineusers FROM   ou,   as user where ou.userid <> ifnull( ,-1) and ou.userid = user.id and user.allow_viewonline =   
                                    [62] => SELECT pollid FROM   WHERE enabled =   AND active =   and date >=  
                                    [64] => SELECT * FROM   where enabled =   order by date desc limit 0,1
                                    [65] => SELECT * FROM   where id=  
                                    [66] => select descr from   where lang=  and mainkey=   
                                    [67] => SELECT * FROM   order by date desc limit 0,2
                                    [69] => select descr from   where lang=  and mainkey=   
                                    [70] => 
      SELECT s.id, s.userid, s.adminid, s.date_posted, s.title, s.story, s.views, IF(ROUND(AVG(v.vote),0) IS NULL,0, ROUND(AVG(v.vote),0)) AS votes, COUNT(v.vote) AS num_votes

      FROM   s

      LEFT JOIN   v ON s.id = v.storyid

      WHERE  s.adminid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                    [72] => 
      SELECT s.id, s.userid, s.adminid, s.date_posted, s.title, s.story, s.views, IF(ROUND(AVG(v.vote),0) IS NULL,0, ROUND(AVG(v.vote),0)) AS votes, COUNT(v.vote) AS num_votes

      FROM   s

      LEFT JOIN   v ON s.id = v.storyid

      WHERE  s.userid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                    [74] => SELECT id FROM   WHERE ( startdate <=   AND  expdate >=   ) AND enabled =   and ( language is null or language =  )
                                    [76] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [78] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [79] => SELECT * FROM   where lastactivitytime <  
                                    [81] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [82] => select count(*) from   where active =   and regdate >   and status in (  ,  ) 
                                    [84] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [85] => select regdate from   where status in (  ,  )
                                    [86] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [87] => select sum(if(gender='M',1,0)) as gents, sum(if(gender='F',1,0)) as females, sum(if(gender='C',1,0)) as couples from   where active =   and status in ( ,  )
                                    [88] => select count(*) from   where ins_time >   
                                    [89] => select count(*) from   where ins_time >   
                                )

                            [prepare_maxstmt] => 0
                            [last_query] => select count(*) from bp_usersnaps where ins_time > 1283462974 
                            [fetchmode_object_class] => stdClass
                            [options] => Array
                                (
                                    [persistent] => 1
                                    [ssl] => 
                                    [debug] => 0
                                    [seqname_format] => %s_seq
                                    [autofree] => 
                                    [portability] => 0
                                    [optimize] => performance
                                )

                            [dbh] => 
                            [_debug] => 
                            [_default_error_mode] => 
                            [_default_error_options] => 
                            [_default_error_handler] => 
                            [_error_class] => DB_Error
                            [_expected_errors] => Array
                                (
                                )

                        )

                    [args] => Array
                        (
                            [0] => select count(*) from ! where ins_time > ? 
                            [1] => Array
                                (
                                    [0] => bp_usersnaps
                                    [1] => 1283462974
                                )

                        )

                )

            [8] => Array
                (
                    [file] => /home/buscapar/public_html/getsnap.php
                    [line] => 4
                    [args] => Array
                        (
                            [0] => /home/buscapar/public_html/init.php
                        )

                    [function] => include_once
                )

        )

    [callback] => errhndl
)