/*Export of the extension ticket.node*/

DELETE FROM `#__translation_en` WHERE `auto` = 1 AND `imac` IN ('','1212761192MUSM','1206961849MVDJ','1206961841DNYS','1206732411EGQO','1212761231MDKH','1206964391FHVU','1206961882TDGX','1208359284QWNS','1246243853BGYZ','1246243851IGLH','1246509662FEPJ','1229653442FEQZ','1206732392OZVD','1228819756DELI','1206732412DAGC','1206732392OZVG','1206961898PIOD','1206964391FHVV','1206961869IGND','1206732412DADY','1215507805HPTN','1230530178MZYD','1215507805HPTT','1206961850KLRB','1218027307KDZS','1398436917DTKC','1251087468IYEV','1206732392OZVH','1215507805HPTP','1215507805HPTL','1206732400OWZR','1228820286IIYZ','1206732412DAEO','1251534828ITXB','1230530178MZYF','1228820286IIZA','1392328335OMWK','1306127237JGYC','1227581117APMU','1206961850KLRI','1206732400OWZO','1206961850KLRL','1228820286IIZF','1206964391FHVD','1206732372QTKN','1206961869IGNP','1230530178MZYG','1219769904NDHD','1224166212FTLB','1219769905FKPR','1212761242DPBP','1206732392OZVB','1230530178MZYH','1233642233NMNH','1244538609EMRI','1206732411EGRU','1206734818GVVM','1230530178MZYK','1231388360NYRN','1230530178MZYI','1242282447PGGX','1241402690BDIK','1330529264IHSD','1242282435FMGB','1330529264IHSE','1206961882TDHH','1246643593OKUY','1246243851IGLI','1389884105BXKZ','1389884105BXLA','1389884105BXLB','1241769455CJUW','1389884105BXLC','1206961912MJQH','1246509032AGXF','1242282415NZSX','1251799425OCEW','1206964235BPWJ','1389742176NZPI','1206732411EGQQ','1251364186BXWE','1249442398FIKB','1251253275MFTB','1249442398FIKD','1251087469EETU','1249442398FIKF','1251087469EETV','1251087469EETW','1251087469EETX','1206732400OWZZ','1211811588SCXS','1251253275MFTC','1253277998HJXE','1255339652JTFY','1255339652JTFZ','1391514081ASQZ','1257399598DWZK','1251084122MTBZ','1389884105BXLD','1389884105BXLE','1228709252AHXW','1274840563ACFY','1274840563ACFZ','1274853995IMCH','1206732412DAEM','1213107644KDPI','1301972476PCKS','1340214246QLDQ','1206961936HCWR','1211811583DBTA','1206732411EGRY','1310007858PLWN','1347652452OQAE','1206961899DDKS','1206961869IGNE','1220362026AJEJ','1369750812CTEV','1369750812CTEW','1369750812CTEX','1369750812CTEY','1389742176NZPJ','1389884105BXLF','1389884105BXLG','1389884105BXLH','1389884105BXLI','1389884105BXLJ','1389884105BXLK','1391449702RRNT','1400709085CDEN','1391514081ASRA','1394069593IQAQ','1394069593IQAR','1395500433JYZM','1400696335NLEL','1228819756DELH','1395500433JYZN','1230530178MZXK','1215507805HPSX','1215507805HPST','1304525968YBL','1230530178MZXL','1248762337DBEH','1215507805HPTM','1230530178MZXM','1230530178MZXN','1231730763QBXH','1254973731GJXK','1389884105BXLL','1215507805HPTO','1251770734GTUD','1215507805HPTA','1235547926CYDI','1392328335OMWL','1228820286IIYX','1230530178MZXU','1230530178MZXV','1230530178MZXW','1227581117APMN','1215507805HPSU','1271935565KMWP','1395500433JYZO','1233642233NMNG','1230530178MZYA','1230530178MZYB','1244452929SQNM','1254902067FPJK','1231388360NYRM','1215507805HPTC','1230530178MZXZ','1389884105BXLM','1271935565KMWQ','1242637107EPWC','1406669386YJR','1243515652MOPF','1243948338KVSS','1243948338KVST','1243948338KVSU','1243948338KVSV','1243948338KVSW','1243948338KVSX','1244528095PTMY','1246243850BLXA','1246243850BLXB','1246243850BLXC','1246243850BLXD','1246243850BLXE','1246509031MRER','1271935565KMWU','1391456071GLEX','1248677672IAXJ','1249442398FIJX','1249442398FIJY','1398536246MPRP','1249442398FIKA','1251087468IYER','1251087468IYES','1251087468IYET','1251087468IYEU','1389884105BXLN','1251253275MFSZ','1251253275MFTA','1255339651QFOQ','1255339651QFOR','1391514081ASRB','1257399598DWZJ','1234467594BCKE','1263029522MAWV','1263029522MAWW','1274840563ACFV','1274840563ACFW','1274853994MOVS','1340214246QLDR','1361919656JBOJ','1361919656JBOK','1369750812CTEZ','1369750812CTFA','1369750812CTFB','1369750812CTFC','1257230970RONT','1389884105BXLO','1251253275MFSY','1389884105BXLP','1389884105BXLQ','1230530178MZXO','1389742176NZPK','1391449702RRNU','1391514082KIRR','1400696336EJLJ','1206732393CXVV','1206732361LXFD','1228820287MBVC','1206961882TDHA','1206732399EINB','1206732361LXFE','1206732372QTKL','1206732411EGRN','1242282449PIPC','1227581118COMU','1206732391QBUR','1207242081BUBK','1271935568TCVA','1227581118COMV','1206732400OWXC','1206732399EINF','1206961849MVDR','1206964391FHVC','1241519400RGCD','1246509032AGXG','1206732411EGRI','1206732411EGRJ','1206732372QTKM','1232547405COSD','1206732411EGRM','1243948338KVSR','1243948339SXKG','1301972467EVBQ','1301972467EVBR','1206732392OZUP','1397143969FGJW','1206732392OZVA','1230530179NTHI','1206964391FHVO','1206732400OWXG','1215507804KDYD','1206732411EGRV','1215507804KDYB','1241402690BDIL','1206964391FHVR','1206964390BUEL','1206964391FHVL','1217251965LDTZ','1227581114PJCA','1209674948GCLT','1230530179NTHK','1206964391FHVS','1227581118COMT','1230530179NTHL','1248677673EOOS','1230530179NTHN','1209674948GCLR','1215001889GXZH','1213117657LKZK','1240888718QMAB','1242282450QJDI','1242637108SGWV','1242637108SGWW','1242637108SGWX','1216056722ADZY','1206732411EGSE','1242282439OJUA','1251087473QQLF','1241519400RGCB','1212062321PNLD','1246243852IPUQ','1244170034LNZS','1246243852IPUR','1249442400ONIO','1253939296HYAU','1257230973OYBY','1242282432ARHF','1262854814JDXV','1271935567GSFM','1242674480GIFT','1301972449PYGW','1301972449PYGX','1301972449PYGY','1301972449PYGZ','1361919652QSMD','1391456069QIKE','1206732400OWZK','1242637108SGWU','1242891601SANQ','1241519400RGCA','1262854813LBFV','1262854813LBFW','1262917442HNEK','1263029524PFPP','1263201180HVML','1275546208KHTH','1275546208KHTI','1380567700MUPJ','1217600781IBZX','1227581138LMRK','1227581138LMRL','1228820287MBVD','1230530180KZAG','1231388362IOOK','1243515654YGZ','1206961902CIFI','1392759605KKLR','1391449703JOQH','1253278002FXNZ','1257230973OYBZ','1257230973OYCA','1242668415BXDH','1301972484PNWJ','1306127247PKPG','1220793707SOED','1302521419ICOC','1391456071GLEY','1215507804KDXT','1248677675SCFH','1206732411EGQE','1206964391FHVH','1207309450NODG','1230530180KZAK','1230530180KZAL','1248677675SCFI','1251087478TJMQ','1244432844QPLI','1251087478TJMR','1246243853BGZC','1243948340NJAK','1251087478TJMS','1253693139FSTT','1301972485LRRR','1418159648NYLH','1248677674RTGT','1398536247ALAN','1302868720HXKT','1253278002FXOA','1418159648NYLI','1418159648NYLJ','1251087477HEHD','1249442401TITY','1230530180KZAI','1230530180KZAJ','1246846070EJIF','1242098033CBVJ','1242891602SJBW','1243948340NJAG','1244432844QPLH','1251087478TJMO','1243948340NJAH','1243948340NJAI','1251087478TJMP','1253939297EESY','1271935568TCVD','1271935568TCVE','1271935568TCVC','1376432916NMHS','1253278008KTBE','1253939300OXBL','1253939300OXBM','1257230975JKWA','1257230975JKWB','1257230975JKWC','1257298764NAIL','1260160125KNUE','1376432916NMHT','1380065050EKTP','1380065050EKTQ','1380065050EKTR','1380065050EKTS','1380065050EKTT','1249442407SINU','1246243861SGIY','1380065050EKTU','1380065050EKTV','1380065050EKTW','1380065050EKTX','1380065050EKTY','1380065050EKTZ','1380065050EKUA','1418159648NYLK','1389884106NVYV','1380065050EKUB','1380065050EKUC','1380065050EKUD','1380065050EKUE','1380065050EKUF','1380065050EKUG','1380065050EKUH','1380065050EKUI','1380065050EKUJ','1380065050EKUK','1380065050EKUL','1380065050EKUM','1380065050EKUN','1418159648NYLL','1418159648NYLM','1418159648NYLN','1418159648NYLO','1418159648NYLP','1418159648NYLQ','1380065050EKUU','1418159648NYLR','1418159648NYLS','1418159648NYLT','1380065050EKUY','1418159648NYLU','1418159648NYLV','1418159648NYLW','1380065050EKVC','1389884107KIEW','1380065050EKVA','1219856743ELFT','1410185824MPXV','1389884107KIEY','1206732357ILFL','1206732372QTKI','1206732372QTKJ','1206732392OZUQ','1206732412DACF','1206732429GMSU','1206961869IGNO','1207306697RNMA','1209746189NUCP','1213200727TEHS','1215507799GMTI','1219844525HQBL','1220215333SORN','1225790131RNIX','1227581114PJBW','1227581114PJBX','1227581114PJBY','1230530175HBUQ','1230530175HBUR','1230530205IVSF','1230530205IVSG','1230530205IVSH','1231158811CQTV','1233642225DNTS','1233642225DNTT','1234467597SEXU','1237825578IRQC','1242098029MCXQ','1242282416HAQR','1244448970SMQL','1248677667PZKH','1251298684SHUF','1251298684SHUG','1253277991HEPH','1262854806NJTU','1271935558PJVM','1274840559DZKC','1298350701PQGH','1303289070EWBD','1325527934LWRY','1329161820RPTN','1330529258DZNE','1330529258DZNF','1330529258DZNG','1339527673WLQ','1361919649HLBV','1361919649HLBW','1361919650QJLA','1361919650QJLB','1373466832FDPH','1389879775LPOL','1389884098SHJK','1389884106NVYT','1389884106NVYU','1391456064JYEB','1391456064JYEC','1391514073SJUO','1391514073SJUP','1391514073SJUQ','1391514073SJUR','1391514073SJUS','1391514073SJUT','1391514073SJUU','1391514073SJUV','1391514073SJUW','1391514073SJUX','1391514073SJUY','1391514073SJUZ','1391514073SJVA','1391514073SJVB','1391514073SJVC','1391514073SJVD','1391514079NAKA','1391713549PJNT','1391816989CHEJ','1391816989CHEK','1391816989CHEL','1391816989CHEM','1395500429FBNE','1395500429FBNF','1395500429FBNG','1400081599RXJU','1401197668CUMG','1427332033SXPP' );
DELETE `#__dataset_constraints`.* FROM `#__dataset_tables` LEFT JOIN `#__dataset_constraints` ON `#__dataset_constraints`.`dbtid` = `#__dataset_tables`.`dbtid` WHERE `#__dataset_tables`.`namekey` IN ('members.node','site.node','product.node','project.node','productcat.product','project.trans','project.members','ticket.trans','ticket.replytrans','ticket.files','ticket.node','ticket.reply','ticket.reply.files','ticket.template','ticket.rating','ticket.clickyesno','content','ticket.templatetrans','ticket.type','ticket.typetrans') ;
DELETE `#__dataset_columns`.* FROM `#__dataset_tables` LEFT JOIN `#__dataset_columns` ON `#__dataset_columns`.`dbtid` = `#__dataset_tables`.`dbtid` WHERE `#__dataset_tables`.`namekey` IN ('site.node','members.node','product.node','productcat.product','content','project.node','project.trans','project.members','ticket.node','ticket.trans','ticket.reply','ticket.replytrans','ticket.files','ticket.reply.files','ticket.template','ticket.templatetrans','ticket.rating','ticket.clickyesno','ticket.type','ticket.typetrans','license.node','joobi.files','joobi.languages','product.type','address.node','productcat.trans','joobi.countries','ticket.project','ticket.projectmembers','role.node','currency.node','vendor.node','sections','categories','unit.node','product.price','model.trans','layout.multiformstrans','layout.mlinkstrans','layout.listingstrans','layout.trans','eguillage.trans','mailing.trans') AND `#__dataset_columns`.`namekey` NOT IN ('206created','206duration','206lcid','206level','206license','206lock1','206lock2','206maintenance','206modified','206nombre','206publish','206stid','206start','206type','206uid','206wid','211stid','211url','211modified','232uid','478filid','478modified','478name','478params','478path','478size','478type','199lgid','199code','199premium','306available','306created','306filid','306modified','306pid','306price','306prodtypid','306publish','306weight','314prodtypid','323address1','323address2','323address3','323adid','323city','323ctyid','323publish','323state','323namekey','323zipcode','335catid','335description','335lgid','335name','338catid','338pid','200ctyid','200isocod2','200isocod3','200name','200namekey','200numcode','232id','232name','232username','232openid','232email','232password','232block','232activation','232timezone','232confirmed','232registerdate','232modified','232lgid','478secure','478uid','356id','382mgid','382lgid','382name','382ctext','382chtml','382smail','382sname','232html','405pjid','405namekey','405type','405lft','405rgt','405parent','405rolid','405ordering','405publish','405modified','405created','405uid','410pjid','410lgid','410name','410description','232registered','199name','199main','199publish','199real','478thumbnail','478theight','478twidth','478width','478height','478approved','478modifiedby','232unsub','478mime','481yid','481lgid','481name','481description','482fid','482lgid','482name','482description','484lid','484lgid','484name','485mid','485lgid','485name','206token','206modifiedby','306namekey','484description','206maintype','323name','382rname','382remail','232login','405startdate','405enddate','405priority','526pjid','526role','526uid','531rolid','531created','531modified','531namekey','531ordering','531tkpjid','531publish','531uid','532authoruid','532modified','532ordering','532priority','532publish','532tkid','532ticketid','532type','532uid','533description','533lgid','533name','533tkid','534modified','534tkid','534tkrid','534uid','535description','535lgid','535tkrid','306stock','532created','405author','199rtl','532stid','211type','557tkpjid','557uid','566rolid','566parent','566lft','566rgt','566core','566joomla','481wname','481wdescription','211ip','566namekey','232rolid','566color','582filid','582tkid','582ordering','566type','532pjid','314namekey','405estimatedtime','199availadmin','199availsite','405depth','618sid','618lgid','618name','199locale','624curid','624title','624code','624number','624symbol','624position','624cents','624basic','624publish','624rate','566depth','199localeconv','306curid','652vendid','uid652','email652','curid652','adid652','stid652','alias652','namekey652','image652','website652','params652','modified652','created652','publish652','premium652','private532','publish534','uid534','modified534','resptime532','deadline532','time534','ordering338','visibility232','rolid306','assignuid532','supportlevel557','rolid534','supportlevel526','rolid532','frontend405','timing534','wordcount534','charcount534','nbreplies532','timing532','wordcount532','charcount532','privatekey211','comment206','elapsed532','676tkrid','676filid','ordering676','oid206','accepted624','ordering624','695id','696id','numcat306','startdate306','enddate306','bundle306','comment306','numdiscount306','714ctrid','714lgid','name714','description714','description485','auto335','fromlgid335','auto382','fromlgid382','auto481','fromlgid481','auto410','fromlgid410','auto482','fromlgid482','auto484','fromlgid484','auto485','fromlgid485','auto533','fromlgid533','auto535','fromlgid535','auto618','fromlgid618','auto714','fromlgid714','timezone200','vendid306','lsid306','ltkid405','tickets405','sticky532','749tktid','pjid749','uid749','publish749','created749','modified749','750tktid','750lgid','name750','description750','type749','auto750','fromlgid750','lock532','private749','rating532','votes532','rated534','758trid','tkrid758','rate758','supportuid758','pjid758','modified758','eid532','useful532','usefulclick532','commenttype532','comment534','usefulrate532','ip532','ip534','uid306','761clickid','tkid761','ip761','uid761','created761','yesno761','nbreviews306','score306','votes306','comment532','notify526','oncreation405','onreplies405','toassigned405','sendcopy405','curid232','payment306','title356','created356','state356','domain211','parent211','parent206','bundle206','title695','created695','state695','pricetype306','group405','unit306','828unitid','name828','symbol828','publish828','featured306','viewed306','nbsold306','author306','relnum306','seotitle335','seokeywords335','seodescription335','ordering652','affid652','contactno652','contactemail652','paypal652','otheraccount652','nbreviews652','score652','votes652','followup532','catid356','sectionid356','assignbyuid532','name695','title696','name696','section696','ordering696','published696','modified356','published_up356','publish_down356','mask356','created_by356','created_by_alias356','modified_by356','checked_out356','checked_out_time356','images356','urls356','attribs356','version356','parentid356','ordering356','metakey356','metadesc356','access356','metadata356','hits356','password211','maxsite206','maxproduct206','product206','publish532','read532','publish200','created314','modified314','publish314','author314','vendid314','stateid323','email405','md5478','j16566','rolid314','type314','ordering314','electronic306','uid314','alias306','availableend306','previewid306','cssclass306','928pricetype','namekey928','created928','modified928','publish928','author928','vendid928','rolid928','ordering928','modifiedby928','type928','params306','core928','core314','link928','block306','resell306','bouncemail382','authorid382','modified382','intro382','core200','target306','targettotal306','used338','premium338','params314','adid306','created323','modified323','vendid323','uid323','alias478','rate828','rolid_buy306','originctyid652','originstate652','originzipcode652','originaddress652','originaddress2652','origincity652','vendid478','discountrate306','discountprice306','ordering200','rolid_edit314','hits652','modified200','premium323','type323','business323','phone323','params323','latitude323','longitude323','core478','taxnumber652','paypalverified652','searchable314','storage478','catid314','folder478','ip232','ctyid232','description211','type652','core828','1010tktypeid','namekey1010','alias1010','type1010','rolid1010','uid1010','modifiedby1010','core1010','publish1010','created1010','modified1010','1012tktypeid','lgid1012','auto1012','fromlgid1012','name1012','description1012','params1010','ordering1010','online323','found323','lastcheck323','mapservice323','longitude652','latitude652','migid306','migrefid306','location306','longitude306','latitude306','filid314','core199','core624','usercreate323','featuredate306','nbused206','footer206','latereply532','subtype206','alias211','smsmessage382','mobile232','lcid532','bannerid652','filid232','length306','width306','height306','automatic199','title382','subtitle382','platform206','badge652','message485','site_id306','payid314') AND `#__dataset_columns`.`core` = 1  ;
DELETE `#__dataset_foreign`.* FROM `#__dataset_columns` LEFT JOIN `#__dataset_foreign` ON `#__dataset_foreign`.`feid` = `#__dataset_columns`.`dbcid` WHERE `#__dataset_columns`.`namekey` IN ('338catid','338pid','232lgid','405uid','410lgid','410pjid','526pjid','526uid','534tkid','535tkrid','533tkid','533lgid','532stid','532authoruid','535lgid','232rolid','582tkid','405rolid','532pjid','306prodtypid','306curid','306filid','405parent','534uid','rolid306','assignuid532','rolid534','rolid532','676tkrid','676filid','582filid','vendid306','pjid749','uid749','750tktid','750lgid','tkrid758','pjid758','supportuid758','author306','tkid761','uid761','curid232','parent211','eid532','unit306','sectionid356','catid356','previewid306','pricetype306','adid306','478uid','ctyid232','rolid1010','uid1010','lgid1012','1012tktypeid','lcid532','filid232') AND `#__dataset_foreign`.`namekey` NOT IN ('FK_ticket_type_tktypeid','FK_members_node_lgid','FK_members_rolid','FK_product_curid','FK_product_node_filid','FK_product_prodtypid','FK_productcat_product_catid','FK_productcat_product_pid','FK_Parent405_parentpjid','FK_project_rolid','FK_405_uid_uid','FK_410_lgid_lgid','FK_410_pjid_pjid','FK_joobi_files_uid','FK_projectmembers_pjid','FK_projectmembers_uid','FK_tickets_node_authoruid','FK_ticket_authoruid','FK_tickets_node_authoruid2','FK_ticket:project|pjid:pjid','FK_ticket_pjid','FK_ticket_stid','FK_tickettrans_lgid','FK_tickettrans_tkid','FK_task_reply_taskid','FK_ticket_reply_authoruid ','FK_ticket_replytrans_lgid','FK_ticket_replytrans_tkrid','FK_ticket_files_filid','FK_ticket_files_tkid','FK_ticket_reply_files_filid','FK_ticket_reply_files_tkrid','lgid','tktid','FK_product_node_adid','FK_ticket_node_assignuid','306_uid_232','FK_joomla_content_catid','FK_members_ctyid','FK_members_curid','FK_producttrans_etid','FK_content_id','FK_members_node_filid','FK_ticket_node_lcid','FK_ticket_typetrans_lgid','211_parent_211','749_pjid_531','758_pjid_531','FK_product_node_previewid','FK_product_price_priceid','FK_ticket_type_rolid','306_rolid_566','FK_tickets_node_rolid','534_rolid_566','FK_joomla_content_sectionid','FK_uid','761_tkid_532','758_tkrid_534','FK_ticket_type_uid','749_uid_232','761_uid_232','FK_product_unitid','FK_product_vendid') ;
DELETE `#__translation_reference`.* FROM `#__extension_node` LEFT JOIN `#__translation_reference` ON `#__translation_reference`.`wid` = `#__extension_node`.`wid` WHERE `#__extension_node`.`namekey` IN ('ticket.node') ;
SET @rolid_0 = (1);
SET @pk_549_211 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='site.node' LIMIT 1 );
SET @pk_549_232 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='members.node' LIMIT 1 );
SET @pk_549_306 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='product.node' LIMIT 1 );
SET @pk_549_338 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='productcat.product' LIMIT 1 );
SET @pk_549_356 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='content' LIMIT 1 );
SET @pk_549_405 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='project.node' LIMIT 1 );
SET @pk_549_410 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='project.trans' LIMIT 1 );
SET @pk_549_526 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='project.members' LIMIT 1 );
SET @pk_549_532 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='ticket.node' LIMIT 1 );
SET @pk_549_533 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='ticket.trans' LIMIT 1 );
SET @pk_549_534 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='ticket.reply' LIMIT 1 );
SET @pk_549_535 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='ticket.replytrans' LIMIT 1 );
SET @pk_549_582 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='ticket.files' LIMIT 1 );
SET @pk_549_676 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='ticket.reply.files' LIMIT 1 );
SET @pk_549_749 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='ticket.template' LIMIT 1 );
SET @pk_549_750 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='ticket.templatetrans' LIMIT 1 );
SET @pk_549_758 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='ticket.rating' LIMIT 1 );
SET @pk_549_761 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='ticket.clickyesno' LIMIT 1 );
SET @pk_549_1010 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='ticket.type' LIMIT 1 );
SET @pk_549_1012 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='ticket.typetrans' LIMIT 1 );
SET @pk_549_199 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='joobi.languages' LIMIT 1 );
SET @pk_549_200 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='joobi.countries' LIMIT 1 );
SET @pk_549_206 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='license.node' LIMIT 1 );
SET @pk_549_314 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='product.type' LIMIT 1 );
SET @pk_549_323 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='address.node' LIMIT 1 );
SET @pk_549_335 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='productcat.trans' LIMIT 1 );
SET @pk_549_478 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='joobi.files' LIMIT 1 );
SET @pk_549_531 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='ticket.project' LIMIT 1 );
SET @pk_549_557 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='ticket.projectmembers' LIMIT 1 );
SET @pk_549_566 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='role.node' LIMIT 1 );
SET @pk_549_624 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='currency.node' LIMIT 1 );
SET @pk_549_652 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='vendor.node' LIMIT 1 );
SET @pk_549_695 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='sections' LIMIT 1 );
SET @pk_549_696 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='categories' LIMIT 1 );
SET @pk_549_828 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='unit.node' LIMIT 1 );
SET @pk_549_928 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='product.price' LIMIT 1 );
SET @pk_549_618 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='model.trans' LIMIT 1 );
SET @pk_549_482 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='layout.multiformstrans' LIMIT 1 );
SET @pk_549_5 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='extension.node' LIMIT 1 );
SET @pk_549_485 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='layout.mlinkstrans' LIMIT 1 );
SET @pk_549_484 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='layout.listingstrans' LIMIT 1 );
SET @pk_549_481 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='layout.trans' LIMIT 1 );
SET @pk_549_714 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='eguillage.trans' LIMIT 1 );
SET @pk_549_382 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='mailing.trans' LIMIT 1 );
REPLACE INTO `#__dataset_tables` (`name`,`namekey`,`dbtid`,`prefix`,`version`,`rolid`,`level`,`type`,`pkey`,`suffix`,`group`,`domain`,`export`,`exportdelete`,`noaudit`,`engine`) VALUES ('site_node','site.node',@pk_549_211,'','1.0.0',@rolid_0,'0','1','stid','node','site','51','2','0','0','7');
REPLACE INTO `#__dataset_tables` (`name`,`namekey`,`dbtid`,`prefix`,`version`,`rolid`,`level`,`type`,`pkey`,`suffix`,`group`,`domain`,`export`,`exportdelete`,`noaudit`,`engine`) VALUES ('members_node','members.node',@pk_549_232,'','1.0.0',@rolid_0,'0','1','uid','node','members','51','2','0','0','7'),('product_node','product.node',@pk_549_306,'','1.0.0',@rolid_0,'0','1','pid','node','product','51','2','0','0','7'),('productcat_product','productcat.product',@pk_549_338,'','1.0.0',@rolid_0,'0','30','catid,pid','product','productcat','51','2','0','0','7'),('content','content',@pk_549_356,'','1.0.0',@rolid_0,'0','1','id','','content','250','2','0','1','7'),('project_node','project.node',@pk_549_405,'','1.0.0',@rolid_0,'0','40','pjid','node','project','51','2','0','0','7'),('project_trans','project.trans',@pk_549_410,'','1.0.0',@rolid_0,'0','20','pjid,lgid','trans','project','51','2','0','0','7'),('project_members','project.members',@pk_549_526,'','1.0.0',@rolid_0,'0','30','pjid,uid','members','project','51','2','0','0','7'),('ticket_node','ticket.node',@pk_549_532,'','1.0.0',@rolid_0,'0','1','tkid','node','ticket','51','2','0','0','7'),('ticket_trans','ticket.trans',@pk_549_533,'','1.0.0',@rolid_0,'0','20','tkid,lgid','trans','ticket','51','2','0','0','5'),('ticket_reply','ticket.reply',@pk_549_534,'','1.0.0',@rolid_0,'0','1','tkrid','reply','ticket','51','2','0','0','7'),('ticket_replytrans','ticket.replytrans',@pk_549_535,'','1.0.0',@rolid_0,'0','20','tkrid,lgid','replytrans','ticket','51','2','0','0','5'),('ticket_files','ticket.files',@pk_549_582,'','1.0.0',@rolid_0,'0','30','tkid,filid','files','ticket','51','2','0','0','7'),('ticket_reply_files','ticket.reply.files',@pk_549_676,'','',@rolid_0,'0','30','tkrid,filid','reply_files','ticket','51','2','0','0','7'),('ticket_template','ticket.template',@pk_549_749,'','',@rolid_0,'0','1','tktid','template','ticket','51','2','0','0','7'),('ticket_templatetrans','ticket.templatetrans',@pk_549_750,'','',@rolid_0,'0','20','tktid,lgid','templatetrans','ticket','51','2','0','0','7'),('ticket_rating','ticket.rating',@pk_549_758,'','',@rolid_0,'0','1','trid','rating','ticket','51','2','0','0','7'),('ticket_clickyesno','ticket.clickyesno',@pk_549_761,'','',@rolid_0,'0','1','clickid','clickyesno','ticket','51','2','0','0','7'),('ticket_type','ticket.type',@pk_549_1010,'','',@rolid_0,'0','1','tktypeid','','','51','2','0','0','7'),('ticket_typetrans','ticket.typetrans',@pk_549_1012,'','',@rolid_0,'0','20','tktypeid,lgid','','','51','2','0','0','7'),('joobi_languages','joobi.languages',@pk_549_199,'','1.0.0',@rolid_0,'0','1','lgid','languages','joobi','51','2','0','0','7'),('joobi_countries','joobi.countries',@pk_549_200,'','1.0.0',@rolid_0,'0','1','ctyid','countries','joobi','51','2','0','0','7'),('license_node','license.node',@pk_549_206,'','1.0.0',@rolid_0,'0','1','lcid','node','license','51','2','0','0','7'),('product_type','product.type',@pk_549_314,'','1.0.0',@rolid_0,'0','1','prodtypid','type','product','51','2','0','0','7'),('address_node','address.node',@pk_549_323,'','1.0.0',@rolid_0,'0','1','adid','node','address','51','2','0','0','7'),('productcat_trans','productcat.trans',@pk_549_335,'','1.0.0',@rolid_0,'0','20','catid,lgid','trans','productcat','51','2','0','0','7'),('joobi_files','joobi.files',@pk_549_478,'','1.0.0',@rolid_0,'0','1','filid','files','joobi','51','2','0','0','7'),('ticket_project','ticket.project',@pk_549_531,'','1.0.0',@rolid_0,'0','1','pjid','project','ticket','51','2','0','0','7'),('ticket_projectmembers','ticket.projectmembers',@pk_549_557,'','1.0.0',@rolid_0,'0','30','pjid,uid','projectmembers','ticket','51','2','0','0','7'),('role_node','role.node',@pk_549_566,'','1.0.0',@rolid_0,'0','40','rolid','node','role','51','2','0','0','7'),('currency_node','currency.node',@pk_549_624,'','1.0.0',@rolid_0,'0','1','curid','node','currency','51','2','0','0','7'),('vendor_node','vendor.node',@pk_549_652,'','',@rolid_0,'0','1','vendid','node','vendor','51','1','0','0','7'),('sections','sections',@pk_549_695,'','',@rolid_0,'0','1','id','','sections','250','2','0','1','7'),('categories','categories',@pk_549_696,'','',@rolid_0,'0','40','id','','categories','250','2','0','0','7'),('unit_node','unit.node',@pk_549_828,'','',@rolid_0,'0','1','unitid','node','unit','51','2','0','0','7'),('product_price','product.price',@pk_549_928,'','',@rolid_0,'0','1','priceid','price','product','51','2','0','0','7'),('model_trans','model.trans',@pk_549_618,'','1.0.0',@rolid_0,'0','20','sid,lgid','trans','model','9','0','0','1','7'),('layout_multiformstrans','layout.multiformstrans',@pk_549_482,'','1.0.0',@rolid_0,'0','20','fid,lgid','multiformstrans','layout','9','0','0','1','7'),('extension_node','extension.node',@pk_549_5,'','1.0.0',@rolid_0,'0','1','wid','node','extension','9','2','0','1','7'),('layout_mlinkstrans','layout.mlinkstrans',@pk_549_485,'','1.0.0',@rolid_0,'0','20','mid,lgid','mlinkstrans','layout','9','0','0','1','7'),('layout_listingstrans','layout.listingstrans',@pk_549_484,'','1.0.0',@rolid_0,'0','20','lid,lgid','listingstrans','layout','9','0','0','1','7'),('layout_trans','layout.trans',@pk_549_481,'','1.0.0',@rolid_0,'0','20','yid,lgid','trans','layout','9','0','0','1','7'),('eguillage_trans','eguillage.trans',@pk_549_714,'','',@rolid_0,'0','20','ctrid,lgid','trans','eguillage','9','0','0','1','7'),('mailing_trans','mailing.trans',@pk_549_382,'','1.0.0',@rolid_0,'0','20','mgid,lgid','trans','mailing','51','0','0','0','7');
SET @dbtid_1 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='members.node' LIMIT 1);
SET @dbtid_2 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='site.node' LIMIT 1);
SET @dbtid_3 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='product.node' LIMIT 1);
SET @dbtid_4 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='project.node' LIMIT 1);
SET @dbtid_5 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='productcat.product' LIMIT 1);
SET @dbtid_6 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='project.trans' LIMIT 1);
SET @dbtid_7 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='project.members' LIMIT 1);
SET @dbtid_8 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='ticket.trans' LIMIT 1);
SET @dbtid_9 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='ticket.replytrans' LIMIT 1);
SET @dbtid_10 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='ticket.files' LIMIT 1);
SET @dbtid_11 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='ticket.node' LIMIT 1);
SET @dbtid_12 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='ticket.reply' LIMIT 1);
SET @dbtid_13 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='ticket.reply.files' LIMIT 1);
SET @dbtid_14 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='ticket.template' LIMIT 1);
SET @dbtid_15 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='ticket.rating' LIMIT 1);
SET @dbtid_16 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='ticket.clickyesno' LIMIT 1);
SET @dbtid_17 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='content' LIMIT 1);
SET @dbtid_18 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='ticket.templatetrans' LIMIT 1);
SET @dbtid_19 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='ticket.type' LIMIT 1);
SET @dbtid_20 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='ticket.typetrans' LIMIT 1);
SET @pk_454_134 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='UK_members_node_email' LIMIT 1 );
SET @pk_454_1036 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='IX_site_extension_url' LIMIT 1 );
SET @pk_454_1117 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='IX_members_node_name' LIMIT 1 );
SET @pk_454_48161 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='UK_product_node_namekey' LIMIT 1 );
SET @pk_454_48171 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='UK_405_namekey' LIMIT 1 );
SET @pk_454_65409 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_product_categoryproduct_pid_catid' LIMIT 1 );
SET @pk_454_65421 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_projecttrans_pjid_lgid' LIMIT 1 );
SET @pk_454_65451 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_project_members_pjid_uid' LIMIT 1 );
SET @pk_454_65452 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_tickettrans_tkid_lgid' LIMIT 1 );
SET @pk_454_65453 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_ticket_replytrans_tkrid_lgid' LIMIT 1 );
SET @pk_454_65476 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_ticket_files_filid_tkid' LIMIT 1 );
SET @pk_454_65568 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='IX_ticket_node_authoruid' LIMIT 1 );
SET @pk_454_65569 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='IX_ticket_node_pjid' LIMIT 1 );
SET @pk_454_65570 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_ticket_node_tkid' LIMIT 1 );
SET @pk_454_65571 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='IX_ticket_node_modified' LIMIT 1 );
SET @pk_454_65572 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='IX_ticket_reply_created' LIMIT 1 );
SET @pk_454_65573 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='IX_ticket_node_tkid' LIMIT 1 );
SET @pk_454_65581 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_ticket_reply' LIMIT 1 );
SET @pk_454_65590 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_ticket_reply_files' LIMIT 1 );
SET @pk_454_65594 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='UK_members_node_username' LIMIT 1 );
SET @pk_454_65623 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_product_node_pid' LIMIT 1 );
SET @pk_454_65681 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_ticket_template' LIMIT 1 );
SET @pk_454_65691 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_ticket_rating' LIMIT 1 );
SET @pk_454_65694 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_ticket_clickyesno' LIMIT 1 );
SET @pk_454_65710 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_members_node' LIMIT 1 );
SET @pk_454_65711 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_content|main_joomla15' LIMIT 1 );
SET @pk_454_65946 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_ticket_templatetrans' LIMIT 1 );
SET @pk_454_65957 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='IX_product_node_publish_prodtypid' LIMIT 1 );
SET @pk_454_65964 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='IX_product_node_vendid' LIMIT 1 );
SET @pk_454_65991 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_jos_ticket_type|main_userdata' LIMIT 1 );
SET @pk_454_65993 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='UK_namekey_jos_ticket_type' LIMIT 1 );
SET @pk_454_65994 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_jos_ticket_typetrans|main_userdata' LIMIT 1 );
SET @pk_454_66007 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='IX_product_node_longitute_latitude' LIMIT 1 );
SET @pk_454_66046 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='IX_ticket_trans_name' LIMIT 1 );
SET @pk_454_66047 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='IX_ticket_trans_description' LIMIT 1 );
SET @pk_454_66048 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='IX_ticket_replytrans_name' LIMIT 1 );
SET @pk_454_66133 = ( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='IX_product_node_priceid' LIMIT 1 );
REPLACE INTO `#__dataset_constraints` (`ctid`,`type`,`namekey`,`dbtid`) VALUES (@pk_454_134,'1','UK_members_node_email',@dbtid_1);
REPLACE INTO `#__dataset_constraints` (`ctid`,`type`,`namekey`,`dbtid`) VALUES (@pk_454_1036,'2','IX_site_extension_url',@dbtid_2),(@pk_454_1117,'2','IX_members_node_name',@dbtid_1),(@pk_454_48161,'1','UK_product_node_namekey',@dbtid_3),(@pk_454_48171,'1','UK_405_namekey',@dbtid_4),(@pk_454_65409,'3','PK_product_categoryproduct_pid_catid',@dbtid_5),(@pk_454_65421,'3','PK_projecttrans_pjid_lgid',@dbtid_6),(@pk_454_65451,'3','PK_project_members_pjid_uid',@dbtid_7),(@pk_454_65452,'3','PK_tickettrans_tkid_lgid',@dbtid_8),(@pk_454_65453,'3','PK_ticket_replytrans_tkrid_lgid',@dbtid_9),(@pk_454_65476,'3','PK_ticket_files_filid_tkid',@dbtid_10),(@pk_454_65568,'2','IX_ticket_node_authoruid',@dbtid_11),(@pk_454_65569,'2','IX_ticket_node_pjid',@dbtid_11),(@pk_454_65570,'3','PK_ticket_node_tkid',@dbtid_11),(@pk_454_65571,'2','IX_ticket_node_modified',@dbtid_11),(@pk_454_65572,'2','IX_ticket_reply_created',@dbtid_12),(@pk_454_65573,'2','IX_ticket_node_tkid',@dbtid_12),(@pk_454_65581,'3','PK_ticket_reply',@dbtid_12),(@pk_454_65590,'3','PK_ticket_reply_files',@dbtid_13),(@pk_454_65594,'1','UK_members_node_username',@dbtid_1),(@pk_454_65623,'3','PK_product_node_pid',@dbtid_3),(@pk_454_65681,'3','PK_ticket_template',@dbtid_14),(@pk_454_65691,'3','PK_ticket_rating',@dbtid_15),(@pk_454_65694,'3','PK_ticket_clickyesno',@dbtid_16),(@pk_454_65710,'3','PK_members_node',@dbtid_1),(@pk_454_65711,'3','PK_content|main_joomla15',@dbtid_17),(@pk_454_65946,'3','PK_ticket_templatetrans',@dbtid_18),(@pk_454_65957,'2','IX_product_node_publish_prodtypid',@dbtid_3),(@pk_454_65964,'2','IX_product_node_vendid',@dbtid_3),(@pk_454_65991,'3','PK_jos_ticket_type|main_userdata',@dbtid_19),(@pk_454_65993,'1','UK_namekey_jos_ticket_type',@dbtid_19),(@pk_454_65994,'3','PK_jos_ticket_typetrans|main_userdata',@dbtid_20),(@pk_454_66007,'2','IX_product_node_longitute_latitude',@dbtid_3),(@pk_454_66046,'5','IX_ticket_trans_name',@dbtid_8),(@pk_454_66047,'5','IX_ticket_trans_description',@dbtid_8),(@pk_454_66048,'5','IX_ticket_replytrans_name',@dbtid_9),(@pk_454_66133,'2','IX_product_node_priceid',@dbtid_3);
SET @dbtid_21 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='joobi.files' LIMIT 1);
SET @dbtid_22 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='joobi.languages' LIMIT 1);
SET @dbtid_23 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='role.node' LIMIT 1);
SET @dbtid_24 = ( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='mailing.trans' LIMIT 1);
SET @pk_616_1418 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='211url' LIMIT 1 );
SET @pk_616_1468 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='232uid' LIMIT 1 );
SET @pk_616_1717 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='306pid' LIMIT 1 );
SET @pk_616_1719 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='306prodtypid' LIMIT 1 );
SET @pk_616_1720 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='306publish' LIMIT 1 );
SET @pk_616_1884 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='338catid' LIMIT 1 );
SET @pk_616_1885 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='338pid' LIMIT 1 );
SET @pk_616_1949 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='232name' LIMIT 1 );
SET @pk_616_1950 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='232username' LIMIT 1 );
SET @pk_616_1952 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='232email' LIMIT 1 );
SET @pk_616_2018 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='356id' LIMIT 1 );
SET @pk_616_2408 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='405namekey' LIMIT 1 );
SET @pk_616_2474 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='410pjid' LIMIT 1 );
SET @pk_616_2475 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='410lgid' LIMIT 1 );
SET @pk_616_3503 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='306namekey' LIMIT 1 );
SET @pk_616_3602 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='526pjid' LIMIT 1 );
SET @pk_616_3606 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='526uid' LIMIT 1 );
SET @pk_616_3639 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='532authoruid' LIMIT 1 );
SET @pk_616_3641 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='532modified' LIMIT 1 );
SET @pk_616_3648 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='532tkid' LIMIT 1 );
SET @pk_616_3652 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='533description' LIMIT 1 );
SET @pk_616_3653 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='533lgid' LIMIT 1 );
SET @pk_616_3654 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='533name' LIMIT 1 );
SET @pk_616_3655 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='533tkid' LIMIT 1 );
SET @pk_616_3656 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='534modified' LIMIT 1 );
SET @pk_616_3657 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='534tkid' LIMIT 1 );
SET @pk_616_3658 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='534tkrid' LIMIT 1 );
SET @pk_616_3660 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='535description' LIMIT 1 );
SET @pk_616_3661 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='535lgid' LIMIT 1 );
SET @pk_616_3662 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='535tkrid' LIMIT 1 );
SET @pk_616_5646 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='582filid' LIMIT 1 );
SET @pk_616_5647 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='582tkid' LIMIT 1 );
SET @pk_616_5738 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='532pjid' LIMIT 1 );
SET @pk_616_6548 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='676tkrid' LIMIT 1 );
SET @pk_616_6549 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='676filid' LIMIT 1 );
SET @pk_616_7069 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='vendid306' LIMIT 1 );
SET @pk_616_7143 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='749tktid' LIMIT 1 );
SET @pk_616_7149 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='750tktid' LIMIT 1 );
SET @pk_616_7150 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='750lgid' LIMIT 1 );
SET @pk_616_7222 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='758trid' LIMIT 1 );
SET @pk_616_7271 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='761clickid' LIMIT 1 );
SET @pk_616_7495 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='pricetype306' LIMIT 1 );
SET @pk_616_9348 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='1010tktypeid' LIMIT 1 );
SET @pk_616_9355 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='namekey1010' LIMIT 1 );
SET @pk_616_9365 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='1012tktypeid' LIMIT 1 );
SET @pk_616_9372 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='lgid1012' LIMIT 1 );
SET @pk_616_9441 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='longitude306' LIMIT 1 );
SET @pk_616_9442 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='latitude306' LIMIT 1 );
SET @pk_616_1377 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='206lcid' LIMIT 1 );
SET @pk_616_1417 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='211stid' LIMIT 1 );
SET @pk_616_1583 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='478filid' LIMIT 1 );
SET @pk_616_1698 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='199lgid' LIMIT 1 );
SET @pk_616_1768 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='314prodtypid' LIMIT 1 );
SET @pk_616_1815 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='323adid' LIMIT 1 );
SET @pk_616_1869 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='335catid' LIMIT 1 );
SET @pk_616_1929 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='200ctyid' LIMIT 1 );
SET @pk_616_2407 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='405pjid' LIMIT 1 );
SET @pk_616_3631 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='531tkpjid' LIMIT 1 );
SET @pk_616_5459 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='557uid' LIMIT 1 );
SET @pk_616_5532 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='566rolid' LIMIT 1 );
SET @pk_616_6095 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='624curid' LIMIT 1 );
SET @pk_616_6309 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='652vendid' LIMIT 1 );
SET @pk_616_6675 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='695id' LIMIT 1 );
SET @pk_616_6676 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='696id' LIMIT 1 );
SET @pk_616_7464 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='parent211' LIMIT 1 );
SET @pk_616_7604 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='828unitid' LIMIT 1 );
SET @pk_616_8507 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='928pricetype' LIMIT 1 );
SET @pk_616_1712 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='306filid' LIMIT 1 );
SET @pk_616_1971 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='232lgid' LIMIT 1 );
SET @pk_616_2001 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='478uid' LIMIT 1 );
SET @pk_616_2414 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='405parent' LIMIT 1 );
SET @pk_616_2415 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='405rolid' LIMIT 1 );
SET @pk_616_2421 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='405uid' LIMIT 1 );
SET @pk_616_3659 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='534uid' LIMIT 1 );
SET @pk_616_3680 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='532stid' LIMIT 1 );
SET @pk_616_5616 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='232rolid' LIMIT 1 );
SET @pk_616_6165 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='306curid' LIMIT 1 );
SET @pk_616_6457 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='rolid306' LIMIT 1 );
SET @pk_616_6480 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='assignuid532' LIMIT 1 );
SET @pk_616_6482 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='rolid534' LIMIT 1 );
SET @pk_616_6485 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='rolid532' LIMIT 1 );
SET @pk_616_7144 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='pjid749' LIMIT 1 );
SET @pk_616_7145 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='uid749' LIMIT 1 );
SET @pk_616_7223 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='tkrid758' LIMIT 1 );
SET @pk_616_7225 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='supportuid758' LIMIT 1 );
SET @pk_616_7226 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='pjid758' LIMIT 1 );
SET @pk_616_7229 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='eid532' LIMIT 1 );
SET @pk_616_7272 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='tkid761' LIMIT 1 );
SET @pk_616_7274 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='uid761' LIMIT 1 );
SET @pk_616_7404 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='curid232' LIMIT 1 );
SET @pk_616_7603 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='unit306' LIMIT 1 );
SET @pk_616_7638 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='author306' LIMIT 1 );
SET @pk_616_7764 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='catid356' LIMIT 1 );
SET @pk_616_7765 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='sectionid356' LIMIT 1 );
SET @pk_616_8501 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='previewid306' LIMIT 1 );
SET @pk_616_8841 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='adid306' LIMIT 1 );
SET @pk_616_8996 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='ctyid232' LIMIT 1 );
SET @pk_616_9358 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='rolid1010' LIMIT 1 );
SET @pk_616_9359 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='uid1010' LIMIT 1 );
SET @pk_616_10126 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='lcid532' LIMIT 1 );
SET @pk_616_10245 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='filid232' LIMIT 1 );
SET @pk_616_1419 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='211modified' LIMIT 1 );
SET @pk_616_1585 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='478modified' LIMIT 1 );
SET @pk_616_1587 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='478name' LIMIT 1 );
SET @pk_616_1588 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='478params' LIMIT 1 );
SET @pk_616_1589 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='478path' LIMIT 1 );
SET @pk_616_1590 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='478size' LIMIT 1 );
SET @pk_616_1591 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='478type' LIMIT 1 );
SET @pk_616_1710 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='306available' LIMIT 1 );
SET @pk_616_1711 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='306created' LIMIT 1 );
SET @pk_616_1716 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='306modified' LIMIT 1 );
SET @pk_616_1718 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='306price' LIMIT 1 );
SET @pk_616_1722 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='306weight' LIMIT 1 );
SET @pk_616_1948 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='232id' LIMIT 1 );
SET @pk_616_1951 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='232openid' LIMIT 1 );
SET @pk_616_1953 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='232password' LIMIT 1 );
SET @pk_616_1955 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='232block' LIMIT 1 );
SET @pk_616_1957 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='232activation' LIMIT 1 );
SET @pk_616_1958 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='232timezone' LIMIT 1 );
SET @pk_616_1959 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='232confirmed' LIMIT 1 );
SET @pk_616_1960 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='232registerdate' LIMIT 1 );
SET @pk_616_1961 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='232modified' LIMIT 1 );
SET @pk_616_1998 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='478secure' LIMIT 1 );
SET @pk_616_2405 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='232html' LIMIT 1 );
SET @pk_616_2411 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='405type' LIMIT 1 );
SET @pk_616_2412 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='405lft' LIMIT 1 );
SET @pk_616_2413 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='405rgt' LIMIT 1 );
SET @pk_616_2416 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='405ordering' LIMIT 1 );
SET @pk_616_2417 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='405publish' LIMIT 1 );
SET @pk_616_2419 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='405modified' LIMIT 1 );
SET @pk_616_2420 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='405created' LIMIT 1 );
SET @pk_616_2476 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='410name' LIMIT 1 );
SET @pk_616_2477 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='410description' LIMIT 1 );
SET @pk_616_2483 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='232registered' LIMIT 1 );
SET @pk_616_2665 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='478thumbnail' LIMIT 1 );
SET @pk_616_2667 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='478theight' LIMIT 1 );
SET @pk_616_2668 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='478twidth' LIMIT 1 );
SET @pk_616_2670 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='478width' LIMIT 1 );
SET @pk_616_2671 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='478height' LIMIT 1 );
SET @pk_616_3036 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='478approved' LIMIT 1 );
SET @pk_616_3085 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='478modifiedby' LIMIT 1 );
SET @pk_616_3281 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='232unsub' LIMIT 1 );
SET @pk_616_3319 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='478mime' LIMIT 1 );
SET @pk_616_3557 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='232login' LIMIT 1 );
SET @pk_616_3578 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='405startdate' LIMIT 1 );
SET @pk_616_3579 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='405enddate' LIMIT 1 );
SET @pk_616_3587 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='405priority' LIMIT 1 );
SET @pk_616_3604 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='526role' LIMIT 1 );
SET @pk_616_3643 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='532ordering' LIMIT 1 );
SET @pk_616_3645 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='532priority' LIMIT 1 );
SET @pk_616_3646 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='532publish' LIMIT 1 );
SET @pk_616_3649 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='532ticketid' LIMIT 1 );
SET @pk_616_3650 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='532type' LIMIT 1 );
SET @pk_616_3651 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='532uid' LIMIT 1 );
SET @pk_616_3664 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='306stock' LIMIT 1 );
SET @pk_616_3677 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='532created' LIMIT 1 );
SET @pk_616_3678 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='405author' LIMIT 1 );
SET @pk_616_3698 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='211type' LIMIT 1 );
SET @pk_616_5583 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='211ip' LIMIT 1 );
SET @pk_616_5648 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='582ordering' LIMIT 1 );
SET @pk_616_5797 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='405estimatedtime' LIMIT 1 );
SET @pk_616_5861 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='405depth' LIMIT 1 );
SET @pk_616_6417 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='private532' LIMIT 1 );
SET @pk_616_6418 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='publish534' LIMIT 1 );
SET @pk_616_6428 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='uid534' LIMIT 1 );
SET @pk_616_6429 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='modified534' LIMIT 1 );
SET @pk_616_6431 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='resptime532' LIMIT 1 );
SET @pk_616_6432 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='deadline532' LIMIT 1 );
SET @pk_616_6433 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='time534' LIMIT 1 );
SET @pk_616_6442 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='ordering338' LIMIT 1 );
SET @pk_616_6456 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='visibility232' LIMIT 1 );
SET @pk_616_6484 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='supportlevel526' LIMIT 1 );
SET @pk_616_6486 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='frontend405' LIMIT 1 );
SET @pk_616_6502 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='timing534' LIMIT 1 );
SET @pk_616_6503 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='wordcount534' LIMIT 1 );
SET @pk_616_6504 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='charcount534' LIMIT 1 );
SET @pk_616_6505 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='nbreplies532' LIMIT 1 );
SET @pk_616_6506 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='timing532' LIMIT 1 );
SET @pk_616_6507 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='wordcount532' LIMIT 1 );
SET @pk_616_6508 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='charcount532' LIMIT 1 );
SET @pk_616_6512 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='privatekey211' LIMIT 1 );
SET @pk_616_6547 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='elapsed532' LIMIT 1 );
SET @pk_616_6550 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='ordering676' LIMIT 1 );
SET @pk_616_6742 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='numcat306' LIMIT 1 );
SET @pk_616_6744 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='startdate306' LIMIT 1 );
SET @pk_616_6745 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='enddate306' LIMIT 1 );
SET @pk_616_6765 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='bundle306' LIMIT 1 );
SET @pk_616_6766 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='comment306' LIMIT 1 );
SET @pk_616_6785 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='numdiscount306' LIMIT 1 );
SET @pk_616_6818 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='auto410' LIMIT 1 );
SET @pk_616_6819 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='fromlgid410' LIMIT 1 );
SET @pk_616_6850 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='auto533' LIMIT 1 );
SET @pk_616_6851 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='fromlgid533' LIMIT 1 );
SET @pk_616_6852 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='auto535' LIMIT 1 );
SET @pk_616_6853 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='fromlgid535' LIMIT 1 );
SET @pk_616_7091 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='lsid306' LIMIT 1 );
SET @pk_616_7092 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='ltkid405' LIMIT 1 );
SET @pk_616_7093 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='tickets405' LIMIT 1 );
SET @pk_616_7116 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='sticky532' LIMIT 1 );
SET @pk_616_7146 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='publish749' LIMIT 1 );
SET @pk_616_7147 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='created749' LIMIT 1 );
SET @pk_616_7148 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='modified749' LIMIT 1 );
SET @pk_616_7151 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='name750' LIMIT 1 );
SET @pk_616_7152 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='description750' LIMIT 1 );
SET @pk_616_7153 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='type749' LIMIT 1 );
SET @pk_616_7163 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='auto750' LIMIT 1 );
SET @pk_616_7164 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='fromlgid750' LIMIT 1 );
SET @pk_616_7174 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='lock532' LIMIT 1 );
SET @pk_616_7176 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='private749' LIMIT 1 );
SET @pk_616_7183 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='rating532' LIMIT 1 );
SET @pk_616_7184 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='votes532' LIMIT 1 );
SET @pk_616_7214 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='rated534' LIMIT 1 );
SET @pk_616_7224 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='rate758' LIMIT 1 );
SET @pk_616_7227 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='modified758' LIMIT 1 );
SET @pk_616_7230 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='useful532' LIMIT 1 );
SET @pk_616_7231 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='usefulclick532' LIMIT 1 );
SET @pk_616_7232 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='commenttype532' LIMIT 1 );
SET @pk_616_7236 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='comment534' LIMIT 1 );
SET @pk_616_7237 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='usefulrate532' LIMIT 1 );
SET @pk_616_7250 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='ip532' LIMIT 1 );
SET @pk_616_7252 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='ip534' LIMIT 1 );
SET @pk_616_7261 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='uid306' LIMIT 1 );
SET @pk_616_7273 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='ip761' LIMIT 1 );
SET @pk_616_7275 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='created761' LIMIT 1 );
SET @pk_616_7276 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='yesno761' LIMIT 1 );
SET @pk_616_7281 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='nbreviews306' LIMIT 1 );
SET @pk_616_7282 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='score306' LIMIT 1 );
SET @pk_616_7283 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='votes306' LIMIT 1 );
SET @pk_616_7284 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='comment532' LIMIT 1 );
SET @pk_616_7393 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='notify526' LIMIT 1 );
SET @pk_616_7394 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='oncreation405' LIMIT 1 );
SET @pk_616_7395 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='onreplies405' LIMIT 1 );
SET @pk_616_7396 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='toassigned405' LIMIT 1 );
SET @pk_616_7397 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='sendcopy405' LIMIT 1 );
SET @pk_616_7405 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='payment306' LIMIT 1 );
SET @pk_616_7408 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='title356' LIMIT 1 );
SET @pk_616_7409 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='created356' LIMIT 1 );
SET @pk_616_7410 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='state356' LIMIT 1 );
SET @pk_616_7462 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='domain211' LIMIT 1 );
SET @pk_616_7496 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='group405' LIMIT 1 );
SET @pk_616_7613 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='featured306' LIMIT 1 );
SET @pk_616_7614 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='viewed306' LIMIT 1 );
SET @pk_616_7620 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='nbsold306' LIMIT 1 );
SET @pk_616_7701 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='relnum306' LIMIT 1 );
SET @pk_616_7761 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='followup532' LIMIT 1 );
SET @pk_616_7772 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='assignbyuid532' LIMIT 1 );
SET @pk_616_7797 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='modified356' LIMIT 1 );
SET @pk_616_7799 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='published_up356' LIMIT 1 );
SET @pk_616_7800 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='publish_down356' LIMIT 1 );
SET @pk_616_7801 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='mask356' LIMIT 1 );
SET @pk_616_7802 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='created_by356' LIMIT 1 );
SET @pk_616_7803 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='created_by_alias356' LIMIT 1 );
SET @pk_616_7804 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='modified_by356' LIMIT 1 );
SET @pk_616_7805 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='checked_out356' LIMIT 1 );
SET @pk_616_7806 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='checked_out_time356' LIMIT 1 );
SET @pk_616_7807 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='images356' LIMIT 1 );
SET @pk_616_7808 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='urls356' LIMIT 1 );
SET @pk_616_7809 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='attribs356' LIMIT 1 );
SET @pk_616_7810 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='version356' LIMIT 1 );
SET @pk_616_7811 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='parentid356' LIMIT 1 );
SET @pk_616_7812 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='ordering356' LIMIT 1 );
SET @pk_616_7813 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='metakey356' LIMIT 1 );
SET @pk_616_7814 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='metadesc356' LIMIT 1 );
SET @pk_616_7815 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='access356' LIMIT 1 );
SET @pk_616_7816 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='metadata356' LIMIT 1 );
SET @pk_616_7817 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='hits356' LIMIT 1 );
SET @pk_616_7853 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='password211' LIMIT 1 );
SET @pk_616_8014 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='publish532' LIMIT 1 );
SET @pk_616_8022 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='read532' LIMIT 1 );
SET @pk_616_8078 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='email405' LIMIT 1 );
SET @pk_616_8381 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='md5478' LIMIT 1 );
SET @pk_616_8459 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='electronic306' LIMIT 1 );
SET @pk_616_8461 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='alias306' LIMIT 1 );
SET @pk_616_8462 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='availableend306' LIMIT 1 );
SET @pk_616_8503 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='cssclass306' LIMIT 1 );
SET @pk_616_8548 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='params306' LIMIT 1 );
SET @pk_616_8584 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='block306' LIMIT 1 );
SET @pk_616_8596 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='resell306' LIMIT 1 );
SET @pk_616_8763 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='target306' LIMIT 1 );
SET @pk_616_8764 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='targettotal306' LIMIT 1 );
SET @pk_616_8800 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='used338' LIMIT 1 );
SET @pk_616_8818 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='premium338' LIMIT 1 );
SET @pk_616_8868 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='alias478' LIMIT 1 );
SET @pk_616_8892 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='rolid_buy306' LIMIT 1 );
SET @pk_616_8904 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='vendid478' LIMIT 1 );
SET @pk_616_8913 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='discountrate306' LIMIT 1 );
SET @pk_616_8914 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='discountprice306' LIMIT 1 );
SET @pk_616_8965 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='core478' LIMIT 1 );
SET @pk_616_8987 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='storage478' LIMIT 1 );
SET @pk_616_8994 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='folder478' LIMIT 1 );
SET @pk_616_8995 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='ip232' LIMIT 1 );
SET @pk_616_9049 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='description211' LIMIT 1 );
SET @pk_616_9356 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='alias1010' LIMIT 1 );
SET @pk_616_9357 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='type1010' LIMIT 1 );
SET @pk_616_9360 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='modifiedby1010' LIMIT 1 );
SET @pk_616_9361 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='core1010' LIMIT 1 );
SET @pk_616_9362 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='publish1010' LIMIT 1 );
SET @pk_616_9363 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='created1010' LIMIT 1 );
SET @pk_616_9364 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='modified1010' LIMIT 1 );
SET @pk_616_9373 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='auto1012' LIMIT 1 );
SET @pk_616_9374 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='fromlgid1012' LIMIT 1 );
SET @pk_616_9375 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='name1012' LIMIT 1 );
SET @pk_616_9376 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='description1012' LIMIT 1 );
SET @pk_616_9377 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='params1010' LIMIT 1 );
SET @pk_616_9378 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='ordering1010' LIMIT 1 );
SET @pk_616_9438 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='migid306' LIMIT 1 );
SET @pk_616_9439 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='migrefid306' LIMIT 1 );
SET @pk_616_9440 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='location306' LIMIT 1 );
SET @pk_616_10037 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='featuredate306' LIMIT 1 );
SET @pk_616_10098 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='latereply532' LIMIT 1 );
SET @pk_616_10110 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='alias211' LIMIT 1 );
SET @pk_616_10123 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='mobile232' LIMIT 1 );
SET @pk_616_10431 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='length306' LIMIT 1 );
SET @pk_616_10432 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='width306' LIMIT 1 );
SET @pk_616_10433 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='height306' LIMIT 1 );
SET @pk_616_10905 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='site_id306' LIMIT 1 );
SET @pk_616_6039 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='618name' LIMIT 1 );
SET @pk_616_3412 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='482name' LIMIT 1 );
SET @pk_616_3413 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='482description' LIMIT 1 );
SET @pk_616_3419 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='485name' LIMIT 1 );
SET @pk_616_6797 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='description485' LIMIT 1 );
SET @pk_616_10823 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='message485' LIMIT 1 );
SET @pk_616_3416 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='484name' LIMIT 1 );
SET @pk_616_3507 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='484description' LIMIT 1 );
SET @pk_616_3408 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='481name' LIMIT 1 );
SET @pk_616_5579 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='481wname' LIMIT 1 );
SET @pk_616_5580 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='481wdescription' LIMIT 1 );
SET @pk_616_6794 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='name714' LIMIT 1 );
SET @pk_616_6795 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='description714' LIMIT 1 );
SET @pk_616_2217 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='382name' LIMIT 1 );
SET @pk_616_2218 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='382ctext' LIMIT 1 );
SET @pk_616_2219 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='382chtml' LIMIT 1 );
SET @pk_616_8616 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='bouncemail382' LIMIT 1 );
SET @pk_616_8617 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='authorid382' LIMIT 1 );
SET @pk_616_8618 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='modified382' LIMIT 1 );
SET @pk_616_8678 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='intro382' LIMIT 1 );
SET @pk_616_10120 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='smsmessage382' LIMIT 1 );
SET @pk_616_10801 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='title382' LIMIT 1 );
SET @pk_616_10802 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='subtitle382' LIMIT 1 );
REPLACE INTO `#__dataset_columns` (`dbcid`,`dbtid`,`name`,`pkey`,`checkval`,`type`,`attributes`,`mandatory`,`default`,`ordering`,`level`,`rolid`,`extra`,`size`,`export`,`namekey`,`core`,`columntype`,`noaudit`) VALUES (@pk_616_1418,@dbtid_2,'url','0','1','14','0','1','','2','1',@rolid_0,'0','255','1','211url','1','0','0');
REPLACE INTO `#__dataset_columns` (`dbcid`,`dbtid`,`name`,`pkey`,`checkval`,`type`,`attributes`,`mandatory`,`default`,`ordering`,`level`,`rolid`,`extra`,`size`,`export`,`namekey`,`core`,`columntype`,`noaudit`) VALUES (@pk_616_1468,@dbtid_1,'uid','1','0','4','1','1','','1','1',@rolid_0,'1','0','1','232uid','1','0','0'),(@pk_616_1717,@dbtid_3,'pid','1','0','4','1','1','','2','1',@rolid_0,'1','0','1','306pid','1','0','0'),(@pk_616_1719,@dbtid_3,'prodtypid','0','1','2','1','1','0','5','1',@rolid_0,'0','0','1','306prodtypid','1','0','0'),(@pk_616_1720,@dbtid_3,'publish','0','0','1','0','1','0','7','1',@rolid_0,'0','0','1','306publish','1','0','0'),(@pk_616_1884,@dbtid_5,'catid','1','0','2','0','1','','1','1',@rolid_0,'0','5','1','338catid','1','0','0'),(@pk_616_1885,@dbtid_5,'pid','1','0','4','0','1','','2','1',@rolid_0,'0','0','1','338pid','1','0','0'),(@pk_616_1949,@dbtid_1,'name','0','1','14','0','1','','5','1',@rolid_0,'0','200','1','232name','1','0','0'),(@pk_616_1950,@dbtid_1,'username','0','1','14','0','1','','4','1',@rolid_0,'0','40','1','232username','1','0','0'),(@pk_616_1952,@dbtid_1,'email','0','1','14','0','1','','6','1',@rolid_0,'0','100','1','232email','1','0','0'),(@pk_616_2018,@dbtid_17,'id','1','0','4','1','1','','1','1',@rolid_0,'1','11','1','356id','1','0','0'),(@pk_616_2408,@dbtid_4,'namekey','0','1','14','0','1','','4','1',@rolid_0,'0','100','1','405namekey','1','0','0'),(@pk_616_2474,@dbtid_6,'pjid','1','0','2','1','1','','1','1',@rolid_0,'0','0','1','410pjid','1','0','0'),(@pk_616_2475,@dbtid_6,'lgid','1','0','1','1','1','','2','1',@rolid_0,'0','0','1','410lgid','1','0','0'),(@pk_616_3503,@dbtid_3,'namekey','0','1','14','0','1','','6','1',@rolid_0,'0','150','1','306namekey','1','0','0'),(@pk_616_3602,@dbtid_7,'pjid','1','0','2','1','1','','1','1',@rolid_0,'0','0','1','526pjid','1','0','0'),(@pk_616_3606,@dbtid_7,'uid','1','0','4','1','1','','2','1',@rolid_0,'1','0','1','526uid','1','0','0'),(@pk_616_3639,@dbtid_11,'authoruid','0','0','4','1','1','0','5','1',@rolid_0,'0','0','1','532authoruid','1','0','0'),(@pk_616_3641,@dbtid_11,'modified','0','1','4','1','1','0','10','1',@rolid_0,'0','0','1','532modified','1','1','0'),(@pk_616_3648,@dbtid_11,'tkid','1','0','4','1','1','','1','1',@rolid_0,'1','0','1','532tkid','1','0','0'),(@pk_616_3652,@dbtid_8,'description','0','0','16','0','1','','4','1',@rolid_0,'0','0','1','533description','1','0','0'),(@pk_616_3653,@dbtid_8,'lgid','1','0','1','1','1','1','2','1',@rolid_0,'0','4','1','533lgid','1','0','0'),(@pk_616_3654,@dbtid_8,'name','0','0','14','0','1','','3','1',@rolid_0,'0','250','1','533name','1','0','0'),(@pk_616_3655,@dbtid_8,'tkid','1','0','4','1','1','','1','1',@rolid_0,'0','0','1','533tkid','1','0','0'),(@pk_616_3656,@dbtid_12,'created','0','1','4','1','1','0','4','1',@rolid_0,'0','0','1','534modified','1','1','0'),(@pk_616_3657,@dbtid_12,'tkid','0','0','4','1','1','0','2','1',@rolid_0,'0','0','1','534tkid','1','0','0'),(@pk_616_3658,@dbtid_12,'tkrid','1','0','4','1','1','','1','1',@rolid_0,'1','0','1','534tkrid','1','0','0'),(@pk_616_3660,@dbtid_9,'description','0','0','16','0','1','','3','1',@rolid_0,'0','0','1','535description','1','0','0'),(@pk_616_3661,@dbtid_9,'lgid','1','0','1','1','1','1','2','1',@rolid_0,'0','4','1','535lgid','1','0','0'),(@pk_616_3662,@dbtid_9,'tkrid','1','0','4','1','1','','1','1',@rolid_0,'0','0','1','535tkrid','1','0','0'),(@pk_616_5646,@dbtid_10,'filid','1','0','4','1','1','','2','1',@rolid_0,'0','0','1','582filid','1','0','0'),(@pk_616_5647,@dbtid_10,'tkid','1','0','4','1','1','','1','1',@rolid_0,'0','0','1','582tkid','1','0','0'),(@pk_616_5738,@dbtid_11,'pjid','0','0','2','1','1','0','3','1',@rolid_0,'0','5','1','532pjid','1','0','0'),(@pk_616_6548,@dbtid_13,'tkrid','1','0','4','1','1','','1','0','0','0','0','1','676tkrid','1','0','0'),(@pk_616_6549,@dbtid_13,'filid','1','0','4','1','1','','2','0','0','0','0','1','676filid','1','0','0'),(@pk_616_7069,@dbtid_3,'vendid','0','0','4','1','1','1','21','0','0','0','0','1','vendid306','1','0','0'),(@pk_616_7143,@dbtid_14,'tktid','1','0','4','1','1','','1','0','0','1','0','1','749tktid','1','0','0'),(@pk_616_7149,@dbtid_18,'tktid','1','0','4','1','1','','1','0','0','0','0','1','750tktid','1','0','0'),(@pk_616_7150,@dbtid_18,'lgid','1','0','1','1','1','1','2','0','0','0','4','1','750lgid','1','0','0'),(@pk_616_7222,@dbtid_15,'trid','1','0','4','1','1','','1','0','0','1','0','1','758trid','1','0','0'),(@pk_616_7271,@dbtid_16,'clickid','1','0','4','1','1','','1','0','0','1','0','1','761clickid','1','0','0'),(@pk_616_7495,@dbtid_3,'priceid','0','1','1','1','1','0','28','0','0','0','0','1','pricetype306','1','0','0'),(@pk_616_9348,@dbtid_19,'tktypeid','1','0','2','1','1','','1','0','0','1','0','1','1010tktypeid','1','0','0'),(@pk_616_9355,@dbtid_19,'namekey','0','1','14','0','1','','3','0','0','0','150','1','namekey1010','1','0','0'),(@pk_616_9365,@dbtid_20,'tktypeid','1','0','2','1','1','','1','0','0','1','0','1','1012tktypeid','1','0','0'),(@pk_616_9372,@dbtid_20,'lgid','1','0','1','1','1','0','2','0','0','0','0','1','lgid1012','1','0','0'),(@pk_616_9441,@dbtid_3,'longitude','0','1','7','0','1','222','53','0','0','0','12','1','longitude306','1','0','0'),(@pk_616_9442,@dbtid_3,'latitude','0','1','7','0','1','222','54','0','0','0','12','1','latitude306','1','0','0'),(@pk_616_1377,( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='license.node' LIMIT 1),'lcid','1','0','4','1','1','','1','1',@rolid_0,'1','0','1','206lcid','1','0','0'),(@pk_616_1417,@dbtid_2,'stid','1','0','4','1','1','','1','1',@rolid_0,'1','0','1','211stid','1','0','0'),(@pk_616_1583,@dbtid_21,'filid','1','0','4','1','1','','1','1',@rolid_0,'1','0','1','478filid','1','0','0'),(@pk_616_1698,@dbtid_22,'lgid','1','0','1','1','1','','1','1',@rolid_0,'1','0','1','199lgid','1','0','0');
REPLACE INTO `#__dataset_columns` (`dbcid`,`dbtid`,`name`,`pkey`,`checkval`,`type`,`attributes`,`mandatory`,`default`,`ordering`,`level`,`rolid`,`extra`,`size`,`export`,`namekey`,`core`,`columntype`,`noaudit`) VALUES (@pk_616_1768,( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='product.type' LIMIT 1),'prodtypid','1','1','2','1','1','','1','1',@rolid_0,'1','0','1','314prodtypid','1','0','0'),(@pk_616_1815,( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='address.node' LIMIT 1),'adid','1','0','4','1','1','','1','1',@rolid_0,'1','0','1','323adid','1','0','0'),(@pk_616_1869,( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='productcat.trans' LIMIT 1),'catid','1','0','4','1','1','','1','1',@rolid_0,'0','0','1','335catid','1','0','0'),(@pk_616_1929,( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='joobi.countries' LIMIT 1),'ctyid','1','0','2','1','1','','1','1',@rolid_0,'1','0','1','200ctyid','1','0','0'),(@pk_616_2407,@dbtid_4,'pjid','1','0','2','1','1','','1','1',@rolid_0,'1','0','1','405pjid','1','0','0'),(@pk_616_3631,( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='ticket.project' LIMIT 1),'pjid','1','0','2','1','1','','1','1',@rolid_0,'1','0','1','531tkpjid','1','0','0'),(@pk_616_5459,( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='ticket.projectmembers' LIMIT 1),'uid','1','0','4','1','1','','2','1',@rolid_0,'1','10','1','557uid','1','0','0'),(@pk_616_5532,@dbtid_23,'rolid','1','0','2','1','1','','1','1',@rolid_0,'1','0','1','566rolid','1','0','0'),(@pk_616_6095,( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='currency.node' LIMIT 1),'curid','1','0','2','1','1','','1','1',@rolid_0,'1','0','1','624curid','1','0','0'),(@pk_616_6309,( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='vendor.node' LIMIT 1),'vendid','1','0','4','1','1','','1','0','0','1','0','1','652vendid','1','0','0'),(@pk_616_6675,( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='sections' LIMIT 1),'id','1','0','4','1','1','','1','0','0','1','11','1','695id','1','0','0'),(@pk_616_6676,( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='categories' LIMIT 1),'id','1','0','4','1','1','','1','0','0','1','11','1','696id','1','0','0'),(@pk_616_7464,@dbtid_2,'parent','0','0','4','1','1','0','8','0','0','0','0','1','parent211','1','0','0'),(@pk_616_7604,( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='unit.node' LIMIT 1),'unitid','1','0','1','1','1','','1','0','0','1','0','1','828unitid','1','0','0'),(@pk_616_8507,( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='product.price' LIMIT 1),'priceid','1','0','4','1','1','','1','0','0','1','0','1','928pricetype','1','0','0'),(@pk_616_1712,@dbtid_3,'filid','0','1','1','1','1','0','3','1',@rolid_0,'0','0','1','306filid','1','0','0'),(@pk_616_1971,@dbtid_1,'lgid','0','0','1','1','1','1','2','1',@rolid_0,'0','0','1','232lgid','1','0','0'),(@pk_616_2001,@dbtid_21,'uid','0','0','4','1','1','0','7','1',@rolid_0,'1','0','1','478uid','1','0','0'),(@pk_616_2414,@dbtid_4,'parent','0','0','3','1','1','0','8','1',@rolid_0,'0','0','1','405parent','1','0','0'),(@pk_616_2415,@dbtid_4,'rolid','0','0','2','1','1','7','3','1',@rolid_0,'0','0','1','405rolid','1','0','0'),(@pk_616_2421,@dbtid_4,'uid','0','1','4','1','1','0','2','1',@rolid_0,'1','0','1','405uid','1','0','0'),(@pk_616_3659,@dbtid_12,'authoruid','0','0','4','1','1','0','3','1',@rolid_0,'0','0','1','534uid','1','0','0'),(@pk_616_3680,@dbtid_11,'stid','0','1','4','1','1','0','12','1',@rolid_0,'0','0','1','532stid','1','0','0'),(@pk_616_5616,@dbtid_1,'rolid','0','0','2','1','1','1','18','1',@rolid_0,'0','0','1','232rolid','1','0','0'),(@pk_616_6165,@dbtid_3,'curid','0','0','2','1','1','1','4','1',@rolid_0,'0','0','1','306curid','1','0','0'),(@pk_616_6457,@dbtid_3,'rolid','0','1','2','1','1','1','14','0','0','0','0','1','rolid306','1','0','0'),(@pk_616_6480,@dbtid_11,'assignuid','0','1','4','1','1','0','16','0','0','0','0','1','assignuid532','1','0','0'),(@pk_616_6482,@dbtid_12,'rolid','0','1','2','1','1','1','9','0','0','0','0','1','rolid534','1','0','0'),(@pk_616_6485,@dbtid_11,'rolid','0','1','2','1','1','1','17','0','0','0','0','1','rolid532','1','0','0'),(@pk_616_7144,@dbtid_14,'pjid','0','1','4','1','1','0','2','0','0','0','0','1','pjid749','1','0','0'),(@pk_616_7145,@dbtid_14,'uid','0','1','4','1','1','0','3','0','0','0','0','1','uid749','1','0','0'),(@pk_616_7223,@dbtid_15,'tkrid','0','1','3','1','1','0','2','0','0','0','0','1','tkrid758','1','0','0'),(@pk_616_7225,@dbtid_15,'supportuid','0','1','4','1','1','0','4','0','0','0','0','1','supportuid758','1','0','0'),(@pk_616_7226,@dbtid_15,'pjid','0','1','2','1','1','0','5','0','0','0','0','1','pjid758','1','0','0'),(@pk_616_7229,@dbtid_11,'etid','0','1','4','1','1','0','27','0','0','0','0','1','eid532','1','0','0'),(@pk_616_7272,@dbtid_16,'tkid','0','1','4','1','1','0','2','0','0','0','0','1','tkid761','1','0','0'),(@pk_616_7274,@dbtid_16,'uid','0','1','4','1','1','0','4','0','0','0','0','1','uid761','1','0','0'),(@pk_616_7404,@dbtid_1,'curid','0','1','2','1','1','0','21','0','0','0','0','1','curid232','1','0','0'),(@pk_616_7603,@dbtid_3,'unitid','0','1','1','1','1','0','30','0','0','0','0','1','unit306','1','0','0'),(@pk_616_7638,@dbtid_3,'author','0','1','4','1','1','0','34','0','0','0','0','1','author306','1','0','0'),(@pk_616_7764,@dbtid_17,'catid','0','1','4','1','1','0','5','0','0','0','0','1','catid356','1','0','0'),(@pk_616_7765,@dbtid_17,'sectionid','0','1','4','1','1','0','6','0','0','0','11','1','sectionid356','1','0','0'),(@pk_616_8501,@dbtid_3,'previewid','0','1','4','1','1','0','39','0','0','0','0','1','previewid306','1','0','0'),(@pk_616_8841,@dbtid_3,'adid','0','1','1','1','1','0','46','0','0','0','0','1','adid306','1','0','0'),(@pk_616_8996,@dbtid_1,'ctyid','0','1','2','1','1','0','23','0','0','0','0','1','ctyid232','1','0','0'),(@pk_616_9358,@dbtid_19,'rolid','0','1','2','1','1','1','8','0','0','0','0','1','rolid1010','1','0','0'),(@pk_616_9359,@dbtid_19,'uid','0','0','4','1','1','0','9','0','0','0','0','1','uid1010','1','0','0'),(@pk_616_10126,@dbtid_11,'lcid','0','1','4','1','1','0','39','0','0','0','0','1','lcid532','1','0','0'),(@pk_616_10245,@dbtid_1,'filid','0','1','4','1','1','0','25','0','0','0','0','1','filid232','1','0','0'),(@pk_616_1419,@dbtid_2,'modified','0','1','4','1','1','0','3','1',@rolid_0,'0','0','1','211modified','1','1','0'),(@pk_616_1585,@dbtid_21,'modified','0','1','4','1','1','0','8','1',@rolid_0,'0','0','0','478modified','1','1','0');
REPLACE INTO `#__dataset_columns` (`dbcid`,`dbtid`,`name`,`pkey`,`checkval`,`type`,`attributes`,`mandatory`,`default`,`ordering`,`level`,`rolid`,`extra`,`size`,`export`,`namekey`,`core`,`columntype`,`noaudit`) VALUES (@pk_616_1587,@dbtid_21,'name','0','1','14','0','1','','2','1',@rolid_0,'0','254','1','478name','1','0','0'),(@pk_616_1588,@dbtid_21,'params','0','0','16','0','1','','17','1',@rolid_0,'0','0','1','478params','1','0','0'),(@pk_616_1589,@dbtid_21,'path','0','1','14','1','1','','4','1',@rolid_0,'0','255','1','478path','1','0','0'),(@pk_616_1590,@dbtid_21,'size','0','0','4','1','1','0','6','1',@rolid_0,'0','0','1','478size','1','0','0'),(@pk_616_1591,@dbtid_21,'type','0','1','14','0','1','','5','1',@rolid_0,'0','20','1','478type','1','0','0'),(@pk_616_1710,@dbtid_3,'availablestart','0','1','4','1','1','0','9','1',@rolid_0,'0','0','1','306available','1','0','0'),(@pk_616_1711,@dbtid_3,'created','0','1','4','1','1','0','11','1',@rolid_0,'0','0','1','306created','1','1','0'),(@pk_616_1716,@dbtid_3,'modified','0','1','4','1','1','0','10','1',@rolid_0,'0','0','1','306modified','1','1','0'),(@pk_616_1718,@dbtid_3,'price','0','1','8','1','1','0','8','1',@rolid_0,'0','15','1','306price','1','0','0'),(@pk_616_1722,@dbtid_3,'weight','0','1','8','1','1','0','12','1',@rolid_0,'0','10','1','306weight','1','0','0'),(@pk_616_1948,@dbtid_1,'id','0','0','4','0','1','0','3','1',@rolid_0,'0','10','1','232id','1','0','0'),(@pk_616_1951,@dbtid_1,'openid','0','1','14','0','1','','9','1',@rolid_0,'0','255','1','232openid','1','0','0'),(@pk_616_1953,@dbtid_1,'password','0','1','14','0','1','','7','1',@rolid_0,'0','200','1','232password','1','0','0'),(@pk_616_1955,@dbtid_1,'blocked','0','0','1','0','1','0','11','1',@rolid_0,'0','3','1','232block','1','0','0'),(@pk_616_1957,@dbtid_1,'activation','0','0','14','0','1','','12','1',@rolid_0,'0','32','1','232activation','1','0','0'),(@pk_616_1958,@dbtid_1,'timezone','0','0','2','0','1','999','8','1',@rolid_0,'0','0','1','232timezone','1','0','0'),(@pk_616_1959,@dbtid_1,'confirmed','0','0','1','0','1','0','10','1',@rolid_0,'0','3','1','232confirmed','1','0','0'),(@pk_616_1960,@dbtid_1,'registerdate','0','0','10','0','1','','17','1',@rolid_0,'0','0','1','232registerdate','1','0','0'),(@pk_616_1961,@dbtid_1,'modified','0','1','4','1','1','0','16','1',@rolid_0,'0','0','1','232modified','1','1','0'),(@pk_616_1998,@dbtid_21,'secure','0','0','1','0','1','0','15','1',@rolid_0,'0','0','1','478secure','1','0','0'),(@pk_616_2405,@dbtid_1,'html','0','0','1','1','1','1','14','1',@rolid_0,'0','0','1','232html','1','0','0'),(@pk_616_2411,@dbtid_4,'type','0','0','1','1','1','0','5','1',@rolid_0,'0','0','1','405type','1','0','0'),(@pk_616_2412,@dbtid_4,'lft','0','0','3','1','1','0','6','1',@rolid_0,'0','0','1','405lft','1','0','0'),(@pk_616_2413,@dbtid_4,'rgt','0','0','3','1','1','0','7','1',@rolid_0,'0','0','1','405rgt','1','0','0'),(@pk_616_2416,@dbtid_4,'ordering','0','0','1','1','1','99','9','1',@rolid_0,'0','0','1','405ordering','1','0','0'),(@pk_616_2417,@dbtid_4,'publish','0','0','1','0','1','1','10','1',@rolid_0,'0','0','1','405publish','1','0','0'),(@pk_616_2419,@dbtid_4,'modified','0','1','4','1','1','0','11','1',@rolid_0,'0','0','1','405modified','1','1','0'),(@pk_616_2420,@dbtid_4,'created','0','1','4','1','1','0','12','1',@rolid_0,'1','0','1','405created','1','1','0'),(@pk_616_2476,@dbtid_6,'name','0','0','14','0','1','','3','1',@rolid_0,'0','100','1','410name','1','0','0'),(@pk_616_2477,@dbtid_6,'description','0','0','16','0','1','','4','1',@rolid_0,'0','0','1','410description','1','0','0'),(@pk_616_2483,@dbtid_1,'registered','0','0','25','0','1','1','13','1',@rolid_0,'0','0','1','232registered','1','0','0'),(@pk_616_2665,@dbtid_21,'thumbnail','0','0','1','1','1','0','14','1',@rolid_0,'0','0','1','478thumbnail','1','0','0'),(@pk_616_2667,@dbtid_21,'theight','0','0','2','1','1','0','13','1',@rolid_0,'0','0','1','478theight','1','0','0'),(@pk_616_2668,@dbtid_21,'twidth','0','0','2','1','1','0','11','1',@rolid_0,'0','0','1','478twidth','1','0','0'),(@pk_616_2670,@dbtid_21,'width','0','0','2','0','1','0','10','1',@rolid_0,'0','0','1','478width','1','0','0'),(@pk_616_2671,@dbtid_21,'height','0','0','2','1','1','0','12','1',@rolid_0,'0','0','1','478height','1','0','0'),(@pk_616_3036,@dbtid_21,'approved','0','0','1','1','1','0','16','1',@rolid_0,'0','0','1','478approved','1','0','0'),(@pk_616_3085,@dbtid_21,'modifiedby','0','1','4','1','1','0','9','1',@rolid_0,'1','0','0','478modifiedby','1','0','0'),(@pk_616_3281,@dbtid_1,'unsub','0','0','25','0','1','0','15','1',@rolid_0,'0','0','1','232unsub','1','0','0'),(@pk_616_3319,@dbtid_21,'mime','0','0','14','0','1','','18','1',@rolid_0,'0','40','1','478mime','1','0','0'),(@pk_616_3557,@dbtid_1,'login','0','0','10','0','1','','19','1',@rolid_0,'0','0','1','232login','1','0','0'),(@pk_616_3578,@dbtid_4,'startdate','0','0','4','1','1','0','14','1',@rolid_0,'0','0','1','405startdate','1','0','0'),(@pk_616_3579,@dbtid_4,'enddate','0','0','4','1','1','0','13','1',@rolid_0,'0','0','1','405enddate','1','0','0'),(@pk_616_3587,@dbtid_4,'priority','0','0','1','1','1','0','15','1',@rolid_0,'0','0','1','405priority','1','0','0'),(@pk_616_3604,@dbtid_7,'role','0','0','1','1','1','0','4','1',@rolid_0,'0','0','1','526role','1','0','0'),(@pk_616_3643,@dbtid_11,'ordering','0','0','1','1','1','0','11','1',@rolid_0,'0','0','1','532ordering','1','0','0'),(@pk_616_3645,@dbtid_11,'priority','0','0','1','1','1','0','8','1',@rolid_0,'0','0','1','532priority','1','0','0'),(@pk_616_3646,@dbtid_11,'status','0','0','1','0','1','20','9','1',@rolid_0,'0','0','1','532publish','1','0','0'),(@pk_616_3649,@dbtid_11,'namekey','0','0','14','0','1','','4','1',@rolid_0,'0','100','1','532ticketid','1','0','0'),(@pk_616_3650,@dbtid_11,'tktypeid','0','0','2','1','1','0','7','1',@rolid_0,'0','0','1','532type','1','0','0'),(@pk_616_3651,@dbtid_11,'uid','0','0','4','1','1','0','2','1',@rolid_0,'1','0','1','532uid','1','0','0');
REPLACE INTO `#__dataset_columns` (`dbcid`,`dbtid`,`name`,`pkey`,`checkval`,`type`,`attributes`,`mandatory`,`default`,`ordering`,`level`,`rolid`,`extra`,`size`,`export`,`namekey`,`core`,`columntype`,`noaudit`) VALUES (@pk_616_3664,@dbtid_3,'stock','0','1','3','0','1','-1','13','1',@rolid_0,'0','0','1','306stock','1','0','0'),(@pk_616_3677,@dbtid_11,'created','0','1','4','1','1','0','6','1',@rolid_0,'1','0','1','532created','1','1','0'),(@pk_616_3678,@dbtid_4,'author','0','0','4','1','1','0','16','1',@rolid_0,'0','0','1','405author','1','0','0'),(@pk_616_3698,@dbtid_2,'type','0','0','1','1','1','0','4','1',@rolid_0,'0','0','1','211type','1','0','0'),(@pk_616_5583,@dbtid_2,'ip','0','0','4','1','1','NULL','5','1',@rolid_0,'0','10','1','211ip','1','0','0'),(@pk_616_5648,@dbtid_10,'ordering','0','0','1','1','1','0','3','1',@rolid_0,'0','3','1','582ordering','1','0','0'),(@pk_616_5797,@dbtid_4,'estimatedtime','0','0','4','1','1','0','17','1',@rolid_0,'0','0','0','405estimatedtime','1','0','0'),(@pk_616_5861,@dbtid_4,'depth','0','0','1','1','1','0','18','1',@rolid_0,'0','0','1','405depth','1','0','0'),(@pk_616_6417,@dbtid_11,'private','0','1','1','1','1','1','13','0','0','0','0','1','private532','1','0','0'),(@pk_616_6418,@dbtid_12,'publish','0','1','1','1','1','1','5','0','0','0','0','1','publish534','1','0','0'),(@pk_616_6428,@dbtid_12,'uid','0','1','4','1','1','0','6','0','0','0','0','1','uid534','1','0','0'),(@pk_616_6429,@dbtid_12,'modified','0','1','4','1','1','0','7','0','0','0','0','1','modified534','1','1','0'),(@pk_616_6431,@dbtid_11,'resptime','0','1','1','1','1','10','14','0','0','0','0','1','resptime532','1','0','0'),(@pk_616_6432,@dbtid_11,'deadline','0','1','4','1','1','4200000003','15','0','0','0','0','1','deadline532','1','0','0'),(@pk_616_6433,@dbtid_12,'timeresp','0','1','4','1','1','0','8','0','0','0','0','1','time534','1','0','0'),(@pk_616_6442,@dbtid_5,'ordering','0','0','1','1','1','99','3','0','0','0','0','1','ordering338','1','0','0'),(@pk_616_6456,@dbtid_1,'visibility','0','0','1','1','1','231','20','0','0','0','0','1','visibility232','1','0','0'),(@pk_616_6484,@dbtid_7,'supportlevel','0','0','1','1','1','1','3','0','0','0','0','1','supportlevel526','1','0','0'),(@pk_616_6486,@dbtid_4,'frontend','0','1','1','1','1','0','19','0','0','0','0','1','frontend405','1','0','0'),(@pk_616_6502,@dbtid_12,'timing','0','1','2','1','1','0','10','0','0','0','0','1','timing534','1','0','0'),(@pk_616_6503,@dbtid_12,'wordcount','0','1','2','1','1','0','11','0','0','0','0','1','wordcount534','1','0','0'),(@pk_616_6504,@dbtid_12,'charcount','0','1','3','1','1','0','12','0','0','0','0','1','charcount534','1','0','0'),(@pk_616_6505,@dbtid_11,'replies','0','1','2','1','1','0','18','0','0','0','0','1','nbreplies532','1','0','0'),(@pk_616_6506,@dbtid_11,'timing','0','1','2','1','1','0','19','0','0','0','0','1','timing532','1','0','0'),(@pk_616_6507,@dbtid_11,'wordcount','0','1','2','1','1','0','20','0','0','0','0','1','wordcount532','1','0','0'),(@pk_616_6508,@dbtid_11,'charcount','0','1','3','1','1','0','21','0','0','0','0','1','charcount532','1','0','0'),(@pk_616_6512,@dbtid_2,'privatekey','0','1','14','0','1','','6','0','0','0','255','1','privatekey211','1','0','0'),(@pk_616_6547,@dbtid_11,'elapsed','0','1','4','1','1','0','22','0','0','0','0','1','elapsed532','1','0','0'),(@pk_616_6550,@dbtid_13,'ordering','0','1','1','1','1','1','3','0','0','0','0','1','ordering676','1','0','0'),(@pk_616_6742,@dbtid_3,'numcat','0','0','2','1','1','0','15','0','0','0','0','1','numcat306','1','0','0'),(@pk_616_6744,@dbtid_3,'publishstart','0','0','4','1','1','0','16','0','0','0','0','1','startdate306','1','0','0'),(@pk_616_6745,@dbtid_3,'publishend','0','0','4','1','1','0','17','0','0','0','0','1','enddate306','1','0','0'),(@pk_616_6765,@dbtid_3,'bundle','0','0','2','1','1','0','18','0','0','0','0','1','bundle306','1','0','0'),(@pk_616_6766,@dbtid_3,'comment','0','0','25','0','1','1','19','0','0','0','0','1','comment306','1','0','0'),(@pk_616_6785,@dbtid_3,'numdiscount','0','0','2','1','1','0','20','0','0','0','0','1','numdiscount306','1','0','0'),(@pk_616_6818,@dbtid_6,'auto','0','0','1','0','1','2','99','0','0','0','0','0','auto410','1','0','0'),(@pk_616_6819,@dbtid_6,'fromlgid','0','0','1','1','1','0','99','0','0','0','0','0','fromlgid410','1','0','0'),(@pk_616_6850,@dbtid_8,'auto','0','0','1','0','1','2','6','0','0','0','0','0','auto533','1','0','0'),(@pk_616_6851,@dbtid_8,'fromlgid','0','0','1','1','1','0','5','0','0','0','0','0','fromlgid533','1','0','0'),(@pk_616_6852,@dbtid_9,'auto','0','0','1','0','1','2','5','0','0','0','0','0','auto535','1','0','0'),(@pk_616_6853,@dbtid_9,'fromlgid','0','0','1','1','1','0','4','0','0','0','0','0','fromlgid535','1','0','0'),(@pk_616_7091,@dbtid_3,'lsid','0','1','14','0','1','','22','0','0','0','255','1','lsid306','1','0','0'),(@pk_616_7092,@dbtid_4,'ltkid','0','1','4','1','1','0','20','0','0','0','0','1','ltkid405','1','0','0'),(@pk_616_7093,@dbtid_4,'tickets','0','1','2','1','1','0','21','0','0','0','0','1','tickets405','1','0','0'),(@pk_616_7116,@dbtid_11,'sticky','0','1','1','1','1','0','23','0','0','0','0','1','sticky532','1','0','0'),(@pk_616_7146,@dbtid_14,'publish','0','1','1','0','1','1','4','0','0','0','0','1','publish749','1','0','0'),(@pk_616_7147,@dbtid_14,'created','0','1','4','1','1','0','5','0','0','0','0','1','created749','1','1','0'),(@pk_616_7148,@dbtid_14,'modified','0','1','4','1','1','0','6','0','0','0','0','1','modified749','1','1','0'),(@pk_616_7151,@dbtid_18,'name','0','1','14','0','1','','3','0','0','0','250','1','name750','1','0','0'),(@pk_616_7152,@dbtid_18,'description','0','1','16','0','1','','4','0','0','0','0','1','description750','1','0','0'),(@pk_616_7153,@dbtid_14,'tktypeid','0','1','2','1','1','0','7','0','0','0','0','1','type749','1','0','0');
REPLACE INTO `#__dataset_columns` (`dbcid`,`dbtid`,`name`,`pkey`,`checkval`,`type`,`attributes`,`mandatory`,`default`,`ordering`,`level`,`rolid`,`extra`,`size`,`export`,`namekey`,`core`,`columntype`,`noaudit`) VALUES (@pk_616_7163,@dbtid_18,'auto','0','1','1','0','1','2','5','0','0','0','0','1','auto750','1','0','0'),(@pk_616_7164,@dbtid_18,'fromlgid','0','0','1','1','1','0','6','0','0','0','0','0','fromlgid750','1','0','0'),(@pk_616_7174,@dbtid_11,'lock','0','1','1','1','1','0','24','0','0','0','0','1','lock532','1','0','0'),(@pk_616_7176,@dbtid_14,'private','0','1','1','1','1','1','8','0','0','0','0','1','private749','1','0','0'),(@pk_616_7183,@dbtid_11,'score','0','1','4','1','1','0','25','0','0','0','0','1','rating532','1','0','0'),(@pk_616_7184,@dbtid_11,'votes','0','1','1','1','1','0','26','0','0','0','0','1','votes532','1','0','0'),(@pk_616_7214,@dbtid_12,'score','0','1','1','1','1','0','13','0','0','0','0','1','rated534','1','0','0'),(@pk_616_7224,@dbtid_15,'rate','0','1','4','1','1','0','3','0','0','0','0','1','rate758','1','0','0'),(@pk_616_7227,@dbtid_15,'modified','0','1','4','1','1','0','6','0','0','0','0','1','modified758','1','1','0'),(@pk_616_7230,@dbtid_11,'useful','0','1','4','1','1','0','28','0','0','0','0','1','useful532','1','0','0'),(@pk_616_7231,@dbtid_11,'usefulclick','0','1','4','1','1','0','29','0','0','0','0','1','usefulclick532','1','0','0'),(@pk_616_7232,@dbtid_11,'commenttype','0','1','2','1','1','0','30','0','0','0','0','1','commenttype532','1','0','0'),(@pk_616_7236,@dbtid_12,'comment','0','1','1','1','1','0','14','0','0','0','0','1','comment534','1','0','0'),(@pk_616_7237,@dbtid_11,'usefulrate','0','1','4','1','1','0','31','0','0','0','0','1','usefulrate532','1','0','0'),(@pk_616_7250,@dbtid_11,'ip','0','0','7','1','0','0','32','0','0','0','0','0','ip532','1','0','0'),(@pk_616_7252,@dbtid_12,'ip','0','0','7','1','0','0','15','0','0','0','0','0','ip534','1','0','0'),(@pk_616_7261,@dbtid_3,'uid','0','1','4','1','1','0','23','0','0','0','0','1','uid306','1','0','0'),(@pk_616_7273,@dbtid_16,'ip','0','1','4','1','1','NULL','3','0','0','0','10','1','ip761','1','0','0'),(@pk_616_7275,@dbtid_16,'created','0','1','4','1','1','0','5','0','0','0','0','1','created761','1','1','0'),(@pk_616_7276,@dbtid_16,'yesno','0','1','1','1','1','0','6','0','0','0','0','1','yesno761','1','0','0'),(@pk_616_7281,@dbtid_3,'nbreviews','0','1','4','0','1','0','24','0','0','0','0','1','nbreviews306','1','0','0'),(@pk_616_7282,@dbtid_3,'score','0','1','4','0','1','0','25','0','0','0','0','1','score306','1','0','0'),(@pk_616_7283,@dbtid_3,'votes','0','1','4','0','1','0','26','0','0','0','0','1','votes306','1','0','0'),(@pk_616_7284,@dbtid_11,'comment','0','1','1','1','1','1','33','0','0','0','0','1','comment532','1','0','0'),(@pk_616_7393,@dbtid_7,'notify','0','1','1','1','1','1','5','0','0','0','0','1','notify526','1','0','0'),(@pk_616_7394,@dbtid_4,'oncreation','0','1','1','1','1','1','22','0','0','0','0','1','oncreation405','1','0','0'),(@pk_616_7395,@dbtid_4,'onreplies','0','1','1','1','1','1','23','0','0','0','0','1','onreplies405','1','0','0'),(@pk_616_7396,@dbtid_4,'toassigned','0','1','1','1','1','1','24','0','0','0','0','1','toassigned405','1','0','0'),(@pk_616_7397,@dbtid_4,'sendcopy','0','1','1','1','1','0','25','0','0','0','0','1','sendcopy405','1','0','0'),(@pk_616_7405,@dbtid_3,'payment','0','1','1','1','1','0','27','0','0','0','0','1','payment306','1','0','0'),(@pk_616_7408,@dbtid_17,'title','0','1','14','0','1','','2','0','0','0','255','1','title356','1','0','0'),(@pk_616_7409,@dbtid_17,'created','0','1','10','0','1','0000-00-00 00:00:00','3','0','0','0','0','1','created356','1','1','0'),(@pk_616_7410,@dbtid_17,'state','0','1','1','0','1','0','4','0','0','0','3','1','state356','1','0','0'),(@pk_616_7462,@dbtid_2,'domain','0','0','1','1','1','31','7','0','0','0','0','1','domain211','1','0','0'),(@pk_616_7496,@dbtid_4,'group','0','1','1','1','1','5','26','0','0','0','0','1','group405','1','0','0'),(@pk_616_7613,@dbtid_3,'featured','0','1','1','1','1','0','31','0','0','0','0','1','featured306','1','0','0'),(@pk_616_7614,@dbtid_3,'hits','0','1','4','1','1','0','32','0','0','0','0','1','viewed306','1','0','0'),(@pk_616_7620,@dbtid_3,'nbsold','0','1','3','1','1','0','33','0','0','0','0','1','nbsold306','1','0','0'),(@pk_616_7701,@dbtid_3,'relnum','0','1','2','1','1','0','35','0','0','0','0','1','relnum306','1','0','0'),(@pk_616_7761,@dbtid_11,'followup','0','1','1','1','1','0','34','0','0','0','0','1','followup532','1','0','0'),(@pk_616_7772,@dbtid_11,'assignbyuid','0','1','4','1','1','0','35','0','0','0','0','1','assignbyuid532','1','0','0'),(@pk_616_7797,@dbtid_17,'modified','0','1','4','1','1','0000-00-00 00:00:00','7','0','0','0','0','1','modified356','1','1','0'),(@pk_616_7799,@dbtid_17,'publish_up','0','1','10','0','1','0000-00-00 00:00:00','8','0','0','0','0','1','published_up356','1','1','0'),(@pk_616_7800,@dbtid_17,'publish_down','0','1','10','0','1','0000-00-00 00:00:00','9','0','0','0','0','1','publish_down356','1','1','0'),(@pk_616_7801,@dbtid_17,'mask','0','1','4','0','1','0','10','0','0','0','11','1','mask356','1','0','0'),(@pk_616_7802,@dbtid_17,'created_by','0','1','4','0','1','0','11','0','0','0','11','1','created_by356','1','0','0'),(@pk_616_7803,@dbtid_17,'created_by_alias','0','1','14','0','1','0','12','0','0','0','255','1','created_by_alias356','1','0','0'),(@pk_616_7804,@dbtid_17,'modified_by','0','1','4','0','1','0','13','0','0','0','11','1','modified_by356','1','0','0'),(@pk_616_7805,@dbtid_17,'checked_out','0','1','4','0','1','0','14','0','0','0','11','1','checked_out356','1','0','0'),(@pk_616_7806,@dbtid_17,'checked_out_time','0','1','10','0','1','0000-00-00 00:00:00','15','0','0','0','0','1','checked_out_time356','1','1','0'),(@pk_616_7807,@dbtid_17,'images','0','1','16','0','1','','16','0','0','0','0','1','images356','1','0','0');
REPLACE INTO `#__dataset_columns` (`dbcid`,`dbtid`,`name`,`pkey`,`checkval`,`type`,`attributes`,`mandatory`,`default`,`ordering`,`level`,`rolid`,`extra`,`size`,`export`,`namekey`,`core`,`columntype`,`noaudit`) VALUES (@pk_616_7808,@dbtid_17,'urls','0','1','16','0','1','','17','0','0','0','0','1','urls356','1','0','0'),(@pk_616_7809,@dbtid_17,'attribs','0','1','16','0','1','','18','0','0','0','0','1','attribs356','1','0','0'),(@pk_616_7810,@dbtid_17,'version','0','1','4','1','1','1','19','0','0','0','11','1','version356','1','0','0'),(@pk_616_7811,@dbtid_17,'parentid','0','1','4','1','1','0','20','0','0','0','11','1','parentid356','1','0','0'),(@pk_616_7812,@dbtid_17,'ordering','0','1','4','1','1','0','21','0','0','0','11','1','ordering356','1','0','0'),(@pk_616_7813,@dbtid_17,'metakey','0','1','16','0','1','','22','0','0','0','0','1','metakey356','1','0','0'),(@pk_616_7814,@dbtid_17,'metadesc','0','1','16','0','1','','23','0','0','0','0','1','metadesc356','1','0','0'),(@pk_616_7815,@dbtid_17,'access','0','1','4','1','1','0','24','0','0','0','11','1','access356','1','0','0'),(@pk_616_7816,@dbtid_17,'metadata','0','1','16','0','1','','25','0','0','0','0','1','metadata356','1','0','0'),(@pk_616_7817,@dbtid_17,'hits','0','1','4','1','1','0','26','0','0','0','11','1','hits356','1','0','0'),(@pk_616_7853,@dbtid_2,'password','0','1','14','0','1','0','9','0','0','0','255','1','password211','1','0','0'),(@pk_616_8014,@dbtid_11,'publish','0','1','1','1','1','1','36','0','0','0','0','1','publish532','1','0','0'),(@pk_616_8022,@dbtid_11,'read','0','1','1','1','1','0','37','0','0','0','0','1','read532','1','0','0'),(@pk_616_8078,@dbtid_4,'email','0','1','14','0','1','','27','0','0','0','100','1','email405','1','0','0'),(@pk_616_8381,@dbtid_21,'md5','0','1','14','0','1','','19','0','0','0','40','1','md5478','1','0','0'),(@pk_616_8459,@dbtid_3,'electronic','0','1','1','1','1','1','36','0','0','0','0','1','electronic306','1','0','0'),(@pk_616_8461,@dbtid_3,'alias','0','1','14','0','1','','37','0','0','0','255','1','alias306','1','0','0'),(@pk_616_8462,@dbtid_3,'availableend','0','1','14','0','1','','38','0','0','0','255','1','availableend306','1','0','0'),(@pk_616_8503,@dbtid_3,'cssclass','0','1','14','0','1','','40','0','0','0','100','1','cssclass306','1','0','0'),(@pk_616_8548,@dbtid_3,'params','0','1','16','0','1','','41','0','0','0','0','1','params306','1','0','0'),(@pk_616_8584,@dbtid_3,'blocked','0','1','1','1','1','0','42','0','0','0','0','1','block306','1','0','0'),(@pk_616_8596,@dbtid_3,'resell','0','1','1','1','1','0','43','0','0','0','0','1','resell306','1','0','0'),(@pk_616_8763,@dbtid_3,'target','0','1','4','1','1','0','44','0','0','0','0','1','target306','1','0','0'),(@pk_616_8764,@dbtid_3,'targettotal','0','1','4','1','1','0','45','0','0','0','0','1','targettotal306','1','0','0'),(@pk_616_8800,@dbtid_5,'used','0','0','1','1','1','1','4','0','0','0','0','1','used338','1','0','0'),(@pk_616_8818,@dbtid_5,'premium','0','0','25','0','1','0','5','0','0','0','0','1','premium338','1','0','0'),(@pk_616_8868,@dbtid_21,'alias','0','1','14','0','1','','3','0','0','0','255','1','alias478','1','0','0'),(@pk_616_8892,@dbtid_3,'rolid_buy','0','1','4','1','1','0','47','0','0','0','0','1','rolid_buy306','1','0','0'),(@pk_616_8904,@dbtid_21,'vendid','0','1','4','1','1','1','20','0','0','0','0','1','vendid478','1','0','0'),(@pk_616_8913,@dbtid_3,'discountrate','0','1','7','1','1','0.00','48','0','0','0','5','1','discountrate306','1','0','0'),(@pk_616_8914,@dbtid_3,'discountvalue','0','1','8','1','1','0.0000','49','0','0','0','15','1','discountprice306','1','0','0'),(@pk_616_8965,@dbtid_21,'core','0','1','25','0','1','0','21','0','0','0','0','1','core478','1','0','0'),(@pk_616_8987,@dbtid_21,'storage','0','1','1','1','1','0','22','0','0','0','0','1','storage478','1','0','0'),(@pk_616_8994,@dbtid_21,'folder','0','1','14','0','1','','23','0','0','0','254','1','folder478','1','0','0'),(@pk_616_8995,@dbtid_1,'ip','0','0','7','1','0','0','22','0','0','0','0','1','ip232','1','0','0'),(@pk_616_9049,@dbtid_2,'description','0','1','16','0','1','','10','0','0','0','0','1','description211','1','0','0'),(@pk_616_9356,@dbtid_19,'alias','0','1','14','0','1','','2','0','0','0','150','1','alias1010','1','0','0'),(@pk_616_9357,@dbtid_19,'type','0','0','1','1','1','0','4','0','0','0','0','1','type1010','1','0','0'),(@pk_616_9360,@dbtid_19,'modifiedby','0','0','4','1','1','0','7','0','0','0','0','1','modifiedby1010','1','0','0'),(@pk_616_9361,@dbtid_19,'core','0','1','25','0','1','0','10','0','0','0','0','1','core1010','1','0','0'),(@pk_616_9362,@dbtid_19,'publish','0','1','1','0','1','0','11','0','0','0','0','1','publish1010','1','0','0'),(@pk_616_9363,@dbtid_19,'created','0','1','4','1','1','0','6','0','0','0','0','1','created1010','1','1','0'),(@pk_616_9364,@dbtid_19,'modified','0','1','4','1','1','0','5','0','0','0','0','1','modified1010','1','1','0'),(@pk_616_9373,@dbtid_20,'auto','0','1','1','1','1','2','3','0','0','0','0','1','auto1012','1','0','0'),(@pk_616_9374,@dbtid_20,'fromlgid','0','1','1','1','1','0','4','0','0','0','0','1','fromlgid1012','1','0','0'),(@pk_616_9375,@dbtid_20,'name','0','1','14','0','1','','5','0','0','0','255','1','name1012','1','0','0'),(@pk_616_9376,@dbtid_20,'description','0','1','16','0','1','','6','0','0','0','0','1','description1012','1','0','0'),(@pk_616_9377,@dbtid_19,'params','0','1','16','0','1','','13','0','0','0','0','1','params1010','1','0','0'),(@pk_616_9378,@dbtid_19,'ordering','0','1','2','1','1','9','12','0','0','0','0','1','ordering1010','1','0','0'),(@pk_616_9438,@dbtid_3,'migid','0','1','2','1','1','1','50','0','0','0','0','1','migid306','1','0','0'),(@pk_616_9439,@dbtid_3,'migrefid','0','1','4','1','1','0','51','0','0','0','0','1','migrefid306','1','0','0');
REPLACE INTO `#__dataset_columns` (`dbcid`,`dbtid`,`name`,`pkey`,`checkval`,`type`,`attributes`,`mandatory`,`default`,`ordering`,`level`,`rolid`,`extra`,`size`,`export`,`namekey`,`core`,`columntype`,`noaudit`) VALUES (@pk_616_9440,@dbtid_3,'location','0','1','14','0','1','','52','0','0','0','254','1','location306','1','0','0'),(@pk_616_10037,@dbtid_3,'featuredate','0','1','4','1','1','0','55','0','0','0','0','1','featuredate306','1','0','0'),(@pk_616_10098,@dbtid_11,'latereply','0','1','1','1','1','0','38','0','0','0','0','1','latereply532','1','0','0'),(@pk_616_10110,@dbtid_2,'alias','0','1','14','0','1','','11','0','0','0','200','1','alias211','1','0','0'),(@pk_616_10123,@dbtid_1,'mobile','0','1','14','0','1','','24','0','0','0','20','0','mobile232','1','0','0'),(@pk_616_10431,@dbtid_3,'length','0','1','4','1','1','0','56','0','0','0','0','1','length306','1','0','0'),(@pk_616_10432,@dbtid_3,'width','0','1','4','1','1','0','57','0','0','0','0','1','width306','1','0','0'),(@pk_616_10433,@dbtid_3,'height','0','1','4','1','1','0','58','0','0','0','0','1','height306','1','0','0'),(@pk_616_10905,@dbtid_3,'site_id','0','1','14','0','1','','59','0','0','0','255','1','site_id306','1','0','0'),(@pk_616_6039,( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='model.trans' LIMIT 1),'name','0','0','14','0','1','','3','1',@rolid_0,'0','0','1','618name','1','0','0'),(@pk_616_3412,( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='layout.multiformstrans' LIMIT 1),'name','0','0','14','0','1','','3','1',@rolid_0,'0','255','1','482name','1','0','0'),(@pk_616_3413,( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='layout.multiformstrans' LIMIT 1),'description','0','0','16','0','1','','4','1',@rolid_0,'0','0','1','482description','1','0','0'),(@pk_616_3419,( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='layout.mlinkstrans' LIMIT 1),'name','0','0','14','0','1','','3','1',@rolid_0,'0','255','1','485name','1','0','0'),(@pk_616_6797,( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='layout.mlinkstrans' LIMIT 1),'description','0','1','16','0','1','','4','0','0','0','0','1','description485','1','0','0'),(@pk_616_10823,( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='layout.mlinkstrans' LIMIT 1),'message','0','1','16','0','1','','5','0','0','0','0','1','message485','1','0','0'),(@pk_616_3416,( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='layout.listingstrans' LIMIT 1),'name','0','0','14','0','1','','3','1',@rolid_0,'0','255','1','484name','1','0','0'),(@pk_616_3507,( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='layout.listingstrans' LIMIT 1),'description','0','0','16','0','1','','99','1',@rolid_0,'0','0','1','484description','1','0','0'),(@pk_616_3408,( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='layout.trans' LIMIT 1),'name','0','0','14','0','1','','3','1',@rolid_0,'0','255','1','481name','1','0','0'),(@pk_616_5579,( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='layout.trans' LIMIT 1),'wname','0','0','14','0','1','','5','1',@rolid_0,'0','255','1','481wname','1','0','0'),(@pk_616_5580,( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='layout.trans' LIMIT 1),'wdescription','0','0','16','0','1','','6','1',@rolid_0,'0','0','1','481wdescription','1','0','0'),(@pk_616_6794,( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='eguillage.trans' LIMIT 1),'name','0','1','14','0','1','','3','0','0','0','255','1','name714','1','0','0'),(@pk_616_6795,( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='eguillage.trans' LIMIT 1),'description','0','1','16','0','1','','4','0','0','0','0','1','description714','1','0','0'),(@pk_616_2217,@dbtid_24,'name','0','0','14','0','1','','5','1',@rolid_0,'0','255','1','382name','1','0','0'),(@pk_616_2218,@dbtid_24,'ctext','0','0','19','0','1','','8','1',@rolid_0,'0','0','1','382ctext','1','0','0'),(@pk_616_2219,@dbtid_24,'chtml','0','0','19','0','1','','7','1',@rolid_0,'0','0','1','382chtml','1','0','0'),(@pk_616_8616,@dbtid_24,'bouncemail','0','1','14','0','1','','11','0','0','0','100','1','bouncemail382','1','0','0'),(@pk_616_8617,@dbtid_24,'authorid','0','1','4','1','1','0','14','0','0','0','0','1','authorid382','1','0','0'),(@pk_616_8618,@dbtid_24,'modified','0','1','4','1','1','0','15','0','0','0','0','1','modified382','1','1','0'),(@pk_616_8678,@dbtid_24,'intro','0','1','16','0','1','','6','0','0','0','0','1','intro382','1','0','0'),(@pk_616_10120,@dbtid_24,'smsmessage','0','1','16','0','1','','16','0','0','0','0','1','smsmessage382','1','0','0'),(@pk_616_10801,@dbtid_24,'title','0','1','14','0','1','','17','0','0','0','255','1','title382','1','0','0'),(@pk_616_10802,@dbtid_24,'subtitle','0','1','14','0','1','','18','0','0','0','255','1','subtitle382','1','0','0');
SET @pk_5_259 = ( SELECT `wid` FROM `#__extension_node`  WHERE `namekey`='ticket.node' LIMIT 1 );
UPDATE `#__extension_node`  SET `publish`='1',`folder`='ticket',`wid`=@pk_5_259,`params`='',`status`='1',`type`='150',`name`='Ticket',`destination`='node',`parent`='0',`trans`='1',`certify`='0',`namekey`='ticket.node',`version`='3791',`lversion`='3791',`pref`='1',`install`='',`core`='1',`showconfig`='1',`framework`='0' WHERE  `namekey`='ticket.node';
INSERT IGNORE INTO `#__extension_node` (`publish`,`folder`,`wid`,`params`,`status`,`type`,`name`,`destination`,`parent`,`trans`,`certify`,`namekey`,`version`,`lversion`,`pref`,`install`,`core`,`showconfig`,`framework`) VALUES ('1','ticket',@pk_5_259,'','1','150','Ticket','node','0','1','0','ticket.node','3791','3791','1','','1','1','0');

SET @pk_621_536 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.projecttrans' LIMIT 1 );
SET @pk_621_1015 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='users' LIMIT 1 );
SET @pk_621_90 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='files' LIMIT 1 );
SET @pk_621_211 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='site' LIMIT 1 );
SET @pk_621_306 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='product' LIMIT 1 );
SET @pk_621_338 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='product.categoryproduct' LIMIT 1 );
SET @pk_621_356 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='joomla.content' LIMIT 1 );
SET @pk_621_531 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.project' LIMIT 1 );
SET @pk_621_532 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket' LIMIT 1 );
SET @pk_621_533 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='tickettrans' LIMIT 1 );
SET @pk_621_534 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.reply' LIMIT 1 );
SET @pk_621_535 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.replytrans' LIMIT 1 );
SET @pk_621_557 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.projectmembers' LIMIT 1 );
SET @pk_621_582 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.files' LIMIT 1 );
SET @pk_621_660 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.user' LIMIT 1 );
SET @pk_621_670 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.replyfiles' LIMIT 1 );
SET @pk_621_791 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.template' LIMIT 1 );
SET @pk_621_796 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.templatetrans' LIMIT 1 );
SET @pk_621_805 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.rating' LIMIT 1 );
SET @pk_621_809 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.clickyesno' LIMIT 1 );
SET @pk_621_1178 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.type' LIMIT 1 );
SET @pk_621_1179 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.typetrans' LIMIT 1 );
SET @pk_621_5 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='extension' LIMIT 1 );
SET @pk_621_566 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='role' LIMIT 1 );
SET @pk_621_410 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='projecttrans' LIMIT 1 );
SET @pk_621_405 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='project' LIMIT 1 );
SET @pk_621_526 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='project.members' LIMIT 1 );
SET @pk_621_199 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='library.languages' LIMIT 1 );
UPDATE `#__model_node`  SET `sid`=@pk_621_536,`dbtid`=@dbtid_6,`path`='0',`namekey`='ticket.projecttrans',`folder`='ticket.projecttrans',`rolid`=@rolid_0,`level`='0',`publish`='1',`extended`='0',`checkval`='0',`params`='\nmainmodel=ticket.project',`alias`='',`prefix`='ticket',`fields`='0',`trash`='0',`core`='1',`faicon`='',`pnamekey`='' WHERE  `namekey`='ticket.projecttrans';
INSERT IGNORE INTO `#__model_node` (`sid`,`dbtid`,`path`,`namekey`,`folder`,`rolid`,`level`,`publish`,`extended`,`checkval`,`params`,`alias`,`prefix`,`fields`,`trash`,`core`,`faicon`,`pnamekey`) VALUES (@pk_621_536,@dbtid_6,'0','ticket.projecttrans','ticket.projecttrans',@rolid_0,'0','1','0','0','\nmainmodel=ticket.project','','ticket','0','0','1','','');
UPDATE `#__model_node`  SET `sid`=@pk_621_1015,`dbtid`=@dbtid_1,`path`='1',`namekey`='users',`folder`='users',`rolid`=@rolid_0,`level`='0',`publish`='1',`extended`='0',`checkval`='0',`params`='autofld=1',`alias`='',`prefix`='users',`fields`='0',`trash`='0',`core`='1',`faicon`='fa-users',`pnamekey`='' WHERE  `namekey`='users';
INSERT IGNORE INTO `#__model_node` (`sid`,`dbtid`,`path`,`namekey`,`folder`,`rolid`,`level`,`publish`,`extended`,`checkval`,`params`,`alias`,`prefix`,`fields`,`trash`,`core`,`faicon`,`pnamekey`) VALUES (@pk_621_1015,@dbtid_1,'1','users','users',@rolid_0,'0','1','0','0','autofld=1','','users','0','0','1','fa-users','');
UPDATE `#__model_node`  SET `sid`=@pk_621_90,`dbtid`=@dbtid_21,`path`='1',`namekey`='files',`folder`='files',`rolid`=@rolid_0,`level`='0',`publish`='1',`extended`='0',`checkval`='0',`params`='autofld=1',`alias`='',`prefix`='joobi',`fields`='0',`trash`='0',`core`='1',`faicon`='',`pnamekey`='' WHERE  `namekey`='files';
INSERT IGNORE INTO `#__model_node` (`sid`,`dbtid`,`path`,`namekey`,`folder`,`rolid`,`level`,`publish`,`extended`,`checkval`,`params`,`alias`,`prefix`,`fields`,`trash`,`core`,`faicon`,`pnamekey`) VALUES (@pk_621_90,@dbtid_21,'1','files','files',@rolid_0,'0','1','0','0','autofld=1','','joobi','0','0','1','','');
UPDATE `#__model_node`  SET `sid`=@pk_621_211,`dbtid`=@dbtid_2,`path`='0',`namekey`='site',`folder`='site',`rolid`=@rolid_0,`level`='0',`publish`='1',`extended`='0',`checkval`='0',`params`='grpmap=url\nnamepar=url\nautofld=1',`alias`='',`prefix`='site',`fields`='0',`trash`='0',`core`='1',`faicon`='',`pnamekey`='' WHERE  `namekey`='site';
INSERT IGNORE INTO `#__model_node` (`sid`,`dbtid`,`path`,`namekey`,`folder`,`rolid`,`level`,`publish`,`extended`,`checkval`,`params`,`alias`,`prefix`,`fields`,`trash`,`core`,`faicon`,`pnamekey`) VALUES (@pk_621_211,@dbtid_2,'0','site','site',@rolid_0,'0','1','0','0','grpmap=url\nnamepar=url\nautofld=1','','site','0','0','1','','');
UPDATE `#__model_node`  SET `sid`=@pk_621_306,`dbtid`=@dbtid_3,`path`='1',`namekey`='product',`folder`='product',`rolid`=@rolid_0,`level`='0',`publish`='1',`extended`='0',`checkval`='0',`params`='ordrg=1\ngrpmap=catid\ngrptable=product.categoryproduct\ncachedata=1\nautofld=1\ncategorymodel=product.category',`alias`='',`prefix`='product',`fields`='1',`trash`='0',`core`='1',`faicon`='fa-laptop',`pnamekey`='' WHERE  `namekey`='product';
INSERT IGNORE INTO `#__model_node` (`sid`,`dbtid`,`path`,`namekey`,`folder`,`rolid`,`level`,`publish`,`extended`,`checkval`,`params`,`alias`,`prefix`,`fields`,`trash`,`core`,`faicon`,`pnamekey`) VALUES (@pk_621_306,@dbtid_3,'1','product','product',@rolid_0,'0','1','0','0','ordrg=1\ngrpmap=catid\ngrptable=product.categoryproduct\ncachedata=1\nautofld=1\ncategorymodel=product.category','','product','1','0','1','fa-laptop','');
UPDATE `#__model_node`  SET `sid`=@pk_621_338,`dbtid`=@dbtid_5,`path`='0',`namekey`='product.categoryproduct',`folder`='product.categoryproduct',`rolid`=@rolid_0,`level`='0',`publish`='1',`extended`='0',`checkval`='0',`params`='ordrg=1\ngrpmap=catid\nautofld=1',`alias`='',`prefix`='productcat',`fields`='0',`trash`='0',`core`='1',`faicon`='fa-folder-open',`pnamekey`='' WHERE  `namekey`='product.categoryproduct';
INSERT IGNORE INTO `#__model_node` (`sid`,`dbtid`,`path`,`namekey`,`folder`,`rolid`,`level`,`publish`,`extended`,`checkval`,`params`,`alias`,`prefix`,`fields`,`trash`,`core`,`faicon`,`pnamekey`) VALUES (@pk_621_338,@dbtid_5,'0','product.categoryproduct','product.categoryproduct',@rolid_0,'0','1','0','0','ordrg=1\ngrpmap=catid\nautofld=1','','productcat','0','0','1','fa-folder-open','');
UPDATE `#__model_node`  SET `sid`=@pk_621_356,`dbtid`=@dbtid_17,`path`='0',`namekey`='joomla.content',`folder`='content',`rolid`=@rolid_0,`level`='0',`publish`='1',`extended`='0',`checkval`='0',`params`='',`alias`='',`prefix`='content',`fields`='0',`trash`='0',`core`='1',`faicon`='',`pnamekey`='' WHERE  `namekey`='joomla.content';
INSERT IGNORE INTO `#__model_node` (`sid`,`dbtid`,`path`,`namekey`,`folder`,`rolid`,`level`,`publish`,`extended`,`checkval`,`params`,`alias`,`prefix`,`fields`,`trash`,`core`,`faicon`,`pnamekey`) VALUES (@pk_621_356,@dbtid_17,'0','joomla.content','content',@rolid_0,'0','1','0','0','','','content','0','0','1','','');
UPDATE `#__model_node`  SET `sid`=@pk_621_531,`dbtid`=@dbtid_4,`path`='1',`namekey`='ticket.project',`folder`='ticket.project',`rolid`=@rolid_0,`level`='0',`publish`='1',`extended`='0',`checkval`='0',`params`='ordrg=1\ngrpmap=parent\nprtname=ticket.projecttrans\ncachedata=1\nautofld=1',`alias`='',`prefix`='ticket',`fields`='1',`trash`='0',`core`='1',`faicon`='',`pnamekey`='' WHERE  `namekey`='ticket.project';
INSERT IGNORE INTO `#__model_node` (`sid`,`dbtid`,`path`,`namekey`,`folder`,`rolid`,`level`,`publish`,`extended`,`checkval`,`params`,`alias`,`prefix`,`fields`,`trash`,`core`,`faicon`,`pnamekey`) VALUES (@pk_621_531,@dbtid_4,'1','ticket.project','ticket.project',@rolid_0,'0','1','0','0','ordrg=1\ngrpmap=parent\nprtname=ticket.projecttrans\ncachedata=1\nautofld=1','','ticket','1','0','1','','');
UPDATE `#__model_node`  SET `sid`=@pk_621_532,`dbtid`=@dbtid_11,`path`='1',`namekey`='ticket',`folder`='ticket',`rolid`=@rolid_0,`level`='0',`publish`='1',`extended`='0',`checkval`='0',`params`='ordrg=1\nautofld=1',`alias`='',`prefix`='ticket',`fields`='1',`trash`='0',`core`='1',`faicon`='fa-ticket',`pnamekey`='' WHERE  `namekey`='ticket';
INSERT IGNORE INTO `#__model_node` (`sid`,`dbtid`,`path`,`namekey`,`folder`,`rolid`,`level`,`publish`,`extended`,`checkval`,`params`,`alias`,`prefix`,`fields`,`trash`,`core`,`faicon`,`pnamekey`) VALUES (@pk_621_532,@dbtid_11,'1','ticket','ticket',@rolid_0,'0','1','0','0','ordrg=1\nautofld=1','','ticket','1','0','1','fa-ticket','');
UPDATE `#__model_node`  SET `sid`=@pk_621_533,`dbtid`=@dbtid_8,`path`='1',`namekey`='tickettrans',`folder`='tickettrans',`rolid`=@rolid_0,`level`='0',`publish`='1',`extended`='0',`checkval`='0',`params`='\nmainmodel=ticket',`alias`='',`prefix`='ticket',`fields`='0',`trash`='0',`core`='1',`faicon`='fa-ticket',`pnamekey`='' WHERE  `namekey`='tickettrans';
INSERT IGNORE INTO `#__model_node` (`sid`,`dbtid`,`path`,`namekey`,`folder`,`rolid`,`level`,`publish`,`extended`,`checkval`,`params`,`alias`,`prefix`,`fields`,`trash`,`core`,`faicon`,`pnamekey`) VALUES (@pk_621_533,@dbtid_8,'1','tickettrans','tickettrans',@rolid_0,'0','1','0','0','\nmainmodel=ticket','','ticket','0','0','1','fa-ticket','');
UPDATE `#__model_node`  SET `sid`=@pk_621_534,`dbtid`=@dbtid_12,`path`='1',`namekey`='ticket.reply',`folder`='ticket.reply',`rolid`=@rolid_0,`level`='0',`publish`='1',`extended`='0',`checkval`='0',`params`='autofld=1',`alias`='',`prefix`='ticket',`fields`='0',`trash`='0',`core`='1',`faicon`='',`pnamekey`='' WHERE  `namekey`='ticket.reply';
INSERT IGNORE INTO `#__model_node` (`sid`,`dbtid`,`path`,`namekey`,`folder`,`rolid`,`level`,`publish`,`extended`,`checkval`,`params`,`alias`,`prefix`,`fields`,`trash`,`core`,`faicon`,`pnamekey`) VALUES (@pk_621_534,@dbtid_12,'1','ticket.reply','ticket.reply',@rolid_0,'0','1','0','0','autofld=1','','ticket','0','0','1','','');
UPDATE `#__model_node`  SET `sid`=@pk_621_535,`dbtid`=@dbtid_9,`path`='0',`namekey`='ticket.replytrans',`folder`='ticket.replytrans',`rolid`=@rolid_0,`level`='0',`publish`='1',`extended`='0',`checkval`='0',`params`='\nmainmodel=ticket.reply',`alias`='',`prefix`='ticket',`fields`='0',`trash`='0',`core`='1',`faicon`='',`pnamekey`='' WHERE  `namekey`='ticket.replytrans';
INSERT IGNORE INTO `#__model_node` (`sid`,`dbtid`,`path`,`namekey`,`folder`,`rolid`,`level`,`publish`,`extended`,`checkval`,`params`,`alias`,`prefix`,`fields`,`trash`,`core`,`faicon`,`pnamekey`) VALUES (@pk_621_535,@dbtid_9,'0','ticket.replytrans','ticket.replytrans',@rolid_0,'0','1','0','0','\nmainmodel=ticket.reply','','ticket','0','0','1','','');
UPDATE `#__model_node`  SET `sid`=@pk_621_557,`dbtid`=@dbtid_7,`path`='0',`namekey`='ticket.projectmembers',`folder`='ticket.projectmembers',`rolid`=@rolid_0,`level`='0',`publish`='1',`extended`='0',`checkval`='0',`params`='autofld=1',`alias`='',`prefix`='ticket',`fields`='0',`trash`='0',`core`='1',`faicon`='',`pnamekey`='' WHERE  `namekey`='ticket.projectmembers';
INSERT IGNORE INTO `#__model_node` (`sid`,`dbtid`,`path`,`namekey`,`folder`,`rolid`,`level`,`publish`,`extended`,`checkval`,`params`,`alias`,`prefix`,`fields`,`trash`,`core`,`faicon`,`pnamekey`) VALUES (@pk_621_557,@dbtid_7,'0','ticket.projectmembers','ticket.projectmembers',@rolid_0,'0','1','0','0','autofld=1','','ticket','0','0','1','','');
UPDATE `#__model_node`  SET `sid`=@pk_621_582,`dbtid`=@dbtid_10,`path`='1',`namekey`='ticket.files',`folder`='ticket.files',`rolid`=@rolid_0,`level`='0',`publish`='1',`extended`='0',`checkval`='0',`params`='ordrg=1',`alias`='',`prefix`='ticket',`fields`='0',`trash`='0',`core`='1',`faicon`='',`pnamekey`='' WHERE  `namekey`='ticket.files';
INSERT IGNORE INTO `#__model_node` (`sid`,`dbtid`,`path`,`namekey`,`folder`,`rolid`,`level`,`publish`,`extended`,`checkval`,`params`,`alias`,`prefix`,`fields`,`trash`,`core`,`faicon`,`pnamekey`) VALUES (@pk_621_582,@dbtid_10,'1','ticket.files','ticket.files',@rolid_0,'0','1','0','0','ordrg=1','','ticket','0','0','1','','');
UPDATE `#__model_node`  SET `sid`=@pk_621_660,`dbtid`=@dbtid_1,`path`='1',`namekey`='ticket.user',`folder`='ticket.user',`rolid`=@rolid_0,`level`='0',`publish`='1',`extended`='0',`checkval`='0',`params`='',`alias`='',`prefix`='ticket',`fields`='0',`trash`='0',`core`='1',`faicon`='',`pnamekey`='' WHERE  `namekey`='ticket.user';
INSERT IGNORE INTO `#__model_node` (`sid`,`dbtid`,`path`,`namekey`,`folder`,`rolid`,`level`,`publish`,`extended`,`checkval`,`params`,`alias`,`prefix`,`fields`,`trash`,`core`,`faicon`,`pnamekey`) VALUES (@pk_621_660,@dbtid_1,'1','ticket.user','ticket.user',@rolid_0,'0','1','0','0','','','ticket','0','0','1','','');
UPDATE `#__model_node`  SET `sid`=@pk_621_670,`dbtid`=@dbtid_13,`path`='1',`namekey`='ticket.replyfiles',`folder`='ticket.replyfiles',`rolid`=@rolid_0,`level`='0',`publish`='1',`extended`='0',`checkval`='0',`params`='ordrg=1',`alias`='',`prefix`='ticket',`fields`='0',`trash`='0',`core`='1',`faicon`='fa-download',`pnamekey`='' WHERE  `namekey`='ticket.replyfiles';
INSERT IGNORE INTO `#__model_node` (`sid`,`dbtid`,`path`,`namekey`,`folder`,`rolid`,`level`,`publish`,`extended`,`checkval`,`params`,`alias`,`prefix`,`fields`,`trash`,`core`,`faicon`,`pnamekey`) VALUES (@pk_621_670,@dbtid_13,'1','ticket.replyfiles','ticket.replyfiles',@rolid_0,'0','1','0','0','ordrg=1','','ticket','0','0','1','fa-download','');
UPDATE `#__model_node`  SET `sid`=@pk_621_791,`dbtid`=@dbtid_14,`path`='1',`namekey`='ticket.template',`folder`='ticket.template',`rolid`=@rolid_0,`level`='0',`publish`='1',`extended`='0',`checkval`='0',`params`='autofld=1',`alias`='',`prefix`='ticket',`fields`='0',`trash`='0',`core`='1',`faicon`='',`pnamekey`='' WHERE  `namekey`='ticket.template';
INSERT IGNORE INTO `#__model_node` (`sid`,`dbtid`,`path`,`namekey`,`folder`,`rolid`,`level`,`publish`,`extended`,`checkval`,`params`,`alias`,`prefix`,`fields`,`trash`,`core`,`faicon`,`pnamekey`) VALUES (@pk_621_791,@dbtid_14,'1','ticket.template','ticket.template',@rolid_0,'0','1','0','0','autofld=1','','ticket','0','0','1','','');
UPDATE `#__model_node`  SET `sid`=@pk_621_796,`dbtid`=@dbtid_18,`path`='0',`namekey`='ticket.templatetrans',`folder`='ticket.templatetrans',`rolid`=@rolid_0,`level`='0',`publish`='1',`extended`='0',`checkval`='0',`params`='autofld=1\nmainmodel=ticket.template',`alias`='',`prefix`='ticket',`fields`='0',`trash`='0',`core`='1',`faicon`='',`pnamekey`='' WHERE  `namekey`='ticket.templatetrans';
INSERT IGNORE INTO `#__model_node` (`sid`,`dbtid`,`path`,`namekey`,`folder`,`rolid`,`level`,`publish`,`extended`,`checkval`,`params`,`alias`,`prefix`,`fields`,`trash`,`core`,`faicon`,`pnamekey`) VALUES (@pk_621_796,@dbtid_18,'0','ticket.templatetrans','ticket.templatetrans',@rolid_0,'0','1','0','0','autofld=1\nmainmodel=ticket.template','','ticket','0','0','1','','');
UPDATE `#__model_node`  SET `sid`=@pk_621_805,`dbtid`=@dbtid_15,`path`='0',`namekey`='ticket.rating',`folder`='ticket.rating',`rolid`=@rolid_0,`level`='0',`publish`='1',`extended`='0',`checkval`='0',`params`='autofld=1',`alias`='',`prefix`='ticket',`fields`='0',`trash`='0',`core`='1',`faicon`='',`pnamekey`='' WHERE  `namekey`='ticket.rating';
INSERT IGNORE INTO `#__model_node` (`sid`,`dbtid`,`path`,`namekey`,`folder`,`rolid`,`level`,`publish`,`extended`,`checkval`,`params`,`alias`,`prefix`,`fields`,`trash`,`core`,`faicon`,`pnamekey`) VALUES (@pk_621_805,@dbtid_15,'0','ticket.rating','ticket.rating',@rolid_0,'0','1','0','0','autofld=1','','ticket','0','0','1','','');
UPDATE `#__model_node`  SET `sid`=@pk_621_809,`dbtid`=@dbtid_16,`path`='0',`namekey`='ticket.clickyesno',`folder`='ticket.clickyesno',`rolid`=@rolid_0,`level`='0',`publish`='1',`extended`='0',`checkval`='0',`params`='autofld=1',`alias`='',`prefix`='ticket',`fields`='0',`trash`='0',`core`='1',`faicon`='',`pnamekey`='' WHERE  `namekey`='ticket.clickyesno';
INSERT IGNORE INTO `#__model_node` (`sid`,`dbtid`,`path`,`namekey`,`folder`,`rolid`,`level`,`publish`,`extended`,`checkval`,`params`,`alias`,`prefix`,`fields`,`trash`,`core`,`faicon`,`pnamekey`) VALUES (@pk_621_809,@dbtid_16,'0','ticket.clickyesno','ticket.clickyesno',@rolid_0,'0','1','0','0','autofld=1','','ticket','0','0','1','','');
UPDATE `#__model_node`  SET `sid`=@pk_621_1178,`dbtid`=@dbtid_19,`path`='0',`namekey`='ticket.type',`folder`='ticket.type',`rolid`=@rolid_0,`level`='0',`publish`='1',`extended`='0',`checkval`='0',`params`='ordrg=1\ngrpmap=type\nvalidtoggle=1\nveriunic=1\nautofld=1',`alias`='',`prefix`='ticket',`fields`='0',`trash`='0',`core`='1',`faicon`='fa-arrows-alt',`pnamekey`='' WHERE  `namekey`='ticket.type';
INSERT IGNORE INTO `#__model_node` (`sid`,`dbtid`,`path`,`namekey`,`folder`,`rolid`,`level`,`publish`,`extended`,`checkval`,`params`,`alias`,`prefix`,`fields`,`trash`,`core`,`faicon`,`pnamekey`) VALUES (@pk_621_1178,@dbtid_19,'0','ticket.type','ticket.type',@rolid_0,'0','1','0','0','ordrg=1\ngrpmap=type\nvalidtoggle=1\nveriunic=1\nautofld=1','','ticket','0','0','1','fa-arrows-alt','');
UPDATE `#__model_node`  SET `sid`=@pk_621_1179,`dbtid`=@dbtid_20,`path`='0',`namekey`='ticket.typetrans',`folder`='ticket.typetrans',`rolid`=@rolid_0,`level`='0',`publish`='1',`extended`='0',`checkval`='0',`params`='mainmodel=ticket.type\nautofld=1',`alias`='',`prefix`='ticket',`fields`='0',`trash`='0',`core`='1',`faicon`='fa-arrows-alt',`pnamekey`='' WHERE  `namekey`='ticket.typetrans';
INSERT IGNORE INTO `#__model_node` (`sid`,`dbtid`,`path`,`namekey`,`folder`,`rolid`,`level`,`publish`,`extended`,`checkval`,`params`,`alias`,`prefix`,`fields`,`trash`,`core`,`faicon`,`pnamekey`) VALUES (@pk_621_1179,@dbtid_20,'0','ticket.typetrans','ticket.typetrans',@rolid_0,'0','1','0','0','mainmodel=ticket.type\nautofld=1','','ticket','0','0','1','fa-arrows-alt','');
UPDATE `#__model_node`  SET `sid`=@pk_621_5,`dbtid`=( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='extension.node' LIMIT 1),`path`='1',`namekey`='extension',`folder`='extension',`rolid`=@rolid_0,`level`='0',`publish`='1',`extended`='0',`checkval`='0',`params`='ordrg=1\ngrpmap=core',`alias`='',`prefix`='extension',`fields`='0',`trash`='0',`core`='1',`faicon`='fa-mobile',`pnamekey`='' WHERE  `namekey`='extension';
INSERT IGNORE INTO `#__model_node` (`sid`,`dbtid`,`path`,`namekey`,`folder`,`rolid`,`level`,`publish`,`extended`,`checkval`,`params`,`alias`,`prefix`,`fields`,`trash`,`core`,`faicon`,`pnamekey`) VALUES (@pk_621_5,( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='extension.node' LIMIT 1),'1','extension','extension',@rolid_0,'0','1','0','0','ordrg=1\ngrpmap=core','','extension','0','0','1','fa-mobile','');
UPDATE `#__model_node`  SET `sid`=@pk_621_566,`dbtid`=@dbtid_23,`path`='1',`namekey`='role',`folder`='role',`rolid`=@rolid_0,`level`='0',`publish`='1',`extended`='0',`checkval`='0',`params`='prtname=roletrans\ncachedata=1',`alias`='',`prefix`='role',`fields`='0',`trash`='0',`core`='1',`faicon`='fa-trophy',`pnamekey`='' WHERE  `namekey`='role';
INSERT IGNORE INTO `#__model_node` (`sid`,`dbtid`,`path`,`namekey`,`folder`,`rolid`,`level`,`publish`,`extended`,`checkval`,`params`,`alias`,`prefix`,`fields`,`trash`,`core`,`faicon`,`pnamekey`) VALUES (@pk_621_566,@dbtid_23,'1','role','role',@rolid_0,'0','1','0','0','prtname=roletrans\ncachedata=1','','role','0','0','1','fa-trophy','');
UPDATE `#__model_node`  SET `sid`=@pk_621_410,`dbtid`=@dbtid_6,`path`='0',`namekey`='projecttrans',`folder`='projecttrans',`rolid`=@rolid_0,`level`='0',`publish`='1',`extended`='0',`checkval`='0',`params`='\nmainmodel=project',`alias`='',`prefix`='project',`fields`='0',`trash`='0',`core`='1',`faicon`='',`pnamekey`='' WHERE  `namekey`='projecttrans';
INSERT IGNORE INTO `#__model_node` (`sid`,`dbtid`,`path`,`namekey`,`folder`,`rolid`,`level`,`publish`,`extended`,`checkval`,`params`,`alias`,`prefix`,`fields`,`trash`,`core`,`faicon`,`pnamekey`) VALUES (@pk_621_410,@dbtid_6,'0','projecttrans','projecttrans',@rolid_0,'0','1','0','0','\nmainmodel=project','','project','0','0','1','','');
UPDATE `#__model_node`  SET `sid`=@pk_621_405,`dbtid`=@dbtid_4,`path`='0',`namekey`='project',`folder`='project',`rolid`=@rolid_0,`level`='0',`publish`='1',`extended`='0',`checkval`='0',`params`='ordrg=1\ngrpmap=parent\nprtname=projecttrans\nautofld=1',`alias`='',`prefix`='project',`fields`='0',`trash`='0',`core`='1',`faicon`='',`pnamekey`='' WHERE  `namekey`='project';
INSERT IGNORE INTO `#__model_node` (`sid`,`dbtid`,`path`,`namekey`,`folder`,`rolid`,`level`,`publish`,`extended`,`checkval`,`params`,`alias`,`prefix`,`fields`,`trash`,`core`,`faicon`,`pnamekey`) VALUES (@pk_621_405,@dbtid_4,'0','project','project',@rolid_0,'0','1','0','0','ordrg=1\ngrpmap=parent\nprtname=projecttrans\nautofld=1','','project','0','0','1','','');
UPDATE `#__model_node`  SET `sid`=@pk_621_526,`dbtid`=@dbtid_7,`path`='1',`namekey`='project.members',`folder`='project.members',`rolid`=@rolid_0,`level`='0',`publish`='1',`extended`='0',`checkval`='0',`params`='autofld=1',`alias`='',`prefix`='project',`fields`='0',`trash`='0',`core`='1',`faicon`='',`pnamekey`='' WHERE  `namekey`='project.members';
INSERT IGNORE INTO `#__model_node` (`sid`,`dbtid`,`path`,`namekey`,`folder`,`rolid`,`level`,`publish`,`extended`,`checkval`,`params`,`alias`,`prefix`,`fields`,`trash`,`core`,`faicon`,`pnamekey`) VALUES (@pk_621_526,@dbtid_7,'1','project.members','project.members',@rolid_0,'0','1','0','0','autofld=1','','project','0','0','1','','');
UPDATE `#__model_node`  SET `sid`=@pk_621_199,`dbtid`=@dbtid_22,`path`='0',`namekey`='library.languages',`folder`='library.languages',`rolid`=@rolid_0,`level`='0',`publish`='1',`extended`='0',`checkval`='0',`params`='',`alias`='',`prefix`='joobi',`fields`='0',`trash`='0',`core`='1',`faicon`='fa-language',`pnamekey`='' WHERE  `namekey`='library.languages';
INSERT IGNORE INTO `#__model_node` (`sid`,`dbtid`,`path`,`namekey`,`folder`,`rolid`,`level`,`publish`,`extended`,`checkval`,`params`,`alias`,`prefix`,`fields`,`trash`,`core`,`faicon`,`pnamekey`) VALUES (@pk_621_199,@dbtid_22,'0','library.languages','library.languages',@rolid_0,'0','1','0','0','','','joobi','0','0','1','fa-language','');

SET @wid_25 = ( SELECT `wid` FROM `#__extension_node`  WHERE `namekey`='ticket.node' LIMIT 1);
SET @sid_26 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.projecttrans' LIMIT 1);
SET @sid_27 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='users' LIMIT 1);
SET @sid_28 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket' LIMIT 1);
SET @sid_29 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.project' LIMIT 1);
SET @rolid_30 = (4);
SET @rolid_31 = (7);
SET @rolid_32 = (3);
SET @ref_sid_33 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='projecttrans' LIMIT 1);
SET @sid_34 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.reply' LIMIT 1);
SET @sid_35 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.template' LIMIT 1);
SET @sid_36 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.type' LIMIT 1);
SET @rolid_37 = (16);
SET @rolid_38 = (30);
SET @rolid_39 = (17);
SET @yid_40 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_preferences' LIMIT 1);
SET @yid_41 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_reply_be' LIMIT 1);
SET @yid_42 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_reply_fe' LIMIT 1);
SET @yid_43 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='topic_nested' LIMIT 1);
SET @yid_44 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_form_fe' LIMIT 1);
SET @yid_45 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_add_project' LIMIT 1);
SET @yid_46 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='reply' LIMIT 1);
SET @yid_47 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_show_fe' LIMIT 1);
SET @yid_48 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_assign_supportlevel' LIMIT 1);
SET @yid_49 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_add_fe_not_registered' LIMIT 1);
SET @yid_50 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_reply_fe_noregistered' LIMIT 1);
SET @yid_51 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_show_fe_noregistered' LIMIT 1);
SET @yid_52 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_move' LIMIT 1);
SET @yid_53 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='new_reply_template_be' LIMIT 1);
SET @yid_54 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='reply_template_show' LIMIT 1);
SET @yid_55 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='category_notification' LIMIT 1);
SET @yid_56 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_add_topic' LIMIT 1);
SET @yid_57 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_type_form' LIMIT 1);
SET @yid_58 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_type_show_ticket_type' LIMIT 1);
SET @did_59 = ( SELECT `did` FROM `#__dropset_node`  WHERE `namekey`='ticket_priority' LIMIT 1);
SET @did_60 = ( SELECT `did` FROM `#__dropset_node`  WHERE `namekey`='ticket_types' LIMIT 1);
SET @sid_61 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='tickettrans' LIMIT 1);
SET @sid_62 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.files' LIMIT 1);
SET @sid_63 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='site' LIMIT 1);
SET @sid_64 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.replytrans' LIMIT 1);
SET @sid_65 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.replyfiles' LIMIT 1);
SET @sid_66 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.templatetrans' LIMIT 1);
SET @sid_67 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.typetrans' LIMIT 1);
SET @ref_yid_68 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_replies_listing_be' LIMIT 1);
SET @ref_yid_69 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_reply_head' LIMIT 1);
SET @ref_yid_70 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_replies_listing_fe' LIMIT 1);
SET @ref_yid_71 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_reply_head_be' LIMIT 1);
SET @ref_yid_72 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='all_tickets_be_customer_tickets' LIMIT 1);
SET @ref_yid_73 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_reply_head_show' LIMIT 1);
SET @ref_yid_74 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_replies_fe_show' LIMIT 1);
SET @ref_yid_75 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_show_head__noregistered' LIMIT 1);
SET @ref_yid_76 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_replies_fe_show_notregi' LIMIT 1);
SET @ref_yid_77 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='list_of_topics' LIMIT 1);
SET @ref_yid_78 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_frontend_public' LIMIT 1);
SET @p_1_0 = ( SELECT  A.`fid`  FROM `#__layout_multiforms`  AS A  WHERE  A.`namekey` ='ticket_pref_general' LIMIT 1);
UPDATE `#__layout_multiforms` SET `parent`=@p_1_0 WHERE `namekey` IN ('ticket_pref_attached_files','ticket_pref_unsolved_tickets','ticket_pref_automatically_close_tickets','ticket_pref_jtickets_application_defaulturl','ticket_pref_general_editor_fe','ticket_pref_general_editor_noderator','ticket_pref_ticket_node_noregistered','ticket_preference_allowfiles','ticket_pref_ticket_node_supportlevel','ticket_pref_ticket_node_timing') LIMIT 10;
SET @p_1_1 = ( SELECT  A.`fid`  FROM `#__layout_multiforms`  AS A  WHERE  A.`namekey` ='ticket_reply_be_row2' LIMIT 1);
UPDATE `#__layout_multiforms` SET `parent`=@p_1_1 WHERE `namekey` IN ('ticket_reply_be_add_a_reply') LIMIT 1;
SET @p_1_2 = ( SELECT  A.`fid`  FROM `#__layout_multiforms`  AS A  WHERE  A.`namekey` ='ticket_pref_settings' LIMIT 1);
UPDATE `#__layout_multiforms` SET `parent`=@p_1_2 WHERE `namekey` IN ('ticket_pref_rating','ticket_pref_categories','ticket_pref_online_status','ticket_pref_avatar') LIMIT 4;
SET @p_1_3 = ( SELECT  A.`fid`  FROM `#__layout_multiforms`  AS A  WHERE  A.`namekey` ='ticket_pref_integration' LIMIT 1);
UPDATE `#__layout_multiforms` SET `parent`=@p_1_3 WHERE `namekey` IN ('ticket_pref_ip_address','ticket_pref_comments','ticket_pref_email_conversion','ticket_pref_ticket_node_siteintegration') LIMIT 4;
SET @p_1_4 = ( SELECT  A.`fid`  FROM `#__layout_multiforms`  AS A  WHERE  A.`namekey` ='ticket_pref_tickets' LIMIT 1);
UPDATE `#__layout_multiforms` SET `parent`=@p_1_4 WHERE `namekey` IN ('ticket_pref_page_header_','ticket_pref_ticket_node_queueposition','ticket_pref_ticket_node_tktype','ticket_pref_ticket_node_tkrreply','ticket_pref_ticket_node_tkprivate','ticket_pref_ticket_node_userchooseprivacy','ticket_pref_ticket_node_signaturemoderator','ticket_pref_ticket_node_status','ticket_pref_ticket_node_editclose') LIMIT 9;
SET @p_1_5 = ( SELECT  A.`fid`  FROM `#__layout_multiforms`  AS A  WHERE  A.`namekey` ='ticket_pref_notifications' LIMIT 1);
UPDATE `#__layout_multiforms` SET `parent`=@p_1_5 WHERE `namekey` IN ('ticket_pref_email_information','ticket_pref_email_late_reply','ticket_pref_ticket_node_tkemailconf','ticket_pref_ticket_node_tkemailreply','ticket_pref_u_ticket_node_tkemailcopy_1','ticket_pref_u_ticket_node_tklink','ticket_pref_c_ticket_node_notifyassignedcustomer','ticket_pref_ticket_node_tkemailassign','ticket_pref_ticket_node_emailallassigned') LIMIT 9;
SET @p_1_6 = ( SELECT  A.`fid`  FROM `#__layout_multiforms`  AS A  WHERE  A.`namekey` ='ticket_reply_be_row3' LIMIT 1);
UPDATE `#__layout_multiforms` SET `parent`=@p_1_6 WHERE `namekey` IN ('ticket_reply_be_replies_1','ticket_reply_be_previous_tickets') LIMIT 2;
SET @p_1_7 = ( SELECT  A.`fid`  FROM `#__layout_multiforms`  AS A  WHERE  A.`namekey` ='ticket_reply_fe_add_a_reply' LIMIT 1);
UPDATE `#__layout_multiforms` SET `parent`=@p_1_7 WHERE `namekey` IN ('ticket_reply_fe_ticket_replytrans_description','ticket_reply_fe_save','ticket_reply_fe_ticket_replyfiles_filid','ticket_reply_fe_status') LIMIT 4;
SET @p_1_8 = ( SELECT  A.`fid`  FROM `#__layout_multiforms`  AS A  WHERE  A.`namekey` ='ticket_pref_email_information' LIMIT 1);
UPDATE `#__layout_multiforms` SET `parent`=@p_1_8 WHERE `namekey` IN ('ticket_pref_ticket_node_tkesenderemail','ticket_pref_ticket_node_tkesender') LIMIT 2;
SET @p_1_9 = ( SELECT  A.`fid`  FROM `#__layout_multiforms`  AS A  WHERE  A.`namekey` ='ticket_pref_email_conversion' LIMIT 1);
UPDATE `#__layout_multiforms` SET `parent`=@p_1_9 WHERE `namekey` IN ('ticket_pref_ticket_node_tkebounce','ticket_pref_ticket_node_autoreply','ticket_pref_ticket_node_ticketbyemail','ticket_pref_ticket_node_emailnewaccount') LIMIT 4;
SET @p_1_10 = ( SELECT  A.`fid`  FROM `#__layout_multiforms`  AS A  WHERE  A.`namekey` ='ticket_pref_unsolved_tickets' LIMIT 1);
UPDATE `#__layout_multiforms` SET `parent`=@p_1_10 WHERE `namekey` IN ('ticket_pref_ticket_node_tkfrequency') LIMIT 1;
SET @p_1_11 = ( SELECT  A.`fid`  FROM `#__layout_multiforms`  AS A  WHERE  A.`namekey` ='ticket_pref_attached_files' LIMIT 1);
UPDATE `#__layout_multiforms` SET `parent`=@p_1_11 WHERE `namekey` IN ('ticket_pref_ticket_node_tkattachmaxsize','ticket_pref_ticket_node_tkattachformats') LIMIT 2;
SET @p_1_12 = ( SELECT  A.`fid`  FROM `#__layout_multiforms`  AS A  WHERE  A.`namekey` ='ticket_pref_page_header_' LIMIT 1);
UPDATE `#__layout_multiforms` SET `parent`=@p_1_12 WHERE `namekey` IN ('ticket_pref_ticket_node_tktitle','ticket_pref_ticket_node_tknamekey','ticket_pref_ticket_node_tkboth') LIMIT 3;
SET @p_1_13 = ( SELECT  A.`fid`  FROM `#__layout_multiforms`  AS A  WHERE  A.`namekey` ='ticket_pref_automatically_close_tickets' LIMIT 1);
UPDATE `#__layout_multiforms` SET `parent`=@p_1_13 WHERE `namekey` IN ('ticket_pref_ticket_node_closedelay','ticket_pref_ticket_node_warndelay','ticket_pref_ticket_node_notifyclose') LIMIT 3;
SET @p_1_14 = ( SELECT  A.`fid`  FROM `#__layout_multiforms`  AS A  WHERE  A.`namekey` ='ticket_pref_email_late_reply' LIMIT 1);
UPDATE `#__layout_multiforms` SET `parent`=@p_1_14 WHERE `namekey` IN ('ticket_pref_ticket_node_latereplynotify','ticket_pref_ticket_node_latereplydelay') LIMIT 2;
SET @p_1_15 = ( SELECT  A.`fid`  FROM `#__layout_multiforms`  AS A  WHERE  A.`namekey` ='ticket_pref_spam' LIMIT 1);
UPDATE `#__layout_multiforms` SET `parent`=@p_1_15 WHERE `namekey` IN ('ticket_pref_ticket_node_spamblock','ticket_pref_ticket_node_spamnotify','ticket_pref_ticket_node_spamwords','ticket_pref_ticket_node_spambadwords') LIMIT 4;
SET @p_1_16 = ( SELECT  A.`fid`  FROM `#__layout_multiforms`  AS A  WHERE  A.`namekey` ='ticket_pref_comments' LIMIT 1);
UPDATE `#__layout_multiforms` SET `parent`=@p_1_16 WHERE `namekey` IN ('ticket_pref_ticket_node_tkusecomment','ticket_pref_ticket_node_tkprojcomment') LIMIT 2;
SET @p_1_17 = ( SELECT  A.`fid`  FROM `#__layout_multiforms`  AS A  WHERE  A.`namekey` ='ticket_pref_ip_address' LIMIT 1);
UPDATE `#__layout_multiforms` SET `parent`=@p_1_17 WHERE `namekey` IN ('ticket_pref_ticket_node_tkip','ticket_pref_ticket_node_tkipdisplay') LIMIT 2;
SET @p_1_18 = ( SELECT  A.`fid`  FROM `#__layout_multiforms`  AS A  WHERE  A.`namekey` ='ticket_pref_categories' LIMIT 1);
UPDATE `#__layout_multiforms` SET `parent`=@p_1_18 WHERE `namekey` IN ('ticket_pref_ticket_node_tkprojectassign','ticket_pref_ticket_node_informoderator','ticket_pref_ticket_node_notifymoderator','ticket_pref_ticket_node_followupticket') LIMIT 4;
SET @p_1_19 = ( SELECT  A.`fid`  FROM `#__layout_multiforms`  AS A  WHERE  A.`namekey` ='ticket_pref_rating' LIMIT 1);
UPDATE `#__layout_multiforms` SET `parent`=@p_1_19 WHERE `namekey` IN ('ticket_pref_ticket_node_tkratinguse','ticket_pref_ticket_node_tkratevisible','ticket_pref_ticket_node_tkratecolor') LIMIT 3;
SET @p_1_20 = ( SELECT  A.`fid`  FROM `#__layout_multiforms`  AS A  WHERE  A.`namekey` ='ticket_pref_online_status' LIMIT 1);
UPDATE `#__layout_multiforms` SET `parent`=@p_1_20 WHERE `namekey` IN ('ticket_pref_ticket_node_tkonstatus','ticket_pref_ticket_node_tkonstatcust') LIMIT 2;
SET @p_1_21 = ( SELECT  A.`fid`  FROM `#__layout_multiforms`  AS A  WHERE  A.`namekey` ='ticket_reply_be_row1' LIMIT 1);
UPDATE `#__layout_multiforms` SET `parent`=@p_1_21 WHERE `namekey` IN ('ticket_reply_be_ticket') LIMIT 1;
SET @p_1_22 = ( SELECT  A.`fid`  FROM `#__layout_multiforms`  AS A  WHERE  A.`namekey` ='ticket_reply_be_add_a_reply' LIMIT 1);
UPDATE `#__layout_multiforms` SET `parent`=@p_1_22 WHERE `namekey` IN ('ticket_reply_be_ticket_replytrans_description','ticket_reply_be_save','ticket_reply_be_ticket_replyfiles_filid','ticket_reply_be_ticket_reply_tkrid_2') LIMIT 4;
SET @p_1_23 = ( SELECT  A.`fid`  FROM `#__layout_multiforms`  AS A  WHERE  A.`namekey` ='ticket_reply_be_replies_1' LIMIT 1);
UPDATE `#__layout_multiforms` SET `parent`=@p_1_23 WHERE `namekey` IN ('ticket_reply_be_replies') LIMIT 1;
SET @p_1_24 = ( SELECT  A.`fid`  FROM `#__layout_multiforms`  AS A  WHERE  A.`namekey` ='ticket_reply_be_previous_tickets' LIMIT 1);
UPDATE `#__layout_multiforms` SET `parent`=@p_1_24 WHERE `namekey` IN ('ticket_reply_be_previous_tickets_3') LIMIT 1;
SET @p_1_25 = ( SELECT  A.`fid`  FROM `#__layout_multiforms`  AS A  WHERE  A.`namekey` ='topic_nested_sub_topics' LIMIT 1);
UPDATE `#__layout_multiforms` SET `parent`=@p_1_25 WHERE `namekey` IN ('topic_nested_sub_topics_1') LIMIT 1;
SET @p_1_26 = ( SELECT  A.`fid`  FROM `#__layout_multiforms`  AS A  WHERE  A.`namekey` ='topic_nested_posts' LIMIT 1);
UPDATE `#__layout_multiforms` SET `parent`=@p_1_26 WHERE `namekey` IN ('topic_nested_posts_2') LIMIT 1;
SET @yid_79 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_listing_be' LIMIT 1);
SET @yid_80 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_list_project' LIMIT 1);
SET @yid_81 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_project_members' LIMIT 1);
SET @yid_82 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_list_project_nested' LIMIT 1);
SET @yid_83 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_frontend_private' LIMIT 1);
SET @yid_84 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='send_notification' LIMIT 1);
SET @yid_85 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_myassigned_tickets' LIMIT 1);
SET @yid_86 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='projects_frontend_public' LIMIT 1);
SET @yid_87 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_pending_listing_be' LIMIT 1);
SET @yid_88 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_customers_tickets' LIMIT 1);
SET @yid_89 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_new_pending' LIMIT 1);
SET @yid_90 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='reply_templates_be' LIMIT 1);
SET @yid_91 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_reply_templates_to_a_ticket' LIMIT 1);
SET @yid_92 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_moderators' LIMIT 1);
SET @yid_93 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='assigned_categories_moderator' LIMIT 1);
SET @yid_94 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_no_of_tickets_report' LIMIT 1);
SET @yid_95 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_tickets_category_report' LIMIT 1);
SET @yid_96 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_type_listing' LIMIT 1);
SET @yid_97 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_contacts_show_nested' LIMIT 1);
SET @yid_98 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_change_owner_listing' LIMIT 1);
SET @rolid_99 = (8);
SET @yid_100 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='tickets_widget_integration' LIMIT 1);
SET @yid_101 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_last_tickets' LIMIT 1);
SET @yid_102 = ( SELECT `yid` FROM `#__layout_node`  WHERE `namekey`='ticket_listing_dashboard' LIMIT 1);
SET @did_103 = ( SELECT `did` FROM `#__dropset_node`  WHERE `namekey`='ticket_projecttrans' LIMIT 1);
SET @sid_104 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.user' LIMIT 1);
SET @sid_105 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='project' LIMIT 1);
SET @sid_106 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.rating' LIMIT 1);
SET @sid_107 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.projectmembers' LIMIT 1);
SET @sid_108 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='product' LIMIT 1);
SET @sid_109 = ( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='joomla.content' LIMIT 1);
SET @p_3_0 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='ticket_list_project_ticket_projecttrans_name' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_0 WHERE `namekey` IN ('ticket_list_project_ticket_projecttrans_name_8','ticket_list_project_ticket_project_namekey') LIMIT 2;
SET @p_3_1 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='ticket_frontend_public_tickettrans_name_8' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_1 WHERE `namekey` IN ('ticket_frontend_public_tickettrans_name','ticket_frontend_public_tickettrans_description','ticket_frontend_public_tickettrans_description_7','ticket_frontend_public_ticket_namekey','ticket_frontend_public_ticket_sticky') LIMIT 5;
SET @p_3_2 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='ticket_frontend_public_ticket_type_3' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_2 WHERE `namekey` IN ('ticket_frontend_public_ticket_type_5','ticket_frontend_public_ticket_projecttrans_name','ticket_frontend_public_projecttrans_name') LIMIT 3;
SET @p_3_3 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='ticket_frontend_public_ticket_status_4' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_3 WHERE `namekey` IN ('ticket_frontend_public_ticket_status_1','ticket_frontend_public_ticket_replies') LIMIT 2;
SET @p_3_4 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='ticket_frontend_public_ticket_created_2' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_4 WHERE `namekey` IN ('ticket_frontend_public_ticket_created') LIMIT 1;
SET @p_3_5 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='task_replies_fe_ticket_replytrans_description_2' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_5 WHERE `namekey` IN ('task_replies_fe_ticket_replytrans_description','task_replies_fe_ticket_reply_tkrid','task_replies_fe_ticket_replyfiles_filid','task_replies_fe_ticket_replyfiles_filid_1','task_replies_fe_ticket_replyfiles_tkrid') LIMIT 5;
SET @p_3_6 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='task_replies_fe_details' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_6 WHERE `namekey` IN ('task_replies_fe_ticket_reply_created','task_replies_fe_users_id','task_replies_fe_users_username','ticket_replies_listing_fe_response_time','task_replies_fe_rating','task_replies_fe_ticket_authoruid','task_replies_fe_users_login') LIMIT 7;
SET @p_3_7 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='task_reply_head_ticket' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_7 WHERE `namekey` IN ('task_reply_head_boundary','task_reply_head_tickettrans_name_3','task_reply_head_ticket_namekey','task_reply_head_tickettrans_description','task_reply_head_tickettrans_name','task_reply_head_ticket_status','task_reply_head_ticket_files_filid_1','task_reply_head_ticket_files_filid','task_reply_head_ticket_files_tkid','task_reply_head_ticket_private') LIMIT 10;
SET @p_3_8 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='task_reply_head_details' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_8 WHERE `namekey` IN ('task_reply_head_ticket_created_2','task_reply_head_users_id','task_reply_head_users_username','task_reply_head_ticket_created','ticket_reply_head_ticket_deadline','ticket_reply_head_ticket_resptime','task_reply_head_users_login','task_reply_head_site_url') LIMIT 8;
SET @p_3_9 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='all_tickets_be_tickettrans_name_5' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_9 WHERE `namekey` IN ('all_tickets_be_tickettrans_name','all_tickets_be_ticket_namekey','all_tickets_be_tickettrans_description','all_tickets_be_ticket_lock') LIMIT 4;
SET @p_3_10 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='all_tickets_be_details' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_10 WHERE `namekey` IN ('all_tickets_be_ticket_type','all_tickets_be_ticket_projecttrans_name','all_tickets_be_ticket_priority','all_tickets_be_ticket_commenttype') LIMIT 4;
SET @p_3_11 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='all_tickets_be_created' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_11 WHERE `namekey` IN ('all_tickets_be_users_name','all_tickets_be_ticket_created_4','all_tickets_be_ticket_created','all_tickets_be_users_username') LIMIT 4;
SET @p_3_12 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='all_tickets_be_ticket_modified_1' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_12 WHERE `namekey` IN ('all_tickets_be_ticket_replies','all_tickets_be_ticket_modified_3','all_tickets_be_ticket_modified','all_tickets_be_ticket_assignuid') LIMIT 4;
SET @p_3_13 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='ticket_listing_be_response_time' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_13 WHERE `namekey` IN ('ticket_listing_be_ticket_resptime','ticket_listing_be_ticket_deadline') LIMIT 2;
SET @p_3_14 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='ticket_list_project_ticket_projecttrans_name_8' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_14 WHERE `namekey` IN ('ticket_list_project_ticket_projecttrans_description') LIMIT 1;
SET @p_3_15 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='last_tickets_tickettrans_name' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_15 WHERE `namekey` IN ('category_module','elapsed_time','last_tickets_tickettrans_name_1') LIMIT 3;
SET @p_3_16 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='ticket_frontend_private_tickettrans_name_4' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_16 WHERE `namekey` IN ('ticket_frontend_private_tickettrans_name','ticket_frontend_private_ticket_namekey','ticket_frontend_private_tickettrans_description','ticket_frontend_private_ticket_sticky') LIMIT 4;
SET @p_3_17 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='ticket_frontend_private_ticket_created_3' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_17 WHERE `namekey` IN ('ticket_frontend_private_ticket_created','ticket_frontend_private_ticket_created_1') LIMIT 2;
SET @p_3_18 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='ticket_frontend_private_ticket_projecttrans_name' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_18 WHERE `namekey` IN ('ticket_frontend_private_ticket_type','ticket_frontend_private_ticket_projecttrans_name_2','ticket_frontend_private_projecttrans_name') LIMIT 3;
SET @p_3_19 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='task_replies_be_ticket_replytrans_description' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_19 WHERE `namekey` IN ('task_replies_be_ticket_replytrans_description_5','task_replies_be_ticket_replyfiles_filid','task_replies_be_ticket_replyfiles_filid_2','task_replies_be_ticket_replyfiles_tkrid','task_replies_be_ticket_reply_tkrid_1') LIMIT 5;
SET @p_3_20 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='task_replies_be_details' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_20 WHERE `namekey` IN ('task_replies_be_users_name','task_replies_be_ticket_reply_created_4','task_replies_be_users_id','task_replies_be_ticket_reply_created','task_replies_be_ticket_reply_ip','task_replies_be_rating','task_replies_be_users_login') LIMIT 7;
SET @p_3_21 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='task_replies_be_actions' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_21 WHERE `namekey` IN ('task_replies_be_ticket_reply_publish','task_replies_be_ticket_reply_tkrid_3','task_replies_be_ticket_reply_tkrid') LIMIT 3;
SET @p_3_22 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='ticket_reply_head_show_ticket' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_22 WHERE `namekey` IN ('ticket_reply_head_show_tickettrans_name_2','ticket_reply_head_show_ticket_namekey','ticket_reply_head_show_tickettrans_description','ticket_reply_head_show_tickettrans_name','ticket_reply_head_show_ticket_status','ticket_reply_head_show_ticket_files_filid','ticket_reply_head_show_ticket_files_filid_3','ticket_reply_head_show_ticket_files_tkid','ticket_reply_head_show_ticket_private') LIMIT 9;
SET @p_3_23 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='ticket_reply_head_show_details' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_23 WHERE `namekey` IN ('ticket_reply_head_show_ticket_created_1','ticket_reply_head_show_users_id','ticket_reply_head_show_ticket_created','ticket_reply_head_show_users_username','ticket_reply_head_show_users_login') LIMIT 5;
SET @p_3_24 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='ticket_replies_fe_show_ticket_replytrans_description' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_24 WHERE `namekey` IN ('ticket_replies_fe_show_ticket_replytrans_description_2','ticket_replies_fe_show_ticket_reply_tkrid','ticket_replies_fe_show_ticket_replyfiles_filid','ticket_replies_fe_show_ticket_replyfiles_filid_1','ticket_replies_fe_show_ticket_replyfiles_tkrid') LIMIT 5;
SET @p_3_25 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='ticket_replies_fe_show_details' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_25 WHERE `namekey` IN ('ticket_replies_fe_show_ticket_reply_created','ticket_replies_fe_show_users_id','ticket_replies_fe_show_users_username','ticket_replies_fe_show_ticket_reply_timeresp','ticket_replies_fe_show_rating','ticket_replies_fe_show_ticket_authoruid','ticket_replies_fe_show_users_login') LIMIT 7;
SET @p_3_26 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='ticket_show_head__noregistered_ticket' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_26 WHERE `namekey` IN ('ticket_show_head__noregistered_tickettrans_name','ticket_show_head__noregistered_tickettrans_name_2','ticket_show_head__noregistered_ticket_status','ticket_show_head__noregistered_ticket_namekey','ticket_show_head__noregistered_tickettrans_description') LIMIT 5;
SET @p_3_27 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='ticket_show_head__noregistered_details' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_27 WHERE `namekey` IN ('ticket_show_head__noregistered_users_username','ticket_show_head__noregistered_ticket_created_1','ticket_show_head__noregistered_ticket_created','ticket_show_head__noregistered_ticket_authoruid','ticket_show_head__noregistered_users_uid') LIMIT 5;
SET @p_3_28 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='ticket_replies_fe_show_notregi_details' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_28 WHERE `namekey` IN ('ticket_replies_fe_show_notregi_ticket_reply_created','ticket_replies_fe_show_notregi_ticket_reply_timeresp','ticket_replies_fe_show_notregi_rating') LIMIT 3;
SET @p_3_29 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='task_reply_head_be_ticket' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_29 WHERE `namekey` IN ('task_reply_head_be_tickettrans_name_4','task_reply_head_be_ticket_namekey','task_reply_head_be_tickettrans_description','task_reply_head_be_tickettrans_name','task_reply_head_be_ticket_status','task_reply_head_be_ticket_files_filid','task_reply_head_be_ticket_private','task_reply_head_be_ticket_type') LIMIT 8;
SET @p_3_30 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='task_reply_head_be_details' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_30 WHERE `namekey` IN ('task_reply_head_be_users_name','task_reply_head_be_ticket_created_3','task_reply_head_be_ticket_projecttrans_name','task_reply_head_be_ticket_assignuid','task_reply_head_be_ticket_created','ticket_reply_head_be_ticket_deadline','task_reply_head_be_users_username','task_reply_head_be_ticket_ip','task_reply_head_be_site_url','task_reply_head_be_license') LIMIT 10;
SET @p_3_31 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='all_myassigned_tickets_tickettrans_name_4' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_31 WHERE `namekey` IN ('all_myassigned_tickets_tickettrans_name','all_myassigned_tickets_ticket_namekey','all_myassigned_tickets_tickettrans_description','all_myassigned_tickets_ticket_followup','all_myassigned_tickets_ticket_lock','all_myassigned_tickets_ticket_assignbyuid') LIMIT 6;
SET @p_3_32 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='all_myassigned_tickets_details' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_32 WHERE `namekey` IN ('all_myassigned_tickets_ticket_type','all_myassigned_tickets_ticket_projecttrans_name','all_myassigned_tickets_ticket_priority') LIMIT 3;
SET @p_3_33 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='all_myassigned_tickets_created' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_33 WHERE `namekey` IN ('all_myassigned_tickets_users_name','all_myassigned_tickets_ticket_created_3','all_myassigned_tickets_ticket_created','all_myassigned_tickets_users_username') LIMIT 4;
SET @p_3_34 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='all_myassigned_tickets_ticket_modified_2' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_34 WHERE `namekey` IN ('all_myassigned_tickets_ticket_replies','all_myassigned_tickets_ticket_modified_1','all_myassigned_tickets_ticket_modified') LIMIT 3;
SET @p_3_35 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='ticket_myassigned_tickets_response_time' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_35 WHERE `namekey` IN ('all_myassigned_tickets_ticket_resptime','all_myassigned_tickets_ticket_deadline') LIMIT 2;
SET @p_3_36 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='projects_frontend_public_ticket_projecttrans_name_2' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_36 WHERE `namekey` IN ('projects_frontend_public_ticket_projecttrans_name','projects_frontend_public_ticket_projecttrans_description_1','projects_frontend_public_ticket_projecttrans_description') LIMIT 3;
SET @p_3_37 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='projects_frontend_public_ticket_modified' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_37 WHERE `namekey` IN ('projects_frontend_public_tickettrans_name','projects_frontend_public_ticket_modified_3','projects_frontend_public_ticket_project_ltkid','projects_frontend_public_ticket_reply_tkrid') LIMIT 4;
SET @p_3_38 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='pending_tickets_be_tickettrans_name_4' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_38 WHERE `namekey` IN ('pending_tickets_be_tickettrans_name','pending_tickets_be_ticket_namekey','pending_tickets_be_tickettrans_description','pending_tickets_be_ticket_lock') LIMIT 4;
SET @p_3_39 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='pending_tickets_be_details' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_39 WHERE `namekey` IN ('pending_tickets_be_ticket_type','pending_tickets_be_ticket_projecttrans_name','pending_tickets_be_ticket_priority','pending_tickets_be_product_pid','pending_tickets_be_product_categoryproduct_catid','pending_tickets_be_product_namekey','pending_tickets_be_joomla_content_id','pending_tickets_be_joomla_content_alias','pending_tickets_be_joomla_content_catid','pending_tickets_be_ticket_commenttype') LIMIT 10;
SET @p_3_40 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='pending_tickets_be_created' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_40 WHERE `namekey` IN ('pending_tickets_be_users_name','pending_tickets_be_ticket_created_3','pending_tickets_be_ticket_created','pending_tickets_be_users_username') LIMIT 4;
SET @p_3_41 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='pending_tickets_be_ticket_replies_2' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_41 WHERE `namekey` IN ('pending_tickets_be_ticket_replies','pending_tickets_be_ticket_modified_1','pending_tickets_be_ticket_modified','pending_tickets_be_ticket_assignuid') LIMIT 4;
SET @p_3_42 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='ticket_pending_listing_be_response_time' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_42 WHERE `namekey` IN ('pending_tickets_be_ticket_resptime','pending_tickets_be_ticket_deadline') LIMIT 2;
SET @p_3_43 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='customers_tickets_ticket_user_name_1' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_43 WHERE `namekey` IN ('customers_tickets_ticket_user_name','customers_tickets_ticket_user_username') LIMIT 2;
SET @p_3_44 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='new_tickets_be_tickettrans_name_3' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_44 WHERE `namekey` IN ('new_tickets_be_tickettrans_name','new_tickets_be_ticket_namekey','new_tickets_be_tickettrans_description','new_tickets_be_ticket_lock') LIMIT 4;
SET @p_3_45 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='new_tickets_be_details' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_45 WHERE `namekey` IN ('new_tickets_be_ticket_type','new_tickets_be_ticket_projecttrans_name','new_tickets_be_ticket_priority','new_tickets_be_product_pid','new_tickets_be_product_categoryproduct_catid','new_tickets_be_product_namekey','new_tickets_be_joomla_content_id','new_tickets_be_joomla_content_catid','new_tickets_be_joomla_content_alias','new_tickets_be_ticket_commenttype') LIMIT 10;
SET @p_3_46 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='new_tickets_be_created' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_46 WHERE `namekey` IN ('new_tickets_be_users_name','new_tickets_be_ticket_created_2','new_tickets_be_ticket_created','new_tickets_be_users_username') LIMIT 4;
SET @p_3_47 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='tickets_widget_integration_tickettrans_name' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_47 WHERE `namekey` IN ('tickets_widget_integration_tickettrans_description') LIMIT 1;
SET @p_3_48 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='tickets_widget_integration_ticket_type_2' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_48 WHERE `namekey` IN ('tickets_widget_integration_ticket_type','tickets_widget_integration_ticket_projecttrans_name') LIMIT 2;
SET @p_3_49 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='tickets_widget_integration_ticket_status_1' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_49 WHERE `namekey` IN ('tickets_widget_integration_ticket_status','tickets_widget_integration_ticket_priority') LIMIT 2;
SET @p_3_50 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='reply_templates_be_title' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_50 WHERE `namekey` IN ('reply_templates_be_ticket_templatetrans_name','reply_templates_be_ticket_templatetrans_description','reply_templates_be_ticket_templatetrans_description_3') LIMIT 3;
SET @p_3_51 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='reply_templates_be_ticket_template_type_1' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_51 WHERE `namekey` IN ('reply_templates_be_ticket_projecttrans_name','reply_templates_be_ticket_template_type') LIMIT 2;
SET @p_3_52 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='reply_templates_be_ticket_template_modified_2' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_52 WHERE `namekey` IN ('reply_templates_be_users_name','reply_templates_be_ticket_template_created','reply_templates_be_ticket_template_modified') LIMIT 3;
SET @p_3_53 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='reply_templates_to_a_ticket_ticket_templatetrans_name_2' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_53 WHERE `namekey` IN ('reply_templates_to_a_ticket_ticket_templatetrans_name','reply_templates_to_a_ticket_ticket_templatetrans_description_1','reply_templates_to_a_ticket_ticket_templatetrans_description') LIMIT 3;
SET @p_3_54 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='moderators_users_name' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_54 WHERE `namekey` IN ('moderators_users_name_1','moderators_users_username') LIMIT 2;
SET @p_3_55 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='assigned_categories_moderator_ticket_projecttrans_name_1' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_55 WHERE `namekey` IN ('assigned_categories_moderator_ticket_projecttrans_name','assigned_categories_moderator_ticket_projecttrans_description') LIMIT 2;
SET @p_3_56 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='list_of_topics_ticket_projecttrans_name_4' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_56 WHERE `namekey` IN ('list_of_topics_ticket_projecttrans_name','list_of_topics_ticket_projecttrans_description_3','list_of_topics_ticket_projecttrans_description') LIMIT 3;
SET @p_3_57 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='list_of_topics_ticket_modified_2' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_57 WHERE `namekey` IN ('list_of_topics_tickettrans_name','list_of_topics_users_username','list_of_topics_ticket_modified','list_of_topics_ticket_authoruid','list_of_topics_ticket_project_ltkid','list_of_topics_ticket_reply_tkrid') LIMIT 6;
SET @p_3_58 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='all_tickets_be_customer_tickets_tickettrans_name_4' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_58 WHERE `namekey` IN ('all_tickets_be_customer_tickets_tickettrans_name','all_tickets_be_customer_tickets_ticket_namekey','all_tickets_be_customer_tickets_tickettrans_description','all_tickets_be_customer_tickets_ticket_lock') LIMIT 4;
SET @p_3_59 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='all_tickets_be_customer_tickets_details' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_59 WHERE `namekey` IN ('all_tickets_be_customer_tickets_ticket_type','all_tickets_be_customer_tickets_ticket_projecttrans_name','all_tickets_be_customer_tickets_ticket_priority','all_tickets_be_customer_tickets_ticket_commenttype') LIMIT 4;
SET @p_3_60 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='all_tickets_be_customer_tickets_created' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_60 WHERE `namekey` IN ('all_tickets_be_customer_tickets_users_name','all_tickets_be_customer_tickets_ticket_created_3','all_tickets_be_customer_tickets_ticket_created','all_tickets_be_customer_tickets_users_username') LIMIT 4;
SET @p_3_61 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='all_tickets_be_customer_tickets_ticket_modified_2' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_61 WHERE `namekey` IN ('all_tickets_be_customer_tickets_ticket_replies','all_tickets_be_customer_tickets_ticket_modified_1','all_tickets_be_customer_tickets_ticket_modified','all_tickets_be_customer_tickets_ticket_assignuid') LIMIT 4;
SET @p_3_62 = ( SELECT  A.`lid`  FROM `#__layout_listings`  AS A  WHERE  A.`namekey` ='ticket_type_listing_ticket_type_ticket_type_alias' LIMIT 1);
UPDATE `#__layout_listings` SET `parent`=@p_3_62 WHERE `namekey` IN ('ticket_type_listing_name','ticket_type_listing_description') LIMIT 2;
INSERT IGNORE INTO `#__translation_en` (`text`,`auto`,`imac`) VALUES ('Hours','1','1206732357ILFL');
INSERT IGNORE INTO `#__translation_en` (`text`,`auto`,`imac`) VALUES ('New','1','1206732361LXFD'),('Edit','1','1206732361LXFE'),('Yes','1','1206732372QTKI'),('No','1','1206732372QTKJ'),('Delete','1','1206732372QTKL'),('Show','1','1206732372QTKM'),('Publish','1','1206732372QTKN'),('Wizard','1','1206732391QBUR'),('Help','1','1206732392OZUP'),('Preferences','1','1206732392OZUQ'),('#','1','1206732392OZVA'),('Name','1','1206732392OZVB'),('Type','1','1206732392OZVD'),('Description','1','1206732392OZVG'),('Status','1','1206732392OZVH'),('Cancel','1','1206732393CXVV'),('Save','1','1206732399EINB'),('Divider','1','1206732399EINF'),('Send','1','1206732400OWXC'),('ID','1','1206732400OWXG'),('License','1','1206732400OWZK'),('Author','1','1206732400OWZO'),('General','1','1206732400OWZR'),('Sender\'s Name','1','1206732400OWZZ'),('List of Categories','1','1206732411EGQE'),('Category','1','1206732411EGQO'),('Categories','1','1206732411EGQQ'),('Lock','1','1206732411EGRI'),('UnLock','1','1206732411EGRJ'),('Email Confirm','1','1206732411EGRM'),('divider','1','1206732411EGRN'),('Email','1','1206732411EGRU'),('Username','1','1206732411EGRV'),('Created','1','1206732411EGRY'),('Registered','1','1206732411EGSE'),('Locked','1','1206732412DACF'),('Submit','1','1206732412DADY'),('Parent','1','1206732412DAEM'),('Access','1','1206732412DAEO'),('Title','1','1206732412DAGC'),('Top','1','1206732429GMSU'),('Statistics','1','1206734818GVVM'),('Product','1','1206961841DNYS'),('Site','1','1206961849MVDJ'),('Move','1','1206961849MVDR'),('Website','1','1206961850KLRB'),('Date','1','1206961850KLRI'),('Modified','1','1206961850KLRL'),('hidden','1','1206961869IGND'),('Core','1','1206961869IGNE'),('Link','1','1206961869IGNO'),('Order','1','1206961869IGNP'),('Reply','1','1206961882TDGX'),('Back','1','1206961882TDHA'),('Content','1','1206961882TDHH'),('Priority','1','1206961898PIOD'),('Uid','1','1206961899DDKS'),('Customers','1','1206961902CIFI'),('Comments','1','1206961912MJQH'),('Details','1','1206961936HCWR'),('Tickets','1','1206964235BPWJ'),('Project','1','1206964390BUEL'),('My Tickets','1','1206964391FHVC'),('Replies','1','1206964391FHVD'),('List of projects','1','1206964391FHVH'),('Submitted','1','1206964391FHVL'),('radio button','1','1206964391FHVO'),(' Author','1','1206964391FHVR'),('checkbox','1','1206964391FHVS'),('Ticket','1','1206964391FHVU'),('Previous replies','1','1206964391FHVV'),('Assign','1','1207242081BUBK'),('Published','1','1207306697RNMA'),('Assign members to a project','1','1207309450NODG'),('User','1','1208359284QWNS'),('Assigned to','1','1209674948GCLR'),('Deadline','1','1209674948GCLT'),('Archived','1','1209746189NUCP'),('Alias','1','1211811583DBTA'),('Sender\'s Email','1','1211811588SCXS'),('Select','1','1212062321PNLD'),('Files','1','1212761192MUSM'),('Article','1','1212761231MDKH'),('Captcha','1','1212761242DPBP'),('Posts','1','1213107644KDPI'),('By','1','1213117657LKZK'),('Forum','1','1213200727TEHS'),('delete','1','1215001889GXZH'),('The project ID need to be defined to get the project name.','1','1215507799GMTI'),('List of all tickets.','1','1215507804KDXT'),('Elapsed','1','1215507804KDYB'),('Last reply','1','1215507804KDYD'),('Enter your reply to the ticket.','1','1215507805HPST'),('Enter the title of the ticket.  A good title is short and descriptive of the issue.','1','1215507805HPSU'),('Select the priority of your ticket.','1','1215507805HPSX'),('Select the category that is concerned with your ticket.','1','1215507805HPTA'),('If you need to attach files to document your ticket, please do it here.','1','1215507805HPTC'),('Attached files','1','1215507805HPTL'),('Maximum size allowed on an attached files.<br />Value in Ko.','1','1215507805HPTM'),('Maximum size','1','1215507805HPTN'),('Enter a list of the allowed file formats. <br />Separate them with commas (ex: \"jpg,jpeg,gif,png\").<br /><br />If empty, all files formats are allowed.','1','1215507805HPTO');
INSERT IGNORE INTO `#__translation_en` (`text`,`auto`,`imac`) VALUES ('Allowed files formats','1','1215507805HPTP'),('On replies','1','1215507805HPTT'),('Last visit','1','1216056722ADZY'),('Actions','1','1217251965LDTZ'),('Last tickets','1','1217600781IBZX'),('Attachments','1','1218027307KDZS'),('Comment','1','1219769904NDHD'),('Private','1','1219769905FKPR'),('Follow Up','1','1219844525HQBL'),('0','1','1219856743ELFT'),('Deleted','1','1220215333SORN'),('Spam','1','1220362026AJEJ'),('Types','1','1220793707SOED'),('Public','1','1224166212FTLB'),('Ticket warning email','1','1225790131RNIX'),('Low','1','1227581114PJBW'),('Medium','1','1227581114PJBX'),('High','1','1227581114PJBY'),('Response time','1','1227581114PJCA'),('Select yes if you want your ticket be private (only administrators would have access to it as well as the author of the ticket).<br>','1','1227581117APMN'),('Reply to the ticket','1','1227581117APMU'),('edit','1','1227581118COMT'),('My tickets','1','1227581118COMU'),('Public tickets','1','1227581118COMV'),('Tickets_nestedview','1','1227581138LMRK'),('Projects Nested dashboard','1','1227581138LMRL'),('Avatar','1','1228709252AHXW'),('Specify the default URL when controller is not defined.','1','1228819756DELH'),('Default Frontend URL','1','1228819756DELI'),('If yes, a copy of your reply will be sent to you.','1','1228820286IIYX'),('Notifications','1','1228820286IIYZ'),('Unsolved tickets','1','1228820286IIZA'),('Send Copy','1','1228820286IIZF'),('Close','1','1228820287MBVC'),('Send notification','1','1228820287MBVD'),('Users','1','1229653442FEQZ'),('The ticket type is required, please select one.','1','1230530175HBUQ'),('Your ticket number is : $ticketID','1','1230530175HBUR'),('Enter a description for your issue.<br><ul><li>The more details you provide and the better will be the answer.</li><li>Any information regarding your environment might be very helpful.</li></ul>','1','1230530178MZXK'),('Select the type issue you want to report.','1','1230530178MZXL'),('If yes, an email of confirmation will be sent  to the ticket author, at the creation of a new ticket.','1','1230530178MZXM'),('If yes, an email will be sent to the ticket author when a reply is recorded.','1','1230530178MZXN'),('Yes, to notify all moderators assigned to a specified ticket about a reply.','1','1230530178MZXO'),('Select one the person from the next level.<br>','1','1230530178MZXU'),('If you add any comment to help the next person please add it here.<br>','1','1230530178MZXV'),('Can this category see by everyone in the front-end?<br>','1','1230530178MZXW'),('Enter a number of days after which a ticket which has not been closed or answered by a customer will be automatically closed.<br>','1','1230530178MZXZ'),('Notify the author that the ticket has been automatically closed.','1','1230530178MZYA'),('Please enter a vaild email so that you can receive a response to your inquiry.<br>','1','1230530178MZYB'),('On creation','1','1230530178MZYD'),('Backend Link','1','1230530178MZYF'),('Person Available','1','1230530178MZYG'),('Automatically close tickets','1','1230530178MZYH'),('Close ticket after','1','1230530178MZYI'),('Support Levels','1','1230530178MZYK'),('Replied','1','1230530179NTHI'),('Guaranteed time','1','1230530179NTHK'),('Response','1','1230530179NTHL'),('Support Level','1','1230530179NTHN'),('Assign To','1','1230530180KZAG'),('This view is used to assign the ticket to another level in the support to answe the ticket:<br><ul><li>Choose a person from the next support level to answer the ticket.</li><li>If no names are listed in the Person Available dropdown list, check the category of the ticket if has assigned moderators and/or you are assigned to that category.<br></li></ul><br>','1','1230530180KZAI'),('<p>We recommand that you register to the website. It will make your follow up on the ticket much easier.</p>','1','1230530180KZAJ'),('Assign to Next Support Level','1','1230530180KZAK'),('Consider registrating','1','1230530180KZAL'),('This is a task to send an email to the support team when a ticket has not been answered and it is reaching the deadline.','1','1230530205IVSF'),('The task will automatically close tickets which have not been answered by the author within the predefined delay.','1','1230530205IVSG'),('Automatically Close tickes','1','1230530205IVSH'),('Expire','1','1231158811CQTV'),('Select the project you want to move the ticket to.<br>','1','1231388360NYRM'),('New Project','1','1231388360NYRN'),('Move Ticket','1','1231388362IOOK'),('If you need to attach files to document your reply, please do it here.','1','1231730763QBXH'),('New Pass','1','1232547405COSD'),('A warning to the user that a ticket needs their attention or will be automatically closed.','1','1233642225DNTS'),('Ticket Warning User','1','1233642225DNTT'),('Send an email to the user warning them that the ticket is going to be automatically closed. <br>0: no warning.<br>Otherwise specify a number of day before we warning the user.<br>','1','1233642233NMNG'),('Warn user','1','1233642233NMNH'),('<br><br><br>','1','1234467594BCKE'),('Feedback','1','1234467597SEXU'),('If yes, the link into the notification will redirect to the backend when the person has access to it.','1','1235547926CYDI'),('You need to be registered to submit a ticket','1','1237825578IRQC'),('boundary','1','1240888718QMAB'),('Add a reply','1','1241402690BDIK'),('Privacy','1','1241402690BDIL'),('Notify someone about this ticket.','1','1241519400RGCA'),('Notify','1','1241519400RGCB'),('All Tickets','1','1241519400RGCD'),('IP Address','1','1241769455CJUW'),('You are not allowed to view the ticket','1','1242098029MCXQ'),('This view lists all the Categories created.<span style=\"color: rgb(0, 51, 255);\"><span style=\"color: rgb(0, 0, 0);\"><br></span></span><ul><li><span style=\"color: rgb(0, 51, 255);\"><span style=\"color: rgb(0, 0, 0);\">To see the list of tickets on that </span></span>category <span style=\"color: rgb(0, 51, 255);\"><span style=\"color: rgb(0, 0, 0);\">, click the </span></span>category <span style=\"color: rgb(0, 51, 255);\"><span style=\"color: rgb(0, 0, 0);\">name.</span></span></li></ul><ul><li><span style=\"color: rgb(0, 51, 255);\"><span style=\"color: rgb(0, 0, 0);\">To view the last ticket modified, click on the name of a ticket.</span></span></li></ul><span style=\"color: rgb(0, 51, 255); text-decoration: underline;\">NOTE:</span><span style=\"color: rgb(0, 51, 255);\"> </span>When searching for information in a listing, you can use keywords like\r\nthe name of the category. <br><span style=\"color: rgb(0, 51, 255);\"><span style=\"color: rgb(0, 0, 0);\">           <br></span></span>','1','1242098033CBVJ'),('Category ID','1','1242282415NZSX'),('Unpublished','1','1242282416HAQR'),('Category Name','1','1242282432ARHF'),('Settings','1','1242282435FMGB'),('Sticky','1','1242282439OJUA'),('User Editor','1','1242282447PGGX'),('Done','1','1242282449PIPC'),('On','1','1242282450QJDI'),('Allow registered user to reply to a ticket even if they are not the author. This allow to use the ticket system like a forum.<br>','1','1242637107EPWC'),('Last ticket created','1','1242637108SGWU'),('Last Ticket','1','1242637108SGWV');
INSERT IGNORE INTO `#__translation_en` (`text`,`auto`,`imac`) VALUES ('Last modified','1','1242637108SGWW'),('No. Of Tickets','1','1242637108SGWX'),('Topic','1','1242668415BXDH'),('Topics','1','1242674480GIFT'),('Shows all the tickets in each customer','1','1242891601SANQ'),('This view shows all pending tickets submitted.  <br><ul><li>You can sort the list by status, types or categories.<br></li></ul><span style=\"text-decoration: underline; color: rgb(0, 0, 255);\">NOTE:</span> To see the replies to a ticket, click on the ticket title.','1','1242891602SJBW'),('Change the priority of the ticket if it\'s Top, High, Medium or Low','1','1243515652MOPF'),('All Pending Tickets','1','1243515654YGZ'),('New Pending','1','1243948338KVSR'),('Enter the name of you template<br>','1','1243948338KVSS'),('Name of the category to where the template belongs to<br><br>','1','1243948338KVST'),('Enter the contents of your template<br><br>','1','1243948338KVSU'),('Choose which type of template it belongs to <br>','1','1243948338KVSV'),('Name of the reply template<br>','1','1243948338KVSW'),('Content of the template<br>','1','1243948338KVSX'),('Use ','1','1243948339SXKG'),('<p>This views shows all the list of customers who created a ticket.<br />\r\n </p>\r\n\r\n<ul>\r\n	<li>Lists some details of your customers.</li>\r\n	<li>To see all the tickets in each customers, click <strong>View </strong>in View Tickets column.</li>\r\n</ul>','1','1243948340NJAG'),('This view shows a list of all replies for a certain problem or issues that are commonly asked.<br><ul><li>To view the content of the canned reply, click on the title.</li><li>To view the profile of the author of the canned reply, click on the name of the author.</li><li>To publish/unpublished canned reply, click on the icon on the Publish column.<br></li><li>To make canned reply public/private, click on the icon under Private column.</li></ul><span style=\"color: rgb(51, 0, 255); text-decoration: underline;\">NOTE:</span><br><ul><li>You can sort it by categories.<br></li></ul><span style=\"font-size: 11pt; line-height: 115%;\" calibri=\"\" ,=\"\" sans-serif=\"\" ;=\"\"></span>','1','1243948340NJAH'),('This listing shows all the canned replies related to the ticket<br><br><ul><li>If they have the save project and type at the same time<br></li></ul>','1','1243948340NJAI'),('Reply Templates Listing','1','1243948340NJAK'),('tktid','1','1244170034LNZS'),('This view shows all the newly created tickets which status is pending.  <br><br><span style=\"text-decoration: underline; color: rgb(0, 0, 255);\">NOTE:</span> To view the ticket, click on the ticket title.','1','1244432844QPLH'),('List of all new tickets','1','1244432844QPLI'),('Click here','1','1244448970SMQL'),('Gather some statistics on the ticket and ticket replies:<br><ul><li>time to create</li><li>word count</li><li>characters count</li></ul><br>','1','1244452929SQNM'),('If the template is published or not<br>','1','1244528095PTMY'),('Notify author','1','1244538609EMRI'),('What color of the star should be displayed in the rating?<br>','1','1246243850BLXA'),('If yes, the rating of the support is turned on<br><br>','1','1246243850BLXB'),('If rating is turned on.<br>Click yes, so that everyone can view the rating even the non-registered users but they can\'t still rate only the author can<br>Else only the author of the ticket and the admin<br>','1','1246243850BLXC'),('Display the IP address on the ticket and replies<br>','1','1246243850BLXD'),('If yes, only the IP address of the customers is displayed in the ticket details as well as in reply details.<br>if no, all the IP address of each reply is displayed and the creator of the ticket<br>','1','1246243850BLXE'),('Rating','1','1246243851IGLH'),('Color of the Stars','1','1246243851IGLI'),('Canned Replies','1','1246243852IPUQ'),('Average Rating','1','1246243852IPUR'),('Canned Reply','1','1246243853BGYZ'),('List of Canned Replies','1','1246243853BGZC'),('Unsolved Ticket(s)','1','1246243861SGIY'),('The ID of the category to where the comments are saved.<br>','1','1246509031MRER'),('Integration','1','1246509032AGXF'),('All Pending','1','1246509032AGXG'),('ticket.clickyesno','1','1246509662FEPJ'),('Show Canned Replies','1','1246643593OKUY'),('This view shows all tickets submitted.  <br><ul><li>You can sort the list by status, types or categories.<br></li></ul><span style=\"text-decoration: underline; color: rgb(0, 0, 255);\">NOTE:</span> To see the replies to a ticket, click on the ticket title.','1','1246846070EJIF'),('Ticket $namekey closed!','1','1248677667PZKH'),('Yes -the creator of the category is automatically assigned to the category created with a support level of 1.<br><br>No - no automatic assignment of moderator every time a category is created. <br>','1','1248677672IAXJ'),('Assign Moderators','1','1248677673EOOS'),('This view shows all tickets submitted.  <br><ul><li>You can sort the list by status, types or categories.</li></ul><span style=\"text-decoration: underline; color: rgb(0, 0, 255);\">NOTE:</span> To see the replies to a ticket, click on the ticket title.','1','1248677674RTGT'),('Add/Edit Category','1','1248677675SCFH'),('List of all tickets','1','1248677675SCFI'),('Description of the category.','1','1248762337DBEH'),('If yes, an email is automatically converted into a reply to a ticket reply when the cutomer creates a reply via their email account.<br>Else, won\'t automatic create a reply to a ticket from email.<br>','1','1249442398FIJX'),('Display the title of a ticket in the page header?<br>','1','1249442398FIJY'),('Display both title of a ticket and it\'s ticket number?<br>','1','1249442398FIKA'),('Email Conversion','1','1249442398FIKB'),('Page Header','1','1249442398FIKD'),('Title + Ticket #','1','1249442398FIKF'),('Page title','1','1249442400ONIO'),('Use this view to assign members to a project by clicking on the column Assigned.<br>The status will change from No to Yes or vise versa.','1','1249442401TITY'),('A category requires your attention','1','1249442407SINU'),('Online Status','1','1251084122MTBZ'),('If yes, a confirmation email sent to the author of the ticket after a ticket is successfully saved.','1','1251087468IYER'),('If yes, an email is sent to the author of a ticket to notify that the moderator or support replied to the ticket.<br>','1','1251087468IYES'),('If yes, the assigned moderator of the project where the ticket belongs can receive an email notification when a new a ticket or areply is created.<br>','1','1251087468IYET'),('If yes, the creator of the reply will receive an email which is a copy of reply that he/she created.','1','1251087468IYEU'),('To assigned moderators','1','1251087468IYEV'),('Ticket #','1','1251087469EETU'),('On Creation','1','1251087469EETV'),('On Replies','1','1251087469EETW'),('To assigned moderator','1','1251087469EETX'),('View Tickets','1','1251087473QQLF'),('This listing views all the tickets you submitted.<br><ul><li>Before creating a new ticket, please <span style=\"font-weight: bold;\">check if there is already an existing ticket</span> that has addressed your concerns. You can only create a new ticket if your concerns haven\'t been addressed yet.</li><li>To see the replies of the ticket created, just click on the ticket title.</li></ul><span style=\"color: rgb(51, 0, 255);\">More Information:</span> When searching for information in a listing, you can use keywords like the name key or title of the ticket. You can also automatically sort a listing by ticket type or category.','1','1251087477HEHD'),('To create a new canned reply, complete the fields asked:<br><ul><li>Title - the name of the canned reply.</li><li>Category - what category does this canned reply belongs.</li><li>Type - in what type of question does this canned reply belongs to.</li><li>Private - accessible only for the moderators.</li><li>Content - the content or description of the canned reply.</li></ul><span style=\"text-decoration: underline; color: rgb(51, 0, 255);\">NOTE:</span><br><ul><li>You can also create notes here, by making the canned reply as private so that only moderators can access it.<br></li></ul>','1','1251087478TJMO'),('This page allows you to set the notifications of each category.<br><br><ul><li>On Creation, an email confirmation will be sent to the author of the ticket.<br></li><li>On Replies, an email notification will be sent to the author of the reply when the support replied..</li><li>To assigned Moderator, an email is send to the assigned moderators to that category if and only if the moderator wants to receive a notification.</li><li>Send Copy, the creator of the reply will receive an email which is a copy of reply that he/she created.</li></ul>','1','1251087478TJMP'),('Customer\'s Listing','1','1251087478TJMQ'),('To Create Canned Reply','1','1251087478TJMR'),('Notification Settings','1','1251087478TJMS'),('Specify the time after which a ticket is considered late reply.<br><div>Unit in hours.</div>','1','1251253275MFSY'),('Email account of the sender to be used.<br>','1','1251253275MFSZ'),('Email account to be used where the email messages are sent to by the customers.<br>','1','1251253275MFTA'),('Automatic conversion of reply','1','1251253275MFTB'),('Bounceback Email','1','1251253275MFTC'),('Unpaid','1','1251298684SHUF'),('Solved','1','1251298684SHUG'),('Automatic assignment of moderator','1','1251364186BXWE'),('Allow non-registered','1','1251534828ITXB'),('If yes, non-registered users are allow to submit a ticket.<br>Else, only registered users can submit a ticket.<br>','1','1251770734GTUD'),('Use Comment System?','1','1251799425OCEW'),('Ticket ID: $ID','1','1253277991HEPH'),('Email Information','1','1253277998HJXE'),('Moderators','1','1253278002FXNZ'),('Use this view to assign or unassign moderators to a category:<br><br><ul><li>To assign or unassign a member, click the link under the column Assigned. The text link will change from <span style=\"color: rgb(255, 0, 51);\">No</span> to <span style=\"color: rgb(51, 153, 51);\">Yes</span> or vise versa.</li></ul><ul><li>Average Rating column is the total average rating of the moderator on a particular category.<br></li></ul><ul><li>If the assigned member don\'t want to be notified, click on the icon under Notify column and the icon will be changed from <a href=\"index.php?option=com_jtickets&controller=ticket-projectmembers&task=notify&uid=100&pjid=300&notify=1&titleheader=jAffiliates\"><img src=\"../joobi/user/themes/admin/joobi/images/toolbar/16/sendm.png\"></a> to <a href=\"index.php?option=com_jtickets&controller=ticket-projectmembers&task=notify&uid=2288&pjid=300&notify=0&titleheader=jAffiliates\"><img src=\"../joobi/user/themes/admin/joobi/images/toolbar/16/sendmno.png\"></a>.</li><li>These notification emails are when a customer created a ticket, a reply or  re-assign a ticket to his/her.<br></li></ul><br>','1','1253278002FXOA'),('See the list of moderators','1','1253278008KTBE'),('Tips/Guidelines','1','1253693139FSTT'),('Assigned Categories','1','1253939296HYAU'),('This view list all the moderators in assigning a category.<br><ul><li>You can filter the list of moderators by selecting the role of moderators in the drop down list.<br></li></ul><br>','1','1253939297EESY'),('To view the category assigned to a certain moderator','1','1253939300OXBL'),('Go back to the list of moderators','1','1253939300OXBM'),('Specify the number of support level you want to have.','1','1254902067FPJK'),('Referring name of your category. This cannot be edited anymore, so it\'s better to put a descriptive name.','1','1254973731GJXK');
INSERT IGNORE INTO `#__translation_en` (`text`,`auto`,`imac`) VALUES ('Click yes to turn on automatic conversion of email to ticket.<br>','1','1255339651QFOQ'),('Click yes if you want to enable automatic creation of account for unrecognized email senders and convert their email into ticket. Else their email will not be converted into ticket.<br>','1','1255339651QFOR'),('Tickets by email','1','1255339652JTFY'),('Create account for unrecognized email','1','1255339652JTFZ'),('Click yes to allow user to edit closed tickets.<br><br>','1','1257230970RONT'),('No. of Tickets','1','1257230973OYBY'),('Tickets Report','1','1257230973OYBZ'),('Category Report','1','1257230973OYCA'),('Ticket report','1','1257230975JKWA'),('Generate Report from specified date','1','1257230975JKWB'),('Display Categories report','1','1257230975JKWC'),('Generate Report on category ','1','1257298764NAIL'),('Click yes, if you want to disable status field in creating a ticket.<br><br>','1','1257399598DWZJ'),('Disable Status field','1','1257399598DWZK'),('To refresh the report page','1','1260160125KNUE'),('The ticket has been re-assigned','1','1262854806NJTU'),('follow up ticket','1','1262854813LBFV'),('the one who assigned the ticket','1','1262854813LBFW'),('Followup','1','1262854814JDXV'),('user log in','1','1262917442HNEK'),('If yes, online status of the author of the ticket and each reply isdisplayed else the status is turned off and won\'t be displayed.','1','1263029522MAWV'),('If yes, only the online status of the author of the ticket will be displayed else the status is turned off and won\'t be displayed.','1','1263029522MAWW'),('user id of the author of the ticket','1','1263029524PFPP'),('user id of the author','1','1263201180HVML'),('No Moderators','1','1271935558PJVM'),('Please enter the letter as you see them. This is a security check because you are not yet registered on the website.<br><br>','1','1271935565KMWP'),('Define the default privacy settings for a new ticket.<br>','1','1271935565KMWQ'),('Yes, if you want to use the comment system. It will create a category for the comments if not yet exist.<br>','1','1271935565KMWU'),('Assigned Tickets','1','1271935567GSFM'),('New Ticket','1','1271935568TCVA'),('These are the list of Topics.<br /><br /><span style=\"color:rgb(0,51,255);\"><span style=\"color:rgb(0,0,0);\"></span></span>','1','1271935568TCVC'),('This view is the Report on Total No. of Tickets created. <span style=\"font-weight: bold;\">By default, the report is generated by interval of Weekly of This Month range.</span><br><ul><li style=\"color: rgb(0, 0, 0);\"><span style=\"font-weight: bold;\">To change the date range of the generated report</span>, select the range in thedrop down list then it will automatically generated the report.</li><li style=\"color: rgb(0, 0, 0);\"><span style=\"font-weight: bold;\">To generate a report on a specific date</span>, select the start and end date in the specified date group, then click generate button.</li><li style=\"color: rgb(0, 0, 0);\">You can <span style=\"font-weight: bold;\">filter the report by selecting a values in the drop down list of Ticket types and/or Ticket status.</span></li><li><span style=\"font-weight: bold; color: rgb(0, 0, 0);\">Report Type</span><span style=\"color: rgb(0, 0, 0);\"> radio list is to change the view of report whether to display data in </span><span style=\"font-weight: bold; color: rgb(0, 0, 0);\">Graph or Data Listing.</span><br></li></ul><span style=\"color: rgb(204, 0, 0);\">NOTE:</span><br><ul><li>Click <span style=\"font-weight: bold;\">Refresh</span> Button to load the page again, if you change the selected intervals.</li><li>The <span style=\"font-weight: bold;\">Reference Time</span> is the <span style=\"font-weight: bold;\">Time Zone in the Local Settings of your Joomla Website Configuration.</span></li><li><span style=\"font-weight: bold;\"><span style=\"font-weight: bold;\">F</span></span>or<span style=\"font-weight: bold;\"> the Line Graph, the values are the relative of all data.</span></li></ul>','1','1271935568TCVD'),('This view is the Report on No. of Tickets each Category. <span style=\"font-weight: bold;\">By default, the report is generated by interval of Weekly of This Month range.</span><br><ul><li style=\"color: rgb(0, 0, 0);\"><span style=\"font-weight: bold;\">To change the date range of the generated report</span>, select the range in thedrop down list then it will automatically generated the report.</li><li style=\"color: rgb(0, 0, 0);\"><span style=\"font-weight: bold;\">To generate a report on a specific date</span>, select the start and end date in the specified date group, then click generate button.</li><li style=\"color: rgb(0, 0, 0);\">You can <span style=\"font-weight: bold;\">filter the report by selecting values in the drop down list of Ticket types and/or Ticket status.</span></li><li><span style=\"font-weight: bold; color: rgb(0, 0, 0);\">Report Type</span><span style=\"color: rgb(0, 0, 0);\"> radio list is to change the view of report whether to display data in </span><span style=\"font-weight: bold; color: rgb(0, 0, 0);\">Graph or Data Listing.</span><br></li></ul><span style=\"color: rgb(204, 0, 0);\">NOTE:</span><br><ul><li>Click <span style=\"font-weight: bold;\">Refresh</span> Button to load the page again, if you change the selected intervals.</li><li>The <span style=\"font-weight: bold;\">Reference Time</span> is the <span style=\"font-weight: bold;\">Time Zone in the Local Settings of your Joomla Website Configuration.</span></li></ul>','1','1271935568TCVE'),('The email inputted does not match the email address of the author!','1','1274840559DZKC'),('Inform the first assigned moderator when a ticket has been re-assigned to another moderator by sending a notification email.<br><br>','1','1274840563ACFV'),('Notify the first assigned moderator that a reply is made by the author of the ticket.<br>','1','1274840563ACFW'),('Inform first assigned moderator','1','1274840563ACFY'),('Notify first assigned moderator','1','1274840563ACFZ'),('Click YES, if you want the first assigned moderator follow-ups the ticket when assigned to other moderator.<br><br>','1','1274853994MOVS'),('Follow-up the ticket','1','1274853995IMCH'),('check if the ticket is already read','1','1275546208KHTH'),('check if ticket is read or not','1','1275546208KHTI'),('An error occured while saving your email address, please try again.','1','1298350701PQGH'),('Last Post','1','1301972449PYGW'),('Posted By: ','1','1301972449PYGX'),('Number of Posts','1','1301972449PYGY'),('Number of Sub Topics','1','1301972449PYGZ'),('New Topic','1','1301972467EVBQ'),('My Topics','1','1301972467EVBR'),('Sub Topics','1','1301972476PCKS'),('Topic Nested','1','1301972484PNWJ'),('List of Topics','1','1301972485LRRR'),('Ticket type','1','1302521419ICOC'),('<p>This view shows all the categories.</p>\r\n\r\n<ul>\r\n	<li>You can Add, Edit or Delete a category.</li>\r\n	<li><span style=\"color:rgb(51, 51, 255)\">Assign</span>: This link allows you to assign moderators to a category.</li>\r\n	<li><span style=\"color:rgb(51, 51, 255)\">Tickets</span>: This link allows you to see all the tickets submitted for that category.</li>\r\n	<li><span style=\"color:rgb(51, 51, 255)\">Canned Replies:</span> This link allows you to see all the list of possible replies on a certain issues submitted in the ticket.</li>\r\n</ul>\r\n\r\n<p><span style=\"color:rgb(51, 51, 255)\">NOTE</span>: Please don&#39;t delete the category named \"Default Category\".</p>','1','1302868720HXKT'),('Cannot Assign Ticket! You are the only moderator on this project.','1','1303289070EWBD'),('','1','1304525968YBL'),('Previous Tickets','1','1306127237JGYC'),('Customer Tickets','1','1306127247PKPG'),('Modifiedby','1','1310007858PLWN'),('You need to turn on the preference Tickets by email!','1','1325527934LWRY'),('subscribe','1','1329161820RPTN'),('Ticket ID is Empty','1','1330529258DZNE'),('Your reply is too short!','1','1330529258DZNF'),('The ticket cannot be assigned because there is only one Support Agent assigned to this category.','1','1330529258DZNG'),('Default privacy settings','1','1330529264IHSD'),('Forum like','1','1330529264IHSE'),('No reply yet!','1','1339527673WLQ'),('Allow file upload','1','1340214246QLDQ'),('Yes to allow user to upload files.','1','1340214246QLDR'),('Rolid','1','1347652452OQAE'),('Knowledge Base','1','1361919649HLBV'),('Select category','1','1361919649HLBW'),('Select status','1','1361919650QJLA'),('Select type','1','1361919650QJLB'),('Tktypeid','1','1361919652QSMD'),('The name is shown to the user.<br>','1','1361919656JBOJ'),('The alias is only shown to the Support Manager<br>','1','1361919656JBOK'),('Block Spammers','1','1369750812CTEV'),('Notify of Spammers','1','1369750812CTEW'),('Bad words filter','1','1369750812CTEX'),('Spam filter','1','1369750812CTEY'),('Yes, to block users whose post are flagged as spam.<br>','1','1369750812CTEZ'),('Yes, to notify the Support Manager of Spammers. The manager will receive an email with information about the spammer, the spam post and link to unblock the user if necessary.<br>','1','1369750812CTFA'),('Define a list of bad words considered as spam.<br>Separate each expression by a comma.<br>If any of those words are found in the post, the words are replaced by ****.<br>','1','1369750812CTFB'),('Define a list of bad words considered as spam.<br>Separate each expression by a comma.<br>If any of those words are found in the post, the post is unpublished automatically.<br>','1','1369750812CTFC'),('In progress','1','1373466832FDPH'),('To save and assign ticket','1','1376432916NMHS'),('This task will trigger when you want to save the reply and re-assign the ticket to another moderator at the same time.<br>','1','1376432916NMHT'),('Ticket {widget:param|name=ticketid}','1','1380065050EKTP'),('({widget:param|name=priority})Ticket {widget:param|name=ticketid} for {widget:param|name=category}','1','1380065050EKTQ'),('Ticket {widget:param|name=ticketid} for {widget:param|name=category}','1','1380065050EKTR'),('Unsolved Ticket [{widget:param|name=ticketid}]','1','1380065050EKTS'),('({widget:param|name=priority}) Support required for ticket [{widget:param|name=ticketid}] of category {widget:param|name=category}','1','1380065050EKTT'),('Unanswered Ticket {widget:param|name=ticketid}','1','1380065050EKTU'),('Unpaid Ticket {widget:param|name=ticketid}','1','1380065050EKTV'),('Not enough credits for Ticket {widget:param|name=ticketid} response','1','1380065050EKTW'),('Response for Ticket {widget:param|name=ticketid}','1','1380065050EKTX'),('Copy of reply you created in the Ticket [{widget:param|name=ticketid}]','1','1380065050EKTY'),('Ticket [{widget:param|name=ticketid}] has been re-assigned','1','1380065050EKTZ'),('Duplicate Copy: Ticket {widget:param|name=ticketid} for {widget:param|name=category}','1','1380065050EKUA'),('Hello {widget:name},\r\n\r\nThis is an automated message, please do not reply. This confirm that your ticket has been recorded.  The ticket number is {widget:param|name=ticketid} .\r\n\r\n{widget:param|name=link}\r\n\r\nPlease be patient and do not submit multiple requests for the same question.\r\n\r\nThank you.\r\n{widget:sitename}','1','1380065050EKUB');
INSERT IGNORE INTO `#__translation_en` (`text`,`auto`,`imac`) VALUES ('A ticket has been submitted for the category {widget:param|name=category}.\r\n\r\nTitle: {widget:param|name=title}.\r\n\r\nContent:\r\n\r\n{widget:param|name=description}\r\n\r\n\r\n{widget:param|name=link}','1','1380065050EKUC'),('A reply has been recorded for the ticket {widget:param|name=ticketid} (category {widget:param|name=category}.\r\n\r\nContent:\r\n\r\n{widget:param|name=description}\r\n\r\n\r\n{widget:param|name=link}','1','1380065050EKUD'),('Hello {widget:name},\r\n\r\nThis is an automated message, please do not reply. A reply has been recorded for your ticket {widget:param|name=ticketid}.\r\n\r\nLink:\r\n{widget:param|name=link}\r\n\r\nContent:\r\n{widget:param|name=description}\r\n\r\nKind regards,\r\n{widget:sitename} Team','1','1380065050EKUE'),('Hi,\r\n\r\nYou still have ticket [{widget:param|name=ticketid}] which is still unsolved. If you want to close this ticket automatically, click this link {widget:param|name=linkclose}.\r\n\r\nTicket information\r\n\r\nTitle: {widget:param|name=title}\r\nCreated: {widget:param|name=created}\r\nBy: {widget:param|name=author}\r\nStatus: {widget:param|name=status}\r\n\r\nLast reply: {widget:param|name=lastreply}\r\n\r\nLink to view the Ticket:\r\n{widget:param|name=link}','1','1380065050EKUF'),('Hi,\r\n\r\nYour support is required to solve the ticket {widget:param|name=ticketid} of category {widget:param|name=category}. This ticket is assigned by {widget:param|name=assignedby}.\r\n\r\n\r\nTicket information:\r\n\r\nTitle: {widget:param|name=title}\r\nCreated: {widget:param|name=created}\r\n\r\n\r\nLink: {widget:param|name=link}\r\n\r\nContent:\r\n{widget:param|name=description}\r\n\r\n\r\nThank you.\r\n\r\n','1','1380065050EKUG'),('Hello {widget:name}\r\n\r\nHereafter is a list of tickets which have been automatically closed due to lack of response.  If you consider the issue solved, you have nothing to do.\r\nHowever if the issue is not yet solved then you can re-open the ticket at any time.\r\n\r\n{widget:param|name=message}\r\n\r\nTicket information\r\n\r\nList of tickets:\r\n\r\n{widget:param|name=ticketids}','1','1380065050EKUH'),('Hello {widget:name}\r\n\r\nWe have not received any response back from you for ticket {widget:param|name=ticketid} in the last {widget:param|name=delaywarning} days, and would like to know if you consider this issue to be resolved.\r\n\r\nPlease note that the ticket will automatically be closed in {widget:param|name=closein} days if no response is received from you. The Ticket will not be closed in the case that you send another reply.\r\n\r\nLink:\r\n{widget:param|name=link}\r\n{widget:param|name=linkclose}\r\n\r\nTitle:\r\n{widget:param|name=title}\r\n\r\nContent:\r\n{widget:param|name=description}\r\n\r\n\r\n\r\nPowered by Joobi','1','1380065050EKUI'),('Hi Support,\r\n\r\nUnpaid ticket has been submitted for the project  {widget:param|name=project}.\r\n\r\nTitle:\r\n{widget:param|name=title}\r\n\r\nLink:\r\n{widget:param|name=link}\r\n\r\nContent:\r\n{widget:param|name=description}\r\n\r\nPlease don\'t reply though unless it is paid.\r\n\r\nThank You','1','1380065050EKUJ'),('Hello {widget:name},\r\n\r\nHere is a copy of your reply created for the Ticket: {widget:param|name=ticketid}.\r\n\r\nContent:\r\n{widget:param|name=description}\r\n\r\n\r\nKind Regards,\r\n{widget:sitename} Team\r\n\r\n\r\n','1','1380065050EKUK'),('Hi {widget:name},\r\n\r\nThe ticket you are handling has been re-assigned to another moderator named, {widget:param|name=newmoderator}.\r\nTo view the ticket, follow this link {widget:param|name=link}.\r\n\r\nFor a brief summary, here\'s the content of the ticket:\r\nTitle:\r\n{widget:param|name=title}\r\n\r\nContent:\r\n{widget:param|name=description}\r\n\r\n\r\n','1','1380065050EKUL'),('Hi {widget:name},\r\n\r\nThis is to inform you that the ticket which was assigned to you, a new reply has been recorded. To view the ticket, follow this link, {widget:param|name=link}.\r\n\r\nHere are the following information of the ticket:\r\n\r\nCategory Name:\r\n{widget:param|name=category}\r\n\r\nTicket ID:\r\n{widget:param|name=ticketid}\r\n\r\n\r\nContent:\r\n{widget:param|name=description}\r\n\r\n\r\n\r\n','1','1380065050EKUM'),('<p>Hello {widget:name},<br /><br />This is an automated message, please do not reply. This confirm that your ticket has been recorded.  The ticket number is {widget:param|name=ticketid} .<br /><br /><span style=\"font-style: italic; font-weight: bold; text-decoration: underline;\">Link:</span><br />{widget:param|name=link}<br /><br /><span style=\"font-style: italic; font-weight: bold; text-decoration: underline;\">Title:</span><br />{widget:param|name=title}<br /><br /><span style=\"font-weight: bold; font-style: italic; text-decoration: underline;\">Content:</span><br />{widget:param|name=description}<br /><br />Please be patient and do not submit multiple requests for the same question.<br /><br />Thank you.<br />{widget:sitename}</p>\r\n<p> </p>\r\n<p> </p>','1','1380065050EKUN'),('<p>Hello {widget:name}<br /><br />Hereafter is a list of tickets which have been automatically closed due to lack of response.  If you consider the issue solved, you have nothing to do.<br />However if the issue is not yet solved then you can re-open the ticket at any time.<br /><br />{widget:param|name=message}<br /><br /><span style=\"font-style: italic; font-weight: bold; text-decoration: underline;\">List of Tickets:</span><br /><br />{widget:param|name=ticketids}<br /><br /><br /></p>','1','1380065050EKUU'),('<p>Hello {widget:name},</p>\r\n<p> </p>\r\n<p>You have received a response for your ticket {widget:param|name=ticketid} and your credit had been deducted.</p>\r\n<p> </p>\r\n<p><span style=\"text-decoration: underline;\"><span style=\"font-weight: bold; font-style: italic;\">Remaining Credits</span>:</span> {widget:param|name=credits}</p>\r\n<p> </p>\r\n<p>To Add more credits {widget:param|name=link2}</p>\r\n<p> </p>\r\n<p><span style=\"text-decoration: underline; font-style: italic; font-weight: bold;\">Link</span></p>\r\n<p>{widget:param|name=link}</p>\r\n<p> </p>\r\n<p><span style=\"text-decoration: underline; font-style: italic; font-weight: bold;\">Content</span></p>\r\n<p>{widget:param|name=description}<br /><br /><br /><br />Kindly,</p>\r\n<p>{widget:sitename} team</p>\r\n<p> </p>','1','1380065050EKUY'),('<p>Hi {widget:firstname},<br />\r\n<br />\r\nThe ticket you submitted has been assigned to a new agent to better serve you.</p>\r\n\r\n<p>To view the ticket, follow this link {widget:param|name=link}.<br />\r\n<br />\r\nRegards,<br />\r\n{widget:sitename} team</p>\r\n','1','1380065050EKVA'),('<p>Hi,</p>\r\n<p><br />The following user got banned from your website because their used a word that you classified as bad words.</p>\r\n<p>The user profile {widget:param|name=name} has been blocked, so the user can\'t access the website any more.</p>\r\n<p>Name: {widget:param|name=name}</p>\r\n<p>Username: {widget:param|name=username}</p>\r\n<p> </p>\r\n<p>If you think this is a mistake you can manually unblock this user here:</p>\r\n<p> {widget:param|name=profileLink}</p>\r\n<p> </p>\r\n<p>The post which contain the \"Bad Words\" has been unpublished.</p>\r\n<p> </p>\r\n<p> </p>','1','1380065050EKVC'),('Tickets Preferences','1','1380567700MUPJ'),('Disable Type','1','1389742176NZPI'),('Edit Close ticket','1','1389742176NZPJ'),('Click yes to allow moderator to have a signature.<br><br>','1','1389742176NZPK'),('Plan','1','1389879775LPOL'),('Click here to view the ticket','1','1389884098SHJK'),('Use Rating','1','1389884105BXKZ'),('Allow others to see the rating','1','1389884105BXLA'),('Display IP','1','1389884105BXLB'),('Only customers IP','1','1389884105BXLC'),('Display status','1','1389884105BXLD'),('Only customers status','1','1389884105BXLE'),('Late reply notification','1','1389884105BXLF'),('Notify on late reply','1','1389884105BXLG'),('Late delay','1','1389884105BXLH'),('Notify customer on assignment','1','1389884105BXLI'),('Moderator Editor','1','1389884105BXLJ'),('To all moderators','1','1389884105BXLK'),('If yes, an email is send to the assigned moderators to a category where the ticket belongs when a ticket or a reply is created.','1','1389884105BXLL'),('Define the front-end user\'s editor to use.','1','1389884105BXLM'),('Name of the sender to be displayed in the email.<br>','1','1389884105BXLN'),('Yes to send an email to the tickets which we are late to reply.<br>','1','1389884105BXLO'),('Yes to notify customer when their ticket has been re-assigned to a new agent. ','1','1389884105BXLP'),('Define the back-end moderator\'s editor to use.','1','1389884105BXLQ'),('Ticket late reply','1','1389884106NVYT'),('Send an email to the customer when the support agents are not able to answer a ticket before the pre-defined delay.','1','1389884106NVYU'),('We apologize for the delay answering your ticket [{widget:param|name=ticketid}]','1','1389884106NVYV'),('<p>Hello&nbsp;{widget:firstname},</p><p>This is an automatic notification.</p><p>We apologize for the delay answering your ticket&nbsp;&nbsp;[{widget:param|name=ticketid}]. All our agents are busy answering the tickets in the order they have been received.</p><p>&nbsp;</p><p>Should you need to update the ticket:&nbsp;{widget:param|name=link2Ticket}</p><p>&nbsp;</p><p>Thank you for your patience.</p><p>{widget:sitename} team</p>','1','1389884107KIEW'),('1389792823','1','1389884107KIEY'),('Use Moderator Signature','1','1391449702RRNT'),('Yes to show the users their position in the waiting queue.<br>','1','1391449702RRNU'),('Canned Replies for category','1','1391449703JOQH'),('There is currently 1 customer ahead of you!','1','1391456064JYEB'),('There are currently $NUMBER customers ahead of you!','1','1391456064JYEC'),('Select New Owner','1','1391456069QIKE'),('If yes, the type is disabled and not required to create a ticket<br>','1','1391456071GLEX'),('Change Owner','1','1391456071GLEY'),('Basic - Low','1','1391514073SJUO'),('Basic - Medium','1','1391514073SJUP'),('Basic - High','1','1391514073SJUQ'),('Basic - Top','1','1391514073SJUR'),('Standard - Low','1','1391514073SJUS'),('Standard - Medium','1','1391514073SJUT'),('Standard - High','1','1391514073SJUU'),('Standard - Top','1','1391514073SJUV'),('Premium - Low','1','1391514073SJUW'),('Premium - Medium','1','1391514073SJUX'),('Premium - High','1','1391514073SJUY'),('Premium - Top','1','1391514073SJUZ'),('Ultimate - Low','1','1391514073SJVA'),('Ultimate - Medium','1','1391514073SJVB'),('Ultimate - High','1','1391514073SJVC'),('Ultimate - Top','1','1391514073SJVD'),('Api key','1','1391514079NAKA'),('Ask site URL','1','1391514081ASQZ'),('Site URL','1','1391514081ASRA'),('Yes to ask the user their website url.<br><br>','1','1391514081ASRB'),('Select the site you are requesting support for.','1','1391514082KIRR'),('Select priority','1','1391713549PJNT'),('All status','1','1391816989CHEJ'),('Waiting agent','1','1391816989CHEK'),('Assigned new agent','1','1391816989CHEL'),('Waiting customer','1','1391816989CHEM'),('Unsolved ticket delay','1','1392328335OMWK'),('Define in hours, the delay to consider for sending an reminder email to the moderator of their unsolved tickets.','1','1392328335OMWL'),('New Pending Tickets','1','1392759605KKLR'),('row1','1','1394069593IQAQ'),('row2','1','1394069593IQAR'),('Stick','1','1395500429FBNE'),('Send Menssage','1','1395500429FBNF'),('No Not Send Menssage','1','1395500429FBNG'),('row3','1','1395500433JYZM'),('Enter a title for the ticket.  A good title is short and descriptive of your issue.','1','1395500433JYZN'),('Please enter a name.<br>','1','1395500433JYZO'),('Change Author','1','1397143969FGJW'),('Identifier','1','1398436917DTKC'),('Display the ticket number or the identifier in the page header?<br>','1','1398536246MPRP'),('Create or modify a category.<br>The Identifier is a not mandatory but will be generated automatically if nothing is entered. However, once saved you cannot edit the identifier.<br>','1','1398536247ALAN'),('You need to $SUBSCRIBE_LINK before you can submit a ticket!','1','1400081599RXJU'),('User choose privacy','1','1400696335NLEL'),('Define if the user can choose the privacy settings for the ticket.<br>','1','1400696336EJLJ'),('Enable Queue position','1','1400709085CDEN'),('$QUESTION_LINK to view your previous questions.','1','1401197668CUMG'),('Change the type of the ticket','1','1406669386YJR'),('1410011302','1','1410185824MPXV');
INSERT IGNORE INTO `#__translation_en` (`text`,`auto`,`imac`) VALUES ('<ul><li>Before creating a new ticket, please <span style=\"font-weight:bold;\">check if there is already an existing ticket</span> that has addressed your concerns. You can only create a new ticket if your concerns haven\'t been addressed yet.</li><li>To see the replies of the ticket created, just click on the ticket title.</li></ul><span style=\"color:rgb(0,0,153);\">More Information: </span>When searching for information in a listing, you can use keywords like the name key or title of the ticket. You can also automatically sort a listing by ticket type or category.','1','1418159648NYLH'),('This view shows all tickets submitted.  <br><ul><li>You can sort the list by status, types or projects.<br></li></ul><span style=\"text-decoration: underline; color: rgb(0, 0, 255);\">NOTE:</span> To see the replies to a ticket, click on the ticket title.','1','1418159648NYLI'),('This view shows all the project created in jTickets.<br><ul><li>You can Add, Edit or Delete project.</li><li><span style=\"text-decoration: underline; color: rgb(0, 0, 255);\">Assign</span><span style=\"color: rgb(0, 0, 255);\">:</span> this button allows you to assign a project to members.</li><li><span style=\"text-decoration: underline; color: rgb(0, 0, 255);\">Show Tickets:</span> This column provides a link to all tickets for that project.</li></ul>','1','1418159648NYLJ'),('Someone got banned from your site due to use of \"Bad Words\"','1','1418159648NYLK'),('<p><br />A ticket has been submitted for the category {widget:param|name=category}.<br /><br /><span style=\"font-style: italic; font-weight: bold; text-decoration: underline;\">Title:</span> {widget:param|name=title}<br /><br /><span style=\"text-decoration: underline; font-style: italic; font-weight: bold;\">Link:</span><br />{widget:param|name=link}<br /><br /><span style=\"text-decoration: underline; font-style: italic; font-weight: bold;\">Content:</span><br />{widget:param|name=description}<br /><br /></p>\r\n<p> </p>','1','1418159648NYLL'),('<p>Hi,<br /><br />A reply has been recorded for the ticket {widget:param|name=ticketid} for the category {widget:param|name=category}.<br /><br /><span style=\"font-style: italic; font-weight: bold; text-decoration: underline;\">Link:</span><br />{widget:param|name=link}<br /><br /><span style=\"font-weight: bold; font-style: italic; text-decoration: underline;\">Content:</span><br />{widget:param|name=description}<br /><br /><br /></p>','1','1418159648NYLM'),('<p>Hello {widget:name},<br /><br />This is an automated message, please do not reply. A reply has been recorded for your ticket {widget:param|name=ticketid}.<br /><br /><span style=\"font-weight: bold; font-style: italic; text-decoration: underline;\">Link:</span><br />{widget:param|name=link}<br /><br /><span style=\"font-weight: bold; font-style: italic; text-decoration: underline;\">Content:</span><br />{widget:param|name=description}<br /><br />Kind Regards,<br />{widget:sitename} Team<br /><br /></p>\r\n<p> </p>','1','1418159648NYLN'),('<p>Hi {widget:name},<br /><br />You still have <span style=\"font-weight: bold;\">unsolved</span> <span style=\"font-weight: bold;\">ticket</span> <span style=\"font-weight: bold;\">[{widget:param|name=ticketid}]</span>.<br />If you think that this ticket needs no answer, {widget:param|name=linkclose}.<br /><br /><span style=\"font-weight: bold;\">Ticket information</span>:<br /><br /><span style=\"font-style: italic; text-decoration: underline;\">Title:</span> {widget:param|name=title}<br /><span style=\"font-style: italic; text-decoration: underline;\">Created:</span> {widget:param|name=created}<br /><span style=\"font-style: italic; text-decoration: underline;\">By:</span> {widget:param|name=author}<br /><br /><span style=\"font-style: italic; text-decoration: underline;\">Last reply:</span> {widget:param|name=lastreply}<br /><br /><span style=\"font-weight: bold; font-style: italic; text-decoration: underline;\">Link to view the Ticket:</span><br />{widget:param|name=link}<br /><br /></p>\r\n<p> </p>','1','1418159648NYLO'),('<p>Hi,<br /><br />Your support is required to solve the ticket [{widget:param|name=ticketid}] of category {widget:param|name=category}. This ticket is assigned by {widget:param|name=assignedby}.<br /><br /><span style=\"font-style: italic; text-decoration: underline; font-weight: bold;\">Ticket information</span><br /><br />Title: {widget:param|name=title}<br />Created: {widget:param|name=created}<br /><br /><span style=\"font-weight: bold; font-style: italic;\"><span style=\"text-decoration: underline;\">Comments</span>:</span><br />{widget:param|name=comment}<br /><br /><span style=\"font-style: italic; font-weight: bold; text-decoration: underline;\">Link:</span> <br />{widget:param|name=link}<br /><br /><span style=\"font-style: italic; font-weight: bold; text-decoration: underline;\">Content:</span><br />{widget:param|name=description}<br /><br /><br />Thank you.</p>\r\n<p><br /><br /><br /><br /></p>','1','1418159648NYLP'),('<p>Hello,<br /><br />There is no assigned person to this category, but you require a notification email to send for new tickets.<br /><br />Below is the details of the ticket.<br /><br /><span style=\"font-weight: bold; font-style: italic; text-decoration: underline;\">Category:</span> {widget:param|name=category}<br /><br />This ticket needs you attention<br /><span style=\"font-weight: bold; font-style: italic; text-decoration: underline;\">TicketID:</span> {widget:param|name=ticketid}<br /><br /><span style=\"text-decoration: underline; font-style: italic; font-weight: bold;\">Link:</span><br />{widget:param|name=link}<br /><br /><span style=\"font-weight: bold; font-style: italic; text-decoration: underline;\">Title:</span><br />{widget:param|name=title}<br /><br /><span style=\"font-weight: bold; font-style: italic; text-decoration: underline;\">Content: </span><br />{widget:param|name=description}<br /><br /><br />Thank you<br /><br /><br /></p>\r\n<p> </p>','1','1418159648NYLQ'),('<p>Hello {widget:name}<br /><br />We have not received any response back from you for ticket {widget:param|name=ticketid} in the last {widget:param|name=delaywarning} days, and would like to know if you consider this issue to be resolved. <br /><br />Please note that the ticket will automatically be closed in {widget:param|name=closein} days if no response is received from you. The Ticket will not be closed in the case that you send another reply.<br /><br /><span style=\"font-style: italic; font-weight: bold; text-decoration: underline;\">Links:</span><br />{widget:param|name=link}<br /><br />{widget:param|name=linkclose}<br /><br /><span style=\"font-weight: bold; font-style: italic; text-decoration: underline;\">Title:</span><br style=\"font-weight: bold; font-style: italic; text-decoration: underline;\" />{widget:param|name=title}<br /><br /><span style=\"font-style: italic; font-weight: bold; text-decoration: underline;\">Content:</span><br />{widget:param|name=description}<br /><br /><br /><br /></p>\r\n<p> </p>','1','1418159648NYLR'),('<p>Hi Support,<br /><br />Unpaid ticket has been submitted.<br /><br /><span style=\"font-style: italic; font-weight: bold; text-decoration: underline;\">Title:</span><br /> {widget:param|name=title}<br /><br /><span style=\"text-decoration: underline; font-weight: bold; font-style: italic;\">Link:</span><br />{widget:param|name=link}<br /><br style=\"font-weight: bold; font-style: italic; text-decoration: underline;\" /><span style=\"font-weight: bold; font-style: italic; text-decoration: underline;\">Content:</span><br />{widget:param|name=description}<br /><br />Please don\'t reply thought unless ticket is paid.<br /><br />Thank You<br /><br /></p>\r\n<p> </p>','1','1418159648NYLS'),('<p>Hello {widget:name},</p>\r\n<p> </p>\r\n<p>You have unpaid ticket {widget:param|name=ticketid}.</p>\r\n<p> </p>\r\n<p>You need to subscribe to have credits.<br /><br /><br /><span style=\"text-decoration: underline; font-weight: bold; font-style: italic;\">Subscribe here:</span><br />{widget:param|name=link}<br /><br /><br /></p>\r\n<p>Kindly,<br />{widget:sitename} team</p>\r\n<p> </p>\r\n<p> </p>','1','1418159648NYLT'),('<p>Hello {widget:name},<br /><br />Here is a copy of your reply created for the Ticket: {widget:param|name=ticketid}.<br /><br /><span style=\"text-decoration: underline; font-size: small;\"><span style=\"font-style: italic; font-weight: bold;\">Content:</span></span><br />{widget:param|name=description}<br /><br /><br />Kind Regards,<br />{widget:sitename} Team<br /><br /></p>','1','1418159648NYLU'),('<p>Hi {widget:name},<br /><br />The ticket you are handling has been re-assigned to another moderator named, {widget:param|name=newmoderator}. <br />To view the ticket, follow this link {widget:param|name=link}.<br /><br />Here\'s the summary of the ticket: <br /><span style=\"font-weight: bold; text-decoration: underline; font-style: italic;\">Title:</span><br />{widget:param|name=title}<br /><br /><span style=\"font-weight: bold; text-decoration: underline; font-style: italic;\">Content:</span><br />{widget:param|name=description}<br /><br /></p>','1','1418159648NYLV'),('Hi {widget:name},<br><br>This is to inform you that a new reply has been recorded to that ticket you are handling with. <br>To view the ticket, follow this link, <span style=\"font-style: italic; font-weight: bold; text-decoration: underline;\"></span>{widget:param|name=link}.<br><br>Here are the following information of the ticket:<br><br><span style=\"font-weight: bold; font-style: italic; text-decoration: underline;\">Category Name: </span><br>{widget:param|name=category}<br><br><span style=\"font-weight: bold; font-style: italic;\"><span style=\"text-decoration: underline;\">Ticket ID</span>: </span><br>{widget:param|name=ticketid}<br><span style=\"font-weight: bold; font-style: italic; text-decoration: underline;\"></span><span style=\"font-weight: bold; text-decoration: underline; font-style: italic;\"></span><br><span style=\"font-weight: bold; font-style: italic; text-decoration: underline;\">Content:</span><br>{widget:param|name=description}<br><br><br><br><div style=\"text-align: center;\">Powered by <a href=\"http://www.joobi.co/\" target=\"_blank\">Joobi</a><br></div>','1','1418159648NYLW'),('You can now assign moderators to your category','1','1427332033SXPP');
SET @dbcid_110 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='232uid' LIMIT 1);
SET @dbcid_111 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='532authoruid' LIMIT 1);
SET @dbcid_112 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='532tkid' LIMIT 1);
SET @dbcid_113 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='534tkrid' LIMIT 1);
REPLACE INTO `#__dataset_constraintsitems` (`ctid`,`ordering`,`sort`,`dbcid`) VALUES (( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='IX_site_extension_url' LIMIT 1),'0','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='211url' LIMIT 1));
REPLACE INTO `#__dataset_constraintsitems` (`ctid`,`ordering`,`sort`,`dbcid`) VALUES (( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_members_node' LIMIT 1),'1','0',@dbcid_110),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_product_node_pid' LIMIT 1),'1','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='306pid' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='IX_product_node_publish_prodtypid' LIMIT 1),'2','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='306prodtypid' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='IX_product_node_publish_prodtypid' LIMIT 1),'1','1',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='306publish' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_product_categoryproduct_pid_catid' LIMIT 1),'1','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='338catid' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_product_categoryproduct_pid_catid' LIMIT 1),'2','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='338pid' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='IX_members_node_name' LIMIT 1),'1','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='232name' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='UK_members_node_username' LIMIT 1),'1','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='232username' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='UK_members_node_email' LIMIT 1),'5','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='232email' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_content|main_joomla15' LIMIT 1),'1','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='356id' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='UK_405_namekey' LIMIT 1),'1','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='405namekey' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_projecttrans_pjid_lgid' LIMIT 1),'1','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='410pjid' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_projecttrans_pjid_lgid' LIMIT 1),'2','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='410lgid' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='UK_product_node_namekey' LIMIT 1),'1','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='306namekey' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_project_members_pjid_uid' LIMIT 1),'1','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='526pjid' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_project_members_pjid_uid' LIMIT 1),'2','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='526uid' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='IX_ticket_node_authoruid' LIMIT 1),'1','0',@dbcid_111),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='IX_ticket_node_modified' LIMIT 1),'1','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='532modified' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_ticket_node_tkid' LIMIT 1),'1','0',@dbcid_112),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='IX_ticket_trans_description' LIMIT 1),'1','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='533description' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_tickettrans_tkid_lgid' LIMIT 1),'2','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='533lgid' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='IX_ticket_trans_name' LIMIT 1),'1','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='533name' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_tickettrans_tkid_lgid' LIMIT 1),'1','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='533tkid' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='IX_ticket_reply_created' LIMIT 1),'1','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='534modified' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='IX_ticket_node_tkid' LIMIT 1),'1','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='534tkid' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_ticket_reply' LIMIT 1),'1','0',@dbcid_113),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='IX_ticket_replytrans_name' LIMIT 1),'1','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='535description' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_ticket_replytrans_tkrid_lgid' LIMIT 1),'2','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='535lgid' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_ticket_replytrans_tkrid_lgid' LIMIT 1),'1','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='535tkrid' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_ticket_files_filid_tkid' LIMIT 1),'2','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='582filid' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_ticket_files_filid_tkid' LIMIT 1),'1','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='582tkid' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='IX_ticket_node_pjid' LIMIT 1),'1','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='532pjid' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_ticket_reply_files' LIMIT 1),'1','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='676tkrid' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_ticket_reply_files' LIMIT 1),'2','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='676filid' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='IX_product_node_vendid' LIMIT 1),'1','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='vendid306' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_ticket_template' LIMIT 1),'1','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='749tktid' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_ticket_templatetrans' LIMIT 1),'1','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='750tktid' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_ticket_templatetrans' LIMIT 1),'2','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='750lgid' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_ticket_rating' LIMIT 1),'1','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='758trid' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_ticket_clickyesno' LIMIT 1),'1','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='761clickid' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='IX_product_node_priceid' LIMIT 1),'1','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='pricetype306' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_jos_ticket_type|main_userdata' LIMIT 1),'1','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='1010tktypeid' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='UK_namekey_jos_ticket_type' LIMIT 1),'5','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='namekey1010' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_jos_ticket_typetrans|main_userdata' LIMIT 1),'1','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='1012tktypeid' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='PK_jos_ticket_typetrans|main_userdata' LIMIT 1),'2','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='lgid1012' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='IX_product_node_longitute_latitude' LIMIT 1),'1','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='longitude306' LIMIT 1)),(( SELECT `ctid` FROM `#__dataset_constraints`  WHERE `namekey`='IX_product_node_longitute_latitude' LIMIT 1),'1','0',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='latitude306' LIMIT 1));
SET @ref_feid_114 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='199lgid' LIMIT 1);
SET @ref_feid_115 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='405pjid' LIMIT 1);
SET @ref_feid_116 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='566rolid' LIMIT 1);
SET @ref_feid_117 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='478filid' LIMIT 1);
SET @pk_77_322 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_5 AND `ref_dbtid`=' SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`=\'productcat.trans\' LIMIT 1' AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'338catid\' LIMIT 1' LIMIT 1 );
SET @pk_77_323 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_5 AND `ref_dbtid`=@dbtid_3 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'338pid\' LIMIT 1' LIMIT 1 );
SET @pk_77_353 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_1 AND `ref_dbtid`=@dbtid_22 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'232lgid\' LIMIT 1' LIMIT 1 );
SET @pk_77_464 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_4 AND `ref_dbtid`=@dbtid_1 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'405uid\' LIMIT 1' LIMIT 1 );
SET @pk_77_472 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_6 AND `ref_dbtid`=@dbtid_22 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'410lgid\' LIMIT 1' LIMIT 1 );
SET @pk_77_473 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_6 AND `ref_dbtid`=@dbtid_4 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'410pjid\' LIMIT 1' LIMIT 1 );
SET @pk_77_10013 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_7 AND `ref_dbtid`=@dbtid_4 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'526pjid\' LIMIT 1' LIMIT 1 );
SET @pk_77_10014 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_7 AND `ref_dbtid`=@dbtid_1 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'526uid\' LIMIT 1' LIMIT 1 );
SET @pk_77_10021 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_12 AND `ref_dbtid`=@dbtid_11 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'534tkid\' LIMIT 1' LIMIT 1 );
SET @pk_77_10024 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_9 AND `ref_dbtid`=@dbtid_12 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'535tkrid\' LIMIT 1' LIMIT 1 );
SET @pk_77_10029 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_8 AND `ref_dbtid`=@dbtid_11 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'533tkid\' LIMIT 1' LIMIT 1 );
SET @pk_77_10030 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_8 AND `ref_dbtid`=@dbtid_22 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'533lgid\' LIMIT 1' LIMIT 1 );
SET @pk_77_10031 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_11 AND `ref_dbtid`=@dbtid_2 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'532stid\' LIMIT 1' LIMIT 1 );
SET @pk_77_10321 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_11 AND `ref_dbtid`=@dbtid_1 AND `feid`=@dbcid_111 LIMIT 1 );
SET @pk_77_10367 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_9 AND `ref_dbtid`=@dbtid_22 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'535lgid\' LIMIT 1' LIMIT 1 );
SET @pk_77_10372 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_1 AND `ref_dbtid`=@dbtid_23 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'232rolid\' LIMIT 1' LIMIT 1 );
SET @pk_77_10385 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_10 AND `ref_dbtid`=@dbtid_11 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'582tkid\' LIMIT 1' LIMIT 1 );
SET @pk_77_10405 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_4 AND `ref_dbtid`=@dbtid_23 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'405rolid\' LIMIT 1' LIMIT 1 );
SET @pk_77_10434 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_11 AND `ref_dbtid`=@dbtid_4 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'532pjid\' LIMIT 1' LIMIT 1 );
SET @pk_77_10439 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_3 AND `ref_dbtid`=' SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`=\'product.type\' LIMIT 1' AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'306prodtypid\' LIMIT 1' LIMIT 1 );
SET @pk_77_10549 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_3 AND `ref_dbtid`=' SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`=\'currency.node\' LIMIT 1' AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'306curid\' LIMIT 1' LIMIT 1 );
SET @pk_77_10561 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_3 AND `ref_dbtid`=@dbtid_21 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'306filid\' LIMIT 1' LIMIT 1 );
SET @pk_77_10580 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=' SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`=\'project.node\' LIMIT 1' AND `ref_dbtid`=@dbtid_4 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'405parent\' LIMIT 1' LIMIT 1 );
SET @pk_77_10621 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_12 AND `ref_dbtid`=@dbtid_1 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'534uid\' LIMIT 1' LIMIT 1 );
SET @pk_77_10623 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_3 AND `ref_dbtid`=@dbtid_23 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'rolid306\' LIMIT 1' LIMIT 1 );
SET @pk_77_10627 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_11 AND `ref_dbtid`=@dbtid_1 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'assignuid532\' LIMIT 1' LIMIT 1 );
SET @pk_77_10628 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_11 AND `ref_dbtid`=' SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`=\'ticket.projectmembers\' LIMIT 1' AND `feid`=@dbcid_111 LIMIT 1 );
SET @pk_77_10630 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_12 AND `ref_dbtid`=@dbtid_23 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'rolid534\' LIMIT 1' LIMIT 1 );
SET @pk_77_10632 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_11 AND `ref_dbtid`=@dbtid_7 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'532pjid\' LIMIT 1' LIMIT 1 );
SET @pk_77_10633 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_11 AND `ref_dbtid`=@dbtid_7 AND `feid`=@dbcid_111 LIMIT 1 );
SET @pk_77_10634 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_11 AND `ref_dbtid`=@dbtid_23 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'rolid532\' LIMIT 1' LIMIT 1 );
SET @pk_77_10647 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_13 AND `ref_dbtid`=@dbtid_12 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'676tkrid\' LIMIT 1' LIMIT 1 );
SET @pk_77_10648 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_13 AND `ref_dbtid`=@dbtid_21 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'676filid\' LIMIT 1' LIMIT 1 );
SET @pk_77_10649 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_10 AND `ref_dbtid`=@dbtid_21 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'582filid\' LIMIT 1' LIMIT 1 );
SET @pk_77_10762 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_3 AND `ref_dbtid`=' SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`=\'vendor.node\' LIMIT 1' AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'vendid306\' LIMIT 1' LIMIT 1 );
SET @pk_77_10784 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_14 AND `ref_dbtid`=@dbtid_4 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'pjid749\' LIMIT 1' LIMIT 1 );
SET @pk_77_10785 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_14 AND `ref_dbtid`=@dbtid_1 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'uid749\' LIMIT 1' LIMIT 1 );
SET @pk_77_10786 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_18 AND `ref_dbtid`=@dbtid_14 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'750tktid\' LIMIT 1' LIMIT 1 );
SET @pk_77_10787 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_18 AND `ref_dbtid`=@dbtid_22 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'750lgid\' LIMIT 1' LIMIT 1 );
SET @pk_77_10798 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_15 AND `ref_dbtid`=@dbtid_12 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'tkrid758\' LIMIT 1' LIMIT 1 );
SET @pk_77_10799 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_15 AND `ref_dbtid`=' SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`=\'ticket.project\' LIMIT 1' AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'pjid758\' LIMIT 1' LIMIT 1 );
SET @pk_77_10800 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_15 AND `ref_dbtid`=@dbtid_1 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'supportuid758\' LIMIT 1' LIMIT 1 );
SET @pk_77_10806 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_3 AND `ref_dbtid`=@dbtid_1 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'author306\' LIMIT 1' LIMIT 1 );
SET @pk_77_10810 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_16 AND `ref_dbtid`=@dbtid_11 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'tkid761\' LIMIT 1' LIMIT 1 );
SET @pk_77_10811 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_16 AND `ref_dbtid`=@dbtid_1 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'uid761\' LIMIT 1' LIMIT 1 );
SET @pk_77_10837 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_1 AND `ref_dbtid`=' SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`=\'currency.node\' LIMIT 1' AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'curid232\' LIMIT 1' LIMIT 1 );
SET @pk_77_10848 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=' SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`=\'site.node\' LIMIT 1' AND `ref_dbtid`=@dbtid_2 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'parent211\' LIMIT 1' LIMIT 1 );
SET @pk_77_10859 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_11 AND `ref_dbtid`=@dbtid_3 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'eid532\' LIMIT 1' LIMIT 1 );
SET @pk_77_10860 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_11 AND `ref_dbtid`=@dbtid_17 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'eid532\' LIMIT 1' LIMIT 1 );
SET @pk_77_10874 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_3 AND `ref_dbtid`=' SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`=\'unit.node\' LIMIT 1' AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'unit306\' LIMIT 1' LIMIT 1 );
SET @pk_77_10902 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_17 AND `ref_dbtid`=' SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`=\'sections\' LIMIT 1' AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'sectionid356\' LIMIT 1' LIMIT 1 );
SET @pk_77_10903 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_17 AND `ref_dbtid`=' SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`=\'categories\' LIMIT 1' AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'catid356\' LIMIT 1' LIMIT 1 );
SET @pk_77_10999 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_3 AND `ref_dbtid`=@dbtid_21 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'previewid306\' LIMIT 1' LIMIT 1 );
SET @pk_77_11027 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_3 AND `ref_dbtid`=' SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`=\'product.price\' LIMIT 1' AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'pricetype306\' LIMIT 1' LIMIT 1 );
SET @pk_77_11101 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_3 AND `ref_dbtid`=' SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`=\'address.node\' LIMIT 1' AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'adid306\' LIMIT 1' LIMIT 1 );
SET @pk_77_11112 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_21 AND `ref_dbtid`=@dbtid_1 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'478uid\' LIMIT 1' LIMIT 1 );
SET @pk_77_11168 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_1 AND `ref_dbtid`=' SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`=\'joobi.countries\' LIMIT 1' AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'ctyid232\' LIMIT 1' LIMIT 1 );
SET @pk_77_11173 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_19 AND `ref_dbtid`=@dbtid_23 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'rolid1010\' LIMIT 1' LIMIT 1 );
SET @pk_77_11174 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_19 AND `ref_dbtid`=@dbtid_1 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'uid1010\' LIMIT 1' LIMIT 1 );
SET @pk_77_11175 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_20 AND `ref_dbtid`=@dbtid_22 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'lgid1012\' LIMIT 1' LIMIT 1 );
SET @pk_77_11176 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_20 AND `ref_dbtid`=@dbtid_19 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'1012tktypeid\' LIMIT 1' LIMIT 1 );
SET @pk_77_11315 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_11 AND `ref_dbtid`=' SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`=\'license.node\' LIMIT 1' AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'lcid532\' LIMIT 1' LIMIT 1 );
SET @pk_77_11342 = ( SELECT `fkid` FROM `#__dataset_foreign`  WHERE `dbtid`=@dbtid_1 AND `ref_dbtid`=@dbtid_21 AND `feid`=' SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`=\'filid232\' LIMIT 1' LIMIT 1 );
REPLACE INTO `#__dataset_foreign` (`map`,`publish`,`namekey`,`fkid`,`feid`,`ref_feid`,`onupdate`,`ondelete`,`map2`,`ref_dbtid`,`dbtid`,`ordering`) VALUES ('catid','1','FK_productcat_product_catid',@pk_77_322,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='338catid' LIMIT 1),( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='335catid' LIMIT 1),'1','3','catid',( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='productcat.trans' LIMIT 1),@dbtid_5,'1');
REPLACE INTO `#__dataset_foreign` (`map`,`publish`,`namekey`,`fkid`,`feid`,`ref_feid`,`onupdate`,`ondelete`,`map2`,`ref_dbtid`,`dbtid`,`ordering`) VALUES ('pid','1','FK_productcat_product_pid',@pk_77_323,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='338pid' LIMIT 1),( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='306pid' LIMIT 1),'1','3','pid',@dbtid_3,@dbtid_5,'2'),('lgid','1','FK_members_node_lgid',@pk_77_353,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='232lgid' LIMIT 1),@ref_feid_114,'1','1','lgid',@dbtid_22,@dbtid_1,'3'),('uid','1','FK_405_uid_uid',@pk_77_464,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='405uid' LIMIT 1),@dbcid_110,'1','1','uid',@dbtid_1,@dbtid_4,'99'),('lgid','1','FK_410_lgid_lgid',@pk_77_472,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='410lgid' LIMIT 1),@ref_feid_114,'1','1','lgid',@dbtid_22,@dbtid_6,'99'),('pjid','1','FK_410_pjid_pjid',@pk_77_473,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='410pjid' LIMIT 1),@ref_feid_115,'1','1','pjid',@dbtid_4,@dbtid_6,'99'),('pjid','1','FK_projectmembers_pjid',@pk_77_10013,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='526pjid' LIMIT 1),@ref_feid_115,'3','3','pjid',@dbtid_4,@dbtid_7,'1'),('uid','1','FK_projectmembers_uid',@pk_77_10014,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='526uid' LIMIT 1),@dbcid_110,'3','3','uid',@dbtid_1,@dbtid_7,'2'),('tkid','1','FK_task_reply_taskid',@pk_77_10021,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='534tkid' LIMIT 1),@dbcid_112,'3','3','tkid',@dbtid_11,@dbtid_12,'1'),('tkrid','1','FK_ticket_replytrans_tkrid',@pk_77_10024,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='535tkrid' LIMIT 1),@dbcid_113,'3','3','tkrid',@dbtid_12,@dbtid_9,'99'),('tkid','1','FK_tickettrans_tkid',@pk_77_10029,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='533tkid' LIMIT 1),@dbcid_112,'3','3','tkid',@dbtid_11,@dbtid_8,'99'),('lgid','1','FK_tickettrans_lgid',@pk_77_10030,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='533lgid' LIMIT 1),@ref_feid_114,'1','3','lgid',@dbtid_22,@dbtid_8,'99'),('stid','1','FK_ticket_stid',@pk_77_10031,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='532stid' LIMIT 1),( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='211stid' LIMIT 1),'1','1','stid',@dbtid_2,@dbtid_11,'5'),('authoruid','1','FK_tickets_node_authoruid',@pk_77_10321,@dbcid_111,@dbcid_110,'1','1','uid',@dbtid_1,@dbtid_11,'3'),('lgid','1','FK_ticket_replytrans_lgid',@pk_77_10367,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='535lgid' LIMIT 1),@ref_feid_114,'1','3','lgid',@dbtid_22,@dbtid_9,'99'),('rolid','1','FK_members_rolid',@pk_77_10372,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='232rolid' LIMIT 1),@ref_feid_116,'1','1','',@dbtid_23,@dbtid_1,'2'),('tkid','1','FK_ticket_files_tkid',@pk_77_10385,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='582tkid' LIMIT 1),@dbcid_112,'3','3','',@dbtid_11,@dbtid_10,'1'),('rolid','1','FK_project_rolid',@pk_77_10405,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='405rolid' LIMIT 1),@ref_feid_116,'1','1','',@dbtid_23,@dbtid_4,'99'),('pjid','1','FK_ticket:project|pjid:pjid',@pk_77_10434,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='532pjid' LIMIT 1),@ref_feid_115,'3','3','pjid',@dbtid_4,@dbtid_11,'2'),('prodtypid','1','FK_product_prodtypid',@pk_77_10439,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='306prodtypid' LIMIT 1),( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='314prodtypid' LIMIT 1),'1','1','prodtypid',( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='product.type' LIMIT 1),@dbtid_3,'1'),('curid','1','FK_product_curid',@pk_77_10549,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='306curid' LIMIT 1),( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='624curid' LIMIT 1),'3','3','',( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='currency.node' LIMIT 1),@dbtid_3,'3'),('filid','1','FK_product_node_filid',@pk_77_10561,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='306filid' LIMIT 1),@ref_feid_117,'3','1','filid',@dbtid_21,@dbtid_3,'2'),('parent','1','FK_Parent405_parentpjid',@pk_77_10580,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='405parent' LIMIT 1),@ref_feid_115,'1','1','pjid',@dbtid_4,( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='project.node' LIMIT 1),'99'),('authoruid','1','FK_ticket_reply_authoruid ',@pk_77_10621,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='534uid' LIMIT 1),@dbcid_110,'1','1','uid',@dbtid_1,@dbtid_12,'2'),('rolid','1','306_rolid_566',@pk_77_10623,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='rolid306' LIMIT 1),@ref_feid_116,'1','1','rolid',@dbtid_23,@dbtid_3,'4'),('assignuid','1','FK_ticket_node_assignuid',@pk_77_10627,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='assignuid532' LIMIT 1),@dbcid_110,'1','1','uid',@dbtid_1,@dbtid_11,'4'),('authoruid','1','FK_tickets_node_authoruid2',@pk_77_10628,@dbcid_111,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='557uid' LIMIT 1),'1','1','uid',( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='ticket.projectmembers' LIMIT 1),@dbtid_11,'6'),('rolid','1','534_rolid_566',@pk_77_10630,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='rolid534' LIMIT 1),@ref_feid_116,'1','1','rolid',@dbtid_23,@dbtid_12,'99'),('pjid','1','FK_ticket_pjid',@pk_77_10632,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='532pjid' LIMIT 1),( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='526pjid' LIMIT 1),'1','1','pjid',@dbtid_7,@dbtid_11,'7'),('authoruid','1','FK_ticket_authoruid',@pk_77_10633,@dbcid_111,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='526uid' LIMIT 1),'1','1','uid',@dbtid_7,@dbtid_11,'8'),('rolid','1','FK_tickets_node_rolid',@pk_77_10634,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='rolid532' LIMIT 1),@ref_feid_116,'1','1','rolid',@dbtid_23,@dbtid_11,'9'),('tkrid','1','FK_ticket_reply_files_tkrid',@pk_77_10647,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='676tkrid' LIMIT 1),@dbcid_113,'3','3','tkrid',@dbtid_12,@dbtid_13,'1'),('filid','1','FK_ticket_reply_files_filid',@pk_77_10648,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='676filid' LIMIT 1),@ref_feid_117,'3','3','filid',@dbtid_21,@dbtid_13,'2'),('filid','1','FK_ticket_files_filid',@pk_77_10649,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='582filid' LIMIT 1),@ref_feid_117,'3','3','filid',@dbtid_21,@dbtid_10,'2'),('vendid','1','FK_product_vendid',@pk_77_10762,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='vendid306' LIMIT 1),( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='652vendid' LIMIT 1),'3','3','vendid',( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='vendor.node' LIMIT 1),@dbtid_3,'5'),('pjid','1','749_pjid_531',@pk_77_10784,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='pjid749' LIMIT 1),@ref_feid_115,'3','3','pjid',@dbtid_4,@dbtid_14,'1'),('uid','1','749_uid_232',@pk_77_10785,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='uid749' LIMIT 1),@dbcid_110,'1','1','uid',@dbtid_1,@dbtid_14,'2'),('tktid','1','tktid',@pk_77_10786,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='750tktid' LIMIT 1),( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='749tktid' LIMIT 1),'3','3','tktid',@dbtid_14,@dbtid_18,'1'),('lgid','1','lgid',@pk_77_10787,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='750lgid' LIMIT 1),@ref_feid_114,'1','1','lgid',@dbtid_22,@dbtid_18,'2'),('tkrid','1','758_tkrid_534',@pk_77_10798,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='tkrid758' LIMIT 1),@dbcid_113,'3','3','tkrid',@dbtid_12,@dbtid_15,'1'),('pjid','1','758_pjid_531',@pk_77_10799,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='pjid758' LIMIT 1),( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='531tkpjid' LIMIT 1),'1','1','pjid',( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='ticket.project' LIMIT 1),@dbtid_15,'2'),('supportuid','1','FK_uid',@pk_77_10800,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='supportuid758' LIMIT 1),@dbcid_110,'1','1','uid',@dbtid_1,@dbtid_15,'3'),('author','1','306_uid_232',@pk_77_10806,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='author306' LIMIT 1),@dbcid_110,'1','1','uid',@dbtid_1,@dbtid_3,'7'),('tkid','1','761_tkid_532',@pk_77_10810,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='tkid761' LIMIT 1),@dbcid_112,'3','3','tkid',@dbtid_11,@dbtid_16,'1'),('uid','1','761_uid_232',@pk_77_10811,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='uid761' LIMIT 1),@dbcid_110,'1','1','uid',@dbtid_1,@dbtid_16,'2'),('curid','1','FK_members_curid',@pk_77_10837,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='curid232' LIMIT 1),( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='624curid' LIMIT 1),'3','3','curid',( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='currency.node' LIMIT 1),@dbtid_1,'1'),('parent','1','211_parent_211',@pk_77_10848,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='parent211' LIMIT 1),( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='parent211' LIMIT 1),'1','1','parent',@dbtid_2,( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='site.node' LIMIT 1),'1'),('etid','1','FK_producttrans_etid',@pk_77_10859,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='eid532' LIMIT 1),( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='306pid' LIMIT 1),'3','3','pid',@dbtid_3,@dbtid_11,'10'),('etid','1','FK_content_id',@pk_77_10860,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='eid532' LIMIT 1),( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='356id' LIMIT 1),'1','1','id',@dbtid_17,@dbtid_11,'11'),('unitid','1','FK_product_unitid',@pk_77_10874,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='unit306' LIMIT 1),( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='828unitid' LIMIT 1),'3','1','unitid',( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='unit.node' LIMIT 1),@dbtid_3,'6'),('sectionid','1','FK_joomla_content_sectionid',@pk_77_10902,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='sectionid356' LIMIT 1),( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='695id' LIMIT 1),'3','3','id',( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='sections' LIMIT 1),@dbtid_17,'1'),('catid','1','FK_joomla_content_catid',@pk_77_10903,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='catid356' LIMIT 1),( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='696id' LIMIT 1),'3','3','id',( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='categories' LIMIT 1),@dbtid_17,'2');
REPLACE INTO `#__dataset_foreign` (`map`,`publish`,`namekey`,`fkid`,`feid`,`ref_feid`,`onupdate`,`ondelete`,`map2`,`ref_dbtid`,`dbtid`,`ordering`) VALUES ('previewid','1','FK_product_node_previewid',@pk_77_10999,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='previewid306' LIMIT 1),@ref_feid_117,'3','3','filid',@dbtid_21,@dbtid_3,'8'),('priceid','1','FK_product_price_priceid',@pk_77_11027,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='pricetype306' LIMIT 1),( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='928pricetype' LIMIT 1),'1','1','priceid',( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='product.price' LIMIT 1),@dbtid_3,'9'),('adid','1','FK_product_node_adid',@pk_77_11101,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='adid306' LIMIT 1),( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='323adid' LIMIT 1),'1','1','adid',( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='address.node' LIMIT 1),@dbtid_3,'10'),('uid','1','FK_joobi_files_uid',@pk_77_11112,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='478uid' LIMIT 1),@dbcid_110,'1','1','uid',@dbtid_1,@dbtid_21,'1'),('ctyid','1','FK_members_ctyid',@pk_77_11168,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='ctyid232' LIMIT 1),( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='200ctyid' LIMIT 1),'1','1','ctyid',( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='joobi.countries' LIMIT 1),@dbtid_1,'4'),('rolid','1','FK_ticket_type_rolid',@pk_77_11173,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='rolid1010' LIMIT 1),@ref_feid_116,'1','1','rolid',@dbtid_23,@dbtid_19,'2'),('uid','1','FK_ticket_type_uid',@pk_77_11174,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='uid1010' LIMIT 1),@dbcid_110,'1','1','uid',@dbtid_1,@dbtid_19,'1'),('lgid','1','FK_ticket_typetrans_lgid',@pk_77_11175,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='lgid1012' LIMIT 1),@ref_feid_114,'1','3','lgid',@dbtid_22,@dbtid_20,'2'),('tktypeid','1','FK_ticket_type_tktypeid',@pk_77_11176,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='1012tktypeid' LIMIT 1),( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='1010tktypeid' LIMIT 1),'3','3','tktypeid',@dbtid_19,@dbtid_20,'1'),('lcid','1','FK_ticket_node_lcid',@pk_77_11315,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='lcid532' LIMIT 1),( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='206lcid' LIMIT 1),'1','1','lcid',( SELECT `dbtid` FROM `#__dataset_tables`  WHERE `namekey`='license.node' LIMIT 1),@dbtid_11,'12'),('filid','1','FK_members_node_filid',@pk_77_11342,( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='filid232' LIMIT 1),@ref_feid_117,'3','3','filid',@dbtid_21,@dbtid_1,'5');
SET @did_118 = ( SELECT `did` FROM `#__dropset_node`  WHERE `namekey`='ticket_categories' LIMIT 1);
SET @did_119 = ( SELECT `did` FROM `#__dropset_node`  WHERE `namekey`='ticket_status_select' LIMIT 1);
INSERT IGNORE INTO `#__translation_reference` (`wid`,`load`,`imac`) VALUES (@wid_25,'1','1206732357ILFL');
INSERT IGNORE INTO `#__translation_reference` (`wid`,`load`,`imac`) VALUES (@wid_25,'2','1206732372QTKI'),(@wid_25,'2','1206732372QTKJ'),(@wid_25,'1','1206732392OZUQ'),(@wid_25,'1','1206732392OZVH'),(@wid_25,'1','1206732411EGRI'),(@wid_25,'1','1206732412DACF'),(@wid_25,'1','1206732429GMSU'),(@wid_25,'1','1206961869IGNO'),(@wid_25,'1','1206961882TDHA'),(@wid_25,'1','1206964235BPWJ'),(@wid_25,'1','1206964391FHVU'),(@wid_25,'1','1207306697RNMA'),(@wid_25,'1','1209746189NUCP'),(@wid_25,'1','1213200727TEHS'),(@wid_25,'0','1215507799GMTI'),(@wid_25,'1','1219769904NDHD'),(@wid_25,'1','1219769905FKPR'),(@wid_25,'1','1219844525HQBL'),(@wid_25,'1','1220215333SORN'),(@wid_25,'1','1224166212FTLB'),(@wid_25,'1','1225790131RNIX'),(@wid_25,'1','1227581114PJBW'),(@wid_25,'1','1227581114PJBX'),(@wid_25,'1','1227581114PJBY'),(@wid_25,'0','1230530175HBUQ'),(@wid_25,'0','1230530175HBUR'),(@wid_25,'1','1230530205IVSF'),(@wid_25,'1','1230530205IVSG'),(@wid_25,'1','1230530205IVSH'),(@wid_25,'1','1231158811CQTV'),(@wid_25,'1','1233642225DNTS'),(@wid_25,'1','1233642225DNTT'),(@wid_25,'1','1234467597SEXU'),(@wid_25,'0','1237825578IRQC'),(@wid_25,'0','1242098029MCXQ'),(@wid_25,'1','1242282416HAQR'),(@wid_25,'1','1243948338KVSR'),(@wid_25,'1','1244448970SMQL'),(@wid_25,'0','1248677667PZKH'),(@wid_25,'1','1251298684SHUF'),(@wid_25,'1','1251298684SHUG'),(@wid_25,'0','1253277991HEPH'),(@wid_25,'0','1262854806NJTU'),(@wid_25,'1','1271935558PJVM'),(@wid_25,'0','1274840559DZKC'),(@wid_25,'0','1298350701PQGH'),(@wid_25,'0','1303289070EWBD'),(@wid_25,'1','1304525968YBL'),(@wid_25,'0','1325527934LWRY'),(@wid_25,'1','1329161820RPTN'),(@wid_25,'0','1330529258DZNE'),(@wid_25,'0','1330529258DZNF'),(@wid_25,'0','1330529258DZNG'),(@wid_25,'1','1339527673WLQ'),(@wid_25,'1','1361919649HLBV'),(@wid_25,'1','1361919649HLBW'),(@wid_25,'1','1361919650QJLA'),(@wid_25,'1','1361919650QJLB'),(@wid_25,'1','1373466832FDPH'),(@wid_25,'1','1389879775LPOL'),(@wid_25,'1','1389884098SHJK'),(@wid_25,'1','1389884106NVYT'),(@wid_25,'1','1389884106NVYU'),(@wid_25,'0','1391456064JYEB'),(@wid_25,'0','1391456064JYEC'),(@wid_25,'1','1391514073SJUO'),(@wid_25,'1','1391514073SJUP'),(@wid_25,'1','1391514073SJUQ'),(@wid_25,'1','1391514073SJUR'),(@wid_25,'1','1391514073SJUS'),(@wid_25,'1','1391514073SJUT'),(@wid_25,'1','1391514073SJUU'),(@wid_25,'1','1391514073SJUV'),(@wid_25,'1','1391514073SJUW'),(@wid_25,'1','1391514073SJUX'),(@wid_25,'1','1391514073SJUY'),(@wid_25,'1','1391514073SJUZ'),(@wid_25,'1','1391514073SJVA'),(@wid_25,'1','1391514073SJVB'),(@wid_25,'1','1391514073SJVC'),(@wid_25,'1','1391514073SJVD'),(@wid_25,'1','1391514079NAKA'),(@wid_25,'1','1391713549PJNT'),(@wid_25,'1','1391816989CHEJ'),(@wid_25,'1','1391816989CHEK'),(@wid_25,'1','1391816989CHEL'),(@wid_25,'1','1391816989CHEM'),(@wid_25,'2','1395500429FBNE'),(@wid_25,'2','1395500429FBNF'),(@wid_25,'2','1395500429FBNG'),(@wid_25,'0','1400081599RXJU'),(@wid_25,'0','1401197668CUMG'),(@wid_25,'0','1427332033SXPP');
INSERT IGNORE INTO `#__mailing_node` (`namekey`,`rolid`,`type`,`html`,`params`,`wid`,`alias`,`level`,`tags`,`status`,`attach`,`publish`,`core`,`sms`,`template`,`format`,`notify`) VALUES ('new_ticket_author',@rolid_0,'1','1','',@wid_25,'Ticket confirmation','0','{widget:param|name=ticketid}\r\n{widget:param|name=title}\r\n{widget:param|name=description}\r\n{widget:param|name=link}','0','0','1','1','0','3','0','1');
INSERT IGNORE INTO `#__mailing_node` (`namekey`,`rolid`,`type`,`html`,`params`,`wid`,`alias`,`level`,`tags`,`status`,`attach`,`publish`,`core`,`sms`,`template`,`format`,`notify`) VALUES ('new_ticket_assign',@rolid_0,'1','1','',@wid_25,'New ticket notification','0','{widget:param|name=ticketid}\r\n{widget:param|name=category}\r\n{widget:param|name=title}\r\n{widget:param|name=link}\r\n{widget:param|name=description}\r\n{widget:param|name=priority}\r\n','0','0','1','1','0','3','0','1'),('reply_ticket_assign',@rolid_0,'1','1','',@wid_25,'Ticket reply notification for admin','0','{widget:param|name=ticketid}\r\n{widget:param|name=description}\r\n{widget:param|name=category}\r\n{widget:param|name=link}\r\n','0','0','1','1','0','3','0','1'),('reply_ticket_author',@rolid_0,'1','1','',@wid_25,'Ticket reply notification to customer','0','{widget:param|name=ticketid}\r\n{widget:param|name=description}\r\n{widget:param|name=link}','0','0','1','1','0','3','0','1'),('unsolved_ticket_warning',@rolid_0,'1','1','',@wid_25,'Unsolved ticket warning','50','{widget:param|name=ticketid}\r\n{widget:param|name=title}\r\n{widget:param|name=created}\r\n{widget:param|name=author}\r\n{widget:param|name=lastreply}\r\n{widget:param|name=link}\r\n{widget:param|name=linkclose}','0','0','1','1','0','3','0','1'),('support_required_notification',@rolid_0,'1','1','',@wid_25,'Notification for support required','25','{widget:param|name=ticketid}\r\n{widget:param|name=category}\r\n{widget:param|name=title}\r\n{widget:param|name=link}\r\n{widget:param|name=description}\r\n{widget:param|name=created}\r\n{widget:param|name=comment}\r\n{widget:param|name=priority}\r\n{widget:param|name=assignedby}','0','0','1','1','0','3','0','1'),('ticket_no_assigned_person',@rolid_0,'1','2','',@wid_25,'No Assigned Person on Category','50','{widget:param|name=ticketid}\r\n{widget:param|name=category}\r\n{widget:param|name=title}\r\n{widget:param|name=link}\r\n{widget:param|name=description}','0','0','1','1','0','3','0','1'),('ticket_auto_close',@rolid_0,'1','1','',@wid_25,'Automatically close tickets','50','{widget:param|name=ticketids}\r\n{widget:param|name=message}\r\n','0','0','1','1','0','3','0','1'),('ticket_user_warning',@rolid_0,'1','1','',@wid_25,'User Warning Close','50','{widget:param|name=ticketid}\r\n{widget:param|name=link}\r\n{widget:param|name=delaywarning}\r\n{widget:param|name=closein}\r\n{widget:param|name=title}\r\n{widget:param|name=description}\r\n{widget:param|name=linkclose}','0','0','1','1','0','3','0','1'),('Unpaid_ticket_subcription',@rolid_0,'1','1','',@wid_25,'Unpaid Ticket Notification for Subcription','50','{widget:param|name=ticketid}\r\n{widget:param|name=project}\r\n{widget:param|name=title}\r\n{widget:param|name=link}\r\n{widget:param|name=description}','0','0','1','1','0','3','0','1'),('unpaid_ticket_reponse_notification',@rolid_0,'1','1','',@wid_25,'Unpaid Ticket Response Notification','50','{widget:param|name=ticketid}\r\n{widget:param|name=project}\r\n{widget:param|name=link}\r\n','0','0','1','1','0','3','0','1'),('deducted_ticketcredit_reponse_notification',@rolid_0,'1','0','',@wid_25,'Ticket Credit Deduction Reponse Notification','50','{widget:param|name=ticket}\r\n{widget:param|name=project}\r\n{widget:param|name=credits}\r\n{widget:param|name=description}\r\n{widget:param|name=link}\r\n{widget:param|name=link2}\r\n','0','0','1','1','0','3','0','1'),('duplicate_ticket_reply',@rolid_0,'1','1','',@wid_25,'Duplicate copy of reply','25','{widget:param|name=ticketid}\r\n{widget:param|name=description}\r\n\r\n','0','0','1','1','0','3','0','1'),('inform_assigned_moderator',@rolid_0,'1','1','',@wid_25,'Inform First Assigned Moderator','50','{widget:param|name=ticketid}\r\n{widget:param|name=link}\r\n{widget:param|name=title}\r\n{widget:param|name=description}','0','0','1','1','0','3','0','1'),('reply_notify_first_moderator',@rolid_0,'1','1','',@wid_25,'Notify first assigned moderator that reply is made','0','{widget:param|name=ticketid}\r\n{widget:param|name=description}\r\n{widget:param|name=category}\r\n{widget:param|name=link}\r\n','0','0','1','1','0','3','0','1'),('support_manager_badwords_notice',@rolid_0,'1','1','',@wid_25,'Bad words email notification','0','{widget:param|name=name}\r\n{widget:param|name=username}\r\n{widget:param|name=profileLink}\r\n{widget:param|name=postLink}','1','0','1','1','0','3','0','1'),('ticket_latereply',@rolid_0,'101','1','',@wid_25,'Ticket late reply','0','{widget:param|name=ticketid}\r\n{widget:param|name=link2Ticket}\r\n','1','0','1','1','0','3','0','1'),('inform_assigned_customer',@rolid_0,'1','1','',@wid_25,'Inform customer of assigned ticket','0','{widget:param|name=ticketid}\r\n{widget:param|name=link}\r\n','0','0','1','1','0','3','0','1');
SET @dbcid_120 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='618name' LIMIT 1);
SET @dbcid_121 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='382name' LIMIT 1);
SET @dbcid_122 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='382ctext' LIMIT 1);
SET @dbcid_123 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='382chtml' LIMIT 1);
SET @dbcid_124 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='bouncemail382' LIMIT 1);
SET @dbcid_125 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='authorid382' LIMIT 1);
SET @dbcid_126 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='modified382' LIMIT 1);
SET @dbcid_127 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='intro382' LIMIT 1);
SET @dbcid_128 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='smsmessage382' LIMIT 1);
SET @dbcid_129 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='title382' LIMIT 1);
SET @dbcid_130 = ( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='subtitle382' LIMIT 1);
INSERT IGNORE INTO `#__translation_populate` (`wid`,`eid`,`imac`,`dbcid`) VALUES (@wid_25,'0','',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='533description' LIMIT 1));
INSERT IGNORE INTO `#__translation_populate` (`wid`,`eid`,`imac`,`dbcid`) VALUES (@wid_25,'0','',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='533name' LIMIT 1)),(@wid_25,'0','',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='535description' LIMIT 1)),(@wid_25,'0','',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='410description' LIMIT 1)),(@wid_25,'0','',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='410name' LIMIT 1)),(@wid_25,'0','',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='description750' LIMIT 1)),(@wid_25,'0','',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='name750' LIMIT 1)),(@wid_25,'0','',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='description1012' LIMIT 1)),(@wid_25,'0','',( SELECT `dbcid` FROM `#__dataset_columns`  WHERE `namekey`='name1012' LIMIT 1)),(@wid_25,( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='files' LIMIT 1),'1212761192MUSM',@dbcid_120),(@wid_25,( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='site' LIMIT 1),'1206961849MVDJ',@dbcid_120),(@wid_25,( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='product' LIMIT 1),'1206961841DNYS',@dbcid_120),(@wid_25,( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='product.categoryproduct' LIMIT 1),'1206732411EGQO',@dbcid_120),(@wid_25,( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='joomla.content' LIMIT 1),'1212761231MDKH',@dbcid_120),(@wid_25,( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.project' LIMIT 1),'1206732411EGQO',@dbcid_120),(@wid_25,( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket' LIMIT 1),'1206964391FHVU',@dbcid_120),(@wid_25,( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='tickettrans' LIMIT 1),'1206964391FHVU',@dbcid_120),(@wid_25,( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.reply' LIMIT 1),'1206961882TDGX',@dbcid_120),(@wid_25,( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.replytrans' LIMIT 1),'1206961882TDGX',@dbcid_120),(@wid_25,( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.projecttrans' LIMIT 1),'1206732411EGQO',@dbcid_120),(@wid_25,( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.projectmembers' LIMIT 1),'1206964391FHVU',@dbcid_120),(@wid_25,( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.files' LIMIT 1),'1212761192MUSM',@dbcid_120),(@wid_25,( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.user' LIMIT 1),'1208359284QWNS',@dbcid_120),(@wid_25,( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.replyfiles' LIMIT 1),'1212761192MUSM',@dbcid_120),(@wid_25,( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.template' LIMIT 1),'1246243853BGYZ',@dbcid_120),(@wid_25,( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.templatetrans' LIMIT 1),'1246243853BGYZ',@dbcid_120),(@wid_25,( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.rating' LIMIT 1),'1246243851IGLH',@dbcid_120),(@wid_25,( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.clickyesno' LIMIT 1),'1246509662FEPJ',@dbcid_120),(@wid_25,( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='users' LIMIT 1),'1229653442FEQZ',@dbcid_120),(@wid_25,( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.type' LIMIT 1),'1206732392OZVD',@dbcid_120),(@wid_25,( SELECT `sid` FROM `#__model_node`  WHERE `namekey`='ticket.typetrans' LIMIT 1),'1206732392OZVD',@dbcid_120),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='new_ticket_author' LIMIT 1),'1380065050EKTP',@dbcid_121),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='new_ticket_assign' LIMIT 1),'1380065050EKTQ',@dbcid_121),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='reply_ticket_assign' LIMIT 1),'1380065050EKTR',@dbcid_121),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='reply_ticket_author' LIMIT 1),'1380065050EKTP',@dbcid_121),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='unsolved_ticket_warning' LIMIT 1),'1380065050EKTS',@dbcid_121),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='support_required_notification' LIMIT 1),'1380065050EKTT',@dbcid_121),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_no_assigned_person' LIMIT 1),'1249442407SINU',@dbcid_121),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_auto_close' LIMIT 1),'1246243861SGIY',@dbcid_121),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_user_warning' LIMIT 1),'1380065050EKTU',@dbcid_121),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='Unpaid_ticket_subcription' LIMIT 1),'1380065050EKTV',@dbcid_121),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='unpaid_ticket_reponse_notification' LIMIT 1),'1380065050EKTW',@dbcid_121),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='deducted_ticketcredit_reponse_notification' LIMIT 1),'1380065050EKTX',@dbcid_121),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='duplicate_ticket_reply' LIMIT 1),'1380065050EKTY',@dbcid_121),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='inform_assigned_moderator' LIMIT 1),'1380065050EKTZ',@dbcid_121),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='reply_notify_first_moderator' LIMIT 1),'1380065050EKUA',@dbcid_121),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='support_manager_badwords_notice' LIMIT 1),'1418159648NYLK',@dbcid_121),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_latereply' LIMIT 1),'1389884106NVYV',@dbcid_121),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='inform_assigned_customer' LIMIT 1),'1380065050EKTZ',@dbcid_121),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='new_ticket_author' LIMIT 1),'1380065050EKUB',@dbcid_122),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='new_ticket_assign' LIMIT 1),'1380065050EKUC',@dbcid_122),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='reply_ticket_assign' LIMIT 1),'1380065050EKUD',@dbcid_122),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='reply_ticket_author' LIMIT 1),'1380065050EKUE',@dbcid_122),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='unsolved_ticket_warning' LIMIT 1),'1380065050EKUF',@dbcid_122),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='support_required_notification' LIMIT 1),'1380065050EKUG',@dbcid_122),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_no_assigned_person' LIMIT 1),'1304525968YBL',@dbcid_122),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_auto_close' LIMIT 1),'1380065050EKUH',@dbcid_122),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_user_warning' LIMIT 1),'1380065050EKUI',@dbcid_122),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='Unpaid_ticket_subcription' LIMIT 1),'1380065050EKUJ',@dbcid_122),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='unpaid_ticket_reponse_notification' LIMIT 1),'1304525968YBL',@dbcid_122),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='deducted_ticketcredit_reponse_notification' LIMIT 1),'1304525968YBL',@dbcid_122),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='duplicate_ticket_reply' LIMIT 1),'1380065050EKUK',@dbcid_122),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='inform_assigned_moderator' LIMIT 1),'1380065050EKUL',@dbcid_122),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='reply_notify_first_moderator' LIMIT 1),'1380065050EKUM',@dbcid_122),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='support_manager_badwords_notice' LIMIT 1),'1304525968YBL',@dbcid_122),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_latereply' LIMIT 1),'1304525968YBL',@dbcid_122),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='inform_assigned_customer' LIMIT 1),'1304525968YBL',@dbcid_122),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='new_ticket_author' LIMIT 1),'1380065050EKUN',@dbcid_123),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='new_ticket_assign' LIMIT 1),'1418159648NYLL',@dbcid_123),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='reply_ticket_assign' LIMIT 1),'1418159648NYLM',@dbcid_123),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='reply_ticket_author' LIMIT 1),'1418159648NYLN',@dbcid_123),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='unsolved_ticket_warning' LIMIT 1),'1418159648NYLO',@dbcid_123),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='support_required_notification' LIMIT 1),'1418159648NYLP',@dbcid_123),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_no_assigned_person' LIMIT 1),'1418159648NYLQ',@dbcid_123),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_auto_close' LIMIT 1),'1380065050EKUU',@dbcid_123),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_user_warning' LIMIT 1),'1418159648NYLR',@dbcid_123),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='Unpaid_ticket_subcription' LIMIT 1),'1418159648NYLS',@dbcid_123),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='unpaid_ticket_reponse_notification' LIMIT 1),'1418159648NYLT',@dbcid_123),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='deducted_ticketcredit_reponse_notification' LIMIT 1),'1380065050EKUY',@dbcid_123),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='duplicate_ticket_reply' LIMIT 1),'1418159648NYLU',@dbcid_123),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='inform_assigned_moderator' LIMIT 1),'1418159648NYLV',@dbcid_123),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='reply_notify_first_moderator' LIMIT 1),'1418159648NYLW',@dbcid_123),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='support_manager_badwords_notice' LIMIT 1),'1380065050EKVC',@dbcid_123),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_latereply' LIMIT 1),'1389884107KIEW',@dbcid_123),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='inform_assigned_customer' LIMIT 1),'1380065050EKVA',@dbcid_123),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='new_ticket_author' LIMIT 1),'1304525968YBL',@dbcid_124),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='new_ticket_assign' LIMIT 1),'1304525968YBL',@dbcid_124),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='reply_ticket_assign' LIMIT 1),'1304525968YBL',@dbcid_124),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='reply_ticket_author' LIMIT 1),'1304525968YBL',@dbcid_124),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='unsolved_ticket_warning' LIMIT 1),'1304525968YBL',@dbcid_124),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='support_required_notification' LIMIT 1),'1304525968YBL',@dbcid_124),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_no_assigned_person' LIMIT 1),'1304525968YBL',@dbcid_124),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_auto_close' LIMIT 1),'1304525968YBL',@dbcid_124),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_user_warning' LIMIT 1),'1304525968YBL',@dbcid_124),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='Unpaid_ticket_subcription' LIMIT 1),'1304525968YBL',@dbcid_124),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='unpaid_ticket_reponse_notification' LIMIT 1),'1304525968YBL',@dbcid_124),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='deducted_ticketcredit_reponse_notification' LIMIT 1),'1304525968YBL',@dbcid_124),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='duplicate_ticket_reply' LIMIT 1),'1304525968YBL',@dbcid_124),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='inform_assigned_moderator' LIMIT 1),'1304525968YBL',@dbcid_124),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='reply_notify_first_moderator' LIMIT 1),'1304525968YBL',@dbcid_124),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='support_manager_badwords_notice' LIMIT 1),'1304525968YBL',@dbcid_124),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_latereply' LIMIT 1),'1304525968YBL',@dbcid_124);
INSERT IGNORE INTO `#__translation_populate` (`wid`,`eid`,`imac`,`dbcid`) VALUES (@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='inform_assigned_customer' LIMIT 1),'1304525968YBL',@dbcid_124),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='new_ticket_author' LIMIT 1),'1219856743ELFT',@dbcid_125),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='new_ticket_assign' LIMIT 1),'1219856743ELFT',@dbcid_125),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='reply_ticket_assign' LIMIT 1),'1219856743ELFT',@dbcid_125),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='reply_ticket_author' LIMIT 1),'1219856743ELFT',@dbcid_125),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='unsolved_ticket_warning' LIMIT 1),'1219856743ELFT',@dbcid_125),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='support_required_notification' LIMIT 1),'1219856743ELFT',@dbcid_125),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_no_assigned_person' LIMIT 1),'1219856743ELFT',@dbcid_125),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_auto_close' LIMIT 1),'1219856743ELFT',@dbcid_125),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_user_warning' LIMIT 1),'1219856743ELFT',@dbcid_125),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='Unpaid_ticket_subcription' LIMIT 1),'1219856743ELFT',@dbcid_125),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='unpaid_ticket_reponse_notification' LIMIT 1),'1219856743ELFT',@dbcid_125),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='deducted_ticketcredit_reponse_notification' LIMIT 1),'1219856743ELFT',@dbcid_125),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='duplicate_ticket_reply' LIMIT 1),'1219856743ELFT',@dbcid_125),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='inform_assigned_moderator' LIMIT 1),'1219856743ELFT',@dbcid_125),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='reply_notify_first_moderator' LIMIT 1),'1219856743ELFT',@dbcid_125),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='support_manager_badwords_notice' LIMIT 1),'1219856743ELFT',@dbcid_125),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_latereply' LIMIT 1),'1219856743ELFT',@dbcid_125),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='inform_assigned_customer' LIMIT 1),'1219856743ELFT',@dbcid_125),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='new_ticket_author' LIMIT 1),'1219856743ELFT',@dbcid_126),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='new_ticket_assign' LIMIT 1),'1219856743ELFT',@dbcid_126),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='reply_ticket_assign' LIMIT 1),'1219856743ELFT',@dbcid_126),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='reply_ticket_author' LIMIT 1),'1219856743ELFT',@dbcid_126),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='unsolved_ticket_warning' LIMIT 1),'1219856743ELFT',@dbcid_126),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='support_required_notification' LIMIT 1),'1219856743ELFT',@dbcid_126),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_no_assigned_person' LIMIT 1),'1219856743ELFT',@dbcid_126),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_auto_close' LIMIT 1),'1219856743ELFT',@dbcid_126),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_user_warning' LIMIT 1),'1219856743ELFT',@dbcid_126),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='Unpaid_ticket_subcription' LIMIT 1),'1219856743ELFT',@dbcid_126),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='unpaid_ticket_reponse_notification' LIMIT 1),'1219856743ELFT',@dbcid_126),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='deducted_ticketcredit_reponse_notification' LIMIT 1),'1219856743ELFT',@dbcid_126),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='duplicate_ticket_reply' LIMIT 1),'1219856743ELFT',@dbcid_126),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='inform_assigned_moderator' LIMIT 1),'1219856743ELFT',@dbcid_126),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='reply_notify_first_moderator' LIMIT 1),'1219856743ELFT',@dbcid_126),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='support_manager_badwords_notice' LIMIT 1),'1219856743ELFT',@dbcid_126),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_latereply' LIMIT 1),'1410185824MPXV',@dbcid_126),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='inform_assigned_customer' LIMIT 1),'1389884107KIEY',@dbcid_126),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='new_ticket_author' LIMIT 1),'1304525968YBL',@dbcid_127),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='new_ticket_assign' LIMIT 1),'1304525968YBL',@dbcid_127),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='reply_ticket_assign' LIMIT 1),'1304525968YBL',@dbcid_127),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='reply_ticket_author' LIMIT 1),'1304525968YBL',@dbcid_127),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='unsolved_ticket_warning' LIMIT 1),'1304525968YBL',@dbcid_127),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='support_required_notification' LIMIT 1),'1304525968YBL',@dbcid_127),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_no_assigned_person' LIMIT 1),'1304525968YBL',@dbcid_127),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_auto_close' LIMIT 1),'1304525968YBL',@dbcid_127),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_user_warning' LIMIT 1),'1304525968YBL',@dbcid_127),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='Unpaid_ticket_subcription' LIMIT 1),'1304525968YBL',@dbcid_127),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='unpaid_ticket_reponse_notification' LIMIT 1),'1304525968YBL',@dbcid_127),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='deducted_ticketcredit_reponse_notification' LIMIT 1),'1304525968YBL',@dbcid_127),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='duplicate_ticket_reply' LIMIT 1),'1304525968YBL',@dbcid_127),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='inform_assigned_moderator' LIMIT 1),'1304525968YBL',@dbcid_127),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='reply_notify_first_moderator' LIMIT 1),'1304525968YBL',@dbcid_127),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='support_manager_badwords_notice' LIMIT 1),'1304525968YBL',@dbcid_127),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_latereply' LIMIT 1),'1304525968YBL',@dbcid_127),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='inform_assigned_customer' LIMIT 1),'1304525968YBL',@dbcid_127),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='new_ticket_author' LIMIT 1),'1304525968YBL',@dbcid_128),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='new_ticket_assign' LIMIT 1),'1304525968YBL',@dbcid_128),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='reply_ticket_assign' LIMIT 1),'1304525968YBL',@dbcid_128),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='reply_ticket_author' LIMIT 1),'1304525968YBL',@dbcid_128),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='unsolved_ticket_warning' LIMIT 1),'1304525968YBL',@dbcid_128),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='support_required_notification' LIMIT 1),'1304525968YBL',@dbcid_128),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_no_assigned_person' LIMIT 1),'1304525968YBL',@dbcid_128),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_auto_close' LIMIT 1),'1304525968YBL',@dbcid_128),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_user_warning' LIMIT 1),'1304525968YBL',@dbcid_128),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='Unpaid_ticket_subcription' LIMIT 1),'1304525968YBL',@dbcid_128),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='unpaid_ticket_reponse_notification' LIMIT 1),'1304525968YBL',@dbcid_128),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='deducted_ticketcredit_reponse_notification' LIMIT 1),'1304525968YBL',@dbcid_128),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='duplicate_ticket_reply' LIMIT 1),'1304525968YBL',@dbcid_128),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='inform_assigned_moderator' LIMIT 1),'1304525968YBL',@dbcid_128),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='reply_notify_first_moderator' LIMIT 1),'1304525968YBL',@dbcid_128),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='support_manager_badwords_notice' LIMIT 1),'1304525968YBL',@dbcid_128),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_latereply' LIMIT 1),'1304525968YBL',@dbcid_128),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='inform_assigned_customer' LIMIT 1),'1304525968YBL',@dbcid_128),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='new_ticket_author' LIMIT 1),'1304525968YBL',@dbcid_129),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='new_ticket_assign' LIMIT 1),'1304525968YBL',@dbcid_129),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='reply_ticket_assign' LIMIT 1),'1304525968YBL',@dbcid_129),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='reply_ticket_author' LIMIT 1),'1304525968YBL',@dbcid_129),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='unsolved_ticket_warning' LIMIT 1),'1304525968YBL',@dbcid_129),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='support_required_notification' LIMIT 1),'1304525968YBL',@dbcid_129),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_no_assigned_person' LIMIT 1),'1304525968YBL',@dbcid_129),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_auto_close' LIMIT 1),'1304525968YBL',@dbcid_129),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_user_warning' LIMIT 1),'1304525968YBL',@dbcid_129),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='Unpaid_ticket_subcription' LIMIT 1),'1304525968YBL',@dbcid_129),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='unpaid_ticket_reponse_notification' LIMIT 1),'1304525968YBL',@dbcid_129),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='deducted_ticketcredit_reponse_notification' LIMIT 1),'1304525968YBL',@dbcid_129),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='duplicate_ticket_reply' LIMIT 1),'1304525968YBL',@dbcid_129),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='inform_assigned_moderator' LIMIT 1),'1304525968YBL',@dbcid_129),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='reply_notify_first_moderator' LIMIT 1),'1304525968YBL',@dbcid_129),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='support_manager_badwords_notice' LIMIT 1),'1304525968YBL',@dbcid_129),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_latereply' LIMIT 1),'1304525968YBL',@dbcid_129),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='inform_assigned_customer' LIMIT 1),'1304525968YBL',@dbcid_129),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='new_ticket_author' LIMIT 1),'1304525968YBL',@dbcid_130),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='new_ticket_assign' LIMIT 1),'1304525968YBL',@dbcid_130),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='reply_ticket_assign' LIMIT 1),'1304525968YBL',@dbcid_130),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='reply_ticket_author' LIMIT 1),'1304525968YBL',@dbcid_130),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='unsolved_ticket_warning' LIMIT 1),'1304525968YBL',@dbcid_130),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='support_required_notification' LIMIT 1),'1304525968YBL',@dbcid_130),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_no_assigned_person' LIMIT 1),'1304525968YBL',@dbcid_130),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_auto_close' LIMIT 1),'1304525968YBL',@dbcid_130),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_user_warning' LIMIT 1),'1304525968YBL',@dbcid_130),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='Unpaid_ticket_subcription' LIMIT 1),'1304525968YBL',@dbcid_130);
INSERT IGNORE INTO `#__translation_populate` (`wid`,`eid`,`imac`,`dbcid`) VALUES (@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='unpaid_ticket_reponse_notification' LIMIT 1),'1304525968YBL',@dbcid_130),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='deducted_ticketcredit_reponse_notification' LIMIT 1),'1304525968YBL',@dbcid_130),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='duplicate_ticket_reply' LIMIT 1),'1304525968YBL',@dbcid_130),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='inform_assigned_moderator' LIMIT 1),'1304525968YBL',@dbcid_130),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='reply_notify_first_moderator' LIMIT 1),'1304525968YBL',@dbcid_130),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='support_manager_badwords_notice' LIMIT 1),'1304525968YBL',@dbcid_130),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='ticket_latereply' LIMIT 1),'1304525968YBL',@dbcid_130),(@wid_25,( SELECT `mgid` FROM `#__mailing_node`  WHERE `namekey`='inform_assigned_customer' LIMIT 1),'1304525968YBL',@dbcid_130);