DB Error: no database selectedDB_Error Object
(
    [error_message_prefix] => 
    [mode] => 16
    [level] => 1024
    [code] => -14
    [message] => DB Error: no database selected
    [userinfo] => SELECT * FROM bp_plugin  WHERE `active` = '1'  [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 * FROM bp_plugin  WHERE `active` = '1'  [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 * FROM bp_plugin  WHERE `active` = '1'  [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] =>  
                                        )

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

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

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

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

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

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

                                    [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.adminid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                        )

                                    [74] => 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
                                        )

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

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

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

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

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

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

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

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

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

                                    [90] => 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] => )
                                        )

                                    [91] => 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
                                        )

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                    [91] => 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] => 0
                                    [bp_blockuser] => 0
                                    [bp_blog_comments] => 0
                                    [bp_blog_preferences] => 0
                                    [bp_blog_story] => 1284068917
                                    [bp_blog_vote] => 1284068917
                                    [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] => 1284068694
                                    [bp_mailbox] => 1284068897
                                    [bp_membership] => 0
                                    [bp_news] => 0
                                    [bp_onlineusers] => 1284068905
                                    [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] => 1284068727
                                    [bp_poll_option] => 1284068727
                                    [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] => 1284068896
                                    [bp_user_actions] => 1284068896
                                    [bp_user_choices] => 0
                                    [bp_user_watched_profiles] => 0
                                    [bp_useralbums] => 0
                                    [bp_userpreference] => 0
                                    [bp_userrating] => 0
                                    [bp_usersearches] => 0
                                    [bp_usersnaps] => 0
                                    [bp_usersnaps_bkp] => 0
                                    [bp_usertemplates] => 0
                                    [bp_uservideos] => 0
                                    [bp_views_winks] => 1284068726
                                    [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] => 1284068660
                                )

                            [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 =   
                                    [63] => SELECT pollid FROM   WHERE enabled =   AND active =   and date >=  
                                    [65] => SELECT * FROM   where enabled =   order by date desc limit 0,1
                                    [66] => SELECT * FROM   where id=  
                                    [68] => select descr from   where lang=  and mainkey=   
                                    [69] => SELECT * FROM   order by date desc limit 0,2
                                    [71] => select descr from   where lang=  and mainkey=   
                                    [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.adminid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                    [74] => 
      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
                                    [76] => SELECT id FROM   WHERE ( startdate <=   AND  expdate >=   ) AND enabled =   and ( language is null or language =  )
                                    [78] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [80] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [81] => SELECT * FROM   where lastactivitytime <  
                                    [83] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [84] => select count(*) from   where active =   and regdate >   and status in (  ,  ) 
                                    [86] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [87] => select regdate from   where status in (  ,  )
                                    [89] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [90] => 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 ( ,  )
                                    [91] => select count(*) from   where ins_time >   
                                )

                            [prepare_maxstmt] => 0
                            [last_query] => SELECT * FROM bp_plugin  WHERE `active` = '1' 
                            [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 * FROM bp_plugin  WHERE `active` = '1'  [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] =>  
                                        )

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

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

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

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

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

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

                                    [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.adminid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                        )

                                    [74] => 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
                                        )

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

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

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

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

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

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

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

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

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

                                    [90] => 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] => )
                                        )

                                    [91] => 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
                                        )

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                    [91] => 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] => 0
                                    [bp_blockuser] => 0
                                    [bp_blog_comments] => 0
                                    [bp_blog_preferences] => 0
                                    [bp_blog_story] => 1284068917
                                    [bp_blog_vote] => 1284068917
                                    [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] => 1284068694
                                    [bp_mailbox] => 1284068897
                                    [bp_membership] => 0
                                    [bp_news] => 0
                                    [bp_onlineusers] => 1284068905
                                    [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] => 1284068727
                                    [bp_poll_option] => 1284068727
                                    [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] => 1284068896
                                    [bp_user_actions] => 1284068896
                                    [bp_user_choices] => 0
                                    [bp_user_watched_profiles] => 0
                                    [bp_useralbums] => 0
                                    [bp_userpreference] => 0
                                    [bp_userrating] => 0
                                    [bp_usersearches] => 0
                                    [bp_usersnaps] => 0
                                    [bp_usersnaps_bkp] => 0
                                    [bp_usertemplates] => 0
                                    [bp_uservideos] => 0
                                    [bp_views_winks] => 1284068726
                                    [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] => 1284068660
                                )

                            [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 =   
                                    [63] => SELECT pollid FROM   WHERE enabled =   AND active =   and date >=  
                                    [65] => SELECT * FROM   where enabled =   order by date desc limit 0,1
                                    [66] => SELECT * FROM   where id=  
                                    [68] => select descr from   where lang=  and mainkey=   
                                    [69] => SELECT * FROM   order by date desc limit 0,2
                                    [71] => select descr from   where lang=  and mainkey=   
                                    [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.adminid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                    [74] => 
      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
                                    [76] => SELECT id FROM   WHERE ( startdate <=   AND  expdate >=   ) AND enabled =   and ( language is null or language =  )
                                    [78] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [80] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [81] => SELECT * FROM   where lastactivitytime <  
                                    [83] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [84] => select count(*) from   where active =   and regdate >   and status in (  ,  ) 
                                    [86] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [87] => select regdate from   where status in (  ,  )
                                    [89] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [90] => 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 ( ,  )
                                    [91] => select count(*) from   where ins_time >   
                                )

                            [prepare_maxstmt] => 0
                            [last_query] => SELECT * FROM bp_plugin  WHERE `active` = '1' 
                            [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] =>  
                                        )

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

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

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

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

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

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

                                    [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.adminid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                        )

                                    [74] => 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
                                        )

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

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

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

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

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

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

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

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

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

                                    [90] => 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] => )
                                        )

                                    [91] => 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
                                        )

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                    [91] => 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] => 0
                                    [bp_blockuser] => 0
                                    [bp_blog_comments] => 0
                                    [bp_blog_preferences] => 0
                                    [bp_blog_story] => 1284068917
                                    [bp_blog_vote] => 1284068917
                                    [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] => 1284068694
                                    [bp_mailbox] => 1284068897
                                    [bp_membership] => 0
                                    [bp_news] => 0
                                    [bp_onlineusers] => 1284068905
                                    [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] => 1284068727
                                    [bp_poll_option] => 1284068727
                                    [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] => 1284068896
                                    [bp_user_actions] => 1284068896
                                    [bp_user_choices] => 0
                                    [bp_user_watched_profiles] => 0
                                    [bp_useralbums] => 0
                                    [bp_userpreference] => 0
                                    [bp_userrating] => 0
                                    [bp_usersearches] => 0
                                    [bp_usersnaps] => 0
                                    [bp_usersnaps_bkp] => 0
                                    [bp_usertemplates] => 0
                                    [bp_uservideos] => 0
                                    [bp_views_winks] => 1284068726
                                    [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] => 1284068660
                                )

                            [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 =   
                                    [63] => SELECT pollid FROM   WHERE enabled =   AND active =   and date >=  
                                    [65] => SELECT * FROM   where enabled =   order by date desc limit 0,1
                                    [66] => SELECT * FROM   where id=  
                                    [68] => select descr from   where lang=  and mainkey=   
                                    [69] => SELECT * FROM   order by date desc limit 0,2
                                    [71] => select descr from   where lang=  and mainkey=   
                                    [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.adminid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                    [74] => 
      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
                                    [76] => SELECT id FROM   WHERE ( startdate <=   AND  expdate >=   ) AND enabled =   and ( language is null or language =  )
                                    [78] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [80] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [81] => SELECT * FROM   where lastactivitytime <  
                                    [83] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [84] => select count(*) from   where active =   and regdate >   and status in (  ,  ) 
                                    [86] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [87] => select regdate from   where status in (  ,  )
                                    [89] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [90] => 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 ( ,  )
                                    [91] => select count(*) from   where ins_time >   
                                )

                            [prepare_maxstmt] => 0
                            [last_query] => SELECT * FROM bp_plugin  WHERE `active` = '1' 
                            [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] => 1455
                    [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] =>  
                                        )

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

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

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

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

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

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

                                    [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.adminid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                        )

                                    [74] => 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
                                        )

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

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

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

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

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

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

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

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

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

                                    [90] => 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] => )
                                        )

                                    [91] => 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
                                        )

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                    [91] => 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] => 0
                                    [bp_blockuser] => 0
                                    [bp_blog_comments] => 0
                                    [bp_blog_preferences] => 0
                                    [bp_blog_story] => 1284068917
                                    [bp_blog_vote] => 1284068917
                                    [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] => 1284068694
                                    [bp_mailbox] => 1284068897
                                    [bp_membership] => 0
                                    [bp_news] => 0
                                    [bp_onlineusers] => 1284068905
                                    [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] => 1284068727
                                    [bp_poll_option] => 1284068727
                                    [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] => 1284068896
                                    [bp_user_actions] => 1284068896
                                    [bp_user_choices] => 0
                                    [bp_user_watched_profiles] => 0
                                    [bp_useralbums] => 0
                                    [bp_userpreference] => 0
                                    [bp_userrating] => 0
                                    [bp_usersearches] => 0
                                    [bp_usersnaps] => 0
                                    [bp_usersnaps_bkp] => 0
                                    [bp_usertemplates] => 0
                                    [bp_uservideos] => 0
                                    [bp_views_winks] => 1284068726
                                    [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] => 1284068660
                                )

                            [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 =   
                                    [63] => SELECT pollid FROM   WHERE enabled =   AND active =   and date >=  
                                    [65] => SELECT * FROM   where enabled =   order by date desc limit 0,1
                                    [66] => SELECT * FROM   where id=  
                                    [68] => select descr from   where lang=  and mainkey=   
                                    [69] => SELECT * FROM   order by date desc limit 0,2
                                    [71] => select descr from   where lang=  and mainkey=   
                                    [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.adminid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                    [74] => 
      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
                                    [76] => SELECT id FROM   WHERE ( startdate <=   AND  expdate >=   ) AND enabled =   and ( language is null or language =  )
                                    [78] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [80] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [81] => SELECT * FROM   where lastactivitytime <  
                                    [83] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [84] => select count(*) from   where active =   and regdate >   and status in (  ,  ) 
                                    [86] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [87] => select regdate from   where status in (  ,  )
                                    [89] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [90] => 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 ( ,  )
                                    [91] => select count(*) from   where ins_time >   
                                )

                            [prepare_maxstmt] => 0
                            [last_query] => SELECT * FROM bp_plugin  WHERE `active` = '1' 
                            [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 * FROM bp_plugin  WHERE `active` = '1' 
                        )

                )

            [6] => Array
                (
                    [file] => /home/buscapar/public_html/libs/Pear/DB/mysqlc.php
                    [line] => 1379
                    [function] => query
                    [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] =>  
                                        )

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

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

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

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

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

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

                                    [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.adminid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                        )

                                    [74] => 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
                                        )

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

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

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

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

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

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

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

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

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

                                    [90] => 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] => )
                                        )

                                    [91] => 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
                                        )

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                    [91] => 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] => 0
                                    [bp_blockuser] => 0
                                    [bp_blog_comments] => 0
                                    [bp_blog_preferences] => 0
                                    [bp_blog_story] => 1284068917
                                    [bp_blog_vote] => 1284068917
                                    [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] => 1284068694
                                    [bp_mailbox] => 1284068897
                                    [bp_membership] => 0
                                    [bp_news] => 0
                                    [bp_onlineusers] => 1284068905
                                    [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] => 1284068727
                                    [bp_poll_option] => 1284068727
                                    [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] => 1284068896
                                    [bp_user_actions] => 1284068896
                                    [bp_user_choices] => 0
                                    [bp_user_watched_profiles] => 0
                                    [bp_useralbums] => 0
                                    [bp_userpreference] => 0
                                    [bp_userrating] => 0
                                    [bp_usersearches] => 0
                                    [bp_usersnaps] => 0
                                    [bp_usersnaps_bkp] => 0
                                    [bp_usertemplates] => 0
                                    [bp_uservideos] => 0
                                    [bp_views_winks] => 1284068726
                                    [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] => 1284068660
                                )

                            [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 =   
                                    [63] => SELECT pollid FROM   WHERE enabled =   AND active =   and date >=  
                                    [65] => SELECT * FROM   where enabled =   order by date desc limit 0,1
                                    [66] => SELECT * FROM   where id=  
                                    [68] => select descr from   where lang=  and mainkey=   
                                    [69] => SELECT * FROM   order by date desc limit 0,2
                                    [71] => select descr from   where lang=  and mainkey=   
                                    [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.adminid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                    [74] => 
      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
                                    [76] => SELECT id FROM   WHERE ( startdate <=   AND  expdate >=   ) AND enabled =   and ( language is null or language =  )
                                    [78] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [80] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [81] => SELECT * FROM   where lastactivitytime <  
                                    [83] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [84] => select count(*) from   where active =   and regdate >   and status in (  ,  ) 
                                    [86] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [87] => select regdate from   where status in (  ,  )
                                    [89] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [90] => 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 ( ,  )
                                    [91] => select count(*) from   where ins_time >   
                                )

                            [prepare_maxstmt] => 0
                            [last_query] => SELECT * FROM bp_plugin  WHERE `active` = '1' 
                            [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 * FROM bp_plugin  WHERE `active` = '1' 
                        )

                )

            [7] => Array
                (
                    [file] => /home/buscapar/public_html/libs/modOsDate/db_class.php
                    [line] => 185
                    [function] => getAll
                    [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] =>  
                                        )

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

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

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

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

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

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

                                    [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.adminid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                        )

                                    [74] => 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
                                        )

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

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

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

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

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

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

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

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

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

                                    [90] => 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] => )
                                        )

                                    [91] => 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
                                        )

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                    [91] => 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] => 0
                                    [bp_blockuser] => 0
                                    [bp_blog_comments] => 0
                                    [bp_blog_preferences] => 0
                                    [bp_blog_story] => 1284068917
                                    [bp_blog_vote] => 1284068917
                                    [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] => 1284068694
                                    [bp_mailbox] => 1284068897
                                    [bp_membership] => 0
                                    [bp_news] => 0
                                    [bp_onlineusers] => 1284068905
                                    [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] => 1284068727
                                    [bp_poll_option] => 1284068727
                                    [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] => 1284068896
                                    [bp_user_actions] => 1284068896
                                    [bp_user_choices] => 0
                                    [bp_user_watched_profiles] => 0
                                    [bp_useralbums] => 0
                                    [bp_userpreference] => 0
                                    [bp_userrating] => 0
                                    [bp_usersearches] => 0
                                    [bp_usersnaps] => 0
                                    [bp_usersnaps_bkp] => 0
                                    [bp_usertemplates] => 0
                                    [bp_uservideos] => 0
                                    [bp_views_winks] => 1284068726
                                    [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] => 1284068660
                                )

                            [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 =   
                                    [63] => SELECT pollid FROM   WHERE enabled =   AND active =   and date >=  
                                    [65] => SELECT * FROM   where enabled =   order by date desc limit 0,1
                                    [66] => SELECT * FROM   where id=  
                                    [68] => select descr from   where lang=  and mainkey=   
                                    [69] => SELECT * FROM   order by date desc limit 0,2
                                    [71] => select descr from   where lang=  and mainkey=   
                                    [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.adminid > 0

      GROUP BY s.id

      ORDER by date_posted DESC
                                    [74] => 
      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
                                    [76] => SELECT id FROM   WHERE ( startdate <=   AND  expdate >=   ) AND enabled =   and ( language is null or language =  )
                                    [78] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [80] => select subkey, descr from   where lang=  and mainkey=   order by id
                                    [81] => SELECT * FROM   where lastactivitytime <  
                                    [83] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [84] => select count(*) from   where active =   and regdate >   and status in (  ,  ) 
                                    [86] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [87] => select regdate from   where status in (  ,  )
                                    [89] => select descr from   where lang=  and mainkey=   and subkey= 
                                    [90] => 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 ( ,  )
                                    [91] => select count(*) from   where ins_time >   
                                )

                            [prepare_maxstmt] => 0
                            [last_query] => SELECT * FROM bp_plugin  WHERE `active` = '1' 
                            [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 * FROM bp_plugin  WHERE `active` = '1' 
                        )

                )

            [8] => Array
                (
                    [file] => /home/buscapar/public_html/libs/modOsDate/data.php
                    [line] => 1008
                    [function] => getAllRows
                    [class] => myDb
                    [type] => ->
                    [object] => myDb Object
                        (
                            [server] => 
                            [dbname] => 
                            [user] => 
                            [password] => 
                            [on_error] => report
                            [queryresult] => 
                            [debug] => 
                            [_eof] => 1
                            [sql] => 
                        )

                    [args] => Array
                        (
                            [0] => SELECT * FROM bp_plugin  WHERE `active` = '1' 
                        )

                )

            [9] => Array
                (
                    [file] => /home/buscapar/public_html/libs/modOsDate/modOsDate.php
                    [line] => 150
                    [function] => getAllRec
                    [class] => Data
                    [type] => ->
                    [object] => pluginData Object
                        (
                            [table] => bp_plugin
                            [config] => Array
                                (
                                    [table] => bp_plugin
                                    [idField] => id
                                    [addedMsg] => Osdate Plugin %s Added
                                    [added_err] => Can\'t Add Osdate Plugin
                                    [editMsg] => Osdate Plugin %s Updated
                                    [editErr] => Can\'t Update Osdate Plugin
                                    [delErr] => Can\'t Delete Osdate Plugin
                                    [delMsg] => Osdate Plugin %s Deleted
                                    [blankErr] => Osdate Plugin Empty
                                    [fields] => Array
                                        (
                                            [name] => Array
                                                (
                                                    [name] => name
                                                    [description] => Name
                                                    [type] => text
                                                    [min_len] => 0
                                                    [max_len] => 255
                                                    [blank_ok] => 0
                                                    [duplicate_ok] => 1
                                                )

                                            [active] => Array
                                                (
                                                    [name] => active
                                                    [description] => Active
                                                    [type] => number
                                                    [min_len] => 0
                                                    [max_len] => 4
                                                    [blank_ok] => 0
                                                    [duplicate_ok] => 1
                                                )

                                        )

                                )

                            [db] => myDb Object
                                (
                                    [server] => 
                                    [dbname] => 
                                    [user] => 
                                    [password] => 
                                    [on_error] => report
                                    [queryresult] => 
                                    [debug] => 
                                    [_eof] => 1
                                    [sql] => 
                                )

                            [_tableName] => bp_plugin
                            [_dbName] => 
                            [message] => Array
                                (
                                )

                            [_error] => 
                            [_data] => 
                            [valid] => Validation Object
                                (
                                    [dblink] => myDb Object
                                        (
                                            [server] => 
                                            [dbname] => 
                                            [user] => 
                                            [password] => 
                                            [on_error] => report
                                            [queryresult] => 
                                            [debug] => 
                                            [_eof] => 1
                                            [sql] => 
                                        )

                                    [error_message] => 
                                    [field_error_message] => Array
                                        (
                                        )

                                    [error] => 
                                    [db_table] => bp_plugin
                                    [data_in] => Array
                                        (
                                            [wcity] => Mendoza
                                        )

                                    [database] => 1
                                    [duplicate_email_message] => The email address is already in use.  Try the email password option to have your username and password sent to you.
                                    [duplicate_username_message] => The username is already in use.  Try the email password option to have your username and password sent to you.
                                    [duplicate_field_set_message] => Duplicate values combination found
                                    [duplicate_list] => Array
                                        (
                                        )

                                    [duplicate_field_set] => Array
                                        (
                                        )

                                    [id_field] => 
                                )

                            [id] => 
                            [fields] => Array
                                (
                                    [name] => Array
                                        (
                                            [name] => name
                                            [description] => Name
                                            [type] => text
                                            [min_len] => 0
                                            [max_len] => 255
                                            [blank_ok] => 0
                                            [duplicate_ok] => 1
                                        )

                                    [active] => Array
                                        (
                                            [name] => active
                                            [description] => Active
                                            [type] => number
                                            [min_len] => 0
                                            [max_len] => 4
                                            [blank_ok] => 0
                                            [duplicate_ok] => 1
                                        )

                                )

                            [_idField] => id
                            [form] => 
                            [rows] => 
                            [request_vars] => 
                            [_eof] => 1
                            [_nextPage] => 
                            [_ignoreField] => Array
                                (
                                )

                            [_deleteRows] => 
                            [_EmptySetDeleteOk] => 
                            [sort_process] => 
                            [_DataRows] => 
                            [_insertId] => 
                            [_table_prefix] => 
                        )

                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [active] => 1
                                )

                        )

                )

            [10] => Array
                (
                    [file] => /home/buscapar/public_html/libs/modOsDate/modOsDate.php
                    [line] => 132
                    [function] => modSetLeftCol
                    [class] => modOsDate
                    [type] => ->
                    [object] => modOsDate Object
                        (
                            [_errorMessage] => Array
                                (
                                )

                            [lang] => Array
                                (
                                )

                            [config] => Array
                                (
                                )

                            [menu_text] => 
                            [menu_appear] => 1
                        )

                    [args] => Array
                        (
                        )

                )

            [11] => Array
                (
                    [file] => /home/buscapar/public_html/init.php
                    [line] => 609
                    [function] => modSetContent
                    [class] => modOsDate
                    [type] => ->
                    [object] => modOsDate Object
                        (
                            [_errorMessage] => Array
                                (
                                )

                            [lang] => Array
                                (
                                )

                            [config] => Array
                                (
                                )

                            [menu_text] => 
                            [menu_appear] => 1
                        )

                    [args] => Array
                        (
                        )

                )

            [12] => Array
                (
                    [file] => /home/buscapar/public_html/advsearch.php
                    [line] => 4
                    [args] => Array
                        (
                            [0] => /home/buscapar/public_html/init.php
                        )

                    [function] => include_once
                )

        )

    [callback] => errhndl
)