(365457,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/financialposition','0','2016-03-01 10:49:52'),(365458,3,76,'192.168.1.124','select','SELECT IFNULL(ob.debit, 0) as oDebit, sum(b.amount_dr) as currentyeardebit, IFNULL(ob.credit, 0) as oCredit, sum(b.amount_cr) as currentyearcredit, sum(b.amount_dr - b.amount_cr) as total, `a`.*, IFNULL(sum(c.amountcr), 0) as budgetAmount, `d`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_journal_detail` b ON `a`.`ID` = `b`.`acctCode` and b.year=2015 and b.period <= 1 and b.companyID = 3\nJOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID` and (d.acctTypeID = \"3\" OR d.acctTypeID = \"4\")\nLEFT OUTER JOIN `comp_opening_balance` ob ON `ob`.`companyID` = `a`.`companyID` and ob.accountID = a.ID and ob.year = b.year\nLEFT OUTER JOIN `comp_budget` c ON `c`.`acctID` = `a`.`ID` and c.year = b.year and c.companyID = a.companyID\nWHERE `a`.`companyID` =  \'3\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acctCode`','glreports/financialposition','0.015599966049194','2016-03-01 10:49:52'),(365459,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < 2014\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 10:49:52'),(365460,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 10:49:52'),(365461,3,76,'192.168.1.124','select','SELECT `ID`\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'3\'\nAND `acctCode` =  120000000','glreports/financialposition','0','2016-03-01 10:49:52'),(365462,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < 2013\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 10:49:52'),(365463,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 10:49:52'),(365464,3,76,'192.168.1.124','select','SELECT (sum(a.amount_dr)-sum(a.amount_cr)) openingBalance\nFROM (`comp_journal_detail` a)\nWHERE `companyID` =  \'3\'\nAND `a`.`acctCode` =  \'32501\'\nAND `a`.`year` < 2013\nAND `a`.`year` >= \'2015\'','glreports/financialposition','0','2016-03-01 10:49:52'),(365465,3,76,'192.168.1.124','select','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'3\'\nAND `accountID` =  \'32501\'\nAND `year` =  \'2015\'','glreports/financialposition','0','2016-03-01 10:49:52'),(365466,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2015\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 10:49:52'),(365467,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 10:49:52'),(365468,3,76,'192.168.1.124','select','SELECT `ID`\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'3\'\nAND `acctCode` =  120000000','glreports/financialposition','0','2016-03-01 10:49:52'),(365469,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < 2014\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 10:49:52'),(365470,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 10:49:52'),(365471,3,76,'192.168.1.124','select','SELECT (sum(a.amount_dr)-sum(a.amount_cr)) openingBalance\nFROM (`comp_journal_detail` a)\nWHERE `companyID` =  \'3\'\nAND `a`.`acctCode` =  \'32501\'\nAND `a`.`year` < 2014\nAND `a`.`year` >= \'2015\'','glreports/financialposition','0','2016-03-01 10:49:52'),(365472,3,76,'192.168.1.124','select','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'3\'\nAND `accountID` =  \'32501\'\nAND `year` =  \'2015\'','glreports/financialposition','0','2016-03-01 10:49:52'),(365473,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `transaction` =  \'1\'\nAND `moduleID` =  \'9\'','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365474,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%usersetting/useronlinestatus%\"','usersetting/useronlinestatus','0.015600204467773','2016-03-01 10:49:53'),(365475,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365476,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365477,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365478,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365479,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365480,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365481,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365482,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:49:53'),(365483,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365484,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365485,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365486,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365487,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365488,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365489,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365490,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365491,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365492,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365493,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365494,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365495,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365496,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365497,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365498,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365499,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:49:53'),(365500,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365501,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365502,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365503,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365504,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365505,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365506,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365507,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365508,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:49:53'),(365509,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365510,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365511,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365512,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365513,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365514,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365515,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365516,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365517,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365518,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365519,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365520,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365521,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365522,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365523,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365524,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365525,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365526,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:49:53'),(365527,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365528,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365529,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365530,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365531,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365532,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365533,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365534,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365535,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365536,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365537,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365538,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365539,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365540,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365541,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365542,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365543,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365544,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365545,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365546,3,76,'192.168.1.124','select','SELECT fldid, username, position, last_seen, DATE_FORMAT(last_seen, \"%H:%i:%s\") viewLastSeen, (UNIX_TIMESTAMP(\"2016-03-01 03-49-53\")-UNIX_TIMESTAMP(last_seen)) idle, \"2016-03-01-03-49-53\" now, online, access_comp\nFROM (`tbl_usermaster`)\nWHERE `online` =  1\nAND `last_seen` > \'2016-03-01 03-19-53\'\nORDER BY `last_seen` DESC','usersetting/useronlinestatus','0','2016-03-01 10:49:53'),(365547,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365548,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/accountDetailsfc%\"','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365549,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365550,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365551,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365552,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365553,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365554,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365555,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365556,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365557,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365558,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365559,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365560,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365561,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365562,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365563,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365564,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365565,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365566,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365567,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365568,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365569,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365570,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365571,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','glreports/accountDetailsfc','0.015599966049194','2016-03-01 10:50:08'),(365572,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365573,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365574,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365575,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365576,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365577,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365578,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365579,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365580,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/accountDetailsfc','0.015599966049194','2016-03-01 10:50:08'),(365581,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365582,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365583,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365584,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365585,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365586,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365587,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365588,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365589,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','glreports/accountDetailsfc','0.015599966049194','2016-03-01 10:50:08'),(365590,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365591,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365592,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365593,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365594,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365595,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365596,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365597,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365598,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0.015599966049194','2016-03-01 10:50:08'),(365599,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365600,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365601,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365602,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365603,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365604,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365605,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365606,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365607,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','glreports/accountDetailsfc','0.015600204467773','2016-03-01 10:50:08'),(365608,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365609,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365610,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365611,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365612,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365613,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365614,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365615,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365616,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0.015599966049194','2016-03-01 10:50:08'),(365617,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365618,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365619,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365620,3,76,'192.168.1.124','select','SELECT `a`.`acctTypeID`, `b`.*\nFROM (`comp_chart_of_acct` b)\nLEFT JOIN `_ref_acct_group` a ON `a`.`ID` = `b`.`acctGroupID`\nWHERE `b`.`ID` =  \'32630\'\nLIMIT 1','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365621,3,76,'192.168.1.124','select','SELECT `a`.*, IFNULL((SELECT DISTINCT referenceNo from view_journal_table where formNo = a.formNo and companyID = a.companyID LIMIT 0, 1), \"---\") as refNo, concat((SELECT sam2.acctName FROM comp_journal_detail sam1\r\n JOIN comp_chart_of_acct sam2 on sam2.ID = sam1.acctCode\r\n WHERE sam1.companyID = a.companyID \r\n and sam1.journalID = a.journalID \r\n and sam1.sequence = IF(a.sequence%2 = 0, a.sequence-1, a.sequence+1)), \' - \', SUBSTR(a.description, 1, 20)) AS description, `b`.`effective_date`\nFROM (`comp_journal_detail` a)\nJOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalID` and b.companyID = a.companyID and b.status = 1\nWHERE `a`.`companyID` =  \'3\'\nAND `a`.`acctCode` =  \'32630\'\nAND `a`.`year` =  \'2015\'\nAND `a`.`period` != 0\nAND CONCAT(b.year,LPAD(b.period,2,\"0\")) <= \'201501\'\nORDER BY `b`.`effective_date`, `journalID`, `sequence`','glreports/accountDetailsfc','0.32760095596313','2016-03-01 10:50:08'),(365622,3,76,'192.168.1.124','select','SELECT sum(b.amountdr) as currentyeardebit, sum(b.amountcr) as currentyearcredit, sum(b.total) as total, `a`.*, `ref`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `b`.`acctID` = `a`.`ID` and CONCAT(b.year,if(b.period <=9, CONCAT(\"0\",b.period),b.period)) <= 201501 and b.companyID = 3\nLEFT JOIN `_ref_acct_group` ref ON `ref`.`ID` = `a`.`acctGroupID`\nWHERE `a`.`companyID` =  \'3\'\nAND `a`.`ID` =  \'32630\'\nGROUP BY `a`.`ID`','glreports/accountDetailsfc','0.093600034713745','2016-03-01 10:50:08'),(365623,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  2014\nAND `status` =  0\nORDER BY `period` DESC\nLIMIT 1','glreports/accountDetailsfc','0.015599966049194','2016-03-01 10:50:08'),(365624,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2015\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365625,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365626,3,76,'192.168.1.124','select','SELECT (sum(a.amount_dr)-sum(a.amount_cr)) openingBalance\nFROM (`comp_journal_detail` a)\nWHERE `companyID` =  \'3\'\nAND `a`.`acctCode` =  \'32630\'\nAND `a`.`year` < \'2015\'\nAND `a`.`year` >= \'2015\'','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365627,3,76,'192.168.1.124','select','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'3\'\nAND `accountID` =  \'32630\'\nAND `year` =  \'2015\'','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365628,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  2014\nORDER BY `financialYear`, `period`\nLIMIT 1','glreports/accountDetailsfc','0','2016-03-01 10:50:08'),(365629,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `transaction` =  \'1\'\nAND `moduleID` =  \'9\'','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365630,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%usersetting/useronlinestatus%\"','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365631,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365632,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365633,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:50:08'),(365634,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365635,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365636,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365637,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365638,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365639,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365640,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365641,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365642,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365643,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365644,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365645,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365646,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365647,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365648,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365649,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365650,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365651,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365652,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365653,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365654,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365655,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365656,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365657,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365658,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365659,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365660,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365661,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365662,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365663,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365664,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365665,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365666,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365667,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365668,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365669,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365670,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365671,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365672,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365673,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:50:08'),(365674,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365675,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365676,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365677,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365678,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365679,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365680,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365681,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365682,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365683,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365684,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365685,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365686,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365687,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365688,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365689,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365690,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365691,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365692,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:50:08'),(365693,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365694,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365695,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365696,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365697,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365698,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365699,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365700,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365701,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:50:08'),(365702,3,76,'192.168.1.124','select','SELECT fldid, username, position, last_seen, DATE_FORMAT(last_seen, \"%H:%i:%s\") viewLastSeen, (UNIX_TIMESTAMP(\"2016-03-01 03-50-08\")-UNIX_TIMESTAMP(last_seen)) idle, \"2016-03-01-03-50-08\" now, online, access_comp\nFROM (`tbl_usermaster`)\nWHERE `online` =  1\nAND `last_seen` > \'2016-03-01 03-20-08\'\nORDER BY `last_seen` DESC','usersetting/useronlinestatus','0','2016-03-01 10:50:08'),(365703,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `transaction` =  \'1\'\nAND `moduleID` =  \'9\'','usersetting/useronlinestatus','0.031200885772705','2016-03-01 10:50:42'),(365704,3,75,'192.168.1.47','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%usersetting/useronlinestatus%\"','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:50:42'),(365705,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365706,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365707,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365708,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365709,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365710,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365711,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365712,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365713,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015600204467773','2016-03-01 10:50:42'),(365714,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365715,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365716,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365717,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365718,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365719,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365720,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365721,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365722,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365723,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365724,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365725,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365726,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365727,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365728,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365729,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365730,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365731,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365732,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365733,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:50:42'),(365734,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365735,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365736,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365737,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365738,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365739,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365740,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365741,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365742,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365743,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365744,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365745,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365746,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365747,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365748,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365749,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365750,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365751,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:50:42'),(365752,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365753,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365754,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365755,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365756,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365757,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365758,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365759,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365760,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365761,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365762,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365763,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365764,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365765,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365766,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365767,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365768,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365769,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:50:42'),(365770,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365771,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365772,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365773,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365774,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365775,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365776,3,75,'192.168.1.47','select','SELECT fldid, username, position, last_seen, DATE_FORMAT(last_seen, \"%H:%i:%s\") viewLastSeen, (UNIX_TIMESTAMP(\"2016-03-01 03-50-42\")-UNIX_TIMESTAMP(last_seen)) idle, \"2016-03-01-03-50-42\" now, online, access_comp\nFROM (`tbl_usermaster`)\nWHERE `online` =  1\nAND `last_seen` > \'2016-03-01 03-20-42\'\nORDER BY `last_seen` DESC','usersetting/useronlinestatus','0','2016-03-01 10:50:42'),(365777,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `transaction` =  \'1\'\nAND `moduleID` =  \'2\'','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365778,3,75,'192.168.1.47','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%glsetting/openingBalance%\"','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365779,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'46\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365780,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365781,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365782,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365783,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365784,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365785,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','glsetting/openingBalance','0.015599966049194','2016-03-01 10:51:14'),(365786,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365787,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365788,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365789,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365790,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365791,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365792,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365793,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365794,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365795,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365796,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365797,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365798,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365799,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365800,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365801,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365802,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365803,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365804,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','glsetting/openingBalance','0.015599966049194','2016-03-01 10:51:14'),(365805,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365806,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365807,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365808,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365809,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365810,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365811,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365812,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365813,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365814,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365815,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365816,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365817,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365818,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365819,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365820,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365821,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365822,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365823,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365824,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365825,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','glsetting/openingBalance','0.015599966049194','2016-03-01 10:51:14'),(365826,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365827,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365828,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365829,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365830,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365831,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365832,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365833,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365834,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365835,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365836,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365837,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365838,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365839,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365840,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365841,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365842,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365843,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365844,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365845,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glsetting/openingBalance','0.015599966049194','2016-03-01 10:51:14'),(365846,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365847,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365848,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365849,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365850,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365851,3,75,'192.168.1.47','select','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'75\'\nAND `companyID` =  \'3\'\nAND `menuCode` =  \'GLSTCOA\'\nAND `accessRight` =  1','glsetting/openingBalance','0.046800136566162','2016-03-01 10:51:14'),(365852,3,75,'192.168.1.47','select','SELECT *\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'3\'','glsetting/openingBalance','0.031199932098389','2016-03-01 10:51:14'),(365853,3,75,'192.168.1.47','select','Select financialYear,period   from comp_financial_year where companyID = 3 order by ID','glsetting/openingBalance','0.015599966049194','2016-03-01 10:51:14'),(365854,3,75,'192.168.1.47','select','Select distinct year  from comp_opening_balance where companyID = 3','glsetting/openingBalance','0.062400102615356','2016-03-01 10:51:14'),(365855,3,75,'192.168.1.47','insert','insert into comp_opening_balance (companyID, accountID, year, createdBy) select 3, ID, 2015, 75	from comp_chart_of_acct where companyID = 3 and ID not in (select accountID from comp_opening_balance where year= 2015 and companyID = 3)','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365856,3,75,'192.168.1.47','select','SELECT DISTINCT cacc.ID, openB.ID as openingBalanceID, concat(substr(cacc.acctCode, 1, 4), \"-\", substr(cacc.acctCode, 5, 3), \"-\", substr(cacc.acctCode, 8, 2)) as acctCode, cacc.acctName, accGrp.acctGroupName, accType.acctTypeName, openB.debit as openingBalanceDr, openB.credit as openingBalanceCr\nFROM (`comp_chart_of_acct` as cacc)\nLEFT JOIN `_ref_acct_group` as accGrp ON `accGrp`.`ID` = `cacc`.`acctGroupID`\nLEFT JOIN `comp_acct_type` as accType ON `accType`.`ID` = `accGrp`.`acctTypeID`\nLEFT JOIN `comp_opening_balance` as openB ON `cacc`.`ID` = `openB`.`accountID` AND openB.companyID = 3 AND openB.year = 2015\nWHERE `accType`.`acctClass` =  0\nAND `cacc`.`companyID` =  \'3\'\nORDER BY `cacc`.`acctCode` asc','glsetting/openingBalance','0.031199932098389','2016-03-01 10:51:14'),(365857,3,75,'192.168.1.47','select','SELECT DISTINCT cacc.ID, openB.ID as openingBalanceID, concat(substr(cacc.acctCode, 1, 4), \"-\", substr(cacc.acctCode, 5, 3), \"-\", substr(cacc.acctCode, 8, 2)) as acctCode, cacc.acctName, accGrp.acctGroupName, accType.acctTypeName, openB.debit as openingBalanceDr, openB.credit as openingBalanceCr\nFROM (`comp_chart_of_acct` as cacc)\nLEFT JOIN `_ref_acct_group` as accGrp ON `accGrp`.`ID` = `cacc`.`acctGroupID`\nLEFT JOIN `comp_acct_type` as accType ON `accType`.`ID` = `accGrp`.`acctTypeID`\nLEFT JOIN `comp_opening_balance` as openB ON `cacc`.`ID` = `openB`.`accountID` AND openB.companyID = 3 AND openB.year = 2015\nWHERE `accType`.`acctClass` =  1\nAND `cacc`.`companyID` =  \'3\'\nORDER BY `cacc`.`acctCode` asc','glsetting/openingBalance','0','2016-03-01 10:51:14'),(365858,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `transaction` =  \'1\'\nAND `moduleID` =  \'9\'','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365859,3,75,'192.168.1.47','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%usersetting/useronlinestatus%\"','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365860,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365861,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365862,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365863,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365864,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365865,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365866,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365867,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365868,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365869,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365870,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365871,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365872,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:51:15'),(365873,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365874,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365875,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365876,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365877,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365878,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365879,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365880,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365881,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:51:15'),(365882,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365883,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365884,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365885,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365886,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365887,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365888,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365889,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365890,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365891,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365892,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365893,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365894,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365895,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365896,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365897,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365898,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365899,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365900,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:51:15'),(365901,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365902,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365903,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365904,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365905,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365906,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365907,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365908,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365909,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365910,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:51:15'),(365911,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365912,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365913,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365914,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365915,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365916,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365917,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365918,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365919,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0.015600204467773','2016-03-01 10:51:15'),(365920,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365921,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365922,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365923,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365924,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365925,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365926,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365927,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365928,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365929,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365930,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365931,3,75,'192.168.1.47','select','SELECT fldid, username, position, last_seen, DATE_FORMAT(last_seen, \"%H:%i:%s\") viewLastSeen, (UNIX_TIMESTAMP(\"2016-03-01 03-51-15\")-UNIX_TIMESTAMP(last_seen)) idle, \"2016-03-01-03-51-15\" now, online, access_comp\nFROM (`tbl_usermaster`)\nWHERE `online` =  1\nAND `last_seen` > \'2016-03-01 03-21-15\'\nORDER BY `last_seen` DESC','usersetting/useronlinestatus','0','2016-03-01 10:51:15'),(365932,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/financialposition','0','2016-03-01 10:53:15'),(365933,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/financialposition%\"','glreports/financialposition','0','2016-03-01 10:53:15'),(365934,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'88\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:15'),(365935,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:15'),(365936,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 10:53:15'),(365937,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:15'),(365938,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/financialposition','0','2016-03-01 10:53:15'),(365939,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:15'),(365940,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/financialposition','0','2016-03-01 10:53:15'),(365941,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','glreports/financialposition','0.015599966049194','2016-03-01 10:53:15'),(365942,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/financialposition','0','2016-03-01 10:53:15'),(365943,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:15'),(365944,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 10:53:15'),(365945,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:15'),(365946,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/financialposition','0','2016-03-01 10:53:15'),(365947,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:15'),(365948,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/financialposition','0','2016-03-01 10:53:15'),(365949,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','glreports/financialposition','0.015599966049194','2016-03-01 10:53:15'),(365950,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/financialposition','0','2016-03-01 10:53:15'),(365951,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:15'),(365952,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 10:53:15'),(365953,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:15'),(365954,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/financialposition','0','2016-03-01 10:53:15'),(365955,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:15'),(365956,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/financialposition','0','2016-03-01 10:53:15'),(365957,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','glreports/financialposition','0.015599966049194','2016-03-01 10:53:15'),(365958,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/financialposition','0','2016-03-01 10:53:15'),(365959,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:15'),(365960,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 10:53:15'),(365961,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:15'),(365962,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/financialposition','0','2016-03-01 10:53:15'),(365963,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:15'),(365964,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/financialposition','0','2016-03-01 10:53:15'),(365965,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:15'),(365966,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/financialposition','0.015600204467773','2016-03-01 10:53:15'),(365967,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:15'),(365968,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 10:53:15'),(365969,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:15'),(365970,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/financialposition','0','2016-03-01 10:53:15'),(365971,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:15'),(365972,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/financialposition','0','2016-03-01 10:53:15'),(365973,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:15'),(365974,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/financialposition','0','2016-03-01 10:53:15'),(365975,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','glreports/financialposition','0.015599966049194','2016-03-01 10:53:15'),(365976,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 10:53:15'),(365977,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:15'),(365978,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/financialposition','0','2016-03-01 10:53:15'),(365979,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:15'),(365980,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/financialposition','0','2016-03-01 10:53:15'),(365981,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:15'),(365982,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/financialposition','0','2016-03-01 10:53:15'),(365983,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:15'),(365984,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0.015599966049194','2016-03-01 10:53:15'),(365985,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:15'),(365986,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/financialposition','0','2016-03-01 10:53:15'),(365987,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:15'),(365988,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/financialposition','0','2016-03-01 10:53:15'),(365989,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:15'),(365990,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/financialposition','0','2016-03-01 10:53:15'),(365991,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:15'),(365992,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 10:53:15'),(365993,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','glreports/financialposition','0.015599966049194','2016-03-01 10:53:15'),(365994,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/financialposition','0','2016-03-01 10:53:15'),(365995,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:15'),(365996,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/financialposition','0','2016-03-01 10:53:15'),(365997,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:15'),(365998,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/financialposition','0','2016-03-01 10:53:15'),(365999,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:15'),(366000,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 10:53:15'),(366001,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:15'),(366002,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0.015599966049194','2016-03-01 10:53:15'),(366003,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:15'),(366004,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 10:53:15'),(366005,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:15'),(366006,3,76,'192.168.1.124','select','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'76\'\nAND `companyID` =  \'3\'\nAND `menuCode` =  \'GLRPBS\'\nAND `accessRight` =  1','glreports/financialposition','0','2016-03-01 10:53:15'),(366007,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `startDate` <= \'2016-03-01\'\nAND `endDate` >= \'2016-03-01\'\nLIMIT 1','glreports/financialposition','0','2016-03-01 10:53:15'),(366008,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  \'2016\'\nAND `period` =  0','glreports/financialposition','0','2016-03-01 10:53:15'),(366009,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `is_delete` =  \'\'\nORDER BY `financialYear` desc, `period` desc','glreports/financialposition','0','2016-03-01 10:53:15'),(366010,3,76,'192.168.1.124','select','SELECT `comp_financial_year`.*, concat(period, \" [\", date_format(startDate, \"%d-%m-%Y\"), \" - \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriod, concat(period, \" [ As at \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriodAsat\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  \'2016\'\nORDER BY `financialYear`, `period`','glreports/financialposition','0','2016-03-01 10:53:15'),(366011,3,76,'192.168.1.124','select','SELECT `a`.*, `b`.`balance`\nFROM (`_ref_acct_group` a)\nJOIN `comp_acct_type` b ON `b`.`ID` = `a`.`acctTypeID`\nWHERE `a`.`parentID` =  0\nAND (a.acctTypeID = 1 OR a.acctTypeID = 2 OR a.acctTypeID = 5)\nORDER BY `a`.`orderNo`, `a`.`parentID`','glreports/financialposition','0','2016-03-01 10:53:15'),(366012,3,76,'192.168.1.124','select','SELECT `a`.*, `b`.`balance`\nFROM (`_ref_acct_group` a)\nJOIN `comp_acct_type` b ON `b`.`ID` = `a`.`acctTypeID`\nWHERE `a`.`parentID` != 0\nAND (a.acctTypeID = 1 OR a.acctTypeID = 2 OR a.acctTypeID = 5)\nORDER BY `a`.`parentID`, `a`.`orderNo`','glreports/financialposition','0','2016-03-01 10:53:15'),(366013,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2016\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 10:53:15'),(366014,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 10:53:15'),(366015,3,76,'192.168.1.124','select','SELECT b.*, IFNULL(ob.debit, 0) oDebit, IFNULL(ob.credit, 0) oCredit, IFNULL(sum(a.amount_dr), 0) as currentyeardebit, IFNULL(sum(a.amount_cr), 0) as currentyearcredit, IFNULL((select ifnull(SUM(amount_dr), 0)-ifnull(SUM(amount_cr), 0) from comp_journal_detail aa3, comp_chart_of_acct ab3, _ref_acct_group d3 where aa3.companyID = b.companyID and aa3.acctcode = ab3.id and ab3.acctGroupID = d3.id and d3.acctTypeID = 3 and aa3.year <2015), 0) as lastRetainInc, IFNULL((select ifnull(SUM(amount_dr), 0)-ifnull(SUM(amount_cr), 0) from comp_journal_detail aa4, comp_chart_of_acct ab4, _ref_acct_group d4 where aa4.companyID = b.companyID and aa4.acctcode = ab4.id and ab4.acctGroupID = d4.id and d4.acctTypeID = 4 and aa4.year <2015), 0) as lastRetainExp, sum(a.amount_dr - a.amount_cr) as total, `b`.`acctCode`, `b`.`acctName`, `b`.`acctGroupID`, `d`.`acctTypeID`, `e`.`balance`, IFNULL((select sum(aa.amount_dr) from comp_journal_detail aa where aa.acctCode = b.ID and aa.year < 2016 And aa.year >= 2015), 0)+IFNULL(ob2.debit, 0) as lastyeardebit, IFNULL((select sum(aa.amount_cr) from comp_journal_detail aa where aa.acctCode = b.ID and aa.year < 2016 And aa.year >= 2015), 0)+IFNULL(ob2.credit, 0) as lastyearcredit\nFROM (`comp_chart_of_acct` b)\nLEFT JOIN `comp_journal_detail` a ON `a`.`acctCode` = `b`.`ID` and a.year = 2016 And a.period <= 0\nLEFT OUTER JOIN `_ref_acct_group` d ON `d`.`ID` = `b`.`acctGroupID`\nLEFT OUTER JOIN `comp_acct_type` e ON `e`.`ID` = `d`.`acctTypeID`\nLEFT OUTER JOIN `comp_opening_balance` ob ON `ob`.`companyID` = `b`.`companyID` and ob.accountID = b.ID and ob.year =2016\nLEFT OUTER JOIN `comp_opening_balance` ob2 ON `ob2`.`companyID` = `b`.`companyID` and ob2.accountID = b.ID and ob2.year =2015\nWHERE `b`.`companyID` =  \'3\'\nAND `b`.`acctGroupID` >  0\nAND `b`.`id` > 0\nGROUP BY `b`.`acctCode`','glreports/financialposition','0.12480092048645','2016-03-01 10:53:15'),(366016,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/financialposition','0','2016-03-01 10:53:15'),(366017,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/financialposition','0','2016-03-01 10:53:15'),(366018,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  2015\nAND `is_delete` =  \'\'\nORDER BY `period` desc','glreports/financialposition','0','2016-03-01 10:53:15'),(366019,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < 2015\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 10:53:15'),(366020,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 10:53:15'),(366021,3,76,'192.168.1.124','select','SELECT b.*, IFNULL(ob.debit, 0) oDebit, IFNULL(ob.credit, 0) oCredit, IFNULL(sum(a.amount_dr), 0) as currentyeardebit, IFNULL(sum(a.amount_cr), 0) as currentyearcredit, IFNULL((select ifnull(SUM(amount_dr), 0)-ifnull(SUM(amount_cr), 0) from comp_journal_detail aa3, comp_chart_of_acct ab3, _ref_acct_group d3 where aa3.companyID = b.companyID and aa3.acctcode = ab3.id and ab3.acctGroupID = d3.id and d3.acctTypeID = 3 and aa3.year <2014), 0) as lastRetainInc, IFNULL((select ifnull(SUM(amount_dr), 0)-ifnull(SUM(amount_cr), 0) from comp_journal_detail aa4, comp_chart_of_acct ab4, _ref_acct_group d4 where aa4.companyID = b.companyID and aa4.acctcode = ab4.id and ab4.acctGroupID = d4.id and d4.acctTypeID = 4 and aa4.year <2014), 0) as lastRetainExp, sum(a.amount_dr - a.amount_cr) as total, `b`.`acctCode`, `b`.`acctName`, `b`.`acctGroupID`, `d`.`acctTypeID`, `e`.`balance`, IFNULL((select sum(aa.amount_dr) from comp_journal_detail aa where aa.acctCode = b.ID and aa.year < 2015 And aa.year >= 2015), 0)+IFNULL(ob2.debit, 0) as lastyeardebit, IFNULL((select sum(aa.amount_cr) from comp_journal_detail aa where aa.acctCode = b.ID and aa.year < 2015 And aa.year >= 2015), 0)+IFNULL(ob2.credit, 0) as lastyearcredit\nFROM (`comp_chart_of_acct` b)\nLEFT JOIN `comp_journal_detail` a ON `a`.`acctCode` = `b`.`ID` and a.year = 2015 And a.period <= 12\nLEFT OUTER JOIN `_ref_acct_group` d ON `d`.`ID` = `b`.`acctGroupID`\nLEFT OUTER JOIN `comp_acct_type` e ON `e`.`ID` = `d`.`acctTypeID`\nLEFT OUTER JOIN `comp_opening_balance` ob ON `ob`.`companyID` = `b`.`companyID` and ob.accountID = b.ID and ob.year =2015\nLEFT OUTER JOIN `comp_opening_balance` ob2 ON `ob2`.`companyID` = `b`.`companyID` and ob2.accountID = b.ID and ob2.year =2015\nWHERE `b`.`companyID` =  \'3\'\nAND `b`.`acctGroupID` >  0\nAND `b`.`id` > 0\nGROUP BY `b`.`acctCode`','glreports/financialposition','0.062400102615356','2016-03-01 10:53:15'),(366022,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2016\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 10:53:15'),(366023,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 10:53:15'),(366024,3,76,'192.168.1.124','select','SELECT SUM(balance) as bal\nFROM (`view_expence_and_income`)\nWHERE `companyID` =  \'3\'\nAND `acctType` =  \'3\'\nAND `period` <= 0\nAND `year` =  \'2016\'\nGROUP BY `acctType`','glreports/financialposition','0.015599966049194','2016-03-01 10:53:15'),(366025,3,76,'192.168.1.124','select','SELECT SUM(balance) as bal\nFROM (`view_expence_and_income`)\nWHERE `companyID` =  \'3\'\nAND `acctType` =  \'4\'\nAND `period` <= 0\nAND `year` =  \'2016\'\nGROUP BY `acctType`','glreports/financialposition','0','2016-03-01 10:53:15'),(366026,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/financialposition','0','2016-03-01 10:53:15'),(366027,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/financialposition','0','2016-03-01 10:53:15'),(366028,3,76,'192.168.1.124','select','SELECT IFNULL(ob.debit, 0) as oDebit, sum(b.amount_dr) as currentyeardebit, IFNULL(ob.credit, 0) as oCredit, sum(b.amount_cr) as currentyearcredit, sum(b.amount_dr - b.amount_cr) as total, `a`.*, IFNULL(sum(c.amountcr), 0) as budgetAmount, `d`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_journal_detail` b ON `a`.`ID` = `b`.`acctCode` and b.year=2016 and b.period <= 0 and b.companyID = 3\nJOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID` and (d.acctTypeID = \"3\" OR d.acctTypeID = \"4\")\nLEFT OUTER JOIN `comp_opening_balance` ob ON `ob`.`companyID` = `a`.`companyID` and ob.accountID = a.ID and ob.year = b.year\nLEFT OUTER JOIN `comp_budget` c ON `c`.`acctID` = `a`.`ID` and c.year = b.year and c.companyID = a.companyID\nWHERE `a`.`companyID` =  \'3\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acctCode`','glreports/financialposition','0.015599966049194','2016-03-01 10:53:15'),(366029,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < 2015\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 10:53:15'),(366030,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 10:53:15'),(366031,3,76,'192.168.1.124','select','SELECT SUM(balance) as bal\nFROM (`view_expence_and_income`)\nWHERE `companyID` =  \'3\'\nAND `acctType` =  \'3\'\nAND `year` <= 2015\nGROUP BY `acctType`','glreports/financialposition','0','2016-03-01 10:53:15'),(366032,3,76,'192.168.1.124','select','SELECT SUM(balance) as bal\nFROM (`view_expence_and_income`)\nWHERE `companyID` =  \'3\'\nAND `acctType` =  \'4\'\nAND `year` <= 2015\nGROUP BY `acctType`','glreports/financialposition','0','2016-03-01 10:53:15'),(366033,3,76,'192.168.1.124','select','SELECT `period`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  2015\nORDER BY `period` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 10:53:15'),(366034,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/financialposition','0','2016-03-01 10:53:15'),(366035,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/financialposition','0.015599966049194','2016-03-01 10:53:15'),(366036,3,76,'192.168.1.124','select','SELECT IFNULL(ob.debit, 0) as oDebit, sum(b.amount_dr) as currentyeardebit, IFNULL(ob.credit, 0) as oCredit, sum(b.amount_cr) as currentyearcredit, sum(b.amount_dr - b.amount_cr) as total, `a`.*, IFNULL(sum(c.amountcr), 0) as budgetAmount, `d`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_journal_detail` b ON `a`.`ID` = `b`.`acctCode` and b.year=2015 and b.period <= 12 and b.companyID = 3\nJOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID` and (d.acctTypeID = \"3\" OR d.acctTypeID = \"4\")\nLEFT OUTER JOIN `comp_opening_balance` ob ON `ob`.`companyID` = `a`.`companyID` and ob.accountID = a.ID and ob.year = b.year\nLEFT OUTER JOIN `comp_budget` c ON `c`.`acctID` = `a`.`ID` and c.year = b.year and c.companyID = a.companyID\nWHERE `a`.`companyID` =  \'3\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acctCode`','glreports/financialposition','0.015600204467773','2016-03-01 10:53:15'),(366037,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < 2015\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 10:53:15'),(366038,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 10:53:15'),(366039,3,76,'192.168.1.124','select','SELECT `ID`\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'3\'\nAND `acctCode` =  120000000','glreports/financialposition','0','2016-03-01 10:53:15'),(366040,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < 2014\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 10:53:15'),(366041,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 10:53:15'),(366042,3,76,'192.168.1.124','select','SELECT (sum(a.amount_dr)-sum(a.amount_cr)) openingBalance\nFROM (`comp_journal_detail` a)\nWHERE `companyID` =  \'3\'\nAND `a`.`acctCode` =  \'32501\'\nAND `a`.`year` < 2014\nAND `a`.`year` >= \'2015\'','glreports/financialposition','0','2016-03-01 10:53:15'),(366043,3,76,'192.168.1.124','select','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'3\'\nAND `accountID` =  \'32501\'\nAND `year` =  \'2015\'','glreports/financialposition','0','2016-03-01 10:53:15'),(366044,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2016\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0.015599966049194','2016-03-01 10:53:15'),(366045,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 10:53:15'),(366046,3,76,'192.168.1.124','select','SELECT `period`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  \'2016\'\nORDER BY `period` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 10:53:15'),(366047,3,76,'192.168.1.124','select','SELECT `period`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  2015\nORDER BY `period` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 10:53:15'),(366048,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < 2015\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 10:53:15'),(366049,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 10:53:15'),(366050,3,76,'192.168.1.124','select','SELECT SUM(balance) as bal\nFROM (`view_expence_and_income`)\nWHERE `companyID` =  \'3\'\nAND `acctType` =  \'3\'\nAND `year` <= 2015\nGROUP BY `acctType`','glreports/financialposition','0','2016-03-01 10:53:15'),(366051,3,76,'192.168.1.124','select','SELECT SUM(balance) as bal\nFROM (`view_expence_and_income`)\nWHERE `companyID` =  \'3\'\nAND `acctType` =  \'4\'\nAND `year` <= 2015\nGROUP BY `acctType`','glreports/financialposition','0.015599966049194','2016-03-01 10:53:15'),(366052,3,76,'192.168.1.124','select','SELECT `period`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  2015\nORDER BY `period` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 10:53:15'),(366053,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/financialposition','0','2016-03-01 10:53:15'),(366054,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/financialposition','0','2016-03-01 10:53:15'),(366055,3,76,'192.168.1.124','select','SELECT IFNULL(ob.debit, 0) as oDebit, sum(b.amount_dr) as currentyeardebit, IFNULL(ob.credit, 0) as oCredit, sum(b.amount_cr) as currentyearcredit, sum(b.amount_dr - b.amount_cr) as total, `a`.*, IFNULL(sum(c.amountcr), 0) as budgetAmount, `d`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_journal_detail` b ON `a`.`ID` = `b`.`acctCode` and b.year=2015 and b.period <= 12 and b.companyID = 3\nJOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID` and (d.acctTypeID = \"3\" OR d.acctTypeID = \"4\")\nLEFT OUTER JOIN `comp_opening_balance` ob ON `ob`.`companyID` = `a`.`companyID` and ob.accountID = a.ID and ob.year = b.year\nLEFT OUTER JOIN `comp_budget` c ON `c`.`acctID` = `a`.`ID` and c.year = b.year and c.companyID = a.companyID\nWHERE `a`.`companyID` =  \'3\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acctCode`','glreports/financialposition','0.015599966049194','2016-03-01 10:53:15'),(366056,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < 2015\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 10:53:15'),(366057,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 10:53:15'),(366058,3,76,'192.168.1.124','select','SELECT `ID`\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'3\'\nAND `acctCode` =  120000000','glreports/financialposition','0','2016-03-01 10:53:15'),(366059,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < 2014\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 10:53:15'),(366060,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 10:53:15'),(366061,3,76,'192.168.1.124','select','SELECT (sum(a.amount_dr)-sum(a.amount_cr)) openingBalance\nFROM (`comp_journal_detail` a)\nWHERE `companyID` =  \'3\'\nAND `a`.`acctCode` =  \'32501\'\nAND `a`.`year` < 2014\nAND `a`.`year` >= \'2015\'','glreports/financialposition','0','2016-03-01 10:53:15'),(366062,3,76,'192.168.1.124','select','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'3\'\nAND `accountID` =  \'32501\'\nAND `year` =  \'2015\'','glreports/financialposition','0','2016-03-01 10:53:15'),(366063,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `transaction` =  \'1\'\nAND `moduleID` =  \'9\'','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366064,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%usersetting/useronlinestatus%\"','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366065,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366066,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366067,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366068,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366069,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366070,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366071,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366072,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0.015600204467773','2016-03-01 10:53:17'),(366073,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366074,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366075,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366076,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366077,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366078,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366079,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366080,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366081,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366082,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366083,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:53:17'),(366084,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366085,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366086,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366087,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366088,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366089,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366090,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366091,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366092,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366093,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366094,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366095,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366096,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366097,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366098,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366099,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366100,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366101,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366102,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366103,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:53:17'),(366104,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366105,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366106,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366107,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366108,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366109,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366110,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366111,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366112,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366113,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366114,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366115,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366116,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366117,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366118,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366119,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366120,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366121,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366122,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366123,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366124,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366125,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366126,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366127,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366128,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366129,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366130,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366131,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366132,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366133,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366134,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366135,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366136,3,76,'192.168.1.124','select','SELECT fldid, username, position, last_seen, DATE_FORMAT(last_seen, \"%H:%i:%s\") viewLastSeen, (UNIX_TIMESTAMP(\"2016-03-01 03-53-17\")-UNIX_TIMESTAMP(last_seen)) idle, \"2016-03-01-03-53-17\" now, online, access_comp\nFROM (`tbl_usermaster`)\nWHERE `online` =  1\nAND `last_seen` > \'2016-03-01 03-23-17\'\nORDER BY `last_seen` DESC','usersetting/useronlinestatus','0','2016-03-01 10:53:17'),(366137,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `transaction` =  \'1\'\nAND `moduleID` =  \'2\'','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366138,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%glsetting/openingBalance%\"','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366139,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'46\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366140,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366141,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366142,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366143,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366144,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366145,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366146,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366147,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366148,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366149,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366150,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366151,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366152,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366153,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366154,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366155,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366156,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366157,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glsetting/openingBalance','0.015599966049194','2016-03-01 10:53:26'),(366158,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366159,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366160,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366161,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366162,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366163,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366164,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366165,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366166,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366167,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366168,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366169,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366170,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366171,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366172,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366173,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366174,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366175,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366176,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366177,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366178,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366179,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366180,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366181,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366182,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366183,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366184,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366185,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366186,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366187,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366188,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366189,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366190,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366191,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366192,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366193,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','glsetting/openingBalance','0.015599966049194','2016-03-01 10:53:26'),(366194,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366195,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366196,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366197,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366198,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366199,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366200,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366201,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366202,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','glsetting/openingBalance','0.015599966049194','2016-03-01 10:53:26'),(366203,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366204,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366205,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366206,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366207,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366208,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366209,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366210,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366211,3,76,'192.168.1.124','select','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'76\'\nAND `companyID` =  \'3\'\nAND `menuCode` =  \'GLSTCOA\'\nAND `accessRight` =  1','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366212,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'3\'','glsetting/openingBalance','0.015600919723511','2016-03-01 10:53:26'),(366213,3,76,'192.168.1.124','select','Select financialYear,period   from comp_financial_year where companyID = 3 order by ID','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366214,3,76,'192.168.1.124','select','Select distinct year  from comp_opening_balance where companyID = 3','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366215,3,76,'192.168.1.124','insert','insert into comp_opening_balance (companyID, accountID, year, createdBy) select 3, ID, 2015, 76	from comp_chart_of_acct where companyID = 3 and ID not in (select accountID from comp_opening_balance where year= 2015 and companyID = 3)','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366216,3,76,'192.168.1.124','select','SELECT DISTINCT cacc.ID, openB.ID as openingBalanceID, concat(substr(cacc.acctCode, 1, 4), \"-\", substr(cacc.acctCode, 5, 3), \"-\", substr(cacc.acctCode, 8, 2)) as acctCode, cacc.acctName, accGrp.acctGroupName, accType.acctTypeName, openB.debit as openingBalanceDr, openB.credit as openingBalanceCr\nFROM (`comp_chart_of_acct` as cacc)\nLEFT JOIN `_ref_acct_group` as accGrp ON `accGrp`.`ID` = `cacc`.`acctGroupID`\nLEFT JOIN `comp_acct_type` as accType ON `accType`.`ID` = `accGrp`.`acctTypeID`\nLEFT JOIN `comp_opening_balance` as openB ON `cacc`.`ID` = `openB`.`accountID` AND openB.companyID = 3 AND openB.year = 2015\nWHERE `accType`.`acctClass` =  0\nAND `cacc`.`companyID` =  \'3\'\nORDER BY `cacc`.`acctCode` asc','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366217,3,76,'192.168.1.124','select','SELECT DISTINCT cacc.ID, openB.ID as openingBalanceID, concat(substr(cacc.acctCode, 1, 4), \"-\", substr(cacc.acctCode, 5, 3), \"-\", substr(cacc.acctCode, 8, 2)) as acctCode, cacc.acctName, accGrp.acctGroupName, accType.acctTypeName, openB.debit as openingBalanceDr, openB.credit as openingBalanceCr\nFROM (`comp_chart_of_acct` as cacc)\nLEFT JOIN `_ref_acct_group` as accGrp ON `accGrp`.`ID` = `cacc`.`acctGroupID`\nLEFT JOIN `comp_acct_type` as accType ON `accType`.`ID` = `accGrp`.`acctTypeID`\nLEFT JOIN `comp_opening_balance` as openB ON `cacc`.`ID` = `openB`.`accountID` AND openB.companyID = 3 AND openB.year = 2015\nWHERE `accType`.`acctClass` =  1\nAND `cacc`.`companyID` =  \'3\'\nORDER BY `cacc`.`acctCode` asc','glsetting/openingBalance','0','2016-03-01 10:53:26'),(366218,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `transaction` =  \'1\'\nAND `moduleID` =  \'9\'','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366219,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%usersetting/useronlinestatus%\"','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366220,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366221,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366222,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366223,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366224,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:53:27'),(366225,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366226,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366227,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366228,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366229,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366230,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366231,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366232,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366233,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366234,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366235,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366236,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366237,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366238,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366239,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366240,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366241,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366242,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366243,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366244,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:53:27'),(366245,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366246,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366247,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366248,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366249,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366250,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366251,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366252,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366253,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366254,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366255,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366256,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366257,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366258,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366259,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366260,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366261,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366262,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366263,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366264,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:53:27'),(366265,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366266,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366267,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366268,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366269,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366270,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366271,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366272,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366273,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366274,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366275,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366276,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366277,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366278,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366279,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366280,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366281,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366282,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015600204467773','2016-03-01 10:53:27'),(366283,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366284,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366285,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366286,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366287,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366288,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366289,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366290,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366291,3,76,'192.168.1.124','select','SELECT fldid, username, position, last_seen, DATE_FORMAT(last_seen, \"%H:%i:%s\") viewLastSeen, (UNIX_TIMESTAMP(\"2016-03-01 03-53-27\")-UNIX_TIMESTAMP(last_seen)) idle, \"2016-03-01-03-53-27\" now, online, access_comp\nFROM (`tbl_usermaster`)\nWHERE `online` =  1\nAND `last_seen` > \'2016-03-01 03-23-27\'\nORDER BY `last_seen` DESC','usersetting/useronlinestatus','0','2016-03-01 10:53:27'),(366292,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `transaction` =  \'1\'\nAND `moduleID` =  \'9\'','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:53:28'),(366293,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%usersetting/useronlinestatus%\"','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366294,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366295,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366296,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366297,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366298,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366299,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366300,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366301,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366302,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366303,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366304,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366305,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366306,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366307,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:53:28'),(366308,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366309,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366310,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366311,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366312,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366313,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366314,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366315,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366316,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366317,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366318,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:53:28'),(366319,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366320,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366321,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366322,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366323,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366324,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366325,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366326,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366327,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:53:28'),(366328,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366329,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366330,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366331,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366332,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366333,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366334,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366335,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366336,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:53:28'),(366337,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366338,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366339,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366340,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366341,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366342,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366343,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366344,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366345,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0.015600204467773','2016-03-01 10:53:28'),(366346,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366347,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366348,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366349,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366350,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366351,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366352,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366353,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366354,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:53:28'),(366355,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366356,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366357,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366358,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366359,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366360,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366361,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366362,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366363,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366364,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366365,3,76,'192.168.1.124','select','SELECT fldid, username, position, last_seen, DATE_FORMAT(last_seen, \"%H:%i:%s\") viewLastSeen, (UNIX_TIMESTAMP(\"2016-03-01 03-53-28\")-UNIX_TIMESTAMP(last_seen)) idle, \"2016-03-01-03-53-28\" now, online, access_comp\nFROM (`tbl_usermaster`)\nWHERE `online` =  1\nAND `last_seen` > \'2016-03-01 03-23-28\'\nORDER BY `last_seen` DESC','usersetting/useronlinestatus','0','2016-03-01 10:53:28'),(366366,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366367,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/get_TrialBalance_year%\"','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366368,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366369,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366370,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366371,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366372,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366373,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366374,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366375,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366376,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366377,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366378,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0.015600204467773','2016-03-01 10:53:40'),(366379,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366380,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366381,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366382,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366383,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366384,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366385,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366386,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366387,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366388,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366389,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366390,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366391,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/get_TrialBalance_year','0.015599966049194','2016-03-01 10:53:40'),(366392,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366393,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366394,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366395,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366396,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366397,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366398,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366399,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366400,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0.015599966049194','2016-03-01 10:53:40'),(366401,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366402,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366403,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366404,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366405,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366406,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366407,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366408,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366409,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0.015599966049194','2016-03-01 10:53:40'),(366410,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366411,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366412,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366413,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366414,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366415,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366416,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366417,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366418,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0.015599966049194','2016-03-01 10:53:40'),(366419,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366420,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366421,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366422,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366423,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366424,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366425,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366426,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366427,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366428,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0.015599966049194','2016-03-01 10:53:40'),(366429,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366430,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366431,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366432,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366433,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366434,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366435,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366436,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366437,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366438,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0.015599966049194','2016-03-01 10:53:40'),(366439,3,76,'192.168.1.124','select','SELECT `comp_financial_year`.*, concat(period, \" [\", date_format(startDate, \"%d-%m-%Y\"), \" - \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriod, concat(period, \" [ As at \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriodAsat\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  \'2015\'\nORDER BY `financialYear`, `period`','glreports/get_TrialBalance_year','0','2016-03-01 10:53:40'),(366440,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/financialposition','0','2016-03-01 10:53:42'),(366441,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/financialposition%\"','glreports/financialposition','0','2016-03-01 10:53:42'),(366442,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'88\'\nORDER BY `seq`','glreports/financialposition','0.015599966049194','2016-03-01 10:53:42'),(366443,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:42'),(366444,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 10:53:42'),(366445,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:42'),(366446,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/financialposition','0','2016-03-01 10:53:42'),(366447,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:42'),(366448,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/financialposition','0','2016-03-01 10:53:42'),(366449,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:42'),(366450,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/financialposition','0','2016-03-01 10:53:42'),(366451,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:42'),(366452,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 10:53:42'),(366453,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:42'),(366454,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/financialposition','0','2016-03-01 10:53:42'),(366455,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:42'),(366456,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/financialposition','0','2016-03-01 10:53:42'),(366457,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:42'),(366458,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/financialposition','0','2016-03-01 10:53:42'),(366459,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:42'),(366460,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 10:53:42'),(366461,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','glreports/financialposition','0.015599966049194','2016-03-01 10:53:42'),(366462,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/financialposition','0','2016-03-01 10:53:42'),(366463,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:42'),(366464,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/financialposition','0','2016-03-01 10:53:42'),(366465,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:42'),(366466,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/financialposition','0','2016-03-01 10:53:42'),(366467,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:42'),(366468,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 10:53:42'),(366469,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:42'),(366470,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/financialposition','0','2016-03-01 10:53:42'),(366471,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:42'),(366472,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/financialposition','0','2016-03-01 10:53:42'),(366473,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:42'),(366474,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/financialposition','0','2016-03-01 10:53:42'),(366475,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:42'),(366476,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 10:53:42'),(366477,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:42'),(366478,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/financialposition','0','2016-03-01 10:53:42'),(366479,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:42'),(366480,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/financialposition','0','2016-03-01 10:53:42'),(366481,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:42'),(366482,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/financialposition','0','2016-03-01 10:53:42'),(366483,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:42'),(366484,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 10:53:42'),(366485,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:42'),(366486,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/financialposition','0','2016-03-01 10:53:42'),(366487,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:42'),(366488,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/financialposition','0','2016-03-01 10:53:42'),(366489,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:42'),(366490,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/financialposition','0','2016-03-01 10:53:42'),(366491,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','glreports/financialposition','0.015599966049194','2016-03-01 10:53:42'),(366492,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 10:53:42'),(366493,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:42'),(366494,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/financialposition','0','2016-03-01 10:53:42'),(366495,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:42'),(366496,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/financialposition','0','2016-03-01 10:53:42'),(366497,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:42'),(366498,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/financialposition','0','2016-03-01 10:53:42'),(366499,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:42'),(366500,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 10:53:42'),(366501,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:42'),(366502,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/financialposition','0','2016-03-01 10:53:42'),(366503,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:42'),(366504,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/financialposition','0','2016-03-01 10:53:42'),(366505,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:42'),(366506,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/financialposition','0','2016-03-01 10:53:42'),(366507,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:42'),(366508,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 10:53:42'),(366509,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:42'),(366510,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 10:53:42'),(366511,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:42'),(366512,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 10:53:42'),(366513,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:53:42'),(366514,3,76,'192.168.1.124','select','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'76\'\nAND `companyID` =  \'3\'\nAND `menuCode` =  \'GLRPBS\'\nAND `accessRight` =  1','glreports/financialposition','0','2016-03-01 10:53:43'),(366515,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  \'2015\'\nAND `period` =  \'12\'','glreports/financialposition','0','2016-03-01 10:53:43'),(366516,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `is_delete` =  \'\'\nORDER BY `financialYear` desc, `period` desc','glreports/financialposition','0','2016-03-01 10:53:43'),(366517,3,76,'192.168.1.124','select','SELECT `comp_financial_year`.*, concat(period, \" [\", date_format(startDate, \"%d-%m-%Y\"), \" - \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriod, concat(period, \" [ As at \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriodAsat\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  \'2015\'\nORDER BY `financialYear`, `period`','glreports/financialposition','0','2016-03-01 10:53:43'),(366518,3,76,'192.168.1.124','select','SELECT `a`.*, `b`.`balance`\nFROM (`_ref_acct_group` a)\nJOIN `comp_acct_type` b ON `b`.`ID` = `a`.`acctTypeID`\nWHERE `a`.`parentID` =  0\nAND (a.acctTypeID = 1 OR a.acctTypeID = 2 OR a.acctTypeID = 5)\nORDER BY `a`.`orderNo`, `a`.`parentID`','glreports/financialposition','0','2016-03-01 10:53:43'),(366519,3,76,'192.168.1.124','select','SELECT `a`.*, `b`.`balance`\nFROM (`_ref_acct_group` a)\nJOIN `comp_acct_type` b ON `b`.`ID` = `a`.`acctTypeID`\nWHERE `a`.`parentID` != 0\nAND (a.acctTypeID = 1 OR a.acctTypeID = 2 OR a.acctTypeID = 5)\nORDER BY `a`.`parentID`, `a`.`orderNo`','glreports/financialposition','0','2016-03-01 10:53:43'),(366520,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2015\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 10:53:43'),(366521,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 10:53:43'),(366522,3,76,'192.168.1.124','select','SELECT b.*, IFNULL(ob.debit, 0) oDebit, IFNULL(ob.credit, 0) oCredit, IFNULL(sum(a.amount_dr), 0) as currentyeardebit, IFNULL(sum(a.amount_cr), 0) as currentyearcredit, IFNULL((select ifnull(SUM(amount_dr), 0)-ifnull(SUM(amount_cr), 0) from comp_journal_detail aa3, comp_chart_of_acct ab3, _ref_acct_group d3 where aa3.companyID = b.companyID and aa3.acctcode = ab3.id and ab3.acctGroupID = d3.id and d3.acctTypeID = 3 and aa3.year <2014), 0) as lastRetainInc, IFNULL((select ifnull(SUM(amount_dr), 0)-ifnull(SUM(amount_cr), 0) from comp_journal_detail aa4, comp_chart_of_acct ab4, _ref_acct_group d4 where aa4.companyID = b.companyID and aa4.acctcode = ab4.id and ab4.acctGroupID = d4.id and d4.acctTypeID = 4 and aa4.year <2014), 0) as lastRetainExp, sum(a.amount_dr - a.amount_cr) as total, `b`.`acctCode`, `b`.`acctName`, `b`.`acctGroupID`, `d`.`acctTypeID`, `e`.`balance`, IFNULL((select sum(aa.amount_dr) from comp_journal_detail aa where aa.acctCode = b.ID and aa.year < 2015 And aa.year >= 2015), 0)+IFNULL(ob2.debit, 0) as lastyeardebit, IFNULL((select sum(aa.amount_cr) from comp_journal_detail aa where aa.acctCode = b.ID and aa.year < 2015 And aa.year >= 2015), 0)+IFNULL(ob2.credit, 0) as lastyearcredit\nFROM (`comp_chart_of_acct` b)\nLEFT JOIN `comp_journal_detail` a ON `a`.`acctCode` = `b`.`ID` and a.year = 2015 And a.period <= 12\nLEFT OUTER JOIN `_ref_acct_group` d ON `d`.`ID` = `b`.`acctGroupID`\nLEFT OUTER JOIN `comp_acct_type` e ON `e`.`ID` = `d`.`acctTypeID`\nLEFT OUTER JOIN `comp_opening_balance` ob ON `ob`.`companyID` = `b`.`companyID` and ob.accountID = b.ID and ob.year =2015\nLEFT OUTER JOIN `comp_opening_balance` ob2 ON `ob2`.`companyID` = `b`.`companyID` and ob2.accountID = b.ID and ob2.year =2015\nWHERE `b`.`companyID` =  \'3\'\nAND `b`.`acctGroupID` >  0\nAND `b`.`id` > 0\nGROUP BY `b`.`acctCode`','glreports/financialposition','0.078000068664551','2016-03-01 10:53:43'),(366523,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/financialposition','0','2016-03-01 10:53:43'),(366524,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/financialposition','0','2016-03-01 10:53:43'),(366525,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  2014\nAND `is_delete` =  \'\'\nORDER BY `period` desc','glreports/financialposition','0','2016-03-01 10:53:43'),(366526,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2015\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 10:53:43'),(366527,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 10:53:43'),(366528,3,76,'192.168.1.124','select','SELECT SUM(balance) as bal\nFROM (`view_expence_and_income`)\nWHERE `companyID` =  \'3\'\nAND `acctType` =  \'3\'\nAND `period` <= 12\nAND `year` =  \'2015\'\nGROUP BY `acctType`','glreports/financialposition','0','2016-03-01 10:53:43'),(366529,3,76,'192.168.1.124','select','SELECT SUM(balance) as bal\nFROM (`view_expence_and_income`)\nWHERE `companyID` =  \'3\'\nAND `acctType` =  \'4\'\nAND `period` <= 12\nAND `year` =  \'2015\'\nGROUP BY `acctType`','glreports/financialposition','0.015599966049194','2016-03-01 10:53:43'),(366530,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/financialposition','0','2016-03-01 10:53:43'),(366531,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/financialposition','0','2016-03-01 10:53:43'),(366532,3,76,'192.168.1.124','select','SELECT IFNULL(ob.debit, 0) as oDebit, sum(b.amount_dr) as currentyeardebit, IFNULL(ob.credit, 0) as oCredit, sum(b.amount_cr) as currentyearcredit, sum(b.amount_dr - b.amount_cr) as total, `a`.*, IFNULL(sum(c.amountcr), 0) as budgetAmount, `d`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_journal_detail` b ON `a`.`ID` = `b`.`acctCode` and b.year=2015 and b.period <= 12 and b.companyID = 3\nJOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID` and (d.acctTypeID = \"3\" OR d.acctTypeID = \"4\")\nLEFT OUTER JOIN `comp_opening_balance` ob ON `ob`.`companyID` = `a`.`companyID` and ob.accountID = a.ID and ob.year = b.year\nLEFT OUTER JOIN `comp_budget` c ON `c`.`acctID` = `a`.`ID` and c.year = b.year and c.companyID = a.companyID\nWHERE `a`.`companyID` =  \'3\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acctCode`','glreports/financialposition','0.015600204467773','2016-03-01 10:53:43'),(366533,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < 2014\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 10:53:43'),(366534,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 10:53:43'),(366535,3,76,'192.168.1.124','select','SELECT `ID`\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'3\'\nAND `acctCode` =  120000000','glreports/financialposition','0','2016-03-01 10:53:43'),(366536,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < 2013\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 10:53:43'),(366537,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 10:53:43'),(366538,3,76,'192.168.1.124','select','SELECT (sum(a.amount_dr)-sum(a.amount_cr)) openingBalance\nFROM (`comp_journal_detail` a)\nWHERE `companyID` =  \'3\'\nAND `a`.`acctCode` =  \'32501\'\nAND `a`.`year` < 2013\nAND `a`.`year` >= \'2015\'','glreports/financialposition','0','2016-03-01 10:53:43'),(366539,3,76,'192.168.1.124','select','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'3\'\nAND `accountID` =  \'32501\'\nAND `year` =  \'2015\'','glreports/financialposition','0','2016-03-01 10:53:43'),(366540,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2015\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 10:53:43'),(366541,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 10:53:43'),(366542,3,76,'192.168.1.124','select','SELECT `ID`\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'3\'\nAND `acctCode` =  120000000','glreports/financialposition','0','2016-03-01 10:53:43'),(366543,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < 2014\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 10:53:43'),(366544,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 10:53:43'),(366545,3,76,'192.168.1.124','select','SELECT (sum(a.amount_dr)-sum(a.amount_cr)) openingBalance\nFROM (`comp_journal_detail` a)\nWHERE `companyID` =  \'3\'\nAND `a`.`acctCode` =  \'32501\'\nAND `a`.`year` < 2014\nAND `a`.`year` >= \'2015\'','glreports/financialposition','0','2016-03-01 10:53:43'),(366546,3,76,'192.168.1.124','select','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'3\'\nAND `accountID` =  \'32501\'\nAND `year` =  \'2015\'','glreports/financialposition','0','2016-03-01 10:53:43'),(366547,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `transaction` =  \'1\'\nAND `moduleID` =  \'9\'','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:53:44'),(366548,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%usersetting/useronlinestatus%\"','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366549,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366550,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366551,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366552,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366553,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366554,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366555,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366556,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366557,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366558,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366559,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366560,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:53:44'),(366561,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366562,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366563,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366564,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366565,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366566,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366567,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366568,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366569,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366570,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366571,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015600919723511','2016-03-01 10:53:44'),(366572,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366573,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366574,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366575,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366576,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366577,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366578,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366579,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366580,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366581,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366582,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366583,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015600204467773','2016-03-01 10:53:44'),(366584,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366585,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366586,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366587,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366588,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366589,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366590,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366591,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366592,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366593,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366594,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:53:44'),(366595,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366596,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366597,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366598,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366599,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366600,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366601,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366602,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366603,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366604,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:53:44'),(366605,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366606,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366607,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366608,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366609,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366610,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366611,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366612,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366613,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366614,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366615,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:53:44'),(366616,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366617,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366618,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366619,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366620,3,76,'192.168.1.124','select','SELECT fldid, username, position, last_seen, DATE_FORMAT(last_seen, \"%H:%i:%s\") viewLastSeen, (UNIX_TIMESTAMP(\"2016-03-01 03-53-44\")-UNIX_TIMESTAMP(last_seen)) idle, \"2016-03-01-03-53-44\" now, online, access_comp\nFROM (`tbl_usermaster`)\nWHERE `online` =  1\nAND `last_seen` > \'2016-03-01 03-23-44\'\nORDER BY `last_seen` DESC','usersetting/useronlinestatus','0','2016-03-01 10:53:44'),(366621,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `transaction` =  \'1\'\nAND `moduleID` =  \'9\'','usersetting/useronlinestatus','0','2016-03-01 10:55:10'),(366622,3,75,'192.168.1.47','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%usersetting/useronlinestatus%\"','usersetting/useronlinestatus','0','2016-03-01 10:55:10'),(366623,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:55:10'),(366624,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:55:10'),(366625,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:55:10'),(366626,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:55:10'),(366627,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:55:10'),(366628,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:55:10'),(366629,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:55:10'),(366630,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:55:10'),(366631,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:55:10'),(366632,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:55:10'),(366633,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:55:10'),(366634,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:55:10'),(366635,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:55:10'),(366636,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:55:10'),(366637,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:55:10'),(366638,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:55:10'),(366639,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:55:10'),(366640,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:55:10'),(366641,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:55:10'),(366642,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:55:10'),(366643,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:55:10'),(366644,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:55:10'),(366645,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:55:10'),(366646,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:55:10'),(366647,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:55:10'),(366648,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:55:10'),(366649,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:55:10'),(366650,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:55:10'),(366651,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:55:10'),(366652,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366653,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366654,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366655,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366656,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366657,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366658,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366659,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366660,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366661,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366662,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366663,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366664,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366665,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:55:11'),(366666,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366667,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366668,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366669,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366670,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366671,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366672,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366673,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366674,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366675,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366676,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366677,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366678,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366679,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366680,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366681,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366682,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366683,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366684,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366685,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366686,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366687,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366688,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366689,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366690,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366691,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:55:11'),(366692,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366693,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366694,3,75,'192.168.1.47','select','SELECT fldid, username, position, last_seen, DATE_FORMAT(last_seen, \"%H:%i:%s\") viewLastSeen, (UNIX_TIMESTAMP(\"2016-03-01 03-55-10\")-UNIX_TIMESTAMP(last_seen)) idle, \"2016-03-01-03-55-10\" now, online, access_comp\nFROM (`tbl_usermaster`)\nWHERE `online` =  1\nAND `last_seen` > \'2016-03-01 03-25-10\'\nORDER BY `last_seen` DESC','usersetting/useronlinestatus','0','2016-03-01 10:55:11'),(366695,1,1,'192.168.1.199','select','SELECT * FROM _sys_menu WHERE urls=\"home\"','home/index','0.015599966049194','2016-03-01 10:55:45'),(366696,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','home/index','0','2016-03-01 10:55:45'),(366697,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'1\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'1\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','home/index','0','2016-03-01 10:55:45'),(366698,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','home/index','0','2016-03-01 10:55:45'),(366699,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'1\'\nAND `userID` =  \'1\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','home/index','0','2016-03-01 10:55:45'),(366700,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','home/index','0','2016-03-01 10:55:45'),(366701,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'1\'\nAND `userID` =  \'1\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','home/index','0','2016-03-01 10:55:45'),(366702,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','home/index','0','2016-03-01 10:55:45'),(366703,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'1\'\nAND `userID` =  \'1\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','home/index','0','2016-03-01 10:55:45'),(366704,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','home/index','0','2016-03-01 10:55:45'),(366705,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'1\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'1\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','home/index','0','2016-03-01 10:55:45'),(366706,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','home/index','0','2016-03-01 10:55:45'),(366707,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'1\'\nAND `userID` =  \'1\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','home/index','0','2016-03-01 10:55:45'),(366708,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','home/index','0','2016-03-01 10:55:45'),(366709,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'1\'\nAND `userID` =  \'1\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','home/index','0','2016-03-01 10:55:45'),(366710,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','home/index','0','2016-03-01 10:55:45'),(366711,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'1\'\nAND `userID` =  \'1\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','home/index','0','2016-03-01 10:55:45'),(366712,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','home/index','0.015600204467773','2016-03-01 10:55:45'),(366713,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'1\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'1\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','home/index','0','2016-03-01 10:55:45'),(366714,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','home/index','0','2016-03-01 10:55:45'),(366715,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'1\'\nAND `userID` =  \'1\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','home/index','0','2016-03-01 10:55:45'),(366716,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','home/index','0','2016-03-01 10:55:45'),(366717,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'1\'\nAND `userID` =  \'1\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','home/index','0','2016-03-01 10:55:45'),(366718,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','home/index','0','2016-03-01 10:55:45'),(366719,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'1\'\nAND `userID` =  \'1\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','home/index','0','2016-03-01 10:55:45'),(366720,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','home/index','0','2016-03-01 10:55:45'),(366721,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'1\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'1\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','home/index','0','2016-03-01 10:55:45'),(366722,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','home/index','0.015599966049194','2016-03-01 10:55:45'),(366723,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'1\'\nAND `userID` =  \'1\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','home/index','0','2016-03-01 10:55:45'),(366724,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','home/index','0','2016-03-01 10:55:45'),(366725,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'1\'\nAND `userID` =  \'1\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','home/index','0','2016-03-01 10:55:45'),(366726,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','home/index','0','2016-03-01 10:55:45'),(366727,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'1\'\nAND `userID` =  \'1\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','home/index','0','2016-03-01 10:55:45'),(366728,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','home/index','0','2016-03-01 10:55:45'),(366729,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'1\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'1\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','home/index','0','2016-03-01 10:55:45'),(366730,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','home/index','0','2016-03-01 10:55:45'),(366731,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'1\'\nAND `userID` =  \'1\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','home/index','0','2016-03-01 10:55:45'),(366732,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','home/index','0','2016-03-01 10:55:45'),(366733,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'1\'\nAND `userID` =  \'1\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','home/index','0','2016-03-01 10:55:45'),(366734,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','home/index','0','2016-03-01 10:55:45'),(366735,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'1\'\nAND `userID` =  \'1\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','home/index','0','2016-03-01 10:55:45'),(366736,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','home/index','0','2016-03-01 10:55:45'),(366737,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'1\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'1\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','home/index','0','2016-03-01 10:55:45'),(366738,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','home/index','0','2016-03-01 10:55:45'),(366739,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'1\'\nAND `userID` =  \'1\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','home/index','0','2016-03-01 10:55:45'),(366740,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','home/index','0.015599966049194','2016-03-01 10:55:45'),(366741,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'1\'\nAND `userID` =  \'1\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','home/index','0','2016-03-01 10:55:45'),(366742,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','home/index','0','2016-03-01 10:55:45'),(366743,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'1\'\nAND `userID` =  \'1\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','home/index','0','2016-03-01 10:55:45'),(366744,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','home/index','0','2016-03-01 10:55:45'),(366745,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'1\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'1\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','home/index','0','2016-03-01 10:55:45'),(366746,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','home/index','0','2016-03-01 10:55:45'),(366747,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'1\'\nAND `userID` =  \'1\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','home/index','0','2016-03-01 10:55:45'),(366748,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','home/index','0','2016-03-01 10:55:45'),(366749,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'1\'\nAND `userID` =  \'1\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','home/index','0','2016-03-01 10:55:45'),(366750,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','home/index','0','2016-03-01 10:55:45'),(366751,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'1\'\nAND `userID` =  \'1\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','home/index','0','2016-03-01 10:55:45'),(366752,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','home/index','0','2016-03-01 10:55:45'),(366753,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'1\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'1\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','home/index','0','2016-03-01 10:55:45'),(366754,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','home/index','0','2016-03-01 10:55:45'),(366755,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'1\'\nAND `userID` =  \'1\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','home/index','0','2016-03-01 10:55:45'),(366756,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','home/index','0','2016-03-01 10:55:45'),(366757,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'1\'\nAND `userID` =  \'1\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','home/index','0','2016-03-01 10:55:45'),(366758,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','home/index','0','2016-03-01 10:55:45'),(366759,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'1\'\nAND `userID` =  \'1\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','home/index','0.015599966049194','2016-03-01 10:55:45'),(366760,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','home/index','0','2016-03-01 10:55:45'),(366761,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'1\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'1\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','home/index','0','2016-03-01 10:55:45'),(366762,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','home/index','0','2016-03-01 10:55:45'),(366763,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'1\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'1\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','home/index','0','2016-03-01 10:55:45'),(366764,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','home/index','0','2016-03-01 10:55:45'),(366765,1,1,'192.168.1.199','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'1\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'1\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','home/index','0','2016-03-01 10:55:45'),(366766,1,1,'192.168.1.199','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','home/index','0','2016-03-01 10:55:45'),(366767,1,1,'192.168.1.199','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'1\'\nAND `financialYear` =  \'2016\'\nORDER BY `financialYear`, `period`\nLIMIT 1','home/index','0.015600204467773','2016-03-01 10:55:45'),(366768,1,1,'192.168.1.199','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'1\'\nAND `startDate` <= \'2016-03-01\'\nAND `endDate` >= \'2016-03-01\'\nLIMIT 1','home/index','0','2016-03-01 10:55:45'),(366769,1,1,'192.168.1.199','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'1\'\nAND `financialYear` =  2015\nORDER BY `financialYear`, `endDate` desc\nLIMIT 1','home/index','0','2016-03-01 10:55:45'),(366770,1,1,'192.168.1.199','select','SELECT `c`.`slug`, `c`.`file_path`\nFROM (`comp_visual_report` b)\nRIGHT JOIN `_sys_menu` a ON `b`.`page_id` = `a`.`fldid`\nLEFT JOIN `_ref_visual_report` c ON `c`.`id` = `b`.`graph_id`\nWHERE `b`.`companyID` =  \'1\'\nAND `a`.`urls` =  \'home\'\nAND `b`.`active` =  1\nAND `b`.`is_delete` =  0\nORDER BY `order` ASC','home/index','0.015599966049194','2016-03-01 10:55:45'),(366771,0,0,'192.168.1.199','select','SELECT *\nFROM (`company`)\nWHERE `is_delete` =  \'\'\nORDER BY `createdTS` desc','login/index','0','2016-03-01 10:55:45'),(366772,0,0,'192.168.1.124','select','SELECT *\nFROM (`company`)\nWHERE `is_delete` =  \'\'\nORDER BY `createdTS` desc','login/index','0.015600204467773','2016-03-01 10:57:40'),(366773,0,0,'192.168.1.124','select','SELECT *\nFROM (`tbl_usermaster`)\nWHERE `userid` =  \'shida85\'\nLIMIT 1','login/check_userIP','0','2016-03-01 10:57:47'),(366774,0,0,'192.168.1.124','select','SELECT *\nFROM (`tbl_usermaster`)\nWHERE `userid` =  \'shida85\'','login/check_userIP','0','2016-03-01 10:57:47'),(366775,0,0,'192.168.1.124','select','SELECT c.ID, a.companyID, CONCAT(c.companyName, \" [ \", c.companyNo, \" ] \") as companyName\nFROM (`user_module_access` a)\nLEFT JOIN `company` c ON `c`.`ID` = `a`.`companyID`\nLEFT JOIN `tbl_usermaster` b ON `b`.`fldid` = `a`.`userID`\nWHERE `b`.`userid` =  \'shida85\'\nAND `c`.`is_delete` =  0\nGROUP BY `a`.`companyID`\nORDER BY `c`.`createdTS` desc','login/check_userIP','0','2016-03-01 10:57:47'),(366776,0,0,'192.168.1.124','select','SELECT *\nFROM (`tbl_usermaster`)\nWHERE `userid` =  \'shida58\'\nLIMIT 1','login/check_userIP','0','2016-03-01 10:57:56'),(366777,0,0,'192.168.1.124','select','SELECT *\nFROM (`tbl_usermaster`)\nWHERE `userid` =  \'shida58\'','login/check_userIP','0','2016-03-01 10:57:56'),(366778,0,0,'192.168.1.124','select','SELECT c.ID, a.companyID, CONCAT(c.companyName, \" [ \", c.companyNo, \" ] \") as companyName\nFROM (`user_module_access` a)\nLEFT JOIN `company` c ON `c`.`ID` = `a`.`companyID`\nLEFT JOIN `tbl_usermaster` b ON `b`.`fldid` = `a`.`userID`\nWHERE `b`.`userid` =  \'shida58\'\nAND `c`.`is_delete` =  0\nGROUP BY `a`.`companyID`\nORDER BY `c`.`createdTS` desc','login/check_userIP','0','2016-03-01 10:57:56'),(366779,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/financialposition','0','2016-03-01 10:58:23'),(366780,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/financialposition%\"','glreports/financialposition','0','2016-03-01 10:58:23'),(366781,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'88\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366782,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366783,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 10:58:23'),(366784,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366785,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/financialposition','0','2016-03-01 10:58:23'),(366786,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366787,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/financialposition','0.015599966049194','2016-03-01 10:58:23'),(366788,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366789,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/financialposition','0','2016-03-01 10:58:23'),(366790,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366791,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 10:58:23'),(366792,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366793,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/financialposition','0','2016-03-01 10:58:23'),(366794,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366795,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/financialposition','0','2016-03-01 10:58:23'),(366796,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366797,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/financialposition','0.015599966049194','2016-03-01 10:58:23'),(366798,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366799,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 10:58:23'),(366800,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366801,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/financialposition','0','2016-03-01 10:58:23'),(366802,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366803,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/financialposition','0','2016-03-01 10:58:23'),(366804,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366805,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/financialposition','0','2016-03-01 10:58:23'),(366806,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366807,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0.015599966049194','2016-03-01 10:58:23'),(366808,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366809,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/financialposition','0','2016-03-01 10:58:23'),(366810,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366811,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/financialposition','0','2016-03-01 10:58:23'),(366812,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366813,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/financialposition','0','2016-03-01 10:58:23'),(366814,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366815,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 10:58:23'),(366816,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366817,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/financialposition','0','2016-03-01 10:58:23'),(366818,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366819,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/financialposition','0','2016-03-01 10:58:23'),(366820,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366821,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/financialposition','0','2016-03-01 10:58:23'),(366822,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366823,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 10:58:23'),(366824,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366825,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/financialposition','0','2016-03-01 10:58:23'),(366826,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366827,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/financialposition','0.015599966049194','2016-03-01 10:58:23'),(366828,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366829,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/financialposition','0','2016-03-01 10:58:23'),(366830,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366831,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 10:58:23'),(366832,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366833,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/financialposition','0','2016-03-01 10:58:23'),(366834,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366835,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/financialposition','0','2016-03-01 10:58:23'),(366836,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','glreports/financialposition','0.015599966049194','2016-03-01 10:58:23'),(366837,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/financialposition','0','2016-03-01 10:58:23'),(366838,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366839,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 10:58:23'),(366840,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366841,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/financialposition','0','2016-03-01 10:58:23'),(366842,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366843,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/financialposition','0','2016-03-01 10:58:23'),(366844,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366845,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/financialposition','0','2016-03-01 10:58:23'),(366846,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','glreports/financialposition','0.015600204467773','2016-03-01 10:58:23'),(366847,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 10:58:23'),(366848,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366849,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 10:58:23'),(366850,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366851,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 10:58:23'),(366852,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 10:58:23'),(366853,3,76,'192.168.1.124','select','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'76\'\nAND `companyID` =  \'3\'\nAND `menuCode` =  \'GLRPBS\'\nAND `accessRight` =  1','glreports/financialposition','0.031199932098389','2016-03-01 10:58:23'),(366854,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  \'2015\'\nAND `period` =  \'12\'','glreports/financialposition','0.015599966049194','2016-03-01 10:58:23'),(366855,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `is_delete` =  \'\'\nORDER BY `financialYear` desc, `period` desc','glreports/financialposition','0.015599966049194','2016-03-01 10:58:23'),(366856,3,76,'192.168.1.124','select','SELECT `comp_financial_year`.*, concat(period, \" [\", date_format(startDate, \"%d-%m-%Y\"), \" - \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriod, concat(period, \" [ As at \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriodAsat\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  \'2015\'\nORDER BY `financialYear`, `period`','glreports/financialposition','0','2016-03-01 10:58:23'),(366857,3,76,'192.168.1.124','select','SELECT `a`.*, `b`.`balance`\nFROM (`_ref_acct_group` a)\nJOIN `comp_acct_type` b ON `b`.`ID` = `a`.`acctTypeID`\nWHERE `a`.`parentID` =  0\nAND (a.acctTypeID = 1 OR a.acctTypeID = 2 OR a.acctTypeID = 5)\nORDER BY `a`.`orderNo`, `a`.`parentID`','glreports/financialposition','0.015600204467773','2016-03-01 10:58:23'),(366858,3,76,'192.168.1.124','select','SELECT `a`.*, `b`.`balance`\nFROM (`_ref_acct_group` a)\nJOIN `comp_acct_type` b ON `b`.`ID` = `a`.`acctTypeID`\nWHERE `a`.`parentID` != 0\nAND (a.acctTypeID = 1 OR a.acctTypeID = 2 OR a.acctTypeID = 5)\nORDER BY `a`.`parentID`, `a`.`orderNo`','glreports/financialposition','0','2016-03-01 10:58:23'),(366859,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2015\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 10:58:23'),(366860,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 10:58:23'),(366861,3,76,'192.168.1.124','select','SELECT b.*, IFNULL(ob.debit, 0) oDebit, IFNULL(ob.credit, 0) oCredit, IFNULL(sum(a.amount_dr), 0) as currentyeardebit, IFNULL(sum(a.amount_cr), 0) as currentyearcredit, IFNULL((select ifnull(SUM(amount_dr), 0)-ifnull(SUM(amount_cr), 0) from comp_journal_detail aa3, comp_chart_of_acct ab3, _ref_acct_group d3 where aa3.companyID = b.companyID and aa3.acctcode = ab3.id and ab3.acctGroupID = d3.id and d3.acctTypeID = 3 and aa3.year <2014), 0) as lastRetainInc, IFNULL((select ifnull(SUM(amount_dr), 0)-ifnull(SUM(amount_cr), 0) from comp_journal_detail aa4, comp_chart_of_acct ab4, _ref_acct_group d4 where aa4.companyID = b.companyID and aa4.acctcode = ab4.id and ab4.acctGroupID = d4.id and d4.acctTypeID = 4 and aa4.year <2014), 0) as lastRetainExp, sum(a.amount_dr - a.amount_cr) as total, `b`.`acctCode`, `b`.`acctName`, `b`.`acctGroupID`, `d`.`acctTypeID`, `e`.`balance`, IFNULL((select sum(aa.amount_dr) from comp_journal_detail aa where aa.acctCode = b.ID and aa.year < 2015 And aa.year >= 2015), 0)+IFNULL(ob2.debit, 0) as lastyeardebit, IFNULL((select sum(aa.amount_cr) from comp_journal_detail aa where aa.acctCode = b.ID and aa.year < 2015 And aa.year >= 2015), 0)+IFNULL(ob2.credit, 0) as lastyearcredit\nFROM (`comp_chart_of_acct` b)\nLEFT JOIN `comp_journal_detail` a ON `a`.`acctCode` = `b`.`ID` and a.year = 2015 And a.period <= 12\nLEFT OUTER JOIN `_ref_acct_group` d ON `d`.`ID` = `b`.`acctGroupID`\nLEFT OUTER JOIN `comp_acct_type` e ON `e`.`ID` = `d`.`acctTypeID`\nLEFT OUTER JOIN `comp_opening_balance` ob ON `ob`.`companyID` = `b`.`companyID` and ob.accountID = b.ID and ob.year =2015\nLEFT OUTER JOIN `comp_opening_balance` ob2 ON `ob2`.`companyID` = `b`.`companyID` and ob2.accountID = b.ID and ob2.year =2015\nWHERE `b`.`companyID` =  \'3\'\nAND `b`.`acctGroupID` >  0\nAND `b`.`id` > 0\nGROUP BY `b`.`acctCode`','glreports/financialposition','0.23400092124939','2016-03-01 10:58:23'),(366862,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/financialposition','0','2016-03-01 10:58:23'),(366863,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/financialposition','0','2016-03-01 10:58:23'),(366864,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  2014\nAND `is_delete` =  \'\'\nORDER BY `period` desc','glreports/financialposition','0','2016-03-01 10:58:23'),(366865,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2015\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 10:58:23'),(366866,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 10:58:23'),(366867,3,76,'192.168.1.124','select','SELECT SUM(balance) as bal\nFROM (`view_expence_and_income`)\nWHERE `companyID` =  \'3\'\nAND `acctType` =  \'3\'\nAND `period` <= 12\nAND `year` =  \'2015\'\nGROUP BY `acctType`','glreports/financialposition','0.015599966049194','2016-03-01 10:58:23'),(366868,3,76,'192.168.1.124','select','SELECT SUM(balance) as bal\nFROM (`view_expence_and_income`)\nWHERE `companyID` =  \'3\'\nAND `acctType` =  \'4\'\nAND `period` <= 12\nAND `year` =  \'2015\'\nGROUP BY `acctType`','glreports/financialposition','0.015599966049194','2016-03-01 10:58:23'),(366869,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/financialposition','0','2016-03-01 10:58:23'),(366870,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/financialposition','0','2016-03-01 10:58:23'),(366871,3,76,'192.168.1.124','select','SELECT IFNULL(ob.debit, 0) as oDebit, sum(b.amount_dr) as currentyeardebit, IFNULL(ob.credit, 0) as oCredit, sum(b.amount_cr) as currentyearcredit, sum(b.amount_dr - b.amount_cr) as total, `a`.*, IFNULL(sum(c.amountcr), 0) as budgetAmount, `d`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_journal_detail` b ON `a`.`ID` = `b`.`acctCode` and b.year=2015 and b.period <= 12 and b.companyID = 3\nJOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID` and (d.acctTypeID = \"3\" OR d.acctTypeID = \"4\")\nLEFT OUTER JOIN `comp_opening_balance` ob ON `ob`.`companyID` = `a`.`companyID` and ob.accountID = a.ID and ob.year = b.year\nLEFT OUTER JOIN `comp_budget` c ON `c`.`acctID` = `a`.`ID` and c.year = b.year and c.companyID = a.companyID\nWHERE `a`.`companyID` =  \'3\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acctCode`','glreports/financialposition','0.031200170516968','2016-03-01 10:58:23'),(366872,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < 2014\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 10:58:23'),(366873,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 10:58:23'),(366874,3,76,'192.168.1.124','select','SELECT `ID`\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'3\'\nAND `acctCode` =  120000000','glreports/financialposition','0','2016-03-01 10:58:23'),(366875,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < 2013\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 10:58:23'),(366876,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 10:58:23'),(366877,3,76,'192.168.1.124','select','SELECT (sum(a.amount_dr)-sum(a.amount_cr)) openingBalance\nFROM (`comp_journal_detail` a)\nWHERE `companyID` =  \'3\'\nAND `a`.`acctCode` =  \'32501\'\nAND `a`.`year` < 2013\nAND `a`.`year` >= \'2015\'','glreports/financialposition','0','2016-03-01 10:58:23'),(366878,3,76,'192.168.1.124','select','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'3\'\nAND `accountID` =  \'32501\'\nAND `year` =  \'2015\'','glreports/financialposition','0.015599966049194','2016-03-01 10:58:23'),(366879,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2015\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 10:58:23'),(366880,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 10:58:23'),(366881,3,76,'192.168.1.124','select','SELECT `ID`\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'3\'\nAND `acctCode` =  120000000','glreports/financialposition','0','2016-03-01 10:58:23'),(366882,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < 2014\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 10:58:23'),(366883,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 10:58:23'),(366884,3,76,'192.168.1.124','select','SELECT (sum(a.amount_dr)-sum(a.amount_cr)) openingBalance\nFROM (`comp_journal_detail` a)\nWHERE `companyID` =  \'3\'\nAND `a`.`acctCode` =  \'32501\'\nAND `a`.`year` < 2014\nAND `a`.`year` >= \'2015\'','glreports/financialposition','0','2016-03-01 10:58:23'),(366885,3,76,'192.168.1.124','select','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'3\'\nAND `accountID` =  \'32501\'\nAND `year` =  \'2015\'','glreports/financialposition','0','2016-03-01 10:58:23'),(366886,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `transaction` =  \'1\'\nAND `moduleID` =  \'9\'','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366887,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%usersetting/useronlinestatus%\"','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366888,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366889,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366890,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366891,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366892,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366893,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366894,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366895,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366896,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366897,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366898,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366899,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:58:24'),(366900,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366901,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366902,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366903,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366904,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366905,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366906,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366907,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366908,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366909,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366910,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366911,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366912,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366913,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366914,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366915,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366916,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366917,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366918,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366919,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366920,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366921,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366922,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366923,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366924,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366925,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366926,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:58:24'),(366927,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366928,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366929,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366930,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366931,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366932,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366933,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366934,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366935,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366936,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366937,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366938,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366939,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366940,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366941,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366942,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366943,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366944,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366945,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366946,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366947,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366948,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366949,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366950,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366951,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366952,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366953,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366954,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:58:24'),(366955,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366956,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366957,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366958,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366959,3,76,'192.168.1.124','select','SELECT fldid, username, position, last_seen, DATE_FORMAT(last_seen, \"%H:%i:%s\") viewLastSeen, (UNIX_TIMESTAMP(\"2016-03-01 03-58-24\")-UNIX_TIMESTAMP(last_seen)) idle, \"2016-03-01-03-58-24\" now, online, access_comp\nFROM (`tbl_usermaster`)\nWHERE `online` =  1\nAND `last_seen` > \'2016-03-01 03-28-24\'\nORDER BY `last_seen` DESC','usersetting/useronlinestatus','0','2016-03-01 10:58:24'),(366960,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `transaction` =  \'1\'\nAND `moduleID` =  \'9\'','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366961,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%usersetting/useronlinestatus%\"','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366962,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366963,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366964,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366965,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366966,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366967,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366968,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366969,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366970,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366971,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366972,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366973,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366974,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366975,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366976,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366977,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366978,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366979,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366980,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366981,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366982,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366983,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366984,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366985,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366986,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366987,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366988,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366989,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366990,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366991,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366992,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366993,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366994,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366995,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366996,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366997,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(366998,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:58:30'),(366999,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(367000,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(367001,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(367002,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(367003,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(367004,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(367005,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(367006,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(367007,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:58:30'),(367008,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(367009,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(367010,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(367011,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(367012,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(367013,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(367014,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(367015,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(367016,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:58:30'),(367017,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(367018,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(367019,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(367020,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(367021,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(367022,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(367023,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(367024,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(367025,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(367026,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(367027,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(367028,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(367029,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(367030,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(367031,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(367032,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(367033,3,76,'192.168.1.124','select','SELECT fldid, username, position, last_seen, DATE_FORMAT(last_seen, \"%H:%i:%s\") viewLastSeen, (UNIX_TIMESTAMP(\"2016-03-01 03-58-30\")-UNIX_TIMESTAMP(last_seen)) idle, \"2016-03-01-03-58-30\" now, online, access_comp\nFROM (`tbl_usermaster`)\nWHERE `online` =  1\nAND `last_seen` > \'2016-03-01 03-28-30\'\nORDER BY `last_seen` DESC','usersetting/useronlinestatus','0','2016-03-01 10:58:30'),(367034,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/trialBalance','0','2016-03-01 10:59:17'),(367035,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/trialBalance%\"','glreports/trialBalance','0','2016-03-01 10:59:17'),(367036,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'88\'\nORDER BY `seq`','glreports/trialBalance','0','2016-03-01 10:59:17'),(367037,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/trialBalance','0','2016-03-01 10:59:17'),(367038,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance','0','2016-03-01 10:59:17'),(367039,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','glreports/trialBalance','0','2016-03-01 10:59:17'),(367040,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/trialBalance','0','2016-03-01 10:59:17'),(367041,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','glreports/trialBalance','0','2016-03-01 10:59:17'),(367042,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/trialBalance','0','2016-03-01 10:59:17'),(367043,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','glreports/trialBalance','0','2016-03-01 10:59:17'),(367044,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/trialBalance','0','2016-03-01 10:59:17'),(367045,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','glreports/trialBalance','0','2016-03-01 10:59:17'),(367046,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance','0','2016-03-01 10:59:17'),(367047,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','glreports/trialBalance','0','2016-03-01 10:59:17'),(367048,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/trialBalance','0','2016-03-01 10:59:17'),(367049,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','glreports/trialBalance','0.015599966049194','2016-03-01 10:59:17'),(367050,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/trialBalance','0','2016-03-01 10:59:17'),(367051,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','glreports/trialBalance','0','2016-03-01 10:59:17'),(367052,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/trialBalance','0','2016-03-01 10:59:17'),(367053,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','glreports/trialBalance','0','2016-03-01 10:59:17'),(367054,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance','0','2016-03-01 10:59:17'),(367055,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','glreports/trialBalance','0','2016-03-01 10:59:17'),(367056,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/trialBalance','0','2016-03-01 10:59:17'),(367057,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','glreports/trialBalance','0','2016-03-01 10:59:17'),(367058,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/trialBalance','0','2016-03-01 10:59:17'),(367059,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','glreports/trialBalance','0','2016-03-01 10:59:17'),(367060,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/trialBalance','0','2016-03-01 10:59:17'),(367061,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','glreports/trialBalance','0','2016-03-01 10:59:17'),(367062,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance','0','2016-03-01 10:59:17'),(367063,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','glreports/trialBalance','0','2016-03-01 10:59:17'),(367064,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/trialBalance','0','2016-03-01 10:59:17'),(367065,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','glreports/trialBalance','0','2016-03-01 10:59:17'),(367066,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/trialBalance','0','2016-03-01 10:59:17'),(367067,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','glreports/trialBalance','0.015600204467773','2016-03-01 10:59:17'),(367068,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/trialBalance','0','2016-03-01 10:59:17'),(367069,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','glreports/trialBalance','0','2016-03-01 10:59:17'),(367070,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance','0','2016-03-01 10:59:17'),(367071,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','glreports/trialBalance','0','2016-03-01 10:59:17'),(367072,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/trialBalance','0','2016-03-01 10:59:17'),(367073,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','glreports/trialBalance','0','2016-03-01 10:59:17'),(367074,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/trialBalance','0','2016-03-01 10:59:17'),(367075,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','glreports/trialBalance','0','2016-03-01 10:59:17'),(367076,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/trialBalance','0.015599966049194','2016-03-01 10:59:17'),(367077,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','glreports/trialBalance','0','2016-03-01 10:59:17'),(367078,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance','0','2016-03-01 10:59:17'),(367079,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','glreports/trialBalance','0','2016-03-01 10:59:17'),(367080,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/trialBalance','0','2016-03-01 10:59:17'),(367081,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','glreports/trialBalance','0','2016-03-01 10:59:17'),(367082,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/trialBalance','0','2016-03-01 10:59:17'),(367083,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','glreports/trialBalance','0','2016-03-01 10:59:17'),(367084,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/trialBalance','0','2016-03-01 10:59:17'),(367085,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','glreports/trialBalance','0.015599966049194','2016-03-01 10:59:17'),(367086,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance','0','2016-03-01 10:59:17'),(367087,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','glreports/trialBalance','0','2016-03-01 10:59:17'),(367088,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/trialBalance','0','2016-03-01 10:59:17'),(367089,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','glreports/trialBalance','0','2016-03-01 10:59:17'),(367090,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/trialBalance','0','2016-03-01 10:59:17'),(367091,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','glreports/trialBalance','0','2016-03-01 10:59:17'),(367092,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/trialBalance','0','2016-03-01 10:59:17'),(367093,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','glreports/trialBalance','0','2016-03-01 10:59:17'),(367094,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance','0','2016-03-01 10:59:17'),(367095,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','glreports/trialBalance','0','2016-03-01 10:59:17'),(367096,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/trialBalance','0','2016-03-01 10:59:17'),(367097,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','glreports/trialBalance','0','2016-03-01 10:59:17'),(367098,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/trialBalance','0','2016-03-01 10:59:17'),(367099,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','glreports/trialBalance','0','2016-03-01 10:59:17'),(367100,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/trialBalance','0','2016-03-01 10:59:17'),(367101,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','glreports/trialBalance','0','2016-03-01 10:59:17'),(367102,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance','0','2016-03-01 10:59:17'),(367103,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','glreports/trialBalance','0.015599966049194','2016-03-01 10:59:17'),(367104,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance','0','2016-03-01 10:59:17'),(367105,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','glreports/trialBalance','0','2016-03-01 10:59:17'),(367106,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance','0','2016-03-01 10:59:17'),(367107,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','glreports/trialBalance','0','2016-03-01 10:59:17'),(367108,3,76,'192.168.1.124','select','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'76\'\nAND `companyID` =  \'3\'\nAND `menuCode` =  \'GLRPTB\'\nAND `accessRight` =  1','glreports/trialBalance','0.046801090240479','2016-03-01 10:59:17'),(367109,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `is_delete` =  \'\'\nORDER BY `financialYear` desc, `period` desc','glreports/trialBalance','0.015599966049194','2016-03-01 10:59:17'),(367110,3,76,'192.168.1.124','select','SELECT `comp_financial_year`.*, concat(period, \" [\", date_format(startDate, \"%d-%m-%Y\"), \" - \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriod, concat(period, \" [ As at \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriodAsat\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  \'2016\'\nORDER BY `financialYear`, `period`','glreports/trialBalance','0','2016-03-01 10:59:17'),(367111,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nORDER BY `acctTypeID`, `acctGroupName`','glreports/trialBalance','0.015599966049194','2016-03-01 10:59:17'),(367112,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `transaction` =  \'1\'\nAND `moduleID` =  \'9\'','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367113,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%usersetting/useronlinestatus%\"','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367114,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367115,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367116,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367117,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367118,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367119,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367120,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367121,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:59:19'),(367122,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367123,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367124,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367125,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367126,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367127,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367128,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367129,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367130,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367131,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367132,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367133,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367134,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367135,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367136,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367137,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367138,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015600204467773','2016-03-01 10:59:19'),(367139,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367140,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367141,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367142,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367143,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367144,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367145,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367146,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367147,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:59:19'),(367148,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367149,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367150,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367151,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367152,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367153,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367154,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367155,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367156,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367157,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367158,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367159,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367160,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367161,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367162,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367163,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367164,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367165,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:59:19'),(367166,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367167,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367168,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367169,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367170,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367171,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367172,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367173,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367174,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:59:19'),(367175,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367176,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367177,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367178,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367179,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367180,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367181,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367182,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367183,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367184,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367185,3,76,'192.168.1.124','select','SELECT fldid, username, position, last_seen, DATE_FORMAT(last_seen, \"%H:%i:%s\") viewLastSeen, (UNIX_TIMESTAMP(\"2016-03-01 03-59-19\")-UNIX_TIMESTAMP(last_seen)) idle, \"2016-03-01-03-59-19\" now, online, access_comp\nFROM (`tbl_usermaster`)\nWHERE `online` =  1\nAND `last_seen` > \'2016-03-01 03-29-19\'\nORDER BY `last_seen` DESC','usersetting/useronlinestatus','0','2016-03-01 10:59:19'),(367186,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367187,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/get_TrialBalance_year%\"','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367188,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367189,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367190,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367191,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367192,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367193,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367194,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367195,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367196,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367197,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367198,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367199,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367200,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367201,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367202,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367203,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367204,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367205,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367206,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367207,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367208,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367209,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367210,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367211,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367212,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367213,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367214,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0.015599966049194','2016-03-01 10:59:22'),(367215,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367216,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367217,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367218,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367219,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367220,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367221,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367222,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367223,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367224,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367225,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367226,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367227,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367228,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367229,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367230,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367231,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367232,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367233,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367234,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367235,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367236,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367237,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367238,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367239,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367240,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367241,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/get_TrialBalance_year','0.015600204467773','2016-03-01 10:59:22'),(367242,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367243,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367244,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367245,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367246,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367247,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367248,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367249,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367250,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0.015599966049194','2016-03-01 10:59:22'),(367251,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367252,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367253,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367254,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367255,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367256,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367257,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367258,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367259,3,76,'192.168.1.124','select','SELECT `comp_financial_year`.*, concat(period, \" [\", date_format(startDate, \"%d-%m-%Y\"), \" - \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriod, concat(period, \" [ As at \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriodAsat\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  \'2015\'\nORDER BY `financialYear`, `period`','glreports/get_TrialBalance_year','0','2016-03-01 10:59:22'),(367260,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367261,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/trialBalance_print%\"','glreports/trialBalance_print','0.015599966049194','2016-03-01 10:59:24'),(367262,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367263,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367264,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367265,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367266,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367267,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367268,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367269,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367270,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367271,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367272,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367273,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367274,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367275,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367276,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367277,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367278,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367279,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367280,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','glreports/trialBalance_print','0.015599966049194','2016-03-01 10:59:24'),(367281,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367282,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367283,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367284,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367285,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367286,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367287,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367288,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367289,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367290,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367291,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367292,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367293,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367294,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367295,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367296,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367297,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367298,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367299,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367300,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367301,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367302,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367303,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367304,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367305,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367306,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367307,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367308,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','glreports/trialBalance_print','0.015600204467773','2016-03-01 10:59:24'),(367309,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367310,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367311,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367312,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367313,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367314,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367315,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367316,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','glreports/trialBalance_print','0.015599966049194','2016-03-01 10:59:24'),(367317,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367318,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367319,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367320,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367321,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367322,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367323,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367324,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367325,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/trialBalance_print','0.015599966049194','2016-03-01 10:59:24'),(367326,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367327,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367328,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367329,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367330,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367331,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367332,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367333,3,76,'192.168.1.124','select','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'76\'\nAND `companyID` =  \'3\'\nAND `menuCode` =  \'GLRPTB\'\nAND `accessRight` =  1','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367334,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2015\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367335,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367336,3,76,'192.168.1.124','select','SELECT `b`.*, `actGrp`.`acctTypeID`, (select SUM(pnl.amountdr) from view_comp_acc_det pnl where pnl.acctID = b.ID and pnl.year =2015 and pnl.period <=1 ) as PNLdr, (select SUM(pnl.amountcr) from view_comp_acc_det pnl where pnl.acctID = b.ID and pnl.year =2015 and pnl.period <=1 ) as PNLcr, `a`.`amountdr` as thismonthdr, `a`.`amountcr` as thismonthcr, IFNULL((select debit from comp_opening_balance where companyID = b.companyID and accountID = b.ID and year =2015), 0) as oDebitPNL, IFNULL((select credit from comp_opening_balance where companyID = b.companyID and accountID = b.ID and year =2015), 0) as oCreditPNL, IFNULL((select debit from comp_opening_balance where companyID = b.companyID and accountID = b.ID and year =2015), 0) as oDebit, IFNULL((select credit from comp_opening_balance where companyID = b.companyID and accountID = b.ID and year =2015), 0) as oCredit, ifnull(SUM(c.amountdr), 0) as yeardebit, ifnull(SUM(c.amountcr), 0) as yearcredit\nFROM (`comp_chart_of_acct` b)\nLEFT OUTER JOIN `view_comp_acc_det` a ON `a`.`acctID` = `b`.`ID` and a.year =2015 and a.period =1\nLEFT JOIN `_ref_acct_group` actGrp ON `actGrp`.`ID` = `b`.`acctGroupID`\nLEFT OUTER JOIN `view_comp_acc_det` c ON `b`.`ID` = `c`.`acctID` and CONCAT(c.year,if(c.period<=9, CONCAT(\"0\",c.period),c.period)) <= 201501 and c.year >= 2015\nWHERE `b`.`companyID` =  \'3\'\nGROUP BY `b`.`acctCode`\nORDER BY `b`.`acctCode`','glreports/trialBalance_print','0.31200003623962','2016-03-01 10:59:24'),(367337,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  2014\nAND `is_delete` =  \'\'\nORDER BY `period` desc','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367338,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2015\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367339,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367340,3,76,'192.168.1.124','select','SELECT SUM(balance) as bal\nFROM (`view_expence_and_income`)\nWHERE `companyID` =  \'3\'\nAND `acctType` =  \'3\'\nAND `period` <= 1\nAND `year` =  \'2015\'\nGROUP BY `acctType`','glreports/trialBalance_print','0.015599966049194','2016-03-01 10:59:24'),(367341,3,76,'192.168.1.124','select','SELECT SUM(balance) as bal\nFROM (`view_expence_and_income`)\nWHERE `companyID` =  \'3\'\nAND `acctType` =  \'4\'\nAND `period` <= 1\nAND `year` =  \'2015\'\nGROUP BY `acctType`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367342,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367343,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367344,3,76,'192.168.1.124','select','SELECT IFNULL(ob.debit, 0) as oDebit, sum(b.amount_dr) as currentyeardebit, IFNULL(ob.credit, 0) as oCredit, sum(b.amount_cr) as currentyearcredit, sum(b.amount_dr - b.amount_cr) as total, `a`.*, IFNULL(sum(c.amountcr), 0) as budgetAmount, `d`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_journal_detail` b ON `a`.`ID` = `b`.`acctCode` and b.year=2015 and b.period <= 1 and b.companyID = 3\nJOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID` and (d.acctTypeID = \"3\" OR d.acctTypeID = \"4\")\nLEFT OUTER JOIN `comp_opening_balance` ob ON `ob`.`companyID` = `a`.`companyID` and ob.accountID = a.ID and ob.year = b.year\nLEFT OUTER JOIN `comp_budget` c ON `c`.`acctID` = `a`.`ID` and c.year = b.year and c.companyID = a.companyID\nWHERE `a`.`companyID` =  \'3\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acctCode`','glreports/trialBalance_print','0.015600204467773','2016-03-01 10:59:24'),(367345,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2015\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367346,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367347,3,76,'192.168.1.124','select','SELECT `ID`\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'3\'\nAND `acctCode` =  120000000','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367348,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < 2014\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367349,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367350,3,76,'192.168.1.124','select','SELECT (sum(a.amount_dr)-sum(a.amount_cr)) openingBalance\nFROM (`comp_journal_detail` a)\nWHERE `companyID` =  \'3\'\nAND `a`.`acctCode` =  \'32501\'\nAND `a`.`year` < 2014\nAND `a`.`year` >= \'2015\'','glreports/trialBalance_print','0','2016-03-01 10:59:24'),(367351,3,76,'192.168.1.124','select','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'3\'\nAND `accountID` =  \'32501\'\nAND `year` =  \'2015\'','glreports/trialBalance_print','0.015599966049194','2016-03-01 10:59:24'),(367352,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `transaction` =  \'1\'\nAND `moduleID` =  \'9\'','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367353,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%usersetting/useronlinestatus%\"','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367354,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367355,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367356,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367357,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367358,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367359,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367360,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367361,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367362,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367363,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367364,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367365,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367366,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367367,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367368,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367369,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367370,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367371,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367372,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367373,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367374,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015600204467773','2016-03-01 10:59:25'),(367375,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367376,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367377,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367378,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367379,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367380,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367381,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367382,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367383,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367384,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367385,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367386,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367387,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367388,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367389,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367390,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367391,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367392,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367393,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367394,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367395,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367396,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367397,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367398,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367399,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367400,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367401,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367402,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367403,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367404,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367405,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367406,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367407,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367408,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367409,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367410,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 10:59:25'),(367411,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367412,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367413,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367414,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367415,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367416,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367417,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367418,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367419,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367420,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367421,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367422,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367423,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367424,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367425,3,76,'192.168.1.124','select','SELECT fldid, username, position, last_seen, DATE_FORMAT(last_seen, \"%H:%i:%s\") viewLastSeen, (UNIX_TIMESTAMP(\"2016-03-01 03-59-25\")-UNIX_TIMESTAMP(last_seen)) idle, \"2016-03-01-03-59-25\" now, online, access_comp\nFROM (`tbl_usermaster`)\nWHERE `online` =  1\nAND `last_seen` > \'2016-03-01 03-29-25\'\nORDER BY `last_seen` DESC','usersetting/useronlinestatus','0','2016-03-01 10:59:25'),(367426,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367427,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/trialBalance_print%\"','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367428,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367429,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367430,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367431,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367432,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367433,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367434,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367435,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367436,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367437,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367438,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367439,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367440,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367441,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367442,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367443,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367444,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367445,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367446,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','glreports/trialBalance_print','0.015599966049194','2016-03-01 11:01:01'),(367447,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367448,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367449,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367450,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367451,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367452,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367453,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367454,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367455,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367456,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','glreports/trialBalance_print','0.015599966049194','2016-03-01 11:01:01'),(367457,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367458,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367459,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367460,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367461,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367462,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367463,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367464,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367465,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367466,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','glreports/trialBalance_print','0.015599966049194','2016-03-01 11:01:01'),(367467,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367468,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367469,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367470,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367471,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367472,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367473,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367474,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367475,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367476,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','glreports/trialBalance_print','0.015599966049194','2016-03-01 11:01:01'),(367477,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367478,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367479,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367480,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367481,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367482,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367483,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367484,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','glreports/trialBalance_print','0.015599966049194','2016-03-01 11:01:01'),(367485,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367486,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367487,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367488,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367489,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367490,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367491,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367492,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367493,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367494,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367495,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367496,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367497,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367498,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367499,3,76,'192.168.1.124','select','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'76\'\nAND `companyID` =  \'3\'\nAND `menuCode` =  \'GLRPTB\'\nAND `accessRight` =  1','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367500,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2015\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367501,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367502,3,76,'192.168.1.124','select','SELECT `b`.*, `actGrp`.`acctTypeID`, (select SUM(pnl.amountdr) from view_comp_acc_det pnl where pnl.acctID = b.ID and pnl.year =2015 and pnl.period <=2 ) as PNLdr, (select SUM(pnl.amountcr) from view_comp_acc_det pnl where pnl.acctID = b.ID and pnl.year =2015 and pnl.period <=2 ) as PNLcr, `a`.`amountdr` as thismonthdr, `a`.`amountcr` as thismonthcr, IFNULL((select debit from comp_opening_balance where companyID = b.companyID and accountID = b.ID and year =2015), 0) as oDebitPNL, IFNULL((select credit from comp_opening_balance where companyID = b.companyID and accountID = b.ID and year =2015), 0) as oCreditPNL, IFNULL((select debit from comp_opening_balance where companyID = b.companyID and accountID = b.ID and year =2015), 0) as oDebit, IFNULL((select credit from comp_opening_balance where companyID = b.companyID and accountID = b.ID and year =2015), 0) as oCredit, ifnull(SUM(c.amountdr), 0) as yeardebit, ifnull(SUM(c.amountcr), 0) as yearcredit\nFROM (`comp_chart_of_acct` b)\nLEFT OUTER JOIN `view_comp_acc_det` a ON `a`.`acctID` = `b`.`ID` and a.year =2015 and a.period =2\nLEFT JOIN `_ref_acct_group` actGrp ON `actGrp`.`ID` = `b`.`acctGroupID`\nLEFT OUTER JOIN `view_comp_acc_det` c ON `b`.`ID` = `c`.`acctID` and CONCAT(c.year,if(c.period<=9, CONCAT(\"0\",c.period),c.period)) <= 201502 and c.year >= 2015\nWHERE `b`.`companyID` =  \'3\'\nGROUP BY `b`.`acctCode`\nORDER BY `b`.`acctCode`','glreports/trialBalance_print','0.23399996757507','2016-03-01 11:01:01'),(367503,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  2014\nAND `is_delete` =  \'\'\nORDER BY `period` desc','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367504,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2015\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367505,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367506,3,76,'192.168.1.124','select','SELECT SUM(balance) as bal\nFROM (`view_expence_and_income`)\nWHERE `companyID` =  \'3\'\nAND `acctType` =  \'3\'\nAND `period` <= 2\nAND `year` =  \'2015\'\nGROUP BY `acctType`','glreports/trialBalance_print','0.015599966049194','2016-03-01 11:01:01'),(367507,3,76,'192.168.1.124','select','SELECT SUM(balance) as bal\nFROM (`view_expence_and_income`)\nWHERE `companyID` =  \'3\'\nAND `acctType` =  \'4\'\nAND `period` <= 2\nAND `year` =  \'2015\'\nGROUP BY `acctType`','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367508,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367509,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367510,3,76,'192.168.1.124','select','SELECT IFNULL(ob.debit, 0) as oDebit, sum(b.amount_dr) as currentyeardebit, IFNULL(ob.credit, 0) as oCredit, sum(b.amount_cr) as currentyearcredit, sum(b.amount_dr - b.amount_cr) as total, `a`.*, IFNULL(sum(c.amountcr), 0) as budgetAmount, `d`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_journal_detail` b ON `a`.`ID` = `b`.`acctCode` and b.year=2015 and b.period <= 2 and b.companyID = 3\nJOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID` and (d.acctTypeID = \"3\" OR d.acctTypeID = \"4\")\nLEFT OUTER JOIN `comp_opening_balance` ob ON `ob`.`companyID` = `a`.`companyID` and ob.accountID = a.ID and ob.year = b.year\nLEFT OUTER JOIN `comp_budget` c ON `c`.`acctID` = `a`.`ID` and c.year = b.year and c.companyID = a.companyID\nWHERE `a`.`companyID` =  \'3\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acctCode`','glreports/trialBalance_print','0.015599966049194','2016-03-01 11:01:01'),(367511,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2015\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367512,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/trialBalance_print','0','2016-03-01 11:01:01'),(367513,3,76,'192.168.1.124','select','SELECT `ID`\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'3\'\nAND `acctCode` =  120000000','glreports/trialBalance_print','0','2016-03-01 11:01:02'),(367514,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < 2014\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/trialBalance_print','0','2016-03-01 11:01:02'),(367515,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/trialBalance_print','0','2016-03-01 11:01:02'),(367516,3,76,'192.168.1.124','select','SELECT (sum(a.amount_dr)-sum(a.amount_cr)) openingBalance\nFROM (`comp_journal_detail` a)\nWHERE `companyID` =  \'3\'\nAND `a`.`acctCode` =  \'32501\'\nAND `a`.`year` < 2014\nAND `a`.`year` >= \'2015\'','glreports/trialBalance_print','0','2016-03-01 11:01:02'),(367517,3,76,'192.168.1.124','select','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'3\'\nAND `accountID` =  \'32501\'\nAND `year` =  \'2015\'','glreports/trialBalance_print','0','2016-03-01 11:01:02'),(367518,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `transaction` =  \'1\'\nAND `moduleID` =  \'9\'','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367519,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%usersetting/useronlinestatus%\"','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367520,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367521,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367522,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367523,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367524,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367525,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367526,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367527,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367528,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367529,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367530,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367531,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367532,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367533,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367534,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367535,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367536,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367537,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:01:03'),(367538,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367539,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367540,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367541,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367542,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367543,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367544,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367545,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367546,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367547,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367548,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367549,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367550,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367551,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367552,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367553,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367554,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367555,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367556,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367557,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367558,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367559,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367560,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367561,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367562,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367563,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367564,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367565,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367566,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367567,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367568,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:01:03'),(367569,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367570,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367571,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367572,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367573,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367574,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367575,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367576,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367577,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367578,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367579,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:01:03'),(367580,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367581,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367582,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367583,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367584,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367585,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367586,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367587,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367588,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367589,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367590,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367591,3,76,'192.168.1.124','select','SELECT fldid, username, position, last_seen, DATE_FORMAT(last_seen, \"%H:%i:%s\") viewLastSeen, (UNIX_TIMESTAMP(\"2016-03-01 04-01-03\")-UNIX_TIMESTAMP(last_seen)) idle, \"2016-03-01-04-01-03\" now, online, access_comp\nFROM (`tbl_usermaster`)\nWHERE `online` =  1\nAND `last_seen` > \'2016-03-01 03-31-03\'\nORDER BY `last_seen` DESC','usersetting/useronlinestatus','0','2016-03-01 11:01:03'),(367592,0,0,'192.168.1.191','select','SELECT *\nFROM (`company`)\nWHERE `is_delete` =  \'\'\nORDER BY `createdTS` desc','login/index','0.015600919723511','2016-03-01 11:01:04'),(367593,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367594,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/trialBalance_print%\"','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367595,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/trialBalance_print','0.015599966049194','2016-03-01 11:01:13'),(367596,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367597,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367598,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367599,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367600,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367601,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367602,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367603,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367604,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367605,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367606,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367607,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367608,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367609,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367610,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367611,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367612,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367613,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367614,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367615,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367616,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367617,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367618,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367619,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367620,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367621,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367622,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367623,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367624,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367625,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367626,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/trialBalance_print','0.015599966049194','2016-03-01 11:01:13'),(367627,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367628,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367629,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367630,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367631,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367632,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367633,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367634,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367635,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367636,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367637,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367638,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367639,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367640,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367641,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367642,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367643,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367644,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367645,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367646,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367647,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367648,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367649,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367650,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367651,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367652,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367653,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367654,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367655,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367656,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367657,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367658,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367659,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','glreports/trialBalance_print','0.015599966049194','2016-03-01 11:01:13'),(367660,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367661,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367662,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367663,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367664,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367665,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367666,3,76,'192.168.1.124','select','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'76\'\nAND `companyID` =  \'3\'\nAND `menuCode` =  \'GLRPTB\'\nAND `accessRight` =  1','glreports/trialBalance_print','0.015599966049194','2016-03-01 11:01:13'),(367667,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2015\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367668,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367669,3,76,'192.168.1.124','select','SELECT `b`.*, `actGrp`.`acctTypeID`, (select SUM(pnl.amountdr) from view_comp_acc_det pnl where pnl.acctID = b.ID and pnl.year =2015 and pnl.period <=3 ) as PNLdr, (select SUM(pnl.amountcr) from view_comp_acc_det pnl where pnl.acctID = b.ID and pnl.year =2015 and pnl.period <=3 ) as PNLcr, `a`.`amountdr` as thismonthdr, `a`.`amountcr` as thismonthcr, IFNULL((select debit from comp_opening_balance where companyID = b.companyID and accountID = b.ID and year =2015), 0) as oDebitPNL, IFNULL((select credit from comp_opening_balance where companyID = b.companyID and accountID = b.ID and year =2015), 0) as oCreditPNL, IFNULL((select debit from comp_opening_balance where companyID = b.companyID and accountID = b.ID and year =2015), 0) as oDebit, IFNULL((select credit from comp_opening_balance where companyID = b.companyID and accountID = b.ID and year =2015), 0) as oCredit, ifnull(SUM(c.amountdr), 0) as yeardebit, ifnull(SUM(c.amountcr), 0) as yearcredit\nFROM (`comp_chart_of_acct` b)\nLEFT OUTER JOIN `view_comp_acc_det` a ON `a`.`acctID` = `b`.`ID` and a.year =2015 and a.period =3\nLEFT JOIN `_ref_acct_group` actGrp ON `actGrp`.`ID` = `b`.`acctGroupID`\nLEFT OUTER JOIN `view_comp_acc_det` c ON `b`.`ID` = `c`.`acctID` and CONCAT(c.year,if(c.period<=9, CONCAT(\"0\",c.period),c.period)) <= 201503 and c.year >= 2015\nWHERE `b`.`companyID` =  \'3\'\nGROUP BY `b`.`acctCode`\nORDER BY `b`.`acctCode`','glreports/trialBalance_print','0.20280003547668','2016-03-01 11:01:13'),(367670,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  2014\nAND `is_delete` =  \'\'\nORDER BY `period` desc','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367671,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2015\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367672,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367673,3,76,'192.168.1.124','select','SELECT SUM(balance) as bal\nFROM (`view_expence_and_income`)\nWHERE `companyID` =  \'3\'\nAND `acctType` =  \'3\'\nAND `period` <= 3\nAND `year` =  \'2015\'\nGROUP BY `acctType`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367674,3,76,'192.168.1.124','select','SELECT SUM(balance) as bal\nFROM (`view_expence_and_income`)\nWHERE `companyID` =  \'3\'\nAND `acctType` =  \'4\'\nAND `period` <= 3\nAND `year` =  \'2015\'\nGROUP BY `acctType`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367675,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/trialBalance_print','0.015599966049194','2016-03-01 11:01:13'),(367676,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367677,3,76,'192.168.1.124','select','SELECT IFNULL(ob.debit, 0) as oDebit, sum(b.amount_dr) as currentyeardebit, IFNULL(ob.credit, 0) as oCredit, sum(b.amount_cr) as currentyearcredit, sum(b.amount_dr - b.amount_cr) as total, `a`.*, IFNULL(sum(c.amountcr), 0) as budgetAmount, `d`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_journal_detail` b ON `a`.`ID` = `b`.`acctCode` and b.year=2015 and b.period <= 3 and b.companyID = 3\nJOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID` and (d.acctTypeID = \"3\" OR d.acctTypeID = \"4\")\nLEFT OUTER JOIN `comp_opening_balance` ob ON `ob`.`companyID` = `a`.`companyID` and ob.accountID = a.ID and ob.year = b.year\nLEFT OUTER JOIN `comp_budget` c ON `c`.`acctID` = `a`.`ID` and c.year = b.year and c.companyID = a.companyID\nWHERE `a`.`companyID` =  \'3\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acctCode`','glreports/trialBalance_print','0','2016-03-01 11:01:13'),(367678,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2015\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/trialBalance_print','0','2016-03-01 11:01:13');
