‚?ó¼7O;Ü `ùOA9´óñÏ»\$œüÁOÑ;ìý`9ÎnÇIAŒxpÜöE=O¹<ü²5Ï΄ý2¸O?d´Ž„´Œ`NòiOÿ>Œþ3½P ?¤òÔOžmœúSðMôˬ·†=¹(ãdã¤AÈ9“‘\0í#üä²@ƒ9DŽÁÉ&ÜýòŠ‚?œ “Ði9»\nà/€ñAÝóòÈA¤ýSËPo?kuN5¨~4ÜãÆ6††Ø=ò–Œ“*@(®N\0\\Û”dGåüp#è¤> 0À«\$2“4z )À`ÂW˜ð +\0Š‘80£è¦• ¤ª”äz\"TÐä0Ô:\0Š\ne \$€ŽrM”=¡r\n²N‰P÷Cmt80ðú #¤ØJ= &ÐÆ3\0*€Bú6€\"€ˆéèú€#Ì>˜ (Q\nŒðê´8Ñ1C\rt2ƒECˆ\n`(Çx?j8N¹\0¨È[À¤QN>£©à'\0¬x cêªð\nÉ3×Chü`&\0²Ð´8Ñ\0ø\n䵦úO`/€„¢A`#ÐìXcèÐÏD ÿtR\n>¼ÔdÑBòD´LÐÄÌõ‰äÐÍDt4ÐÖ j”pµGAoQoG8,-sÑÖðÔK#‡);§E5´TQÑGÐ4Ao\0 >ðtMÓD8yRG@'PõC° ôRgIÕ´ŠQïJ¨””UÒ)EmàüTZEµ'ãê£iEÝ´£ÒqFzAªº>ý)T‹Q3HÅ#TLÒqIjNT½¼…&CøÒhX\nT›ÑÙK\0000´5€ˆ¢JHÑ\0“FE@'Ñ™Fp´hS5F\"ÎoÑ®e%aoS E) €“DU «Q—FmÎÑ£M´ÑѲe(tnÒ “U1Ü£~>\$ñßÇ‚’(hÕÇ‘Güy`«\0’ê ƒíG„ò3Ô5Sp(ýõPãGí\$”œ#¤¨ ©†©N¨\nôV\$ö]ÔœPÖ=\"RÓ¨?Lzt·ƒ1L\$\0ÔøG~å ,‰KNý=”ëÒGMÅ”…¤NS€)ÑáO]:ÔŠS}Ý81àRGe@Cí\0«OPðSõNÍ1ôÝT!P•@ÑÝS€ðÿÕS‰G`\nÉ:€“P°j”7R€ @3üÑ\n‘ üã÷⣔DÓ æúLÈÏ¼Ž èë\0ùQ5ôµ©CPúµSMP´v4†º?h hëT‡D0úÑÖàõ>&ÒITxôO¼?•@U¤÷R8@%Ô–ŒõK‰€§NåKãóRyEE#ýù @ýÃøä%Là«Q«Q¨µ£ª?N5\0¥R\0úÔTëFåÔ”RŸSí!oTEÂC(϶Èýĵ\0„?3iîSS@U÷QeMµƒ KØ\n4PÕCeS”‘\0NC«P‚Oõ! \"RTûõ€S¥NÕÁU5OU>UiIÕPU#UnKPô£UYTè*ÕC«U¥/\0+º¸Å)ÈÚ:ReAà\$\0øŽ¤xòÇWDº3Ãêà`üÚüçU5ÒIHUY”ô:°P õe\0–MJi€ƒµÃýQø>õ@«T±C{›ÕuÑì?Õ^µv\0WR]U}Cöê1-5+Uä?í\rõW<¸?5•JU-SXüÕLÔß \\tÕ?ÒsMÕb„ÕƒVÜt§TŒ>ÂMU+Ö EÅcˆÏÔ9Nm\rRǃCý8ŽSÇX•'RÒéXjCI#G|¥!QÙGh•tðQ¸ý )<¹YÐ*ÔÐRmX0üôö½M£›õOQßYýhÀ«ßduÕ¤ÕZ(ýAo#¥NlyN¬V€Z9IÕºM•¦V«ZuOÕ…TÕTÅEÕ‡Ö·SÍeµµÖÊ\nµXµªSÛQERµ³ÔÙ[MF±VçO=/õ¨>õgÕ¹TíVoUT³Z’N€*T\\*ÃïÐ×S-pµSÕÃVÕq€ÒM(ÏQ=\\-UUUVC•Ä×ZØ\nu’V\$?M@UÎWJ\r\rUÐÔ\\å'U×W]…W”£W8ºN '#h=oCóÐýF(üé:9ÕYu•†¤÷V-UÓ9Ÿ]ÒC©:U¿\\\nµqW—™à(TT?5Páª\$ R3Õ⺟C}`>\0®E]ˆ#Rêà ƒÿ#R¥)²W–’:`#óGõ)4ŠRÀý;õáViD%8À)Ç“^¥Qõé#”h ´HÂŽX ƒþ\$Nýx´š#i xûÔ’XRõ€'Ô9`m\\©†¨\nEÀ¦Q±`¥bu@×ñN¥dT×#YYý„µ®GV]j5#?L¤xt/#¬”å#é…½OPÕëQæ¢6•££Ï^í† €šŽðüÖØM\\R5t´Óšpà*€ƒXˆV\"WÅD€ oRALm\rdGN ÕÖÀú6”p\$P废E5Ôý†©Tx\n€+€‹C[¨ôVŽŒýÖ8U•Du}Ø»F\$.ªËQ-;4È€±NX\n.XñbÍ•\0¯b¥)–#NýG4KØÐZS”^×´M¶8Øód\"C‚¬>ÅÕdHe\nöY8¥Ñ.ê ú°ˆÒFúD”½W1cZ6”›QâKHü@*\0¿^¸úÖ\\QßF‚4U3Y|‘=˜Ó¤éE›ÔÛ¤¦?-™47YƒPm™hYw_\ršVe×±M˜±ßÙe(0¶ÔFÕ\r !ÒPUI•uÑ7Qå•CèÑŽ?0ÿµÝgu\rqधY-Qèó°èú=g\0…\0M#÷U×S5Zt®ÖŸae^•\$>²ArV¯_\r;t¨”HW©Zí@HÕØhzDèÚ\0«S2Jµ HIåO 'ÇeígÉ6¹[µR”<¸?È /ÒKM¤ö–Ø\n>½¤HáZ!iˆö¤ŸTX6–Ò×iºC !Ó›g½à ÒG }Q6žÑ4>äwà!Ú™C}§VBÖ>åªUQÚ‘jª8cïUTàû–'<‚>ÈýõôHC]¨VšÑ7jj3v¥¤å`0ÃèÈ23ö°Ðòxû@U—k \n€:Si5žÕ#Yì-wî”ÕàéM?céÒMQÅGQÕуb`•ò\0Ž@õËÒ§\0M¥à)ZrKXûÖŸÙWl²öÍlå³TM×D\r4—QsS¥40ÑsQÌõmYãh•d¶ÂC`{›V€gEÈ\n–»XkÕà'Óè,4ú¼¹^í¢6Æ#<4éNXnM):¹·OM_6d€–æõ¸Ãõ[\"KU²nžÖ?l´x\0&\0¿R56ŸT~> ô†Õ¸?”Jnž€’ ˆÏZ/iÒ6ôÎÚglͦÖUÛáF}´.ž£¼JLöCTbMŽ4ÍÓcLõTjSD’}JtŒ€Z›ªµÇ:±L€´d:‰Ez”ʤª>ÖV\$2>µŽ¢[ãpâ6öÔRŽ9uêW.?•1®£RHužèÛR¸?58Ô®¤íDÝÆuƒ£çpûcìZà?œr×» Eaf°}5wY´ëå‚Ï’ÒêÅW‚wT[Sp7'Ô_aEk \"[/i¥¿#ÿ\$;m…fØ£WOüô”ÔFò\r%\$Íju-t#<Å!·\n:«KEA£íÒÑ]À\nUæQKEÀ #€¿Xå¨÷5[Ê>ˆ`/£ÍDµÊÖVEpà)åI%ÏqßÜûníx):¤§le¢´Õ[eÕ\\•eV[j…–£éÑ7 -+ÖßGWEwt¯WkEÅ~uìQ/mõ#ÔW—`ýyu“Ç£DÝAö'×±\r±•Õ™OD )ZM^€³u-|v8]‹g½‘hö×ÅLà–W\0øÈû6ËX†‘=YÔd½Q7Ï“”Ï9£çͲr <ÃÖêD³ºB`c 9¿’È`D¬=wx©I%ä,ᄬ†è²àêƒj[ÑšÖíßOÿ‹´ ``ŽÅ|¸òòÆÞø¤Œ˜¼í.Ì AOŠÀÄ ·‰@å@ 0h2í\\âЀM{eã€9^>ô•â@7\0òôË‚W’€ò\$,íÉÅš¡@Ø€Òâ•å×w^fmå‰,\0ÏyD,×^X€.¯Ö†©7ã·›Ã×2ÝÅf;¥€6«\n”¤Ž…^ŸzC©×§mz…én–^ˆô”&LFFê,°ö[€¥eÈõaXy9h€!:zÍ9còQ9bÅ !€¦µGw_WÉg¥9©ÓS+t®ÚápÝtɃ\nm+–œÞÙ_𠡪\\¼’k5£ÒÜ]Æ4ˆ_h•9 Ù÷N…—Å]%|¥ˆ7ËÖœŽ];”ï|ñµ ßXýÍ9Õ|åñ×ÌG¢“¨[×Ô\0‘}Uñ”çßMCI:ÒqO¨VÔƒa\0\rñRÍ6Ï€Ã\0ø@H¢ÅP+rìS¤Wãè€øp7äI~p/ø HÏ^Ýê²ü¤¬E§-%û¥Ì»Í&.ÎÄ+¸JÑ’;:³¶«!“ýÐNð Æ~öª‰€/“WÄÂ!„BèL+Â\$ðíq§=ü¿+Ñ`/Æ„e„\\±ÒÏxÀpE‘lpSÂJSÝ¢½ö6à‡_¹(ů©Äéb\\OÆÊ&ì¼\\Ð59\0û€9nñøD¸{¡\$ḋK‘v2 d]èv…CÕþÅÕ?tf|WÜ:£Ô¨p&¿àLn„Î賞î{;ˆçÚGR9øT.y¹üïI8€¹´\rl° ú Tè n”3¼öðT.ƒ9´è3› š¼Zès¡¯ÑÒGñþŽˆ: 0£¦£zèÝ.Œ]ÀçÄ£Q›?àgT»%ñ™ÕxŒÕŒ.„šÔÇn<ì£-â8B˳,Bòì˜rgQþ¢íßó„ÉŽ`Úá2é„:îµ½{…gëÄs„øgóZ¿•… ׌<æ×w{¦˜ƒbU9ˆ `5`4„\0BxMpð‘8qnahé†@ؼí†-â(—>S|0®…¾¥…3á8h\0Ñ«µCÔzLQž@¶\n?†¸`AÀ >2šÂ,÷á˜ñN&Œ«xˆl8sah1è|˜B‡É‡DxBÞ#V—‹V–׊`Wâa'@›‡¬ X_?\nì¾ •_â. ØP¼r2®bUarÀI¸~áñ…S“àú\0×…\" 2€ÖþÀ>b;…vPh{[°7a`Ë\0ê˲j—oŒ~·ûþvÍÙ|fv†4[½\$¶«{ó¯P\rvæBKGbpëÈÅø™–OŠ5Ý 2\0j÷Ù„LŽ€î)ÇmáÈV¡ejBB.'R{C¤ïV'`Ø‚ ‰Ž%Ç€Ð\$ Oå\0˜`‚’«4 ÌNò>;4£³¢/ÌÏ€´À*Âø\\5„ÅÁ!†û`X*Þ%îÄNÍ3SõAMôþËÆ”,þ1¬²®í\\¯²caϧ ³ù@ج˃¸B/„¬Íø0`óv2ï¡„§Œ`hDÅJO\$ç…@p!9˜!¥\n1ø7pB,>8F4¯åf Ï€:“ñ7„î3›£3…¿à°T8—=+~Øn«Îâ\\Äe¸
ñ˜‡À6ONnŠä!;áñ@›twë^Fé€Là;€×º,^aÈ\ra\"ÞÀÚ®'ú:„vàJe4Ã×;•ñ_d\r4\rÌ:ÛüÀ¬S˜à2€[c€„XÿʦPl˜\$¹Þ£i“wåd#ŽB šb›Îפõ’™`:†€Ï~ <\0Ñ2Ù·—‘RŒÂÆPÈ\r¸J8D¡t@ìEŽè\0\rÍœ6öóäÞ7•½ä˜YÏ£ú\"åäÀš\rüƒ¦Àš3ƒ¡.˜+«z3±;_ÊŸvLÝäÓwJ¿94ÀIJa,A¦ñˆ¯;ƒs?ÖN\nR‡!Ž§Ý†Om…sÈ_æà-zÛw„€ÛzÜ7¡ÍÅzî÷–M”ˆ€o¿”¥æ\0¢ƒa”Åݹ4å8èPfñYå?”òi—–eBÎSà1\0ÉjDTeK”®UYSå?66R ¦cõ6Ry[c÷”°5Ù]BÍ”ÖRù_eA)&ù[凕XYRW–6VYaeU•fYeåw•ŽU¹båw”Eë°Ê†;z¤^W«9–ä×§äÝ–õë\0<Þ˜èeê9SåΤdaª ”_-îá‰L×8Ç…ÍQöèTH[!
A¤ˆaÈ\r—¦y‹0 Öi‘J«} ๩ Ðz:\r¡)‘Sþ‚¡@¢åh@äöƒY¹ã´mCEg¡cyφ‚<õàÍh@¼@«zh&…šFÑ)ú™¶}šb£€èiOÝiæš:dèAŒn˜šc=¤L9O’h{¦ 8hY.’ÙÀ®¾‡®‡…œüÇ\r¬Ö‡£À›Šé1Q¯U ”C‘hô†eÿO‰›°+2oÌÎìÞN‹˜÷§øzpè¢(þ]Óh€å¢Z|¬O¡cÑzDáþ;õT\0j¡\0…8#>ÎŽÁ=bZ8Fjóìé;íÞºTé…¡w®Í)¦ýøN`æë¨¤Ã…B{ûƒz\ró¡c“Óè|dTG“iœ/ûú!i†Ê0±¼ø'`Z:ŠCHï(8Âê`V¥™Úãöª\0Üê§©†£WïßǪ˜ÕzgG¾‘…ƒ½²-[ÃÐ iœêN\rqºé«n„„“o Æ¥fEJý¡apb¹ê}6£…Õ=o¤–„,tèY+ö®EC\rÖPx4=¼¾™Ù@‡‰¦.†‘F£[¡zqçÜèX6:FG¨ #°û\$@&ab¤þhE:²ƒå¬ä`¶S1—1g1©þ„2uhY‹¬_:Bß¡dcï–*ÿ†\0úÆ—FYFœ:Ë£ªn„ØÌ=Û¨H*Z¼Mhk/냡žzٹ]šÁh@ôæ©Øã1\0˜øZKùž¢ëÎÆè^+º,vfós®š>ˆ¤’Oã|èÀÊsÃ\0Öœ5öXé‹îѯF„÷n¿Aˆr]|ÏIi4è…þ ØÂC° h@ع´Ÿž–cߥ¨6smOÃ剙›gX¬V2¦6g?~ÖÃYÕѰ†súcl \\RŠ\0Œ¨cœA+Œ1°„›ùÌé\n(ÑúÃÌ^368cz:=z÷‚(äø ;裨ñsüF¶@`;ì€,>yTßï&–•d½Lןœÿ%Òƒ-ëCHL8\r‡Çbû°°£úMj]4Ym9üÛüÐZÚBøïP}<ŸûàX²¯‰Ì¥á+gÅ^ØMÞ + B_Fd¬X„ø‹lówÈ~î\r⽋è\":ÔêqA1X¾ìæ²Ðø¯3ÖΓEáh±4ßZZÂó¸& …ææ1~!Nfã´öo—ˆ™\nMeÜ଄îëXI΄íG@V*X¯†;µY5{Vˆ\nè»ÏTéz\rF 3}m¶Ôp1í[€>©tèe¶w™Ÿæë@VÖz#‚2Äï iôôÎ{ã9ƒ‚pÌ»gh‘Šæ+[elU‰¦ÛAßÙ¶Ó¼i1Ä!Œ¾ommµ*Kà‡ê}¶°!íÆ³í¡®Ý{me·f`“—mè˜CÛz=žnÞ:}g° T›mLu1FÜÚ}=8¸ZáíèOžÛmFFMf¤…OO€ðîáÀ‹ƒèøß/¼éõ¸Þ“šå€þV™oqj³²èn!+½òµüZ¨ËI¹.Ì9!nG¹\\„›3a¹~…O+Îå::îK@Œ\nÚ@ƒ‘¤Hph‘´\\BÄõdmfvCèžÓPÛ\" æ½Û.nW&–ên¢øHYþ+\r¶“Äz÷i>MfqÛ¤îºùÝQc‚[H+æÀo¤Ñ*ú1'¤÷#ÄEw€D_Xí)>Ðs£„-~\rT=½£žà÷ˆà- íy§m§¹æð{„hóŸÌjÚMè)€^ž¹ïÀ'@Vå¡+iÈîÎò›Ÿåµ†É;F“ D[Îb!¼¾´B ¦¤:MP‹îóÛoC¼vAE?éC²IiYÍ„#þp¶P\$kâJÞq½.É07œþöxˆl¦sC|ï½¾bo–2äXª>Mô\rl&»Ç:2ã~ÛÑcQ²îò²æoÑÞdá‚-þèUÜRo‚YšnM;’n©#–ß\0–P¾fðÚPo׿(CÚv<ʬø[òoÛ¸”šû×fÑ¿ÖüÁ;ßẖõ[úYŸ.o®Up¿®pUŒø”.ž ©B!'\0‹òãÆèü@àD̆Yæ¼í›â`o»<>Àƒp‰™ŠÄ·’q,Y1Q¨Á߸†/qgŒ\0+\0âæå‡Dÿƒç?¶þ î©Úßîk:ù\$©û¬í×¥6~I¥…=@ŽíÑ!¾ùvÚzOñš²â+ÍõÆ9Çi³–›¼aïð†êû…gòðôî¿—¹ÿ?š0Gn˜q²]{Ò¸,FáÃøO¡â„Þ <_>f+¢,ñÌ »Ôñ±&ôœ†ðí·¼yêÇ©Oü:¬U¯ˆLÆ\nÃúI:2³¿-;_Ä¢È|%éå´¿!Îõfž\$¦ˆ†Xr\"Kniîñ—ÀÐ\$8#›g¤t-›€r@LÓåœè@S£<‘rN\nD/rLdQk࣓”ªõÄîeðåäãÐåø\n=4)ƒB˜”ËךôÌZ-|Hb¡†‘HkÊ* ÖQ!Ð'êG ž›Ybt!¿Ê(n,ìP³OfqÑ+X“Y±ÿ‚ë\"b F6ÖÌr fò\"Òܳ!N¡ó^¼¦r±B_(í\"¨KÊ_-<µò *Q÷ò¨Ù/,)H\0„‰²rç\"z2(¹tÙ‡.F>†‡#3â®Ø¦268shÙ þ¨Æ‘I1Sn20¶çÊ-«4’ÚÇ2Aœs(¬4ä¼Ë¶Š\0ÆÝ#„årþK'ËÍ·G'—7&\n>xßüÜJØGO8,ó…0¼â‹ù8”ÑÓ\0óW9’ÝIˆ?:3nº\r-w:³ÂÌÅ×;3ȉ”!Ï;³Üꃘ˜Z’RMƒ+>ÖÜðÊé0/=R…'1Ï4Õ8ûÑÏmÿ%È¥}χ9»;‚=ÏnQöã=ÏhhLõ·GÏkWÎ\rô %Ø4ÒœsñΖJ€3sÛ4—@™U‚%\$ÜÑN;Ì?4»óNÚÏ2|ÊóZÚ3Øh\0Ï3“5€^Àxi2d\r|ûM·Ê£bh|Ý#vÇ` \0”ê®äàû\$\r2h#ú¤?³ˆI\n’¼+o-œŠ?6`á¹½¿.\$µšøKY%ØÂJ?¦c°RN#K:°KáELÁ>:Á¥@ŒãjP‘Ìn_t&slm’'æÐ©É¸Óœ²Œ½—ã;6Û—HU5#ìQ7U ýWYÜU bNµ–Wû_ûª©;TCø[Ý<Ú–>ÅÇõ‰WýCUÔ6X#`MI:tùÓµ€ö u#`fu«\$«töXó`f<Ô;båghöÑÕ9×7ØS58õ¬Ý#^–-õ\0êÀúîÕ¹R*Ö'£¨(õðõqZ壣êX¹QÝFUvÔW GWíñÓTêÇWô~Ú^§WöÄÁÕýJ=_Ø—bmÖÝbV\\l·/ÚMÕÿTmTOXuÊ=_ýITvvu‹a\rL_ÕqR/]]mÒsu=H=uÑg o\\UÕ…gM× XVU À%õhý¡53U™\\=¡öQߨM¹v‡€¡gåmàõue¡ˆÙûhÿbÝMÝGCeO5®ÔÖO5…ÔYÙi=eÕ GTURvOa°*ÝivWX•J5<õ¯bu ]ˆ×Öðúµ<õÃÙÕ\$u3v#×'eöuÑR5m•Šv‹D5.vŽŒõW=ŸU_å(´\\VØÏ_<õ÷SÍn)Ü1M%QháZ‡T…f5EÕ'ÕÍW½ŠvÅUmiÕ‚UÔÕ]aW©U§dRváÙ-YUZuÙUV—UiRV™õ³ÓÇ[£íZMU§\\=Âv{ÛXýµ¼wQ÷huHvÇ×gqÝ´w!Úoqt¢U{TGqý{÷#^G_ubQ„êå•i9Qb>ÚNUdº±k…½5hPÙmu[•\0¦êÅ_¶é[õY-ðô÷rõÈÕ(ÖCrMeýJõ!h?QrX3 xÿÈÏ#‡÷xÖ<Û{u5~ƒíÑ-ÝuŽëYyQ\r-”î\0ùuÕ£uuÙ¿pUÚ…•)–PåÜ\r¶“×UÛ7ßžç‰Ôám»Ó‚¬zÿ=µƒÍØ1º™ƒ+ ¹mÃI,>µX7àä] .‡½* ^îŠã°N…º.èÎ/\"„˜)Ð …¯‚sž®|à¤çÓŸÐlÁ}㸎Íç!ó5n±p„j£¾h’}½èðm“EázHÂaO0d=A|wëß³ãëךÎìu²œŸvùؼG€x#®…b”cSðo-‰ùtOm`C‹ò^MŒÅ@ë´hn\$k´`þ`HD^PEà[äŒ]¹¨rR¸mž=‚.ñÙ‡>Ayi‚ \"ú€ò Ö·oã-,.œ\nq+À¥åfXdŠ«¶ã*ß½ˆKÎØƒ'Üê Ð%aôÿ‡ù9pûæ—øKLM„à!þ,èÊËŽ¨ŒzX#˜Vá†uH%!Àœ63œJ¾ryÕíùq_èu úWù±‡Æ|@3b1åÈ7|~wï±³þíA7“ÒÂ›è™ ¼™9cS&{ãäÒ%VxðïkZO‰×w‰Ur?®„’ªN Î|…CÉ#ŰõåÕ¯ ¹/ú™9ftŽEw¸CÁºa¦^\0øO<þW¦{Yã=éŸeë˜ýnÉ„ígyf0h@ìSÝ\0:C©´^€¸VgpE9:85Ã3æÞ§áºð@»áŽj_ª[Þ+«êÇ©xƒ^“ꮆ~@чWª¸ã㓜†9x—FC˜¿.ãšçöük^IŽû¡pU9üØSŸØ÷½—œ\$óóø\r4´…ù\0ÎèO°ã‘Ä)L[Âp?ì.PECSìI1nm{Å?žPîWAß²Á;€ñìD°;SºaKføò›%?´XõÞ+¤B>½ù9¿¯ÙGj˜cžz‘AÍŽ÷:êa³n0bJ{o¥·!3À!'’ØKÃÅíùÔ}ã\\èÎ3Wøê5îxÏÉÁL;ƒ2ζn—a;²í׺XÓ›]Éoºœxû{ä¦5Þ™jX÷ˆð—¶vÓšéãqÞÊEE{Ñ€4Á¾öÄ{íÙç Ì\nöÊ>ù™aﯷ¾üì§ïØLûÔûåïÿ½ûìñ'ð½Þé{ë\n‰—>JøßŒŒá¸Ó—†÷YÏ\rOʽð‘t¯ÿû¥-Oæü4Ôÿ9Fü;ð§Á»ÔüGðøIªFßì1ÂoÿßóñO²¾éa{w—0Ó»ï¤Æ¯;ñ”„‘lüoñàJÐTb\rwÇ2®Jµþ=D#ònÁ:ÉyñûSø^ã,.¿?(ÈI\$¯ÊƯí¨á3÷Ãsð4MÊaCRÉÆÍGÌ‘œúIß°n<ûzyÑXN¾ð?õâ.Ãî=—àñ´DǼ\r›žØé\nÕó¨\roõý\nПCl%ÁÍYÎû¥ß°ÏàGÑþÚ}#VÐ%ý(ÔÿÒà3æÉ˜ržð};ôû׿GÉÌnö[ª{¥¹–“_ðÒ^øÕû¥ö\\Ì{nÂ\\Ìžé7Ÿ„¿ÙŸic1ïÚÿhooê·?j[WX{qÔaϤÆÉý.&NÚ3]ñúHYïÝûƒëÛ[¶ÁÙ&ü8?Ñ3„‹›¦¶§Ý†Ú»¶á#Œ¦ÎBðe6ë…@–“[°¤£ûàÐG\rÎ+ý§}ü˜÷ÁÿÏ_Ýç7–|N„§«Þ4~(zÁ~“»¹ï§%›–?±ßÓÈ[¹ø1žSª]xØköÑKxO^éA€‰rZ+ºÿ»½*ÂWö¯kþwD(¹ø»R:æý\0•§íù'¤Šó“m!OÐ\näÅuè‚Æó.[ PÆ!¹²}×Ïm Ûï1pñuüâ,T©çL €0}â&PÙ¥\n€=Dÿ=¾ñÐ\ršA/·o@äü2ãt 6àDK³¶\0ȃq†7„l ¼ðBêŠúÌ(ƒ;[ñˆkr\r‘;#‘ÃäƒlÅ”\r³<}zb+ÔÐOñ[€WrXƒ`Z Å£†Pm'Fn ¼‰îSpß-°\0005À`d¨Ø÷P„ÁÚǾ·Û;²Ìn\0‚5fïP„¿EJäwûÛ ¹.?À;¶§NòÞ¥,;ƦÏ-[7·ÞeþÚiÅâ-“ÖîdÙŽ<[~”6k:&Ð.7‡]\0ó©ûë–ù/µ59 ñÁ@eT:ç…˜¯3ÅdsÝú5äœ5f\0ÐPµöHB–•í°½º8JÔLS\0vI\0ˆ™Ç7DmÆaž3e×íŽ?B³ª\$´.E‹ÐfË@ªnúƒ‰bòGbÁÏq3Ÿ|üšPaˈøÏ¯X7Tg>Â.ÚpØï™’5¸«AHŵ’Š3Sð,˜Á@Ô#&wµî3†ôm[ÏÀòIíÑ¥Ó^“̤J1?©gTá½#ÏS±=_„‚_± «£ÉVq/CÛ¾·Ý€Î|ËôáþD ƒg>Ü„õëé 6\rŠ7}q”ÆÅ¤‹JGïB^î†\\g´Ýõüœ&%Ø[ª2Ixìªñ6\03]Á3Œ{É@RUàÙMö v<å1Š¿‘¾sz±uP’5ŸªF:Òiî|À`qÓ÷†V| »¦\nkâ}Ð'|Žgd†!¨8¦ <,ëP7˜m¦»||»ÿ¶IŽAÓ]BB ÏFö0XÏú³ ŠDÖß`W µÁqm¦OL‘ ì¸.Í(Áp‚¼Òä¶\"!‹ýª\0âÍAïÃô‡‰ÁV€–7kƒŒM¸\$ÓN0\\Õ§ƒ\"‹f‘á Çëñ È\0uqž—,Œ 5ÆãA6×pÎÎÈ\nðÎjY³7[pK°ð4;lœ5n©Á@â\\fûÐl ¦‚MöùûPÁç3®—C HbÐŒ©¸cEpP‰ÚÐ4eooeù{\r-àš2.ÔÖ¥½ŒP50uÁ²°G}Äâ\0îËõ¨<\röœ!¸œ~Êýµ¾óñ¹\n7F®d¶ýà“œ>·Ôa¢Ù%ºc6Ôž§õMÀ¥|òàd‹û·ìOÓ_¨?J„æªC0Ä>ÐÁ&7kM4ª`%fílðΘB~¢wxÑÚZGéP†2¯à0ü=ž*pð†@ˆBeÈ”ØÏ|2Ä\r³?q¸Ð8í¸ë±ñÍЊ(·yráö 0àî>œ>ÀE?wÜ|r]Ö%AvàýÁÅä@Ž+ÝXÁªAgâÉÛÿsû®CÐûAXmNÒú4\0\rÚͽ8JÝJðǸDÒšó´:= •ðó‡ëÆS™4¯ñF; ¬\\&Öè†P!6%\$iäxi4c½0Bá;62=ÚÛ1Âù̈PCØåƒmËÍ“dpc+Ò5Šå\$/rCR†`£MQ¤6(\\á2A ¦¹\\ªŒlGòl¬\0Bq°¤P¯r²ûøBµ‰ê›Ñ‚¹_6LlË!BQމIÂŽGÀåÜØðXRbs¡]B—Hržã˜`ÎX‹ä\$på±8ð„• nbR,±…L \"ÂE%\0’aYB¦sœ…ÍD,!Æ×Ï›pN9RbG·4ÆþM¬Œt…¸œ¬jUô¤À§y\0ìÝ%\$.˜iL!xÂìÒ“Å(Ä.‘)6T(’I…ìa%ÒKÈ]mÄt¥ô…ú&‚óG7ÇITMóBú\rzaÂØ])vaˆ%œ†²41TÁj͹(!…¬Þ¡¨\\\\ÆWÂÜ\\t\$¤0Åæ%á”\0aK\$èTšF(YàC@‚ºHÏŽÐHã€nD’dÆWp˜ÉhZ¯'áZC,/Ž¡\$û¦£—J¡FB¨uܬQ:Î¥ÂAö‰:-a#”ì=jb¨§lÕUg;{R°€Uº±EWnÔUa»Vâî•Nj¬§u‹GÉ*¨yÖ¹%ÝÒ@Åï*Ìä«ÕYxê±_ó²§z€]ë)v\"£çRÕåL¯VIvê=`›¾'ª°UÝ) S\r~R˜•™\ni”Å)5S¦åD49~Êb”;)3‡,¦9M3¯HsJkTœÃœ‡(¢†ú—uJ‰][\$uf¨íob£µ¹\n.,îYܵ9j1'µŒ!ö1\$J¶‘gڤ՟ĆU0ÓZuah£±·cH¥,ÃYt²ñKbö5—ë5–’/dY¬³AUšÒ…©‹[W>¨_Vÿ\rˆ‘*·õ©j£§-T±… zÖYÊd•c®m‡Ò¹±Ø:¹€üË[Ut-{ªµýl £i+a)».[º•_:Ú5žähƒòW§Ém»¥%JI‘´[T«h>𮵷°•™;ËX̺dêŸS›d‰Væ;\rƱ!Nˆ“K&—AˆJu4B…Ádg΢.Vp¢ámb‹…)ÇV!U\0G丨“`‹Ð\\…qâŸ7Qöb«VL¥Þ:äÕ‚úƒó¬Z.Nò˜Ä*–ÔU]Z´læzë…Îöù®ÇR D1IŸå£Ñr:\0<1~;#ÀJbà¦ÊM˜yÝ+™Û”/\"Ï›j<3æ#“–ÌŒêñ¡…:P.}êe÷ïòD\"qÙyJýGŒû·sopŒ¯²þXŒ\rݳd–Þ\rxJ%–í‰ÏƼO:%yyãÅ,‡”%{Î3<îXøÏÌ÷¯zÂEÎz(\0 €D_÷½Ÿ.2+Ög®bºcÚxìpgÞ¨Áß|9CPŽûî˜48U Q§/Aq®ÝQ¼(4 7e\$D“‰v:ŒV¡b×ûN4[ùˆiv°Àê2ñ\r•X1¼˜AJ(û\"¤°-á:ÊFÍõœIÙƒ*í@ÔŸÇy»Tí\\Uè¨ãŠY~ЉŽäâš‚3Då€Á™ã¨f,s¢8HV¯'Ét9v(:ÖB9ñ\\Zš¡…(‘&‚E8¯ƒÍW\$X\0»\nŒž9«WBÀ’bÁÃ66j9Ð âʈ„ƒ?,š¬| ùa¾g1²\nPs \0@%#K„¸€ \r\0ŧ\0çˆÀ0ä?ÀÅ¡,ä\0ÔhµÑh€\08\0l\0Ö-ÜZ±jbàŬ\0p\0Þ-Ùf`ql¢ä€0\0i-Ü\\ps¢è€7‹e\"-ZðlbßEÑ,ä\0ÈÌ]P ¢ÚE¶‹b\0Ú/,Zðà\rÀ\0000‹[f-@\rÓ¯EÚ‹Ï/„Z8½‘~\"ÚÅÚ‹ö.^ÒÎQw€ÅÏ‹‚\0Ö/t_ȼÀâèEð‹Ö\0æ0d]µ€búŤ‹|\0ÈÄ\\ؼ‚¢íE¤\0af0tZÀÑnJô\0l\0Î0L^˜´Qj@ÅáŒJˆ´^¸¹q#F(Œ1º/ì[µ1Š¢ãÆŒIæ.Ü^8»\0[ŒqØÌ[Ñl\"åÆ Œ€\0æ0,dè¶À€Æ\rŒÌ„cøµ{cEÁ\0oâ0¬]°\0\rc%ÅÛ‹—ðˆ8½w¢åÆZ‹µ-Ä\\ºñ{ãÅÖ‹Gª/\\bp„…@1Æ\0a²1ù‹ÈÏÑsã!ŨŒ/î/Ì]8¹‘~c\"ÅÛ‹Åþ2ôcΑm£\"€9Œqš/\\^fQ~cÆ_‹£Î-\$iž\"Ö\0003ŒË¬¤fXºqx#\09Œ—Z.´i¸ÈŒ@FˆŒ‰3tZHÉ \rcK€b\0j’/DjøÉ1¨ââÆIh´aÈñv€Æ©OZ4œZòÌÑ‚#YE¨\0i–.hHÒÑsX/F<‹Ï†.äjøËñbèÆÍ\0mV/d\\èØñ‹b÷E³‹£ž3T^(ÝшcKFR‹Õù‚ô]X¶q½¢øÅà—’6Ô]hÓñžc6EÄ‹ó66Üh‘Ÿãn\0005sn/dn¸Ô`\r\"ÑFŒ³Ú-D`ÈÕ‘‹ãN€2‹Y”¤bxÀñ”#\\Å닇V3x·1x€FxŒ¾\0Ê6Œb°q£ƒÇ!Žž8|^‚ÌÑubåÆàÕ-ôrØäq¼ã:ÆéŽ%ö0Œppñ”#Ç‹¢\0Æ6ÔfÕÑÇ¢âŬdÒ0„qH´±¾£\$Ç@‹qò-¼^B4±¦\"ú\08Ž1ª/lnxÏ‘ âêG3:0tjhÒ~@Æ¼Ž¥¦3¤vHÆñ¹bÜG(Že„4gغqÂã2Æ1ŒÉ-ŒnXËñº\"ãF4iØÅ¿âÔÆçŒé\n<{¸ã‘£âƉŒJ;¬]ØÄ1Å#ÎÆ0ÙJ;4^èÂD½ãóÇ®‹Ÿ¨³4i¨À(H#ÚÆEŒx–/¤nøû1ðã/Ç¡‹åj6,l˜Û1tã/\0005%ï0„]xü‘¶£GG5!’0¤€¨×ñÚâé–rŒq¢2̨ޑÎãNFPo\"4ô_˜·1×dÇ%‹e ²3¬s8é‘üã†G5Ž“ æ6Ô[Hë“cØHjYš;ô[辑˜bë! Žyò@Ä\\¸½qØ#WHN‡Ž;ÌcÆQèã:Ç-%ª.œkXÆ‘ý£ÚG͌φ1Df¨ß‘ºcWFl¡!‚0ü€™²c EÜ©Ž;l˜Ñq\"ëF©ß¢7\\\\¨ùñâ£ÔÆO‹qþ.T|\"?‘ñã™ÆE³f9TyYÑ©ãSG1ûÂA\$f9R\n\"ÞÆxŒ¹>Bœ…HÚñߤ\0ÇŒ¶:\$e¹1œ£³F?=º3Tu)\nq¹béÇ~ËΑY®4Œ^¸ÎQjcÊÇKŒ1\"Ò8¬|6Ñåc\"ÇB‘µ\"b4ãèæ%œ¢ÔÈG\0e\"’/t‹¨´1r£1Æe!v2„yÀ±õä<Ç †8\\o¨ÊÑ’#tÅÑ\rz@´}H‘èbïÆèy î1Ì\\¨ðëdeGŽÁZ3Œ~ér)ã1È¿‹Û†Bl~H½²:£dF£‘-Î?”k8´qèc(FÍ‹ŠKÞ5|myñ€c1Æ<’*@´jØáò1ãÛžŒ‹>I´ZèÍQjä•È2ŒÉ\$0¤‹hµQˆäVFTŒ \$ÆAl~öqڣȱŽ\$Ö>\\pÙ\rq‚\$/Èu%ï!®Jq \$ ãtE²‹GN-Tq)ò\"¢ÛHʌ˦=ì–XÉ2-£H’«š8\\nˆµRW\$HŒë\"¢C\\_¹\0»d\$Çf‘³\".D„u 'Q£zEíŒÙ&0toˆóqjãúÆ¿Œ³R@d—øÉä£ùÇu##¶LLkÉ*qó\$*GÄ‘iÎ@TŠi‘lãòEª‘ƒÎ5Œ˜¾r\\d–I–‘µ\"/ÌZÉ0’j\$TÅþŒz5Ld3’£ëÉ’oÂ.Tq¹!1{£Æ‹åÖ9œZ¸¾QÕbÓFŒwJ94nˆÒÄÖä{É(“-Ž8·2h¤uÈé“;\$†-Dkøårs£‡Hž™#¡‚ôY7ò\"Ø/E¿’Ó \$j¢^ò-£]Ç7Ž[\"N\$’è‘“¤WÈ‘¯Ö/]à\$²+€1Ga/&IDnøÂ’@\$åÆ!‹ç\$Î-Œk!Q¨âùÊ)(N/\$t¸Ý¹äëÆOKzP´tXÜò[\0’GŽ’w(*K\$vˆË1ócÉ'“ÞGÌžIòxdÈ\n“AÒ8\\rX·Òa£÷I”iNœI%\$½ã’Æ_‘÷ª6¤fçQþ#–ÈI”5#ŽF´—غñÏ#³Eâ’•\"î3\$¢IÜc‡Hˆ‹ÝvR|ùQ€¤cE¸ñ:R„eº±hä¶EÎfK`8þr.#·E³s®0L…˜üRä†F©‹·!\nC\$`Èöñ´\$ôH?’ËnPÜe™!ñš¥@F'”¿–/œ‡¸¶ÄÖäÿÊ”¯%ÂN,hÈÌrF\$öÈþŒÇ3´tøæÒ€¥Åæ’!1<„ÉCQÏ%ÉÃ’¹æJäZØf.Ý6ņœ·±C‰¥ÊÔœ.²[þ™BÒ¿xëàƒè\0NRn`šÈùY\n’%+N¨IMs:ùYdƒef¬B[¶°ÝnƹYŠòm¨ÁR®×’ûÉY¯ÚC„XŒëÛj³çU+Vk,¯\0Pëýb@e²¹¥x¬„V¾ºyT¤7ˆuî«[Jï•ȱ\nD¯§eR¿¬mx&°lÀ\0)Œ}ÚJ¼,\0„IØZƵ\$k!µ¨ñYb²Áœ°€R‡e/Q¾Àk°5.Áe‘5•À¨žW‘`ª¥\0)€Yv\"VÂ\0•Ã\n‡%—å–`Yn¯Õ¡aôÔxÆQ!,õ`\"‰ _.Ÿå©Æ–tm\$•\"“²J«¤ÖÀ§ŽvÆ%‰M9j‚° æ–§Ä*³KpÖ”’;\\R ¼ü3(§õŠ^¯:}–Èï|>µa-'U%w*‰#>¤@̬e–Jÿ¤;Pw/+¹á5E\rjn¡ÐÃd–ô¢^[ú¯§cΰ¥uËz\\Ø1mi\"x‚„påÃ;£ÌîˆæˆP)äøªÇ#„±Ø’¡…Ë!Aª;¨ß 4ì³a{`aV{KUàÊ8㨟0''o€2ˆ¨¢yc̸9]Ké@ºÒ—^ðlBˆâOrëÔã,du¤¾8¤?õ‰€Õ%¼gB»ˆî‚ÆYn+ã%c¬e\0Œ°ñऱYr@fì‹(]Ö¼¨\nbizîÖn€SS2£ÁGdBPjйÖ@€(—È¥¦!à-çv²´eÚ*c\0„ª4Jæç‚’ùÕÙ,“UÈ dºÉeðj'TˆH]ÔŠÔG!œ)u‹ÕÖ¯Ÿ•Ò¯ùZËB5ûÌ“Wމ0\n±á¡ÔR«ÁW…\\¦Q jÄ^rÊ%l̘3,ÒYy×Éf3&̕܎ÕQ:ϵ2„mÉR)”T€¾(KRÁ 0ªÊ”@«ìY´¢Y:£Ùe3\r%´¨°Tö%X”Á¹‡STÔ.J\\ë0ÙhôÄ…ŠD!Ä:—uæêÉU\"¾ÅÁo+7–\"„µ“f'ºR\0°‘ÞJõ2S–2è#nm »ÁI劜ý\"Xü³²[Ö€Ñì} J¨¯c¼9p0ªüÕQ»(U\0£xDEW‚Œ.LõÁ=ti'G‚öŽlª%\08âVBËU1«ye\0KTÆ4ûÁÈm’ºV2)\r]I/\rFù…ÔXˆ×Àߨña·GŠÂ¹ò*ˆ§»žÿ>ERì÷ðž‡ÑZ›-)I\$®¹íç:¦aË\0¾FybaÙg«w§(ß_@§v}öiõʳî€S^Ë25DԳРÈôURO±ŸJHÖ\\ØisðfÆËKšN±€qi÷Sg×OŸ\n²F~|«µÏ*@gR€_Q<9sܬ3i+Ø—².Cw²²ê|‚øyË6aìOÜY9¶Œ¶É–\nëÔ½-([®±†_ˆ}íSû]c¤S=¤ÎÙþÎÍÔYÎàU-> <ú©µ\n<ÖsOôQ4F¦^}\0007uäk(/‹ŸÛ/5{Lÿ9µ\0§¬Ð &³Š[<ÏõŸsÛ\0&Íè#…@hÌéª3©V}ÐH¢Š*Üw+]'DÐ& @§Ö])µè;TGe3\\Îên®ÑßËd\$:¦uN4Åyktê-dR!7–Ée4(P!•Ÿ-þ9À4ç_PMGbıw…«ØÉ6O§S¦F‚âí)§Šyh0+€ž²§qT|·Š+uÔÿÎ+ A¬?òÞ öTè3.q 41T´¸e›€\n:P ø¯–{Tî\n³ëh?«šTïAùS£*«åÒ+åu¥>ú\\ê¾ZéíÊîYì·¢wEJö%·’s—L±¾dªšyÀ+\rCèœß¡'Añl,Òyå3þç²ËÍ—`º _*ÑPû ThKDV²·–~5 à0´+á¼,š-?]œºò3ëÖKå—`¯^†¸¤I42(]ªwž.æ†rÄÊËê]¬\nYƨB†£Ð ³í–}ЋR ¾ÉgØ}:H§ðJÄWP²ê„\"Þµ—ðôV\\¬<——? >½å—áÿ§Ü¬Ý†¿=¦…:Ÿ\n0×è\\+ñS–´æfÝUŒ³í‰U,…WCÖˆè•On¨òÎ…¢§.†e9|R÷I'©[×/º²ÄÙü2ù›«QžÓBn:ÆIõ\nö§g¼9Æ\rü,ÓR6³ýçÒQ\$XÝ+¸>–©±`\nù)/_8QiÔùµê—=‡êv?5v\0 \n¨çÉLG¥Dmˆw\\ëFÖŒ‡Ñ¢¯ÁdꟵ}s‰\"‘ÃYv¤|â™J*´9h¡Ñ@XEUÑ*Þ(oQ]\$Bžˆ,ûé܃•KTœv¤AptCɃ\n×C,/˜<¡Ú™EW‹-VïP¡¢=Wÿ*%Kê—-Q`9 (Êú59Ó€èm)ËX¸¨@ç2ø ýT@ˆÛ\nS–¯‘bd×Eδa€+€DXîá|UÚ ‹ ’¡F® 2ú%5\nj•m«€WÙ+xêKŒæVÌ3#„¶CTÃek¤™–&Î,£l¬jbd7)Ó“\"\n+ìPüºb’èIŠ@è3ѕܵjUÒÌEsÞÔ)D¢fë’ƒõŠû•ÇPZ3AÎŒÕ\nwTh𗲪ۘÅ4Zäª<Êuß©ßdqâËŠu(÷ž“bKG±à¥éÀnÓTﮈ]z¨f%#3IËfS¨®&}µ@D†@++ù¤Aíhª¿\nªï€U—Þ¥|B¡;”…UmÑÙU…E•N¥!ôx2±1Ò\0§GmvH~õÁHèTê)öW®³YNý\"åk5©ÑvT#=µÚ¥Ê<\n}‘#R3YƒHÅRÍIͳܦ;ÌÑRl£1léuB%TQJî™*ºêˆÙ'ºEë0i¬dw,¥zÊÍ¥:\$†¦;Í? üîj‘¿)§ô)ÔÊ\$32J}Å&‡[³\$¨õ̤;DnýE×´À+0ÛaZ{¨èC èû€(¤ê:“¸ ÚO@hø²D£æ\0¡‰`PTou“³ÄïF®\rQv‚û¨˜o½Ü¡\$Sîö+˜Ò#7À¤Izr…pk DW”ˆFsÍ9™ Qê а1€gÀÅ#•\0\\Là\$Ø 3€g©XŽyôy œ-3h›ÀþÃ!†nXèô]+±— É€c\0È\0¼bØÅ\0\r‰ü‡-{ž\0ºQ(ðQÔ\$s€0…ºém(°[RuòVÆ÷ÒØ>Ƽ+àJ[©6à‘ÒàJ\0Ö—ú\\´¶ã,Òé‚Kš3ý.ê]a_\0RòJ Æ—`š^Ô¶ClRÛIKî–ù\n \$®nÅÒä¥ïKj–©\n€šÁ©~/¥ªmn˜].ª`ô¿ijÒâ¦#K¾˜f:`\0…錀6¦7Kâ–¨zcôÂ\0’Òõ¦/K®–/ªdôÄé‡FE\0aLŽ˜¤dZ`ƒJé†S‘ÏÊ™…2ØÍ4Î@/Æ(Œ‹Lò™õ0ª`´Ä©†€_ŽLþ™]4ZhôЩšSD¦M˜…4:cÑé‹SR¥×M—E4šiò€éžSG¦EMj˜å4zdÔÕ©–SFKLª›%4ªeÔÏ%\$ÓlKM2–õ1ÈÚ”Ôi¦Ó©MV›.¸Ú”Öi´Ó©Lz›/ˆ÷ôÛ£Ó„¦ÑMæ›,`Š_ôàimSЦgMÆœ€jg‘òéÇÓ5¦9.›…9j_òéºS¥µ.›Å9ê_±òé¾Sˆ¦‹.œ7Úrò)ÉÓ%§[2m8ºuTæé™S±§3M:]3ºq”èänÓ±§KNˆ1|^ÒktÏ\"ÒÓH§gKjž-;zcñiÎÓš§–\r<ê_²-iÊÓ¸¥ñ\"ÖžU.¹´óiëRÚ‘kOFží=:\\ôÏ\$ZÓ©§MLE5úxôø©ÂÓ»_\"Öœ=<\0ñtéÙSç¦9OÒž1Š~”öi²Óô§¹Oêí>ê~qœ)òF¸¨’ =6:~ÔõãJÔ‘ÏP:ŸÍ=¨åTÿ)¢Æ«§ÿPJ8õ@êwôô©÷Ç*§ÍOÊ5]>ªt÷£•T\n§å!\" 6Y )€ÈH¨/Pªž…3É éð†/‘P~ àù ªÓ®¨!\"ŸC’ÌÔýj¡ ¨eNJ¡üˆêˆñÔ*%Ô4¦1Q¡ÅCZ‡Q‘jTBQ.¢\rE)\0004Ëê\$€2¨SM+åªgSD³5MÈ•RªœÕHªwU\"©íK8ÕÕRª ÔÚŒ¡U*ª-U*¨àn¾TÙIR,t¢Z«ÕêY¶IUF«51ª¬µW)vÕk‹_KÆ«pJ«5Zjů©R4r\n¬^jIÓCKº„‚ª}UÊ“_ª°Ô›ªãO¬=N·R*¯F-ª½Rž¬%Wš‹Õcê¦Õ\\ŽaV>«EYj–µdªªÔëUάµWXÍ5*ÈÕ‹’¹Uy‚õZа1kã™Õ¨«7Vš¬R\\HÍ5h*ÖU¢©ÏUƧM[в±kêvÕ¸«3Vò}[(ä5WªzÕ¸«iBOº®1¯ê¯Tý«—V®;[øîµpRæGu«;T@0>\0‚ê/I³ªÿW`í]¦ô\0ªîÆ8«¿PН]ÈÍ1m*ïÕÇyUz¨mW¡õ|ªÝ“[«¡Ö¯…]J¬ÑˆêøU±««ö¯…Z*¤5\\j‘Ö«ëZªô`ZÁ5~ª®Eì¬Wú«4ZšÁ5h£QÕ^‹cXZ®•Sú®1o«Vª¹U&«TºÄ5}cU^›Xš°dm*³±’kUu¥«SfG=[¹õjäsÕ¿‘ÏX¦Kc\n®iRâHç«i#ž±uWt»µª½¥º«»XÂÕcĹ•«U†¬”rÚ¢õUZ‹Õ‡ƒNE¢¬‘Xº¬…4ÚÈudê·Eä¬eV^²íKÉànâòV8‹sXÂ¥ÍfÇõ/ÂhJ³-J]Ó‚…™ÓÎÁÕzO›±·”øNž\")]b£ â+zê.cS.¢iFç 㣵QNQ«éV*ªéÛÎúÞO[X¤nxФP k§oNø£}gÚœºÏÓϦªVTóZj¥hYÝjžkD*!šh&XzËiª•¥+GV—\"¥æ¸Z:Ò¤§+‡NoG¥Zjj¥iÉ]ÊžkOÐ_Ö¬ÔmjIª•¨§t¯–#½[âj\rnŠãê©×Ðn™ßZ¥_,Õé†ógÎÄš©:¹¼Å9‰Áÿ«[L2®W=TÔ×0®ãf¶\0P®U6\ns%7isYæ?£¿uá3¾’½nb5¡«Ÿ»šX|G~l•&×k¤¥·M§ †¯ú¶ŒÏy¡S–É)Î]œÜr·¶Ù¸µ¸æìÖê›Å?Õ}u'n0W-ι®æb·´ÇªìõŸk?»vQý7…Ü}p\nìõÀ’ÍÙ®Z*»9)Êá5Þ•ZW-ZB¸²Œ:ìõ㫊W\0WZfp•GpõîÍÙ®:Fpú¤ŠäUÙëSN/™Ï\\©Ü%s9¬S{§ ×8®ÏZÍasÊÛ“’+¢N^®“9™MÕ{…P5Óç ×Q®ÔîJº¢«y§õÕè;œÚîz¸ƒÂÕYÚV Ä3—:ïœDÅIŠÃ+ç‡ý¯£19M;º¥Œ’ô¨“V´®š\rQ{êÉÕ®•¶Å+£ƒFCLĹŠN¥–©Ôˆ\\ùÞ)\$iŒŽÛN'\0¦°PŠÂšõÊÇ]XÌ^s1òf&Š\"'`À•/û³fPE™i‹\0k™vÆ\0ßfhS0±&ͦlͼ¢#fuåÌû5 i%ÿ:Fd€ö9Ž™Ø€G<ä {ö}ìÂs[7\0á¬Îž3íft:+.È”–p >ØÕ±£@!Pas6q,À³—1bǬŋãZK°ê±Ü-ú“ar`•?RxXÁé‘¡ÏVïú˜#ĤÔzÂ; ÀD€•¾H²Á1¥’6D`žþYê`÷RÅPÖ‹>-Æ!\$Ùù³ì×~Ï€ÐÅà`>Ùï³õhÔ0ô1†À¬–&\0Ãh—ëûI–wlûZ„\$“\\\r¡8¶~,\nºo_áÀB2D´–ƒa1ê³àÇ©=¢v<ÏkF´p``”kBF¶6 ÄÖ²—hÆÉT TÖŽ ‡@?drÑ剀JÀH@1°G´dnÁÒw‡Æ%äÚJGšÒ0bðTf]m(Øk´qg\\í½ó¸–¬ë°ê Èш3vk'ý^d´¨AXÿ™~ÇW™VsÂ*¼Ê±æd´ûM À¬@?²ÄÓ}§6\\–m9<αi”ݧ›ˆÔ¬h½^s}æ-¦[Kœs±qãbÎÓ-“öOORm8\$ÞywÄì##°Œ@â·\0ôÒØ¤ 5F7ö¨ƒ X\nÓÀ|JË/-S™W!fdž 0¶,w½¨D4Ù¡RU¥T´ž’îÕðZXÇ=í`‰W\$@âÔ¥(‹XG§‹Òе—a>Ö*ûY¶²ˆ\n³ü\nŒìš!«[mjœµŠ0,mu¬W@ FXúÚÎòðü= (¦ýb¿ý”ù@¨W¦r!L£HÅkÌ\rˆE\nWÆÞ\r¢‚'FHœ\$£‹ääÀm„È=ÔÛ¥{LY—…&ÑÜ£_\0ŽÆüÝ#¢ä”€[„9\0¤\"ÔÒ@8ÄiKª¹ö0Ùl‰ÑÐp\ngî‚Û'qbF–Øyá«cl@9Û(#JU«Ý²ƒ{io‘¥.{Ôͳ4ÞVÍŠVnFÉxðÑüzÎ QàÞž\$kSa~ʨ0s@£À«%…y@•À5HކNÎͦ´@†x’# Ü« /\\¥Ö?$_POST["signature"],"version"=>$_POST["version"])));exit;}global$b,$g,$m,$dc,$lc,$vc,$n,$jd,$pd,$ba,$Od,$x,$ca,$je,$kf,$Vf,$Ah,$ud,$hi,$ni,$wi,$Ci,$ia;if(!$_SERVER["REQUEST_URI"])$_SERVER["REQUEST_URI"]=$_SERVER["ORIG_PATH_INFO"];if(!strpos($_SERVER["REQUEST_URI"],'?')&&$_SERVER["QUERY_STRING"]!="")$_SERVER["REQUEST_URI"].="?$_SERVER[QUERY_STRING]";if($_SERVER["HTTP_X_FORWARDED_PREFIX"])$_SERVER["REQUEST_URI"]=$_SERVER["HTTP_X_FORWARDED_PREFIX"].$_SERVER["REQUEST_URI"];$ba=($_SERVER["HTTPS"]&&strcasecmp($_SERVER["HTTPS"],"off"))||ini_bool("session.cookie_secure");@ini_set("session.use_trans_sid",false);if(!defined("SID")){session_cache_limiter("");session_name("adminer_sid");$If=array(0,preg_replace('~\?.*~','',$_SERVER["REQUEST_URI"]),"",$ba);if(version_compare(PHP_VERSION,'5.2.0')>=0)$If[]=true;call_user_func_array('session_set_cookie_params',$If);session_start();}remove_slashes(array(&$_GET,&$_POST,&$_COOKIE),$Uc);if(get_magic_quotes_runtime())set_magic_quotes_runtime(false);@set_time_limit(0);@ini_set("zend.ze1_compatibility_mode",false);@ini_set("precision",15);function
+get_lang(){return'en';}function
+lang($mi,$bf=null){if(is_array($mi)){$Yf=($bf==1?0:1);$mi=$mi[$Yf];}$mi=str_replace("%d","%s",$mi);$bf=format_number($bf);return
+sprintf($mi,$bf);}if(extension_loaded('pdo')){class
+Min_PDO
+extends
+PDO{var$_result,$server_info,$affected_rows,$errno,$error;function
+__construct(){global$b;$Yf=array_search("SQL",$b->operators);if($Yf!==false)unset($b->operators[$Yf]);}function
+dsn($ic,$V,$F,$sf=array()){try{parent::__construct($ic,$V,$F,$sf);}catch(Exception$_c){auth_error(h($_c->getMessage()));}$this->setAttribute(13,array('Min_PDOStatement'));$this->server_info=@$this->getAttribute(4);}function
+query($G,$xi=false){$H=parent::query($G);$this->error="";if(!$H){list(,$this->errno,$this->error)=$this->errorInfo();if(!$this->error)$this->error='Unknown error.';return
+false;}$this->store_result($H);return$H;}function
+multi_query($G){return$this->_result=$this->query($G);}function
+store_result($H=null){if(!$H){$H=$this->_result;if(!$H)return
+false;}if($H->columnCount()){$H->num_rows=$H->rowCount();return$H;}$this->affected_rows=$H->rowCount();return
+true;}function
+next_result(){if(!$this->_result)return
+false;$this->_result->_offset=0;return@$this->_result->nextRowset();}function
+result($G,$o=0){$H=$this->query($G);if(!$H)return
+false;$J=$H->fetch();return$J[$o];}}class
+Min_PDOStatement
+extends
+PDOStatement{var$_offset=0,$num_rows;function
+fetch_assoc(){return$this->fetch(2);}function
+fetch_row(){return$this->fetch(3);}function
+fetch_field(){$J=(object)$this->getColumnMeta($this->_offset++);$J->orgtable=$J->table;$J->orgname=$J->name;$J->charsetnr=(in_array("blob",(array)$J->flags)?63:0);return$J;}}}$dc=array();class
+Min_SQL{var$_conn;function
+__construct($g){$this->_conn=$g;}function
+select($R,$L,$Z,$md,$uf=array(),$z=1,$E=0,$gg=false){global$b,$x;$Vd=(count($md)selectQueryBuild($L,$Z,$md,$uf,$z,$E);if(!$G)$G="SELECT".limit(($_GET["page"]!="last"&&$z!=""&&$md&&$Vd&&$x=="sql"?"SQL_CALC_FOUND_ROWS ":"").implode(", ",$L)."\nFROM ".table($R),($Z?"\nWHERE ".implode(" AND ",$Z):"").($md&&$Vd?"\nGROUP BY ".implode(", ",$md):"").($uf?"\nORDER BY ".implode(", ",$uf):""),($z!=""?+$z:null),($E?$z*$E:0),"\n");$xh=microtime(true);$I=$this->_conn->query($G);if($gg)echo$b->selectQuery($G,$xh,!$I);return$I;}function
+delete($R,$qg,$z=0){$G="FROM ".table($R);return
+queries("DELETE".($z?limit1($R,$G,$qg):" $G$qg"));}function
+update($R,$O,$qg,$z=0,$M="\n"){$Oi=array();foreach($O
+as$y=>$X)$Oi[]="$y = $X";$G=table($R)." SET$M".implode(",$M",$Oi);return
+queries("UPDATE".($z?limit1($R,$G,$qg,$M):" $G$qg"));}function
+insert($R,$O){return
+queries("INSERT INTO ".table($R).($O?" (".implode(", ",array_keys($O)).")\nVALUES (".implode(", ",$O).")":" DEFAULT VALUES"));}function
+insertUpdate($R,$K,$eg){return
+false;}function
+begin(){return
+queries("BEGIN");}function
+commit(){return
+queries("COMMIT");}function
+rollback(){return
+queries("ROLLBACK");}function
+slowQuery($G,$Yh){}function
+convertSearch($u,$X,$o){return$u;}function
+value($X,$o){return(method_exists($this->_conn,'value')?$this->_conn->value($X,$o):(is_resource($X)?stream_get_contents($X):$X));}function
+quoteBinary($Sg){return
+q($Sg);}function
+warnings(){return'';}function
+tableHelp($C){}}$dc["sqlite"]="SQLite 3";$dc["sqlite2"]="SQLite 2";if(isset($_GET["sqlite"])||isset($_GET["sqlite2"])){$bg=array((isset($_GET["sqlite"])?"SQLite3":"SQLite"),"PDO_SQLite");define("DRIVER",(isset($_GET["sqlite"])?"sqlite":"sqlite2"));if(class_exists(isset($_GET["sqlite"])?"SQLite3":"SQLiteDatabase")){if(isset($_GET["sqlite"])){class
+Min_SQLite{var$extension="SQLite3",$server_info,$affected_rows,$errno,$error,$_link;function
+__construct($Tc){$this->_link=new
+SQLite3($Tc);$Ri=$this->_link->version();$this->server_info=$Ri["versionString"];}function
+query($G){$H=@$this->_link->query($G);$this->error="";if(!$H){$this->errno=$this->_link->lastErrorCode();$this->error=$this->_link->lastErrorMsg();return
+false;}elseif($H->numColumns())return
+new
+Min_Result($H);$this->affected_rows=$this->_link->changes();return
+true;}function
+quote($Q){return(is_utf8($Q)?"'".$this->_link->escapeString($Q)."'":"x'".reset(unpack('H*',$Q))."'");}function
+store_result(){return$this->_result;}function
+result($G,$o=0){$H=$this->query($G);if(!is_object($H))return
+false;$J=$H->_result->fetchArray();return$J[$o];}}class
+Min_Result{var$_result,$_offset=0,$num_rows;function
+__construct($H){$this->_result=$H;}function
+fetch_assoc(){return$this->_result->fetchArray(SQLITE3_ASSOC);}function
+fetch_row(){return$this->_result->fetchArray(SQLITE3_NUM);}function
+fetch_field(){$e=$this->_offset++;$U=$this->_result->columnType($e);return(object)array("name"=>$this->_result->columnName($e),"type"=>$U,"charsetnr"=>($U==SQLITE3_BLOB?63:0),);}function
+__desctruct(){return$this->_result->finalize();}}}else{class
+Min_SQLite{var$extension="SQLite",$server_info,$affected_rows,$error,$_link;function
+__construct($Tc){$this->server_info=sqlite_libversion();$this->_link=new
+SQLiteDatabase($Tc);}function
+query($G,$xi=false){$Ne=($xi?"unbufferedQuery":"query");$H=@$this->_link->$Ne($G,SQLITE_BOTH,$n);$this->error="";if(!$H){$this->error=$n;return
+false;}elseif($H===true){$this->affected_rows=$this->changes();return
+true;}return
+new
+Min_Result($H);}function
+quote($Q){return"'".sqlite_escape_string($Q)."'";}function
+store_result(){return$this->_result;}function
+result($G,$o=0){$H=$this->query($G);if(!is_object($H))return
+false;$J=$H->_result->fetch();return$J[$o];}}class
+Min_Result{var$_result,$_offset=0,$num_rows;function
+__construct($H){$this->_result=$H;if(method_exists($H,'numRows'))$this->num_rows=$H->numRows();}function
+fetch_assoc(){$J=$this->_result->fetch(SQLITE_ASSOC);if(!$J)return
+false;$I=array();foreach($J
+as$y=>$X)$I[($y[0]=='"'?idf_unescape($y):$y)]=$X;return$I;}function
+fetch_row(){return$this->_result->fetch(SQLITE_NUM);}function
+fetch_field(){$C=$this->_result->fieldName($this->_offset++);$Uf='(\[.*]|"(?:[^"]|"")*"|(.+))';if(preg_match("~^($Uf\\.)?$Uf\$~",$C,$B)){$R=($B[3]!=""?$B[3]:idf_unescape($B[2]));$C=($B[5]!=""?$B[5]:idf_unescape($B[4]));}return(object)array("name"=>$C,"orgname"=>$C,"orgtable"=>$R,);}}}}elseif(extension_loaded("pdo_sqlite")){class
+Min_SQLite
+extends
+Min_PDO{var$extension="PDO_SQLite";function
+__construct($Tc){$this->dsn(DRIVER.":$Tc","","");}}}if(class_exists("Min_SQLite")){class
+Min_DB
+extends
+Min_SQLite{function
+__construct(){parent::__construct(":memory:");$this->query("PRAGMA foreign_keys = 1");}function
+select_db($Tc){if(is_readable($Tc)&&$this->query("ATTACH ".$this->quote(preg_match("~(^[/\\\\]|:)~",$Tc)?$Tc:dirname($_SERVER["SCRIPT_FILENAME"])."/$Tc")." AS a")){parent::__construct($Tc);$this->query("PRAGMA foreign_keys = 1");return
+true;}return
+false;}function
+multi_query($G){return$this->_result=$this->query($G);}function
+next_result(){return
+false;}}}class
+Min_Driver
+extends
+Min_SQL{function
+insertUpdate($R,$K,$eg){$Oi=array();foreach($K
+as$O)$Oi[]="(".implode(", ",$O).")";return
+queries("REPLACE INTO ".table($R)." (".implode(", ",array_keys(reset($K))).") VALUES\n".implode(",\n",$Oi));}function
+tableHelp($C){if($C=="sqlite_sequence")return"fileformat2.html#seqtab";if($C=="sqlite_master")return"fileformat2.html#$C";}}function
+idf_escape($u){return'"'.str_replace('"','""',$u).'"';}function
+table($u){return
+idf_escape($u);}function
+connect(){global$b;list(,,$F)=$b->credentials();if($F!="")return'Database does not support password.';return
+new
+Min_DB;}function
+get_databases(){return
+array();}function
+limit($G,$Z,$z,$D=0,$M=" "){return" $G$Z".($z!==null?$M."LIMIT $z".($D?" OFFSET $D":""):"");}function
+limit1($R,$G,$Z,$M="\n"){global$g;return(preg_match('~^INTO~',$G)||$g->result("SELECT sqlite_compileoption_used('ENABLE_UPDATE_DELETE_LIMIT')")?limit($G,$Z,1,0,$M):" $G WHERE rowid = (SELECT rowid FROM ".table($R).$Z.$M."LIMIT 1)");}function
+db_collation($l,$ob){global$g;return$g->result("PRAGMA encoding");}function
+engines(){return
+array();}function
+logged_user(){return
+get_current_user();}function
+tables_list(){return
+get_key_vals("SELECT name, type FROM sqlite_master WHERE type IN ('table', 'view') ORDER BY (name = 'sqlite_sequence'), name");}function
+count_tables($k){return
+array();}function
+table_status($C=""){global$g;$I=array();foreach(get_rows("SELECT name AS Name, type AS Engine, 'rowid' AS Oid, '' AS Auto_increment FROM sqlite_master WHERE type IN ('table', 'view') ".($C!=""?"AND name = ".q($C):"ORDER BY name"))as$J){$J["Rows"]=$g->result("SELECT COUNT(*) FROM ".idf_escape($J["Name"]));$I[$J["Name"]]=$J;}foreach(get_rows("SELECT * FROM sqlite_sequence",null,"")as$J)$I[$J["name"]]["Auto_increment"]=$J["seq"];return($C!=""?$I[$C]:$I);}function
+is_view($S){return$S["Engine"]=="view";}function
+fk_support($S){global$g;return!$g->result("SELECT sqlite_compileoption_used('OMIT_FOREIGN_KEY')");}function
+fields($R){global$g;$I=array();$eg="";foreach(get_rows("PRAGMA table_info(".table($R).")")as$J){$C=$J["name"];$U=strtolower($J["type"]);$Rb=$J["dflt_value"];$I[$C]=array("field"=>$C,"type"=>(preg_match('~int~i',$U)?"integer":(preg_match('~char|clob|text~i',$U)?"text":(preg_match('~blob~i',$U)?"blob":(preg_match('~real|floa|doub~i',$U)?"real":"numeric")))),"full_type"=>$U,"default"=>(preg_match("~'(.*)'~",$Rb,$B)?str_replace("''","'",$B[1]):($Rb=="NULL"?null:$Rb)),"null"=>!$J["notnull"],"privileges"=>array("select"=>1,"insert"=>1,"update"=>1),"primary"=>$J["pk"],);if($J["pk"]){if($eg!="")$I[$eg]["auto_increment"]=false;elseif(preg_match('~^integer$~i',$U))$I[$C]["auto_increment"]=true;$eg=$C;}}$sh=$g->result("SELECT sql FROM sqlite_master WHERE type = 'table' AND name = ".q($R));preg_match_all('~(("[^"]*+")+|[a-z0-9_]+)\s+text\s+COLLATE\s+(\'[^\']+\'|\S+)~i',$sh,$_e,PREG_SET_ORDER);foreach($_e
+as$B){$C=str_replace('""','"',preg_replace('~^"|"$~','',$B[1]));if($I[$C])$I[$C]["collation"]=trim($B[3],"'");}return$I;}function
+indexes($R,$h=null){global$g;if(!is_object($h))$h=$g;$I=array();$sh=$h->result("SELECT sql FROM sqlite_master WHERE type = 'table' AND name = ".q($R));if(preg_match('~\bPRIMARY\s+KEY\s*\((([^)"]+|"[^"]*"|`[^`]*`)++)~i',$sh,$B)){$I[""]=array("type"=>"PRIMARY","columns"=>array(),"lengths"=>array(),"descs"=>array());preg_match_all('~((("[^"]*+")+|(?:`[^`]*+`)+)|(\S+))(\s+(ASC|DESC))?(,\s*|$)~i',$B[1],$_e,PREG_SET_ORDER);foreach($_e
+as$B){$I[""]["columns"][]=idf_unescape($B[2]).$B[4];$I[""]["descs"][]=(preg_match('~DESC~i',$B[5])?'1':null);}}if(!$I){foreach(fields($R)as$C=>$o){if($o["primary"])$I[""]=array("type"=>"PRIMARY","columns"=>array($C),"lengths"=>array(),"descs"=>array(null));}}$vh=get_key_vals("SELECT name, sql FROM sqlite_master WHERE type = 'index' AND tbl_name = ".q($R),$h);foreach(get_rows("PRAGMA index_list(".table($R).")",$h)as$J){$C=$J["name"];$v=array("type"=>($J["unique"]?"UNIQUE":"INDEX"));$v["lengths"]=array();$v["descs"]=array();foreach(get_rows("PRAGMA index_info(".idf_escape($C).")",$h)as$Rg){$v["columns"][]=$Rg["name"];$v["descs"][]=null;}if(preg_match('~^CREATE( UNIQUE)? INDEX '.preg_quote(idf_escape($C).' ON '.idf_escape($R),'~').' \((.*)\)$~i',$vh[$C],$Bg)){preg_match_all('/("[^"]*+")+( DESC)?/',$Bg[2],$_e);foreach($_e[2]as$y=>$X){if($X)$v["descs"][$y]='1';}}if(!$I[""]||$v["type"]!="UNIQUE"||$v["columns"]!=$I[""]["columns"]||$v["descs"]!=$I[""]["descs"]||!preg_match("~^sqlite_~",$C))$I[$C]=$v;}return$I;}function
+foreign_keys($R){$I=array();foreach(get_rows("PRAGMA foreign_key_list(".table($R).")")as$J){$q=&$I[$J["id"]];if(!$q)$q=$J;$q["source"][]=$J["from"];$q["target"][]=$J["to"];}return$I;}function
+view($C){global$g;return
+array("select"=>preg_replace('~^(?:[^`"[]+|`[^`]*`|"[^"]*")* AS\s+~iU','',$g->result("SELECT sql FROM sqlite_master WHERE name = ".q($C))));}function
+collations(){return(isset($_GET["create"])?get_vals("PRAGMA collation_list",1):array());}function
+information_schema($l){return
+false;}function
+error(){global$g;return
+h($g->error);}function
+check_sqlite_name($C){global$g;$Jc="db|sdb|sqlite";if(!preg_match("~^[^\\0]*\\.($Jc)\$~",$C)){$g->error=sprintf('Please use one of the extensions %s.',str_replace("|",", ",$Jc));return
+false;}return
+true;}function
+create_database($l,$d){global$g;if(file_exists($l)){$g->error='File exists.';return
+false;}if(!check_sqlite_name($l))return
+false;try{$_=new
+Min_SQLite($l);}catch(Exception$_c){$g->error=$_c->getMessage();return
+false;}$_->query('PRAGMA encoding = "UTF-8"');$_->query('CREATE TABLE adminer (i)');$_->query('DROP TABLE adminer');return
+true;}function
+drop_databases($k){global$g;$g->__construct(":memory:");foreach($k
+as$l){if(!@unlink($l)){$g->error='File exists.';return
+false;}}return
+true;}function
+rename_database($C,$d){global$g;if(!check_sqlite_name($C))return
+false;$g->__construct(":memory:");$g->error='File exists.';return@rename(DB,$C);}function
+auto_increment(){return" PRIMARY KEY".(DRIVER=="sqlite"?" AUTOINCREMENT":"");}function
+alter_table($R,$C,$p,$bd,$tb,$tc,$d,$La,$Of){$Ii=($R==""||$bd);foreach($p
+as$o){if($o[0]!=""||!$o[1]||$o[2]){$Ii=true;break;}}$c=array();$Cf=array();foreach($p
+as$o){if($o[1]){$c[]=($Ii?$o[1]:"ADD ".implode($o[1]));if($o[0]!="")$Cf[$o[0]]=$o[1][0];}}if(!$Ii){foreach($c
+as$X){if(!queries("ALTER TABLE ".table($R)." $X"))return
+false;}if($R!=$C&&!queries("ALTER TABLE ".table($R)." RENAME TO ".table($C)))return
+false;}elseif(!recreate_table($R,$C,$c,$Cf,$bd))return
+false;if($La)queries("UPDATE sqlite_sequence SET seq = $La WHERE name = ".q($C));return
+true;}function
+recreate_table($R,$C,$p,$Cf,$bd,$w=array()){if($R!=""){if(!$p){foreach(fields($R)as$y=>$o){if($w)$o["auto_increment"]=0;$p[]=process_field($o,$o);$Cf[$y]=idf_escape($y);}}$fg=false;foreach($p
+as$o){if($o[6])$fg=true;}$gc=array();foreach($w
+as$y=>$X){if($X[2]=="DROP"){$gc[$X[1]]=true;unset($w[$y]);}}foreach(indexes($R)as$de=>$v){$f=array();foreach($v["columns"]as$y=>$e){if(!$Cf[$e])continue
+2;$f[]=$Cf[$e].($v["descs"][$y]?" DESC":"");}if(!$gc[$de]){if($v["type"]!="PRIMARY"||!$fg)$w[]=array($v["type"],$de,$f);}}foreach($w
+as$y=>$X){if($X[0]=="PRIMARY"){unset($w[$y]);$bd[]=" PRIMARY KEY (".implode(", ",$X[2]).")";}}foreach(foreign_keys($R)as$de=>$q){foreach($q["source"]as$y=>$e){if(!$Cf[$e])continue
+2;$q["source"][$y]=idf_unescape($Cf[$e]);}if(!isset($bd[" $de"]))$bd[]=" ".format_foreign_key($q);}queries("BEGIN");}foreach($p
+as$y=>$o)$p[$y]=" ".implode($o);$p=array_merge($p,array_filter($bd));if(!queries("CREATE TABLE ".table($R!=""?"adminer_$C":$C)." (\n".implode(",\n",$p)."\n)"))return
+false;if($R!=""){if($Cf&&!queries("INSERT INTO ".table("adminer_$C")." (".implode(", ",$Cf).") SELECT ".implode(", ",array_map('idf_escape',array_keys($Cf)))." FROM ".table($R)))return
+false;$ti=array();foreach(triggers($R)as$ri=>$Zh){$qi=trigger($ri);$ti[]="CREATE TRIGGER ".idf_escape($ri)." ".implode(" ",$Zh)." ON ".table($C)."\n$qi[Statement]";}if(!queries("DROP TABLE ".table($R)))return
+false;queries("ALTER TABLE ".table("adminer_$C")." RENAME TO ".table($C));if(!alter_indexes($C,$w))return
+false;foreach($ti
+as$qi){if(!queries($qi))return
+false;}queries("COMMIT");}return
+true;}function
+index_sql($R,$U,$C,$f){return"CREATE $U ".($U!="INDEX"?"INDEX ":"").idf_escape($C!=""?$C:uniqid($R."_"))." ON ".table($R)." $f";}function
+alter_indexes($R,$c){foreach($c
+as$eg){if($eg[0]=="PRIMARY")return
+recreate_table($R,$R,array(),array(),array(),$c);}foreach(array_reverse($c)as$X){if(!queries($X[2]=="DROP"?"DROP INDEX ".idf_escape($X[1]):index_sql($R,$X[0],$X[1],"(".implode(", ",$X[2]).")")))return
+false;}return
+true;}function
+truncate_tables($T){return
+apply_queries("DELETE FROM",$T);}function
+drop_views($Ti){return
+apply_queries("DROP VIEW",$Ti);}function
+drop_tables($T){return
+apply_queries("DROP TABLE",$T);}function
+move_tables($T,$Ti,$Qh){return
+false;}function
+trigger($C){global$g;if($C=="")return
+array("Statement"=>"BEGIN\n\t;\nEND");$u='(?:[^`"\s]+|`[^`]*`|"[^"]*")+';$si=trigger_options();preg_match("~^CREATE\\s+TRIGGER\\s*$u\\s*(".implode("|",$si["Timing"]).")\\s+([a-z]+)(?:\\s+OF\\s+($u))?\\s+ON\\s*$u\\s*(?:FOR\\s+EACH\\s+ROW\\s)?(.*)~is",$g->result("SELECT sql FROM sqlite_master WHERE type = 'trigger' AND name = ".q($C)),$B);$df=$B[3];return
+array("Timing"=>strtoupper($B[1]),"Event"=>strtoupper($B[2]).($df?" OF":""),"Of"=>($df[0]=='`'||$df[0]=='"'?idf_unescape($df):$df),"Trigger"=>$C,"Statement"=>$B[4],);}function
+triggers($R){$I=array();$si=trigger_options();foreach(get_rows("SELECT * FROM sqlite_master WHERE type = 'trigger' AND tbl_name = ".q($R))as$J){preg_match('~^CREATE\s+TRIGGER\s*(?:[^`"\s]+|`[^`]*`|"[^"]*")+\s*('.implode("|",$si["Timing"]).')\s*(.*)\s+ON\b~iU',$J["sql"],$B);$I[$J["name"]]=array($B[1],$B[2]);}return$I;}function
+trigger_options(){return
+array("Timing"=>array("BEFORE","AFTER","INSTEAD OF"),"Event"=>array("INSERT","UPDATE","UPDATE OF","DELETE"),"Type"=>array("FOR EACH ROW"),);}function
+begin(){return
+queries("BEGIN");}function
+last_id(){global$g;return$g->result("SELECT LAST_INSERT_ROWID()");}function
+explain($g,$G){return$g->query("EXPLAIN QUERY PLAN $G");}function
+found_rows($S,$Z){}function
+types(){return
+array();}function
+schemas(){return
+array();}function
+get_schema(){return"";}function
+set_schema($Vg){return
+true;}function
+create_sql($R,$La,$Bh){global$g;$I=$g->result("SELECT sql FROM sqlite_master WHERE type IN ('table', 'view') AND name = ".q($R));foreach(indexes($R)as$C=>$v){if($C=='')continue;$I.=";\n\n".index_sql($R,$v['type'],$C,"(".implode(", ",array_map('idf_escape',$v['columns'])).")");}return$I;}function
+truncate_sql($R){return"DELETE FROM ".table($R);}function
+use_sql($j){}function
+trigger_sql($R){return
+implode(get_vals("SELECT sql || ';;\n' FROM sqlite_master WHERE type = 'trigger' AND tbl_name = ".q($R)));}function
+show_variables(){global$g;$I=array();foreach(array("auto_vacuum","cache_size","count_changes","default_cache_size","empty_result_callbacks","encoding","foreign_keys","full_column_names","fullfsync","journal_mode","journal_size_limit","legacy_file_format","locking_mode","page_size","max_page_count","read_uncommitted","recursive_triggers","reverse_unordered_selects","secure_delete","short_column_names","synchronous","temp_store","temp_store_directory","schema_version","integrity_check","quick_check")as$y)$I[$y]=$g->result("PRAGMA $y");return$I;}function
+show_status(){$I=array();foreach(get_vals("PRAGMA compile_options")as$rf){list($y,$X)=explode("=",$rf,2);$I[$y]=$X;}return$I;}function
+convert_field($o){}function
+unconvert_field($o,$I){return$I;}function
+support($Oc){return
+preg_match('~^(columns|database|drop_col|dump|indexes|move_col|sql|status|table|trigger|variables|view|view_trigger)$~',$Oc);}$x="sqlite";$wi=array("integer"=>0,"real"=>0,"numeric"=>0,"text"=>0,"blob"=>0);$Ah=array_keys($wi);$Ci=array();$pf=array("=","<",">","<=",">=","!=","LIKE","LIKE %%","IN","IS NULL","NOT LIKE","NOT IN","IS NOT NULL","SQL");$jd=array("hex","length","lower","round","unixepoch","upper");$pd=array("avg","count","count distinct","group_concat","max","min","sum");$lc=array(array(),array("integer|real|numeric"=>"+/-","text"=>"||",));}$dc["pgsql"]="PostgreSQL";if(isset($_GET["pgsql"])){$bg=array("PgSQL","PDO_PgSQL");define("DRIVER","pgsql");if(extension_loaded("pgsql")){class
+Min_DB{var$extension="PgSQL",$_link,$_result,$_string,$_database=true,$server_info,$affected_rows,$error,$timeout;function
+_error($wc,$n){if(ini_bool("html_errors"))$n=html_entity_decode(strip_tags($n));$n=preg_replace('~^[^:]*: ~','',$n);$this->error=$n;}function
+connect($N,$V,$F){global$b;$l=$b->database();set_error_handler(array($this,'_error'));$this->_string="host='".str_replace(":","' port='",addcslashes($N,"'\\"))."' user='".addcslashes($V,"'\\")."' password='".addcslashes($F,"'\\")."'";$this->_link=@pg_connect("$this->_string dbname='".($l!=""?addcslashes($l,"'\\"):"postgres")."'",PGSQL_CONNECT_FORCE_NEW);if(!$this->_link&&$l!=""){$this->_database=false;$this->_link=@pg_connect("$this->_string dbname='postgres'",PGSQL_CONNECT_FORCE_NEW);}restore_error_handler();if($this->_link){$Ri=pg_version($this->_link);$this->server_info=$Ri["server"];pg_set_client_encoding($this->_link,"UTF8");}return(bool)$this->_link;}function
+quote($Q){return"'".pg_escape_string($this->_link,$Q)."'";}function
+value($X,$o){return($o["type"]=="bytea"?pg_unescape_bytea($X):$X);}function
+quoteBinary($Q){return"'".pg_escape_bytea($this->_link,$Q)."'";}function
+select_db($j){global$b;if($j==$b->database())return$this->_database;$I=@pg_connect("$this->_string dbname='".addcslashes($j,"'\\")."'",PGSQL_CONNECT_FORCE_NEW);if($I)$this->_link=$I;return$I;}function
+close(){$this->_link=@pg_connect("$this->_string dbname='postgres'");}function
+query($G,$xi=false){$H=@pg_query($this->_link,$G);$this->error="";if(!$H){$this->error=pg_last_error($this->_link);$I=false;}elseif(!pg_num_fields($H)){$this->affected_rows=pg_affected_rows($H);$I=true;}else$I=new
+Min_Result($H);if($this->timeout){$this->timeout=0;$this->query("RESET statement_timeout");}return$I;}function
+multi_query($G){return$this->_result=$this->query($G);}function
+store_result(){return$this->_result;}function
+next_result(){return
+false;}function
+result($G,$o=0){$H=$this->query($G);if(!$H||!$H->num_rows)return
+false;return
+pg_fetch_result($H->_result,0,$o);}function
+warnings(){return
+h(pg_last_notice($this->_link));}}class
+Min_Result{var$_result,$_offset=0,$num_rows;function
+__construct($H){$this->_result=$H;$this->num_rows=pg_num_rows($H);}function
+fetch_assoc(){return
+pg_fetch_assoc($this->_result);}function
+fetch_row(){return
+pg_fetch_row($this->_result);}function
+fetch_field(){$e=$this->_offset++;$I=new
+stdClass;if(function_exists('pg_field_table'))$I->orgtable=pg_field_table($this->_result,$e);$I->name=pg_field_name($this->_result,$e);$I->orgname=$I->name;$I->type=pg_field_type($this->_result,$e);$I->charsetnr=($I->type=="bytea"?63:0);return$I;}function
+__destruct(){pg_free_result($this->_result);}}}elseif(extension_loaded("pdo_pgsql")){class
+Min_DB
+extends
+Min_PDO{var$extension="PDO_PgSQL",$timeout;function
+connect($N,$V,$F){global$b;$l=$b->database();$Q="pgsql:host='".str_replace(":","' port='",addcslashes($N,"'\\"))."' options='-c client_encoding=utf8'";$this->dsn("$Q dbname='".($l!=""?addcslashes($l,"'\\"):"postgres")."'",$V,$F);return
+true;}function
+select_db($j){global$b;return($b->database()==$j);}function
+quoteBinary($Sg){return
+q($Sg);}function
+query($G,$xi=false){$I=parent::query($G,$xi);if($this->timeout){$this->timeout=0;parent::query("RESET statement_timeout");}return$I;}function
+warnings(){return'';}function
+close(){}}}class
+Min_Driver
+extends
+Min_SQL{function
+insertUpdate($R,$K,$eg){global$g;foreach($K
+as$O){$Di=array();$Z=array();foreach($O
+as$y=>$X){$Di[]="$y = $X";if(isset($eg[idf_unescape($y)]))$Z[]="$y = $X";}if(!(($Z&&queries("UPDATE ".table($R)." SET ".implode(", ",$Di)." WHERE ".implode(" AND ",$Z))&&$g->affected_rows)||queries("INSERT INTO ".table($R)." (".implode(", ",array_keys($O)).") VALUES (".implode(", ",$O).")")))return
+false;}return
+true;}function
+slowQuery($G,$Yh){$this->_conn->query("SET statement_timeout = ".(1000*$Yh));$this->_conn->timeout=1000*$Yh;return$G;}function
+convertSearch($u,$X,$o){return(preg_match('~char|text'.(!preg_match('~LIKE~',$X["op"])?'|date|time(stamp)?|boolean|uuid|'.number_type():'').'~',$o["type"])?$u:"CAST($u AS text)");}function
+quoteBinary($Sg){return$this->_conn->quoteBinary($Sg);}function
+warnings(){return$this->_conn->warnings();}function
+tableHelp($C){$te=array("information_schema"=>"infoschema","pg_catalog"=>"catalog",);$_=$te[$_GET["ns"]];if($_)return"$_-".str_replace("_","-",$C).".html";}}function
+idf_escape($u){return'"'.str_replace('"','""',$u).'"';}function
+table($u){return
+idf_escape($u);}function
+connect(){global$b,$wi,$Ah;$g=new
+Min_DB;$Fb=$b->credentials();if($g->connect($Fb[0],$Fb[1],$Fb[2])){if(min_version(9,0,$g)){$g->query("SET application_name = 'Adminer'");if(min_version(9.2,0,$g)){$Ah['Strings'][]="json";$wi["json"]=4294967295;if(min_version(9.4,0,$g)){$Ah['Strings'][]="jsonb";$wi["jsonb"]=4294967295;}}}return$g;}return$g->error;}function
+get_databases(){return
+get_vals("SELECT datname FROM pg_database WHERE has_database_privilege(datname, 'CONNECT') ORDER BY datname");}function
+limit($G,$Z,$z,$D=0,$M=" "){return" $G$Z".($z!==null?$M."LIMIT $z".($D?" OFFSET $D":""):"");}function
+limit1($R,$G,$Z,$M="\n"){return(preg_match('~^INTO~',$G)?limit($G,$Z,1,0,$M):" $G".(is_view(table_status1($R))?$Z:" WHERE ctid = (SELECT ctid FROM ".table($R).$Z.$M."LIMIT 1)"));}function
+db_collation($l,$ob){global$g;return$g->result("SHOW LC_COLLATE");}function
+engines(){return
+array();}function
+logged_user(){global$g;return$g->result("SELECT user");}function
+tables_list(){$G="SELECT table_name, table_type FROM information_schema.tables WHERE table_schema = current_schema()";if(support('materializedview'))$G.="
+UNION ALL
+SELECT matviewname, 'MATERIALIZED VIEW'
+FROM pg_matviews
+WHERE schemaname = current_schema()";$G.="
+ORDER BY 1";return
+get_key_vals($G);}function
+count_tables($k){return
+array();}function
+table_status($C=""){$I=array();foreach(get_rows("SELECT c.relname AS \"Name\", CASE c.relkind WHEN 'r' THEN 'table' WHEN 'm' THEN 'materialized view' ELSE 'view' END AS \"Engine\", pg_relation_size(c.oid) AS \"Data_length\", pg_total_relation_size(c.oid) - pg_relation_size(c.oid) AS \"Index_length\", obj_description(c.oid, 'pg_class') AS \"Comment\", CASE WHEN c.relhasoids THEN 'oid' ELSE '' END AS \"Oid\", c.reltuples as \"Rows\", n.nspname
+FROM pg_class c
+JOIN pg_namespace n ON(n.nspname = current_schema() AND n.oid = c.relnamespace)
+WHERE relkind IN ('r', 'm', 'v', 'f')
+".($C!=""?"AND relname = ".q($C):"ORDER BY relname"))as$J)$I[$J["Name"]]=$J;return($C!=""?$I[$C]:$I);}function
+is_view($S){return
+in_array($S["Engine"],array("view","materialized view"));}function
+fk_support($S){return
+true;}function
+fields($R){$I=array();$Ca=array('timestamp without time zone'=>'timestamp','timestamp with time zone'=>'timestamptz',);foreach(get_rows("SELECT a.attname AS field, format_type(a.atttypid, a.atttypmod) AS full_type, d.adsrc AS default, a.attnotnull::int, col_description(c.oid, a.attnum) AS comment
+FROM pg_class c
+JOIN pg_namespace n ON c.relnamespace = n.oid
+JOIN pg_attribute a ON c.oid = a.attrelid
+LEFT JOIN pg_attrdef d ON c.oid = d.adrelid AND a.attnum = d.adnum
+WHERE c.relname = ".q($R)."
+AND n.nspname = current_schema()
+AND NOT a.attisdropped
+AND a.attnum > 0
+ORDER BY a.attnum")as$J){preg_match('~([^([]+)(\((.*)\))?([a-z ]+)?((\[[0-9]*])*)$~',$J["full_type"],$B);list(,$U,$qe,$J["length"],$wa,$Fa)=$B;$J["length"].=$Fa;$db=$U.$wa;if(isset($Ca[$db])){$J["type"]=$Ca[$db];$J["full_type"]=$J["type"].$qe.$Fa;}else{$J["type"]=$U;$J["full_type"]=$J["type"].$qe.$wa.$Fa;}$J["null"]=!$J["attnotnull"];$J["auto_increment"]=preg_match('~^nextval\(~i',$J["default"]);$J["privileges"]=array("insert"=>1,"select"=>1,"update"=>1);if(preg_match('~(.+)::[^)]+(.*)~',$J["default"],$B))$J["default"]=($B[1]=="NULL"?null:(($B[1][0]=="'"?idf_unescape($B[1]):$B[1]).$B[2]));$I[$J["field"]]=$J;}return$I;}function
+indexes($R,$h=null){global$g;if(!is_object($h))$h=$g;$I=array();$Jh=$h->result("SELECT oid FROM pg_class WHERE relnamespace = (SELECT oid FROM pg_namespace WHERE nspname = current_schema()) AND relname = ".q($R));$f=get_key_vals("SELECT attnum, attname FROM pg_attribute WHERE attrelid = $Jh AND attnum > 0",$h);foreach(get_rows("SELECT relname, indisunique::int, indisprimary::int, indkey, indoption , (indpred IS NOT NULL)::int as indispartial FROM pg_index i, pg_class ci WHERE i.indrelid = $Jh AND ci.oid = i.indexrelid",$h)as$J){$Cg=$J["relname"];$I[$Cg]["type"]=($J["indispartial"]?"INDEX":($J["indisprimary"]?"PRIMARY":($J["indisunique"]?"UNIQUE":"INDEX")));$I[$Cg]["columns"]=array();foreach(explode(" ",$J["indkey"])as$Kd)$I[$Cg]["columns"][]=$f[$Kd];$I[$Cg]["descs"]=array();foreach(explode(" ",$J["indoption"])as$Ld)$I[$Cg]["descs"][]=($Ld&1?'1':null);$I[$Cg]["lengths"]=array();}return$I;}function
+foreign_keys($R){global$kf;$I=array();foreach(get_rows("SELECT conname, condeferrable::int AS deferrable, pg_get_constraintdef(oid) AS definition
+FROM pg_constraint
+WHERE conrelid = (SELECT pc.oid FROM pg_class AS pc INNER JOIN pg_namespace AS pn ON (pn.oid = pc.relnamespace) WHERE pc.relname = ".q($R)." AND pn.nspname = current_schema())
+AND contype = 'f'::char
+ORDER BY conkey, conname")as$J){if(preg_match('~FOREIGN KEY\s*\((.+)\)\s*REFERENCES (.+)\((.+)\)(.*)$~iA',$J['definition'],$B)){$J['source']=array_map('trim',explode(',',$B[1]));if(preg_match('~^(("([^"]|"")+"|[^"]+)\.)?"?("([^"]|"")+"|[^"]+)$~',$B[2],$ze)){$J['ns']=str_replace('""','"',preg_replace('~^"(.+)"$~','\1',$ze[2]));$J['table']=str_replace('""','"',preg_replace('~^"(.+)"$~','\1',$ze[4]));}$J['target']=array_map('trim',explode(',',$B[3]));$J['on_delete']=(preg_match("~ON DELETE ($kf)~",$B[4],$ze)?$ze[1]:'NO ACTION');$J['on_update']=(preg_match("~ON UPDATE ($kf)~",$B[4],$ze)?$ze[1]:'NO ACTION');$I[$J['conname']]=$J;}}return$I;}function
+view($C){global$g;return
+array("select"=>trim($g->result("SELECT view_definition
+FROM information_schema.views
+WHERE table_schema = current_schema() AND table_name = ".q($C))));}function
+collations(){return
+array();}function
+information_schema($l){return($l=="information_schema");}function
+error(){global$g;$I=h($g->error);if(preg_match('~^(.*\n)?([^\n]*)\n( *)\^(\n.*)?$~s',$I,$B))$I=$B[1].preg_replace('~((?:[^&]|&[^;]*;){'.strlen($B[3]).'})(.*)~','\1\2',$B[2]).$B[4];return
+nl_br($I);}function
+create_database($l,$d){return
+queries("CREATE DATABASE ".idf_escape($l).($d?" ENCODING ".idf_escape($d):""));}function
+drop_databases($k){global$g;$g->close();return
+apply_queries("DROP DATABASE",$k,'idf_escape');}function
+rename_database($C,$d){return
+queries("ALTER DATABASE ".idf_escape(DB)." RENAME TO ".idf_escape($C));}function
+auto_increment(){return"";}function
+alter_table($R,$C,$p,$bd,$tb,$tc,$d,$La,$Of){$c=array();$pg=array();foreach($p
+as$o){$e=idf_escape($o[0]);$X=$o[1];if(!$X)$c[]="DROP $e";else{$Ni=$X[5];unset($X[5]);if(isset($X[6])&&$o[0]=="")$X[1]=($X[1]=="bigint"?" big":" ")."serial";if($o[0]=="")$c[]=($R!=""?"ADD ":" ").implode($X);else{if($e!=$X[0])$pg[]="ALTER TABLE ".table($R)." RENAME $e TO $X[0]";$c[]="ALTER $e TYPE$X[1]";if(!$X[6]){$c[]="ALTER $e ".($X[3]?"SET$X[3]":"DROP DEFAULT");$c[]="ALTER $e ".($X[2]==" NULL"?"DROP NOT":"SET").$X[2];}}if($o[0]!=""||$Ni!="")$pg[]="COMMENT ON COLUMN ".table($R).".$X[0] IS ".($Ni!=""?substr($Ni,9):"''");}}$c=array_merge($c,$bd);if($R=="")array_unshift($pg,"CREATE TABLE ".table($C)." (\n".implode(",\n",$c)."\n)");elseif($c)array_unshift($pg,"ALTER TABLE ".table($R)."\n".implode(",\n",$c));if($R!=""&&$R!=$C)$pg[]="ALTER TABLE ".table($R)." RENAME TO ".table($C);if($R!=""||$tb!="")$pg[]="COMMENT ON TABLE ".table($C)." IS ".q($tb);if($La!=""){}foreach($pg
+as$G){if(!queries($G))return
+false;}return
+true;}function
+alter_indexes($R,$c){$i=array();$ec=array();$pg=array();foreach($c
+as$X){if($X[0]!="INDEX")$i[]=($X[2]=="DROP"?"\nDROP CONSTRAINT ".idf_escape($X[1]):"\nADD".($X[1]!=""?" CONSTRAINT ".idf_escape($X[1]):"")." $X[0] ".($X[0]=="PRIMARY"?"KEY ":"")."(".implode(", ",$X[2]).")");elseif($X[2]=="DROP")$ec[]=idf_escape($X[1]);else$pg[]="CREATE INDEX ".idf_escape($X[1]!=""?$X[1]:uniqid($R."_"))." ON ".table($R)." (".implode(", ",$X[2]).")";}if($i)array_unshift($pg,"ALTER TABLE ".table($R).implode(",",$i));if($ec)array_unshift($pg,"DROP INDEX ".implode(", ",$ec));foreach($pg
+as$G){if(!queries($G))return
+false;}return
+true;}function
+truncate_tables($T){return
+queries("TRUNCATE ".implode(", ",array_map('table',$T)));return
+true;}function
+drop_views($Ti){return
+drop_tables($Ti);}function
+drop_tables($T){foreach($T
+as$R){$P=table_status($R);if(!queries("DROP ".strtoupper($P["Engine"])." ".table($R)))return
+false;}return
+true;}function
+move_tables($T,$Ti,$Qh){foreach(array_merge($T,$Ti)as$R){$P=table_status($R);if(!queries("ALTER ".strtoupper($P["Engine"])." ".table($R)." SET SCHEMA ".idf_escape($Qh)))return
+false;}return
+true;}function
+trigger($C,$R=null){if($C=="")return
+array("Statement"=>"EXECUTE PROCEDURE ()");if($R===null)$R=$_GET['trigger'];$K=get_rows('SELECT t.trigger_name AS "Trigger", t.action_timing AS "Timing", (SELECT STRING_AGG(event_manipulation, \' OR \') FROM information_schema.triggers WHERE event_object_table = t.event_object_table AND trigger_name = t.trigger_name ) AS "Events", t.event_manipulation AS "Event", \'FOR EACH \' || t.action_orientation AS "Type", t.action_statement AS "Statement" FROM information_schema.triggers t WHERE t.event_object_table = '.q($R).' AND t.trigger_name = '.q($C));return
+reset($K);}function
+triggers($R){$I=array();foreach(get_rows("SELECT * FROM information_schema.triggers WHERE event_object_table = ".q($R))as$J)$I[$J["trigger_name"]]=array($J["action_timing"],$J["event_manipulation"]);return$I;}function
+trigger_options(){return
+array("Timing"=>array("BEFORE","AFTER"),"Event"=>array("INSERT","UPDATE","DELETE"),"Type"=>array("FOR EACH ROW","FOR EACH STATEMENT"),);}function
+routine($C,$U){$K=get_rows('SELECT routine_definition AS definition, LOWER(external_language) AS language, *
+FROM information_schema.routines
+WHERE routine_schema = current_schema() AND specific_name = '.q($C));$I=$K[0];$I["returns"]=array("type"=>$I["type_udt_name"]);$I["fields"]=get_rows('SELECT parameter_name AS field, data_type AS type, character_maximum_length AS length, parameter_mode AS inout
+FROM information_schema.parameters
+WHERE specific_schema = current_schema() AND specific_name = '.q($C).'
+ORDER BY ordinal_position');return$I;}function
+routines(){return
+get_rows('SELECT specific_name AS "SPECIFIC_NAME", routine_type AS "ROUTINE_TYPE", routine_name AS "ROUTINE_NAME", type_udt_name AS "DTD_IDENTIFIER"
+FROM information_schema.routines
+WHERE routine_schema = current_schema()
+ORDER BY SPECIFIC_NAME');}function
+routine_languages(){return
+get_vals("SELECT LOWER(lanname) FROM pg_catalog.pg_language");}function
+routine_id($C,$J){$I=array();foreach($J["fields"]as$o)$I[]=$o["type"];return
+idf_escape($C)."(".implode(", ",$I).")";}function
+last_id(){return
+0;}function
+explain($g,$G){return$g->query("EXPLAIN $G");}function
+found_rows($S,$Z){global$g;if(preg_match("~ rows=([0-9]+)~",$g->result("EXPLAIN SELECT * FROM ".idf_escape($S["Name"]).($Z?" WHERE ".implode(" AND ",$Z):"")),$Bg))return$Bg[1];return
+false;}function
+types(){return
+get_vals("SELECT typname
+FROM pg_type
+WHERE typnamespace = (SELECT oid FROM pg_namespace WHERE nspname = current_schema())
+AND typtype IN ('b','d','e')
+AND typelem = 0");}function
+schemas(){return
+get_vals("SELECT nspname FROM pg_namespace ORDER BY nspname");}function
+get_schema(){global$g;return$g->result("SELECT current_schema()");}function
+set_schema($Ug){global$g,$wi,$Ah;$I=$g->query("SET search_path TO ".idf_escape($Ug));foreach(types()as$U){if(!isset($wi[$U])){$wi[$U]=0;$Ah['User types'][]=$U;}}return$I;}function
+create_sql($R,$La,$Bh){global$g;$I='';$Kg=array();$eh=array();$P=table_status($R);$p=fields($R);$w=indexes($R);ksort($w);$Yc=foreign_keys($R);ksort($Yc);if(!$P||empty($p))return
+false;$I="CREATE TABLE ".idf_escape($P['nspname']).".".idf_escape($P['Name'])." (\n ";foreach($p
+as$Qc=>$o){$Lf=idf_escape($o['field']).' '.$o['full_type'].default_value($o).($o['attnotnull']?" NOT NULL":"");$Kg[]=$Lf;if(preg_match('~nextval\(\'([^\']+)\'\)~',$o['default'],$_e)){$dh=$_e[1];$rh=reset(get_rows(min_version(10)?"SELECT *, cache_size AS cache_value FROM pg_sequences WHERE schemaname = current_schema() AND sequencename = ".q($dh):"SELECT * FROM $dh"));$eh[]=($Bh=="DROP+CREATE"?"DROP SEQUENCE IF EXISTS $dh;\n":"")."CREATE SEQUENCE $dh INCREMENT $rh[increment_by] MINVALUE $rh[min_value] MAXVALUE $rh[max_value] START ".($La?$rh['last_value']:1)." CACHE $rh[cache_value];";}}if(!empty($eh))$I=implode("\n\n",$eh)."\n\n$I";foreach($w
+as$Fd=>$v){switch($v['type']){case'UNIQUE':$Kg[]="CONSTRAINT ".idf_escape($Fd)." UNIQUE (".implode(', ',array_map('idf_escape',$v['columns'])).")";break;case'PRIMARY':$Kg[]="CONSTRAINT ".idf_escape($Fd)." PRIMARY KEY (".implode(', ',array_map('idf_escape',$v['columns'])).")";break;}}foreach($Yc
+as$Xc=>$Wc)$Kg[]="CONSTRAINT ".idf_escape($Xc)." $Wc[definition] ".($Wc['deferrable']?'DEFERRABLE':'NOT DEFERRABLE');$I.=implode(",\n ",$Kg)."\n) WITH (oids = ".($P['Oid']?'true':'false').");";foreach($w
+as$Fd=>$v){if($v['type']=='INDEX')$I.="\n\nCREATE INDEX ".idf_escape($Fd)." ON ".idf_escape($P['nspname']).".".idf_escape($P['Name'])." USING btree (".implode(', ',array_map('idf_escape',$v['columns'])).");";}if($P['Comment'])$I.="\n\nCOMMENT ON TABLE ".idf_escape($P['nspname']).".".idf_escape($P['Name'])." IS ".q($P['Comment']).";";foreach($p
+as$Qc=>$o){if($o['comment'])$I.="\n\nCOMMENT ON COLUMN ".idf_escape($P['nspname']).".".idf_escape($P['Name']).".".idf_escape($Qc)." IS ".q($o['comment']).";";}return
+rtrim($I,';');}function
+truncate_sql($R){return"TRUNCATE ".table($R);}function
+trigger_sql($R){$P=table_status($R);$I="";foreach(triggers($R)as$pi=>$oi){$qi=trigger($pi,$P['Name']);$I.="\nCREATE TRIGGER ".idf_escape($qi['Trigger'])." $qi[Timing] $qi[Events] ON ".idf_escape($P["nspname"]).".".idf_escape($P['Name'])." $qi[Type] $qi[Statement];;\n";}return$I;}function
+use_sql($j){return"\connect ".idf_escape($j);}function
+show_variables(){return
+get_key_vals("SHOW ALL");}function
+process_list(){return
+get_rows("SELECT * FROM pg_stat_activity ORDER BY ".(min_version(9.2)?"pid":"procpid"));}function
+show_status(){}function
+convert_field($o){}function
+unconvert_field($o,$I){return$I;}function
+support($Oc){return
+preg_match('~^(database|table|columns|sql|indexes|comment|view|'.(min_version(9.3)?'materializedview|':'').'scheme|routine|processlist|sequence|trigger|type|variables|drop_col|kill|dump)$~',$Oc);}function
+kill_process($X){return
+queries("SELECT pg_terminate_backend(".number($X).")");}function
+connection_id(){return"SELECT pg_backend_pid()";}function
+max_connections(){global$g;return$g->result("SHOW max_connections");}$x="pgsql";$wi=array();$Ah=array();foreach(array('Numbers'=>array("smallint"=>5,"integer"=>10,"bigint"=>19,"boolean"=>1,"numeric"=>0,"real"=>7,"double precision"=>16,"money"=>20),'Date and time'=>array("date"=>13,"time"=>17,"timestamp"=>20,"timestamptz"=>21,"interval"=>0),'Strings'=>array("character"=>0,"character varying"=>0,"text"=>0,"tsquery"=>0,"tsvector"=>0,"uuid"=>0,"xml"=>0),'Binary'=>array("bit"=>0,"bit varying"=>0,"bytea"=>0),'Network'=>array("cidr"=>43,"inet"=>43,"macaddr"=>17,"txid_snapshot"=>0),'Geometry'=>array("box"=>0,"circle"=>0,"line"=>0,"lseg"=>0,"path"=>0,"point"=>0,"polygon"=>0),)as$y=>$X){$wi+=$X;$Ah[$y]=array_keys($X);}$Ci=array();$pf=array("=","<",">","<=",">=","!=","~","!~","LIKE","LIKE %%","ILIKE","ILIKE %%","IN","IS NULL","NOT LIKE","NOT IN","IS NOT NULL");$jd=array("char_length","lower","round","to_hex","to_timestamp","upper");$pd=array("avg","count","count distinct","max","min","sum");$lc=array(array("char"=>"md5","date|time"=>"now",),array(number_type()=>"+/-","date|time"=>"+ interval/- interval","char|text"=>"||",));}$dc["oracle"]="Oracle (beta)";if(isset($_GET["oracle"])){$bg=array("OCI8","PDO_OCI");define("DRIVER","oracle");if(extension_loaded("oci8")){class
+Min_DB{var$extension="oci8",$_link,$_result,$server_info,$affected_rows,$errno,$error;function
+_error($wc,$n){if(ini_bool("html_errors"))$n=html_entity_decode(strip_tags($n));$n=preg_replace('~^[^:]*: ~','',$n);$this->error=$n;}function
+connect($N,$V,$F){$this->_link=@oci_new_connect($V,$F,$N,"AL32UTF8");if($this->_link){$this->server_info=oci_server_version($this->_link);return
+true;}$n=oci_error();$this->error=$n["message"];return
+false;}function
+quote($Q){return"'".str_replace("'","''",$Q)."'";}function
+select_db($j){return
+true;}function
+query($G,$xi=false){$H=oci_parse($this->_link,$G);$this->error="";if(!$H){$n=oci_error($this->_link);$this->errno=$n["code"];$this->error=$n["message"];return
+false;}set_error_handler(array($this,'_error'));$I=@oci_execute($H);restore_error_handler();if($I){if(oci_num_fields($H))return
+new
+Min_Result($H);$this->affected_rows=oci_num_rows($H);}return$I;}function
+multi_query($G){return$this->_result=$this->query($G);}function
+store_result(){return$this->_result;}function
+next_result(){return
+false;}function
+result($G,$o=1){$H=$this->query($G);if(!is_object($H)||!oci_fetch($H->_result))return
+false;return
+oci_result($H->_result,$o);}}class
+Min_Result{var$_result,$_offset=1,$num_rows;function
+__construct($H){$this->_result=$H;}function
+_convert($J){foreach((array)$J
+as$y=>$X){if(is_a($X,'OCI-Lob'))$J[$y]=$X->load();}return$J;}function
+fetch_assoc(){return$this->_convert(oci_fetch_assoc($this->_result));}function
+fetch_row(){return$this->_convert(oci_fetch_row($this->_result));}function
+fetch_field(){$e=$this->_offset++;$I=new
+stdClass;$I->name=oci_field_name($this->_result,$e);$I->orgname=$I->name;$I->type=oci_field_type($this->_result,$e);$I->charsetnr=(preg_match("~raw|blob|bfile~",$I->type)?63:0);return$I;}function
+__destruct(){oci_free_statement($this->_result);}}}elseif(extension_loaded("pdo_oci")){class
+Min_DB
+extends
+Min_PDO{var$extension="PDO_OCI";function
+connect($N,$V,$F){$this->dsn("oci:dbname=//$N;charset=AL32UTF8",$V,$F);return
+true;}function
+select_db($j){return
+true;}}}class
+Min_Driver
+extends
+Min_SQL{function
+begin(){return
+true;}}function
+idf_escape($u){return'"'.str_replace('"','""',$u).'"';}function
+table($u){return
+idf_escape($u);}function
+connect(){global$b;$g=new
+Min_DB;$Fb=$b->credentials();if($g->connect($Fb[0],$Fb[1],$Fb[2]))return$g;return$g->error;}function
+get_databases(){return
+get_vals("SELECT tablespace_name FROM user_tablespaces");}function
+limit($G,$Z,$z,$D=0,$M=" "){return($D?" * FROM (SELECT t.*, rownum AS rnum FROM (SELECT $G$Z) t WHERE rownum <= ".($z+$D).") WHERE rnum > $D":($z!==null?" * FROM (SELECT $G$Z) WHERE rownum <= ".($z+$D):" $G$Z"));}function
+limit1($R,$G,$Z,$M="\n"){return" $G$Z";}function
+db_collation($l,$ob){global$g;return$g->result("SELECT value FROM nls_database_parameters WHERE parameter = 'NLS_CHARACTERSET'");}function
+engines(){return
+array();}function
+logged_user(){global$g;return$g->result("SELECT USER FROM DUAL");}function
+tables_list(){return
+get_key_vals("SELECT table_name, 'table' FROM all_tables WHERE tablespace_name = ".q(DB)."
+UNION SELECT view_name, 'view' FROM user_views
+ORDER BY 1");}function
+count_tables($k){return
+array();}function
+table_status($C=""){$I=array();$Wg=q($C);foreach(get_rows('SELECT table_name "Name", \'table\' "Engine", avg_row_len * num_rows "Data_length", num_rows "Rows" FROM all_tables WHERE tablespace_name = '.q(DB).($C!=""?" AND table_name = $Wg":"")."
+UNION SELECT view_name, 'view', 0, 0 FROM user_views".($C!=""?" WHERE view_name = $Wg":"")."
+ORDER BY 1")as$J){if($C!="")return$J;$I[$J["Name"]]=$J;}return$I;}function
+is_view($S){return$S["Engine"]=="view";}function
+fk_support($S){return
+true;}function
+fields($R){$I=array();foreach(get_rows("SELECT * FROM all_tab_columns WHERE table_name = ".q($R)." ORDER BY column_id")as$J){$U=$J["DATA_TYPE"];$qe="$J[DATA_PRECISION],$J[DATA_SCALE]";if($qe==",")$qe=$J["DATA_LENGTH"];$I[$J["COLUMN_NAME"]]=array("field"=>$J["COLUMN_NAME"],"full_type"=>$U.($qe?"($qe)":""),"type"=>strtolower($U),"length"=>$qe,"default"=>$J["DATA_DEFAULT"],"null"=>($J["NULLABLE"]=="Y"),"privileges"=>array("insert"=>1,"select"=>1,"update"=>1),);}return$I;}function
+indexes($R,$h=null){$I=array();foreach(get_rows("SELECT uic.*, uc.constraint_type
+FROM user_ind_columns uic
+LEFT JOIN user_constraints uc ON uic.index_name = uc.constraint_name AND uic.table_name = uc.table_name
+WHERE uic.table_name = ".q($R)."
+ORDER BY uc.constraint_type, uic.column_position",$h)as$J){$Fd=$J["INDEX_NAME"];$I[$Fd]["type"]=($J["CONSTRAINT_TYPE"]=="P"?"PRIMARY":($J["CONSTRAINT_TYPE"]=="U"?"UNIQUE":"INDEX"));$I[$Fd]["columns"][]=$J["COLUMN_NAME"];$I[$Fd]["lengths"][]=($J["CHAR_LENGTH"]&&$J["CHAR_LENGTH"]!=$J["COLUMN_LENGTH"]?$J["CHAR_LENGTH"]:null);$I[$Fd]["descs"][]=($J["DESCEND"]?'1':null);}return$I;}function
+view($C){$K=get_rows('SELECT text "select" FROM user_views WHERE view_name = '.q($C));return
+reset($K);}function
+collations(){return
+array();}function
+information_schema($l){return
+false;}function
+error(){global$g;return
+h($g->error);}function
+explain($g,$G){$g->query("EXPLAIN PLAN FOR $G");return$g->query("SELECT * FROM plan_table");}function
+found_rows($S,$Z){}function
+alter_table($R,$C,$p,$bd,$tb,$tc,$d,$La,$Of){$c=$ec=array();foreach($p
+as$o){$X=$o[1];if($X&&$o[0]!=""&&idf_escape($o[0])!=$X[0])queries("ALTER TABLE ".table($R)." RENAME COLUMN ".idf_escape($o[0])." TO $X[0]");if($X)$c[]=($R!=""?($o[0]!=""?"MODIFY (":"ADD ("):" ").implode($X).($R!=""?")":"");else$ec[]=idf_escape($o[0]);}if($R=="")return
+queries("CREATE TABLE ".table($C)." (\n".implode(",\n",$c)."\n)");return(!$c||queries("ALTER TABLE ".table($R)."\n".implode("\n",$c)))&&(!$ec||queries("ALTER TABLE ".table($R)." DROP (".implode(", ",$ec).")"))&&($R==$C||queries("ALTER TABLE ".table($R)." RENAME TO ".table($C)));}function
+foreign_keys($R){$I=array();$G="SELECT c_list.CONSTRAINT_NAME as NAME,
+c_src.COLUMN_NAME as SRC_COLUMN,
+c_dest.OWNER as DEST_DB,
+c_dest.TABLE_NAME as DEST_TABLE,
+c_dest.COLUMN_NAME as DEST_COLUMN,
+c_list.DELETE_RULE as ON_DELETE
+FROM ALL_CONSTRAINTS c_list, ALL_CONS_COLUMNS c_src, ALL_CONS_COLUMNS c_dest
+WHERE c_list.CONSTRAINT_NAME = c_src.CONSTRAINT_NAME
+AND c_list.R_CONSTRAINT_NAME = c_dest.CONSTRAINT_NAME
+AND c_list.CONSTRAINT_TYPE = 'R'
+AND c_src.TABLE_NAME = ".q($R);foreach(get_rows($G)as$J)$I[$J['NAME']]=array("db"=>$J['DEST_DB'],"table"=>$J['DEST_TABLE'],"source"=>array($J['SRC_COLUMN']),"target"=>array($J['DEST_COLUMN']),"on_delete"=>$J['ON_DELETE'],"on_update"=>null,);return$I;}function
+truncate_tables($T){return
+apply_queries("TRUNCATE TABLE",$T);}function
+drop_views($Ti){return
+apply_queries("DROP VIEW",$Ti);}function
+drop_tables($T){return
+apply_queries("DROP TABLE",$T);}function
+last_id(){return
+0;}function
+schemas(){return
+get_vals("SELECT DISTINCT owner FROM dba_segments WHERE owner IN (SELECT username FROM dba_users WHERE default_tablespace NOT IN ('SYSTEM','SYSAUX'))");}function
+get_schema(){global$g;return$g->result("SELECT sys_context('USERENV', 'SESSION_USER') FROM dual");}function
+set_schema($Vg){global$g;return$g->query("ALTER SESSION SET CURRENT_SCHEMA = ".idf_escape($Vg));}function
+show_variables(){return
+get_key_vals('SELECT name, display_value FROM v$parameter');}function
+process_list(){return
+get_rows('SELECT sess.process AS "process", sess.username AS "user", sess.schemaname AS "schema", sess.status AS "status", sess.wait_class AS "wait_class", sess.seconds_in_wait AS "seconds_in_wait", sql.sql_text AS "sql_text", sess.machine AS "machine", sess.port AS "port"
+FROM v$session sess LEFT OUTER JOIN v$sql sql
+ON sql.sql_id = sess.sql_id
+WHERE sess.type = \'USER\'
+ORDER BY PROCESS
+');}function
+show_status(){$K=get_rows('SELECT * FROM v$instance');return
+reset($K);}function
+convert_field($o){}function
+unconvert_field($o,$I){return$I;}function
+support($Oc){return
+preg_match('~^(columns|database|drop_col|indexes|processlist|scheme|sql|status|table|variables|view|view_trigger)$~',$Oc);}$x="oracle";$wi=array();$Ah=array();foreach(array('Numbers'=>array("number"=>38,"binary_float"=>12,"binary_double"=>21),'Date and time'=>array("date"=>10,"timestamp"=>29,"interval year"=>12,"interval day"=>28),'Strings'=>array("char"=>2000,"varchar2"=>4000,"nchar"=>2000,"nvarchar2"=>4000,"clob"=>4294967295,"nclob"=>4294967295),'Binary'=>array("raw"=>2000,"long raw"=>2147483648,"blob"=>4294967295,"bfile"=>4294967296),)as$y=>$X){$wi+=$X;$Ah[$y]=array_keys($X);}$Ci=array();$pf=array("=","<",">","<=",">=","!=","LIKE","LIKE %%","IN","IS NULL","NOT LIKE","NOT REGEXP","NOT IN","IS NOT NULL","SQL");$jd=array("length","lower","round","upper");$pd=array("avg","count","count distinct","max","min","sum");$lc=array(array("date"=>"current_date","timestamp"=>"current_timestamp",),array("number|float|double"=>"+/-","date|timestamp"=>"+ interval/- interval","char|clob"=>"||",));}$dc["mssql"]="MS SQL (beta)";if(isset($_GET["mssql"])){$bg=array("SQLSRV","MSSQL","PDO_DBLIB");define("DRIVER","mssql");if(extension_loaded("sqlsrv")){class
+Min_DB{var$extension="sqlsrv",$_link,$_result,$server_info,$affected_rows,$errno,$error;function
+_get_error(){$this->error="";foreach(sqlsrv_errors()as$n){$this->errno=$n["code"];$this->error.="$n[message]\n";}$this->error=rtrim($this->error);}function
+connect($N,$V,$F){$this->_link=@sqlsrv_connect(preg_replace('~:~',',',$N),array("UID"=>$V,"PWD"=>$F,"CharacterSet"=>"UTF-8"));if($this->_link){$Md=sqlsrv_server_info($this->_link);$this->server_info=$Md['SQLServerVersion'];}else$this->_get_error();return(bool)$this->_link;}function
+quote($Q){return"'".str_replace("'","''",$Q)."'";}function
+select_db($j){return$this->query("USE ".idf_escape($j));}function
+query($G,$xi=false){$H=sqlsrv_query($this->_link,$G);$this->error="";if(!$H){$this->_get_error();return
+false;}return$this->store_result($H);}function
+multi_query($G){$this->_result=sqlsrv_query($this->_link,$G);$this->error="";if(!$this->_result){$this->_get_error();return
+false;}return
+true;}function
+store_result($H=null){if(!$H)$H=$this->_result;if(!$H)return
+false;if(sqlsrv_field_metadata($H))return
+new
+Min_Result($H);$this->affected_rows=sqlsrv_rows_affected($H);return
+true;}function
+next_result(){return$this->_result?sqlsrv_next_result($this->_result):null;}function
+result($G,$o=0){$H=$this->query($G);if(!is_object($H))return
+false;$J=$H->fetch_row();return$J[$o];}}class
+Min_Result{var$_result,$_offset=0,$_fields,$num_rows;function
+__construct($H){$this->_result=$H;}function
+_convert($J){foreach((array)$J
+as$y=>$X){if(is_a($X,'DateTime'))$J[$y]=$X->format("Y-m-d H:i:s");}return$J;}function
+fetch_assoc(){return$this->_convert(sqlsrv_fetch_array($this->_result,SQLSRV_FETCH_ASSOC));}function
+fetch_row(){return$this->_convert(sqlsrv_fetch_array($this->_result,SQLSRV_FETCH_NUMERIC));}function
+fetch_field(){if(!$this->_fields)$this->_fields=sqlsrv_field_metadata($this->_result);$o=$this->_fields[$this->_offset++];$I=new
+stdClass;$I->name=$o["Name"];$I->orgname=$o["Name"];$I->type=($o["Type"]==1?254:0);return$I;}function
+seek($D){for($s=0;$s<$D;$s++)sqlsrv_fetch($this->_result);}function
+__destruct(){sqlsrv_free_stmt($this->_result);}}}elseif(extension_loaded("mssql")){class
+Min_DB{var$extension="MSSQL",$_link,$_result,$server_info,$affected_rows,$error;function
+connect($N,$V,$F){$this->_link=@mssql_connect($N,$V,$F);if($this->_link){$H=$this->query("SELECT SERVERPROPERTY('ProductLevel'), SERVERPROPERTY('Edition')");if($H){$J=$H->fetch_row();$this->server_info=$this->result("sp_server_info 2",2)." [$J[0]] $J[1]";}}else$this->error=mssql_get_last_message();return(bool)$this->_link;}function
+quote($Q){return"'".str_replace("'","''",$Q)."'";}function
+select_db($j){return
+mssql_select_db($j);}function
+query($G,$xi=false){$H=@mssql_query($G,$this->_link);$this->error="";if(!$H){$this->error=mssql_get_last_message();return
+false;}if($H===true){$this->affected_rows=mssql_rows_affected($this->_link);return
+true;}return
+new
+Min_Result($H);}function
+multi_query($G){return$this->_result=$this->query($G);}function
+store_result(){return$this->_result;}function
+next_result(){return
+mssql_next_result($this->_result->_result);}function
+result($G,$o=0){$H=$this->query($G);if(!is_object($H))return
+false;return
+mssql_result($H->_result,0,$o);}}class
+Min_Result{var$_result,$_offset=0,$_fields,$num_rows;function
+__construct($H){$this->_result=$H;$this->num_rows=mssql_num_rows($H);}function
+fetch_assoc(){return
+mssql_fetch_assoc($this->_result);}function
+fetch_row(){return
+mssql_fetch_row($this->_result);}function
+num_rows(){return
+mssql_num_rows($this->_result);}function
+fetch_field(){$I=mssql_fetch_field($this->_result);$I->orgtable=$I->table;$I->orgname=$I->name;return$I;}function
+seek($D){mssql_data_seek($this->_result,$D);}function
+__destruct(){mssql_free_result($this->_result);}}}elseif(extension_loaded("pdo_dblib")){class
+Min_DB
+extends
+Min_PDO{var$extension="PDO_DBLIB";function
+connect($N,$V,$F){$this->dsn("dblib:charset=utf8;host=".str_replace(":",";unix_socket=",preg_replace('~:(\d)~',';port=\1',$N)),$V,$F);return
+true;}function
+select_db($j){return$this->query("USE ".idf_escape($j));}}}class
+Min_Driver
+extends
+Min_SQL{function
+insertUpdate($R,$K,$eg){foreach($K
+as$O){$Di=array();$Z=array();foreach($O
+as$y=>$X){$Di[]="$y = $X";if(isset($eg[idf_unescape($y)]))$Z[]="$y = $X";}if(!queries("MERGE ".table($R)." USING (VALUES(".implode(", ",$O).")) AS source (c".implode(", c",range(1,count($O))).") ON ".implode(" AND ",$Z)." WHEN MATCHED THEN UPDATE SET ".implode(", ",$Di)." WHEN NOT MATCHED THEN INSERT (".implode(", ",array_keys($O)).") VALUES (".implode(", ",$O).");"))return
+false;}return
+true;}function
+begin(){return
+queries("BEGIN TRANSACTION");}}function
+idf_escape($u){return"[".str_replace("]","]]",$u)."]";}function
+table($u){return($_GET["ns"]!=""?idf_escape($_GET["ns"]).".":"").idf_escape($u);}function
+connect(){global$b;$g=new
+Min_DB;$Fb=$b->credentials();if($g->connect($Fb[0],$Fb[1],$Fb[2]))return$g;return$g->error;}function
+get_databases(){return
+get_vals("SELECT name FROM sys.databases WHERE name NOT IN ('master', 'tempdb', 'model', 'msdb')");}function
+limit($G,$Z,$z,$D=0,$M=" "){return($z!==null?" TOP (".($z+$D).")":"")." $G$Z";}function
+limit1($R,$G,$Z,$M="\n"){return
+limit($G,$Z,1,0,$M);}function
+db_collation($l,$ob){global$g;return$g->result("SELECT collation_name FROM sys.databases WHERE name = ".q($l));}function
+engines(){return
+array();}function
+logged_user(){global$g;return$g->result("SELECT SUSER_NAME()");}function
+tables_list(){return
+get_key_vals("SELECT name, type_desc FROM sys.all_objects WHERE schema_id = SCHEMA_ID(".q(get_schema()).") AND type IN ('S', 'U', 'V') ORDER BY name");}function
+count_tables($k){global$g;$I=array();foreach($k
+as$l){$g->select_db($l);$I[$l]=$g->result("SELECT COUNT(*) FROM INFORMATION_SCHEMA.TABLES");}return$I;}function
+table_status($C=""){$I=array();foreach(get_rows("SELECT name AS Name, type_desc AS Engine FROM sys.all_objects WHERE schema_id = SCHEMA_ID(".q(get_schema()).") AND type IN ('S', 'U', 'V') ".($C!=""?"AND name = ".q($C):"ORDER BY name"))as$J){if($C!="")return$J;$I[$J["Name"]]=$J;}return$I;}function
+is_view($S){return$S["Engine"]=="VIEW";}function
+fk_support($S){return
+true;}function
+fields($R){$I=array();foreach(get_rows("SELECT c.max_length, c.precision, c.scale, c.name, c.is_nullable, c.is_identity, c.collation_name, t.name type, CAST(d.definition as text) [default]
+FROM sys.all_columns c
+JOIN sys.all_objects o ON c.object_id = o.object_id
+JOIN sys.types t ON c.user_type_id = t.user_type_id
+LEFT JOIN sys.default_constraints d ON c.default_object_id = d.parent_column_id
+WHERE o.schema_id = SCHEMA_ID(".q(get_schema()).") AND o.type IN ('S', 'U', 'V') AND o.name = ".q($R))as$J){$U=$J["type"];$qe=(preg_match("~char|binary~",$U)?$J["max_length"]:($U=="decimal"?"$J[precision],$J[scale]":""));$I[$J["name"]]=array("field"=>$J["name"],"full_type"=>$U.($qe?"($qe)":""),"type"=>$U,"length"=>$qe,"default"=>$J["default"],"null"=>$J["is_nullable"],"auto_increment"=>$J["is_identity"],"collation"=>$J["collation_name"],"privileges"=>array("insert"=>1,"select"=>1,"update"=>1),"primary"=>$J["is_identity"],);}return$I;}function
+indexes($R,$h=null){$I=array();foreach(get_rows("SELECT i.name, key_ordinal, is_unique, is_primary_key, c.name AS column_name, is_descending_key
+FROM sys.indexes i
+INNER JOIN sys.index_columns ic ON i.object_id = ic.object_id AND i.index_id = ic.index_id
+INNER JOIN sys.columns c ON ic.object_id = c.object_id AND ic.column_id = c.column_id
+WHERE OBJECT_NAME(i.object_id) = ".q($R),$h)as$J){$C=$J["name"];$I[$C]["type"]=($J["is_primary_key"]?"PRIMARY":($J["is_unique"]?"UNIQUE":"INDEX"));$I[$C]["lengths"]=array();$I[$C]["columns"][$J["key_ordinal"]]=$J["column_name"];$I[$C]["descs"][$J["key_ordinal"]]=($J["is_descending_key"]?'1':null);}return$I;}function
+view($C){global$g;return
+array("select"=>preg_replace('~^(?:[^[]|\[[^]]*])*\s+AS\s+~isU','',$g->result("SELECT VIEW_DEFINITION FROM INFORMATION_SCHEMA.VIEWS WHERE TABLE_SCHEMA = SCHEMA_NAME() AND TABLE_NAME = ".q($C))));}function
+collations(){$I=array();foreach(get_vals("SELECT name FROM fn_helpcollations()")as$d)$I[preg_replace('~_.*~','',$d)][]=$d;return$I;}function
+information_schema($l){return
+false;}function
+error(){global$g;return
+nl_br(h(preg_replace('~^(\[[^]]*])+~m','',$g->error)));}function
+create_database($l,$d){return
+queries("CREATE DATABASE ".idf_escape($l).(preg_match('~^[a-z0-9_]+$~i',$d)?" COLLATE $d":""));}function
+drop_databases($k){return
+queries("DROP DATABASE ".implode(", ",array_map('idf_escape',$k)));}function
+rename_database($C,$d){if(preg_match('~^[a-z0-9_]+$~i',$d))queries("ALTER DATABASE ".idf_escape(DB)." COLLATE $d");queries("ALTER DATABASE ".idf_escape(DB)." MODIFY NAME = ".idf_escape($C));return
+true;}function
+auto_increment(){return" IDENTITY".($_POST["Auto_increment"]!=""?"(".number($_POST["Auto_increment"]).",1)":"")." PRIMARY KEY";}function
+alter_table($R,$C,$p,$bd,$tb,$tc,$d,$La,$Of){$c=array();foreach($p
+as$o){$e=idf_escape($o[0]);$X=$o[1];if(!$X)$c["DROP"][]=" COLUMN $e";else{$X[1]=preg_replace("~( COLLATE )'(\\w+)'~",'\1\2',$X[1]);if($o[0]=="")$c["ADD"][]="\n ".implode("",$X).($R==""?substr($bd[$X[0]],16+strlen($X[0])):"");else{unset($X[6]);if($e!=$X[0])queries("EXEC sp_rename ".q(table($R).".$e").", ".q(idf_unescape($X[0])).", 'COLUMN'");$c["ALTER COLUMN ".implode("",$X)][]="";}}}if($R=="")return
+queries("CREATE TABLE ".table($C)." (".implode(",",(array)$c["ADD"])."\n)");if($R!=$C)queries("EXEC sp_rename ".q(table($R)).", ".q($C));if($bd)$c[""]=$bd;foreach($c
+as$y=>$X){if(!queries("ALTER TABLE ".idf_escape($C)." $y".implode(",",$X)))return
+false;}return
+true;}function
+alter_indexes($R,$c){$v=array();$ec=array();foreach($c
+as$X){if($X[2]=="DROP"){if($X[0]=="PRIMARY")$ec[]=idf_escape($X[1]);else$v[]=idf_escape($X[1])." ON ".table($R);}elseif(!queries(($X[0]!="PRIMARY"?"CREATE $X[0] ".($X[0]!="INDEX"?"INDEX ":"").idf_escape($X[1]!=""?$X[1]:uniqid($R."_"))." ON ".table($R):"ALTER TABLE ".table($R)." ADD PRIMARY KEY")." (".implode(", ",$X[2]).")"))return
+false;}return(!$v||queries("DROP INDEX ".implode(", ",$v)))&&(!$ec||queries("ALTER TABLE ".table($R)." DROP ".implode(", ",$ec)));}function
+last_id(){global$g;return$g->result("SELECT SCOPE_IDENTITY()");}function
+explain($g,$G){$g->query("SET SHOWPLAN_ALL ON");$I=$g->query($G);$g->query("SET SHOWPLAN_ALL OFF");return$I;}function
+found_rows($S,$Z){}function
+foreign_keys($R){$I=array();foreach(get_rows("EXEC sp_fkeys @fktable_name = ".q($R))as$J){$q=&$I[$J["FK_NAME"]];$q["table"]=$J["PKTABLE_NAME"];$q["source"][]=$J["FKCOLUMN_NAME"];$q["target"][]=$J["PKCOLUMN_NAME"];}return$I;}function
+truncate_tables($T){return
+apply_queries("TRUNCATE TABLE",$T);}function
+drop_views($Ti){return
+queries("DROP VIEW ".implode(", ",array_map('table',$Ti)));}function
+drop_tables($T){return
+queries("DROP TABLE ".implode(", ",array_map('table',$T)));}function
+move_tables($T,$Ti,$Qh){return
+apply_queries("ALTER SCHEMA ".idf_escape($Qh)." TRANSFER",array_merge($T,$Ti));}function
+trigger($C){if($C=="")return
+array();$K=get_rows("SELECT s.name [Trigger],
+CASE WHEN OBJECTPROPERTY(s.id, 'ExecIsInsertTrigger') = 1 THEN 'INSERT' WHEN OBJECTPROPERTY(s.id, 'ExecIsUpdateTrigger') = 1 THEN 'UPDATE' WHEN OBJECTPROPERTY(s.id, 'ExecIsDeleteTrigger') = 1 THEN 'DELETE' END [Event],
+CASE WHEN OBJECTPROPERTY(s.id, 'ExecIsInsteadOfTrigger') = 1 THEN 'INSTEAD OF' ELSE 'AFTER' END [Timing],
+c.text
+FROM sysobjects s
+JOIN syscomments c ON s.id = c.id
+WHERE s.xtype = 'TR' AND s.name = ".q($C));$I=reset($K);if($I)$I["Statement"]=preg_replace('~^.+\s+AS\s+~isU','',$I["text"]);return$I;}function
+triggers($R){$I=array();foreach(get_rows("SELECT sys1.name,
+CASE WHEN OBJECTPROPERTY(sys1.id, 'ExecIsInsertTrigger') = 1 THEN 'INSERT' WHEN OBJECTPROPERTY(sys1.id, 'ExecIsUpdateTrigger') = 1 THEN 'UPDATE' WHEN OBJECTPROPERTY(sys1.id, 'ExecIsDeleteTrigger') = 1 THEN 'DELETE' END [Event],
+CASE WHEN OBJECTPROPERTY(sys1.id, 'ExecIsInsteadOfTrigger') = 1 THEN 'INSTEAD OF' ELSE 'AFTER' END [Timing]
+FROM sysobjects sys1
+JOIN sysobjects sys2 ON sys1.parent_obj = sys2.id
+WHERE sys1.xtype = 'TR' AND sys2.name = ".q($R))as$J)$I[$J["name"]]=array($J["Timing"],$J["Event"]);return$I;}function
+trigger_options(){return
+array("Timing"=>array("AFTER","INSTEAD OF"),"Event"=>array("INSERT","UPDATE","DELETE"),"Type"=>array("AS"),);}function
+schemas(){return
+get_vals("SELECT name FROM sys.schemas");}function
+get_schema(){global$g;if($_GET["ns"]!="")return$_GET["ns"];return$g->result("SELECT SCHEMA_NAME()");}function
+set_schema($Ug){return
+true;}function
+use_sql($j){return"USE ".idf_escape($j);}function
+show_variables(){return
+array();}function
+show_status(){return
+array();}function
+convert_field($o){}function
+unconvert_field($o,$I){return$I;}function
+support($Oc){return
+preg_match('~^(columns|database|drop_col|indexes|scheme|sql|table|trigger|view|view_trigger)$~',$Oc);}$x="mssql";$wi=array();$Ah=array();foreach(array('Numbers'=>array("tinyint"=>3,"smallint"=>5,"int"=>10,"bigint"=>20,"bit"=>1,"decimal"=>0,"real"=>12,"float"=>53,"smallmoney"=>10,"money"=>20),'Date and time'=>array("date"=>10,"smalldatetime"=>19,"datetime"=>19,"datetime2"=>19,"time"=>8,"datetimeoffset"=>10),'Strings'=>array("char"=>8000,"varchar"=>8000,"text"=>2147483647,"nchar"=>4000,"nvarchar"=>4000,"ntext"=>1073741823),'Binary'=>array("binary"=>8000,"varbinary"=>8000,"image"=>2147483647),)as$y=>$X){$wi+=$X;$Ah[$y]=array_keys($X);}$Ci=array();$pf=array("=","<",">","<=",">=","!=","LIKE","LIKE %%","IN","IS NULL","NOT LIKE","NOT IN","IS NOT NULL");$jd=array("len","lower","round","upper");$pd=array("avg","count","count distinct","max","min","sum");$lc=array(array("date|time"=>"getdate",),array("int|decimal|real|float|money|datetime"=>"+/-","char|text"=>"+",));}$dc['firebird']='Firebird (alpha)';if(isset($_GET["firebird"])){$bg=array("interbase");define("DRIVER","firebird");if(extension_loaded("interbase")){class
+Min_DB{var$extension="Firebird",$server_info,$affected_rows,$errno,$error,$_link,$_result;function
+connect($N,$V,$F){$this->_link=ibase_connect($N,$V,$F);if($this->_link){$Gi=explode(':',$N);$this->service_link=ibase_service_attach($Gi[0],$V,$F);$this->server_info=ibase_server_info($this->service_link,IBASE_SVC_SERVER_VERSION);}else{$this->errno=ibase_errcode();$this->error=ibase_errmsg();}return(bool)$this->_link;}function
+quote($Q){return"'".str_replace("'","''",$Q)."'";}function
+select_db($j){return($j=="domain");}function
+query($G,$xi=false){$H=ibase_query($G,$this->_link);if(!$H){$this->errno=ibase_errcode();$this->error=ibase_errmsg();return
+false;}$this->error="";if($H===true){$this->affected_rows=ibase_affected_rows($this->_link);return
+true;}return
+new
+Min_Result($H);}function
+multi_query($G){return$this->_result=$this->query($G);}function
+store_result(){return$this->_result;}function
+next_result(){return
+false;}function
+result($G,$o=0){$H=$this->query($G);if(!$H||!$H->num_rows)return
+false;$J=$H->fetch_row();return$J[$o];}}class
+Min_Result{var$num_rows,$_result,$_offset=0;function
+__construct($H){$this->_result=$H;}function
+fetch_assoc(){return
+ibase_fetch_assoc($this->_result);}function
+fetch_row(){return
+ibase_fetch_row($this->_result);}function
+fetch_field(){$o=ibase_field_info($this->_result,$this->_offset++);return(object)array('name'=>$o['name'],'orgname'=>$o['name'],'type'=>$o['type'],'charsetnr'=>$o['length'],);}function
+__destruct(){ibase_free_result($this->_result);}}}class
+Min_Driver
+extends
+Min_SQL{}function
+idf_escape($u){return'"'.str_replace('"','""',$u).'"';}function
+table($u){return
+idf_escape($u);}function
+connect(){global$b;$g=new
+Min_DB;$Fb=$b->credentials();if($g->connect($Fb[0],$Fb[1],$Fb[2]))return$g;return$g->error;}function
+get_databases($Zc){return
+array("domain");}function
+limit($G,$Z,$z,$D=0,$M=" "){$I='';$I.=($z!==null?$M."FIRST $z".($D?" SKIP $D":""):"");$I.=" $G$Z";return$I;}function
+limit1($R,$G,$Z,$M="\n"){return
+limit($G,$Z,1,0,$M);}function
+db_collation($l,$ob){}function
+engines(){return
+array();}function
+logged_user(){global$b;$Fb=$b->credentials();return$Fb[1];}function
+tables_list(){global$g;$G='SELECT RDB$RELATION_NAME FROM rdb$relations WHERE rdb$system_flag = 0';$H=ibase_query($g->_link,$G);$I=array();while($J=ibase_fetch_assoc($H))$I[$J['RDB$RELATION_NAME']]='table';ksort($I);return$I;}function
+count_tables($k){return
+array();}function
+table_status($C="",$Nc=false){global$g;$I=array();$Kb=tables_list();foreach($Kb
+as$v=>$X){$v=trim($v);$I[$v]=array('Name'=>$v,'Engine'=>'standard',);if($C==$v)return$I[$v];}return$I;}function
+is_view($S){return
+false;}function
+fk_support($S){return
+preg_match('~InnoDB|IBMDB2I~i',$S["Engine"]);}function
+fields($R){global$g;$I=array();$G='SELECT r.RDB$FIELD_NAME AS field_name,
+r.RDB$DESCRIPTION AS field_description,
+r.RDB$DEFAULT_VALUE AS field_default_value,
+r.RDB$NULL_FLAG AS field_not_null_constraint,
+f.RDB$FIELD_LENGTH AS field_length,
+f.RDB$FIELD_PRECISION AS field_precision,
+f.RDB$FIELD_SCALE AS field_scale,
+CASE f.RDB$FIELD_TYPE
+WHEN 261 THEN \'BLOB\'
+WHEN 14 THEN \'CHAR\'
+WHEN 40 THEN \'CSTRING\'
+WHEN 11 THEN \'D_FLOAT\'
+WHEN 27 THEN \'DOUBLE\'
+WHEN 10 THEN \'FLOAT\'
+WHEN 16 THEN \'INT64\'
+WHEN 8 THEN \'INTEGER\'
+WHEN 9 THEN \'QUAD\'
+WHEN 7 THEN \'SMALLINT\'
+WHEN 12 THEN \'DATE\'
+WHEN 13 THEN \'TIME\'
+WHEN 35 THEN \'TIMESTAMP\'
+WHEN 37 THEN \'VARCHAR\'
+ELSE \'UNKNOWN\'
+END AS field_type,
+f.RDB$FIELD_SUB_TYPE AS field_subtype,
+coll.RDB$COLLATION_NAME AS field_collation,
+cset.RDB$CHARACTER_SET_NAME AS field_charset
+FROM RDB$RELATION_FIELDS r
+LEFT JOIN RDB$FIELDS f ON r.RDB$FIELD_SOURCE = f.RDB$FIELD_NAME
+LEFT JOIN RDB$COLLATIONS coll ON f.RDB$COLLATION_ID = coll.RDB$COLLATION_ID
+LEFT JOIN RDB$CHARACTER_SETS cset ON f.RDB$CHARACTER_SET_ID = cset.RDB$CHARACTER_SET_ID
+WHERE r.RDB$RELATION_NAME = '.q($R).'
+ORDER BY r.RDB$FIELD_POSITION';$H=ibase_query($g->_link,$G);while($J=ibase_fetch_assoc($H))$I[trim($J['FIELD_NAME'])]=array("field"=>trim($J["FIELD_NAME"]),"full_type"=>trim($J["FIELD_TYPE"]),"type"=>trim($J["FIELD_SUB_TYPE"]),"default"=>trim($J['FIELD_DEFAULT_VALUE']),"null"=>(trim($J["FIELD_NOT_NULL_CONSTRAINT"])=="YES"),"auto_increment"=>'0',"collation"=>trim($J["FIELD_COLLATION"]),"privileges"=>array("insert"=>1,"select"=>1,"update"=>1),"comment"=>trim($J["FIELD_DESCRIPTION"]),);return$I;}function
+indexes($R,$h=null){$I=array();return$I;}function
+foreign_keys($R){return
+array();}function
+collations(){return
+array();}function
+information_schema($l){return
+false;}function
+error(){global$g;return
+h($g->error);}function
+types(){return
+array();}function
+schemas(){return
+array();}function
+get_schema(){return"";}function
+set_schema($Ug){return
+true;}function
+support($Oc){return
+preg_match("~^(columns|sql|status|table)$~",$Oc);}$x="firebird";$pf=array("=");$jd=array();$pd=array();$lc=array();}$dc["simpledb"]="SimpleDB";if(isset($_GET["simpledb"])){$bg=array("SimpleXML + allow_url_fopen");define("DRIVER","simpledb");if(class_exists('SimpleXMLElement')&&ini_bool('allow_url_fopen')){class
+Min_DB{var$extension="SimpleXML",$server_info='2009-04-15',$error,$timeout,$next,$affected_rows,$_result;function
+select_db($j){return($j=="domain");}function
+query($G,$xi=false){$If=array('SelectExpression'=>$G,'ConsistentRead'=>'true');if($this->next)$If['NextToken']=$this->next;$H=sdb_request_all('Select','Item',$If,$this->timeout);$this->timeout=0;if($H===false)return$H;if(preg_match('~^\s*SELECT\s+COUNT\(~i',$G)){$Eh=0;foreach($H
+as$Yd)$Eh+=$Yd->Attribute->Value;$H=array((object)array('Attribute'=>array((object)array('Name'=>'Count','Value'=>$Eh,))));}return
+new
+Min_Result($H);}function
+multi_query($G){return$this->_result=$this->query($G);}function
+store_result(){return$this->_result;}function
+next_result(){return
+false;}function
+quote($Q){return"'".str_replace("'","''",$Q)."'";}}class
+Min_Result{var$num_rows,$_rows=array(),$_offset=0;function
+__construct($H){foreach($H
+as$Yd){$J=array();if($Yd->Name!='')$J['itemName()']=(string)$Yd->Name;foreach($Yd->Attribute
+as$Ia){$C=$this->_processValue($Ia->Name);$Y=$this->_processValue($Ia->Value);if(isset($J[$C])){$J[$C]=(array)$J[$C];$J[$C][]=$Y;}else$J[$C]=$Y;}$this->_rows[]=$J;foreach($J
+as$y=>$X){if(!isset($this->_rows[0][$y]))$this->_rows[0][$y]=null;}}$this->num_rows=count($this->_rows);}function
+_processValue($oc){return(is_object($oc)&&$oc['encoding']=='base64'?base64_decode($oc):(string)$oc);}function
+fetch_assoc(){$J=current($this->_rows);if(!$J)return$J;$I=array();foreach($this->_rows[0]as$y=>$X)$I[$y]=$J[$y];next($this->_rows);return$I;}function
+fetch_row(){$I=$this->fetch_assoc();if(!$I)return$I;return
+array_values($I);}function
+fetch_field(){$ee=array_keys($this->_rows[0]);return(object)array('name'=>$ee[$this->_offset++]);}}}class
+Min_Driver
+extends
+Min_SQL{public$eg="itemName()";function
+_chunkRequest($Cd,$va,$If,$Dc=array()){global$g;foreach(array_chunk($Cd,25)as$hb){$Jf=$If;foreach($hb
+as$s=>$t){$Jf["Item.$s.ItemName"]=$t;foreach($Dc
+as$y=>$X)$Jf["Item.$s.$y"]=$X;}if(!sdb_request($va,$Jf))return
+false;}$g->affected_rows=count($Cd);return
+true;}function
+_extractIds($R,$qg,$z){$I=array();if(preg_match_all("~itemName\(\) = (('[^']*+')+)~",$qg,$_e))$I=array_map('idf_unescape',$_e[1]);else{foreach(sdb_request_all('Select','Item',array('SelectExpression'=>'SELECT itemName() FROM '.table($R).$qg.($z?" LIMIT 1":"")))as$Yd)$I[]=$Yd->Name;}return$I;}function
+select($R,$L,$Z,$md,$uf=array(),$z=1,$E=0,$gg=false){global$g;$g->next=$_GET["next"];$I=parent::select($R,$L,$Z,$md,$uf,$z,$E,$gg);$g->next=0;return$I;}function
+delete($R,$qg,$z=0){return$this->_chunkRequest($this->_extractIds($R,$qg,$z),'BatchDeleteAttributes',array('DomainName'=>$R));}function
+update($R,$O,$qg,$z=0,$M="\n"){$Tb=array();$Qd=array();$s=0;$Cd=$this->_extractIds($R,$qg,$z);$t=idf_unescape($O["`itemName()`"]);unset($O["`itemName()`"]);foreach($O
+as$y=>$X){$y=idf_unescape($y);if($X=="NULL"||($t!=""&&array($t)!=$Cd))$Tb["Attribute.".count($Tb).".Name"]=$y;if($X!="NULL"){foreach((array)$X
+as$ae=>$W){$Qd["Attribute.$s.Name"]=$y;$Qd["Attribute.$s.Value"]=(is_array($X)?$W:idf_unescape($W));if(!$ae)$Qd["Attribute.$s.Replace"]="true";$s++;}}}$If=array('DomainName'=>$R);return(!$Qd||$this->_chunkRequest(($t!=""?array($t):$Cd),'BatchPutAttributes',$If,$Qd))&&(!$Tb||$this->_chunkRequest($Cd,'BatchDeleteAttributes',$If,$Tb));}function
+insert($R,$O){$If=array("DomainName"=>$R);$s=0;foreach($O
+as$C=>$Y){if($Y!="NULL"){$C=idf_unescape($C);if($C=="itemName()")$If["ItemName"]=idf_unescape($Y);else{foreach((array)$Y
+as$X){$If["Attribute.$s.Name"]=$C;$If["Attribute.$s.Value"]=(is_array($Y)?$X:idf_unescape($Y));$s++;}}}}return
+sdb_request('PutAttributes',$If);}function
+insertUpdate($R,$K,$eg){foreach($K
+as$O){if(!$this->update($R,$O,"WHERE `itemName()` = ".q($O["`itemName()`"])))return
+false;}return
+true;}function
+begin(){return
+false;}function
+commit(){return
+false;}function
+rollback(){return
+false;}function
+slowQuery($G,$Yh){$this->_conn->timeout=$Yh;return$G;}}function
+connect(){global$b;list(,,$F)=$b->credentials();if($F!="")return'Database does not support password.';return
+new
+Min_DB;}function
+support($Oc){return
+preg_match('~sql~',$Oc);}function
+logged_user(){global$b;$Fb=$b->credentials();return$Fb[1];}function
+get_databases(){return
+array("domain");}function
+collations(){return
+array();}function
+db_collation($l,$ob){}function
+tables_list(){global$g;$I=array();foreach(sdb_request_all('ListDomains','DomainName')as$R)$I[(string)$R]='table';if($g->error&&defined("PAGE_HEADER"))echo"".error()."\n";return$I;}function
+table_status($C="",$Nc=false){$I=array();foreach(($C!=""?array($C=>true):tables_list())as$R=>$U){$J=array("Name"=>$R,"Auto_increment"=>"");if(!$Nc){$Me=sdb_request('DomainMetadata',array('DomainName'=>$R));if($Me){foreach(array("Rows"=>"ItemCount","Data_length"=>"ItemNamesSizeBytes","Index_length"=>"AttributeValuesSizeBytes","Data_free"=>"AttributeNamesSizeBytes",)as$y=>$X)$J[$y]=(string)$Me->$X;}}if($C!="")return$J;$I[$R]=$J;}return$I;}function
+explain($g,$G){}function
+error(){global$g;return
+h($g->error);}function
+information_schema(){}function
+is_view($S){}function
+indexes($R,$h=null){return
+array(array("type"=>"PRIMARY","columns"=>array("itemName()")),);}function
+fields($R){return
+fields_from_edit();}function
+foreign_keys($R){return
+array();}function
+table($u){return
+idf_escape($u);}function
+idf_escape($u){return"`".str_replace("`","``",$u)."`";}function
+limit($G,$Z,$z,$D=0,$M=" "){return" $G$Z".($z!==null?$M."LIMIT $z":"");}function
+unconvert_field($o,$I){return$I;}function
+fk_support($S){}function
+engines(){return
+array();}function
+alter_table($R,$C,$p,$bd,$tb,$tc,$d,$La,$Of){return($R==""&&sdb_request('CreateDomain',array('DomainName'=>$C)));}function
+drop_tables($T){foreach($T
+as$R){if(!sdb_request('DeleteDomain',array('DomainName'=>$R)))return
+false;}return
+true;}function
+count_tables($k){foreach($k
+as$l)return
+array($l=>count(tables_list()));}function
+found_rows($S,$Z){return($Z?null:$S["Rows"]);}function
+last_id(){}function
+hmac($Ba,$Kb,$y,$ug=false){$Ua=64;if(strlen($y)>$Ua)$y=pack("H*",$Ba($y));$y=str_pad($y,$Ua,"\0");$be=$y^str_repeat("\x36",$Ua);$ce=$y^str_repeat("\x5C",$Ua);$I=$Ba($ce.pack("H*",$Ba($be.$Kb)));if($ug)$I=pack("H*",$I);return$I;}function
+sdb_request($va,$If=array()){global$b,$g;list($_d,$If['AWSAccessKeyId'],$Xg)=$b->credentials();$If['Action']=$va;$If['Timestamp']=gmdate('Y-m-d\TH:i:s+00:00');$If['Version']='2009-04-15';$If['SignatureVersion']=2;$If['SignatureMethod']='HmacSHA1';ksort($If);$G='';foreach($If
+as$y=>$X)$G.='&'.rawurlencode($y).'='.rawurlencode($X);$G=str_replace('%7E','~',substr($G,1));$G.="&Signature=".urlencode(base64_encode(hmac('sha1',"POST\n".preg_replace('~^https?://~','',$_d)."\n/\n$G",$Xg,true)));@ini_set('track_errors',1);$Sc=@file_get_contents((preg_match('~^https?://~',$_d)?$_d:"http://$_d"),false,stream_context_create(array('http'=>array('method'=>'POST','content'=>$G,'ignore_errors'=>1,))));if(!$Sc){$g->error=$php_errormsg;return
+false;}libxml_use_internal_errors(true);$gj=simplexml_load_string($Sc);if(!$gj){$n=libxml_get_last_error();$g->error=$n->message;return
+false;}if($gj->Errors){$n=$gj->Errors->Error;$g->error="$n->Message ($n->Code)";return
+false;}$g->error='';$Ph=$va."Result";return($gj->$Ph?$gj->$Ph:true);}function
+sdb_request_all($va,$Ph,$If=array(),$Yh=0){$I=array();$xh=($Yh?microtime(true):0);$z=(preg_match('~LIMIT\s+(\d+)\s*$~i',$If['SelectExpression'],$B)?$B[1]:0);do{$gj=sdb_request($va,$If);if(!$gj)break;foreach($gj->$Ph
+as$oc)$I[]=$oc;if($z&&count($I)>=$z){$_GET["next"]=$gj->NextToken;break;}if($Yh&µtime(true)-$xh>$Yh)return
+false;$If['NextToken']=$gj->NextToken;if($z)$If['SelectExpression']=preg_replace('~\d+\s*$~',$z-count($I),$If['SelectExpression']);}while($gj->NextToken);return$I;}$x="simpledb";$pf=array("=","<",">","<=",">=","!=","LIKE","LIKE %%","IN","IS NULL","NOT LIKE","IS NOT NULL");$jd=array();$pd=array("count");$lc=array(array("json"));}$dc["mongo"]="MongoDB";if(isset($_GET["mongo"])){$bg=array("mongo","mongodb");define("DRIVER","mongo");if(class_exists('MongoDB')){class
+Min_DB{var$extension="Mongo",$server_info=MongoClient::VERSION,$error,$last_id,$_link,$_db;function
+connect($Ei,$sf){return@new
+MongoClient($Ei,$sf);}function
+query($G){return
+false;}function
+select_db($j){try{$this->_db=$this->_link->selectDB($j);return
+true;}catch(Exception$_c){$this->error=$_c->getMessage();return
+false;}}function
+quote($Q){return$Q;}}class
+Min_Result{var$num_rows,$_rows=array(),$_offset=0,$_charset=array();function
+__construct($H){foreach($H
+as$Yd){$J=array();foreach($Yd
+as$y=>$X){if(is_a($X,'MongoBinData'))$this->_charset[$y]=63;$J[$y]=(is_a($X,'MongoId')?'ObjectId("'.strval($X).'")':(is_a($X,'MongoDate')?gmdate("Y-m-d H:i:s",$X->sec)." GMT":(is_a($X,'MongoBinData')?$X->bin:(is_a($X,'MongoRegex')?strval($X):(is_object($X)?get_class($X):$X)))));}$this->_rows[]=$J;foreach($J
+as$y=>$X){if(!isset($this->_rows[0][$y]))$this->_rows[0][$y]=null;}}$this->num_rows=count($this->_rows);}function
+fetch_assoc(){$J=current($this->_rows);if(!$J)return$J;$I=array();foreach($this->_rows[0]as$y=>$X)$I[$y]=$J[$y];next($this->_rows);return$I;}function
+fetch_row(){$I=$this->fetch_assoc();if(!$I)return$I;return
+array_values($I);}function
+fetch_field(){$ee=array_keys($this->_rows[0]);$C=$ee[$this->_offset++];return(object)array('name'=>$C,'charsetnr'=>$this->_charset[$C],);}}class
+Min_Driver
+extends
+Min_SQL{public$eg="_id";function
+select($R,$L,$Z,$md,$uf=array(),$z=1,$E=0,$gg=false){$L=($L==array("*")?array():array_fill_keys($L,true));$oh=array();foreach($uf
+as$X){$X=preg_replace('~ DESC$~','',$X,1,$Cb);$oh[$X]=($Cb?-1:1);}return
+new
+Min_Result($this->_conn->_db->selectCollection($R)->find(array(),$L)->sort($oh)->limit($z!=""?+$z:0)->skip($E*$z));}function
+insert($R,$O){try{$I=$this->_conn->_db->selectCollection($R)->insert($O);$this->_conn->errno=$I['code'];$this->_conn->error=$I['err'];$this->_conn->last_id=$O['_id'];return!$I['err'];}catch(Exception$_c){$this->_conn->error=$_c->getMessage();return
+false;}}}function
+get_databases($Zc){global$g;$I=array();$Pb=$g->_link->listDBs();foreach($Pb['databases']as$l)$I[]=$l['name'];return$I;}function
+count_tables($k){global$g;$I=array();foreach($k
+as$l)$I[$l]=count($g->_link->selectDB($l)->getCollectionNames(true));return$I;}function
+tables_list(){global$g;return
+array_fill_keys($g->_db->getCollectionNames(true),'table');}function
+drop_databases($k){global$g;foreach($k
+as$l){$Gg=$g->_link->selectDB($l)->drop();if(!$Gg['ok'])return
+false;}return
+true;}function
+indexes($R,$h=null){global$g;$I=array();foreach($g->_db->selectCollection($R)->getIndexInfo()as$v){$Wb=array();foreach($v["key"]as$e=>$U)$Wb[]=($U==-1?'1':null);$I[$v["name"]]=array("type"=>($v["name"]=="_id_"?"PRIMARY":($v["unique"]?"UNIQUE":"INDEX")),"columns"=>array_keys($v["key"]),"lengths"=>array(),"descs"=>$Wb,);}return$I;}function
+fields($R){return
+fields_from_edit();}function
+found_rows($S,$Z){global$g;return$g->_db->selectCollection($_GET["select"])->count($Z);}$pf=array("=");}elseif(class_exists('MongoDB\Driver\Manager')){class
+Min_DB{var$extension="MongoDB",$server_info=MONGODB_VERSION,$error,$last_id;var$_link;var$_db,$_db_name;function
+connect($Ei,$sf){$jb='MongoDB\Driver\Manager';return
+new$jb($Ei,$sf);}function
+query($G){return
+false;}function
+select_db($j){$this->_db_name=$j;return
+true;}function
+quote($Q){return$Q;}}class
+Min_Result{var$num_rows,$_rows=array(),$_offset=0,$_charset=array();function
+__construct($H){foreach($H
+as$Yd){$J=array();foreach($Yd
+as$y=>$X){if(is_a($X,'MongoDB\BSON\Binary'))$this->_charset[$y]=63;$J[$y]=(is_a($X,'MongoDB\BSON\ObjectID')?'MongoDB\BSON\ObjectID("'.strval($X).'")':(is_a($X,'MongoDB\BSON\UTCDatetime')?$X->toDateTime()->format('Y-m-d H:i:s'):(is_a($X,'MongoDB\BSON\Binary')?$X->bin:(is_a($X,'MongoDB\BSON\Regex')?strval($X):(is_object($X)?json_encode($X,256):$X)))));}$this->_rows[]=$J;foreach($J
+as$y=>$X){if(!isset($this->_rows[0][$y]))$this->_rows[0][$y]=null;}}$this->num_rows=$H->count;}function
+fetch_assoc(){$J=current($this->_rows);if(!$J)return$J;$I=array();foreach($this->_rows[0]as$y=>$X)$I[$y]=$J[$y];next($this->_rows);return$I;}function
+fetch_row(){$I=$this->fetch_assoc();if(!$I)return$I;return
+array_values($I);}function
+fetch_field(){$ee=array_keys($this->_rows[0]);$C=$ee[$this->_offset++];return(object)array('name'=>$C,'charsetnr'=>$this->_charset[$C],);}}class
+Min_Driver
+extends
+Min_SQL{public$eg="_id";function
+select($R,$L,$Z,$md,$uf=array(),$z=1,$E=0,$gg=false){global$g;$L=($L==array("*")?array():array_fill_keys($L,1));if(count($L)&&!isset($L['_id']))$L['_id']=0;$Z=where_to_query($Z);$oh=array();foreach($uf
+as$X){$X=preg_replace('~ DESC$~','',$X,1,$Cb);$oh[$X]=($Cb?-1:1);}if(isset($_GET['limit'])&&is_numeric($_GET['limit'])&&$_GET['limit']>0)$z=$_GET['limit'];$z=min(200,max(1,(int)$z));$lh=$E*$z;$jb='MongoDB\Driver\Query';$G=new$jb($Z,array('projection'=>$L,'limit'=>$z,'skip'=>$lh,'sort'=>$oh));$Jg=$g->_link->executeQuery("$g->_db_name.$R",$G);return
+new
+Min_Result($Jg);}function
+update($R,$O,$qg,$z=0,$M="\n"){global$g;$l=$g->_db_name;$Z=sql_query_where_parser($qg);$jb='MongoDB\Driver\BulkWrite';$Ya=new$jb(array());if(isset($O['_id']))unset($O['_id']);$Dg=array();foreach($O
+as$y=>$Y){if($Y=='NULL'){$Dg[$y]=1;unset($O[$y]);}}$Di=array('$set'=>$O);if(count($Dg))$Di['$unset']=$Dg;$Ya->update($Z,$Di,array('upsert'=>false));$Jg=$g->_link->executeBulkWrite("$l.$R",$Ya);$g->affected_rows=$Jg->getModifiedCount();return
+true;}function
+delete($R,$qg,$z=0){global$g;$l=$g->_db_name;$Z=sql_query_where_parser($qg);$jb='MongoDB\Driver\BulkWrite';$Ya=new$jb(array());$Ya->delete($Z,array('limit'=>$z));$Jg=$g->_link->executeBulkWrite("$l.$R",$Ya);$g->affected_rows=$Jg->getDeletedCount();return
+true;}function
+insert($R,$O){global$g;$l=$g->_db_name;$jb='MongoDB\Driver\BulkWrite';$Ya=new$jb(array());if(isset($O['_id'])&&empty($O['_id']))unset($O['_id']);$Ya->insert($O);$Jg=$g->_link->executeBulkWrite("$l.$R",$Ya);$g->affected_rows=$Jg->getInsertedCount();return
+true;}}function
+get_databases($Zc){global$g;$I=array();$jb='MongoDB\Driver\Command';$rb=new$jb(array('listDatabases'=>1));$Jg=$g->_link->executeCommand('admin',$rb);foreach($Jg
+as$Pb){foreach($Pb->databases
+as$l)$I[]=$l->name;}return$I;}function
+count_tables($k){$I=array();return$I;}function
+tables_list(){global$g;$jb='MongoDB\Driver\Command';$rb=new$jb(array('listCollections'=>1));$Jg=$g->_link->executeCommand($g->_db_name,$rb);$pb=array();foreach($Jg
+as$H)$pb[$H->name]='table';return$pb;}function
+drop_databases($k){return
+false;}function
+indexes($R,$h=null){global$g;$I=array();$jb='MongoDB\Driver\Command';$rb=new$jb(array('listIndexes'=>$R));$Jg=$g->_link->executeCommand($g->_db_name,$rb);foreach($Jg
+as$v){$Wb=array();$f=array();foreach(get_object_vars($v->key)as$e=>$U){$Wb[]=($U==-1?'1':null);$f[]=$e;}$I[$v->name]=array("type"=>($v->name=="_id_"?"PRIMARY":(isset($v->unique)?"UNIQUE":"INDEX")),"columns"=>$f,"lengths"=>array(),"descs"=>$Wb,);}return$I;}function
+fields($R){$p=fields_from_edit();if(!count($p)){global$m;$H=$m->select($R,array("*"),null,null,array(),10);while($J=$H->fetch_assoc()){foreach($J
+as$y=>$X){$J[$y]=null;$p[$y]=array("field"=>$y,"type"=>"string","null"=>($y!=$m->primary),"auto_increment"=>($y==$m->primary),"privileges"=>array("insert"=>1,"select"=>1,"update"=>1,),);}}}return$p;}function
+found_rows($S,$Z){global$g;$Z=where_to_query($Z);$jb='MongoDB\Driver\Command';$rb=new$jb(array('count'=>$S['Name'],'query'=>$Z));$Jg=$g->_link->executeCommand($g->_db_name,$rb);$gi=$Jg->toArray();return$gi[0]->n;}function
+sql_query_where_parser($qg){$qg=trim(preg_replace('/WHERE[\s]?[(]?\(?/','',$qg));$qg=preg_replace('/\)\)\)$/',')',$qg);$dj=explode(' AND ',$qg);$ej=explode(') OR (',$qg);$Z=array();foreach($dj
+as$bj)$Z[]=trim($bj);if(count($ej)==1)$ej=array();elseif(count($ej)>1)$Z=array();return
+where_to_query($Z,$ej);}function
+where_to_query($Zi=array(),$aj=array()){global$b;$Kb=array();foreach(array('and'=>$Zi,'or'=>$aj)as$U=>$Z){if(is_array($Z)){foreach($Z
+as$Gc){list($mb,$nf,$X)=explode(" ",$Gc,3);if($mb=="_id"){$X=str_replace('MongoDB\BSON\ObjectID("',"",$X);$X=str_replace('")',"",$X);$jb='MongoDB\BSON\ObjectID';$X=new$jb($X);}if(!in_array($nf,$b->operators))continue;if(preg_match('~^\(f\)(.+)~',$nf,$B)){$X=(float)$X;$nf=$B[1];}elseif(preg_match('~^\(date\)(.+)~',$nf,$B)){$Mb=new
+DateTime($X);$jb='MongoDB\BSON\UTCDatetime';$X=new$jb($Mb->getTimestamp()*1000);$nf=$B[1];}switch($nf){case'=':$nf='$eq';break;case'!=':$nf='$ne';break;case'>':$nf='$gt';break;case'<':$nf='$lt';break;case'>=':$nf='$gte';break;case'<=':$nf='$lte';break;case'regex':$nf='$regex';break;default:continue;}if($U=='and')$Kb['$and'][]=array($mb=>array($nf=>$X));elseif($U=='or')$Kb['$or'][]=array($mb=>array($nf=>$X));}}}return$Kb;}$pf=array("=","!=",">","<",">=","<=","regex","(f)=","(f)!=","(f)>","(f)<","(f)>=","(f)<=","(date)=","(date)!=","(date)>","(date)<","(date)>=","(date)<=",);}function
+table($u){return$u;}function
+idf_escape($u){return$u;}function
+table_status($C="",$Nc=false){$I=array();foreach(tables_list()as$R=>$U){$I[$R]=array("Name"=>$R);if($C==$R)return$I[$R];}return$I;}function
+create_database($l,$d){return
+true;}function
+last_id(){global$g;return$g->last_id;}function
+error(){global$g;return
+h($g->error);}function
+collations(){return
+array();}function
+logged_user(){global$b;$Fb=$b->credentials();return$Fb[1];}function
+connect(){global$b;$g=new
+Min_DB;list($N,$V,$F)=$b->credentials();$sf=array();if($V.$F!=""){$sf["username"]=$V;$sf["password"]=$F;}$l=$b->database();if($l!="")$sf["db"]=$l;try{$g->_link=$g->connect("mongodb://$N",$sf);if($F!=""){$sf["password"]="";try{$g->connect("mongodb://$N",$sf);return'Database does not support password.';}catch(Exception$_c){}}return$g;}catch(Exception$_c){return$_c->getMessage();}}function
+alter_indexes($R,$c){global$g;foreach($c
+as$X){list($U,$C,$O)=$X;if($O=="DROP")$I=$g->_db->command(array("deleteIndexes"=>$R,"index"=>$C));else{$f=array();foreach($O
+as$e){$e=preg_replace('~ DESC$~','',$e,1,$Cb);$f[$e]=($Cb?-1:1);}$I=$g->_db->selectCollection($R)->ensureIndex($f,array("unique"=>($U=="UNIQUE"),"name"=>$C,));}if($I['errmsg']){$g->error=$I['errmsg'];return
+false;}}return
+true;}function
+support($Oc){return
+preg_match("~database|indexes~",$Oc);}function
+db_collation($l,$ob){}function
+information_schema(){}function
+is_view($S){}function
+convert_field($o){}function
+unconvert_field($o,$I){return$I;}function
+foreign_keys($R){return
+array();}function
+fk_support($S){}function
+engines(){return
+array();}function
+alter_table($R,$C,$p,$bd,$tb,$tc,$d,$La,$Of){global$g;if($R==""){$g->_db->createCollection($C);return
+true;}}function
+drop_tables($T){global$g;foreach($T
+as$R){$Gg=$g->_db->selectCollection($R)->drop();if(!$Gg['ok'])return
+false;}return
+true;}function
+truncate_tables($T){global$g;foreach($T
+as$R){$Gg=$g->_db->selectCollection($R)->remove();if(!$Gg['ok'])return
+false;}return
+true;}$x="mongo";$jd=array();$pd=array();$lc=array(array("json"));}$dc["elastic"]="Elasticsearch (beta)";if(isset($_GET["elastic"])){$bg=array("json + allow_url_fopen");define("DRIVER","elastic");if(function_exists('json_decode')&&ini_bool('allow_url_fopen')){class
+Min_DB{var$extension="JSON",$server_info,$errno,$error,$_url;function
+rootQuery($Sf,$yb=array(),$Ne='GET'){@ini_set('track_errors',1);$Sc=@file_get_contents("$this->_url/".ltrim($Sf,'/'),false,stream_context_create(array('http'=>array('method'=>$Ne,'content'=>$yb===null?$yb:json_encode($yb),'header'=>'Content-Type: application/json','ignore_errors'=>1,))));if(!$Sc){$this->error=$php_errormsg;return$Sc;}if(!preg_match('~^HTTP/[0-9.]+ 2~i',$http_response_header[0])){$this->error=$Sc;return
+false;}$I=json_decode($Sc,true);if($I===null){$this->errno=json_last_error();if(function_exists('json_last_error_msg'))$this->error=json_last_error_msg();else{$xb=get_defined_constants(true);foreach($xb['json']as$C=>$Y){if($Y==$this->errno&&preg_match('~^JSON_ERROR_~',$C)){$this->error=$C;break;}}}}return$I;}function
+query($Sf,$yb=array(),$Ne='GET'){return$this->rootQuery(($this->_db!=""?"$this->_db/":"/").ltrim($Sf,'/'),$yb,$Ne);}function
+connect($N,$V,$F){preg_match('~^(https?://)?(.*)~',$N,$B);$this->_url=($B[1]?$B[1]:"http://")."$V:$F@$B[2]";$I=$this->query('');if($I)$this->server_info=$I['version']['number'];return(bool)$I;}function
+select_db($j){$this->_db=$j;return
+true;}function
+quote($Q){return$Q;}}class
+Min_Result{var$num_rows,$_rows;function
+__construct($K){$this->num_rows=count($this->_rows);$this->_rows=$K;reset($this->_rows);}function
+fetch_assoc(){$I=current($this->_rows);next($this->_rows);return$I;}function
+fetch_row(){return
+array_values($this->fetch_assoc());}}}class
+Min_Driver
+extends
+Min_SQL{function
+select($R,$L,$Z,$md,$uf=array(),$z=1,$E=0,$gg=false){global$b;$Kb=array();$G="$R/_search";if($L!=array("*"))$Kb["fields"]=$L;if($uf){$oh=array();foreach($uf
+as$mb){$mb=preg_replace('~ DESC$~','',$mb,1,$Cb);$oh[]=($Cb?array($mb=>"desc"):$mb);}$Kb["sort"]=$oh;}if($z){$Kb["size"]=+$z;if($E)$Kb["from"]=($E*$z);}foreach($Z
+as$X){list($mb,$nf,$X)=explode(" ",$X,3);if($mb=="_id")$Kb["query"]["ids"]["values"][]=$X;elseif($mb.$X!=""){$Th=array("term"=>array(($mb!=""?$mb:"_all")=>$X));if($nf=="=")$Kb["query"]["filtered"]["filter"]["and"][]=$Th;else$Kb["query"]["filtered"]["query"]["bool"]["must"][]=$Th;}}if($Kb["query"]&&!$Kb["query"]["filtered"]["query"]&&!$Kb["query"]["ids"])$Kb["query"]["filtered"]["query"]=array("match_all"=>array());$xh=microtime(true);$Wg=$this->_conn->query($G,$Kb);if($gg)echo$b->selectQuery("$G: ".print_r($Kb,true),$xh,!$Wg);if(!$Wg)return
+false;$I=array();foreach($Wg['hits']['hits']as$zd){$J=array();if($L==array("*"))$J["_id"]=$zd["_id"];$p=$zd['_source'];if($L!=array("*")){$p=array();foreach($L
+as$y)$p[$y]=$zd['fields'][$y];}foreach($p
+as$y=>$X){if($Kb["fields"])$X=$X[0];$J[$y]=(is_array($X)?json_encode($X):$X);}$I[]=$J;}return
+new
+Min_Result($I);}function
+update($U,$vg,$qg,$z=0,$M="\n"){$Qf=preg_split('~ *= *~',$qg);if(count($Qf)==2){$t=trim($Qf[1]);$G="$U/$t";return$this->_conn->query($G,$vg,'POST');}return
+false;}function
+insert($U,$vg){$t="";$G="$U/$t";$Gg=$this->_conn->query($G,$vg,'POST');$this->_conn->last_id=$Gg['_id'];return$Gg['created'];}function
+delete($U,$qg,$z=0){$Cd=array();if(is_array($_GET["where"])&&$_GET["where"]["_id"])$Cd[]=$_GET["where"]["_id"];if(is_array($_POST['check'])){foreach($_POST['check']as$cb){$Qf=preg_split('~ *= *~',$cb);if(count($Qf)==2)$Cd[]=trim($Qf[1]);}}$this->_conn->affected_rows=0;foreach($Cd
+as$t){$G="{$U}/{$t}";$Gg=$this->_conn->query($G,'{}','DELETE');if(is_array($Gg)&&$Gg['found']==true)$this->_conn->affected_rows++;}return$this->_conn->affected_rows;}}function
+connect(){global$b;$g=new
+Min_DB;list($N,$V,$F)=$b->credentials();if($F!=""&&$g->connect($N,$V,""))return'Database does not support password.';if($g->connect($N,$V,$F))return$g;return$g->error;}function
+support($Oc){return
+preg_match("~database|table|columns~",$Oc);}function
+logged_user(){global$b;$Fb=$b->credentials();return$Fb[1];}function
+get_databases(){global$g;$I=$g->rootQuery('_aliases');if($I){$I=array_keys($I);sort($I,SORT_STRING);}return$I;}function
+collations(){return
+array();}function
+db_collation($l,$ob){}function
+engines(){return
+array();}function
+count_tables($k){global$g;$I=array();$H=$g->query('_stats');if($H&&$H['indices']){$Jd=$H['indices'];foreach($Jd
+as$Id=>$yh){$Hd=$yh['total']['indexing'];$I[$Id]=$Hd['index_total'];}}return$I;}function
+tables_list(){global$g;$I=$g->query('_mapping');if($I)$I=array_fill_keys(array_keys($I[$g->_db]["mappings"]),'table');return$I;}function
+table_status($C="",$Nc=false){global$g;$Wg=$g->query("_search",array("size"=>0,"aggregations"=>array("count_by_type"=>array("terms"=>array("field"=>"_type")))),"POST");$I=array();if($Wg){$T=$Wg["aggregations"]["count_by_type"]["buckets"];foreach($T
+as$R){$I[$R["key"]]=array("Name"=>$R["key"],"Engine"=>"table","Rows"=>$R["doc_count"],);if($C!=""&&$C==$R["key"])return$I[$C];}}return$I;}function
+error(){global$g;return
+h($g->error);}function
+information_schema(){}function
+is_view($S){}function
+indexes($R,$h=null){return
+array(array("type"=>"PRIMARY","columns"=>array("_id")),);}function
+fields($R){global$g;$H=$g->query("$R/_mapping");$I=array();if($H){$we=$H[$R]['properties'];if(!$we)$we=$H[$g->_db]['mappings'][$R]['properties'];if($we){foreach($we
+as$C=>$o){$I[$C]=array("field"=>$C,"full_type"=>$o["type"],"type"=>$o["type"],"privileges"=>array("insert"=>1,"select"=>1,"update"=>1),);if($o["properties"]){unset($I[$C]["privileges"]["insert"]);unset($I[$C]["privileges"]["update"]);}}}}return$I;}function
+foreign_keys($R){return
+array();}function
+table($u){return$u;}function
+idf_escape($u){return$u;}function
+convert_field($o){}function
+unconvert_field($o,$I){return$I;}function
+fk_support($S){}function
+found_rows($S,$Z){return
+null;}function
+create_database($l){global$g;return$g->rootQuery(urlencode($l),null,'PUT');}function
+drop_databases($k){global$g;return$g->rootQuery(urlencode(implode(',',$k)),array(),'DELETE');}function
+alter_table($R,$C,$p,$bd,$tb,$tc,$d,$La,$Of){global$g;$mg=array();foreach($p
+as$Lc){$Qc=trim($Lc[1][0]);$Rc=trim($Lc[1][1]?$Lc[1][1]:"text");$mg[$Qc]=array('type'=>$Rc);}if(!empty($mg))$mg=array('properties'=>$mg);return$g->query("_mapping/{$C}",$mg,'PUT');}function
+drop_tables($T){global$g;$I=true;foreach($T
+as$R)$I=$I&&$g->query(urlencode($R),array(),'DELETE');return$I;}function
+last_id(){global$g;return$g->last_id;}$x="elastic";$pf=array("=","query");$jd=array();$pd=array();$lc=array(array("json"));$wi=array();$Ah=array();foreach(array('Numbers'=>array("long"=>3,"integer"=>5,"short"=>8,"byte"=>10,"double"=>20,"float"=>66,"half_float"=>12,"scaled_float"=>21),'Date and time'=>array("date"=>10),'Strings'=>array("string"=>65535,"text"=>65535),'Binary'=>array("binary"=>255),)as$y=>$X){$wi+=$X;$Ah[$y]=array_keys($X);}}$dc=array("server"=>"MySQL")+$dc;if(!defined("DRIVER")){$bg=array("MySQLi","MySQL","PDO_MySQL");define("DRIVER","server");if(extension_loaded("mysqli")){class
+Min_DB
+extends
+MySQLi{var$extension="MySQLi";function
+__construct(){parent::init();}function
+connect($N="",$V="",$F="",$j=null,$Xf=null,$nh=null){global$b;mysqli_report(MYSQLI_REPORT_OFF);list($_d,$Xf)=explode(":",$N,2);$wh=$b->connectSsl();if($wh)$this->ssl_set($wh['key'],$wh['cert'],$wh['ca'],'','');$I=@$this->real_connect(($N!=""?$_d:ini_get("mysqli.default_host")),($N.$V!=""?$V:ini_get("mysqli.default_user")),($N.$V.$F!=""?$F:ini_get("mysqli.default_pw")),$j,(is_numeric($Xf)?$Xf:ini_get("mysqli.default_port")),(!is_numeric($Xf)?$Xf:$nh),($wh?64:0));$this->options(MYSQLI_OPT_LOCAL_INFILE,false);return$I;}function
+set_charset($bb){if(parent::set_charset($bb))return
+true;parent::set_charset('utf8');return$this->query("SET NAMES $bb");}function
+result($G,$o=0){$H=$this->query($G);if(!$H)return
+false;$J=$H->fetch_array();return$J[$o];}function
+quote($Q){return"'".$this->escape_string($Q)."'";}}}elseif(extension_loaded("mysql")&&!((ini_bool("sql.safe_mode")||ini_bool("mysql.allow_local_infile"))&&extension_loaded("pdo_mysql"))){class
+Min_DB{var$extension="MySQL",$server_info,$affected_rows,$errno,$error,$_link,$_result;function
+connect($N,$V,$F){if(ini_bool("mysql.allow_local_infile")){$this->error=sprintf('Disable %s or enable %s or %s extensions.',"'mysql.allow_local_infile'","MySQLi","PDO_MySQL");return
+false;}$this->_link=@mysql_connect(($N!=""?$N:ini_get("mysql.default_host")),("$N$V"!=""?$V:ini_get("mysql.default_user")),("$N$V$F"!=""?$F:ini_get("mysql.default_password")),true,131072);if($this->_link)$this->server_info=mysql_get_server_info($this->_link);else$this->error=mysql_error();return(bool)$this->_link;}function
+set_charset($bb){if(function_exists('mysql_set_charset')){if(mysql_set_charset($bb,$this->_link))return
+true;mysql_set_charset('utf8',$this->_link);}return$this->query("SET NAMES $bb");}function
+quote($Q){return"'".mysql_real_escape_string($Q,$this->_link)."'";}function
+select_db($j){return
+mysql_select_db($j,$this->_link);}function
+query($G,$xi=false){$H=@($xi?mysql_unbuffered_query($G,$this->_link):mysql_query($G,$this->_link));$this->error="";if(!$H){$this->errno=mysql_errno($this->_link);$this->error=mysql_error($this->_link);return
+false;}if($H===true){$this->affected_rows=mysql_affected_rows($this->_link);$this->info=mysql_info($this->_link);return
+true;}return
+new
+Min_Result($H);}function
+multi_query($G){return$this->_result=$this->query($G);}function
+store_result(){return$this->_result;}function
+next_result(){return
+false;}function
+result($G,$o=0){$H=$this->query($G);if(!$H||!$H->num_rows)return
+false;return
+mysql_result($H->_result,0,$o);}}class
+Min_Result{var$num_rows,$_result,$_offset=0;function
+__construct($H){$this->_result=$H;$this->num_rows=mysql_num_rows($H);}function
+fetch_assoc(){return
+mysql_fetch_assoc($this->_result);}function
+fetch_row(){return
+mysql_fetch_row($this->_result);}function
+fetch_field(){$I=mysql_fetch_field($this->_result,$this->_offset++);$I->orgtable=$I->table;$I->orgname=$I->name;$I->charsetnr=($I->blob?63:0);return$I;}function
+__destruct(){mysql_free_result($this->_result);}}}elseif(extension_loaded("pdo_mysql")){class
+Min_DB
+extends
+Min_PDO{var$extension="PDO_MySQL";function
+connect($N,$V,$F){global$b;$sf=array(PDO::MYSQL_ATTR_LOCAL_INFILE=>false);$wh=$b->connectSsl();if($wh)$sf+=array(PDO::MYSQL_ATTR_SSL_KEY=>$wh['key'],PDO::MYSQL_ATTR_SSL_CERT=>$wh['cert'],PDO::MYSQL_ATTR_SSL_CA=>$wh['ca'],);$this->dsn("mysql:charset=utf8;host=".str_replace(":",";unix_socket=",preg_replace('~:(\d)~',';port=\1',$N)),$V,$F,$sf);return
+true;}function
+set_charset($bb){$this->query("SET NAMES $bb");}function
+select_db($j){return$this->query("USE ".idf_escape($j));}function
+query($G,$xi=false){$this->setAttribute(1000,!$xi);return
+parent::query($G,$xi);}}}class
+Min_Driver
+extends
+Min_SQL{function
+insert($R,$O){return($O?parent::insert($R,$O):queries("INSERT INTO ".table($R)." ()\nVALUES ()"));}function
+insertUpdate($R,$K,$eg){$f=array_keys(reset($K));$cg="INSERT INTO ".table($R)." (".implode(", ",$f).") VALUES\n";$Oi=array();foreach($f
+as$y)$Oi[$y]="$y = VALUES($y)";$Dh="\nON DUPLICATE KEY UPDATE ".implode(", ",$Oi);$Oi=array();$qe=0;foreach($K
+as$O){$Y="(".implode(", ",$O).")";if($Oi&&(strlen($cg)+$qe+strlen($Y)+strlen($Dh)>1e6)){if(!queries($cg.implode(",\n",$Oi).$Dh))return
+false;$Oi=array();$qe=0;}$Oi[]=$Y;$qe+=strlen($Y)+2;}return
+queries($cg.implode(",\n",$Oi).$Dh);}function
+slowQuery($G,$Yh){if(min_version('5.7.8','10.1.2')){if(preg_match('~MariaDB~',$this->_conn->server_info))return"SET STATEMENT max_statement_time=$Yh FOR $G";elseif(preg_match('~^(SELECT\b)(.+)~is',$G,$B))return"$B[1] /*+ MAX_EXECUTION_TIME(".($Yh*1000).") */ $B[2]";}}function
+convertSearch($u,$X,$o){return(preg_match('~char|text|enum|set~',$o["type"])&&!preg_match("~^utf8~",$o["collation"])&&preg_match('~[\x80-\xFF]~',$X['val'])?"CONVERT($u USING ".charset($this->_conn).")":$u);}function
+warnings(){$H=$this->_conn->query("SHOW WARNINGS");if($H&&$H->num_rows){ob_start();select($H);return
+ob_get_clean();}}function
+tableHelp($C){$xe=preg_match('~MariaDB~',$this->_conn->server_info);if(information_schema(DB))return
+strtolower(($xe?"information-schema-$C-table/":str_replace("_","-",$C)."-table.html"));if(DB=="mysql")return($xe?"mysql$C-table/":"system-database.html");}}function
+idf_escape($u){return"`".str_replace("`","``",$u)."`";}function
+table($u){return
+idf_escape($u);}function
+connect(){global$b,$wi,$Ah;$g=new
+Min_DB;$Fb=$b->credentials();if($g->connect($Fb[0],$Fb[1],$Fb[2])){$g->set_charset(charset($g));$g->query("SET sql_quote_show_create = 1, autocommit = 1");if(min_version('5.7.8',10.2,$g)){$Ah['Strings'][]="json";$wi["json"]=4294967295;}return$g;}$I=$g->error;if(function_exists('iconv')&&!is_utf8($I)&&strlen($Sg=iconv("windows-1250","utf-8",$I))>strlen($I))$I=$Sg;return$I;}function
+get_databases($Zc){$I=get_session("dbs");if($I===null){$G=(min_version(5)?"SELECT SCHEMA_NAME FROM information_schema.SCHEMATA ORDER BY SCHEMA_NAME":"SHOW DATABASES");$I=($Zc?slow_query($G):get_vals($G));restart_session();set_session("dbs",$I);stop_session();}return$I;}function
+limit($G,$Z,$z,$D=0,$M=" "){return" $G$Z".($z!==null?$M."LIMIT $z".($D?" OFFSET $D":""):"");}function
+limit1($R,$G,$Z,$M="\n"){return
+limit($G,$Z,1,0,$M);}function
+db_collation($l,$ob){global$g;$I=null;$i=$g->result("SHOW CREATE DATABASE ".idf_escape($l),1);if(preg_match('~ COLLATE ([^ ]+)~',$i,$B))$I=$B[1];elseif(preg_match('~ CHARACTER SET ([^ ]+)~',$i,$B))$I=$ob[$B[1]][-1];return$I;}function
+engines(){$I=array();foreach(get_rows("SHOW ENGINES")as$J){if(preg_match("~YES|DEFAULT~",$J["Support"]))$I[]=$J["Engine"];}return$I;}function
+logged_user(){global$g;return$g->result("SELECT USER()");}function
+tables_list(){return
+get_key_vals(min_version(5)?"SELECT TABLE_NAME, TABLE_TYPE FROM information_schema.TABLES WHERE TABLE_SCHEMA = DATABASE() ORDER BY TABLE_NAME":"SHOW TABLES");}function
+count_tables($k){$I=array();foreach($k
+as$l)$I[$l]=count(get_vals("SHOW TABLES IN ".idf_escape($l)));return$I;}function
+table_status($C="",$Nc=false){$I=array();foreach(get_rows($Nc&&min_version(5)?"SELECT TABLE_NAME AS Name, ENGINE AS Engine, TABLE_COMMENT AS Comment FROM information_schema.TABLES WHERE TABLE_SCHEMA = DATABASE() ".($C!=""?"AND TABLE_NAME = ".q($C):"ORDER BY Name"):"SHOW TABLE STATUS".($C!=""?" LIKE ".q(addcslashes($C,"%_\\")):""))as$J){if($J["Engine"]=="InnoDB")$J["Comment"]=preg_replace('~(?:(.+); )?InnoDB free: .*~','\1',$J["Comment"]);if(!isset($J["Engine"]))$J["Comment"]="";if($C!="")return$J;$I[$J["Name"]]=$J;}return$I;}function
+is_view($S){return$S["Engine"]===null;}function
+fk_support($S){return
+preg_match('~InnoDB|IBMDB2I~i',$S["Engine"])||(preg_match('~NDB~i',$S["Engine"])&&min_version(5.6));}function
+fields($R){$I=array();foreach(get_rows("SHOW FULL COLUMNS FROM ".table($R))as$J){preg_match('~^([^( ]+)(?:\((.+)\))?( unsigned)?( zerofill)?$~',$J["Type"],$B);$I[$J["Field"]]=array("field"=>$J["Field"],"full_type"=>$J["Type"],"type"=>$B[1],"length"=>$B[2],"unsigned"=>ltrim($B[3].$B[4]),"default"=>($J["Default"]!=""||preg_match("~char|set~",$B[1])?$J["Default"]:null),"null"=>($J["Null"]=="YES"),"auto_increment"=>($J["Extra"]=="auto_increment"),"on_update"=>(preg_match('~^on update (.+)~i',$J["Extra"],$B)?$B[1]:""),"collation"=>$J["Collation"],"privileges"=>array_flip(preg_split('~, *~',$J["Privileges"])),"comment"=>$J["Comment"],"primary"=>($J["Key"]=="PRI"),);}return$I;}function
+indexes($R,$h=null){$I=array();foreach(get_rows("SHOW INDEX FROM ".table($R),$h)as$J){$C=$J["Key_name"];$I[$C]["type"]=($C=="PRIMARY"?"PRIMARY":($J["Index_type"]=="FULLTEXT"?"FULLTEXT":($J["Non_unique"]?($J["Index_type"]=="SPATIAL"?"SPATIAL":"INDEX"):"UNIQUE")));$I[$C]["columns"][]=$J["Column_name"];$I[$C]["lengths"][]=($J["Index_type"]=="SPATIAL"?null:$J["Sub_part"]);$I[$C]["descs"][]=null;}return$I;}function
+foreign_keys($R){global$g,$kf;static$Uf='`(?:[^`]|``)+`';$I=array();$Db=$g->result("SHOW CREATE TABLE ".table($R),1);if($Db){preg_match_all("~CONSTRAINT ($Uf) FOREIGN KEY ?\\(((?:$Uf,? ?)+)\\) REFERENCES ($Uf)(?:\\.($Uf))? \\(((?:$Uf,? ?)+)\\)(?: ON DELETE ($kf))?(?: ON UPDATE ($kf))?~",$Db,$_e,PREG_SET_ORDER);foreach($_e
+as$B){preg_match_all("~$Uf~",$B[2],$ph);preg_match_all("~$Uf~",$B[5],$Qh);$I[idf_unescape($B[1])]=array("db"=>idf_unescape($B[4]!=""?$B[3]:$B[4]),"table"=>idf_unescape($B[4]!=""?$B[4]:$B[3]),"source"=>array_map('idf_unescape',$ph[0]),"target"=>array_map('idf_unescape',$Qh[0]),"on_delete"=>($B[6]?$B[6]:"RESTRICT"),"on_update"=>($B[7]?$B[7]:"RESTRICT"),);}}return$I;}function
+view($C){global$g;return
+array("select"=>preg_replace('~^(?:[^`]|`[^`]*`)*\s+AS\s+~isU','',$g->result("SHOW CREATE VIEW ".table($C),1)));}function
+collations(){$I=array();foreach(get_rows("SHOW COLLATION")as$J){if($J["Default"])$I[$J["Charset"]][-1]=$J["Collation"];else$I[$J["Charset"]][]=$J["Collation"];}ksort($I);foreach($I
+as$y=>$X)asort($I[$y]);return$I;}function
+information_schema($l){return(min_version(5)&&$l=="information_schema")||(min_version(5.5)&&$l=="performance_schema");}function
+error(){global$g;return
+h(preg_replace('~^You have an error.*syntax to use~U',"Syntax error",$g->error));}function
+create_database($l,$d){return
+queries("CREATE DATABASE ".idf_escape($l).($d?" COLLATE ".q($d):""));}function
+drop_databases($k){$I=apply_queries("DROP DATABASE",$k,'idf_escape');restart_session();set_session("dbs",null);return$I;}function
+rename_database($C,$d){$I=false;if(create_database($C,$d)){$Eg=array();foreach(tables_list()as$R=>$U)$Eg[]=table($R)." TO ".idf_escape($C).".".table($R);$I=(!$Eg||queries("RENAME TABLE ".implode(", ",$Eg)));if($I)queries("DROP DATABASE ".idf_escape(DB));restart_session();set_session("dbs",null);}return$I;}function
+auto_increment(){$Ma=" PRIMARY KEY";if($_GET["create"]!=""&&$_POST["auto_increment_col"]){foreach(indexes($_GET["create"])as$v){if(in_array($_POST["fields"][$_POST["auto_increment_col"]]["orig"],$v["columns"],true)){$Ma="";break;}if($v["type"]=="PRIMARY")$Ma=" UNIQUE";}}return" AUTO_INCREMENT$Ma";}function
+alter_table($R,$C,$p,$bd,$tb,$tc,$d,$La,$Of){$c=array();foreach($p
+as$o)$c[]=($o[1]?($R!=""?($o[0]!=""?"CHANGE ".idf_escape($o[0]):"ADD"):" ")." ".implode($o[1]).($R!=""?$o[2]:""):"DROP ".idf_escape($o[0]));$c=array_merge($c,$bd);$P=($tb!==null?" COMMENT=".q($tb):"").($tc?" ENGINE=".q($tc):"").($d?" COLLATE ".q($d):"").($La!=""?" AUTO_INCREMENT=$La":"");if($R=="")return
+queries("CREATE TABLE ".table($C)." (\n".implode(",\n",$c)."\n)$P$Of");if($R!=$C)$c[]="RENAME TO ".table($C);if($P)$c[]=ltrim($P);return($c||$Of?queries("ALTER TABLE ".table($R)."\n".implode(",\n",$c).$Of):true);}function
+alter_indexes($R,$c){foreach($c
+as$y=>$X)$c[$y]=($X[2]=="DROP"?"\nDROP INDEX ".idf_escape($X[1]):"\nADD $X[0] ".($X[0]=="PRIMARY"?"KEY ":"").($X[1]!=""?idf_escape($X[1])." ":"")."(".implode(", ",$X[2]).")");return
+queries("ALTER TABLE ".table($R).implode(",",$c));}function
+truncate_tables($T){return
+apply_queries("TRUNCATE TABLE",$T);}function
+drop_views($Ti){return
+queries("DROP VIEW ".implode(", ",array_map('table',$Ti)));}function
+drop_tables($T){return
+queries("DROP TABLE ".implode(", ",array_map('table',$T)));}function
+move_tables($T,$Ti,$Qh){$Eg=array();foreach(array_merge($T,$Ti)as$R)$Eg[]=table($R)." TO ".idf_escape($Qh).".".table($R);return
+queries("RENAME TABLE ".implode(", ",$Eg));}function
+copy_tables($T,$Ti,$Qh){queries("SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO'");foreach($T
+as$R){$C=($Qh==DB?table("copy_$R"):idf_escape($Qh).".".table($R));if(!queries("\nDROP TABLE IF EXISTS $C")||!queries("CREATE TABLE $C LIKE ".table($R))||!queries("INSERT INTO $C SELECT * FROM ".table($R)))return
+false;foreach(get_rows("SHOW TRIGGERS LIKE ".q(addcslashes($R,"%_\\")))as$J){$qi=$J["Trigger"];if(!queries("CREATE TRIGGER ".($Qh==DB?idf_escape("copy_$qi"):idf_escape($Qh).".".idf_escape($qi))." $J[Timing] $J[Event] ON $C FOR EACH ROW\n$J[Statement];"))return
+false;}}foreach($Ti
+as$R){$C=($Qh==DB?table("copy_$R"):idf_escape($Qh).".".table($R));$Si=view($R);if(!queries("DROP VIEW IF EXISTS $C")||!queries("CREATE VIEW $C AS $Si[select]"))return
+false;}return
+true;}function
+trigger($C){if($C=="")return
+array();$K=get_rows("SHOW TRIGGERS WHERE `Trigger` = ".q($C));return
+reset($K);}function
+triggers($R){$I=array();foreach(get_rows("SHOW TRIGGERS LIKE ".q(addcslashes($R,"%_\\")))as$J)$I[$J["Trigger"]]=array($J["Timing"],$J["Event"]);return$I;}function
+trigger_options(){return
+array("Timing"=>array("BEFORE","AFTER"),"Event"=>array("INSERT","UPDATE","DELETE"),"Type"=>array("FOR EACH ROW"),);}function
+routine($C,$U){global$g,$vc,$Od,$wi;$Ca=array("bool","boolean","integer","double precision","real","dec","numeric","fixed","national char","national varchar");$qh="(?:\\s|/\\*[\s\S]*?\\*/|(?:#|-- )[^\n]*\n?|--\r?\n)";$vi="((".implode("|",array_merge(array_keys($wi),$Ca)).")\\b(?:\\s*\\(((?:[^'\")]|$vc)++)\\))?\\s*(zerofill\\s*)?(unsigned(?:\\s+zerofill)?)?)(?:\\s*(?:CHARSET|CHARACTER\\s+SET)\\s*['\"]?([^'\"\\s,]+)['\"]?)?";$Uf="$qh*(".($U=="FUNCTION"?"":$Od).")?\\s*(?:`((?:[^`]|``)*)`\\s*|\\b(\\S+)\\s+)$vi";$i=$g->result("SHOW CREATE $U ".idf_escape($C),2);preg_match("~\\(((?:$Uf\\s*,?)*)\\)\\s*".($U=="FUNCTION"?"RETURNS\\s+$vi\\s+":"")."(.*)~is",$i,$B);$p=array();preg_match_all("~$Uf\\s*,?~is",$B[1],$_e,PREG_SET_ORDER);foreach($_e
+as$Hf){$C=str_replace("``","`",$Hf[2]).$Hf[3];$p[]=array("field"=>$C,"type"=>strtolower($Hf[5]),"length"=>preg_replace_callback("~$vc~s",'normalize_enum',$Hf[6]),"unsigned"=>strtolower(preg_replace('~\s+~',' ',trim("$Hf[8] $Hf[7]"))),"null"=>1,"full_type"=>$Hf[4],"inout"=>strtoupper($Hf[1]),"collation"=>strtolower($Hf[9]),);}if($U!="FUNCTION")return
+array("fields"=>$p,"definition"=>$B[11]);return
+array("fields"=>$p,"returns"=>array("type"=>$B[12],"length"=>$B[13],"unsigned"=>$B[15],"collation"=>$B[16]),"definition"=>$B[17],"language"=>"SQL",);}function
+routines(){return
+get_rows("SELECT ROUTINE_NAME AS SPECIFIC_NAME, ROUTINE_NAME, ROUTINE_TYPE, DTD_IDENTIFIER FROM information_schema.ROUTINES WHERE ROUTINE_SCHEMA = ".q(DB));}function
+routine_languages(){return
+array();}function
+routine_id($C,$J){return
+idf_escape($C);}function
+last_id(){global$g;return$g->result("SELECT LAST_INSERT_ID()");}function
+explain($g,$G){return$g->query("EXPLAIN ".(min_version(5.1)?"PARTITIONS ":"").$G);}function
+found_rows($S,$Z){return($Z||$S["Engine"]!="InnoDB"?null:$S["Rows"]);}function
+types(){return
+array();}function
+schemas(){return
+array();}function
+get_schema(){return"";}function
+set_schema($Ug){return
+true;}function
+create_sql($R,$La,$Bh){global$g;$I=$g->result("SHOW CREATE TABLE ".table($R),1);if(!$La)$I=preg_replace('~ AUTO_INCREMENT=\d+~','',$I);return$I;}function
+truncate_sql($R){return"TRUNCATE ".table($R);}function
+use_sql($j){return"USE ".idf_escape($j);}function
+trigger_sql($R){$I="";foreach(get_rows("SHOW TRIGGERS LIKE ".q(addcslashes($R,"%_\\")),null,"-- ")as$J)$I.="\nCREATE TRIGGER ".idf_escape($J["Trigger"])." $J[Timing] $J[Event] ON ".table($J["Table"])." FOR EACH ROW\n$J[Statement];;\n";return$I;}function
+show_variables(){return
+get_key_vals("SHOW VARIABLES");}function
+process_list(){return
+get_rows("SHOW FULL PROCESSLIST");}function
+show_status(){return
+get_key_vals("SHOW STATUS");}function
+convert_field($o){if(preg_match("~binary~",$o["type"]))return"HEX(".idf_escape($o["field"]).")";if($o["type"]=="bit")return"BIN(".idf_escape($o["field"])." + 0)";if(preg_match("~geometry|point|linestring|polygon~",$o["type"]))return(min_version(8)?"ST_":"")."AsWKT(".idf_escape($o["field"]).")";}function
+unconvert_field($o,$I){if(preg_match("~binary~",$o["type"]))$I="UNHEX($I)";if($o["type"]=="bit")$I="CONV($I, 2, 10) + 0";if(preg_match("~geometry|point|linestring|polygon~",$o["type"]))$I=(min_version(8)?"ST_":"")."GeomFromText($I)";return$I;}function
+support($Oc){return!preg_match("~scheme|sequence|type|view_trigger|materializedview".(min_version(5.1)?"":"|event|partitioning".(min_version(5)?"":"|routine|trigger|view"))."~",$Oc);}function
+kill_process($X){return
+queries("KILL ".number($X));}function
+connection_id(){return"SELECT CONNECTION_ID()";}function
+max_connections(){global$g;return$g->result("SELECT @@max_connections");}$x="sql";$wi=array();$Ah=array();foreach(array('Numbers'=>array("tinyint"=>3,"smallint"=>5,"mediumint"=>8,"int"=>10,"bigint"=>20,"decimal"=>66,"float"=>12,"double"=>21),'Date and time'=>array("date"=>10,"datetime"=>19,"timestamp"=>19,"time"=>10,"year"=>4),'Strings'=>array("char"=>255,"varchar"=>65535,"tinytext"=>255,"text"=>65535,"mediumtext"=>16777215,"longtext"=>4294967295),'Lists'=>array("enum"=>65535,"set"=>64),'Binary'=>array("bit"=>20,"binary"=>255,"varbinary"=>65535,"tinyblob"=>255,"blob"=>65535,"mediumblob"=>16777215,"longblob"=>4294967295),'Geometry'=>array("geometry"=>0,"point"=>0,"linestring"=>0,"polygon"=>0,"multipoint"=>0,"multilinestring"=>0,"multipolygon"=>0,"geometrycollection"=>0),)as$y=>$X){$wi+=$X;$Ah[$y]=array_keys($X);}$Ci=array("unsigned","zerofill","unsigned zerofill");$pf=array("=","<",">","<=",">=","!=","LIKE","LIKE %%","REGEXP","IN","FIND_IN_SET","IS NULL","NOT LIKE","NOT REGEXP","NOT IN","IS NOT NULL","SQL");$jd=array("char_length","date","from_unixtime","lower","round","floor","ceil","sec_to_time","time_to_sec","upper");$pd=array("avg","count","count distinct","group_concat","max","min","sum");$lc=array(array("char"=>"md5/sha1/password/encrypt/uuid","binary"=>"md5/sha1","date|time"=>"now",),array(number_type()=>"+/-","date"=>"+ interval/- interval","time"=>"addtime/subtime","char|text"=>"concat",));}define("SERVER",$_GET[DRIVER]);define("DB",$_GET["db"]);define("ME",preg_replace('~^[^?]*/([^?]*).*~','\1',$_SERVER["REQUEST_URI"]).'?'.(sid()?SID.'&':'').(SERVER!==null?DRIVER."=".urlencode(SERVER).'&':'').(isset($_GET["username"])?"username=".urlencode($_GET["username"]).'&':'').(DB!=""?'db='.urlencode(DB).'&'.(isset($_GET["ns"])?"ns=".urlencode($_GET["ns"])."&":""):''));$ia="4.6.3";class
+Adminer{var$operators;function
+name(){return"Adminer";}function
+credentials(){return
+array(SERVER,$_GET["username"],get_password());}function
+connectSsl(){}function
+permanentLogin($i=false){return
+password_file($i);}function
+bruteForceKey(){return$_SERVER["REMOTE_ADDR"];}function
+serverName($N){return
+h($N);}function
+database(){return
+DB;}function
+databases($Zc=true){return
+get_databases($Zc);}function
+schemas(){return
+schemas();}function
+queryTimeout(){return
+2;}function
+headers(){}function
+csp(){return
+csp();}function
+head(){return
+true;}function
+css(){$I=array();$Tc="adminer.css";if(file_exists($Tc))$I[]=$Tc;return$I;}function
+loginForm(){global$dc;echo"
\n",$this->loginFormField('driver','| '.'System'.' | ',html_select("auth[driver]",$dc,DRIVER)."\n"),$this->loginFormField('server',' |
|---|
| '.'Server'.' | ',''."\n"),$this->loginFormField('username',' |
|---|
| '.'Username'.' | ',''.script("focus(qs('#username'));")),$this->loginFormField('password',' |
|---|
| '.'Password'.' | ',''."\n"),$this->loginFormField('db',' |
|---|
| '.'Database'.' | ',''."\n")," |
|---|
\n","\n",checkbox("auth[permanent]",1,$_COOKIE["adminer_permanent"],'Permanent login')."\n";}function
+loginFormField($C,$wd,$Y){return$wd.$Y;}function
+login($ue,$F){if($F=="")return
+sprintf('Adminer does not support accessing a database without a password, more information.',target_blank());return
+true;}function
+tableName($Hh){return
+h($Hh["Name"]);}function
+fieldName($o,$uf=0){return''.h($o["field"]).'';}function
+selectLinks($Hh,$O=""){global$x,$m;echo'
';$te=array("select"=>'Select data');if(support("table")||support("indexes"))$te["table"]='Show structure';if(support("table")){if(is_view($Hh))$te["view"]='Alter view';else$te["create"]='Alter table';}if($O!==null)$te["edit"]='New item';$C=$Hh["Name"];foreach($te
+as$y=>$X)echo" $X";echo
+doc_link(array($x=>$m->tableHelp($C)),"?"),"\n";}function
+foreignKeys($R){return
+foreign_keys($R);}function
+backwardKeys($R,$Gh){return
+array();}function
+backwardKeysPrint($Oa,$J){}function
+selectQuery($G,$xh,$Mc=false){global$x,$m;$I="
\n";if(!$Mc&&($Wi=$m->warnings())){$t="warnings";$I=", ".'Warnings'."".script("qsl('a').onclick = partial(toggle, '$t');","")."$I\n$Wi
\n";}return"".h(str_replace("\n"," ",$G))." (".format_time($xh).")".(support("sql")?" ".'Edit'."":"").$I;}function
+sqlCommandQuery($G){return
+shorten_utf8(trim($G),1000);}function
+rowDescription($R){return"";}function
+rowDescriptions($K,$cd){return$K;}function
+selectLink($X,$o){}function
+selectVal($X,$_,$o,$Bf){$I=($X===null?"NULL":(preg_match("~char|binary|boolean~",$o["type"])&&!preg_match("~var~",$o["type"])?"$X":$X));if(preg_match('~blob|bytea|raw|file~',$o["type"])&&!is_utf8($X))$I="".lang(array('%d byte','%d bytes'),strlen($Bf))."";if(preg_match('~json~',$o["type"]))$I="$I";return($_?"$I":$I);}function
+editVal($X,$o){return$X;}function
+tableStructurePrint($p){echo"
\n","| ".'Column'." | ".'Type'.(support("comment")?" | ".'Comment':"")." |
\n";foreach($p
+as$o){echo"| ".h($o["field"])," | ".h($o["full_type"])."",($o["null"]?" NULL":""),($o["auto_increment"]?" ".'Auto Increment'."":""),(isset($o["default"])?" [".h($o["default"])."]":""),(support("comment")?" | ".h($o["comment"]):""),"\n";}echo" |
|---|
\n";}function
+tableIndexesPrint($w){echo"\n";foreach($w
+as$C=>$v){ksort($v["columns"]);$gg=array();foreach($v["columns"]as$y=>$X)$gg[]="".h($X)."".($v["lengths"][$y]?"(".$v["lengths"][$y].")":"").($v["descs"][$y]?" DESC":"");echo"| $v[type] | ".implode(", ",$gg)."\n";}echo" |
|---|
\n";}function
+selectColumnsPrint($L,$f){global$jd,$pd;print_fieldset("select",'Select',$L);$s=0;$L[""]=array();foreach($L
+as$y=>$X){$X=$_GET["columns"][$y];$e=select_input(" name='columns[$s][col]'",$f,$X["col"],($y!==""?"selectFieldChange":"selectAddRow"));echo"".($jd||$pd?"".on_help("getTarget(event).value && getTarget(event).value.replace(/ |\$/, '(') + ')'",1).script("qsl('select').onchange = function () { helpClose();".($y!==""?"":" qsl('select, input', this.parentNode).onchange();")." };","")."($e)":$e)."
\n";$s++;}echo"\n";}function
+selectSearchPrint($Z,$f,$w){print_fieldset("search",'Search',$Z);foreach($w
+as$s=>$v){if($v["type"]=="FULLTEXT"){echo"(".implode(", ",array_map('h',$v["columns"])).") AGAINST"," ",script("qsl('input').oninput = selectFieldChange;",""),checkbox("boolean[$s]",1,isset($_GET["boolean"][$s]),"BOOL"),"
\n";}}$ab="this.parentNode.firstChild.onchange();";foreach(array_merge((array)$_GET["where"],array(array()))as$s=>$X){if(!$X||("$X[col]$X[val]"!=""&&in_array($X["op"],$this->operators))){echo"".select_input(" name='where[$s][col]'",$f,$X["col"],($X?"selectFieldChange":"selectAddRow"),"(".'anywhere'.")"),html_select("where[$s][op]",$this->operators,$X["op"],$ab),"",script("mixin(qsl('input'), {oninput: function () { $ab }, onkeydown: selectSearchKeydown, onsearch: selectSearchSearch});",""),"
\n";}}echo"\n";}function
+selectOrderPrint($uf,$f,$w){print_fieldset("sort",'Sort',$uf);$s=0;foreach((array)$_GET["order"]as$y=>$X){if($X!=""){echo"".select_input(" name='order[$s]'",$f,$X,"selectFieldChange"),checkbox("desc[$s]",1,isset($_GET["desc"][$y]),'descending')."
\n";$s++;}}echo"".select_input(" name='order[$s]'",$f,"","selectAddRow"),checkbox("desc[$s]",1,false,'descending')."
\n","\n";}function
+selectLimitPrint($z){echo"\n";}function
+selectLengthPrint($Wh){if($Wh!==null){echo"\n";}}function
+selectActionPrint($w){echo"\n";}function
+selectCommandPrint(){return!information_schema(DB);}function
+selectImportPrint(){return!information_schema(DB);}function
+selectEmailPrint($qc,$f){}function
+selectColumnsProcess($f,$w){global$jd,$pd;$L=array();$md=array();foreach((array)$_GET["columns"]as$y=>$X){if($X["fun"]=="count"||($X["col"]!=""&&(!$X["fun"]||in_array($X["fun"],$jd)||in_array($X["fun"],$pd)))){$L[$y]=apply_sql_function($X["fun"],($X["col"]!=""?idf_escape($X["col"]):"*"));if(!in_array($X["fun"],$pd))$md[]=$L[$y];}}return
+array($L,$md);}function
+selectSearchProcess($p,$w){global$g,$m;$I=array();foreach($w
+as$s=>$v){if($v["type"]=="FULLTEXT"&&$_GET["fulltext"][$s]!="")$I[]="MATCH (".implode(", ",array_map('idf_escape',$v["columns"])).") AGAINST (".q($_GET["fulltext"][$s]).(isset($_GET["boolean"][$s])?" IN BOOLEAN MODE":"").")";}foreach((array)$_GET["where"]as$y=>$X){if("$X[col]$X[val]"!=""&&in_array($X["op"],$this->operators)){$cg="";$vb=" $X[op]";if(preg_match('~IN$~',$X["op"])){$Ed=process_length($X["val"]);$vb.=" ".($Ed!=""?$Ed:"(NULL)");}elseif($X["op"]=="SQL")$vb=" $X[val]";elseif($X["op"]=="LIKE %%")$vb=" LIKE ".$this->processInput($p[$X["col"]],"%$X[val]%");elseif($X["op"]=="ILIKE %%")$vb=" ILIKE ".$this->processInput($p[$X["col"]],"%$X[val]%");elseif($X["op"]=="FIND_IN_SET"){$cg="$X[op](".q($X["val"]).", ";$vb=")";}elseif(!preg_match('~NULL$~',$X["op"]))$vb.=" ".$this->processInput($p[$X["col"]],$X["val"]);if($X["col"]!="")$I[]=$cg.$m->convertSearch(idf_escape($X["col"]),$X,$p[$X["col"]]).$vb;else{$qb=array();foreach($p
+as$C=>$o){if((preg_match('~^[-\d.'.(preg_match('~IN$~',$X["op"])?',':'').']+$~',$X["val"])||!preg_match('~'.number_type().'|bit~',$o["type"]))&&(!preg_match("~[\x80-\xFF]~",$X["val"])||preg_match('~char|text|enum|set~',$o["type"])))$qb[]=$cg.$m->convertSearch(idf_escape($C),$X,$o).$vb;}$I[]=($qb?"(".implode(" OR ",$qb).")":"1 = 0");}}}return$I;}function
+selectOrderProcess($p,$w){$I=array();foreach((array)$_GET["order"]as$y=>$X){if($X!="")$I[]=(preg_match('~^((COUNT\(DISTINCT |[A-Z0-9_]+\()(`(?:[^`]|``)+`|"(?:[^"]|"")+")\)|COUNT\(\*\))$~',$X)?$X:idf_escape($X)).(isset($_GET["desc"][$y])?" DESC":"");}return$I;}function
+selectLimitProcess(){return(isset($_GET["limit"])?$_GET["limit"]:"50");}function
+selectLengthProcess(){return(isset($_GET["text_length"])?$_GET["text_length"]:"100");}function
+selectEmailProcess($Z,$cd){return
+false;}function
+selectQueryBuild($L,$Z,$md,$uf,$z,$E){return"";}function
+messageQuery($G,$Xh,$Mc=false){global$x,$m;restart_session();$xd=&get_session("queries");if(!$xd[$_GET["db"]])$xd[$_GET["db"]]=array();if(strlen($G)>1e6)$G=preg_replace('~[\x80-\xFF]+$~','',substr($G,0,1e6))."\n...";$xd[$_GET["db"]][]=array($G,time(),$Xh);$uh="sql-".count($xd[$_GET["db"]]);$I="".'SQL command'."\n";if(!$Mc&&($Wi=$m->warnings())){$t="warnings-".count($xd[$_GET["db"]]);$I="".'Warnings'.", $I\n$Wi
\n";}return" ".@date("H:i:s").""." $I".shorten_utf8($G,1000)."
".($Xh?"
($Xh)":'').(support("sql")?'
'.'Edit'.'':'').'
';}function
+editFunctions($o){global$lc;$I=($o["null"]?"NULL/":"");foreach($lc
+as$y=>$jd){if(!$y||(!isset($_GET["call"])&&(isset($_GET["select"])||where($_GET)))){foreach($jd
+as$Uf=>$X){if(!$Uf||preg_match("~$Uf~",$o["type"]))$I.="/$X";}if($y&&!preg_match('~set|blob|bytea|raw|file~',$o["type"]))$I.="/SQL";}}if($o["auto_increment"]&&!isset($_GET["select"])&&!where($_GET))$I='Auto Increment';return
+explode("/",$I);}function
+editInput($R,$o,$Ja,$Y){if($o["type"]=="enum")return(isset($_GET["select"])?" ":"").($o["null"]?" ":"").enum_input("radio",$Ja,$o,$Y,0);return"";}function
+editHint($R,$o,$Y){return"";}function
+processInput($o,$Y,$r=""){if($r=="SQL")return$Y;$C=$o["field"];$I=q($Y);if(preg_match('~^(now|getdate|uuid)$~',$r))$I="$r()";elseif(preg_match('~^current_(date|timestamp)$~',$r))$I=$r;elseif(preg_match('~^([+-]|\|\|)$~',$r))$I=idf_escape($C)." $r $I";elseif(preg_match('~^[+-] interval$~',$r))$I=idf_escape($C)." $r ".(preg_match("~^(\\d+|'[0-9.: -]') [A-Z_]+\$~i",$Y)?$Y:$I);elseif(preg_match('~^(addtime|subtime|concat)$~',$r))$I="$r(".idf_escape($C).", $I)";elseif(preg_match('~^(md5|sha1|password|encrypt)$~',$r))$I="$r($I)";return
+unconvert_field($o,$I);}function
+dumpOutput(){$I=array('text'=>'open','file'=>'save');if(function_exists('gzencode'))$I['gz']='gzip';return$I;}function
+dumpFormat(){return
+array('sql'=>'SQL','csv'=>'CSV,','csv;'=>'CSV;','tsv'=>'TSV');}function
+dumpDatabase($l){}function
+dumpTable($R,$Bh,$Xd=0){if($_POST["format"]!="sql"){echo"\xef\xbb\xbf";if($Bh)dump_csv(array_keys(fields($R)));}else{if($Xd==2){$p=array();foreach(fields($R)as$C=>$o)$p[]=idf_escape($C)." $o[full_type]";$i="CREATE TABLE ".table($R)." (".implode(", ",$p).")";}else$i=create_sql($R,$_POST["auto_increment"],$Bh);set_utf8mb4($i);if($Bh&&$i){if($Bh=="DROP+CREATE"||$Xd==1)echo"DROP ".($Xd==2?"VIEW":"TABLE")." IF EXISTS ".table($R).";\n";if($Xd==1)$i=remove_definer($i);echo"$i;\n\n";}}}function
+dumpData($R,$Bh,$G){global$g,$x;$Be=($x=="sqlite"?0:1048576);if($Bh){if($_POST["format"]=="sql"){if($Bh=="TRUNCATE+INSERT")echo
+truncate_sql($R).";\n";$p=fields($R);}$H=$g->query($G,1);if($H){$Qd="";$Xa="";$ee=array();$Dh="";$Pc=($R!=''?'fetch_assoc':'fetch_row');while($J=$H->$Pc()){if(!$ee){$Oi=array();foreach($J
+as$X){$o=$H->fetch_field();$ee[]=$o->name;$y=idf_escape($o->name);$Oi[]="$y = VALUES($y)";}$Dh=($Bh=="INSERT+UPDATE"?"\nON DUPLICATE KEY UPDATE ".implode(", ",$Oi):"").";\n";}if($_POST["format"]!="sql"){if($Bh=="table"){dump_csv($ee);$Bh="INSERT";}dump_csv($J);}else{if(!$Qd)$Qd="INSERT INTO ".table($R)." (".implode(", ",array_map('idf_escape',$ee)).") VALUES";foreach($J
+as$y=>$X){$o=$p[$y];$J[$y]=($X!==null?unconvert_field($o,preg_match(number_type(),$o["type"])&&$X!=''?$X:q(($X===false?0:$X))):"NULL");}$Sg=($Be?"\n":" ")."(".implode(",\t",$J).")";if(!$Xa)$Xa=$Qd.$Sg;elseif(strlen($Xa)+4+strlen($Sg)+strlen($Dh)<$Be)$Xa.=",$Sg";else{echo$Xa.$Dh;$Xa=$Qd.$Sg;}}}if($Xa)echo$Xa.$Dh;}elseif($_POST["format"]=="sql")echo"-- ".str_replace("\n"," ",$g->error)."\n";}}function
+dumpFilename($Bd){return
+friendly_url($Bd!=""?$Bd:(SERVER!=""?SERVER:"localhost"));}function
+dumpHeaders($Bd,$Qe=false){$Ef=$_POST["output"];$Hc=(preg_match('~sql~',$_POST["format"])?"sql":($Qe?"tar":"csv"));header("Content-Type: ".($Ef=="gz"?"application/x-gzip":($Hc=="tar"?"application/x-tar":($Hc=="sql"||$Ef!="file"?"text/plain":"text/csv")."; charset=utf-8")));if($Ef=="gz")ob_start('ob_gzencode',1e6);return$Hc;}function
+importServerPath(){return"adminer.sql";}function
+homepage(){echo''.($_GET["ns"]==""&&support("database")?''.'Alter database'."\n":""),(support("scheme")?"".($_GET["ns"]!=""?'Alter schema':'Create schema')."\n":""),($_GET["ns"]!==""?''.'Database schema'."\n":""),(support("privileges")?"".'Privileges'."\n":"");return
+true;}function
+navigation($Pe){global$ia,$x,$dc,$g;echo'
+';if($Pe=="auth"){$Vc=true;foreach((array)$_SESSION["pwds"]as$Qi=>$gh){foreach($gh
+as$N=>$Li){foreach($Li
+as$V=>$F){if($F!==null){if($Vc){echo"".script("mixin(qs('#logins'), {onmouseover: menuOver, onmouseout: menuOut});");$Vc=false;}$Pb=$_SESSION["db"][$Qi][$N][$V];foreach(($Pb?array_keys($Pb):array(""))as$l)echo"($dc[$Qi]) ".h($V.($N!=""?"@".$this->serverName($N):"").($l!=""?" - $l":""))."
\n";}}}}}else{if($_GET["ns"]!==""&&!$Pe&&DB!=""){$g->select_db(DB);$T=table_status('',true);}echo
+script_src(preg_replace("~\\?.*~","",ME)."?file=jush.js&version=4.6.3");if(support("sql")){echo'
+';}$this->databasesPrint($Pe);if(DB==""||!$Pe){echo"
".(support("sql")?"".'SQL command'."\n".'Import'."\n":"")."";if(support("dump"))echo"".'Export'."\n";}if($_GET["ns"]!==""&&!$Pe&&DB!=""){echo'".'Create table'."\n";if(!$T)echo"
".'No tables.'."\n";else$this->tablesPrint($T);}}}function
+databasesPrint($Pe){global$b,$g;$k=$this->databases();if($k&&!in_array(DB,$k))array_unshift($k,DB);echo'
\n";}function
+tablesPrint($T){echo"".script("mixin(qs('#tables'), {onmouseover: menuOver, onmouseout: menuOut});");foreach($T
+as$R=>$P){$C=$this->tableName($P);if($C!=""){echo'- ".'select'." ",(support("table")||support("indexes")?'$C":"$C")."\n";}}echo"
\n";}}$b=(function_exists('adminer_object')?adminer_object():new
+Adminer);if($b->operators===null)$b->operators=$pf;function
+page_header($ai,$n="",$Wa=array(),$bi=""){global$ca,$ia,$b,$dc,$x;page_headers();if(is_ajax()&&$n){page_messages($n);exit;}$ci=$ai.($bi!=""?": $bi":"");$di=strip_tags($ci.(SERVER!=""&&SERVER!="localhost"?h(" - ".SERVER):"")." - ".$b->name());echo'
+
+
+
+',$di,'
+
+',script_src(preg_replace("~\\?.*~","",ME)."?file=functions.js&version=4.6.3");if($b->head()){echo'
+
+';foreach($b->css()as$Hb){echo'
+';}}echo'
+
+';$Tc=get_temp_dir()."/adminer.version";if(!$_COOKIE["adminer_version"]&&function_exists('openssl_verify')&&file_exists($Tc)&&filemtime($Tc)+86400>time()){$Ri=unserialize(file_get_contents($Tc));$ng="-----BEGIN PUBLIC KEY-----
+MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwqWOVuF5uw7/+Z70djoK
+RlHIZFZPO0uYRezq90+7Amk+FDNd7KkL5eDve+vHRJBLAszF/7XKXe11xwliIsFs
+DFWQlsABVZB3oisKCBEuI71J4kPH8dKGEWR9jDHFw3cWmoH3PmqImX6FISWbG3B8
+h7FIx3jEaw5ckVPVTeo5JRm/1DZzJxjyDenXvBQ/6o9DgZKeNDgxwKzH+sw9/YCO
+jHnq1cFpOIISzARlrHMa/43YfeNRAm/tsBXjSxembBPo7aQZLAWHmaj5+K19H10B
+nCpz9Y++cipkVEiKRGih4ZEvjoFysEOdRLj6WiD/uUNky4xGeA6LaJqh5XpkFkcQ
+fQIDAQAB
+-----END PUBLIC KEY-----
+";if(openssl_verify($Ri["version"],base64_decode($Ri["signature"]),$ng)==1)$_COOKIE["adminer_version"]=$Ri["version"];}echo'
+
+
+',script("mixin(qs('#help'), {onmouseover: function () { helpOpen = 1; }, onmouseout: helpMouseout});"),'
+
+';if($Wa!==null){$_=substr(preg_replace('~\b(username|db|ns)=[^&]*&~','',ME),0,-1);echo'
'.$dc[DRIVER].' » ';$_=substr(preg_replace('~\b(db|ns)=[^&]*&~','',ME),0,-1);$N=$b->serverName(SERVER);$N=($N!=""?$N:'Server');if($Wa===false)echo"$N\n";else{echo"$N » ";if($_GET["ns"]!=""||(DB!=""&&is_array($Wa)))echo''.h(DB).' » ';if(is_array($Wa)){if($_GET["ns"]!="")echo''.h($_GET["ns"]).' » ';foreach($Wa
+as$y=>$X){$Vb=(is_array($X)?$X[1]:h($X));if($Vb!="")echo"$Vb » ";}}echo"$ai\n";}}echo"
$ci
\n","
\n";restart_session();page_messages($n);$k=&get_session("dbs");if(DB!=""&&$k&&!in_array(DB,$k,true))$k=null;stop_session();define("PAGE_HEADER",1);}function
+page_headers(){global$b;header("Content-Type: text/html; charset=utf-8");header("Cache-Control: no-cache");header("X-Frame-Options: deny");header("X-XSS-Protection: 0");header("X-Content-Type-Options: nosniff");header("Referrer-Policy: origin-when-cross-origin");foreach($b->csp()as$Gb){$vd=array();foreach($Gb
+as$y=>$X)$vd[]="$y $X";header("Content-Security-Policy: ".implode("; ",$vd));}$b->headers();}function
+csp(){return
+array(array("script-src"=>"'self' 'unsafe-inline' 'nonce-".get_nonce()."' 'strict-dynamic'","connect-src"=>"'self'","frame-src"=>"https://www.adminer.org","object-src"=>"'none'","base-uri"=>"'none'","form-action"=>"'self'",),);}function
+get_nonce(){static$Ze;if(!$Ze)$Ze=base64_encode(rand_string());return$Ze;}function
+page_messages($n){$Ei=preg_replace('~^[^?]*~','',$_SERVER["REQUEST_URI"]);$Le=$_SESSION["messages"][$Ei];if($Le){echo"
".implode("
\n
",$Le)."
".script("messagesPrint();");unset($_SESSION["messages"][$Ei]);}if($n)echo"
$n
\n";}function
+page_footer($Pe=""){global$b,$hi;echo'
+
+';if($Pe!="auth"){echo'
+';}echo'
+',script("setupSubmitHighlight(document);");}function
+int32($Se){while($Se>=2147483648)$Se-=4294967296;while($Se<=-2147483649)$Se+=4294967296;return(int)$Se;}function
+long2str($W,$Vi){$Sg='';foreach($W
+as$X)$Sg.=pack('V',$X);if($Vi)return
+substr($Sg,0,end($W));return$Sg;}function
+str2long($Sg,$Vi){$W=array_values(unpack('V*',str_pad($Sg,4*ceil(strlen($Sg)/4),"\0")));if($Vi)$W[]=strlen($Sg);return$W;}function
+xxtea_mx($ij,$hj,$Eh,$ae){return
+int32((($ij>>5&0x7FFFFFF)^$hj<<2)+(($hj>>3&0x1FFFFFFF)^$ij<<4))^int32(($Eh^$hj)+($ae^$ij));}function
+encrypt_string($_h,$y){if($_h=="")return"";$y=array_values(unpack("V*",pack("H*",md5($y))));$W=str2long($_h,true);$Se=count($W)-1;$ij=$W[$Se];$hj=$W[0];$og=floor(6+52/($Se+1));$Eh=0;while($og-->0){$Eh=int32($Eh+0x9E3779B9);$kc=$Eh>>2&3;for($Ff=0;$Ff<$Se;$Ff++){$hj=$W[$Ff+1];$Re=xxtea_mx($ij,$hj,$Eh,$y[$Ff&3^$kc]);$ij=int32($W[$Ff]+$Re);$W[$Ff]=$ij;}$hj=$W[0];$Re=xxtea_mx($ij,$hj,$Eh,$y[$Ff&3^$kc]);$ij=int32($W[$Se]+$Re);$W[$Se]=$ij;}return
+long2str($W,false);}function
+decrypt_string($_h,$y){if($_h=="")return"";if(!$y)return
+false;$y=array_values(unpack("V*",pack("H*",md5($y))));$W=str2long($_h,false);$Se=count($W)-1;$ij=$W[$Se];$hj=$W[0];$og=floor(6+52/($Se+1));$Eh=int32($og*0x9E3779B9);while($Eh){$kc=$Eh>>2&3;for($Ff=$Se;$Ff>0;$Ff--){$ij=$W[$Ff-1];$Re=xxtea_mx($ij,$hj,$Eh,$y[$Ff&3^$kc]);$hj=int32($W[$Ff]-$Re);$W[$Ff]=$hj;}$ij=$W[$Se];$Re=xxtea_mx($ij,$hj,$Eh,$y[$Ff&3^$kc]);$hj=int32($W[0]-$Re);$W[0]=$hj;$Eh=int32($Eh-0x9E3779B9);}return
+long2str($W,true);}$g='';$ud=$_SESSION["token"];if(!$ud)$_SESSION["token"]=rand(1,1e6);$hi=get_token();$Vf=array();if($_COOKIE["adminer_permanent"]){foreach(explode(" ",$_COOKIE["adminer_permanent"])as$X){list($y)=explode(":",$X);$Vf[$y]=$X;}}function
+add_invalid_login(){global$b;$hd=file_open_lock(get_temp_dir()."/adminer.invalid");if(!$hd)return;$Td=unserialize(stream_get_contents($hd));$Xh=time();if($Td){foreach($Td
+as$Ud=>$X){if($X[0]<$Xh)unset($Td[$Ud]);}}$Sd=&$Td[$b->bruteForceKey()];if(!$Sd)$Sd=array($Xh+30*60,0);$Sd[1]++;file_write_unlock($hd,serialize($Td));}function
+check_invalid_login(){global$b;$Td=unserialize(@file_get_contents(get_temp_dir()."/adminer.invalid"));$Sd=$Td[$b->bruteForceKey()];$Ye=($Sd[1]>29?$Sd[0]-time():0);if($Ye>0)auth_error(lang(array('Too many unsuccessful logins, try again in %d minute.','Too many unsuccessful logins, try again in %d minutes.'),ceil($Ye/60)));}$Ka=$_POST["auth"];if($Ka){session_regenerate_id();$Qi=$Ka["driver"];$N=$Ka["server"];$V=$Ka["username"];$F=(string)$Ka["password"];$l=$Ka["db"];set_password($Qi,$N,$V,$F);$_SESSION["db"][$Qi][$N][$V][$l]=true;if($Ka["permanent"]){$y=base64_encode($Qi)."-".base64_encode($N)."-".base64_encode($V)."-".base64_encode($l);$hg=$b->permanentLogin(true);$Vf[$y]="$y:".base64_encode($hg?encrypt_string($F,$hg):"");cookie("adminer_permanent",implode(" ",$Vf));}if(count($_POST)==1||DRIVER!=$Qi||SERVER!=$N||$_GET["username"]!==$V||DB!=$l)redirect(auth_url($Qi,$N,$V,$l));}elseif($_POST["logout"]){if($ud&&!verify_token()){page_header('Logout','Invalid CSRF token. Send the form again.');page_footer("db");exit;}else{foreach(array("pwds","db","dbs","queries")as$y)set_session($y,null);unset_permanent();redirect(substr(preg_replace('~\b(username|db|ns)=[^&]*&~','',ME),0,-1),'Logout successful.'.' '.sprintf('Thanks for using Adminer, consider donating.','https://sourceforge.net/donate/index.php?group_id=264133'));}}elseif($Vf&&!$_SESSION["pwds"]){session_regenerate_id();$hg=$b->permanentLogin();foreach($Vf
+as$y=>$X){list(,$ib)=explode(":",$X);list($Qi,$N,$V,$l)=array_map('base64_decode',explode("-",$y));set_password($Qi,$N,$V,decrypt_string(base64_decode($ib),$hg));$_SESSION["db"][$Qi][$N][$V][$l]=true;}}function
+unset_permanent(){global$Vf;foreach($Vf
+as$y=>$X){list($Qi,$N,$V,$l)=array_map('base64_decode',explode("-",$y));if($Qi==DRIVER&&$N==SERVER&&$V==$_GET["username"]&&$l==DB)unset($Vf[$y]);}cookie("adminer_permanent",implode(" ",$Vf));}function
+auth_error($n){global$b,$ud;$hh=session_name();if(isset($_GET["username"])){header("HTTP/1.1 403 Forbidden");if(($_COOKIE[$hh]||$_GET[$hh])&&!$ud)$n='Session expired, please login again.';else{restart_session();add_invalid_login();$F=get_password();if($F!==null){if($F===false)$n.='
'.sprintf('Master password expired. Implement %s method to make it permanent.',target_blank(),'permanentLogin()');set_password(DRIVER,SERVER,$_GET["username"],null);}unset_permanent();}}if(!$_COOKIE[$hh]&&$_GET[$hh]&&ini_bool("session.use_only_cookies"))$n='Session support must be enabled.';$If=session_get_cookie_params();cookie("adminer_key",($_COOKIE["adminer_key"]?$_COOKIE["adminer_key"]:rand_string()),$If["lifetime"]);page_header('Login',$n,null);echo"\n";page_footer("auth");exit;}if(isset($_GET["username"])&&!class_exists("Min_DB")){unset($_SESSION["pwds"][DRIVER]);unset_permanent();page_header('No extension',sprintf('None of the supported PHP extensions (%s) are available.',implode(", ",$bg)),false);page_footer("auth");exit;}stop_session(true);if(isset($_GET["username"])){list($_d,$Xf)=explode(":",SERVER,2);if(is_numeric($Xf)&&$Xf<1024)auth_error('Connecting to privileged ports is not allowed.');check_invalid_login();$g=connect();$m=new
+Min_Driver($g);}$ue=null;if(!is_object($g)||($ue=$b->login($_GET["username"],get_password()))!==true)auth_error((is_string($g)?h($g):(is_string($ue)?$ue:'Invalid credentials.')));if($Ka&&$_POST["token"])$_POST["token"]=$hi;$n='';if($_POST){if(!verify_token()){$Nd="max_input_vars";$Fe=ini_get($Nd);if(extension_loaded("suhosin")){foreach(array("suhosin.request.max_vars","suhosin.post.max_vars")as$y){$X=ini_get($y);if($X&&(!$Fe||$X<$Fe)){$Nd=$y;$Fe=$X;}}}$n=(!$_POST["token"]&&$Fe?sprintf('Maximum number of allowed fields exceeded. Please increase %s.',"'$Nd'"):'Invalid CSRF token. Send the form again.'.' '.'If you did not send this request from Adminer then close this page.');}}elseif($_SERVER["REQUEST_METHOD"]=="POST"){$n=sprintf('Too big POST data. Reduce the data or increase the %s configuration directive.',"'post_max_size'");if(isset($_GET["sql"]))$n.=' '.'You can upload a big SQL file via FTP and import it from server.';}function
+select($H,$h=null,$xf=array(),$z=0){global$x;$te=array();$w=array();$f=array();$Ta=array();$wi=array();$I=array();odd('');for($s=0;(!$z||$s<$z)&&($J=$H->fetch_row());$s++){if(!$s){echo"\n","";for($Zd=0;$Zdfetch_field();$C=$o->name;$wf=$o->orgtable;$vf=$o->orgname;$I[$o->table]=$wf;if($xf&&$x=="sql")$te[$Zd]=($C=="table"?"table=":($C=="possible_keys"?"indexes=":null));elseif($wf!=""){if(!isset($w[$wf])){$w[$wf]=array();foreach(indexes($wf,$h)as$v){if($v["type"]=="PRIMARY"){$w[$wf]=array_flip($v["columns"]);break;}}$f[$wf]=$w[$wf];}if(isset($f[$wf][$vf])){unset($f[$wf][$vf]);$w[$wf][$vf]=$Zd;$te[$Zd]=$wf;}}if($o->charsetnr==63)$Ta[$Zd]=true;$wi[$Zd]=$o->type;echo"| name!=$vf?" title='".h(($wf!=""?"$wf.":"").$vf)."'":"").">".h($C).($xf?doc_link(array('sql'=>"explain-output.html#explain_".strtolower($C),'mariadb'=>"explain/#the-columns-in-explain-select",)):"");}echo" |
\n";}echo"";foreach($J
+as$y=>$X){if($X===null)$X="NULL";elseif($Ta[$y]&&!is_utf8($X))$X="".lang(array('%d byte','%d bytes'),strlen($X))."";else{$X=h($X);if($wi[$y]==254)$X="$X";}if(isset($te[$y])&&!$f[$te[$y]]){if($xf&&$x=="sql"){$R=$J[array_search("table=",$te)];$_=$te[$y].urlencode($xf[$R]!=""?$xf[$R]:$R);}else{$_="edit=".urlencode($te[$y]);foreach($w[$te[$y]]as$mb=>$Zd)$_.="&where".urlencode("[".bracket_escape($mb)."]")."=".urlencode($J[$Zd]);}$X="$X";}echo"$X";}}echo($s?" |
":"".'No rows.')."\n";return$I;}function
+referencable_primary($bh){$I=array();foreach(table_status('',true)as$Ih=>$R){if($Ih!=$bh&&fk_support($R)){foreach(fields($Ih)as$o){if($o["primary"]){if($I[$Ih]){unset($I[$Ih]);break;}$I[$Ih]=$o;}}}}return$I;}function
+textarea($C,$Y,$K=10,$qb=80){global$x;echo"";}function
+edit_type($y,$o,$ob,$dd=array(),$Kc=array()){global$Ah,$wi,$Ci,$kf;$U=$o["type"];echo'
+',on_help("getTarget(event).value",1),script("mixin(qsl('select'), {onfocus: function () { lastType = selectValue(this); }, onchange: editingTypeChange});",""),' | ',script("mixin(qsl('input'), {onfocus: editingLengthFocus, oninput: editingLengthChange});",""),' | ',"',($Ci?"':''),(isset($o['on_update'])?"':''),($dd?" ":" ");}function
+process_length($qe){global$vc;return(preg_match("~^\\s*\\(?\\s*$vc(?:\\s*,\\s*$vc)*+\\s*\\)?\\s*\$~",$qe)&&preg_match_all("~$vc~",$qe,$_e)?"(".implode(",",$_e[0]).")":preg_replace('~^[0-9].*~','(\0)',preg_replace('~[^-0-9,+()[\]]~','',$qe)));}function
+process_type($o,$nb="COLLATE"){global$Ci;return" $o[type]".process_length($o["length"]).(preg_match(number_type(),$o["type"])&&in_array($o["unsigned"],$Ci)?" $o[unsigned]":"").(preg_match('~char|text|enum|set~',$o["type"])&&$o["collation"]?" $nb ".q($o["collation"]):"");}function
+process_field($o,$ui){return
+array(idf_escape(trim($o["field"])),process_type($ui),($o["null"]?" NULL":" NOT NULL"),default_value($o),(preg_match('~timestamp|datetime~',$o["type"])&&$o["on_update"]?" ON UPDATE $o[on_update]":""),(support("comment")&&$o["comment"]!=""?" COMMENT ".q($o["comment"]):""),($o["auto_increment"]?auto_increment():null),);}function
+default_value($o){$Rb=$o["default"];return($Rb===null?"":" DEFAULT ".(preg_match('~char|binary|text|enum|set~',$o["type"])||preg_match('~^(?![a-z])~i',$Rb)?q($Rb):$Rb));}function
+type_class($U){foreach(array('char'=>'text','date'=>'time|year','binary'=>'blob','enum'=>'set',)as$y=>$X){if(preg_match("~$y|$X~",$U))return" class='$y'";}}function
+edit_fields($p,$ob,$U="TABLE",$dd=array(),$ub=false){global$Od;$p=array_values($p);echo'
+';if($U=="PROCEDURE"){echo'| ';}echo' | ',($U=="TABLE"?'Column name':'Parameter name'),' | Type',script("qs('#enum-edit').onblur = editingLengthBlur;"),' | Length
+ | ','Options';if($U=="TABLE"){echo' | NULL
+ | AI',doc_link(array('sql'=>"example-auto-increment.html",'mariadb'=>"auto_increment/",'sqlite'=>"autoinc.html",'pgsql'=>"datatype.html#DATATYPE-SERIAL",'mssql'=>"ms186775.aspx",)),' | Default value
+',(support("comment")?" | ',"".script("row_count = ".count($p).";"),' |
+ |
+',script("mixin(qsl('tbody'), {onclick: editingClick, onkeydown: editingKeydown, oninput: editingInput});");foreach($p
+as$s=>$o){$s++;$yf=$o[($_POST?"orig":"field")];$Zb=(isset($_POST["add"][$s-1])||(isset($o["field"])&&!$_POST["drop_col"][$s]))&&(support("drop_col")||$yf=="");echo'
+',($U=="PROCEDURE"?"| ".html_select("fields[$s][inout]",explode("|",$Od),$o["inout"]):""),' | ';if($Zb){echo'',script("qsl('input').oninput = function () { editingNameChange.call(this);".($o["field"]!=""||count($p)>1?"":" editingAddRow.call(this);")." };","");}echo'
+';edit_type("fields[$s]",$o,$ob,$dd);if($U=="TABLE"){echo' | ',checkbox("fields[$s][null]",1,$o["null"],"","","block","label-null"),' | | ',checkbox("fields[$s][has_default]",1,$o["has_default"],"","","","label-default"),'',(support("comment")?" | ":"");}echo" | ",(support("move_col")?" "." "." ":""),($yf==""||support("drop_col")?"":"");}}function
+process_fields(&$p){$D=0;if($_POST["up"]){$ke=0;foreach($p
+as$y=>$o){if(key($_POST["up"])==$y){unset($p[$y]);array_splice($p,$ke,0,array($o));break;}if(isset($o["field"]))$ke=$D;$D++;}}elseif($_POST["down"]){$fd=false;foreach($p
+as$y=>$o){if(isset($o["field"])&&$fd){unset($p[key($_POST["down"])]);array_splice($p,$D,0,array($fd));break;}if(key($_POST["down"])==$y)$fd=$o;$D++;}}elseif($_POST["add"]){$p=array_values($p);array_splice($p,key($_POST["add"]),0,array(array()));}elseif(!$_POST["drop_col"])return
+false;return
+true;}function
+normalize_enum($B){return"'".str_replace("'","''",addcslashes(stripcslashes(str_replace($B[0][0].$B[0][0],$B[0][0],substr($B[0],1,-1))),'\\'))."'";}function
+grant($kd,$jg,$f,$jf){if(!$jg)return
+true;if($jg==array("ALL PRIVILEGES","GRANT OPTION"))return($kd=="GRANT"?queries("$kd ALL PRIVILEGES$jf WITH GRANT OPTION"):queries("$kd ALL PRIVILEGES$jf")&&queries("$kd GRANT OPTION$jf"));return
+queries("$kd ".preg_replace('~(GRANT OPTION)\([^)]*\)~','\1',implode("$f, ",$jg).$f).$jf);}function
+drop_create($ec,$i,$fc,$Uh,$hc,$A,$Ke,$Ie,$Je,$gf,$Ve){if($_POST["drop"])query_redirect($ec,$A,$Ke);elseif($gf=="")query_redirect($i,$A,$Je);elseif($gf!=$Ve){$Eb=queries($i);queries_redirect($A,$Ie,$Eb&&queries($ec));if($Eb)queries($fc);}else
+queries_redirect($A,$Ie,queries($Uh)&&queries($hc)&&queries($ec)&&queries($i));}function
+create_trigger($jf,$J){global$x;$Zh=" $J[Timing] $J[Event]".($J["Event"]=="UPDATE OF"?" ".idf_escape($J["Of"]):"");return"CREATE TRIGGER ".idf_escape($J["Trigger"]).($x=="mssql"?$jf.$Zh:$Zh.$jf).rtrim(" $J[Type]\n$J[Statement]",";").";";}function
+create_routine($Og,$J){global$Od,$x;$O=array();$p=(array)$J["fields"];ksort($p);foreach($p
+as$o){if($o["field"]!="")$O[]=(preg_match("~^($Od)\$~",$o["inout"])?"$o[inout] ":"").idf_escape($o["field"]).process_type($o,"CHARACTER SET");}$Sb=rtrim("\n$J[definition]",";");return"CREATE $Og ".idf_escape(trim($J["name"]))." (".implode(", ",$O).")".(isset($_GET["function"])?" RETURNS".process_type($J["returns"],"CHARACTER SET"):"").($J["language"]?" LANGUAGE $J[language]":"").($x=="pgsql"?" AS ".q($Sb):"$Sb;");}function
+remove_definer($G){return
+preg_replace('~^([A-Z =]+) DEFINER=`'.preg_replace('~@(.*)~','`@`(%|\1)',logged_user()).'`~','\1',$G);}function
+format_foreign_key($q){global$kf;return" FOREIGN KEY (".implode(", ",array_map('idf_escape',$q["source"])).") REFERENCES ".table($q["table"])." (".implode(", ",array_map('idf_escape',$q["target"])).")".(preg_match("~^($kf)\$~",$q["on_delete"])?" ON DELETE $q[on_delete]":"").(preg_match("~^($kf)\$~",$q["on_update"])?" ON UPDATE $q[on_update]":"");}function
+tar_file($Tc,$ei){$I=pack("a100a8a8a8a12a12",$Tc,644,0,0,decoct($ei->size),decoct(time()));$gb=8*32;for($s=0;$ssend();echo
+str_repeat("\0",511-($ei->size+511)%512);}function
+ini_bytes($Nd){$X=ini_get($Nd);switch(strtolower(substr($X,-1))){case'g':$X*=1024;case'm':$X*=1024;case'k':$X*=1024;}return$X;}function
+doc_link($Tf,$Vh="?"){global$x,$g;$fh=$g->server_info;$Ri=preg_replace('~^(\d\.?\d).*~s','\1',$fh);$Hi=array('sql'=>"https://dev.mysql.com/doc/refman/$Ri/en/",'sqlite'=>"https://www.sqlite.org/",'pgsql'=>"https://www.postgresql.org/docs/$Ri/static/",'mssql'=>"https://msdn.microsoft.com/library/",'oracle'=>"https://download.oracle.com/docs/cd/B19306_01/server.102/b14200/",);if(preg_match('~MariaDB~',$fh)){$Hi['sql']="https://mariadb.com/kb/en/library/";$Tf['sql']=(isset($Tf['mariadb'])?$Tf['mariadb']:str_replace(".html","/",$Tf['sql']));}return($Tf[$x]?"$Vh":"");}function
+ob_gzencode($Q){return
+gzencode($Q);}function
+db_size($l){global$g;if(!$g->select_db($l))return"?";$I=0;foreach(table_status()as$S)$I+=$S["Data_length"]+$S["Index_length"];return
+format_number($I);}function
+set_utf8mb4($i){global$g;static$O=false;if(!$O&&preg_match('~\butf8mb4~i',$i)){$O=true;echo"SET NAMES ".charset($g).";\n\n";}}function
+connect_error(){global$b,$g,$hi,$n,$dc;if(DB!=""){header("HTTP/1.1 404 Not Found");page_header('Database'.": ".h(DB),'Invalid database.',true);}else{if($_POST["db"]&&!$n)queries_redirect(substr(ME,0,-1),'Databases have been dropped.',drop_databases($_POST["db"]));page_header('Select database',$n,false);echo" \n";foreach(array('database'=>'Create database','privileges'=>'Privileges','processlist'=>'Process list','variables'=>'Variables','status'=>'Status',)as$y=>$X){if(support($y))echo"$X\n";}echo" ".sprintf('%s version: %s through PHP extension %s',$dc[DRIVER],"".h($g->server_info)."","$g->extension")."\n"," ".sprintf('Logged as: %s',"".h(logged_user())."")."\n";$k=$b->databases();if($k){$Vg=support("scheme");$ob=collations();echo" \n",script("tableCheck();");}}page_footer("db");}if(isset($_GET["status"]))$_GET["variables"]=$_GET["status"];if(isset($_GET["import"]))$_GET["sql"]=$_GET["import"];if(!(DB!=""?$g->select_db(DB):isset($_GET["sql"])||isset($_GET["dump"])||isset($_GET["database"])||isset($_GET["processlist"])||isset($_GET["privileges"])||isset($_GET["user"])||isset($_GET["variables"])||$_GET["script"]=="connect"||$_GET["script"]=="kill")){if(DB!=""||$_GET["refresh"]){restart_session();set_session("dbs",null);}connect_error();exit;}if(support("scheme")&&DB!=""&&$_GET["ns"]!==""){if(!isset($_GET["ns"]))redirect(preg_replace('~ns=[^&]*&~','',ME)."ns=".get_schema());if(!set_schema($_GET["ns"])){header("HTTP/1.1 404 Not Found");page_header('Schema'.": ".h($_GET["ns"]),'Invalid schema.',true);page_footer("ns");exit;}}$kf="RESTRICT|NO ACTION|CASCADE|SET NULL|SET DEFAULT";class
+TmpFile{var$handler;var$size;function
+__construct(){$this->handler=tmpfile();}function
+write($zb){$this->size+=strlen($zb);fwrite($this->handler,$zb);}function
+send(){fseek($this->handler,0);fpassthru($this->handler);fclose($this->handler);}}$vc="'(?:''|[^'\\\\]|\\\\.)*'";$Od="IN|OUT|INOUT";if(isset($_GET["select"])&&($_POST["edit"]||$_POST["clone"])&&!$_POST["save"])$_GET["edit"]=$_GET["select"];if(isset($_GET["callf"]))$_GET["call"]=$_GET["callf"];if(isset($_GET["function"]))$_GET["procedure"]=$_GET["function"];if(isset($_GET["download"])){$a=$_GET["download"];$p=fields($a);header("Content-Type: application/octet-stream");header("Content-Disposition: attachment; filename=".friendly_url("$a-".implode("_",$_GET["where"])).".".friendly_url($_GET["field"]));$L=array(idf_escape($_GET["field"]));$H=$m->select($a,$L,array(where($_GET,$p)),$L);$J=($H?$H->fetch_row():array());echo$m->value($J[0],$p[$_GET["field"]]);exit;}elseif(isset($_GET["table"])){$a=$_GET["table"];$p=fields($a);if(!$p)$n=error();$S=table_status1($a,true);$C=$b->tableName($S);page_header(($p&&is_view($S)?$S['Engine']=='materialized view'?'Materialized view':'View':'Table').": ".($C!=""?$C:h($a)),$n);$b->selectLinks($S);$tb=$S["Comment"];if($tb!="")echo"".'Comment'.": ".h($tb)."\n";if($p)$b->tableStructurePrint($p);if(!is_view($S)){if(support("indexes")){echo" ".'Indexes'."\n";$w=indexes($a);if($w)$b->tableIndexesPrint($w);echo''.'Alter indexes'."\n";}if(fk_support($S)){echo" ".'Foreign keys'."\n";$dd=foreign_keys($a);if($dd){echo"\n","| ".'Source'." | ".'Target'." | ".'ON DELETE'." | ".'ON UPDATE'." | | \n";foreach($dd
+as$C=>$q){echo"","| ".implode(", ",array_map('h',$q["source"])).""," | ".($q["db"]!=""?"".h($q["db"]).".":"").($q["ns"]!=""?"".h($q["ns"]).".":"").h($q["table"])."","(".implode(", ",array_map('h',$q["target"])).")"," | ".h($q["on_delete"])."\n"," | ".h($q["on_update"])."\n",' | '.'Alter'.'';}echo" | \n";}echo''.'Add foreign key'."\n";}}if(support(is_view($S)?"view_trigger":"trigger")){echo" ".'Triggers'."\n";$ti=triggers($a);if($ti){echo"\n";foreach($ti
+as$y=>$X)echo"| ".h($X[0])." | ".h($X[1])." | ".h($y)." | ".'Alter'."\n";echo" |
|---|
\n";}echo''.'Add trigger'."\n";}}elseif(isset($_GET["schema"])){page_header('Database schema',"",array(),h(DB.($_GET["ns"]?".$_GET[ns]":"")));$Kh=array();$Lh=array();$ea=($_GET["schema"]?$_GET["schema"]:$_COOKIE["adminer_schema-".str_replace(".","_",DB)]);preg_match_all('~([^:]+):([-0-9.]+)x([-0-9.]+)(_|$)~',$ea,$_e,PREG_SET_ORDER);foreach($_e
+as$s=>$B){$Kh[$B[1]]=array($B[2],$B[3]);$Lh[]="\n\t'".js_escape($B[1])."': [ $B[2], $B[3] ]";}$ii=0;$Qa=-1;$Ug=array();$_g=array();$oe=array();foreach(table_status('',true)as$R=>$S){if(is_view($S))continue;$Yf=0;$Ug[$R]["fields"]=array();foreach(fields($R)as$C=>$o){$Yf+=1.25;$o["pos"]=$Yf;$Ug[$R]["fields"][$C]=$o;}$Ug[$R]["pos"]=($Kh[$R]?$Kh[$R]:array($ii,0));foreach($b->foreignKeys($R)as$X){if(!$X["db"]){$me=$Qa;if($Kh[$R][1]||$Kh[$X["table"]][1])$me=min(floatval($Kh[$R][1]),floatval($Kh[$X["table"]][1]))-1;else$Qa-=.1;while($oe[(string)$me])$me-=.0001;$Ug[$R]["references"][$X["table"]][(string)$me]=array($X["source"],$X["target"]);$_g[$X["table"]][$R][(string)$me]=$X["target"];$oe[(string)$me]=true;}}$ii=max($ii,$Ug[$R]["pos"][0]+2.5+$Yf);}echo'
+
+';foreach($Ug
+as$C=>$R){echo" ",' '.h($C)."",script("qsl('div').onmousedown = schemaMousedown;");foreach($R["fields"]as$o){$X=' '.h($o["field"]).'';echo" ".($o["primary"]?" $X":$X);}foreach((array)$R["references"]as$Rh=>$Ag){foreach($Ag
+as$me=>$xg){$ne=$me-$Kh[$C][1];$s=0;foreach($xg[0]as$ph)echo"\n ";}}foreach((array)$_g[$C]as$Rh=>$Ag){foreach($Ag
+as$me=>$f){$ne=$me-$Kh[$C][1];$s=0;foreach($f
+as$Qh)echo"\n ";}}echo"\n \n";}foreach($Ug
+as$C=>$R){foreach((array)$R["references"]as$Rh=>$Ag){foreach($Ag
+as$me=>$xg){$Oe=$ii;$De=-10;foreach($xg[0]as$y=>$ph){$Zf=$R["pos"][0]+$R["fields"][$ph]["pos"];$ag=$Ug[$Rh]["pos"][0]+$Ug[$Rh]["fields"][$xg[1][$y]]["pos"];$Oe=min($Oe,$Zf,$ag);$De=max($De,$Zf,$ag);}echo" \n";}}}echo'
+Permanent link
+';}elseif(isset($_GET["dump"])){$a=$_GET["dump"];if($_POST&&!$n){$Bb="";foreach(array("output","format","db_style","routines","events","table_style","auto_increment","triggers","data_style")as$y)$Bb.="&$y=".urlencode($_POST[$y]);cookie("adminer_export",substr($Bb,1));$T=array_flip((array)$_POST["tables"])+array_flip((array)$_POST["data"]);$Hc=dump_headers((count($T)==1?key($T):DB),(DB==""||count($T)>1));$Wd=preg_match('~sql~',$_POST["format"]);if($Wd){echo"-- Adminer $ia ".$dc[DRIVER]." dump\n\n";if($x=="sql"){echo"SET NAMES utf8;
+SET time_zone = '+00:00';
+".($_POST["data_style"]?"SET foreign_key_checks = 0;
+SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
+":"")."
+";$g->query("SET time_zone = '+00:00';");}}$Bh=$_POST["db_style"];$k=array(DB);if(DB==""){$k=$_POST["databases"];if(is_string($k))$k=explode("\n",rtrim(str_replace("\r","",$k),"\n"));}foreach((array)$k
+as$l){$b->dumpDatabase($l);if($g->select_db($l)){if($Wd&&preg_match('~CREATE~',$Bh)&&($i=$g->result("SHOW CREATE DATABASE ".idf_escape($l),1))){set_utf8mb4($i);if($Bh=="DROP+CREATE")echo"DROP DATABASE IF EXISTS ".idf_escape($l).";\n";echo"$i;\n";}if($Wd){if($Bh)echo
+use_sql($l).";\n\n";$Df="";if($_POST["routines"]){foreach(array("FUNCTION","PROCEDURE")as$Og){foreach(get_rows("SHOW $Og STATUS WHERE Db = ".q($l),null,"-- ")as$J){$i=remove_definer($g->result("SHOW CREATE $Og ".idf_escape($J["Name"]),2));set_utf8mb4($i);$Df.=($Bh!='DROP+CREATE'?"DROP $Og IF EXISTS ".idf_escape($J["Name"]).";;\n":"")."$i;;\n\n";}}}if($_POST["events"]){foreach(get_rows("SHOW EVENTS",null,"-- ")as$J){$i=remove_definer($g->result("SHOW CREATE EVENT ".idf_escape($J["Name"]),3));set_utf8mb4($i);$Df.=($Bh!='DROP+CREATE'?"DROP EVENT IF EXISTS ".idf_escape($J["Name"]).";;\n":"")."$i;;\n\n";}}if($Df)echo"DELIMITER ;;\n\n$Df"."DELIMITER ;\n\n";}if($_POST["table_style"]||$_POST["data_style"]){$Ti=array();foreach(table_status('',true)as$C=>$S){$R=(DB==""||in_array($C,(array)$_POST["tables"]));$Kb=(DB==""||in_array($C,(array)$_POST["data"]));if($R||$Kb){if($Hc=="tar"){$ei=new
+TmpFile;ob_start(array($ei,'write'),1e5);}$b->dumpTable($C,($R?$_POST["table_style"]:""),(is_view($S)?2:0));if(is_view($S))$Ti[]=$C;elseif($Kb){$p=fields($C);$b->dumpData($C,$_POST["data_style"],"SELECT *".convert_fields($p,$p)." FROM ".table($C));}if($Wd&&$_POST["triggers"]&&$R&&($ti=trigger_sql($C)))echo"\nDELIMITER ;;\n$ti\nDELIMITER ;\n";if($Hc=="tar"){ob_end_flush();tar_file((DB!=""?"":"$l/")."$C.csv",$ei);}elseif($Wd)echo"\n";}}foreach($Ti
+as$Si)$b->dumpTable($Si,$_POST["table_style"],1);if($Hc=="tar")echo
+pack("x512");}}}if($Wd)echo"-- ".$g->result("SELECT NOW()")."\n";exit;}page_header('Export',$n,($_GET["export"]!=""?array("table"=>$_GET["export"]):array()),h(DB));echo'
+
+';$Vc=true;foreach($dg
+as$y=>$X){if($y!=""&&$X>1){echo($Vc?"":" ")."".h($y)."";$Vc=false;}}}elseif(isset($_GET["privileges"])){page_header('Privileges');echo' '.'Create user'."";$H=$g->query("SELECT User, Host FROM mysql.".(DB==""?"user":"db WHERE ".q(DB)." LIKE Db")." ORDER BY Host, User");$kd=$H;if(!$H)$H=$g->query("SELECT SUBSTRING_INDEX(CURRENT_USER, '@', 1) AS User, SUBSTRING_INDEX(CURRENT_USER, '@', -1) AS Host");echo" \n";}elseif(isset($_GET["sql"])){if(!$n&&$_POST["export"]){dump_headers("sql");$b->dumpTable("","");$b->dumpData("","table",$_POST["query"]);exit;}restart_session();$yd=&get_session("queries");$xd=&$yd[DB];if(!$n&&$_POST["clear"]){$xd=array();redirect(remove_from_uri("history"));}page_header((isset($_GET["import"])?'Import':'SQL command'),$n);if(!$n&&$_POST){$hd=false;if(!isset($_GET["import"]))$G=$_POST["query"];elseif($_POST["webfile"]){$th=$b->importServerPath();$hd=@fopen((file_exists($th)?$th:"compress.zlib://$th.gz"),"rb");$G=($hd?fread($hd,1e6):false);}else$G=get_file("sql_file",true);if(is_string($G)){if(function_exists('memory_get_usage'))@ini_set("memory_limit",max(ini_bytes("memory_limit"),2*strlen($G)+memory_get_usage()+8e6));if($G!=""&&strlen($G)<1e6){$og=$G.(preg_match("~;[ \t\r\n]*\$~",$G)?"":";");if(!$xd||reset(end($xd))!=$og){restart_session();$xd[]=array($og,time());set_session("queries",$yd);stop_session();}}$qh="(?:\\s|/\\*[\s\S]*?\\*/|(?:#|-- )[^\n]*\n?|--\r?\n)";$Ub=";";$D=0;$sc=true;$h=connect();if(is_object($h)&&DB!="")$h->select_db(DB);$sb=0;$xc=array();$Kf='[\'"'.($x=="sql"?'`#':($x=="sqlite"?'`[':($x=="mssql"?'[':''))).']|/\*|-- |$'.($x=="pgsql"?'|\$[^$]*\$':'');$ji=microtime(true);parse_str($_COOKIE["adminer_export"],$xa);$jc=$b->dumpFormat();unset($jc["sql"]);while($G!=""){if(!$D&&preg_match("~^$qh*+DELIMITER\\s+(\\S+)~i",$G,$B)){$Ub=$B[1];$G=substr($G,strlen($B[0]));}else{preg_match('('.preg_quote($Ub)."\\s*|$Kf)",$G,$B,PREG_OFFSET_CAPTURE,$D);list($fd,$Yf)=$B[0];if(!$fd&&$hd&&!feof($hd))$G.=fread($hd,1e5);else{if(!$fd&&rtrim($G)=="")break;$D=$Yf+strlen($fd);if($fd&&rtrim($fd)!=$Ub){while(preg_match('('.($fd=='/*'?'\*/':($fd=='['?']':(preg_match('~^-- |^#~',$fd)?"\n":preg_quote($fd)."|\\\\."))).'|$)s',$G,$B,PREG_OFFSET_CAPTURE,$D)){$Sg=$B[0][0];if(!$Sg&&$hd&&!feof($hd))$G.=fread($hd,1e5);else{$D=$B[0][1]+strlen($Sg);if($Sg[0]!="\\")break;}}}else{$sc=false;$og=substr($G,0,$Yf);$sb++;$gg="".$b->sqlCommandQuery($og)." \n";if($x=="sqlite"&&preg_match("~^$qh*+ATTACH\\b~i",$og,$B)){echo$gg,"".'ATTACH queries are not supported.'."\n";$xc[]=" $sb";if($_POST["error_stops"])break;}else{if(!$_POST["only_errors"]){echo$gg;ob_flush();flush();}$xh=microtime(true);if($g->multi_query($og)&&is_object($h)&&preg_match("~^$qh*+USE\\b~i",$og))$h->query($og);do{$H=$g->store_result();if($g->error){echo($_POST["only_errors"]?$gg:"")," ".'Error in query'.($g->errno?" ($g->errno)":"").": ".error()."\n";$xc[]=" $sb";if($_POST["error_stops"])break
+2;}else{$Xh=" (".format_time($xh).")".(strlen($og)<1000?" ".'Edit'."":"");$za=$g->affected_rows;$Wi=($_POST["only_errors"]?"":$m->warnings());$Xi="warnings-$sb";if($Wi)$Xh.=", ".'Warnings'."".script("qsl('a').onclick = partial(toggle, '$Xi');","");$Ec=null;$Fc="explain-$sb";if(is_object($H)){$z=$_POST["limit"];$xf=select($H,$h,array(),$z);if(!$_POST["only_errors"]){echo" \n";}}else{if(preg_match("~^$qh*+(CREATE|DROP|ALTER)$qh++(DATABASE|SCHEMA)\\b~i",$og)){restart_session();set_session("dbs",null);stop_session();}if(!$_POST["only_errors"])echo"".lang(array('Query executed OK, %d row affected.','Query executed OK, %d rows affected.'),$za)."$Xh\n";}echo($Wi?" \n$Wi \n":"");if($Ec){echo"\n";select($Ec,$h,$xf);echo" \n";}}$xh=microtime(true);}while($g->next_result());}$G=substr($G,$D);$D=0;}}}}if($sc)echo"".'No commands to execute.'."\n";elseif($_POST["only_errors"]){echo" ".lang(array('%d query executed OK.','%d queries executed OK.'),$sb-count($xc))," (".format_time($ji).")\n";}elseif($xc&&$sb>1)echo" ".'Error in query'.": ".implode("",$xc)."\n";}else
+echo" ".upload_error($G)."\n";}echo'
+
+';}elseif(isset($_GET["edit"])){$a=$_GET["edit"];$p=fields($a);$Z=(isset($_GET["select"])?($_POST["check"]&&count($_POST["check"])==1?where_check($_POST["check"][0],$p):""):where($_GET,$p));$Di=(isset($_GET["select"])?$_POST["edit"]:$Z);foreach($p
+as$C=>$o){if(!isset($o["privileges"][$Di?"update":"insert"])||$b->fieldName($o)=="")unset($p[$C]);}if($_POST&&!$n&&!isset($_GET["select"])){$A=$_POST["referer"];if($_POST["insert"])$A=($Di?null:$_SERVER["REQUEST_URI"]);elseif(!preg_match('~^.+&select=.+$~',$A))$A=ME."select=".urlencode($a);$w=indexes($a);$zi=unique_array($_GET["where"],$w);$rg="\nWHERE $Z";if(isset($_POST["delete"]))queries_redirect($A,'Item has been deleted.',$m->delete($a,$rg,!$zi));else{$O=array();foreach($p
+as$C=>$o){$X=process_input($o);if($X!==false&&$X!==null)$O[idf_escape($C)]=$X;}if($Di){if(!$O)redirect($A);queries_redirect($A,'Item has been updated.',$m->update($a,$O,$rg,!$zi));if(is_ajax()){page_headers();page_messages($n);exit;}}else{$H=$m->insert($a,$O);$le=($H?last_id():0);queries_redirect($A,sprintf('Item%s has been inserted.',($le?" $le":"")),$H);}}}$J=null;if($_POST["save"])$J=(array)$_POST["fields"];elseif($Z){$L=array();foreach($p
+as$C=>$o){if(isset($o["privileges"]["select"])){$Ga=convert_field($o);if($_POST["clone"]&&$o["auto_increment"])$Ga="''";if($x=="sql"&&preg_match("~enum|set~",$o["type"]))$Ga="1*".idf_escape($C);$L[]=($Ga?"$Ga AS ":"").idf_escape($C);}}$J=array();if(!support("table"))$L=array("*");if($L){$H=$m->select($a,$L,array($Z),$L,array(),(isset($_GET["select"])?2:1));if(!$H)$n=error();else{$J=$H->fetch_assoc();if(!$J)$J=false;}if(isset($_GET["select"])&&(!$J||$H->fetch_assoc()))$J=null;}}if(!support("table")&&!$p){if(!$Z){$H=$m->select($a,array("*"),$Z,array("*"));$J=($H?$H->fetch_assoc():false);if(!$J)$J=array($m->primary=>"");}if($J){foreach($J
+as$y=>$X){if(!$Z)$J[$y]=null;$p[$y]=array("field"=>$y,"null"=>($y!=$m->primary),"auto_increment"=>($y==$m->primary));}}}edit_form($a,$p,$J,$Di);}elseif(isset($_GET["create"])){$a=$_GET["create"];$Mf=array();foreach(array('HASH','LINEAR HASH','KEY','LINEAR KEY','RANGE','LIST')as$y)$Mf[$y]=$y;$zg=referencable_primary($a);$dd=array();foreach($zg
+as$Ih=>$o)$dd[str_replace("`","``",$Ih)."`".str_replace("`","``",$o["field"])]=$Ih;$_f=array();$S=array();if($a!=""){$_f=fields($a);$S=table_status($a);if(!$S)$n='No tables.';}$J=$_POST;$J["fields"]=(array)$J["fields"];if($J["auto_increment_col"])$J["fields"][$J["auto_increment_col"]]["auto_increment"]=true;if($_POST&&!process_fields($J["fields"])&&!$n){if($_POST["drop"])queries_redirect(substr(ME,0,-1),'Table has been dropped.',drop_tables(array($a)));else{$p=array();$Da=array();$Ii=false;$bd=array();$zf=reset($_f);$Aa=" FIRST";foreach($J["fields"]as$y=>$o){$q=$dd[$o["type"]];$ui=($q!==null?$zg[$q]:$o);if($o["field"]!=""){if(!$o["has_default"])$o["default"]=null;if($y==$J["auto_increment_col"])$o["auto_increment"]=true;$lg=process_field($o,$ui);$Da[]=array($o["orig"],$lg,$Aa);if($lg!=process_field($zf,$zf)){$p[]=array($o["orig"],$lg,$Aa);if($o["orig"]!=""||$Aa)$Ii=true;}if($q!==null)$bd[idf_escape($o["field"])]=($a!=""&&$x!="sqlite"?"ADD":" ").format_foreign_key(array('table'=>$dd[$o["type"]],'source'=>array($o["field"]),'target'=>array($ui["field"]),'on_delete'=>$o["on_delete"],));$Aa=" AFTER ".idf_escape($o["field"]);}elseif($o["orig"]!=""){$Ii=true;$p[]=array($o["orig"]);}if($o["orig"]!=""){$zf=next($_f);if(!$zf)$Aa="";}}$Of="";if($Mf[$J["partition_by"]]){$Pf=array();if($J["partition_by"]=='RANGE'||$J["partition_by"]=='LIST'){foreach(array_filter($J["partition_names"])as$y=>$X){$Y=$J["partition_values"][$y];$Pf[]="\n PARTITION ".idf_escape($X)." VALUES ".($J["partition_by"]=='RANGE'?"LESS THAN":"IN").($Y!=""?" ($Y)":" MAXVALUE");}}$Of.="\nPARTITION BY $J[partition_by]($J[partition])".($Pf?" (".implode(",",$Pf)."\n)":($J["partitions"]?" PARTITIONS ".(+$J["partitions"]):""));}elseif(support("partitioning")&&preg_match("~partitioned~",$S["Create_options"]))$Of.="\nREMOVE PARTITIONING";$He='Table has been altered.';if($a==""){cookie("adminer_engine",$J["Engine"]);$He='Table has been created.';}$C=trim($J["name"]);queries_redirect(ME.(support("table")?"table=":"select=").urlencode($C),$He,alter_table($a,$C,($x=="sqlite"&&($Ii||$bd)?$Da:$p),$bd,($J["Comment"]!=$S["Comment"]?$J["Comment"]:null),($J["Engine"]&&$J["Engine"]!=$S["Engine"]?$J["Engine"]:""),($J["Collation"]&&$J["Collation"]!=$S["Collation"]?$J["Collation"]:""),($J["Auto_increment"]!=""?number($J["Auto_increment"]):""),$Of));}}page_header(($a!=""?'Alter table':'Create table'),$n,array("table"=>$a),h($a));if(!$_POST){$J=array("Engine"=>$_COOKIE["adminer_engine"],"fields"=>array(array("field"=>"","type"=>(isset($wi["int"])?"int":(isset($wi["integer"])?"integer":"")),"on_update"=>"")),"partition_names"=>array(""),);if($a!=""){$J=$S;$J["name"]=$a;$J["fields"]=array();if(!$_GET["auto_increment"])$J["Auto_increment"]="";foreach($_f
+as$o){$o["has_default"]=isset($o["default"]);$J["fields"][]=$o;}if(support("partitioning")){$id="FROM information_schema.PARTITIONS WHERE TABLE_SCHEMA = ".q(DB)." AND TABLE_NAME = ".q($a);$H=$g->query("SELECT PARTITION_METHOD, PARTITION_ORDINAL_POSITION, PARTITION_EXPRESSION $id ORDER BY PARTITION_ORDINAL_POSITION DESC LIMIT 1");list($J["partition_by"],$J["partitions"],$J["partition"])=$H->fetch_row();$Pf=get_key_vals("SELECT PARTITION_NAME, PARTITION_DESCRIPTION $id AND PARTITION_NAME != '' ORDER BY PARTITION_ORDINAL_POSITION");$Pf[""]="";$J["partition_names"]=array_keys($Pf);$J["partition_values"]=array_values($Pf);}}}$ob=collations();$uc=engines();foreach($uc
+as$tc){if(!strcasecmp($tc,$J["Engine"])){$J["Engine"]=$tc;break;}}echo'
+
+',script("qs('#form')['defaults'].onclick();".(support("comment")?" editingCommentsClick.call(qs('#form')['comments']);":""));}elseif(isset($_GET["indexes"])){$a=$_GET["indexes"];$Gd=array("PRIMARY","UNIQUE","INDEX");$S=table_status($a,true);if(preg_match('~MyISAM|M?aria'.(min_version(5.6,'10.0.5')?'|InnoDB':'').'~i',$S["Engine"]))$Gd[]="FULLTEXT";if(preg_match('~MyISAM|M?aria'.(min_version(5.7,'10.2.2')?'|InnoDB':'').'~i',$S["Engine"]))$Gd[]="SPATIAL";$w=indexes($a);$eg=array();if($x=="mongo"){$eg=$w["_id_"];unset($Gd[0]);unset($w["_id_"]);}$J=$_POST;if($_POST&&!$n&&!$_POST["add"]&&!$_POST["drop_col"]){$c=array();foreach($J["indexes"]as$v){$C=$v["name"];if(in_array($v["type"],$Gd)){$f=array();$re=array();$Wb=array();$O=array();ksort($v["columns"]);foreach($v["columns"]as$y=>$e){if($e!=""){$qe=$v["lengths"][$y];$Vb=$v["descs"][$y];$O[]=idf_escape($e).($qe?"(".(+$qe).")":"").($Vb?" DESC":"");$f[]=$e;$re[]=($qe?$qe:null);$Wb[]=$Vb;}}if($f){$Cc=$w[$C];if($Cc){ksort($Cc["columns"]);ksort($Cc["lengths"]);ksort($Cc["descs"]);if($v["type"]==$Cc["type"]&&array_values($Cc["columns"])===$f&&(!$Cc["lengths"]||array_values($Cc["lengths"])===$re)&&array_values($Cc["descs"])===$Wb){unset($w[$C]);continue;}}$c[]=array($v["type"],$C,$O);}}}foreach($w
+as$C=>$Cc)$c[]=array($Cc["type"],$C,"DROP");if(!$c)redirect(ME."table=".urlencode($a));queries_redirect(ME."table=".urlencode($a),'Indexes have been altered.',alter_indexes($a,$c));}page_header('Indexes',$n,array("table"=>$a),h($a));$p=array_keys(fields($a));if($_POST["add"]){foreach($J["indexes"]as$y=>$v){if($v["columns"][count($v["columns"])]!="")$J["indexes"][$y]["columns"][]="";}$v=end($J["indexes"]);if($v["type"]||array_filter($v["columns"],'strlen'))$J["indexes"][]=array("columns"=>array(1=>""));}if(!$J){foreach($w
+as$y=>$v){$w[$y]["name"]=$y;$w[$y]["columns"][]="";}$w[]=array("columns"=>array(1=>""));$J["indexes"]=$w;}echo'
+
+';}elseif(isset($_GET["database"])){$J=$_POST;if($_POST&&!$n&&!isset($_POST["add_x"])){$C=trim($J["name"]);if($_POST["drop"]){$_GET["db"]="";queries_redirect(remove_from_uri("db|database"),'Database has been dropped.',drop_databases(array(DB)));}elseif(DB!==$C){if(DB!=""){$_GET["db"]=$C;queries_redirect(preg_replace('~\bdb=[^&]*&~','',ME)."db=".urlencode($C),'Database has been renamed.',rename_database($C,$J["collation"]));}else{$k=explode("\n",str_replace("\r","",$C));$Ch=true;$ke="";foreach($k
+as$l){if(count($k)==1||$l!=""){if(!create_database($l,$J["collation"]))$Ch=false;$ke=$l;}}restart_session();set_session("dbs",null);queries_redirect(ME."db=".urlencode($ke),'Database has been created.',$Ch);}}else{if(!$J["collation"])redirect(substr(ME,0,-1));query_redirect("ALTER DATABASE ".idf_escape($C).(preg_match('~^[a-z0-9_]+$~i',$J["collation"])?" COLLATE $J[collation]":""),substr(ME,0,-1),'Database has been altered.');}}page_header(DB!=""?'Alter database':'Create database',$n,array(),h(DB));$ob=collations();$C=DB;if($_POST)$C=$J["name"];elseif(DB!="")$J["collation"]=db_collation(DB,$ob);elseif($x=="sql"){foreach(get_vals("SHOW GRANTS")as$kd){if(preg_match('~ ON (`(([^\\\\`]|``|\\\\.)*)%`\.\*)?~',$kd,$B)&&$B[1]){$C=stripcslashes(idf_unescape("`$B[2]`"));break;}}}echo'
+
+';}elseif(isset($_GET["scheme"])){$J=$_POST;if($_POST&&!$n){$_=preg_replace('~ns=[^&]*&~','',ME)."ns=";if($_POST["drop"])query_redirect("DROP SCHEMA ".idf_escape($_GET["ns"]),$_,'Schema has been dropped.');else{$C=trim($J["name"]);$_.=urlencode($C);if($_GET["ns"]=="")query_redirect("CREATE SCHEMA ".idf_escape($C),$_,'Schema has been created.');elseif($_GET["ns"]!=$C)query_redirect("ALTER SCHEMA ".idf_escape($_GET["ns"])." RENAME TO ".idf_escape($C),$_,'Schema has been altered.');else
+redirect($_);}}page_header($_GET["ns"]!=""?'Alter schema':'Create schema',$n);if(!$J)$J["name"]=$_GET["ns"];echo'
+
+';}elseif(isset($_GET["call"])){$da=($_GET["name"]?$_GET["name"]:$_GET["call"]);page_header('Call'.": ".h($da),$n);$Og=routine($_GET["call"],(isset($_GET["callf"])?"FUNCTION":"PROCEDURE"));$Ed=array();$Df=array();foreach($Og["fields"]as$s=>$o){if(substr($o["inout"],-3)=="OUT")$Df[$s]="@".idf_escape($o["field"])." AS ".idf_escape($o["field"]);if(!$o["inout"]||substr($o["inout"],0,2)=="IN")$Ed[]=$s;}if(!$n&&$_POST){$Za=array();foreach($Og["fields"]as$y=>$o){if(in_array($y,$Ed)){$X=process_input($o);if($X===false)$X="''";if(isset($Df[$y]))$g->query("SET @".idf_escape($o["field"])." = $X");}$Za[]=(isset($Df[$y])?"@".idf_escape($o["field"]):$X);}$G=(isset($_GET["callf"])?"SELECT":"CALL")." ".table($da)."(".implode(", ",$Za).")";$xh=microtime(true);$H=$g->multi_query($G);$za=$g->affected_rows;echo$b->selectQuery($G,$xh,!$H);if(!$H)echo"".error()."\n";else{$h=connect();if(is_object($h))$h->select_db(DB);do{$H=$g->store_result();if(is_object($H))select($H,$h);else
+echo" ".lang(array('Routine has been called, %d row affected.','Routine has been called, %d rows affected.'),$za)."\n";}while($g->next_result());if($Df)select($g->query("SELECT ".implode(", ",$Df)));}}echo'
+
+';}elseif(isset($_GET["foreign"])){$a=$_GET["foreign"];$C=$_GET["name"];$J=$_POST;if($_POST&&!$n&&!$_POST["add"]&&!$_POST["change"]&&!$_POST["change-js"]){$He=($_POST["drop"]?'Foreign key has been dropped.':($C!=""?'Foreign key has been altered.':'Foreign key has been created.'));$A=ME."table=".urlencode($a);if(!$_POST["drop"]){$J["source"]=array_filter($J["source"],'strlen');ksort($J["source"]);$Qh=array();foreach($J["source"]as$y=>$X)$Qh[$y]=$J["target"][$y];$J["target"]=$Qh;}if($x=="sqlite")queries_redirect($A,$He,recreate_table($a,$a,array(),array(),array(" $C"=>($_POST["drop"]?"":" ".format_foreign_key($J)))));else{$c="ALTER TABLE ".table($a);$ec="\nDROP ".($x=="sql"?"FOREIGN KEY ":"CONSTRAINT ").idf_escape($C);if($_POST["drop"])query_redirect($c.$ec,$A,$He);else{query_redirect($c.($C!=""?"$ec,":"")."\nADD".format_foreign_key($J),$A,$He);$n='Source and target columns must have the same data type, there must be an index on the target columns and referenced data must exist.'." $n";}}}page_header('Foreign key',$n,array("table"=>$a),h($a));if($_POST){ksort($J["source"]);if($_POST["add"])$J["source"][]="";elseif($_POST["change"]||$_POST["change-js"])$J["target"]=array();}elseif($C!=""){$dd=foreign_keys($a);$J=$dd[$C];$J["source"][]="";}else{$J["table"]=$a;$J["source"]=array("");}$ph=array_keys(fields($a));$Qh=($a===$J["table"]?$ph:array_keys(fields($J["table"])));$yg=array_keys(array_filter(table_status('',true),'fk_support'));echo'
+
+';}elseif(isset($_GET["view"])){$a=$_GET["view"];$J=$_POST;$Af="VIEW";if($x=="pgsql"&&$a!=""){$P=table_status($a);$Af=strtoupper($P["Engine"]);}if($_POST&&!$n){$C=trim($J["name"]);$Ga=" AS\n$J[select]";$A=ME."table=".urlencode($C);$He='View has been altered.';$U=($_POST["materialized"]?"MATERIALIZED VIEW":"VIEW");if(!$_POST["drop"]&&$a==$C&&$x!="sqlite"&&$U=="VIEW"&&$Af=="VIEW")query_redirect(($x=="mssql"?"ALTER":"CREATE OR REPLACE")." VIEW ".table($C).$Ga,$A,$He);else{$Sh=$C."_adminer_".uniqid();drop_create("DROP $Af ".table($a),"CREATE $U ".table($C).$Ga,"DROP $U ".table($C),"CREATE $U ".table($Sh).$Ga,"DROP $U ".table($Sh),($_POST["drop"]?substr(ME,0,-1):$A),'View has been dropped.',$He,'View has been created.',$a,$C);}}if(!$_POST&&$a!=""){$J=view($a);$J["name"]=$a;$J["materialized"]=($Af!="VIEW");if(!$n)$n=error();}page_header(($a!=""?'Alter view':'Create view'),$n,array("table"=>$a),h($a));echo'
+
+';}elseif(isset($_GET["event"])){$aa=$_GET["event"];$Rd=array("YEAR","QUARTER","MONTH","DAY","HOUR","MINUTE","WEEK","SECOND","YEAR_MONTH","DAY_HOUR","DAY_MINUTE","DAY_SECOND","HOUR_MINUTE","HOUR_SECOND","MINUTE_SECOND");$zh=array("ENABLED"=>"ENABLE","DISABLED"=>"DISABLE","SLAVESIDE_DISABLED"=>"DISABLE ON SLAVE");$J=$_POST;if($_POST&&!$n){if($_POST["drop"])query_redirect("DROP EVENT ".idf_escape($aa),substr(ME,0,-1),'Event has been dropped.');elseif(in_array($J["INTERVAL_FIELD"],$Rd)&&isset($zh[$J["STATUS"]])){$Tg="\nON SCHEDULE ".($J["INTERVAL_VALUE"]?"EVERY ".q($J["INTERVAL_VALUE"])." $J[INTERVAL_FIELD]".($J["STARTS"]?" STARTS ".q($J["STARTS"]):"").($J["ENDS"]?" ENDS ".q($J["ENDS"]):""):"AT ".q($J["STARTS"]))." ON COMPLETION".($J["ON_COMPLETION"]?"":" NOT")." PRESERVE";queries_redirect(substr(ME,0,-1),($aa!=""?'Event has been altered.':'Event has been created.'),queries(($aa!=""?"ALTER EVENT ".idf_escape($aa).$Tg.($aa!=$J["EVENT_NAME"]?"\nRENAME TO ".idf_escape($J["EVENT_NAME"]):""):"CREATE EVENT ".idf_escape($J["EVENT_NAME"]).$Tg)."\n".$zh[$J["STATUS"]]." COMMENT ".q($J["EVENT_COMMENT"]).rtrim(" DO\n$J[EVENT_DEFINITION]",";").";"));}}page_header(($aa!=""?'Alter event'.": ".h($aa):'Create event'),$n);if(!$J&&$aa!=""){$K=get_rows("SELECT * FROM information_schema.EVENTS WHERE EVENT_SCHEMA = ".q(DB)." AND EVENT_NAME = ".q($aa));$J=reset($K);}echo'
+
+';}elseif(isset($_GET["procedure"])){$da=($_GET["name"]?$_GET["name"]:$_GET["procedure"]);$Og=(isset($_GET["function"])?"FUNCTION":"PROCEDURE");$J=$_POST;$J["fields"]=(array)$J["fields"];if($_POST&&!process_fields($J["fields"])&&!$n){$yf=routine($_GET["procedure"],$Og);$Sh="$J[name]_adminer_".uniqid();drop_create("DROP $Og ".routine_id($da,$yf),create_routine($Og,$J),"DROP $Og ".routine_id($J["name"],$J),create_routine($Og,array("name"=>$Sh)+$J),"DROP $Og ".routine_id($Sh,$J),substr(ME,0,-1),'Routine has been dropped.','Routine has been altered.','Routine has been created.',$da,$J["name"]);}page_header(($da!=""?(isset($_GET["function"])?'Alter function':'Alter procedure').": ".h($da):(isset($_GET["function"])?'Create function':'Create procedure')),$n);if(!$_POST&&$da!=""){$J=routine($_GET["procedure"],$Og);$J["name"]=$da;}$ob=get_vals("SHOW CHARACTER SET");sort($ob);$Pg=routine_languages();echo'
+
+';}elseif(isset($_GET["sequence"])){$fa=$_GET["sequence"];$J=$_POST;if($_POST&&!$n){$_=substr(ME,0,-1);$C=trim($J["name"]);if($_POST["drop"])query_redirect("DROP SEQUENCE ".idf_escape($fa),$_,'Sequence has been dropped.');elseif($fa=="")query_redirect("CREATE SEQUENCE ".idf_escape($C),$_,'Sequence has been created.');elseif($fa!=$C)query_redirect("ALTER SEQUENCE ".idf_escape($fa)." RENAME TO ".idf_escape($C),$_,'Sequence has been altered.');else
+redirect($_);}page_header($fa!=""?'Alter sequence'.": ".h($fa):'Create sequence',$n);if(!$J)$J["name"]=$fa;echo'
+
+';}elseif(isset($_GET["type"])){$ga=$_GET["type"];$J=$_POST;if($_POST&&!$n){$_=substr(ME,0,-1);if($_POST["drop"])query_redirect("DROP TYPE ".idf_escape($ga),$_,'Type has been dropped.');else
+query_redirect("CREATE TYPE ".idf_escape(trim($J["name"]))." $J[as]",$_,'Type has been created.');}page_header($ga!=""?'Alter type'.": ".h($ga):'Create type',$n);if(!$J)$J["as"]="AS ";echo'
+
+';}elseif(isset($_GET["trigger"])){$a=$_GET["trigger"];$C=$_GET["name"];$si=trigger_options();$J=(array)trigger($C)+array("Trigger"=>$a."_bi");if($_POST){if(!$n&&in_array($_POST["Timing"],$si["Timing"])&&in_array($_POST["Event"],$si["Event"])&&in_array($_POST["Type"],$si["Type"])){$jf=" ON ".table($a);$ec="DROP TRIGGER ".idf_escape($C).($x=="pgsql"?$jf:"");$A=ME."table=".urlencode($a);if($_POST["drop"])query_redirect($ec,$A,'Trigger has been dropped.');else{if($C!="")queries($ec);queries_redirect($A,($C!=""?'Trigger has been altered.':'Trigger has been created.'),queries(create_trigger($jf,$_POST)));if($C!="")queries(create_trigger($jf,$J+array("Type"=>reset($si["Type"]))));}}$J=$_POST;}page_header(($C!=""?'Alter trigger'.": ".h($C):'Create trigger'),$n,array("table"=>$a));echo'
+
+';}elseif(isset($_GET["user"])){$ha=$_GET["user"];$jg=array(""=>array("All privileges"=>""));foreach(get_rows("SHOW PRIVILEGES")as$J){foreach(explode(",",($J["Privilege"]=="Grant option"?"":$J["Context"]))as$_b)$jg[$_b][$J["Privilege"]]=$J["Comment"];}$jg["Server Admin"]+=$jg["File access on server"];$jg["Databases"]["Create routine"]=$jg["Procedures"]["Create routine"];unset($jg["Procedures"]["Create routine"]);$jg["Columns"]=array();foreach(array("Select","Insert","Update","References")as$X)$jg["Columns"][$X]=$jg["Tables"][$X];unset($jg["Server Admin"]["Usage"]);foreach($jg["Tables"]as$y=>$X)unset($jg["Databases"][$y]);$Ue=array();if($_POST){foreach($_POST["objects"]as$y=>$X)$Ue[$X]=(array)$Ue[$X]+(array)$_POST["grants"][$y];}$ld=array();$hf="";if(isset($_GET["host"])&&($H=$g->query("SHOW GRANTS FOR ".q($ha)."@".q($_GET["host"])))){while($J=$H->fetch_row()){if(preg_match('~GRANT (.*) ON (.*) TO ~',$J[0],$B)&&preg_match_all('~ *([^(,]*[^ ,(])( *\([^)]+\))?~',$B[1],$_e,PREG_SET_ORDER)){foreach($_e
+as$X){if($X[1]!="USAGE")$ld["$B[2]$X[2]"][$X[1]]=true;if(preg_match('~ WITH GRANT OPTION~',$J[0]))$ld["$B[2]$X[2]"]["GRANT OPTION"]=true;}}if(preg_match("~ IDENTIFIED BY PASSWORD '([^']+)~",$J[0],$B))$hf=$B[1];}}if($_POST&&!$n){$if=(isset($_GET["host"])?q($ha)."@".q($_GET["host"]):"''");if($_POST["drop"])query_redirect("DROP USER $if",ME."privileges=",'User has been dropped.');else{$We=q($_POST["user"])."@".q($_POST["host"]);$Rf=$_POST["pass"];if($Rf!=''&&!$_POST["hashed"]){$Rf=$g->result("SELECT PASSWORD(".q($Rf).")");$n=!$Rf;}$Eb=false;if(!$n){if($if!=$We){$Eb=queries((min_version(5)?"CREATE USER":"GRANT USAGE ON *.* TO")." $We IDENTIFIED BY PASSWORD ".q($Rf));$n=!$Eb;}elseif($Rf!=$hf)queries("SET PASSWORD FOR $We = ".q($Rf));}if(!$n){$Lg=array();foreach($Ue
+as$cf=>$kd){if(isset($_GET["grant"]))$kd=array_filter($kd);$kd=array_keys($kd);if(isset($_GET["grant"]))$Lg=array_diff(array_keys(array_filter($Ue[$cf],'strlen')),$kd);elseif($if==$We){$ff=array_keys((array)$ld[$cf]);$Lg=array_diff($ff,$kd);$kd=array_diff($kd,$ff);unset($ld[$cf]);}if(preg_match('~^(.+)\s*(\(.*\))?$~U',$cf,$B)&&(!grant("REVOKE",$Lg,$B[2]," ON $B[1] FROM $We")||!grant("GRANT",$kd,$B[2]," ON $B[1] TO $We"))){$n=true;break;}}}if(!$n&&isset($_GET["host"])){if($if!=$We)queries("DROP USER $if");elseif(!isset($_GET["grant"])){foreach($ld
+as$cf=>$Lg){if(preg_match('~^(.+)(\(.*\))?$~U',$cf,$B))grant("REVOKE",array_keys($Lg),$B[2]," ON $B[1] FROM $We");}}}queries_redirect(ME."privileges=",(isset($_GET["host"])?'User has been altered.':'User has been created.'),!$n);if($Eb)$g->query("DROP USER $We");}}page_header((isset($_GET["host"])?'Username'.": ".h("$ha@$_GET[host]"):'Create user'),$n,array("privileges"=>array('','Privileges')));if($_POST){$J=$_POST;$ld=$Ue;}else{$J=$_GET+array("host"=>$g->result("SELECT SUBSTRING_INDEX(CURRENT_USER, '@', -1)"));$J["pass"]=$hf;if($hf!="")$J["hashed"]=true;$ld[(DB==""||$ld?"":idf_escape(addcslashes(DB,"%_\\"))).".*"]=array();}echo'
+';}elseif(isset($_GET["processlist"])){if(support("kill")&&$_POST&&!$n){$ge=0;foreach((array)$_POST["kill"]as$X){if(kill_process($X))$ge++;}queries_redirect(ME."processlist=",lang(array('%d process has been killed.','%d processes have been killed.'),$ge),$ge||!$_POST["kill"]);}page_header('Process list',$n);echo'
+
+',script("tableCheck();");}elseif(isset($_GET["select"])){$a=$_GET["select"];$S=table_status1($a);$w=indexes($a);$p=fields($a);$dd=column_foreign_keys($a);$ef=$S["Oid"];parse_str($_COOKIE["adminer_import"],$ya);$Mg=array();$f=array();$Wh=null;foreach($p
+as$y=>$o){$C=$b->fieldName($o);if(isset($o["privileges"]["select"])&&$C!=""){$f[$y]=html_entity_decode(strip_tags($C),ENT_QUOTES);if(is_shortable($o))$Wh=$b->selectLengthProcess();}$Mg+=$o["privileges"];}list($L,$md)=$b->selectColumnsProcess($f,$w);$Vd=count($md)selectSearchProcess($p,$w);$uf=$b->selectOrderProcess($p,$w);$z=$b->selectLimitProcess();if($_GET["val"]&&is_ajax()){header("Content-Type: text/plain; charset=utf-8");foreach($_GET["val"]as$_i=>$J){$Ga=convert_field($p[key($J)]);$L=array($Ga?$Ga:idf_escape(key($J)));$Z[]=where_check($_i,$p);$I=$m->select($a,$L,$Z,$L);if($I)echo
+reset($I->fetch_row());}exit;}$eg=$Bi=null;foreach($w
+as$v){if($v["type"]=="PRIMARY"){$eg=array_flip($v["columns"]);$Bi=($L?$eg:array());foreach($Bi
+as$y=>$X){if(in_array(idf_escape($y),$L))unset($Bi[$y]);}break;}}if($ef&&!$eg){$eg=$Bi=array($ef=>0);$w[]=array("type"=>"PRIMARY","columns"=>array($ef));}if($_POST&&!$n){$cj=$Z;if(!$_POST["all"]&&is_array($_POST["check"])){$fb=array();foreach($_POST["check"]as$cb)$fb[]=where_check($cb,$p);$cj[]="((".implode(") OR (",$fb)."))";}$cj=($cj?"\nWHERE ".implode(" AND ",$cj):"");if($_POST["export"]){cookie("adminer_import","output=".urlencode($_POST["output"])."&format=".urlencode($_POST["format"]));dump_headers($a);$b->dumpTable($a,"");$id=($L?implode(", ",$L):"*").convert_fields($f,$p,$L)."\nFROM ".table($a);$od=($md&&$Vd?"\nGROUP BY ".implode(", ",$md):"").($uf?"\nORDER BY ".implode(", ",$uf):"");if(!is_array($_POST["check"])||$eg)$G="SELECT $id$cj$od";else{$yi=array();foreach($_POST["check"]as$X)$yi[]="(SELECT".limit($id,"\nWHERE ".($Z?implode(" AND ",$Z)." AND ":"").where_check($X,$p).$od,1).")";$G=implode(" UNION ALL ",$yi);}$b->dumpData($a,"table",$G);exit;}if(!$b->selectEmailProcess($Z,$dd)){if($_POST["save"]||$_POST["delete"]){$H=true;$za=0;$O=array();if(!$_POST["delete"]){foreach($f
+as$C=>$X){$X=process_input($p[$C]);if($X!==null&&($_POST["clone"]||$X!==false))$O[idf_escape($C)]=($X!==false?$X:idf_escape($C));}}if($_POST["delete"]||$O){if($_POST["clone"])$G="INTO ".table($a)." (".implode(", ",array_keys($O)).")\nSELECT ".implode(", ",$O)."\nFROM ".table($a);if($_POST["all"]||($eg&&is_array($_POST["check"]))||$Vd){$H=($_POST["delete"]?$m->delete($a,$cj):($_POST["clone"]?queries("INSERT $G$cj"):$m->update($a,$O,$cj)));$za=$g->affected_rows;}else{foreach((array)$_POST["check"]as$X){$Yi="\nWHERE ".($Z?implode(" AND ",$Z)." AND ":"").where_check($X,$p);$H=($_POST["delete"]?$m->delete($a,$Yi,1):($_POST["clone"]?queries("INSERT".limit1($a,$G,$Yi)):$m->update($a,$O,$Yi,1)));if(!$H)break;$za+=$g->affected_rows;}}}$He=lang(array('%d item has been affected.','%d items have been affected.'),$za);if($_POST["clone"]&&$H&&$za==1){$le=last_id();if($le)$He=sprintf('Item%s has been inserted.'," $le");}queries_redirect(remove_from_uri($_POST["all"]&&$_POST["delete"]?"page":""),$He,$H);if(!$_POST["delete"]){edit_form($a,$p,(array)$_POST["fields"],!$_POST["clone"]);page_footer();exit;}}elseif(!$_POST["import"]){if(!$_POST["val"])$n='Ctrl+click on a value to modify it.';else{$H=true;$za=0;foreach($_POST["val"]as$_i=>$J){$O=array();foreach($J
+as$y=>$X){$y=bracket_escape($y,1);$O[idf_escape($y)]=(preg_match('~char|text~',$p[$y]["type"])||$X!=""?$b->processInput($p[$y],$X):"NULL");}$H=$m->update($a,$O," WHERE ".($Z?implode(" AND ",$Z)." AND ":"").where_check($_i,$p),!$Vd&&!$eg," ");if(!$H)break;$za+=$g->affected_rows;}queries_redirect(remove_from_uri(),lang(array('%d item has been affected.','%d items have been affected.'),$za),$H);}}elseif(!is_string($Sc=get_file("csv_file",true)))$n=upload_error($Sc);elseif(!preg_match('~~u',$Sc))$n='File must be in UTF-8 encoding.';else{cookie("adminer_import","output=".urlencode($ya["output"])."&format=".urlencode($_POST["separator"]));$H=true;$qb=array_keys($p);preg_match_all('~(?>"[^"]*"|[^"\r\n]+)+~',$Sc,$_e);$za=count($_e[0]);$m->begin();$M=($_POST["separator"]=="csv"?",":($_POST["separator"]=="tsv"?"\t":";"));$K=array();foreach($_e[0]as$y=>$X){preg_match_all("~((?>\"[^\"]*\")+|[^$M]*)$M~",$X.$M,$Ae);if(!$y&&!array_diff($Ae[1],$qb)){$qb=$Ae[1];$za--;}else{$O=array();foreach($Ae[1]as$s=>$mb)$O[idf_escape($qb[$s])]=($mb==""&&$p[$qb[$s]]["null"]?"NULL":q(str_replace('""','"',preg_replace('~^"|"$~','',$mb))));$K[]=$O;}}$H=(!$K||$m->insertUpdate($a,$K,$eg));if($H)$H=$m->commit();queries_redirect(remove_from_uri("page"),lang(array('%d row has been imported.','%d rows have been imported.'),$za),$H);$m->rollback();}}}$Ih=$b->tableName($S);if(is_ajax()){page_headers();ob_start();}else
+page_header('Select'.": $Ih",$n);$O=null;if(isset($Mg["insert"])||!support("table")){$O="";foreach((array)$_GET["where"]as$X){if($dd[$X["col"]]&&count($dd[$X["col"]])==1&&($X["op"]=="="||(!$X["op"]&&!preg_match('~[_%]~',$X["val"]))))$O.="&set".urlencode("[".bracket_escape($X["col"])."]")."=".urlencode($X["val"]);}}$b->selectLinks($S,$O);if(!$f&&support("table"))echo"".'Unable to select the table'.($p?".":": ".error())."\n";else{echo" \n";$E=$_GET["page"];if($E=="last"){$gd=$g->result(count_rows($a,$Z,$Vd,$md));$E=floor(max(0,$gd-1)/$z);}$Yg=$L;$nd=$md;if(!$Yg){$Yg[]="*";$Ab=convert_fields($f,$p,$L);if($Ab)$Yg[]=substr($Ab,2);}foreach($L
+as$y=>$X){$o=$p[idf_unescape($X)];if($o&&($Ga=convert_field($o)))$Yg[$y]="$Ga AS $X";}if(!$Vd&&$Bi){foreach($Bi
+as$y=>$X){$Yg[]=idf_escape($y);if($nd)$nd[]=idf_escape($y);}}$H=$m->select($a,$Yg,$Z,$nd,$uf,$z,$E,true);if(!$H)echo"".error()."\n";else{if($x=="mssql"&&$E)$H->seek($z*$E);$rc=array();echo" \n",(!$md&&$L?"":script("tableCheck();"));}}}if(is_ajax()){ob_end_clean();exit;}}elseif(isset($_GET["variables"])){$P=isset($_GET["status"]);page_header($P?'Status':'Variables');$Pi=($P?show_status():show_variables());if(!$Pi)echo"".'No rows.'."\n";else{echo" \n";foreach($Pi
+as$y=>$X){echo"","".h($y).""," | ".h($X);}echo" | \n";}}elseif(isset($_GET["script"])){header("Content-Type: text/javascript; charset=utf-8");if($_GET["script"]=="db"){$Fh=array("Data_length"=>0,"Index_length"=>0,"Data_free"=>0);foreach(table_status()as$C=>$S){json_row("Comment-$C",h($S["Comment"]));if(!is_view($S)){foreach(array("Engine","Collation")as$y)json_row("$y-$C",h($S[$y]));foreach($Fh+array("Auto_increment"=>0,"Rows"=>0)as$y=>$X){if($S[$y]!=""){$X=format_number($S[$y]);json_row("$y-$C",($y=="Rows"&&$X&&$S["Engine"]==($sh=="pgsql"?"table":"InnoDB")?"~ $X":$X));if(isset($Fh[$y]))$Fh[$y]+=($S["Engine"]!="InnoDB"||$y!="Data_free"?$S[$y]:0);}elseif(array_key_exists($y,$S))json_row("$y-$C");}}}foreach($Fh
+as$y=>$X)json_row("sum-$y",format_number($X));json_row("");}elseif($_GET["script"]=="kill")$g->query("KILL ".number($_POST["kill"]));else{foreach(count_tables($b->databases())as$l=>$X){json_row("tables-$l",$X);json_row("size-$l",db_size($l));}json_row("");}exit;}else{$Oh=array_merge((array)$_POST["tables"],(array)$_POST["views"]);if($Oh&&!$n&&!$_POST["search"]){$H=true;$He="";if($x=="sql"&&$_POST["tables"]&&count($_POST["tables"])>1&&($_POST["drop"]||$_POST["truncate"]||$_POST["copy"]))queries("SET foreign_key_checks = 0");if($_POST["truncate"]){if($_POST["tables"])$H=truncate_tables($_POST["tables"]);$He='Tables have been truncated.';}elseif($_POST["move"]){$H=move_tables((array)$_POST["tables"],(array)$_POST["views"],$_POST["target"]);$He='Tables have been moved.';}elseif($_POST["copy"]){$H=copy_tables((array)$_POST["tables"],(array)$_POST["views"],$_POST["target"]);$He='Tables have been copied.';}elseif($_POST["drop"]){if($_POST["views"])$H=drop_views($_POST["views"]);if($H&&$_POST["tables"])$H=drop_tables($_POST["tables"]);$He='Tables have been dropped.';}elseif($x!="sql"){$H=($x=="sqlite"?queries("VACUUM"):apply_queries("VACUUM".($_POST["optimize"]?"":" ANALYZE"),$_POST["tables"]));$He='Tables have been optimized.';}elseif(!$_POST["tables"])$He='No tables.';elseif($H=queries(($_POST["optimize"]?"OPTIMIZE":($_POST["check"]?"CHECK":($_POST["repair"]?"REPAIR":"ANALYZE")))." TABLE ".implode(", ",array_map('idf_escape',$_POST["tables"])))){while($J=$H->fetch_assoc())$He.="".h($J["Table"]).": ".h($J["Msg_text"])." ";}queries_redirect(substr(ME,0,-1),$He,$H);}page_header(($_GET["ns"]==""?'Database'.": ".h(DB):'Schema'.": ".h($_GET["ns"])),$n,true);if($b->homepage()){if($_GET["ns"]!==""){echo"".'Tables and views'."\n";$Nh=tables_list();if(!$Nh)echo"".'No tables.'."\n";else{echo" \n",script("tableCheck();");}echo''.'Create table'."\n",(support("view")?''.'Create view'."\n":"");if(support("routine")){echo" ".'Routines'."\n";$Qg=routines();if($Qg){echo"\n",'| '.'Name'.' | '.'Type'.' | '.'Return type'." | | \n";odd('');foreach($Qg
+as$J){$C=($J["SPECIFIC_NAME"]==$J["ROUTINE_NAME"]?"":"&name=".urlencode($J["ROUTINE_NAME"]));echo'','| '.h($J["ROUTINE_NAME"]).'',' | '.h($J["ROUTINE_TYPE"]),' | '.h($J["DTD_IDENTIFIER"]),' | '.'Alter'."";}echo" | \n";}echo''.(support("procedure")?''.'Create procedure'.'':'').''.'Create function'."\n";}if(support("sequence")){echo" ".'Sequences'."\n";$eh=get_vals("SELECT sequence_name FROM information_schema.sequences WHERE sequence_schema = current_schema() ORDER BY sequence_name");if($eh){echo"\n","| ".'Name'." | \n";odd('');foreach($eh
+as$X)echo"| ".h($X)."\n";echo" |
|---|
\n";}echo"".'Create sequence'."\n";}if(support("type")){echo" ".'User types'."\n";$Ki=types();if($Ki){echo"\n","| ".'Name'." | \n";odd('');foreach($Ki
+as$X)echo"| ".h($X)."\n";echo" |
|---|
\n";}echo"".'Create type'."\n";}if(support("event")){echo" ".'Events'."\n";$K=get_rows("SHOW EVENTS");if($K){echo"\n","| ".'Name'." | ".'Schedule'." | ".'Start'." | ".'End'." | | \n";foreach($K
+as$J){echo"","| ".h($J["Name"])," | ".($J["Execute at"]?'At given time'." | ".$J["Execute at"]:'Every'." ".$J["Interval value"]." ".$J["Interval field"]." | $J[Starts]")," | $J[Ends]",' | '.'Alter'.'';}echo" | \n";$zc=$g->result("SELECT @@event_scheduler");if($zc&&$zc!="ON")echo"event_scheduler: ".h($zc)."\n";}echo'
'.'Create event'."\n";}if($Nh)echo
+script("ajaxSetHtml('".js_escape(ME)."script=db');");}}}page_footer();
\ No newline at end of file
diff --git a/backup/public/bg-mobile.webp b/backup/public/bg-mobile.webp
new file mode 100644
index 0000000..91d6b06
Binary files /dev/null and b/backup/public/bg-mobile.webp differ
diff --git a/backup/public/credit.png b/backup/public/credit.png
new file mode 100644
index 0000000..f5ee023
Binary files /dev/null and b/backup/public/credit.png differ
diff --git a/backup/public/debit-card.png b/backup/public/debit-card.png
new file mode 100644
index 0000000..fde72e7
Binary files /dev/null and b/backup/public/debit-card.png differ
diff --git a/backup/public/dummy.jpg b/backup/public/dummy.jpg
new file mode 100644
index 0000000..d86a9f7
Binary files /dev/null and b/backup/public/dummy.jpg differ
diff --git a/backup/public/edit-house.gif b/backup/public/edit-house.gif
new file mode 100644
index 0000000..08b5c70
Binary files /dev/null and b/backup/public/edit-house.gif differ
diff --git a/backup/public/edit-user.gif b/backup/public/edit-user.gif
new file mode 100644
index 0000000..774750d
Binary files /dev/null and b/backup/public/edit-user.gif differ
diff --git a/backup/public/edit.gif b/backup/public/edit.gif
new file mode 100644
index 0000000..276fb2a
Binary files /dev/null and b/backup/public/edit.gif differ
diff --git a/backup/public/edit1.gif b/backup/public/edit1.gif
new file mode 100644
index 0000000..f0b137e
Binary files /dev/null and b/backup/public/edit1.gif differ
diff --git a/backup/public/favicon.ico b/backup/public/favicon.ico
new file mode 100644
index 0000000..e69de29
diff --git a/backup/public/helper.gif b/backup/public/helper.gif
new file mode 100644
index 0000000..22727dc
Binary files /dev/null and b/backup/public/helper.gif differ
diff --git a/backup/public/home.png b/backup/public/home.png
new file mode 100644
index 0000000..1cc034b
Binary files /dev/null and b/backup/public/home.png differ
diff --git a/backup/public/house-add.png b/backup/public/house-add.png
new file mode 100644
index 0000000..f45ca0c
Binary files /dev/null and b/backup/public/house-add.png differ
diff --git a/backup/public/house.gif b/backup/public/house.gif
new file mode 100644
index 0000000..5533ade
Binary files /dev/null and b/backup/public/house.gif differ
diff --git a/backup/public/house.png b/backup/public/house.png
new file mode 100644
index 0000000..dbe3595
Binary files /dev/null and b/backup/public/house.png differ
diff --git a/backup/public/house.svg b/backup/public/house.svg
new file mode 100644
index 0000000..77ac144
--- /dev/null
+++ b/backup/public/house.svg
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/backup/public/images/img.avif b/backup/public/images/img.avif
new file mode 100644
index 0000000..e48e859
Binary files /dev/null and b/backup/public/images/img.avif differ
diff --git a/backup/public/images/society-1.jpg b/backup/public/images/society-1.jpg
new file mode 100644
index 0000000..43c2bed
Binary files /dev/null and b/backup/public/images/society-1.jpg differ
diff --git a/backup/public/images/young-parents-bringing-children-grandparents-flat-vector-illustration_74855-16975.avif b/backup/public/images/young-parents-bringing-children-grandparents-flat-vector-illustration_74855-16975.avif
new file mode 100644
index 0000000..e48e859
Binary files /dev/null and b/backup/public/images/young-parents-bringing-children-grandparents-flat-vector-illustration_74855-16975.avif differ
diff --git a/backup/public/img1.avif b/backup/public/img1.avif
new file mode 100644
index 0000000..9f67495
Binary files /dev/null and b/backup/public/img1.avif differ
diff --git a/backup/public/img1.jpg b/backup/public/img1.jpg
new file mode 100644
index 0000000..9814242
Binary files /dev/null and b/backup/public/img1.jpg differ
diff --git a/backup/public/img2.avif b/backup/public/img2.avif
new file mode 100644
index 0000000..5dcc9a6
Binary files /dev/null and b/backup/public/img2.avif differ
diff --git a/backup/public/img3.avif b/backup/public/img3.avif
new file mode 100644
index 0000000..9526797
Binary files /dev/null and b/backup/public/img3.avif differ
diff --git a/backup/public/index.php b/backup/public/index.php
new file mode 100644
index 0000000..1d69f3a
--- /dev/null
+++ b/backup/public/index.php
@@ -0,0 +1,55 @@
+make(Kernel::class);
+
+$response = $kernel->handle(
+ $request = Request::capture()
+)->send();
+
+$kernel->terminate($request, $response);
diff --git a/backup/public/keys.jpg b/backup/public/keys.jpg
new file mode 100644
index 0000000..e433138
Binary files /dev/null and b/backup/public/keys.jpg differ
diff --git a/backup/public/loading.gif b/backup/public/loading.gif
new file mode 100644
index 0000000..a0b1a44
Binary files /dev/null and b/backup/public/loading.gif differ
diff --git a/backup/public/loading.jpg b/backup/public/loading.jpg
new file mode 100644
index 0000000..f2192c2
Binary files /dev/null and b/backup/public/loading.jpg differ
diff --git a/backup/public/login-bg.gif b/backup/public/login-bg.gif
new file mode 100644
index 0000000..15f4bd9
Binary files /dev/null and b/backup/public/login-bg.gif differ
diff --git a/backup/public/logo.png b/backup/public/logo.png
new file mode 100644
index 0000000..1edc37a
Binary files /dev/null and b/backup/public/logo.png differ
diff --git a/backup/public/logo1.png b/backup/public/logo1.png
new file mode 100644
index 0000000..385219b
Binary files /dev/null and b/backup/public/logo1.png differ
diff --git a/backup/public/manage-expenses.webp b/backup/public/manage-expenses.webp
new file mode 100644
index 0000000..b5bd3ef
Binary files /dev/null and b/backup/public/manage-expenses.webp differ
diff --git a/backup/public/manage-pay.gif b/backup/public/manage-pay.gif
new file mode 100644
index 0000000..f19b43a
Binary files /dev/null and b/backup/public/manage-pay.gif differ
diff --git a/backup/public/navbar.blade.php b/backup/public/navbar.blade.php
new file mode 100644
index 0000000..c34bf9a
--- /dev/null
+++ b/backup/public/navbar.blade.php
@@ -0,0 +1,96 @@
+
+
+
+
+
+
+
+
diff --git a/backup/public/payment1.gif b/backup/public/payment1.gif
new file mode 100644
index 0000000..49292b4
Binary files /dev/null and b/backup/public/payment1.gif differ
diff --git a/backup/public/people.gif b/backup/public/people.gif
new file mode 100644
index 0000000..e6ec08b
Binary files /dev/null and b/backup/public/people.gif differ
diff --git a/backup/public/resources/views/layouts/main.blade.php b/backup/public/resources/views/layouts/main.blade.php
new file mode 100644
index 0000000..44ae3fa
--- /dev/null
+++ b/backup/public/resources/views/layouts/main.blade.php
@@ -0,0 +1,32 @@
+
+@include('navbar')
+@include('flash')
+
+
+
+
+
+
+
+
+ @yield('title')
+
+
+
+
+
+ {{-- --}}
+
+
+
+
+ @yield('content')
+
+
+
+
+
+
+
+
+
diff --git a/backup/public/resources/views/layouts/mainWithoutNav.blade.php b/backup/public/resources/views/layouts/mainWithoutNav.blade.php
new file mode 100644
index 0000000..37f5012
--- /dev/null
+++ b/backup/public/resources/views/layouts/mainWithoutNav.blade.php
@@ -0,0 +1,29 @@
+@include('flash')
+
+
+
+
+
+
+
+
+ @yield('title')
+
+
+
+
+
+
+
+
+
+ @yield('content')
+
+
+
+
+
+
+
+
+
diff --git a/backup/public/resources/views/payments/create.blade.php b/backup/public/resources/views/payments/create.blade.php
new file mode 100644
index 0000000..6fd5bcc
--- /dev/null
+++ b/backup/public/resources/views/payments/create.blade.php
@@ -0,0 +1,166 @@
+@extends('layouts.main')
+@section('title')
+Society Create Payment
+@endsection
+@section('content')
+
+
+
+
+
+
+ Manage Payment
+
+
+
+
+
+
+
+{{-- checked checkboxes when house selected --}}
+
+@endsection
+
+
diff --git a/backup/public/resources/views/payments/edit.blade.php b/backup/public/resources/views/payments/edit.blade.php
new file mode 100644
index 0000000..254c9d5
--- /dev/null
+++ b/backup/public/resources/views/payments/edit.blade.php
@@ -0,0 +1,104 @@
+
+@extends('layouts.main')
+@section('title')
+Society Edit Payment
+@endsection
+@section('content')
+
+
+
+
+
+ Edit Payment
+
+
+
+
+ Cancel
+
+
+
+@endsection
diff --git a/backup/public/resources/views/payments/index.blade.php b/backup/public/resources/views/payments/index.blade.php
new file mode 100644
index 0000000..a5c5ce1
--- /dev/null
+++ b/backup/public/resources/views/payments/index.blade.php
@@ -0,0 +1,236 @@
+@extends('layouts.main')
+@section('title')
+Society Payments
+@endsection
+@section('content')
+{{-- monthwise filter --}}
+
+
+
+ Payment History
+
+
+
+
+
+{{-- refresh button --}}
+
+
+
+
+
+
+
+ | Financial Reports |
+
+
+
+
+ | Date |
+ {{ date('d-m-Y') }} |
+
+
+ | Count |
+ {{ $count }} |
+
+
+ | Total Amount |
+ {{ $sum }} |
+
+
+
+
+
+
+
+{{-- listing --}}
+@php $i=0; @endphp
+
+
+
+
+ @if($payments->first())
+
+ | Serial No |
+ House No. |
+ Billing Month |
+ @if (null == request('unpaid'))
+ Payment Mode |
+ Date Of Deposit
+ |
+ Amount |
+ @if (auth()->user()->usertype_id != 3)
+
+ Actions |
+ @endif
+
+ @endif
+
+
+
+
+ @if (request('unpaid'))
+ @foreach ($payments as $payment)
+ @php
+ $i++;
+ @endphp
+ | @php echo $i; @endphp |
+ {{ $payment->full_address }} |
+ {{ request('unpaid') }} |
+
+ @endforeach
+ @else
+ @foreach ($payments as $payment)
+ @php
+ $i++;
+ @endphp
+ @php echo $i; @endphp |
+ {{ $payment->houses->full_address }} |
+ @foreach ($months as $key => $month)
+ @if ($key == $payment->billingmonth)
+ {{ $month }} |
+ @endif
+ @endforeach
+ {{ $payment->paymentmode->name }} |
+ {{ $payment->dateofdeposit }} |
+ {{ $payment->amount }} |
+
+ @if (auth()->user()->usertype_id == 1)
+
+ Edit
+ |
+
+
+ |
+ @endif
+
+ @endforeach
+ @endif
+ @else
+ No Record Found
+ @endif
+
+
+
+
+
+{{-- delete confirmation --}}
+
+
+@endsection
diff --git a/backup/public/resources/views/residents/create.blade.php b/backup/public/resources/views/residents/create.blade.php
new file mode 100644
index 0000000..d484e9b
--- /dev/null
+++ b/backup/public/resources/views/residents/create.blade.php
@@ -0,0 +1,74 @@
+
+@extends('layouts.main')
+@section('title')
+Society Create Resident
+@endsection
+@section('content')
+
+
+
+
+
+ Add Resident
+
+
+
+
+@endsection
+
+
diff --git a/backup/public/resources/views/residents/edit.blade.php b/backup/public/resources/views/residents/edit.blade.php
new file mode 100644
index 0000000..7cf6cb1
--- /dev/null
+++ b/backup/public/resources/views/residents/edit.blade.php
@@ -0,0 +1,77 @@
+
+@extends('layouts.main')
+@section('title')
+Society Edit Resident
+@endsection
+@section('content')
+
+
+
+ Edit Your Resident
+
+
+
+
+@endsection
+
diff --git a/backup/public/resources/views/residents/index.blade.php b/backup/public/resources/views/residents/index.blade.php
new file mode 100644
index 0000000..ee0c436
--- /dev/null
+++ b/backup/public/resources/views/residents/index.blade.php
@@ -0,0 +1,138 @@
+@extends('layouts.main')
+@section('title')
+Society Residents
+@endsection
+@section('content')
+
+
+ List Of Residents
+
+
+ @if (auth()->user()->usertype_id != 3)
+
+ @endif
+
+
+
+
+
+
+
+
+
+
+
+
+ | House No. |
+ User |
+ Mobile1 |
+ Mobile2 |
+ Occupancy Type |
+ Date Of Occupancy |
+
+ Detail |
+ @if (auth()->user()->usertype_id != 3)
+ Actions
+ |
+ @endif
+
+
+
+
+ @if ($residents->first())
+ @foreach ($residents as $resident)
+
+
+ | {{ $resident->house->full_address }} |
+ @php
+ try {
+ $username = $resident->user->name;
+ } catch (\Exception $e) {
+ $username = 'N/A';
+ }
+ @endphp
+ {{ $username }} |
+ @if(empty($resident->user->mobile1))
+ Not Provided |
+ @else
+ {{ $resident->user->mobile1 }}
+ @endif
+ @if(empty($resident->user->mobile2))
+ | Not Provided |
+ @else
+ {{ $resident->user->mobile2 }}
+ @endif
+ @if ($resident->isOwner)
+ | Owner |
+ @else
+ Tenant |
+ @endif
+ {{ $resident->datofoccupancy }} |
+
+ View |
+ @if (auth()->user()->usertype_id != 3)
+ Edit |
+
+
+ |
+ @endif
+
+
+ @endforeach
+ @endif
+
+
+
+
+
+
+
+@endsection
diff --git a/backup/public/resources/views/users/create.blade.php b/backup/public/resources/views/users/create.blade.php
new file mode 100644
index 0000000..11ec6e5
--- /dev/null
+++ b/backup/public/resources/views/users/create.blade.php
@@ -0,0 +1,99 @@
+
+@extends('layouts.main')
+@section('title')
+Society Create User
+@endsection
+@section('content')
+
+
+
+
+
+ }})
+
+ Add User
+
+
+
+
+
+
+
+@endsection
+
diff --git a/backup/public/resources/views/users/edit.blade.php b/backup/public/resources/views/users/edit.blade.php
new file mode 100644
index 0000000..a44d872
--- /dev/null
+++ b/backup/public/resources/views/users/edit.blade.php
@@ -0,0 +1,111 @@
+@extends('layouts.main')
+@section('title')
+Society Edit User
+@endsection
+@section('content')
+
+
+
+
+
+
+ Edit Your Profile
+
+
+
+
+
+
+
+
+
diff --git a/backup/public/resources/views/users/forgetpasswordcreate.blade.php b/backup/public/resources/views/users/forgetpasswordcreate.blade.php
new file mode 100644
index 0000000..d29f9a9
--- /dev/null
+++ b/backup/public/resources/views/users/forgetpasswordcreate.blade.php
@@ -0,0 +1,60 @@
+@extends('layouts.mainWithoutNav')
+@section('title')
+Society Forget-Password
+@endsection
+@section('content')
+
+
+
+
+
+
+
+
+ Reset Password?
+
+
+
+
+
+
+
+
+
+
+
+@endsection
diff --git a/backup/public/resources/views/users/home.blade.php b/backup/public/resources/views/users/home.blade.php
new file mode 100644
index 0000000..9f6ca01
--- /dev/null
+++ b/backup/public/resources/views/users/home.blade.php
@@ -0,0 +1,7 @@
+@extends('layouts.mainWithoutNav')
+@include('users.navbar')
+@section('title')
+Society Home
+@endsection
+@section('content')
+@endsection
diff --git a/backup/public/resources/views/users/index.blade.php b/backup/public/resources/views/users/index.blade.php
new file mode 100644
index 0000000..30f4e16
--- /dev/null
+++ b/backup/public/resources/views/users/index.blade.php
@@ -0,0 +1,111 @@
+
+@extends('layouts.main')
+@section('title')
+Society Users
+@endsection
+@section('content')
+
+
+
+ List Of Users
+
+
+
+
+ {{-- search bar --}}
+
+
+ @if (auth()->user()->usertype_id != 3)
+ Add User  }})
+ @endif
+
+
+
+
+
+
+
+ | Name |
+ Mobile-1 |
+ Mobile-2 |
+ Email |
+ User-type |
+ @if (auth()->user()->usertype_id != 3)
+ Actions |
+ @endif
+
+
+
+
+
+ @foreach ($users as $user)
+ | {{ $user->name }} |
+ @if ($user->mobile1)
+ {{ $user->mobile1 }} |
+ @else
+ Not Provided |
+ @endif
+ @if ($user->mobile2)
+ {{ $user->mobile2 }} |
+ @else
+ Not Provided |
+ @endif
+ @if ($user->email)
+ {{ $user->email }} |
+ @else
+ Not Provided |
+ @endif
+ {{ $user->usertype->role }} |
+ @if (auth()->user()->usertype_id != 3)
+ Edit
+ |
+
+
+ |
+ @endif
+
+
+ @endforeach
+
+
+ {{-- delete confirmation --}}
+
+
+
+
+@endsection
diff --git a/backup/public/resources/views/users/navbar.blade.php b/backup/public/resources/views/users/navbar.blade.php
new file mode 100644
index 0000000..d250da6
--- /dev/null
+++ b/backup/public/resources/views/users/navbar.blade.php
@@ -0,0 +1,54 @@
+
+
+
+
diff --git a/backup/public/resources/views/users/profile.blade.php b/backup/public/resources/views/users/profile.blade.php
new file mode 100644
index 0000000..d3ef22a
--- /dev/null
+++ b/backup/public/resources/views/users/profile.blade.php
@@ -0,0 +1,187 @@
+@include('users.navbar')
+@extends('layouts.mainWithoutNav')
+@section('title')
+Society User-Profile
+@endsection
+@section('content')
+
+{{-- profile picture --}}
+
+
+
+
+
+
+
+
+
+ {{ ucfirst(Auth()->user()->name) }}
+ Mobile-1 : {{ auth()->user()->mobile1 }}
+ @isset(auth()->user()->mobile2)
+ Mobile-2 : {{ auth()->user()->mobile2 }}
+ @endisset
+ @isset(auth()->user()->email)
+ Email : {{ auth()->user()->email }}
+ @endisset
+
+ Edit Profile
+ Reset Password
+
+
+
+
+
+ {{ date(" jS F Y ")}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+@endsection
diff --git a/backup/public/resources/views/users/profileEdit.blade.php b/backup/public/resources/views/users/profileEdit.blade.php
new file mode 100644
index 0000000..588ad1f
--- /dev/null
+++ b/backup/public/resources/views/users/profileEdit.blade.php
@@ -0,0 +1,59 @@
+
+@include('users.navbar')
+@extends('layouts.mainWithoutNav')
+@section('title')
+Society User-Profile-Edit
+@endsection
+@section('content')
+
+
+
+
+@endsection
diff --git a/backup/public/resources/views/users/report.blade.php b/backup/public/resources/views/users/report.blade.php
new file mode 100644
index 0000000..bef8603
--- /dev/null
+++ b/backup/public/resources/views/users/report.blade.php
@@ -0,0 +1,67 @@
+@include('users.navbar')
+@extends('layouts.mainWithoutNav')
+@section('title')
+Society User-Report
+@endsection
+@section('content')
+@php $payments = Auth::user()->payments()->get() @endphp
+
+
+
+
+
+ | Billing Month |
+ Payment Mode |
+ Date Of Deposit |
+ Amount |
+ Payment Receipt |
+
+ @foreach ($payments as $payment)
+
+ @foreach ($months as $key => $month)
+ @if($key == $payment->billingmonth)
+ | {{ $temp = $month }} |
+ @endif
+ @endforeach
+ {{ $payment->paymentmode->name }} |
+ {{ $payment->dateofdeposit}} |
+ {{ $payment->amount}} |
+
+
+
+
+
+
+ Name : {{ Auth()->user()->name }}
+ Date : {{date("l jS \of F Y") }}
+
+ Billing Month : {{ $temp }}
+ Payment Mode : {{ $payment->paymentmode->name }}
+ Date Of Deposit : {{ $payment->dateofdeposit}}
+ Amount : {{ $payment->amount}}
+ Signature : Not Required
+
+
+
+
+
+ |
+
+ @endforeach
+
+
+
+@endsection
diff --git a/backup/public/resources/views/users/reset.blade.php b/backup/public/resources/views/users/reset.blade.php
new file mode 100644
index 0000000..7f68e8c
--- /dev/null
+++ b/backup/public/resources/views/users/reset.blade.php
@@ -0,0 +1,78 @@
+@extends('layouts.mainWithoutNav')
+@include('users.navbar')
+@section('title')
+ Society Reset-Password
+@endsection
+@section('content')
+{{-- reset password --}}
+
+
+
+
+
+
+ Reset your password?
+
+
+
+
+
+
+
+
+@endsection
+
diff --git a/backup/public/resume.png b/backup/public/resume.png
new file mode 100644
index 0000000..60ab836
Binary files /dev/null and b/backup/public/resume.png differ
diff --git a/backup/public/robots.txt b/backup/public/robots.txt
new file mode 100644
index 0000000..eb05362
--- /dev/null
+++ b/backup/public/robots.txt
@@ -0,0 +1,2 @@
+User-agent: *
+Disallow:
diff --git a/backup/public/society.avif b/backup/public/society.avif
new file mode 100644
index 0000000..e48e859
Binary files /dev/null and b/backup/public/society.avif differ
diff --git a/backup/public/style.css b/backup/public/style.css
new file mode 100644
index 0000000..497a6ae
--- /dev/null
+++ b/backup/public/style.css
@@ -0,0 +1,1496 @@
+.error {
+ color: red;
+ display: block;
+ width: 100%;
+ margin-top: 5px;
+}
+.profile-pic{
+border:1px solid black;
+}
+.pwd-icon {
+ position: relative;
+ height: 36px;
+ margin-bottom: 16px;
+}
+
+.pwd-icon #eye {
+ top: 50%;
+ right: 15px;
+ transform: translate(0%, -50%);
+}
+.forgot {
+ background-color: #fff;
+ padding: 12px;
+ border: 1px solid #dfdfdf;
+}
+
+.padding-bottom-3x {
+ padding-bottom: 72px !important;
+}
+
+.card-footer {
+ background-color: #fff;
+}
+
+.btn {
+ font-size: 13px;
+}
+
+#my-div1 {
+ background-color: whitesmoke;
+ border: 2px solid black;
+ margin: 18px;
+}
+
+.form-control:focus {
+ color: #495057;
+ background-color: #fff;
+ border-color: #76b7e9;
+ outline: 0;
+ box-shadow: 0 0 0 0px #28a745;
+}
+
+#loading-text {
+ display: none;
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+}
+
+.loading-text {
+ display: none;
+}
+
+.main-profile-password {
+ margin-top: 80px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
+
+.order_by {
+ position: initial !important;
+}
+
+#forgot-password-row1 {
+ height: 85vh;
+ display: flex;
+ justify-content: center;
+ width: 100%;
+}
+
+/* profile */
+
+.card-img-top {
+ width: 60%;
+ border-radius: 50% !important;
+ margin: 0 auto;
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
+}
+
+.card {
+ padding: 1.5em 0.5em 0.5em;
+ text-align: center;
+ border-radius: 2em;
+ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
+ padding: 50px;
+}
+
+.card-title {
+ font-weight: bold;
+ font-size: 1.5em;
+}
+
+.btn-primary {
+ border-radius: 2em;
+ padding: 0.5em 1.5em;
+}
+
+h3#resident-heading {
+ display: flex;
+ align-items: center;
+}
+
+.user-type {
+ cursor: pointer !important;
+}
+
+.user-type1 {
+ cursor: pointer;
+}
+
+.cursor-resident {
+ cursor: pointer;
+}
+
+.cursor-resident-create {
+ cursor: pointer;
+}
+
+.payment-cursor {
+ cursor: pointer;
+}
+
+.error1 {
+ color: red;
+}
+
+.order_by {
+ position: initial !important;
+}
+
+#house_id {
+ cursor: pointer;
+}
+
+#payment_cursor {
+ cursor: pointer;
+}
+
+#forgot {
+ color: #e597bf;
+}
+
+#sign-up {
+ color: #e597bf;
+}
+
+#background {
+ background: rgb(229, 151, 191) !important;
+}
+
+#add-user-position {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ margin: 20px 0px;
+}
+
+.main-edit {
+ margin: 30px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
+
+#edit_img {
+ height: 60px;
+ width: 60px;
+}
+
+#keys {
+ height: 60px;
+ width: 80px;
+}
+
+.resident-edit {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ margin: 20px 0px;
+}
+
+#get-resident {
+ position: absolute;
+ left: 0;
+ right: 0;
+ top: 20%;
+}
+
+.main-payment-method {
+ margin-top: 5px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
+
+.main-expense-create {
+ margin: 10px 0px;
+ justify-content: center;
+ align-items: center;
+}
+
+#add_user_id {
+ border-left: 1px solid lavender;
+}
+
+.add-user-image {
+ background: beige !important;
+}
+
+#heading-edit {
+ background-color: beige;
+}
+
+#get-house {
+ background-color: beige;
+}
+
+.edit-resident {
+ background-color: beige;
+}
+
+#payment-heading {
+ background-color: beige;
+}
+
+#expense-heading {
+ background-color: beige;
+}
+
+#row1,
+#row2,
+#row3 {
+ border-bottom: 1px solid aqua;
+}
+
+.receipt-main {
+ margin: 0 auto !important;
+ border: 1px solid black;
+}
+
+.bottom-border {
+ height: 30px;
+ background-color: aqua;
+}
+
+.month {
+ display: grid;
+ grid-template-columns: auto auto;
+ gap: 10px 130px;
+ align-items: self-end;
+
+}
+
+.main-height {
+ height: 85vh !important;
+}
+
+.main-details {
+ width: 60%;
+}
+
+#hover-li .nav-item :hover {
+ border: 1px solid white !important;
+}
+
+.drop-hover .btn:hover {
+ border: 1px solid white !important;
+}
+
+.user-hover a:hover {
+ border: 1px solid white !important;
+}
+
+#user-create {
+ width: 70%;
+}
+
+#edit {
+ width: 50% !important;
+}
+
+#edit-user {
+ width: 70%;
+}
+
+#resident-create-form {
+ width: 80%;
+}
+
+#get-resident {
+ z-index: -1;
+}
+
+#edit-resident-form {
+ width: 100% !important;
+}
+
+#expense-create-form {
+ width: 80%;
+}
+
+#expense-create {
+ top: 20%;
+}
+
+.side-image img {
+ width: 100%;
+}
+
+#login-form {
+ width: 50%;
+}
+
+.edit1 {
+ width: 80% !important;
+}
+
+#edit-resident-form {
+ width: 80% !important;
+}
+
+.main-create {
+ height: 90vh;
+}
+
+.user-cursor {
+ cursor: pointer;
+}
+
+/* profile */
+
+.card-img-top {
+ width: 60%;
+ border-radius: 50% !important;
+ margin: 0 auto;
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
+}
+
+.card {
+ padding: 1.5em 0.5em 0.5em;
+ text-align: center;
+ border-radius: 2em;
+ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
+ padding: 50px;
+}
+
+.card-title {
+ font-weight: bold;
+ font-size: 1.5em;
+}
+
+.btn-primary {
+ border-radius: 2em;
+ padding: 0.5em 1.5em;
+}
+
+h3#resident-heading {
+ display: flex;
+ align-items: center;
+}
+
+.user-type {
+ cursor: pointer !important;
+}
+
+.user-type1 {
+ cursor: pointer;
+}
+
+.cursor-resident {
+ cursor: pointer;
+}
+
+.cursor-resident-create {
+ cursor: pointer;
+}
+
+.payment-cursor {
+ cursor: pointer;
+}
+
+/* reset */
+.main-reset {
+ height: 85vh;
+ display: flex;
+ align-items: center;
+}
+
+#row2 {
+ padding: 10px 40px;
+}
+
+.user-hover a img {
+ margin-right: 5px;
+}
+
+#payment-method-form {
+ width: 60%;
+}
+
+#payment-method-form {
+ width: 80%;
+}
+
+#edit-user {
+ gap: 3px !important;
+}
+
+.date-mode p {
+ margin: 0;
+ color: #ff0f0f;
+ font-size: 13px;
+}
+
+.date-mode p span.label {
+ font-weight: bold;
+}
+
+#main-user {
+ display: flex;
+ align-items: center;
+ margin-top: 70px;
+}
+
+#user-form {
+ gap: 12px !important;
+}
+
+#users-nav a:hover {
+ border: 1px solid white;
+}
+
+#user-a-link:hover {
+ border: 1px solid white;
+}
+
+#submit-cancel {
+ display: flex;
+ flex-direction: column;
+ row-gap: 10px;
+}
+
+.search {
+ border: 2px solid black;
+ border-radius: 25px;
+ padding-left: 16px;
+}
+
+.search::placeholder {
+ color: black;
+}
+
+
+
+
+.img>img {
+ object-fit: cover;
+ border-radius: 50%;
+ width: 120px;
+ height: 110px;
+}
+
+.card.p-4 {
+ width: 25%;
+}
+
+thead#profile-heading-form {
+ vertical-align: middle !important;
+}
+
+#user-profile-show {
+ margin-top: 80px !important;
+}
+
+div#printableArea th {
+ vertical-align: middle;
+}
+
+.user-logo.d-flex.align-items-center.gap-2 {
+ padding: 10px 10px;
+}
+.demo{
+ position: relative;
+ }
+ .demo input[type="password"],
+ .demo input[type="text"]{
+ box-sizing: border-box;
+ }
+ .fa-eye{
+ position: absolute;
+ top: 65%;
+ right: 4%;
+ cursor: pointer;
+ color: lightgray;
+z-index:999;
+
+
+background-color:transparent;
+justify-content:center;
+align-items:center;
+border:none !important;
+ }
+
+
+/* print-screen*/
+@media print {
+
+ .table-resident.table-hover.table-bordered.align-middle.ps-5.pe-5.pt-3.table-responsive {
+ width: 100%;
+ }
+
+ table.table.table-light.table-hover.table-bordered.align-middle td {
+ background-color: #ffff;
+ }
+
+ #th-print {
+ display: none;
+ }
+
+ table.table.table-light.table-hover.table-bordered.align-middle td:last-child .table.table.table-light.table-hover.table-bordered.align-middle td:last-child,
+ table.table.table-light.table-hover.table-bordered.align-middle td:last-child {
+ display: none;
+ }
+
+ table.table.table-light.table-hover.table-bordered.align-middle th:last-child,
+ table.table.table-light.table-hover.table-bordered.align-middle th:nth-last-child(9) {
+ display: none;
+ }
+
+ th#th-payment-print {
+ display: none;
+ }
+
+ tr.table-dark th:last-child {
+ display: none !important;
+ border: none !important;
+ }
+
+ @page: first {
+
+ background: black !important;
+ }
+}
+
+
+.profile-pic {
+ border-radius: 50%;
+ height: 150px;
+ width: 150px;
+ background-size: cover;
+ background-position: center;
+ background-blend-mode: multiply;
+ vertical-align: middle;
+ text-align: center;
+ color: transparent;
+ transition: all .3s ease;
+ text-decoration: none;
+ cursor: pointer;
+}
+
+.profile-pic:hover {
+ background-color: rgba(0, 0, 0, .5);
+ z-index: 10000;
+ color: #fff;
+ transition: all .3s ease;
+ text-decoration: none;
+}
+
+.profile-pic span {
+ display: inline-block;
+ padding-top: 3.5em;
+ padding-bottom: 3.5em;
+}
+
+form input[type="file"] {
+ display: none;
+ cursor: pointer;
+}
+
+#user-form1 {
+ margin: 0px !important;
+
+}
+
+div#pass1 {
+ display: flex;
+ flex-direction: column;
+ gap: 5px;
+}
+
+p {
+ margin-top: 0;
+ margin-bottom: 1rem;
+ margin: 0px;
+}
+
+.main-resident-create {
+ margin: 50px 0px !important;
+}
+
+form#payment-method-form {
+ gap: 10px !important;
+}
+
+.activty-log button.btn.btn-primary {
+ border-radius: 20px;
+ }
+ .activty-log .view{
+/* display: flex;
+justify-content: center; */
+ }
+ .card.dash {
+ padding: 0px !important;
+}
+.activty-log td{
+ padding: 0px !important;
+}
+form#payment-history-form {
+ /* margin: 0px !important; */
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
+/* print end */
+/* responsiveness */
+
+@media screen and (max-width: 1600px) {
+ #payment-method-form {
+ width: 80%;
+ }
+
+ #edit-user {
+ gap: 4px !important;
+ }
+
+ #user-create {
+ gap: 10px !important;
+ }
+
+ #resident-create-form {
+ gap: 8px !important;
+ }
+
+ #edit-resident-form {
+ gap: 8px !important;
+ }
+
+ #expense-create-form {
+ gap: 8px !important;
+ }
+ form#payment-history-form {
+ padding: 10px;
+ }
+}
+
+@media screen and (max-width: 1280px) {
+ #user-create {
+ width: 70%;
+ gap: 10px !important;
+ }
+
+ #add-user {
+ width: 70% !important;
+ }
+
+ #edit {
+ width: 50% !important;
+ }
+
+ #edit-user {
+ width: 70%;
+ gap: 2px !important;
+ }
+
+ #get-resident {
+ width: 70% !important;
+ }
+
+ #resident-create-form {}
+
+ #resident-edit {
+ width: 70% !important;
+ }
+
+ .month {
+ gap: 4px 130px;
+ }
+
+ .main-payment-method {
+ height: unset;
+ margin: 10px;
+
+ }
+ div#pass1 {
+
+ gap: 5px;
+ }
+ .d-flex.justify-content-center.align-items-center.p-4.payment1 {
+ flex-direction: column-reverse;
+ gap: 10px;
+ }
+ h5.card-title {
+ font-size: 20px;
+ }
+}
+
+@media screen and (max-width: 1200px) {
+ #login-form {
+ margin: 0 auto;
+ padding: 0;
+ }
+
+ .navbar-expand-lg .navbar-nav {
+ display: none;
+ }
+
+ #payment-method-form {
+ max-width: 600px !important;
+ width: 100% !important;
+ }
+
+ #payment-method {
+ width: 100% !important;
+ }
+
+ #user-create {
+ max-width: 1000px;
+ width: 100%;
+ }
+
+ #create-resident {
+ width: 75% !important;
+
+ }
+
+ .main-create.d-flex.justify-content-center.align-items-center {
+ margin: 20px 0px !important;
+ }
+
+ #payment-method {
+ width: 80% !important;
+ }
+
+ .card.p-4 {
+ width: 40%;
+ }
+
+ /* navbar */
+
+
+ /* navbar end */
+ .payment1 {
+ gap: 15px;
+ }
+
+ .navbar-expand-lg .navbar-collapse {
+
+ justify-content: end !important;
+ }
+
+ .main-profile-password {
+ margin: 10px 0px;
+
+ }
+ div#pass1 {
+ display: flex;
+ flex-direction: column;
+ gap:3px;
+ }
+ .d-flex.justify-content-center.align-items-center.p-4.payment1{
+ gap: 10px;
+ }
+ nav#navbar {
+ margin: 0px !important;
+ }
+}
+
+@media screen and (max-width:1130px) {
+ div#login-height {
+ padding: 10px !important;
+ }
+.d-flex.justify-content-center.align-items-center.p-4.payment1 {
+ flex-direction: column-reverse;
+gap:10px;
+}
+li.nav-item a {
+ margin: -3px !important;
+}
+.container-fluid {
+ padding: 0px !important;
+}
+}
+
+@media screen and (max-width: 992px) {
+ nav#login {
+ width: 70%;
+ }
+
+ #login-form {
+ margin: 0 auto;
+ padding: 0;
+ width: 85%;
+ }
+
+ .side-image {
+ margin: 0;
+ padding: 0;
+ display: none;
+ }
+
+ #payment-method-form {
+ max-width: 800px !important;
+ width: 100% !important;
+ }
+
+ #payment-method {
+ width: 90% !important;
+ }
+
+ #user-create {
+ max-width: 900px;
+ width: 100%;
+ }
+
+ #edit {
+ width: 70% !important;
+ }
+
+ #edit-user {
+ width: 90%;
+ gap: 0px !important;
+ }
+
+ #expense-create {
+ width: 70% !important;
+ }
+
+ .edit1 {
+ width: 80% !important;
+ }
+
+ #edit-resident-form {
+ width: 80% !important;
+ }
+
+ .payment1 {
+ gap: 15px;
+ }
+
+ form#payment-history-form {
+ display: flex;
+ gap: 9px;
+ padding: 10px;
+ width: 100% !important;
+
+ }
+
+ .main-details {
+ width: 75%;
+ }
+
+ nav#navbar {
+ margin: 0 !important;
+ }
+
+ #user-create {
+
+ gap: 6px;
+ }
+
+ #main-user {
+ margin-top: 40px;
+ }
+
+ #user-form {
+ gap: 10px !important;
+ width: 60% !important;
+
+ }
+
+ .card.p-4 {
+ width: 50%;
+ }
+
+ .reports.d-flex.justify-content-end.me-5,
+ .refresh-button.pb-4.me-5.d-flex.justify-content-end {
+ justify-content: center !important;
+ padding: 0px !important;
+ margin: 10px;
+ }
+ .resident-create.mt-3.p-3.me-4.d-flex.justify-content-end,
+ .refresh-button.pb-3.me-5.d-flex.justify-content-end {
+ justify-content: center !important;
+ }
+
+ .refresh-expenses.pt-3.pe-5.d-flex.justify-content-end.gap-2 {
+ justify-content: center !important;
+ padding:30px 0px 0px 0px !important;
+ }
+
+ .add-user.mt-2.pt-3.pb-2.me-5.d-flex.justify-content-end.gap-2 {
+ justify-content: center !important;
+ margin: 0px !important;
+ }
+
+ .user .dropdown .pe-3 .me-3 {
+ display: block !important;
+ }
+
+ .user-links .p-3 {
+ display: block !important;
+ padding: 0px !important;
+ }
+
+ .user.dropdown.pe-3.me-3.d-flex.align-items-center {
+ display: block !important;
+ text-align: inherit;
+ }
+
+ nav#users-nav {
+ flex-direction: column;
+ gap: 5px;
+ justify-content: end !important;
+ }
+
+ .table-add-user.ps-5.pe-5.pt-3.table-responsive,
+ .table-manage-house.ps-5.pe-5.pt-3.table-responsive,
+ .table-resident.table-hover.table-bordered.align-middle.ps-5.pe-5.pt-3.table-responsive {
+ padding: 0px !important;
+ }
+
+ .table-payments.ps-5.pe-5.pt-2.table-responsive,
+ .table-expenses.ps-5.pe-5.pt-3.mt-3.table-responsive {
+ padding: 0px !important;
+
+ }
+
+ .resident-create.mt-3.p-3.me-3.d-flex.justify-content-end {
+ margin: 0px !important;
+ justify-content: center !important;
+ }
+
+ .d-flex.justify-content-center.align-items-center.p-4.payment1 {
+ padding: 10px 0px 0px 0px !important;
+ }
+
+ #main-user {
+ margin: 20px 0px;
+ }
+
+ .resident-create.mt-3.me-5.pt-3.pb-3.d-flex.justify-content-end {
+ justify-content: center !important;
+ margin: 0px !important;
+ }
+
+ .refresh-button.pt-2.me-5.d-flex.justify-content-end.align-items-center.gap-2 {
+ justify-content: center !important;
+ padding: 10px !important;
+ margin: 0px !important;
+ }
+
+ #filter {
+ margin: 0px !important;
+ }
+
+ #end-date {
+ margin: 0px !important;
+ }
+ div#pass1 {
+
+ gap: 2px;
+ }
+ .navbar-dark .navbar-toggler {
+ color: rgba(255,255,255,.55);
+ border-color:none !important
+ }
+ .paid-month-flex.d-flex.me-3{
+ margin: 0px !important;
+ }
+.d-flex.justify-content-center.align-items-center.p-4.payment1 {
+ flex-direction: inherit;
+ gap: 10px;
+}
+.reports.d-flex.justify-content-end.me-5, .refresh-button.pb-4.me-5.d-flex.justify-content-end {
+justify-content:flex-end !important;
+padding:10px !important
+}
+.d-flex.justify-content-center.align-items-center.p-4.payment1{
+
+padding:0px !important;
+
+}
+.reports.d-flex.justify-content-end.me-5, .refresh-button.pb-4.me-5.d-flex.justify-content-end {
+ justify-content: center !important;
+ padding: 0px !important;
+
+ margin: 13px 0px !important;
+}
+.d-flex.justify-content-center.align-items-center.p-4.payment1 {
+ padding: 10px 0px 0px 0px !important;
+}
+.d-flex.justify-content-center.align-items-center.p-4.payment1 {
+ gap: 10px;
+ flex-direction: column;
+}
+.refresh-button.pb-3.me-5.d-flex.justify-content-end {
+ justify-content: center !important;
+}
+.navbar-toggler {
+
+ filter: invert(1) brightness(1);
+}
+.row .col-3 {
+ width: 46%;
+}
+.refresh-button.pb-4.me-5.d-flex.justify-content-end.hide{
+ margin: 10px !important;
+}
+.navbar-dark .navbar-toggler-icon {
+ filter: invert(1);
+}
+.table-expenses.ps-5.pe-5.pt-3.table-responsive{
+ padding: 0px !important;
+}
+}
+.done{
+ display: flex;
+ flex-direction: row;
+ justify-content: center;
+ align-items: center;
+ flex-wrap: wrap;
+ padding: 0px !important;
+}
+.done > img{
+ width: 50px;
+ height: 55px;
+ object-fit: contain;
+}
+
+@media screen and (max-width: 700px) {
+ #login-height {
+ width: 100%;
+ }
+
+ .side-image img {
+ margin: 0px;
+ width: 100%;
+ }
+
+ #login {
+ width: 100%;
+ padding: 10px;
+ }
+
+ #login-form {
+ padding: 0;
+ }
+
+ #payment-method-form {
+ max-width: 600px !important;
+ width: 100% !important;
+ }
+
+ #payment-method {
+ width: 90% !important;
+ }
+
+ .table-payments.ps-5.pe-5.pt-2 {
+ padding: 0px !important;
+ }
+
+ .refresh-button a {
+ display: none;
+ }
+
+ .table-add-user {
+ padding: 0px !important;
+ }
+
+ #expense-create {
+ z-index: -1;
+ }
+
+ .month {
+ gap: 10px 120px;
+ }
+
+ .main-details {
+ width: 85%;
+ }
+
+ #create-resident {
+ width: 80% !important;
+ }
+
+ #resident-edit {
+ width: 75% !important;
+ }
+
+ #edit-resident-form {
+ width: 90% !important;
+ }
+
+ #user-form {
+ width: 70% !important;
+ }
+
+ #users-nav {
+ display: flex;
+ flex-direction: column;
+ row-gap: 16px;
+ }
+
+ #users-nav a {
+ margin: 0px !important;
+ }
+
+ .refresh-expenses.pt-3.pe-5.d-flex.justify-content-end.gap-2 {
+ justify-content: center !important;
+ padding: 0px !important;
+ margin-top: 20px;
+ }
+
+ .add-user.mt-2.pt-3.pb-2.me-5.d-flex.justify-content-end.gap-2 {
+ justify-content: center !important;
+ padding: 20px !important;
+ margin: 0px !important;
+ }
+
+ .refresh-button.pb-3.me-5.d-flex.justify-content-end {
+ justify-content: center !important;
+ padding: 0px !important;
+
+ margin: 10px 0px 10px 0px !important;
+ }
+
+ .resident-create.mt-3.p-3.me-5.d-flex.justify-content-end {
+ justify-content: center !important;
+ margin: 10px 0px 10px 0px !important;
+ }
+
+ .refresh-button.pb-4.me-5.d-flex.justify-content-end.gap-2 {
+ justify-content: center !important;
+ padding: 0px !important;
+ margin: 10px 0px 10px 0px !important;
+ }
+
+ .reports.d-flex.justify-content-end.me-5,
+ .refresh-button.pb-4.me-5.d-flex.justify-content-end {
+ justify-content: center !important;
+ padding: 0px !important;
+ margin: 5px 0px 10px 0px !important;
+ }
+
+ div#main-details1 {
+ margin: 0 !important;
+ flex-direction: column-reverse;
+ padding: 35px 0px;
+
+ }
+
+ .table-add-user.ps-5.pe-5.pt-3.table-responsive {
+ margin: 0px !important;
+ padding: 10px 0px 0px 0px !important;
+ }
+
+ .table-manage-house.ps-5.pe-5.pt-3.table-responsive,
+ .table-resident.table-hover.table-bordered.align-middle.ps-5.pe-5.pt-3.table-responsive {
+ padding: 10px 0px 0px 0px !important;
+ }
+
+ .main-details-house.me-5.ms-5 {
+ margin: 10px 0px 10px 0px !important;
+ }
+
+ .card.p-4 {
+ width: 70%;
+ }
+
+ .main-details.rounded.bg-light.p-4 {
+ order: 2;
+ }
+
+ div#pass1 {
+ display: flex;
+ flex-direction: column;
+ gap: 3px;
+ }
+
+ .d-flex.justify-content-center.align-items-center.p-4.payment1 {
+ flex-direction: column-reverse;
+ }
+.reports.d-flex.justify-content-end.me-5, .refresh-button.pb-4.me-5.d-flex.justify-content-end {
+ justify-content: center !important;
+ padding: 0px !important;
+ margin: 10px 0px 10px 0px !important;
+}
+.table-expenses.ps-5.pe-5.pt-3.table-responsive{
+padding:0px !important;
+
+}
+form#payment-history-form {
+ flex-direction: column;
+
+}
+}
+
+@media screen and (max-width: 520px) {
+ #background {
+ background-color: transparent !important;
+ background-image: linear-gradient(140deg,
+ #eadedb 0%,
+ #bc70a4 50%,
+ #bfd641 75%) !important;
+ }
+
+ .side-image {
+ display: none;
+ }
+
+ #payment-method-form {
+ max-width: 500px !important;
+ width: 100% !important;
+ }
+
+ #payment-method {
+ width: 100% !important;
+ }
+
+ #edit {
+ width: 100% !important;
+ }
+
+ #edit-user {
+ width: 90%;
+ }
+
+ #resident-create-form {
+ width: 95%;
+ }
+
+ #get-resident {
+ width: 80% !important;
+ z-index: -1;
+ }
+
+ #expense-create-form {
+ width: 100%;
+ gap: 4px !important;
+ }
+
+ #expense-create {
+ width: 90% !important;
+ top: 25%;
+ }
+
+ #login {
+ width: 90% !important;
+ }
+
+ #login-form {
+ margin: 0 auto;
+ padding: 0;
+ width: 90%;
+ }
+
+ .edit1 {
+ width: 100% !important;
+ }
+
+ .table-add-user {
+ padding: 0px !important;
+ }
+
+ #payment-method {
+ width: 90% !important;
+ }
+
+ .month {
+ gap: 6px 120px;
+ }
+
+ .main-details {
+ width: 90%;
+ }
+
+ #create-resident {
+ width: 100% !important;
+ }
+
+ .month {
+ display: initial;
+ }
+
+ #reset-your-password {
+ font-size: 15px !important;
+ }
+
+ #user-form {
+ width: 80% !important;
+ }
+
+ a#previous {
+ order: 0;
+ }
+
+ div#main-details1 {
+ flex-direction: column-reverse;
+ }
+
+ .card.p-4 {
+ width: 70%;
+ }
+
+ .payment-heading.text-center.bg-light.me-5.ms-5.rounded.mt-3.p-4 {
+ width: 80%;
+ }
+
+ .row .col-3 {
+ width: 80%;
+ }
+}
+
+@media screen and (max-width: 460px) {
+ #login-height {
+ padding: 5px;
+ }
+
+ #payment-method-form {
+ max-width: 400px;
+ width: 100%;
+ }
+
+ #payment-method {
+ width: 90% !important;
+ }
+
+ #add-user {
+ width: 90% !important;
+ }
+
+ #resident-create-form {
+ width: 95%;
+ }
+
+ #get-resident {
+ width: 90% !important;
+ z-index: -1;
+ }
+
+ #logo h3 {
+ font-size: 20px !important;
+ }
+
+ #login-form {
+ width: 100%;
+ }
+
+ .edit-resident h3 {
+ font-size: 20px;
+ text-align: center;
+ }
+
+ #resident-edit {
+ width: 85% !important;
+
+ top: 25%;
+ }
+
+ #navbar {
+ padding: 10px 0px !important;
+ margin: 0 !important;
+ }
+
+ .month {
+ gap: 3px 120px;
+ }
+
+ #resident-create h3 {
+ font-size: 20px;
+ }
+
+ #resident-edit {
+ top: 18%;
+ }
+
+ h3#resident-heading {
+ display: flex;
+ align-items: center;
+ flex-direction: column;
+ }
+
+ .reports.d-flex.justify-content-end.me-5 {
+ margin: 0px !important;
+ padding: 0px;
+ display: flex;
+ justify-content: center !important;
+ }
+
+ .month {
+ gap: 3px 95px;
+ }
+
+ .card.p-4 {
+ width: 80%;
+ }
+
+ div#heading-edit {
+ justify-content: center !important;
+ }
+
+ h3#user-heading {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ }
+
+ .add-user.mt-2.pt-3.pb-2.me-5.d-flex.justify-content-end.align-items-end.gap-2 input#search {
+ width: 50%;
+ }
+.reports.d-flex.justify-content-end.me-5 {
+ margin: 16px !important;
+ padding: 0px;
+ display: flex;
+ justify-content: center !important;
+}
+.container-fluid {
+ padding: 10px !important;
+}
+}
+
+@media screen and (max-width: 320px) {
+ .payment1 {
+ flex-direction: column-reverse;
+ gap: 15px;
+ }
+
+ .refresh-button a {
+ display: none;
+ }
+
+ form#payment-history-form {
+ display: flex;
+ flex-direction: column;
+ gap: 9px;
+ }
+
+ #payment-method {
+ width: 100% !important;
+ }
+
+ #payment-method-form {
+ max-width: 300px;
+ width: 100%;
+ }
+
+ .month {
+ display: block !important;
+ }
+
+ #resident-create-form {
+ width: 95%;
+ }
+
+ #get-resident {
+ width: 90% !important;
+ top: 25%;
+ }
+
+ #navbar {
+ padding: 10px 0px !important;
+ margin: 0 !important;
+ }
+
+
+}
+
+@media print {
+ .none {
+ display: none !important;
+ }
+
+}
+
diff --git a/backup/public/style.css@20230506 b/backup/public/style.css@20230506
new file mode 100644
index 0000000..42f4468
--- /dev/null
+++ b/backup/public/style.css@20230506
@@ -0,0 +1,1476 @@
+.error {
+ color: red;
+ display: block;
+ width: 100%;
+ margin-top: 5px;
+}
+.profile-pic{
+border:1px solid black;
+}
+.pwd-icon {
+ position: relative;
+ height: 36px;
+ margin-bottom: 16px;
+}
+
+.pwd-icon #eye {
+ top: 50%;
+ right: 15px;
+ transform: translate(0%, -50%);
+}
+.forgot {
+ background-color: #fff;
+ padding: 12px;
+ border: 1px solid #dfdfdf;
+}
+
+.padding-bottom-3x {
+ padding-bottom: 72px !important;
+}
+
+.card-footer {
+ background-color: #fff;
+}
+
+.btn {
+ font-size: 13px;
+}
+
+#my-div1 {
+ background-color: whitesmoke;
+ border: 2px solid black;
+ margin: 18px;
+}
+
+.form-control:focus {
+ color: #495057;
+ background-color: #fff;
+ border-color: #76b7e9;
+ outline: 0;
+ box-shadow: 0 0 0 0px #28a745;
+}
+
+#loading-text {
+ display: none;
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+}
+
+.loading-text {
+ display: none;
+}
+
+.main-profile-password {
+ margin-top: 80px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
+
+.order_by {
+ position: initial !important;
+}
+
+#forgot-password-row1 {
+ height: 85vh;
+ display: flex;
+ justify-content: center;
+ width: 100%;
+}
+
+/* profile */
+
+.card-img-top {
+ width: 60%;
+ border-radius: 50% !important;
+ margin: 0 auto;
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
+}
+
+.card {
+ padding: 1.5em 0.5em 0.5em;
+ text-align: center;
+ border-radius: 2em;
+ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
+ padding: 50px;
+}
+
+.card-title {
+ font-weight: bold;
+ font-size: 1.5em;
+}
+
+.btn-primary {
+ border-radius: 2em;
+ padding: 0.5em 1.5em;
+}
+
+h3#resident-heading {
+ display: flex;
+ align-items: center;
+}
+
+.user-type {
+ cursor: pointer !important;
+}
+
+.user-type1 {
+ cursor: pointer;
+}
+
+.cursor-resident {
+ cursor: pointer;
+}
+
+.cursor-resident-create {
+ cursor: pointer;
+}
+
+.payment-cursor {
+ cursor: pointer;
+}
+
+.error1 {
+ color: red;
+}
+
+.order_by {
+ position: initial !important;
+}
+
+#house_id {
+ cursor: pointer;
+}
+
+#payment_cursor {
+ cursor: pointer;
+}
+
+#forgot {
+ color: #e597bf;
+}
+
+#sign-up {
+ color: #e597bf;
+}
+
+#background {
+ background: rgb(229, 151, 191) !important;
+}
+
+#add-user-position {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ margin: 20px 0px;
+}
+
+.main-edit {
+ margin: 30px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
+
+#edit_img {
+ height: 60px;
+ width: 60px;
+}
+
+#keys {
+ height: 60px;
+ width: 80px;
+}
+
+.resident-edit {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ margin: 20px 0px;
+}
+
+#get-resident {
+ position: absolute;
+ left: 0;
+ right: 0;
+ top: 20%;
+}
+
+.main-payment-method {
+ margin-top: 5px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
+
+.main-expense-create {
+ margin: 10px 0px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
+
+#add_user_id {
+ border-left: 1px solid lavender;
+}
+
+.add-user-image {
+ background: beige !important;
+}
+
+#heading-edit {
+ background-color: beige;
+}
+
+#get-house {
+ background-color: beige;
+}
+
+.edit-resident {
+ background-color: beige;
+}
+
+#payment-heading {
+ background-color: beige;
+}
+
+#expense-heading {
+ background-color: beige;
+}
+
+#row1,
+#row2,
+#row3 {
+ border-bottom: 1px solid aqua;
+}
+
+.receipt-main {
+ margin: 0 auto !important;
+ border: 1px solid black;
+}
+
+.bottom-border {
+ height: 30px;
+ background-color: aqua;
+}
+
+.month {
+ display: grid;
+ grid-template-columns: auto auto;
+ gap: 10px 130px;
+ align-items: self-end;
+
+}
+
+.main-height {
+ height: 85vh !important;
+}
+
+.main-details {
+ width: 60%;
+}
+
+#hover-li .nav-item :hover {
+ border: 1px solid white !important;
+}
+
+.drop-hover .btn:hover {
+ border: 1px solid white !important;
+}
+
+.user-hover a:hover {
+ border: 1px solid white !important;
+}
+
+#user-create {
+ width: 70%;
+}
+
+#edit {
+ width: 50% !important;
+}
+
+#edit-user {
+ width: 70%;
+}
+
+#resident-create-form {
+ width: 80%;
+}
+
+#get-resident {
+ z-index: -1;
+}
+
+#edit-resident-form {
+ width: 100% !important;
+}
+
+#expense-create-form {
+ width: 80%;
+}
+
+#expense-create {
+ top: 20%;
+}
+
+.side-image img {
+ width: 100%;
+}
+
+#login-form {
+ width: 50%;
+}
+
+.edit1 {
+ width: 80% !important;
+}
+
+#edit-resident-form {
+ width: 80% !important;
+}
+
+.main-create {
+ height: 90vh;
+}
+
+.user-cursor {
+ cursor: pointer;
+}
+
+/* profile */
+
+.card-img-top {
+ width: 60%;
+ border-radius: 50% !important;
+ margin: 0 auto;
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
+}
+
+.card {
+ padding: 1.5em 0.5em 0.5em;
+ text-align: center;
+ border-radius: 2em;
+ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
+ padding: 50px;
+}
+
+.card-title {
+ font-weight: bold;
+ font-size: 1.5em;
+}
+
+.btn-primary {
+ border-radius: 2em;
+ padding: 0.5em 1.5em;
+}
+
+h3#resident-heading {
+ display: flex;
+ align-items: center;
+}
+
+.user-type {
+ cursor: pointer !important;
+}
+
+.user-type1 {
+ cursor: pointer;
+}
+
+.cursor-resident {
+ cursor: pointer;
+}
+
+.cursor-resident-create {
+ cursor: pointer;
+}
+
+.payment-cursor {
+ cursor: pointer;
+}
+
+/* reset */
+.main-reset {
+ height: 85vh;
+ display: flex;
+ align-items: center;
+}
+
+#row2 {
+ padding: 10px 40px;
+}
+
+.user-hover a img {
+ margin-right: 5px;
+}
+
+#payment-method-form {
+ width: 60%;
+}
+
+#payment-method-form {
+ width: 80%;
+}
+
+#edit-user {
+ gap: 3px !important;
+}
+
+.date-mode p {
+ margin: 0;
+ color: #ff0f0f;
+ font-size: 13px;
+}
+
+.date-mode p span.label {
+ font-weight: bold;
+}
+
+#main-user {
+ display: flex;
+ align-items: center;
+ margin-top: 70px;
+}
+
+#user-form {
+ gap: 12px !important;
+}
+
+#users-nav a:hover {
+ border: 1px solid white;
+}
+
+#user-a-link:hover {
+ border: 1px solid white;
+}
+
+#submit-cancel {
+ display: flex;
+ flex-direction: column;
+ row-gap: 10px;
+}
+
+.search {
+ border: 2px solid black;
+ border-radius: 25px;
+ padding-left: 16px;
+}
+
+.search::placeholder {
+ color: black;
+}
+
+
+
+
+.img>img {
+ object-fit: cover;
+ border-radius: 50%;
+ width: 120px;
+ height: 110px;
+}
+
+.card.p-4 {
+ width: 25%;
+}
+
+thead#profile-heading-form {
+ vertical-align: middle !important;
+}
+
+#user-profile-show {
+ margin-top: 80px !important;
+}
+
+div#printableArea th {
+ vertical-align: middle;
+}
+
+.user-logo.d-flex.align-items-center.gap-2 {
+ padding: 10px 10px;
+}
+.demo{
+ position: relative;
+ }
+ .demo input[type="password"],
+ .demo input[type="text"]{
+ box-sizing: border-box;
+ }
+ .fa-eye{
+ position: absolute;
+ top: 65%;
+ right: 4%;
+ cursor: pointer;
+ color: lightgray;
+z-index:999;
+
+
+background-color:transparent;
+justify-content:center;
+align-items:center;
+border:none !important;
+ }
+
+/* print-screen*/
+@media print {
+
+ .table-resident.table-hover.table-bordered.align-middle.ps-5.pe-5.pt-3.table-responsive {
+ width: 100%;
+ }
+
+ table.table.table-light.table-hover.table-bordered.align-middle td {
+ background-color: #ffff;
+ }
+
+ #th-print {
+ display: none;
+ }
+
+ table.table.table-light.table-hover.table-bordered.align-middle td:last-child .table.table.table-light.table-hover.table-bordered.align-middle td:last-child,
+ table.table.table-light.table-hover.table-bordered.align-middle td:last-child {
+ display: none;
+ }
+
+ table.table.table-light.table-hover.table-bordered.align-middle th:last-child,
+ table.table.table-light.table-hover.table-bordered.align-middle th:nth-last-child(9) {
+ display: none;
+ }
+
+ th#th-payment-print {
+ display: none;
+ }
+
+ tr.table-dark th:last-child {
+ display: none !important;
+ border: none !important;
+ }
+
+ @page: first {
+
+ background: black !important;
+ }
+}
+
+
+.profile-pic {
+ border-radius: 50%;
+ height: 150px;
+ width: 150px;
+ background-size: cover;
+ background-position: center;
+ background-blend-mode: multiply;
+ vertical-align: middle;
+ text-align: center;
+ color: transparent;
+ transition: all .3s ease;
+ text-decoration: none;
+ cursor: pointer;
+}
+
+.profile-pic:hover {
+ background-color: rgba(0, 0, 0, .5);
+ z-index: 10000;
+ color: #fff;
+ transition: all .3s ease;
+ text-decoration: none;
+}
+
+.profile-pic span {
+ display: inline-block;
+ padding-top: 3.5em;
+ padding-bottom: 3.5em;
+}
+
+form input[type="file"] {
+ display: none;
+ cursor: pointer;
+}
+
+#user-form1 {
+ margin: 0px !important;
+
+}
+
+div#pass1 {
+ display: flex;
+ flex-direction: column;
+ gap: 5px;
+}
+
+p {
+ margin-top: 0;
+ margin-bottom: 1rem;
+ margin: 0px;
+}
+
+.main-resident-create {
+ margin: 50px 0px !important;
+}
+
+form#payment-method-form {
+ gap: 10px !important;
+}
+
+.activty-log button.btn.btn-primary {
+ border-radius: 20px;
+ }
+ .activty-log .view{
+/* display: flex;
+justify-content: center; */
+ }
+ .card.dash {
+ padding: 0px !important;
+}
+.activty-log td{
+ padding: 0px !important;
+}
+form#payment-history-form {
+ /* margin: 0px !important; */
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
+/* print end */
+/* responsiveness */
+
+@media screen and (max-width: 1600px) {
+ #payment-method-form {
+ width: 80%;
+ }
+
+ #edit-user {
+ gap: 4px !important;
+ }
+
+ #user-create {
+ gap: 10px !important;
+ }
+
+ #resident-create-form {
+ gap: 8px !important;
+ }
+
+ #edit-resident-form {
+ gap: 8px !important;
+ }
+
+ #expense-create-form {
+ gap: 8px !important;
+ }
+ form#payment-history-form {
+ padding: 10px;
+ }
+}
+
+@media screen and (max-width: 1280px) {
+ #user-create {
+ width: 70%;
+ gap: 10px !important;
+ }
+
+ #add-user {
+ width: 70% !important;
+ }
+
+ #edit {
+ width: 50% !important;
+ }
+
+ #edit-user {
+ width: 70%;
+ gap: 2px !important;
+ }
+
+ #get-resident {
+ width: 70% !important;
+ }
+
+ #resident-create-form {}
+
+ #resident-edit {
+ width: 70% !important;
+ }
+
+ .month {
+ gap: 4px 130px;
+ }
+
+ .main-payment-method {
+ height: unset;
+ margin: 10px;
+
+ }
+ div#pass1 {
+
+ gap: 5px;
+ }
+ .d-flex.justify-content-center.align-items-center.p-4.payment1 {
+ flex-direction: column-reverse;
+ gap: 10px;
+ }
+ h5.card-title {
+ font-size: 20px;
+ }
+}
+
+@media screen and (max-width: 1200px) {
+ #login-form {
+ margin: 0 auto;
+ padding: 0;
+ }
+
+ .navbar-expand-lg .navbar-nav {
+ display: none;
+ }
+
+ #payment-method-form {
+ max-width: 600px !important;
+ width: 100% !important;
+ }
+
+ #payment-method {
+ width: 100% !important;
+ }
+
+ #user-create {
+ max-width: 1000px;
+ width: 100%;
+ }
+
+ #create-resident {
+ width: 75% !important;
+
+ }
+
+ .main-create.d-flex.justify-content-center.align-items-center {
+ margin: 20px 0px !important;
+ }
+
+ #payment-method {
+ width: 80% !important;
+ }
+
+ .card.p-4 {
+ width: 40%;
+ }
+
+ /* navbar */
+
+
+ /* navbar end */
+ .payment1 {
+ gap: 15px;
+ }
+
+ .navbar-expand-lg .navbar-collapse {
+
+ justify-content: end !important;
+ }
+
+ .main-profile-password {
+ margin: 10px 0px;
+
+ }
+ div#pass1 {
+ display: flex;
+ flex-direction: column;
+ gap:3px;
+ }
+ .d-flex.justify-content-center.align-items-center.p-4.payment1{
+ gap: 10px;
+ }
+ nav#navbar {
+ margin: 0px !important;
+ }
+}
+
+@media screen and (max-width:1130px) {
+ div#login-height {
+ padding: 10px !important;
+ }
+.d-flex.justify-content-center.align-items-center.p-4.payment1 {
+ flex-direction: column-reverse;
+gap:10px;
+}
+li.nav-item a {
+ margin: -3px !important;
+}
+.container-fluid {
+ padding: 0px !important;
+}
+}
+
+@media screen and (max-width: 992px) {
+ nav#login {
+ width: 70%;
+ }
+
+ #login-form {
+ margin: 0 auto;
+ padding: 0;
+ width: 85%;
+ }
+
+ .side-image {
+ margin: 0;
+ padding: 0;
+ display: none;
+ }
+
+ #payment-method-form {
+ max-width: 800px !important;
+ width: 100% !important;
+ }
+
+ #payment-method {
+ width: 90% !important;
+ }
+
+ #user-create {
+ max-width: 900px;
+ width: 100%;
+ }
+
+ #edit {
+ width: 70% !important;
+ }
+
+ #edit-user {
+ width: 90%;
+ gap: 0px !important;
+ }
+
+ #expense-create {
+ width: 70% !important;
+ }
+
+ .edit1 {
+ width: 80% !important;
+ }
+
+ #edit-resident-form {
+ width: 80% !important;
+ }
+
+ .payment1 {
+ gap: 15px;
+ }
+
+ form#payment-history-form {
+ display: flex;
+ gap: 9px;
+ padding: 10px;
+ width: 100% !important;
+
+ }
+
+ .main-details {
+ width: 75%;
+ }
+
+ nav#navbar {
+ margin: 0 !important;
+ }
+
+ #user-create {
+
+ gap: 6px;
+ }
+
+ #main-user {
+ margin-top: 40px;
+ }
+
+ #user-form {
+ gap: 10px !important;
+ width: 60% !important;
+
+ }
+
+ .card.p-4 {
+ width: 50%;
+ }
+
+ .reports.d-flex.justify-content-end.me-5,
+ .refresh-button.pb-4.me-5.d-flex.justify-content-end {
+ justify-content: center !important;
+ padding: 0px !important;
+ margin: 10px;
+ }
+ .resident-create.mt-3.p-3.me-4.d-flex.justify-content-end,
+ .refresh-button.pb-3.me-5.d-flex.justify-content-end {
+ justify-content: center !important;
+ }
+
+ .refresh-expenses.pt-3.pe-5.d-flex.justify-content-end.gap-2 {
+ justify-content: center !important;
+ padding:30px 0px 0px 0px !important;
+ }
+
+ .add-user.mt-2.pt-3.pb-2.me-5.d-flex.justify-content-end.gap-2 {
+ justify-content: center !important;
+ margin: 0px !important;
+ }
+
+ .user .dropdown .pe-3 .me-3 {
+ display: block !important;
+ }
+
+ .user-links .p-3 {
+ display: block !important;
+ padding: 0px !important;
+ }
+
+ .user.dropdown.pe-3.me-3.d-flex.align-items-center {
+ display: block !important;
+ text-align: inherit;
+ }
+
+ nav#users-nav {
+ flex-direction: column;
+ gap: 5px;
+ justify-content: end !important;
+ }
+
+ .table-add-user.ps-5.pe-5.pt-3.table-responsive,
+ .table-manage-house.ps-5.pe-5.pt-3.table-responsive,
+ .table-resident.table-hover.table-bordered.align-middle.ps-5.pe-5.pt-3.table-responsive {
+ padding: 0px !important;
+ }
+
+ .table-payments.ps-5.pe-5.pt-2.table-responsive,
+ .table-expenses.ps-5.pe-5.pt-3.mt-3.table-responsive {
+ padding: 0px !important;
+
+ }
+
+ .resident-create.mt-3.p-3.me-3.d-flex.justify-content-end {
+ margin: 0px !important;
+ justify-content: center !important;
+ }
+
+ .d-flex.justify-content-center.align-items-center.p-4.payment1 {
+ padding: 10px 0px 0px 0px !important;
+ }
+
+ #main-user {
+ margin: 20px 0px;
+ }
+
+ .resident-create.mt-3.me-5.pt-3.pb-3.d-flex.justify-content-end {
+ justify-content: center !important;
+ margin: 0px !important;
+ }
+
+ .refresh-button.pt-2.me-5.d-flex.justify-content-end.align-items-center.gap-2 {
+ justify-content: center !important;
+ padding: 10px !important;
+ margin: 0px !important;
+ }
+
+ #filter {
+ margin: 0px !important;
+ }
+
+ #end-date {
+ margin: 0px !important;
+ }
+ div#pass1 {
+
+ gap: 2px;
+ }
+ .navbar-dark .navbar-toggler {
+ color: rgba(255,255,255,.55);
+ border-color:none !important
+ }
+ .paid-month-flex.d-flex.me-3{
+ margin: 0px !important;
+ }
+.d-flex.justify-content-center.align-items-center.p-4.payment1 {
+ flex-direction: inherit;
+ gap: 10px;
+}
+.reports.d-flex.justify-content-end.me-5, .refresh-button.pb-4.me-5.d-flex.justify-content-end {
+justify-content:flex-end !important;
+padding:10px !important
+}
+.d-flex.justify-content-center.align-items-center.p-4.payment1{
+
+padding:0px !important;
+
+}
+.reports.d-flex.justify-content-end.me-5, .refresh-button.pb-4.me-5.d-flex.justify-content-end {
+ justify-content: center !important;
+ padding: 0px !important;
+ margin: 1
+20px 0px 10px 0px !important;
+}
+.d-flex.justify-content-center.align-items-center.p-4.payment1 {
+ padding: 10px 0px 0px 0px !important;
+}
+.d-flex.justify-content-center.align-items-center.p-4.payment1 {
+ gap: 10px;
+}
+.refresh-button.pb-3.me-5.d-flex.justify-content-end {
+ justify-content: center !important;
+}
+.navbar-toggler {
+
+ filter: invert(1) brightness(1);
+}
+.row .col-3 {
+ width: 46%;
+}
+.refresh-button.pb-4.me-5.d-flex.justify-content-end.hide{
+ margin: 10px !important;
+}
+.navbar-dark .navbar-toggler-icon {
+ filter: invert(1);
+}
+}
+
+@media screen and (max-width: 700px) {
+ #login-height {
+ width: 100%;
+ }
+
+ .side-image img {
+ margin: 0px;
+ width: 100%;
+ }
+
+ #login {
+ width: 100%;
+ padding: 10px;
+ }
+
+ #login-form {
+ padding: 0;
+ }
+
+ #payment-method-form {
+ max-width: 600px !important;
+ width: 100% !important;
+ }
+
+ #payment-method {
+ width: 90% !important;
+ }
+
+ .table-payments.ps-5.pe-5.pt-2 {
+ padding: 0px !important;
+ }
+
+ .refresh-button a {
+ display: none;
+ }
+
+ .table-add-user {
+ padding: 0px !important;
+ }
+
+ #expense-create {
+ z-index: -1;
+ }
+
+ .month {
+ gap: 10px 120px;
+ }
+
+ .main-details {
+ width: 85%;
+ }
+
+ #create-resident {
+ width: 80% !important;
+ }
+
+ #resident-edit {
+ width: 75% !important;
+ }
+
+ #edit-resident-form {
+ width: 90% !important;
+ }
+
+ #user-form {
+ width: 70% !important;
+ }
+
+ #users-nav {
+ display: flex;
+ flex-direction: column;
+ row-gap: 16px;
+ }
+
+ #users-nav a {
+ margin: 0px !important;
+ }
+
+ .refresh-expenses.pt-3.pe-5.d-flex.justify-content-end.gap-2 {
+ justify-content: center !important;
+ padding: 0px !important;
+ margin-top: 20px;
+ }
+
+ .add-user.mt-2.pt-3.pb-2.me-5.d-flex.justify-content-end.gap-2 {
+ justify-content: center !important;
+ padding: 20px !important;
+ margin: 0px !important;
+ }
+
+ .refresh-button.pb-3.me-5.d-flex.justify-content-end {
+ justify-content: center !important;
+ padding: 0px !important;
+
+ margin: 10px 0px 10px 0px !important;
+ }
+
+ .resident-create.mt-3.p-3.me-5.d-flex.justify-content-end {
+ justify-content: center !important;
+ margin: 10px 0px 10px 0px !important;
+ }
+
+ .refresh-button.pb-4.me-5.d-flex.justify-content-end.gap-2 {
+ justify-content: center !important;
+ padding: 0px !important;
+ margin: 10px 0px 10px 0px !important;
+ }
+
+ .reports.d-flex.justify-content-end.me-5,
+ .refresh-button.pb-4.me-5.d-flex.justify-content-end {
+ justify-content: center !important;
+ padding: 0px !important;
+ margin: 5px 0px 10px 0px !important;
+ }
+
+ div#main-details1 {
+ margin: 0 !important;
+ flex-direction: column-reverse;
+ padding: 35px 0px;
+
+ }
+
+ .table-add-user.ps-5.pe-5.pt-3.table-responsive {
+ margin: 0px !important;
+ padding: 10px 0px 0px 0px !important;
+ }
+
+ .table-manage-house.ps-5.pe-5.pt-3.table-responsive,
+ .table-resident.table-hover.table-bordered.align-middle.ps-5.pe-5.pt-3.table-responsive {
+ padding: 10px 0px 0px 0px !important;
+ }
+
+ .main-details-house.me-5.ms-5 {
+ margin: 10px 0px 10px 0px !important;
+ }
+
+ .card.p-4 {
+ width: 70%;
+ }
+
+ .main-details.rounded.bg-light.p-4 {
+ order: 2;
+ }
+
+ div#pass1 {
+ display: flex;
+ flex-direction: column;
+ gap: 3px;
+ }
+
+ .d-flex.justify-content-center.align-items-center.p-4.payment1 {
+ flex-direction: column-reverse;
+ }
+.reports.d-flex.justify-content-end.me-5, .refresh-button.pb-4.me-5.d-flex.justify-content-end {
+ justify-content: center !important;
+ padding: 0px !important;
+ margin: 10px 0px 10px 0px !important;
+}
+.table-expenses.ps-5.pe-5.pt-3.table-responsive{
+padding:0px !important;
+
+}
+form#payment-history-form {
+ flex-direction: column;
+
+}
+}
+
+@media screen and (max-width: 520px) {
+ #background {
+ background-color: transparent !important;
+ background-image: linear-gradient(140deg,
+ #eadedb 0%,
+ #bc70a4 50%,
+ #bfd641 75%) !important;
+ }
+
+ .side-image {
+ display: none;
+ }
+
+ #payment-method-form {
+ max-width: 500px !important;
+ width: 100% !important;
+ }
+
+ #payment-method {
+ width: 100% !important;
+ }
+
+ #edit {
+ width: 100% !important;
+ }
+
+ #edit-user {
+ width: 90%;
+ }
+
+ #resident-create-form {
+ width: 95%;
+ }
+
+ #get-resident {
+ width: 80% !important;
+ z-index: -1;
+ }
+
+ #expense-create-form {
+ width: 100%;
+ gap: 4px !important;
+ }
+
+ #expense-create {
+ width: 90% !important;
+ top: 25%;
+ }
+
+ #login {
+ width: 90% !important;
+ }
+
+ #login-form {
+ margin: 0 auto;
+ padding: 0;
+ width: 90%;
+ }
+
+ .edit1 {
+ width: 100% !important;
+ }
+
+ .table-add-user {
+ padding: 0px !important;
+ }
+
+ #payment-method {
+ width: 90% !important;
+ }
+
+ .month {
+ gap: 6px 120px;
+ }
+
+ .main-details {
+ width: 90%;
+ }
+
+ #create-resident {
+ width: 100% !important;
+ }
+
+ .month {
+ display: initial;
+ }
+
+ #reset-your-password {
+ font-size: 15px !important;
+ }
+
+ #user-form {
+ width: 80% !important;
+ }
+
+ a#previous {
+ order: 0;
+ }
+
+ div#main-details1 {
+ flex-direction: column-reverse;
+ }
+
+ .card.p-4 {
+ width: 70%;
+ }
+
+ .payment-heading.text-center.bg-light.me-5.ms-5.rounded.mt-3.p-4 {
+ width: 80%;
+ }
+
+ .row .col-3 {
+ width: 80%;
+ }
+}
+
+@media screen and (max-width: 460px) {
+ #login-height {
+ padding: 5px;
+ }
+
+ #payment-method-form {
+ max-width: 400px;
+ width: 100%;
+ }
+
+ #payment-method {
+ width: 90% !important;
+ }
+
+ #add-user {
+ width: 90% !important;
+ }
+
+ #resident-create-form {
+ width: 95%;
+ }
+
+ #get-resident {
+ width: 90% !important;
+ z-index: -1;
+ }
+
+ #logo h3 {
+ font-size: 20px !important;
+ }
+
+ #login-form {
+ width: 100%;
+ }
+
+ .edit-resident h3 {
+ font-size: 20px;
+ text-align: center;
+ }
+
+ #resident-edit {
+ width: 85% !important;
+
+ top: 25%;
+ }
+
+ #navbar {
+ padding: 10px 0px !important;
+ margin: 0 !important;
+ }
+
+ .month {
+ gap: 3px 120px;
+ }
+
+ #resident-create h3 {
+ font-size: 20px;
+ }
+
+ #resident-edit {
+ top: 18%;
+ }
+
+ h3#resident-heading {
+ display: flex;
+ align-items: center;
+ flex-direction: column;
+ }
+
+ .reports.d-flex.justify-content-end.me-5 {
+ margin: 0px !important;
+ padding: 0px;
+ display: flex;
+ justify-content: center !important;
+ }
+
+ .month {
+ gap: 3px 95px;
+ }
+
+ .card.p-4 {
+ width: 80%;
+ }
+
+ div#heading-edit {
+ justify-content: center !important;
+ }
+
+ h3#user-heading {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ }
+
+ .add-user.mt-2.pt-3.pb-2.me-5.d-flex.justify-content-end.align-items-end.gap-2 input#search {
+ width: 50%;
+ }
+.reports.d-flex.justify-content-end.me-5 {
+ margin: 16px !important;
+ padding: 0px;
+ display: flex;
+ justify-content: center !important;
+}
+}
+
+@media screen and (max-width: 320px) {
+ .payment1 {
+ flex-direction: column-reverse;
+ gap: 15px;
+ }
+
+ .refresh-button a {
+ display: none;
+ }
+
+ form#payment-history-form {
+ display: flex;
+ flex-direction: column;
+ gap: 9px;
+ }
+
+ #payment-method {
+ width: 100% !important;
+ }
+
+ #payment-method-form {
+ max-width: 300px;
+ width: 100%;
+ }
+
+ .month {
+ display: block !important;
+ }
+
+ #resident-create-form {
+ width: 95%;
+ }
+
+ #get-resident {
+ width: 90% !important;
+ top: 25%;
+ }
+
+ #navbar {
+ padding: 10px 0px !important;
+ margin: 0 !important;
+ }
+
+
+}
+
+@media print {
+ .none {
+ display: none !important;
+ }
+
+}
+
diff --git a/backup/public/style.css@20230511 b/backup/public/style.css@20230511
new file mode 100644
index 0000000..6aad8c6
--- /dev/null
+++ b/backup/public/style.css@20230511
@@ -0,0 +1,1480 @@
+.error {
+ color: red;
+ display: block;
+ width: 100%;
+ margin-top: 5px;
+}
+.profile-pic{
+border:1px solid black;
+}
+.pwd-icon {
+ position: relative;
+ height: 36px;
+ margin-bottom: 16px;
+}
+
+.pwd-icon #eye {
+ top: 50%;
+ right: 15px;
+ transform: translate(0%, -50%);
+}
+.forgot {
+ background-color: #fff;
+ padding: 12px;
+ border: 1px solid #dfdfdf;
+}
+
+.padding-bottom-3x {
+ padding-bottom: 72px !important;
+}
+
+.card-footer {
+ background-color: #fff;
+}
+
+.btn {
+ font-size: 13px;
+}
+
+#my-div1 {
+ background-color: whitesmoke;
+ border: 2px solid black;
+ margin: 18px;
+}
+
+.form-control:focus {
+ color: #495057;
+ background-color: #fff;
+ border-color: #76b7e9;
+ outline: 0;
+ box-shadow: 0 0 0 0px #28a745;
+}
+
+#loading-text {
+ display: none;
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+}
+
+.loading-text {
+ display: none;
+}
+
+.main-profile-password {
+ margin-top: 80px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
+
+.order_by {
+ position: initial !important;
+}
+
+#forgot-password-row1 {
+ height: 85vh;
+ display: flex;
+ justify-content: center;
+ width: 100%;
+}
+
+/* profile */
+
+.card-img-top {
+ width: 60%;
+ border-radius: 50% !important;
+ margin: 0 auto;
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
+}
+
+.card {
+ padding: 1.5em 0.5em 0.5em;
+ text-align: center;
+ border-radius: 2em;
+ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
+ padding: 50px;
+}
+
+.card-title {
+ font-weight: bold;
+ font-size: 1.5em;
+}
+
+.btn-primary {
+ border-radius: 2em;
+ padding: 0.5em 1.5em;
+}
+
+h3#resident-heading {
+ display: flex;
+ align-items: center;
+}
+
+.user-type {
+ cursor: pointer !important;
+}
+
+.user-type1 {
+ cursor: pointer;
+}
+
+.cursor-resident {
+ cursor: pointer;
+}
+
+.cursor-resident-create {
+ cursor: pointer;
+}
+
+.payment-cursor {
+ cursor: pointer;
+}
+
+.error1 {
+ color: red;
+}
+
+.order_by {
+ position: initial !important;
+}
+
+#house_id {
+ cursor: pointer;
+}
+
+#payment_cursor {
+ cursor: pointer;
+}
+
+#forgot {
+ color: #e597bf;
+}
+
+#sign-up {
+ color: #e597bf;
+}
+
+#background {
+ background: rgb(229, 151, 191) !important;
+}
+
+#add-user-position {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ margin: 20px 0px;
+}
+
+.main-edit {
+ margin: 30px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
+
+#edit_img {
+ height: 60px;
+ width: 60px;
+}
+
+#keys {
+ height: 60px;
+ width: 80px;
+}
+
+.resident-edit {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ margin: 20px 0px;
+}
+
+#get-resident {
+ position: absolute;
+ left: 0;
+ right: 0;
+ top: 20%;
+}
+
+.main-payment-method {
+ margin-top: 5px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
+
+.main-expense-create {
+ margin: 10px 0px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
+
+#add_user_id {
+ border-left: 1px solid lavender;
+}
+
+.add-user-image {
+ background: beige !important;
+}
+
+#heading-edit {
+ background-color: beige;
+}
+
+#get-house {
+ background-color: beige;
+}
+
+.edit-resident {
+ background-color: beige;
+}
+
+#payment-heading {
+ background-color: beige;
+}
+
+#expense-heading {
+ background-color: beige;
+}
+
+#row1,
+#row2,
+#row3 {
+ border-bottom: 1px solid aqua;
+}
+
+.receipt-main {
+ margin: 0 auto !important;
+ border: 1px solid black;
+}
+
+.bottom-border {
+ height: 30px;
+ background-color: aqua;
+}
+
+.month {
+ display: grid;
+ grid-template-columns: auto auto;
+ gap: 10px 130px;
+ align-items: self-end;
+
+}
+
+.main-height {
+ height: 85vh !important;
+}
+
+.main-details {
+ width: 60%;
+}
+
+#hover-li .nav-item :hover {
+ border: 1px solid white !important;
+}
+
+.drop-hover .btn:hover {
+ border: 1px solid white !important;
+}
+
+.user-hover a:hover {
+ border: 1px solid white !important;
+}
+
+#user-create {
+ width: 70%;
+}
+
+#edit {
+ width: 50% !important;
+}
+
+#edit-user {
+ width: 70%;
+}
+
+#resident-create-form {
+ width: 80%;
+}
+
+#get-resident {
+ z-index: -1;
+}
+
+#edit-resident-form {
+ width: 100% !important;
+}
+
+#expense-create-form {
+ width: 80%;
+}
+
+#expense-create {
+ top: 20%;
+}
+
+.side-image img {
+ width: 100%;
+}
+
+#login-form {
+ width: 50%;
+}
+
+.edit1 {
+ width: 80% !important;
+}
+
+#edit-resident-form {
+ width: 80% !important;
+}
+
+.main-create {
+ height: 90vh;
+}
+
+.user-cursor {
+ cursor: pointer;
+}
+
+/* profile */
+
+.card-img-top {
+ width: 60%;
+ border-radius: 50% !important;
+ margin: 0 auto;
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
+}
+
+.card {
+ padding: 1.5em 0.5em 0.5em;
+ text-align: center;
+ border-radius: 2em;
+ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
+ padding: 50px;
+}
+
+.card-title {
+ font-weight: bold;
+ font-size: 1.5em;
+}
+
+.btn-primary {
+ border-radius: 2em;
+ padding: 0.5em 1.5em;
+}
+
+h3#resident-heading {
+ display: flex;
+ align-items: center;
+}
+
+.user-type {
+ cursor: pointer !important;
+}
+
+.user-type1 {
+ cursor: pointer;
+}
+
+.cursor-resident {
+ cursor: pointer;
+}
+
+.cursor-resident-create {
+ cursor: pointer;
+}
+
+.payment-cursor {
+ cursor: pointer;
+}
+
+/* reset */
+.main-reset {
+ height: 85vh;
+ display: flex;
+ align-items: center;
+}
+
+#row2 {
+ padding: 10px 40px;
+}
+
+.user-hover a img {
+ margin-right: 5px;
+}
+
+#payment-method-form {
+ width: 60%;
+}
+
+#payment-method-form {
+ width: 80%;
+}
+
+#edit-user {
+ gap: 3px !important;
+}
+
+.date-mode p {
+ margin: 0;
+ color: #ff0f0f;
+ font-size: 13px;
+}
+
+.date-mode p span.label {
+ font-weight: bold;
+}
+
+#main-user {
+ display: flex;
+ align-items: center;
+ margin-top: 70px;
+}
+
+#user-form {
+ gap: 12px !important;
+}
+
+#users-nav a:hover {
+ border: 1px solid white;
+}
+
+#user-a-link:hover {
+ border: 1px solid white;
+}
+
+#submit-cancel {
+ display: flex;
+ flex-direction: column;
+ row-gap: 10px;
+}
+
+.search {
+ border: 2px solid black;
+ border-radius: 25px;
+ padding-left: 16px;
+}
+
+.search::placeholder {
+ color: black;
+}
+
+
+
+
+.img>img {
+ object-fit: cover;
+ border-radius: 50%;
+ width: 120px;
+ height: 110px;
+}
+
+.card.p-4 {
+ width: 25%;
+}
+
+thead#profile-heading-form {
+ vertical-align: middle !important;
+}
+
+#user-profile-show {
+ margin-top: 80px !important;
+}
+
+div#printableArea th {
+ vertical-align: middle;
+}
+
+.user-logo.d-flex.align-items-center.gap-2 {
+ padding: 10px 10px;
+}
+.demo{
+ position: relative;
+ }
+ .demo input[type="password"],
+ .demo input[type="text"]{
+ box-sizing: border-box;
+ }
+ .fa-eye{
+ position: absolute;
+ top: 65%;
+ right: 4%;
+ cursor: pointer;
+ color: lightgray;
+z-index:999;
+
+
+background-color:transparent;
+justify-content:center;
+align-items:center;
+border:none !important;
+ }
+ .structure {
+
+ overflow-y: hidden !important;
+ }
+
+/* print-screen*/
+@media print {
+
+ .table-resident.table-hover.table-bordered.align-middle.ps-5.pe-5.pt-3.table-responsive {
+ width: 100%;
+ }
+
+ table.table.table-light.table-hover.table-bordered.align-middle td {
+ background-color: #ffff;
+ }
+
+ #th-print {
+ display: none;
+ }
+
+ table.table.table-light.table-hover.table-bordered.align-middle td:last-child .table.table.table-light.table-hover.table-bordered.align-middle td:last-child,
+ table.table.table-light.table-hover.table-bordered.align-middle td:last-child {
+ display: none;
+ }
+
+ table.table.table-light.table-hover.table-bordered.align-middle th:last-child,
+ table.table.table-light.table-hover.table-bordered.align-middle th:nth-last-child(9) {
+ display: none;
+ }
+
+ th#th-payment-print {
+ display: none;
+ }
+
+ tr.table-dark th:last-child {
+ display: none !important;
+ border: none !important;
+ }
+
+ @page: first {
+
+ background: black !important;
+ }
+}
+
+
+.profile-pic {
+ border-radius: 50%;
+ height: 150px;
+ width: 150px;
+ background-size: cover;
+ background-position: center;
+ background-blend-mode: multiply;
+ vertical-align: middle;
+ text-align: center;
+ color: transparent;
+ transition: all .3s ease;
+ text-decoration: none;
+ cursor: pointer;
+}
+
+.profile-pic:hover {
+ background-color: rgba(0, 0, 0, .5);
+ z-index: 10000;
+ color: #fff;
+ transition: all .3s ease;
+ text-decoration: none;
+}
+
+.profile-pic span {
+ display: inline-block;
+ padding-top: 3.5em;
+ padding-bottom: 3.5em;
+}
+
+form input[type="file"] {
+ display: none;
+ cursor: pointer;
+}
+
+#user-form1 {
+ margin: 0px !important;
+
+}
+
+div#pass1 {
+ display: flex;
+ flex-direction: column;
+ gap: 5px;
+}
+
+p {
+ margin-top: 0;
+ margin-bottom: 1rem;
+ margin: 0px;
+}
+
+.main-resident-create {
+ margin: 50px 0px !important;
+}
+
+form#payment-method-form {
+ gap: 10px !important;
+}
+
+.activty-log button.btn.btn-primary {
+ border-radius: 20px;
+ }
+ .activty-log .view{
+/* display: flex;
+justify-content: center; */
+ }
+ .card.dash {
+ padding: 0px !important;
+}
+.activty-log td{
+ padding: 0px !important;
+}
+form#payment-history-form {
+ /* margin: 0px !important; */
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
+/* print end */
+/* responsiveness */
+
+@media screen and (max-width: 1600px) {
+ #payment-method-form {
+ width: 80%;
+ }
+
+ #edit-user {
+ gap: 4px !important;
+ }
+
+ #user-create {
+ gap: 10px !important;
+ }
+
+ #resident-create-form {
+ gap: 8px !important;
+ }
+
+ #edit-resident-form {
+ gap: 8px !important;
+ }
+
+ #expense-create-form {
+ gap: 8px !important;
+ }
+ form#payment-history-form {
+ padding: 10px;
+ }
+}
+
+@media screen and (max-width: 1280px) {
+ #user-create {
+ width: 70%;
+ gap: 10px !important;
+ }
+
+ #add-user {
+ width: 70% !important;
+ }
+
+ #edit {
+ width: 50% !important;
+ }
+
+ #edit-user {
+ width: 70%;
+ gap: 2px !important;
+ }
+
+ #get-resident {
+ width: 70% !important;
+ }
+
+ #resident-create-form {}
+
+ #resident-edit {
+ width: 70% !important;
+ }
+
+ .month {
+ gap: 4px 130px;
+ }
+
+ .main-payment-method {
+ height: unset;
+ margin: 10px;
+
+ }
+ div#pass1 {
+
+ gap: 5px;
+ }
+ .d-flex.justify-content-center.align-items-center.p-4.payment1 {
+ flex-direction: column-reverse;
+ gap: 10px;
+ }
+ h5.card-title {
+ font-size: 20px;
+ }
+}
+
+@media screen and (max-width: 1200px) {
+ #login-form {
+ margin: 0 auto;
+ padding: 0;
+ }
+
+ .navbar-expand-lg .navbar-nav {
+ display: none;
+ }
+
+ #payment-method-form {
+ max-width: 600px !important;
+ width: 100% !important;
+ }
+
+ #payment-method {
+ width: 100% !important;
+ }
+
+ #user-create {
+ max-width: 1000px;
+ width: 100%;
+ }
+
+ #create-resident {
+ width: 75% !important;
+
+ }
+
+ .main-create.d-flex.justify-content-center.align-items-center {
+ margin: 20px 0px !important;
+ }
+
+ #payment-method {
+ width: 80% !important;
+ }
+
+ .card.p-4 {
+ width: 40%;
+ }
+
+ /* navbar */
+
+
+ /* navbar end */
+ .payment1 {
+ gap: 15px;
+ }
+
+ .navbar-expand-lg .navbar-collapse {
+
+ justify-content: end !important;
+ }
+
+ .main-profile-password {
+ margin: 10px 0px;
+
+ }
+ div#pass1 {
+ display: flex;
+ flex-direction: column;
+ gap:3px;
+ }
+ .d-flex.justify-content-center.align-items-center.p-4.payment1{
+ gap: 10px;
+ }
+ nav#navbar {
+ margin: 0px !important;
+ }
+}
+
+@media screen and (max-width:1130px) {
+ div#login-height {
+ padding: 10px !important;
+ }
+.d-flex.justify-content-center.align-items-center.p-4.payment1 {
+ flex-direction: column-reverse;
+gap:10px;
+}
+li.nav-item a {
+ margin: -3px !important;
+}
+.container-fluid {
+ padding: 0px !important;
+}
+}
+
+@media screen and (max-width: 992px) {
+ nav#login {
+ width: 70%;
+ }
+
+ #login-form {
+ margin: 0 auto;
+ padding: 0;
+ width: 85%;
+ }
+
+ .side-image {
+ margin: 0;
+ padding: 0;
+ display: none;
+ }
+
+ #payment-method-form {
+ max-width: 800px !important;
+ width: 100% !important;
+ }
+
+ #payment-method {
+ width: 90% !important;
+ }
+
+ #user-create {
+ max-width: 900px;
+ width: 100%;
+ }
+
+ #edit {
+ width: 70% !important;
+ }
+
+ #edit-user {
+ width: 90%;
+ gap: 0px !important;
+ }
+
+ #expense-create {
+ width: 70% !important;
+ }
+
+ .edit1 {
+ width: 80% !important;
+ }
+
+ #edit-resident-form {
+ width: 80% !important;
+ }
+
+ .payment1 {
+ gap: 15px;
+ }
+
+ form#payment-history-form {
+ display: flex;
+ gap: 9px;
+ padding: 10px;
+ width: 100% !important;
+
+ }
+
+ .main-details {
+ width: 75%;
+ }
+
+ nav#navbar {
+ margin: 0 !important;
+ }
+
+ #user-create {
+
+ gap: 6px;
+ }
+
+ #main-user {
+ margin-top: 40px;
+ }
+
+ #user-form {
+ gap: 10px !important;
+ width: 60% !important;
+
+ }
+
+ .card.p-4 {
+ width: 50%;
+ }
+
+ .reports.d-flex.justify-content-end.me-5,
+ .refresh-button.pb-4.me-5.d-flex.justify-content-end {
+ justify-content: center !important;
+ padding: 0px !important;
+ margin: 10px;
+ }
+ .resident-create.mt-3.p-3.me-4.d-flex.justify-content-end,
+ .refresh-button.pb-3.me-5.d-flex.justify-content-end {
+ justify-content: center !important;
+ }
+
+ .refresh-expenses.pt-3.pe-5.d-flex.justify-content-end.gap-2 {
+ justify-content: center !important;
+ padding:30px 0px 0px 0px !important;
+ }
+
+ .add-user.mt-2.pt-3.pb-2.me-5.d-flex.justify-content-end.gap-2 {
+ justify-content: center !important;
+ margin: 0px !important;
+ }
+
+ .user .dropdown .pe-3 .me-3 {
+ display: block !important;
+ }
+
+ .user-links .p-3 {
+ display: block !important;
+ padding: 0px !important;
+ }
+
+ .user.dropdown.pe-3.me-3.d-flex.align-items-center {
+ display: block !important;
+ text-align: inherit;
+ }
+
+ nav#users-nav {
+ flex-direction: column;
+ gap: 5px;
+ justify-content: end !important;
+ }
+
+ .table-add-user.ps-5.pe-5.pt-3.table-responsive,
+ .table-manage-house.ps-5.pe-5.pt-3.table-responsive,
+ .table-resident.table-hover.table-bordered.align-middle.ps-5.pe-5.pt-3.table-responsive {
+ padding: 0px !important;
+ }
+
+ .table-payments.ps-5.pe-5.pt-2.table-responsive,
+ .table-expenses.ps-5.pe-5.pt-3.mt-3.table-responsive {
+ padding: 0px !important;
+
+ }
+
+ .resident-create.mt-3.p-3.me-3.d-flex.justify-content-end {
+ margin: 0px !important;
+ justify-content: center !important;
+ }
+
+ .d-flex.justify-content-center.align-items-center.p-4.payment1 {
+ padding: 10px 0px 0px 0px !important;
+ }
+
+ #main-user {
+ margin: 20px 0px;
+ }
+
+ .resident-create.mt-3.me-5.pt-3.pb-3.d-flex.justify-content-end {
+ justify-content: center !important;
+ margin: 0px !important;
+ }
+
+ .refresh-button.pt-2.me-5.d-flex.justify-content-end.align-items-center.gap-2 {
+ justify-content: center !important;
+ padding: 10px !important;
+ margin: 0px !important;
+ }
+
+ #filter {
+ margin: 0px !important;
+ }
+
+ #end-date {
+ margin: 0px !important;
+ }
+ div#pass1 {
+
+ gap: 2px;
+ }
+ .navbar-dark .navbar-toggler {
+ color: rgba(255,255,255,.55);
+ border-color:none !important
+ }
+ .paid-month-flex.d-flex.me-3{
+ margin: 0px !important;
+ }
+.d-flex.justify-content-center.align-items-center.p-4.payment1 {
+ flex-direction: inherit;
+ gap: 10px;
+}
+.reports.d-flex.justify-content-end.me-5, .refresh-button.pb-4.me-5.d-flex.justify-content-end {
+justify-content:flex-end !important;
+padding:10px !important
+}
+.d-flex.justify-content-center.align-items-center.p-4.payment1{
+
+padding:0px !important;
+
+}
+.reports.d-flex.justify-content-end.me-5, .refresh-button.pb-4.me-5.d-flex.justify-content-end {
+ justify-content: center !important;
+ padding: 0px !important;
+ margin: 1
+20px 0px 10px 0px !important;
+}
+.d-flex.justify-content-center.align-items-center.p-4.payment1 {
+ padding: 10px 0px 0px 0px !important;
+}
+.d-flex.justify-content-center.align-items-center.p-4.payment1 {
+ gap: 10px;
+}
+.refresh-button.pb-3.me-5.d-flex.justify-content-end {
+ justify-content: center !important;
+}
+.navbar-toggler {
+
+ filter: invert(1) brightness(1);
+}
+.row .col-3 {
+ width: 46%;
+}
+.refresh-button.pb-4.me-5.d-flex.justify-content-end.hide{
+ margin: 10px !important;
+}
+.navbar-dark .navbar-toggler-icon {
+ filter: invert(1);
+}
+}
+
+@media screen and (max-width: 700px) {
+ #login-height {
+ width: 100%;
+ }
+
+ .side-image img {
+ margin: 0px;
+ width: 100%;
+ }
+
+ #login {
+ width: 100%;
+ padding: 10px;
+ }
+
+ #login-form {
+ padding: 0;
+ }
+
+ #payment-method-form {
+ max-width: 600px !important;
+ width: 100% !important;
+ }
+
+ #payment-method {
+ width: 90% !important;
+ }
+
+ .table-payments.ps-5.pe-5.pt-2 {
+ padding: 0px !important;
+ }
+
+ .refresh-button a {
+ display: none;
+ }
+
+ .table-add-user {
+ padding: 0px !important;
+ }
+
+ #expense-create {
+ z-index: -1;
+ }
+
+ .month {
+ gap: 10px 120px;
+ }
+
+ .main-details {
+ width: 85%;
+ }
+
+ #create-resident {
+ width: 80% !important;
+ }
+
+ #resident-edit {
+ width: 75% !important;
+ }
+
+ #edit-resident-form {
+ width: 90% !important;
+ }
+
+ #user-form {
+ width: 70% !important;
+ }
+
+ #users-nav {
+ display: flex;
+ flex-direction: column;
+ row-gap: 16px;
+ }
+
+ #users-nav a {
+ margin: 0px !important;
+ }
+
+ .refresh-expenses.pt-3.pe-5.d-flex.justify-content-end.gap-2 {
+ justify-content: center !important;
+ padding: 0px !important;
+ margin-top: 20px;
+ }
+
+ .add-user.mt-2.pt-3.pb-2.me-5.d-flex.justify-content-end.gap-2 {
+ justify-content: center !important;
+ padding: 20px !important;
+ margin: 0px !important;
+ }
+
+ .refresh-button.pb-3.me-5.d-flex.justify-content-end {
+ justify-content: center !important;
+ padding: 0px !important;
+
+ margin: 10px 0px 10px 0px !important;
+ }
+
+ .resident-create.mt-3.p-3.me-5.d-flex.justify-content-end {
+ justify-content: center !important;
+ margin: 10px 0px 10px 0px !important;
+ }
+
+ .refresh-button.pb-4.me-5.d-flex.justify-content-end.gap-2 {
+ justify-content: center !important;
+ padding: 0px !important;
+ margin: 10px 0px 10px 0px !important;
+ }
+
+ .reports.d-flex.justify-content-end.me-5,
+ .refresh-button.pb-4.me-5.d-flex.justify-content-end {
+ justify-content: center !important;
+ padding: 0px !important;
+ margin: 5px 0px 10px 0px !important;
+ }
+
+ div#main-details1 {
+ margin: 0 !important;
+ flex-direction: column-reverse;
+ padding: 35px 0px;
+
+ }
+
+ .table-add-user.ps-5.pe-5.pt-3.table-responsive {
+ margin: 0px !important;
+ padding: 10px 0px 0px 0px !important;
+ }
+
+ .table-manage-house.ps-5.pe-5.pt-3.table-responsive,
+ .table-resident.table-hover.table-bordered.align-middle.ps-5.pe-5.pt-3.table-responsive {
+ padding: 10px 0px 0px 0px !important;
+ }
+
+ .main-details-house.me-5.ms-5 {
+ margin: 10px 0px 10px 0px !important;
+ }
+
+ .card.p-4 {
+ width: 70%;
+ }
+
+ .main-details.rounded.bg-light.p-4 {
+ order: 2;
+ }
+
+ div#pass1 {
+ display: flex;
+ flex-direction: column;
+ gap: 3px;
+ }
+
+ .d-flex.justify-content-center.align-items-center.p-4.payment1 {
+ flex-direction: column-reverse;
+ }
+.reports.d-flex.justify-content-end.me-5, .refresh-button.pb-4.me-5.d-flex.justify-content-end {
+ justify-content: center !important;
+ padding: 0px !important;
+ margin: 10px 0px 10px 0px !important;
+}
+.table-expenses.ps-5.pe-5.pt-3.table-responsive{
+padding:0px !important;
+
+}
+form#payment-history-form {
+ flex-direction: column;
+
+}
+}
+
+@media screen and (max-width: 520px) {
+ #background {
+ background-color: transparent !important;
+ background-image: linear-gradient(140deg,
+ #eadedb 0%,
+ #bc70a4 50%,
+ #bfd641 75%) !important;
+ }
+
+ .side-image {
+ display: none;
+ }
+
+ #payment-method-form {
+ max-width: 500px !important;
+ width: 100% !important;
+ }
+
+ #payment-method {
+ width: 100% !important;
+ }
+
+ #edit {
+ width: 100% !important;
+ }
+
+ #edit-user {
+ width: 90%;
+ }
+
+ #resident-create-form {
+ width: 95%;
+ }
+
+ #get-resident {
+ width: 80% !important;
+ z-index: -1;
+ }
+
+ #expense-create-form {
+ width: 100%;
+ gap: 4px !important;
+ }
+
+ #expense-create {
+ width: 90% !important;
+ top: 25%;
+ }
+
+ #login {
+ width: 90% !important;
+ }
+
+ #login-form {
+ margin: 0 auto;
+ padding: 0;
+ width: 90%;
+ }
+
+ .edit1 {
+ width: 100% !important;
+ }
+
+ .table-add-user {
+ padding: 0px !important;
+ }
+
+ #payment-method {
+ width: 90% !important;
+ }
+
+ .month {
+ gap: 6px 120px;
+ }
+
+ .main-details {
+ width: 90%;
+ }
+
+ #create-resident {
+ width: 100% !important;
+ }
+
+ .month {
+ display: initial;
+ }
+
+ #reset-your-password {
+ font-size: 15px !important;
+ }
+
+ #user-form {
+ width: 80% !important;
+ }
+
+ a#previous {
+ order: 0;
+ }
+
+ div#main-details1 {
+ flex-direction: column-reverse;
+ }
+
+ .card.p-4 {
+ width: 70%;
+ }
+
+ .payment-heading.text-center.bg-light.me-5.ms-5.rounded.mt-3.p-4 {
+ width: 80%;
+ }
+
+ .row .col-3 {
+ width: 80%;
+ }
+}
+
+@media screen and (max-width: 460px) {
+ #login-height {
+ padding: 5px;
+ }
+
+ #payment-method-form {
+ max-width: 400px;
+ width: 100%;
+ }
+
+ #payment-method {
+ width: 90% !important;
+ }
+
+ #add-user {
+ width: 90% !important;
+ }
+
+ #resident-create-form {
+ width: 95%;
+ }
+
+ #get-resident {
+ width: 90% !important;
+ z-index: -1;
+ }
+
+ #logo h3 {
+ font-size: 20px !important;
+ }
+
+ #login-form {
+ width: 100%;
+ }
+
+ .edit-resident h3 {
+ font-size: 20px;
+ text-align: center;
+ }
+
+ #resident-edit {
+ width: 85% !important;
+
+ top: 25%;
+ }
+
+ #navbar {
+ padding: 10px 0px !important;
+ margin: 0 !important;
+ }
+
+ .month {
+ gap: 3px 120px;
+ }
+
+ #resident-create h3 {
+ font-size: 20px;
+ }
+
+ #resident-edit {
+ top: 18%;
+ }
+
+ h3#resident-heading {
+ display: flex;
+ align-items: center;
+ flex-direction: column;
+ }
+
+ .reports.d-flex.justify-content-end.me-5 {
+ margin: 0px !important;
+ padding: 0px;
+ display: flex;
+ justify-content: center !important;
+ }
+
+ .month {
+ gap: 3px 95px;
+ }
+
+ .card.p-4 {
+ width: 80%;
+ }
+
+ div#heading-edit {
+ justify-content: center !important;
+ }
+
+ h3#user-heading {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ }
+
+ .add-user.mt-2.pt-3.pb-2.me-5.d-flex.justify-content-end.align-items-end.gap-2 input#search {
+ width: 50%;
+ }
+.reports.d-flex.justify-content-end.me-5 {
+ margin: 16px !important;
+ padding: 0px;
+ display: flex;
+ justify-content: center !important;
+}
+}
+
+@media screen and (max-width: 320px) {
+ .payment1 {
+ flex-direction: column-reverse;
+ gap: 15px;
+ }
+
+ .refresh-button a {
+ display: none;
+ }
+
+ form#payment-history-form {
+ display: flex;
+ flex-direction: column;
+ gap: 9px;
+ }
+
+ #payment-method {
+ width: 100% !important;
+ }
+
+ #payment-method-form {
+ max-width: 300px;
+ width: 100%;
+ }
+
+ .month {
+ display: block !important;
+ }
+
+ #resident-create-form {
+ width: 95%;
+ }
+
+ #get-resident {
+ width: 90% !important;
+ top: 25%;
+ }
+
+ #navbar {
+ padding: 10px 0px !important;
+ margin: 0 !important;
+ }
+
+
+}
+
+@media print {
+ .none {
+ display: none !important;
+ }
+
+}
+
diff --git a/backup/public/team.gif b/backup/public/team.gif
new file mode 100644
index 0000000..311b936
Binary files /dev/null and b/backup/public/team.gif differ
diff --git a/backup/public/totalpayment.png b/backup/public/totalpayment.png
new file mode 100644
index 0000000..97b23aa
Binary files /dev/null and b/backup/public/totalpayment.png differ
diff --git a/backup/public/user-icons.gif b/backup/public/user-icons.gif
new file mode 100644
index 0000000..57cbdcb
Binary files /dev/null and b/backup/public/user-icons.gif differ
diff --git a/backup/public/user1.jpg b/backup/public/user1.jpg
new file mode 100644
index 0000000..ce68e28
Binary files /dev/null and b/backup/public/user1.jpg differ
diff --git a/backup/public/writing.gif b/backup/public/writing.gif
new file mode 100644
index 0000000..67644cc
Binary files /dev/null and b/backup/public/writing.gif differ
diff --git a/backup/resources/css/app.css b/backup/resources/css/app.css
new file mode 100644
index 0000000..e69de29
diff --git a/backup/resources/js/app.js b/backup/resources/js/app.js
new file mode 100644
index 0000000..e59d6a0
--- /dev/null
+++ b/backup/resources/js/app.js
@@ -0,0 +1 @@
+import './bootstrap';
diff --git a/backup/resources/js/bootstrap.js b/backup/resources/js/bootstrap.js
new file mode 100644
index 0000000..846d350
--- /dev/null
+++ b/backup/resources/js/bootstrap.js
@@ -0,0 +1,32 @@
+/**
+ * We'll load the axios HTTP library which allows us to easily issue requests
+ * to our Laravel back-end. This library automatically handles sending the
+ * CSRF token as a header based on the value of the "XSRF" token cookie.
+ */
+
+import axios from 'axios';
+window.axios = axios;
+
+window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
+
+/**
+ * Echo exposes an expressive API for subscribing to channels and listening
+ * for events that are broadcast by Laravel. Echo and event broadcasting
+ * allows your team to easily build robust real-time web applications.
+ */
+
+// import Echo from 'laravel-echo';
+
+// import Pusher from 'pusher-js';
+// window.Pusher = Pusher;
+
+// window.Echo = new Echo({
+// broadcaster: 'pusher',
+// key: import.meta.env.VITE_PUSHER_APP_KEY,
+// cluster: import.meta.env.VITE_PUSHER_APP_CLUSTER ?? 'mt1',
+// wsHost: import.meta.env.VITE_PUSHER_HOST ? import.meta.env.VITE_PUSHER_HOST : `ws-${import.meta.env.VITE_PUSHER_APP_CLUSTER}.pusher.com`,
+// wsPort: import.meta.env.VITE_PUSHER_PORT ?? 80,
+// wssPort: import.meta.env.VITE_PUSHER_PORT ?? 443,
+// forceTLS: (import.meta.env.VITE_PUSHER_SCHEME ?? 'https') === 'https',
+// enabledTransports: ['ws', 'wss'],
+// });
diff --git a/backup/resources/views/activitylog.blade.php b/backup/resources/views/activitylog.blade.php
new file mode 100644
index 0000000..419a701
--- /dev/null
+++ b/backup/resources/views/activitylog.blade.php
@@ -0,0 +1,154 @@
+@extends('layouts.main')
+@section('title')
+Society User-Profile
+@endsection
+@section('content')
+
+
+ Activity-Log History
+
+
+
+
+
+
+{{-- datewise filter --}}
+
+
+
+
+{{-- refresh button --}}
+
+
+
+
+
+
+ | Date |
+ Done By |
+ Action |
+ Module |
+ Summary |
+ Edited at |
+ {{-- Delete | --}}
+
+
+
+ @foreach($activities as $activity)
+
+
+ | {{ $activity->created_at->format('d-m-y')}} |
+ @if ($activity->user)
+ {{ ucfirst($activity->user->name) }} {{ $activity->user->mobile1 }} |
+ @else
+ N/A |
+ @endif
+ {{ $activity->action }} |
+ {{ $activity->module->name }} |
+ @if($activity->module_id==1)
+
+
+
+
+
+
+
+ @if(!empty( $activity->payment))
+ Billing Month: {{ $activity->payment->billingmonth }}
+ Amount:{{ $activity->payment->amount }}
+ Date of deposit:{{ $activity->payment->dateofdeposit }}
+ Comment:{{ $activity->payment->comments }}
+ @else
+ This data has been removed
+ @endif
+
+
+
+
+
+
+ |
+ @else
+
+
+
+
+
+
+ @if(!empty( $activity->expense))
+ Payee: {{ $activity->expense->payee }}
+ Amount:{{ $activity->expense->amount }}
+ Date of payment:{{ $activity->expense->dateofpayment }}
+ Comment:{{ $activity->expense->comments }}
+ @else
+ This data has been removed
+ @endif
+
+
+
+
+
+
+ |
+ {{-- View | --}}
+ @endif
+ @php
+
+ $timestamp = time();
+ $time = date('H:i:s', $timestamp);
+
+
+ @endphp
+ {{ $activity->created_at->diffForHumans() }} |
+{{-- | --}}
+ @endforeach
+
+
+
+
+
+
+
+
+@endsection
diff --git a/backup/resources/views/adminprofile.blade.php b/backup/resources/views/adminprofile.blade.php
new file mode 100644
index 0000000..0a3b83b
--- /dev/null
+++ b/backup/resources/views/adminprofile.blade.php
@@ -0,0 +1,181 @@
+@extends('layouts.main')
+@section('title')
+Society User-Profile
+@endsection
+@section('content')
+{{-- profile picture --}}
+
+
+
+
+
+
+
+ 
+
+
+
+
+
+
+
+
+
+
+
+{{--
+
+
+ @php $image = Auth()->user()->user_image;@endphp
+ @if($image)
+ 
+@endif
+ --}}
+
+
+
+
+
+
+
+
+
+
+
+{{-- delete confirmation --}}
+
+
+@endsection
diff --git a/backup/resources/views/adminprofile.blade.php@20230512 b/backup/resources/views/adminprofile.blade.php@20230512
new file mode 100644
index 0000000..6228ce8
--- /dev/null
+++ b/backup/resources/views/adminprofile.blade.php@20230512
@@ -0,0 +1,178 @@
+@extends('layouts.main')
+@section('title')
+Society User-Profile
+@endsection
+@section('content')
+{{-- profile picture --}}
+
+
+
+
+
+
+
+ 
+
+
+ {{ ucfirst(Auth()->user()->name) }}
+ Mobile-1 : {{ auth()->user()->mobile1 }}
+ @isset(auth()->user()->mobile2)
+ Mobile-2 : {{ auth()->user()->mobile2 }}
+ @endisset
+ @isset(auth()->user()->email)
+ Email : {{ auth()->user()->email }}
+ @endisset
+
+ Edit Profile
+ Reset Password
+
+
+
+
+
+ {{ date(" jS F Y ")}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+{{--
+
+
+ @php $image = Auth()->user()->user_image;@endphp
+ @if($image)
+ 
+@endif
+ --}}
+
+
+
+
+
+
+
+
+
+
+
+{{-- delete confirmation --}}
+
+
+@endsection
diff --git a/backup/resources/views/admins/edit.blade.php b/backup/resources/views/admins/edit.blade.php
new file mode 100644
index 0000000..504b985
--- /dev/null
+++ b/backup/resources/views/admins/edit.blade.php
@@ -0,0 +1,65 @@
+
+@extends('layouts.main')
+@section('title')
+Society Expense Edit
+@endsection
+@section('content')
+
+
+
+ Edit Expenses
+
+
+
+@endsection
+
diff --git a/backup/resources/views/admins/expense.blade.php b/backup/resources/views/admins/expense.blade.php
new file mode 100644
index 0000000..0a18352
--- /dev/null
+++ b/backup/resources/views/admins/expense.blade.php
@@ -0,0 +1,60 @@
+
+@extends('layouts.main')
+@section('title')
+Society Expense Create
+@endsection
+@section('content')
+
+
+
+ Manage Expenses
+
+
+
+@endsection
+
diff --git a/backup/resources/views/admins/index.blade.php b/backup/resources/views/admins/index.blade.php
new file mode 100644
index 0000000..b13856e
--- /dev/null
+++ b/backup/resources/views/admins/index.blade.php
@@ -0,0 +1,185 @@
+@extends('layouts.main')
+@section('title')
+Society Expenses
+@endsection
+@section('content')
+
+{{-- search bar --}}
+
+
+
+
+
+
+
+ | Financial Reports |
+
+
+
+
+ | Date |
+ {{ date('d-m-Y') }} |
+
+
+ | Count |
+ {{ $count }} |
+
+
+ | Total Amount |
+ {{ $sum }} |
+
+
+
+
+
+
+ {{-- listing --}}
+ @php $i=0; @endphp
+
+
+
+
+
+ | Serial no. |
+ Payee |
+ Amount |
+ Payment Mode |
+ Date Of Payments
+ |
+ Comments |
+ Done By |
+
+ Actions
+ |
+
+
+
+
+ @foreach ($expenses as $expense)
+ @php
+ $i++;
+ @endphp
+ @php echo $i; @endphp |
+ {{ $expense->payee }} |
+ {{ $expense->amount }} |
+ {{ $expense->paymentmode->name }} |
+ {{ $expense->dateofpayment }} |
+ @if( $expense->comments)
+ {{ $expense->comments }} |
+ @else
+ - |
+ @endif
+ {{ $expense->doneby ? $expense->doneby->value('name'): null }}
+ |
+
+ @if (auth()->user()->usertype_id == 1)
+
+ Edit
+ |
+
+
+ |
+ @endif
+
+
+
+ @endforeach
+
+
+
+ {{-- delete confirmation --}}
+
+
+ @endsection
diff --git a/backup/resources/views/flash.blade.php b/backup/resources/views/flash.blade.php
new file mode 100644
index 0000000..d009de5
--- /dev/null
+++ b/backup/resources/views/flash.blade.php
@@ -0,0 +1,20 @@
+@if(session()->has('success'))
+
+
+ {{ session()->get('success') }}
+
+
+@endif
+@if(session()->has('error'))
+
+
+ {{ session()->get('error') }}
+
+
+@endif
+
+
diff --git a/backup/resources/views/home.blade.php b/backup/resources/views/home.blade.php
new file mode 100644
index 0000000..8b04633
--- /dev/null
+++ b/backup/resources/views/home.blade.php
@@ -0,0 +1,123 @@
+@extends('layouts.main')
+@section('title')
+Society Home
+@endsection
+@section('content')
+
+
+
+
+
+
+
+
+
+ Total Amount
+ {{ $payment }}
+
+
+
+
+
+
+
+ Total Expenditure
+ {{ $expense }}
+
+
+
+
+
+
+
+ Remaining
+ {{$payment-$expense }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ @php ksort($paymentsByMonth);@endphp
+
+
+
+
+
+
+
+@endsection
+
diff --git a/backup/resources/views/houses/detail.blade.php b/backup/resources/views/houses/detail.blade.php
new file mode 100644
index 0000000..74481dc
--- /dev/null
+++ b/backup/resources/views/houses/detail.blade.php
@@ -0,0 +1,169 @@
+@extends('layouts.main')
+@section('title')
+Society Houses Show
+@endsection
+@section('content')
+
+
+
+
+
+
+
+ Details
+
+
+
+
+ @if($house->id != 1)
+ Previous
+ @endif
+
+ @if (auth()->user()->usertype_id != 3)
+
+ @endif
+
+ Details of House {{ $house->full_address }}
+
+
+
+ Owner Of The House
+
+
+ @if($owner)
+
+
+ | Serial No. |
+ Full Name |
+ Mobile 1: |
+ Mobile 2: |
+ @if (auth()->user()->usertype_id != 3)
+ Action |
+ @endif
+
+
+
+
+ @if ($owner)
+
+ | 1 |
+ {{ $owner->name }}
+ |
+ {{ $owner->mobile1 }}
+ |
+ {{ $owner->mobile2 }} |
+ @if (auth()->user()->usertype_id != 3)
+ Edit |
+ @endif
+
+ @endif
+
+ @else
+ Not Available
+ @endif
+
+
+
+
+ @if (isset($tenants[0]))
+
+ Tenants Of The House
+
+
+
+
+ | Serial No. |
+ Full Name |
+ Mobile 1: |
+ Mobile 2: |
+ @if (auth()->user()->usertype_id != 3)
+ Action |
+ @endif
+
+
+
+ @php
+ $i = 0;
+ @endphp
+ @foreach ($tenants as $tenant)
+
+ @php
+ $i++;
+ @endphp
+ | @php echo $i; @endphp |
+ {{ $tenant['name'] }}
+ |
+ {{ $tenant['mobile1'] }}
+ |
+ {{ $tenant['mobile2'] }}
+ |
+ @if (auth()->user()->usertype_id != 3)
+ Edit |
+ @endif
+
+ @endforeach
+
+
+
+
+
+ @endif
+
+
+
+ @if($house->id != $maxCount)
+ Next
+ @endif
+
+
+
+
+
+
+
+
+
+ Payment Details :
+
+ @if($payments->first())
+
+
+ | Serial No. |
+ Month |
+ Amount |
+ Date Of Deposit |
+ Mode of Payment |
+
+
+
+ @if ($payments->first())
+
+ @php
+ $i = 0;
+ @endphp
+ @foreach ($payments as $payment)
+ @php
+ $i++;
+ @endphp
+ | @php echo $i; @endphp |
+ {{ $payment->billingmonth }} |
+ {{ $payment->amount }} |
+ {{ $payment->dateofdeposit }} |
+ {{ $payment->paymentmode->name }} |
+
+ @endforeach
+ @endif
+ @else
+ No Record Found
+ @endif
+
+
+
+
+
+
+
+
+@endsection
diff --git a/backup/resources/views/houses/index.blade.php b/backup/resources/views/houses/index.blade.php
new file mode 100644
index 0000000..fd43a66
--- /dev/null
+++ b/backup/resources/views/houses/index.blade.php
@@ -0,0 +1,57 @@
+
+@extends('layouts.main')
+@section('title')
+Society Houses
+@endsection
+@section('content')
+
+ List Of Houses
+
+
+ {{-- search bar --}}
+
+
+
+
+
+
+
+
+
+ | Block-1 |
+ Block-2 |
+ House No |
+ Address |
+ House Type |
+ Details |
+
+
+
+ @foreach ($houses as $house)
+
+ | {{ $house->Block1 }} |
+ {{ $house->Block2 }} |
+ {{ $house->house_no }} |
+ {{ $house->full_address }} |
+ {{ $house->house_type }} |
+ @if($house->house_type == 'house')
+ View |
+ @else
+ N/A |
+ @endif
+
+ @endforeach
+
+
+
+
+@endsection
diff --git a/backup/resources/views/layouts/main.blade.php b/backup/resources/views/layouts/main.blade.php
new file mode 100644
index 0000000..11c265b
--- /dev/null
+++ b/backup/resources/views/layouts/main.blade.php
@@ -0,0 +1,34 @@
+
+@include('navbar')
+@include('flash')
+
+
+
+
+
+
+
+
+ @yield('title')
+
+
+
+
+
+ {{-- --}}
+
+
+
+
+
+ @yield('content')
+
+
+
+
+
+
+
+
+
+
diff --git a/backup/resources/views/layouts/mainWithoutNav.blade.php b/backup/resources/views/layouts/mainWithoutNav.blade.php
new file mode 100644
index 0000000..b3b43e7
--- /dev/null
+++ b/backup/resources/views/layouts/mainWithoutNav.blade.php
@@ -0,0 +1,29 @@
+@include('flash')
+
+
+
+
+
+
+
+
+ @yield('title')
+
+
+
+
+
+
+
+
+
+ @yield('content')
+
+
+
+
+
+
+
+
+
diff --git a/backup/resources/views/login.blade.php b/backup/resources/views/login.blade.php
new file mode 100644
index 0000000..3d35993
--- /dev/null
+++ b/backup/resources/views/login.blade.php
@@ -0,0 +1,86 @@
+@extends('layouts.mainWithoutNav')
+@section('title')
+Society Login
+@endsection
+@section('content')
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+@endsection
diff --git a/backup/resources/views/moderators/home.blade.php b/backup/resources/views/moderators/home.blade.php
new file mode 100644
index 0000000..7da6056
--- /dev/null
+++ b/backup/resources/views/moderators/home.blade.php
@@ -0,0 +1 @@
+moderator page
diff --git a/backup/resources/views/navbar.blade.php b/backup/resources/views/navbar.blade.php
new file mode 100644
index 0000000..9d8a53a
--- /dev/null
+++ b/backup/resources/views/navbar.blade.php
@@ -0,0 +1,109 @@
+
+
+
+
+
diff --git a/backup/resources/views/navbar.blade.php@20230512 b/backup/resources/views/navbar.blade.php@20230512
new file mode 100644
index 0000000..ef0d84a
--- /dev/null
+++ b/backup/resources/views/navbar.blade.php@20230512
@@ -0,0 +1,109 @@
+
+
+
+
+
diff --git a/backup/resources/views/payments/create.blade.php b/backup/resources/views/payments/create.blade.php
new file mode 100644
index 0000000..6f2f78b
--- /dev/null
+++ b/backup/resources/views/payments/create.blade.php
@@ -0,0 +1,170 @@
+@extends('layouts.main')
+@section('title')
+Society Create Payment
+@endsection
+@section('content')
+  }})
+
+
+
+
+
+ Manage Payment
+
+
+
+
+
+
+
+{{-- checked checkboxes when house selected --}}
+
+@endsection
+
+
diff --git a/backup/resources/views/payments/edit.blade.php b/backup/resources/views/payments/edit.blade.php
new file mode 100644
index 0000000..6fad46c
--- /dev/null
+++ b/backup/resources/views/payments/edit.blade.php
@@ -0,0 +1,104 @@
+
+@extends('layouts.main')
+@section('title')
+Society Edit Payment
+@endsection
+@section('content')
+
+
+
+
+
+ Edit Payment
+
+
+
+
+ Cancel
+
+
+
+@endsection
diff --git a/backup/resources/views/payments/index.blade.php b/backup/resources/views/payments/index.blade.php
new file mode 100644
index 0000000..f7670b5
--- /dev/null
+++ b/backup/resources/views/payments/index.blade.php
@@ -0,0 +1,257 @@
+@extends('layouts.main')
+@section('title')
+Society Payments
+@endsection
+@section('content')
+{{-- monthwise filter --}}
+
+
+
+ Payment History
+
+
+
+
+
+ {{-- refresh button --}}
+
+
+
+
+
+
+
+ | Financial Reports |
+
+
+
+
+ | Date |
+ {{ date('d-m-Y') }} |
+
+
+ | Count |
+ {{ $count }} |
+
+
+ | Total Amount |
+ {{ $sum }} |
+
+
+
+
+
+
+
+{{-- listing --}}
+@php $i=0; @endphp
+
+
+
+
+ @if($payments->first())
+
+ | Serial No |
+ House No. |
+ Billing Month |
+ Owner |
+ @if (null == request('unpaid'))
+ Payment Mode |
+ Date Of Deposit
+ |
+ Amount |
+ Comment |
+ Done By |
+ @if (auth()->user()->usertype_id != 3)
+
+ Actions |
+ @endif
+
+ @endif
+
+
+
+
+ @if (request('unpaid'))
+ @foreach ($payments as $payment)
+ @php
+ $i++;
+ @endphp
+ | @php echo $i; @endphp |
+ {{ $payment->full_address }} |
+ {{ request('unpaid') }} |
+ @if(isset($payment->detail))
+ {{ $payment->detail->name }} {{ $payment->detail->mobile1 }} |
+ @else
+ N/A |
+ @endif
+
+ @endforeach
+ @else
+ @foreach ($payments as $payment)
+ @php
+ $i++;
+ @endphp
+ @php echo $i; @endphp |
+ {{ $payment->houses->full_address }} |
+ @foreach ($months as $key => $month)
+ @if ($key == $payment->billingmonth)
+ {{ $month }} |
+ @endif
+ @endforeach
+ @if(isset($payment->owner))
+ {{ $payment->owner->name }} {{ $payment->owner->mobile1 }} |
+ @else
+ N/A |
+ @endif
+ {{ $payment->paymentmode->name }} |
+ {{ $payment->dateofdeposit }} |
+ {{ $payment->amount }} |
+ @if($payment->comments)
+ {{ $payment->comments }} |
+ @else
+ Not Provided |
+ @endif
+
+ {{ $payment->doneby ? $payment->doneby->value('name'): null }}
+ |
+
+ @if (auth()->user()->usertype_id == 1)
+
+ Edit
+ |
+
+
+ |
+ @endif
+
+ @endforeach
+ @endif
+ @else
+ No Record Found
+ @endif
+
+
+
+
+
+{{-- delete confirmation --}}
+
+
+@endsection
diff --git a/backup/resources/views/payments/report.blade.php b/backup/resources/views/payments/report.blade.php
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/backup/resources/views/payments/report.blade.php
@@ -0,0 +1 @@
+
diff --git a/backup/resources/views/print.blade.php b/backup/resources/views/print.blade.php
new file mode 100644
index 0000000..72470fb
--- /dev/null
+++ b/backup/resources/views/print.blade.php
@@ -0,0 +1,3 @@
+@extends('layouts.main')
+@section('printcontent')
+@endsection
diff --git a/backup/resources/views/report.blade.php b/backup/resources/views/report.blade.php
new file mode 100644
index 0000000..5ee493d
--- /dev/null
+++ b/backup/resources/views/report.blade.php
@@ -0,0 +1,1162 @@
+ @extends('layouts.main')
+@section('title')
+Society Report
+@endsection
+@section('content')
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+@endsection
+
+{{--
+
+
+
+
+
+ Building Structure
+
+
+
+
+
+
+
+
+
+
+
+ | PARK 1 |
+ DS |
+
+
+ | DS |
+
+
+ | DS |
+
+
+ | DS |
+
+
+ | DS |
+
+
+ | DS |
+
+
+ | DS |
+
+
+
+
+
+
+ | GB |
+ GB |
+ GB |
+ GB |
+ GB |
+ GB |
+ DS |
+
+
+ | GB |
+ GB |
+ GB |
+ GB |
+ GB |
+ GB |
+ DS |
+
+
+
+
+
+
+ | GB |
+ GB |
+ GB |
+ GB |
+ GB |
+ GB |
+ DS |
+
+
+ | GB |
+ GB |
+ GB |
+ GB |
+ GB |
+ GB |
+ DS |
+
+
+
+
+
+
+ | GB |
+ GB |
+ GB |
+ GB |
+ GB |
+ GB |
+ DS |
+
+
+ | GB |
+ GB |
+ GB |
+ GB |
+ GB |
+ GB |
+ DS |
+
+
+
+
+
+
+ | GB |
+ GB |
+ GB |
+ GB |
+ GB |
+ GB |
+ DS |
+
+
+ | GB |
+ GB |
+ GB |
+ GB |
+ GB |
+ GB |
+ DS |
+
+
+
+
+
+
+ | GB |
+ GB |
+ GB |
+ GB |
+ GB |
+ GB |
+ DS |
+
+
+ | GB |
+ GB |
+ GB |
+ GB |
+ GB |
+ GB |
+ DS |
+
+
+
+
+
+
+ | GB |
+ GB |
+ GB |
+ GB |
+ GB |
+ GB |
+ DS |
+
+
+ | GB |
+ GB |
+ GB |
+ GB |
+ GB |
+ GB |
+ DS |
+
+
+
+
+
+
+ | GB |
+ GB |
+ GB |
+ GB |
+ GB |
+ GB |
+ DS |
+
+
+ | GB |
+ GB |
+ GB |
+ GB |
+ GB |
+ GB |
+ DS |
+
+
+
+
+
+
+
+ | DS |
+ DS |
+ DS |
+ DS |
+ DS |
+ DS |
+ DS |
+
+
+
+
+
+
+
+
+ | PARK 2 |
+ DS |
+
+
+
+ | DS |
+
+
+
+ | DS |
+
+
+
+
+
+
+ | DS |
+ |
+ DS |
+ |
+ DS |
+
+
+ | DS |
+
+ DS |
+
+ DS |
+
+
+ | DS |
+
+ DS |
+
+ DS |
+
+
+ | DS |
+
+ DS |
+
+ DS |
+
+
+ | DS |
+
+ DS |
+
+ DS |
+
+
+ | DS |
+
+ DS |
+
+ DS |
+
+
+ | DS |
+
+ DS |
+
+ DS |
+
+
+ | DS |
+
+ DS |
+
+ DS |
+
+
+
+
+
+
+ | DS |
+ DS |
+ DS |
+ DS |
+ DS |
+
+
+
+
+
+
+ | DS |
+ DS |
+ DS |
+ DS |
+ DS |
+
+
+ | DS |
+ DS |
+ DS |
+ DS |
+ DS |
+
+
+
+
+
+
+ | DS |
+ DS |
+ DS |
+ DS |
+ DS |
+
+
+ | DS |
+ DS |
+ DS |
+ DS |
+ DS |
+
+
+
+
+
+
+ | DS |
+ DS |
+ DS |
+ DS |
+ DS |
+
+
+ | MS |
+ |
+
+
+ | MS |
+
+
+ | MS |
+
+
+ | MS |
+
+
+ | MS |
+
+
+ | MS |
+
+
+ | MS |
+
+
+ | MS |
+
+
+
+
+
+
+
+
+
+
+
+
+ --}}
diff --git a/backup/resources/views/reset.blade.php b/backup/resources/views/reset.blade.php
new file mode 100644
index 0000000..6d0396a
--- /dev/null
+++ b/backup/resources/views/reset.blade.php
@@ -0,0 +1,77 @@
+@extends('layouts.main')
+@section('title')
+Society Reset-Password
+@endsection
+@section('content')
+{{-- reset password --}}
+
+
+
+
+
+
+ Reset your password?
+
+
+
+
+
+
+
+
+@endsection
+
diff --git a/backup/resources/views/residents/create.blade.php b/backup/resources/views/residents/create.blade.php
new file mode 100644
index 0000000..d484e9b
--- /dev/null
+++ b/backup/resources/views/residents/create.blade.php
@@ -0,0 +1,74 @@
+
+@extends('layouts.main')
+@section('title')
+Society Create Resident
+@endsection
+@section('content')
+
+
+
+
+
+ Add Resident
+
+
+
+
+@endsection
+
+
diff --git a/backup/resources/views/residents/edit.blade.php b/backup/resources/views/residents/edit.blade.php
new file mode 100644
index 0000000..7cf6cb1
--- /dev/null
+++ b/backup/resources/views/residents/edit.blade.php
@@ -0,0 +1,77 @@
+
+@extends('layouts.main')
+@section('title')
+Society Edit Resident
+@endsection
+@section('content')
+
+
+
+ Edit Your Resident
+
+
+
+
+@endsection
+
diff --git a/backup/resources/views/residents/index.blade.php b/backup/resources/views/residents/index.blade.php
new file mode 100644
index 0000000..ee0c436
--- /dev/null
+++ b/backup/resources/views/residents/index.blade.php
@@ -0,0 +1,138 @@
+@extends('layouts.main')
+@section('title')
+Society Residents
+@endsection
+@section('content')
+
+
+ List Of Residents
+
+
+ @if (auth()->user()->usertype_id != 3)
+
+ @endif
+
+
+
+
+
+
+
+
+
+
+
+
+ | House No. |
+ User |
+ Mobile1 |
+ Mobile2 |
+ Occupancy Type |
+ Date Of Occupancy |
+
+ Detail |
+ @if (auth()->user()->usertype_id != 3)
+ Actions
+ |
+ @endif
+
+
+
+
+ @if ($residents->first())
+ @foreach ($residents as $resident)
+
+
+ | {{ $resident->house->full_address }} |
+ @php
+ try {
+ $username = $resident->user->name;
+ } catch (\Exception $e) {
+ $username = 'N/A';
+ }
+ @endphp
+ {{ $username }} |
+ @if(empty($resident->user->mobile1))
+ Not Provided |
+ @else
+ {{ $resident->user->mobile1 }}
+ @endif
+ @if(empty($resident->user->mobile2))
+ | Not Provided |
+ @else
+ {{ $resident->user->mobile2 }}
+ @endif
+ @if ($resident->isOwner)
+ | Owner |
+ @else
+ Tenant |
+ @endif
+ {{ $resident->datofoccupancy }} |
+
+ View |
+ @if (auth()->user()->usertype_id != 3)
+ Edit |
+
+
+ |
+ @endif
+
+
+ @endforeach
+ @endif
+
+
+
+
+
+
+
+@endsection
diff --git a/backup/resources/views/signup.blade.php b/backup/resources/views/signup.blade.php
new file mode 100644
index 0000000..e69de29
diff --git a/backup/resources/views/users/create.blade.php b/backup/resources/views/users/create.blade.php
new file mode 100644
index 0000000..11ec6e5
--- /dev/null
+++ b/backup/resources/views/users/create.blade.php
@@ -0,0 +1,99 @@
+
+@extends('layouts.main')
+@section('title')
+Society Create User
+@endsection
+@section('content')
+
+
+
+
+
+ }})
+
+ Add User
+
+
+
+
+
+
+
+@endsection
+
diff --git a/backup/resources/views/users/edit.blade.php b/backup/resources/views/users/edit.blade.php
new file mode 100644
index 0000000..26fd2ee
--- /dev/null
+++ b/backup/resources/views/users/edit.blade.php
@@ -0,0 +1,111 @@
+@extends('layouts.main')
+@section('title')
+Society Edit User
+@endsection
+@section('content')
+
+
+
diff --git a/backup/resources/views/users/forget-password.blade.php b/backup/resources/views/users/forget-password.blade.php
new file mode 100644
index 0000000..876e98f
--- /dev/null
+++ b/backup/resources/views/users/forget-password.blade.php
@@ -0,0 +1,69 @@
+@extends('layouts.mainWithoutNav')
+@section('title')
+Society Forget-Password
+@endsection
+@section('content')
+
+
+
+
+
+
+
+
+
+ Forgot Password?
+
+ We are sending this email because you requested a password reset.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/backup/resources/views/users/forgetpasswordcreate.blade.php b/backup/resources/views/users/forgetpasswordcreate.blade.php
new file mode 100644
index 0000000..d29f9a9
--- /dev/null
+++ b/backup/resources/views/users/forgetpasswordcreate.blade.php
@@ -0,0 +1,60 @@
+@extends('layouts.mainWithoutNav')
+@section('title')
+Society Forget-Password
+@endsection
+@section('content')
+
+
+
+
+
+
+
+
+ Reset Password?
+
+
+
+
+
+
+
+
+
+
+
+@endsection
diff --git a/backup/resources/views/users/forgot.blade.php b/backup/resources/views/users/forgot.blade.php
new file mode 100644
index 0000000..875a402
--- /dev/null
+++ b/backup/resources/views/users/forgot.blade.php
@@ -0,0 +1,44 @@
+
\ No newline at end of file
diff --git a/backup/resources/views/users/home.blade.php b/backup/resources/views/users/home.blade.php
new file mode 100644
index 0000000..8d92784
--- /dev/null
+++ b/backup/resources/views/users/home.blade.php
@@ -0,0 +1,82 @@
+@extends('layouts.mainWithoutNav')
+@include('users.navbar')
+@section('title')
+Society Home
+@endsection
+@section('content')
+
+
+
+
+
+
+ @php ksort($paymentsByMonth);@endphp
+
+
+
+
+
+
+
+@endsection
diff --git a/backup/resources/views/users/index.blade.php b/backup/resources/views/users/index.blade.php
new file mode 100644
index 0000000..30f4e16
--- /dev/null
+++ b/backup/resources/views/users/index.blade.php
@@ -0,0 +1,111 @@
+
+@extends('layouts.main')
+@section('title')
+Society Users
+@endsection
+@section('content')
+
+
+
+ List Of Users
+
+
+
+
+ {{-- search bar --}}
+
+
+ @if (auth()->user()->usertype_id != 3)
+ Add User  }})
+ @endif
+
+
+
+
+
+
+
+ | Name |
+ Mobile-1 |
+ Mobile-2 |
+ Email |
+ User-type |
+ @if (auth()->user()->usertype_id != 3)
+ Actions |
+ @endif
+
+
+
+
+
+ @foreach ($users as $user)
+ | {{ $user->name }} |
+ @if ($user->mobile1)
+ {{ $user->mobile1 }} |
+ @else
+ Not Provided |
+ @endif
+ @if ($user->mobile2)
+ {{ $user->mobile2 }} |
+ @else
+ Not Provided |
+ @endif
+ @if ($user->email)
+ {{ $user->email }} |
+ @else
+ Not Provided |
+ @endif
+ {{ $user->usertype->role }} |
+ @if (auth()->user()->usertype_id != 3)
+ Edit
+ |
+
+
+ |
+ @endif
+
+
+ @endforeach
+
+
+ {{-- delete confirmation --}}
+
+
+
+
+@endsection
diff --git a/backup/resources/views/users/navbar.blade.php b/backup/resources/views/users/navbar.blade.php
new file mode 100644
index 0000000..9197bc9
--- /dev/null
+++ b/backup/resources/views/users/navbar.blade.php
@@ -0,0 +1,60 @@
+
+
diff --git a/backup/resources/views/users/navbar.blade.php@20230512 b/backup/resources/views/users/navbar.blade.php@20230512
new file mode 100644
index 0000000..7158a6d
--- /dev/null
+++ b/backup/resources/views/users/navbar.blade.php@20230512
@@ -0,0 +1,60 @@
+
+
diff --git a/backup/resources/views/users/profile.blade.php b/backup/resources/views/users/profile.blade.php
new file mode 100644
index 0000000..809b8dd
--- /dev/null
+++ b/backup/resources/views/users/profile.blade.php
@@ -0,0 +1,208 @@
+@include('users.navbar')
+@extends('layouts.mainWithoutNav')
+@section('title')
+Society User-Profile
+@endsection
+@section('content')
+
+{{-- profile picture --}}
+
+
+
+
+
+
+
+ 
+
+
+ {{ ucfirst(Auth()->user()->name) }}
+ Mobile-1 : {{ auth()->user()->mobile1 }}
+ @if(!empty(auth()->user()->mobile2))
+ Mobile-2 : {{ auth()->user()->mobile2 }}
+ @endif
+ @isset(auth()->user()->email)
+ Email : {{ auth()->user()->email }}
+ @endisset
+ @php $houses= Auth::user()->houses
+ @endphp
+ Registered House :
+ @foreach ($houses as $house)
+ {{ $house->full_address }}
+ @endforeach
+
+ Edit Profile
+ Reset Password
+
+
+
+
+
+ {{ date(" jS F Y ")}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+{{-- delete confirmation --}}
+
+
+@endsection
diff --git a/backup/resources/views/users/profile.blade.php@20230512 b/backup/resources/views/users/profile.blade.php@20230512
new file mode 100644
index 0000000..c4984a5
--- /dev/null
+++ b/backup/resources/views/users/profile.blade.php@20230512
@@ -0,0 +1,202 @@
+@include('users.navbar')
+@extends('layouts.mainWithoutNav')
+@section('title')
+Society User-Profile
+@endsection
+@section('content')
+
+{{-- profile picture --}}
+
+
+
+
+
+
+
+ 
+
+
+ {{ ucfirst(Auth()->user()->name) }}
+ Mobile-1 : {{ auth()->user()->mobile1 }}
+ @isset(auth()->user()->mobile2)
+ Mobile-2 : {{ auth()->user()->mobile2 }}
+ @endisset
+ @isset(auth()->user()->email)
+ Email : {{ auth()->user()->email }}
+ @endisset
+
+ Edit Profile
+ Reset Password
+
+
+
+
+
+ {{ date(" jS F Y ")}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+{{-- delete confirmation --}}
+
+
+@endsection
diff --git a/backup/resources/views/users/profileEdit.blade.php b/backup/resources/views/users/profileEdit.blade.php
new file mode 100644
index 0000000..588ad1f
--- /dev/null
+++ b/backup/resources/views/users/profileEdit.blade.php
@@ -0,0 +1,59 @@
+
+@include('users.navbar')
+@extends('layouts.mainWithoutNav')
+@section('title')
+Society User-Profile-Edit
+@endsection
+@section('content')
+
+
+
+
+@endsection
diff --git a/backup/resources/views/users/report.blade.php b/backup/resources/views/users/report.blade.php
new file mode 100644
index 0000000..e3ab0ff
--- /dev/null
+++ b/backup/resources/views/users/report.blade.php
@@ -0,0 +1,80 @@
+@include('users.navbar')
+@extends('layouts.mainWithoutNav')
+@section('title')
+Society User-Report
+@endsection
+@section('content')
+@php $payments = Auth::user()->houses()->with('payments')->get() @endphp
+
+
+
+@foreach ($payments as $pay)
+
+ House {{ $pay->full_address }}
+ @if($pay->payments->first())
+
+
+
+ | Billing Month |
+ Payment Mode |
+ Date Of Deposit |
+ Amount |
+ Payment Receipt |
+
+ @foreach($pay->payments as $data)
+
+ @foreach ($months as $key => $month)
+ @if($key == $data->billingmonth)
+ | {{ $temp = $month }} |
+ @endif
+ @endforeach
+ {{ $data->paymentmode->name }} |
+ {{ $data->dateofdeposit}} |
+ {{ $data->amount}} |
+
+
+
+
+
+ Name : {{ ucfirst(Auth()->user()->name) }}
+ Date : {{date("l jS \of F Y") }}
+
+ Billing Month : {{ $temp }}
+ Payment Mode : {{ $data->paymentmode->name }}
+ Date Of Deposit : {{ $data->dateofdeposit}}
+ Amount : {{ $data->amount}}
+ Signature : Not Required
+
+
+
+
+
+ |
+
+ @endforeach
+ @else
+ No payment records
+
+ @endif
+
+
+
+ @endforeach
+
+
+
+@endsection
diff --git a/backup/resources/views/users/reset.blade.php b/backup/resources/views/users/reset.blade.php
new file mode 100644
index 0000000..7f68e8c
--- /dev/null
+++ b/backup/resources/views/users/reset.blade.php
@@ -0,0 +1,78 @@
+@extends('layouts.mainWithoutNav')
+@include('users.navbar')
+@section('title')
+ Society Reset-Password
+@endsection
+@section('content')
+{{-- reset password --}}
+
+
+
+
+
+
+ Reset your password?
+
+
+
+
+
+
+
+
+@endsection
+
diff --git a/backup/routes/api.php b/backup/routes/api.php
new file mode 100644
index 0000000..889937e
--- /dev/null
+++ b/backup/routes/api.php
@@ -0,0 +1,19 @@
+get('/user', function (Request $request) {
+ return $request->user();
+});
diff --git a/backup/routes/channels.php b/backup/routes/channels.php
new file mode 100644
index 0000000..5d451e1
--- /dev/null
+++ b/backup/routes/channels.php
@@ -0,0 +1,18 @@
+id === (int) $id;
+});
diff --git a/backup/routes/console.php b/backup/routes/console.php
new file mode 100644
index 0000000..e05f4c9
--- /dev/null
+++ b/backup/routes/console.php
@@ -0,0 +1,19 @@
+comment(Inspiring::quote());
+})->purpose('Display an inspiring quote');
diff --git a/backup/routes/web.php b/backup/routes/web.php
new file mode 100644
index 0000000..65d984d
--- /dev/null
+++ b/backup/routes/web.php
@@ -0,0 +1,143 @@
+user()->usertype_id == User::ADMIN) {
+
+ return redirect('home')->with('success', 'Welcome Admin');
+ } elseif (auth()->user()->usertype_id == User::RESIDENT) {
+
+ return redirect()->route('user.home')
+ ->with('success', 'Welcome Resident');
+ } else {
+
+ return redirect('home')
+ ->with('success', 'Welcome Moderator');
+ }
+ }
+
+ return view('login');
+})->name('login');
+
+Route::get('/cmd', function() {
+ \Artisan::call('storage:link');
+ echo \Artisan::output();
+});
+
+Route::post('login/check', [LoginController::class, 'login'])->name('login.check');
+Route::get('logout', [LoginController::class, 'logout'])->name('logout');
+
+Route::get('forget-password', function () {
+ return view('users.forget-password');
+})->name('forget-password');
+Route::post('users/forgetpassword', [UserController::class, 'forgetpassword'])->name('forgetpassword');
+Route::get('/forget/{id}', [UserController::class, 'forget'])->name('forget');
+Route::post('forgetpassword/{user}/store', [UserController::class, 'forgetstore'])->name('forgetpassword.store');
+
+Route::middleware(['auth', 'disable_back_btn'])->group(function () {
+
+ Route::get('/home', function () {
+
+ $paymentsByMonth = Payment::get()->groupBy('billingmonth')->map(function ($group) {
+ return $group->sum('amount');
+ });
+
+ $paymentsByMonth =$paymentsByMonth->toarray();
+
+ $expense=Expense::sum('amount');
+ $payment=Payment::sum('amount');
+
+ return view('home', compact('expense','payment','paymentsByMonth'));
+ })->name('home');
+ Route::post('users/image/store', [UserController::class, 'imagestore'])->name('users.image.store');
+ Route::get('admin/profile', [UserController::class, 'adminProfile'])->name('admin.user.profile');
+
+ Route::get('users/profile', [UserController::class, 'profile'])->name('user.profile');
+ Route::get('users/profile/edit', [UserController::class, 'profileEdit'])->name('user.profile.edit');
+ Route::post('users/profile/update/{user}', [UserController::class, 'profileupdate'])->name('user.profile.update');
+ Route::get('/users/home', [UserController::class, 'home'])->name('user.home');
+ Route::get('users/report', [UserController::class, 'report'])->name('user.report');
+ Route::get('admin/reset-password/{user}', [UserController::class, 'resetcreate'])->name('admin.reset');
+ Route::get('users/reset-password/{user}', [UserController::class, 'userresetcreate'])->name('user.reset');
+ Route::post('users/reset-password/{user}', [UserController::class, 'resetPassword'])->name('user.resetpassword');
+ Route::get('image/remove/{user}', [UserController::class, 'imageDestroy'])->name('imageDestroy');
+
+
+ Route::resource('users', UserController::class);
+
+ Route::resource('houses', HouseController::class);
+
+ Route::resource('residents', ResidentController::class)->except(['create']);;
+ Route::get('residents/create/{id?}', [ResidentController::class, 'create'])->name('residents.create');
+
+ Route::resource('payments', PaymentController::class)->except(['index']);
+ Route::get('payments/{id?}', [PaymentController::class,'index'])->name('payments.index');
+
+ Route::get('expenses/{id?}', [AdminController::class,'index'])->name('expenses.index');
+ Route::resource('admins/expenses', AdminController::class)->except(['index']);
+
+
+ Route::post('ajax', [PaymentController::class, 'ajax'])->name('ajax');
+
+
+
+
+ Route::get('/activity-log', function () {
+
+ if(isset($_GET['start_date']) && isset($_GET['end_date']))
+ {
+ $startdate = strtotime($_GET['start_date']);
+ $enddate = strtotime($_GET['end_date']);
+
+ $activities = Activitylog::Datebetween($_GET['start_date'], $_GET['end_date']);
+
+ }
+ else
+ {
+ $activities = Activitylog::orderBy('created_at', 'desc')->get();
+ }
+
+ return view('activitylog', compact('activities'));
+ })->name('activitylog');
+
+
+ Route::get('/report', function () {
+ $months = config('global.months');
+
+ return view('report', compact('months'));
+ })->name('report');
+ Route::post('report/data', [AdminController::class, 'report'])->name('report.data');
+});
+
+Route::get('loginsertion', [AdminController::class, 'loginsertion']);
+
+Route::get('/run', function () {
+
+ Artisan::call('storage:link');
+ return 'Command executed successfully';
+});
\ No newline at end of file
diff --git a/backup/routes/web.php@20230512 b/backup/routes/web.php@20230512
new file mode 100644
index 0000000..d59fcbf
--- /dev/null
+++ b/backup/routes/web.php@20230512
@@ -0,0 +1,131 @@
+user()->usertype_id == User::ADMIN) {
+
+ return redirect('home')->with('success', 'Welcome Admin');
+ } elseif (auth()->user()->usertype_id == User::RESIDENT) {
+
+ return redirect()->route('user.home')
+ ->with('success', 'Welcome Resident');
+ } else {
+
+ return redirect('home')
+ ->with('success', 'Welcome Moderator');
+ }
+ }
+
+ return view('login');
+})->name('login');
+
+Route::post('login/check', [LoginController::class, 'login'])->name('login.check');
+Route::get('logout', [LoginController::class, 'logout'])->name('logout');
+
+Route::get('forget-password', function () {
+ return view('users.forget-password');
+})->name('forget-password');
+Route::post('users/forgetpassword', [UserController::class, 'forgetpassword'])->name('forgetpassword');
+Route::get('/forget/{id}', [UserController::class, 'forget'])->name('forget');
+Route::post('forgetpassword/{user}/store', [UserController::class, 'forgetstore'])->name('forgetpassword.store');
+
+Route::middleware(['auth', 'disable_back_btn'])->group(function () {
+
+ Route::get('/home', function () {
+
+ $paymentsByMonth = Payment::get()->groupBy('billingmonth')->map(function ($group) {
+ return $group->sum('amount');
+ });
+
+ $paymentsByMonth =$paymentsByMonth->toarray();
+
+ $expense=Expense::sum('amount');
+ $payment=Payment::sum('amount');
+
+ return view('home', compact('expense','payment','paymentsByMonth'));
+ })->name('home');
+ Route::post('users/image/store', [UserController::class, 'imagestore'])->name('users.image.store');
+ Route::get('admin/profile', [UserController::class, 'adminProfile'])->name('admin.user.profile');
+
+ Route::get('users/profile', [UserController::class, 'profile'])->name('user.profile');
+ Route::get('users/profile/edit', [UserController::class, 'profileEdit'])->name('user.profile.edit');
+ Route::post('users/profile/update/{user}', [UserController::class, 'profileupdate'])->name('user.profile.update');
+ Route::get('/users/home', [UserController::class, 'home'])->name('user.home');
+ Route::get('users/report', [UserController::class, 'report'])->name('user.report');
+ Route::get('admin/reset-password/{user}', [UserController::class, 'resetcreate'])->name('admin.reset');
+ Route::get('users/reset-password/{user}', [UserController::class, 'userresetcreate'])->name('user.reset');
+ Route::post('users/reset-password/{user}', [UserController::class, 'resetPassword'])->name('user.resetpassword');
+ Route::get('image/remove/{user}', [UserController::class, 'imageDestroy'])->name('imageDestroy');
+
+
+ Route::resource('users', UserController::class);
+
+ Route::resource('houses', HouseController::class);
+
+ Route::resource('residents', ResidentController::class)->except(['create']);;
+ Route::get('residents/create/{id?}', [ResidentController::class, 'create'])->name('residents.create');
+
+ Route::resource('payments', PaymentController::class)->except(['index']);
+ Route::get('payments/{id?}', [PaymentController::class,'index'])->name('payments.index');
+
+ Route::get('expenses/{id?}', [AdminController::class,'index'])->name('expenses.index');
+ Route::resource('admins/expenses', AdminController::class)->except(['index']);
+
+
+ Route::post('ajax', [PaymentController::class, 'ajax'])->name('ajax');
+
+
+
+
+ Route::get('/activity-log', function () {
+
+ if(isset($_GET['start_date']) && isset($_GET['end_date']))
+ {
+ $startdate = strtotime($_GET['start_date']);
+ $enddate = strtotime($_GET['end_date']);
+
+ $activities = Activitylog::Datebetween($_GET['start_date'], $_GET['end_date']);
+
+ }
+ else
+ {
+ $activities = Activitylog::orderBy('created_at', 'desc')->get();
+ }
+
+ return view('activitylog', compact('activities'));
+ })->name('activitylog');
+
+
+ Route::get('/report', function () {
+ $months = config('global.months');
+
+ return view('report', compact('months'));
+ })->name('report');
+ Route::post('report/data', [AdminController::class, 'report'])->name('report.data');
+});
+
diff --git a/backup/storage/app/.gitignore b/backup/storage/app/.gitignore
new file mode 100644
index 0000000..8f4803c
--- /dev/null
+++ b/backup/storage/app/.gitignore
@@ -0,0 +1,3 @@
+*
+!public/
+!.gitignore
diff --git a/backup/storage/app/public/.gitignore b/backup/storage/app/public/.gitignore
new file mode 100644
index 0000000..d6b7ef3
--- /dev/null
+++ b/backup/storage/app/public/.gitignore
@@ -0,0 +1,2 @@
+*
+!.gitignore
diff --git a/backup/storage/framework/.gitignore b/backup/storage/framework/.gitignore
new file mode 100644
index 0000000..05c4471
--- /dev/null
+++ b/backup/storage/framework/.gitignore
@@ -0,0 +1,9 @@
+compiled.php
+config.php
+down
+events.scanned.php
+maintenance.php
+routes.php
+routes.scanned.php
+schedule-*
+services.json
diff --git a/storage/framework/cache/.gitignore b/backup/storage/framework/cache/.gitignore
similarity index 100%
rename from storage/framework/cache/.gitignore
rename to backup/storage/framework/cache/.gitignore
diff --git a/backup/storage/framework/cache/data/.gitignore b/backup/storage/framework/cache/data/.gitignore
new file mode 100644
index 0000000..d6b7ef3
--- /dev/null
+++ b/backup/storage/framework/cache/data/.gitignore
@@ -0,0 +1,2 @@
+*
+!.gitignore
diff --git a/backup/storage/framework/sessions/.gitignore b/backup/storage/framework/sessions/.gitignore
new file mode 100644
index 0000000..d6b7ef3
--- /dev/null
+++ b/backup/storage/framework/sessions/.gitignore
@@ -0,0 +1,2 @@
+*
+!.gitignore
diff --git a/backup/storage/framework/testing/.gitignore b/backup/storage/framework/testing/.gitignore
new file mode 100644
index 0000000..d6b7ef3
--- /dev/null
+++ b/backup/storage/framework/testing/.gitignore
@@ -0,0 +1,2 @@
+*
+!.gitignore
diff --git a/backup/storage/framework/views/.gitignore b/backup/storage/framework/views/.gitignore
new file mode 100644
index 0000000..d6b7ef3
--- /dev/null
+++ b/backup/storage/framework/views/.gitignore
@@ -0,0 +1,2 @@
+*
+!.gitignore
diff --git a/backup/storage/logs/.gitignore b/backup/storage/logs/.gitignore
new file mode 100644
index 0000000..d6b7ef3
--- /dev/null
+++ b/backup/storage/logs/.gitignore
@@ -0,0 +1,2 @@
+*
+!.gitignore
diff --git a/backup/tests/CreatesApplication.php b/backup/tests/CreatesApplication.php
new file mode 100644
index 0000000..cc68301
--- /dev/null
+++ b/backup/tests/CreatesApplication.php
@@ -0,0 +1,21 @@
+make(Kernel::class)->bootstrap();
+
+ return $app;
+ }
+}
diff --git a/backup/tests/Feature/ExampleTest.php b/backup/tests/Feature/ExampleTest.php
new file mode 100644
index 0000000..8364a84
--- /dev/null
+++ b/backup/tests/Feature/ExampleTest.php
@@ -0,0 +1,19 @@
+get('/');
+
+ $response->assertStatus(200);
+ }
+}
diff --git a/backup/tests/TestCase.php b/backup/tests/TestCase.php
new file mode 100644
index 0000000..2932d4a
--- /dev/null
+++ b/backup/tests/TestCase.php
@@ -0,0 +1,10 @@
+assertTrue(true);
+ }
+}
diff --git a/backup/vite.config.js b/backup/vite.config.js
new file mode 100644
index 0000000..421b569
--- /dev/null
+++ b/backup/vite.config.js
@@ -0,0 +1,11 @@
+import { defineConfig } from 'vite';
+import laravel from 'laravel-vite-plugin';
+
+export default defineConfig({
+ plugins: [
+ laravel({
+ input: ['resources/css/app.css', 'resources/js/app.js'],
+ refresh: true,
+ }),
+ ],
+});
diff --git a/composer.json b/composer.json
index 4958668..23de278 100644
--- a/composer.json
+++ b/composer.json
@@ -9,7 +9,10 @@
"guzzlehttp/guzzle": "^7.2",
"laravel/framework": "^10.0",
"laravel/sanctum": "^3.2",
- "laravel/tinker": "^2.8"
+ "laravel/tinker": "^2.8",
+ "spatie/laravel-activitylog": "^4.7",
+ "league/flysystem": "^3.15",
+ "league/flysystem-aws-s3-v3": "^3.15"
},
"require-dev": {
"fakerphp/faker": "^1.9.1",
diff --git a/composer.lock b/composer.lock
index 1f6663a..1e5f1c2 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,30 +4,178 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "121ea3a2fffe49b3ef9aa4d064b28c19",
+ "content-hash": "3383e28945aa8a70fbdd8c230bf4070f",
"packages": [
+ {
+ "name": "aws/aws-crt-php",
+ "version": "v1.2.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/awslabs/aws-crt-php.git",
+ "reference": "1926277fc71d253dfa820271ac5987bdb193ccf5"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/awslabs/aws-crt-php/zipball/1926277fc71d253dfa820271ac5987bdb193ccf5",
+ "reference": "1926277fc71d253dfa820271ac5987bdb193ccf5",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.5"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^4.8.35||^5.6.3||^9.5",
+ "yoast/phpunit-polyfills": "^1.0"
+ },
+ "suggest": {
+ "ext-awscrt": "Make sure you install awscrt native extension to use any of the functionality."
+ },
+ "type": "library",
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "Apache-2.0"
+ ],
+ "authors": [
+ {
+ "name": "AWS SDK Common Runtime Team",
+ "email": "aws-sdk-common-runtime@amazon.com"
+ }
+ ],
+ "description": "AWS Common Runtime for PHP",
+ "homepage": "https://github.com/awslabs/aws-crt-php",
+ "keywords": [
+ "amazon",
+ "aws",
+ "crt",
+ "sdk"
+ ],
+ "support": {
+ "issues": "https://github.com/awslabs/aws-crt-php/issues",
+ "source": "https://github.com/awslabs/aws-crt-php/tree/v1.2.1"
+ },
+ "time": "2023-03-24T20:22:19+00:00"
+ },
+ {
+ "name": "aws/aws-sdk-php",
+ "version": "3.269.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/aws/aws-sdk-php.git",
+ "reference": "6d759ef9f24f0c7f271baf8014f41fc0cfdfbf78"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/6d759ef9f24f0c7f271baf8014f41fc0cfdfbf78",
+ "reference": "6d759ef9f24f0c7f271baf8014f41fc0cfdfbf78",
+ "shasum": ""
+ },
+ "require": {
+ "aws/aws-crt-php": "^1.0.4",
+ "ext-json": "*",
+ "ext-pcre": "*",
+ "ext-simplexml": "*",
+ "guzzlehttp/guzzle": "^6.5.8 || ^7.4.5",
+ "guzzlehttp/promises": "^1.4.0",
+ "guzzlehttp/psr7": "^1.9.1 || ^2.4.5",
+ "mtdowling/jmespath.php": "^2.6",
+ "php": ">=5.5"
+ },
+ "require-dev": {
+ "andrewsville/php-token-reflection": "^1.4",
+ "aws/aws-php-sns-message-validator": "~1.0",
+ "behat/behat": "~3.0",
+ "composer/composer": "^1.10.22",
+ "dms/phpunit-arraysubset-asserts": "^0.4.0",
+ "doctrine/cache": "~1.4",
+ "ext-dom": "*",
+ "ext-openssl": "*",
+ "ext-pcntl": "*",
+ "ext-sockets": "*",
+ "nette/neon": "^2.3",
+ "paragonie/random_compat": ">= 2",
+ "phpunit/phpunit": "^4.8.35 || ^5.6.3 || ^9.5",
+ "psr/cache": "^1.0",
+ "psr/http-message": "^1.0",
+ "psr/simple-cache": "^1.0",
+ "sebastian/comparator": "^1.2.3 || ^4.0",
+ "yoast/phpunit-polyfills": "^1.0"
+ },
+ "suggest": {
+ "aws/aws-php-sns-message-validator": "To validate incoming SNS notifications",
+ "doctrine/cache": "To use the DoctrineCacheAdapter",
+ "ext-curl": "To send requests using cURL",
+ "ext-openssl": "Allows working with CloudFront private distributions and verifying received SNS messages",
+ "ext-sockets": "To use client-side monitoring"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "3.0-dev"
+ }
+ },
+ "autoload": {
+ "files": [
+ "src/functions.php"
+ ],
+ "psr-4": {
+ "Aws\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "Apache-2.0"
+ ],
+ "authors": [
+ {
+ "name": "Amazon Web Services",
+ "homepage": "http://aws.amazon.com"
+ }
+ ],
+ "description": "AWS SDK for PHP - Use Amazon Web Services in your PHP project",
+ "homepage": "http://aws.amazon.com/sdkforphp",
+ "keywords": [
+ "amazon",
+ "aws",
+ "cloud",
+ "dynamodb",
+ "ec2",
+ "glacier",
+ "s3",
+ "sdk"
+ ],
+ "support": {
+ "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80",
+ "issues": "https://github.com/aws/aws-sdk-php/issues",
+ "source": "https://github.com/aws/aws-sdk-php/tree/3.269.0"
+ },
+ "time": "2023-04-26T18:21:04+00:00"
+ },
{
"name": "brick/math",
- "version": "0.10.2",
+ "version": "0.11.0",
"source": {
"type": "git",
"url": "https://github.com/brick/math.git",
- "reference": "459f2781e1a08d52ee56b0b1444086e038561e3f"
+ "reference": "0ad82ce168c82ba30d1c01ec86116ab52f589478"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/brick/math/zipball/459f2781e1a08d52ee56b0b1444086e038561e3f",
- "reference": "459f2781e1a08d52ee56b0b1444086e038561e3f",
+ "url": "https://api.github.com/repos/brick/math/zipball/0ad82ce168c82ba30d1c01ec86116ab52f589478",
+ "reference": "0ad82ce168c82ba30d1c01ec86116ab52f589478",
"shasum": ""
},
"require": {
- "ext-json": "*",
- "php": "^7.4 || ^8.0"
+ "php": "^8.0"
},
"require-dev": {
"php-coveralls/php-coveralls": "^2.2",
"phpunit/phpunit": "^9.0",
- "vimeo/psalm": "4.25.0"
+ "vimeo/psalm": "5.0.0"
},
"type": "library",
"autoload": {
@@ -52,7 +200,7 @@
],
"support": {
"issues": "https://github.com/brick/math/issues",
- "source": "https://github.com/brick/math/tree/0.10.2"
+ "source": "https://github.com/brick/math/tree/0.11.0"
},
"funding": [
{
@@ -60,7 +208,7 @@
"type": "github"
}
],
- "time": "2022-08-10T22:54:19+00:00"
+ "time": "2023-01-15T23:15:59+00:00"
},
{
"name": "dflydev/dot-access-data",
@@ -568,22 +716,22 @@
},
{
"name": "guzzlehttp/guzzle",
- "version": "7.5.0",
+ "version": "7.6.1",
"source": {
"type": "git",
"url": "https://github.com/guzzle/guzzle.git",
- "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba"
+ "reference": "8444a2bacf1960bc6a2b62ed86b8e72e11eebe51"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/b50a2a1251152e43f6a37f0fa053e730a67d25ba",
- "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba",
+ "url": "https://api.github.com/repos/guzzle/guzzle/zipball/8444a2bacf1960bc6a2b62ed86b8e72e11eebe51",
+ "reference": "8444a2bacf1960bc6a2b62ed86b8e72e11eebe51",
"shasum": ""
},
"require": {
"ext-json": "*",
"guzzlehttp/promises": "^1.5",
- "guzzlehttp/psr7": "^1.9 || ^2.4",
+ "guzzlehttp/psr7": "^1.9.1 || ^2.4.5",
"php": "^7.2.5 || ^8.0",
"psr/http-client": "^1.0",
"symfony/deprecation-contracts": "^2.2 || ^3.0"
@@ -608,9 +756,6 @@
"bamarni-bin": {
"bin-links": true,
"forward-command": false
- },
- "branch-alias": {
- "dev-master": "7.5-dev"
}
},
"autoload": {
@@ -676,7 +821,7 @@
],
"support": {
"issues": "https://github.com/guzzle/guzzle/issues",
- "source": "https://github.com/guzzle/guzzle/tree/7.5.0"
+ "source": "https://github.com/guzzle/guzzle/tree/7.6.1"
},
"funding": [
{
@@ -692,7 +837,7 @@
"type": "tidelift"
}
],
- "time": "2022-08-28T15:39:27+00:00"
+ "time": "2023-05-15T20:43:01+00:00"
},
{
"name": "guzzlehttp/promises",
@@ -780,22 +925,22 @@
},
{
"name": "guzzlehttp/psr7",
- "version": "2.4.4",
+ "version": "2.5.0",
"source": {
"type": "git",
"url": "https://github.com/guzzle/psr7.git",
- "reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf"
+ "reference": "b635f279edd83fc275f822a1188157ffea568ff6"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf",
- "reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf",
+ "url": "https://api.github.com/repos/guzzle/psr7/zipball/b635f279edd83fc275f822a1188157ffea568ff6",
+ "reference": "b635f279edd83fc275f822a1188157ffea568ff6",
"shasum": ""
},
"require": {
"php": "^7.2.5 || ^8.0",
"psr/http-factory": "^1.0",
- "psr/http-message": "^1.0",
+ "psr/http-message": "^1.1 || ^2.0",
"ralouphie/getallheaders": "^3.0"
},
"provide": {
@@ -815,9 +960,6 @@
"bamarni-bin": {
"bin-links": true,
"forward-command": false
- },
- "branch-alias": {
- "dev-master": "2.4-dev"
}
},
"autoload": {
@@ -879,7 +1021,7 @@
],
"support": {
"issues": "https://github.com/guzzle/psr7/issues",
- "source": "https://github.com/guzzle/psr7/tree/2.4.4"
+ "source": "https://github.com/guzzle/psr7/tree/2.5.0"
},
"funding": [
{
@@ -895,7 +1037,7 @@
"type": "tidelift"
}
],
- "time": "2023-03-09T13:19:02+00:00"
+ "time": "2023-04-17T16:11:26+00:00"
},
{
"name": "guzzlehttp/uri-template",
@@ -983,16 +1125,16 @@
},
{
"name": "laravel/framework",
- "version": "v10.5.1",
+ "version": "v10.11.0",
"source": {
"type": "git",
"url": "https://github.com/laravel/framework.git",
- "reference": "485f22333e8c1dff5bae0fe0421c1e2e139713de"
+ "reference": "21a5b6d9b669f32c10cc8ba776511b5f62599fea"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/framework/zipball/485f22333e8c1dff5bae0fe0421c1e2e139713de",
- "reference": "485f22333e8c1dff5bae0fe0421c1e2e139713de",
+ "url": "https://api.github.com/repos/laravel/framework/zipball/21a5b6d9b669f32c10cc8ba776511b5f62599fea",
+ "reference": "21a5b6d9b669f32c10cc8ba776511b5f62599fea",
"shasum": ""
},
"require": {
@@ -1091,7 +1233,7 @@
"league/flysystem-read-only": "^3.3",
"league/flysystem-sftp-v3": "^3.0",
"mockery/mockery": "^1.5.1",
- "orchestra/testbench-core": "^8.1",
+ "orchestra/testbench-core": "^8.4",
"pda/pheanstalk": "^4.0",
"phpstan/phpdoc-parser": "^1.15",
"phpstan/phpstan": "^1.4.7",
@@ -1179,20 +1321,20 @@
"issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework"
},
- "time": "2023-03-29T15:09:16+00:00"
+ "time": "2023-05-16T13:59:23+00:00"
},
{
"name": "laravel/sanctum",
- "version": "v3.2.1",
+ "version": "v3.2.5",
"source": {
"type": "git",
"url": "https://github.com/laravel/sanctum.git",
- "reference": "d09d69bac55708fcd4a3b305d760e673d888baf9"
+ "reference": "8ebda85d59d3c414863a7f4d816ef8302faad876"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/sanctum/zipball/d09d69bac55708fcd4a3b305d760e673d888baf9",
- "reference": "d09d69bac55708fcd4a3b305d760e673d888baf9",
+ "url": "https://api.github.com/repos/laravel/sanctum/zipball/8ebda85d59d3c414863a7f4d816ef8302faad876",
+ "reference": "8ebda85d59d3c414863a7f4d816ef8302faad876",
"shasum": ""
},
"require": {
@@ -1206,6 +1348,7 @@
"require-dev": {
"mockery/mockery": "^1.0",
"orchestra/testbench": "^7.0|^8.0",
+ "phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^9.3"
},
"type": "library",
@@ -1244,7 +1387,7 @@
"issues": "https://github.com/laravel/sanctum/issues",
"source": "https://github.com/laravel/sanctum"
},
- "time": "2023-01-13T15:41:49+00:00"
+ "time": "2023-05-01T19:39:51+00:00"
},
{
"name": "laravel/serializable-closure",
@@ -1564,19 +1707,20 @@
},
{
"name": "league/flysystem",
- "version": "3.12.3",
+ "version": "3.15.1",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/flysystem.git",
- "reference": "81e87e74dd5213795c7846d65089712d2dda90ce"
+ "reference": "a141d430414fcb8bf797a18716b09f759a385bed"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/81e87e74dd5213795c7846d65089712d2dda90ce",
- "reference": "81e87e74dd5213795c7846d65089712d2dda90ce",
+ "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/a141d430414fcb8bf797a18716b09f759a385bed",
+ "reference": "a141d430414fcb8bf797a18716b09f759a385bed",
"shasum": ""
},
"require": {
+ "league/flysystem-local": "^3.0.0",
"league/mime-type-detection": "^1.0.0",
"php": "^8.0.2"
},
@@ -1635,7 +1779,73 @@
],
"support": {
"issues": "https://github.com/thephpleague/flysystem/issues",
- "source": "https://github.com/thephpleague/flysystem/tree/3.12.3"
+ "source": "https://github.com/thephpleague/flysystem/tree/3.15.1"
+ },
+ "funding": [
+ {
+ "url": "https://ecologi.com/frankdejonge",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/frankdejonge",
+ "type": "github"
+ }
+ ],
+ "time": "2023-05-04T09:04:26+00:00"
+ },
+ {
+ "name": "league/flysystem-aws-s3-v3",
+ "version": "3.15.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/thephpleague/flysystem-aws-s3-v3.git",
+ "reference": "d8de61ee10b6a607e7996cff388c5a3a663e8c8a"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/thephpleague/flysystem-aws-s3-v3/zipball/d8de61ee10b6a607e7996cff388c5a3a663e8c8a",
+ "reference": "d8de61ee10b6a607e7996cff388c5a3a663e8c8a",
+ "shasum": ""
+ },
+ "require": {
+ "aws/aws-sdk-php": "^3.220.0",
+ "league/flysystem": "^3.10.0",
+ "league/mime-type-detection": "^1.0.0",
+ "php": "^8.0.2"
+ },
+ "conflict": {
+ "guzzlehttp/guzzle": "<7.0",
+ "guzzlehttp/ringphp": "<1.1.1"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "League\\Flysystem\\AwsS3V3\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Frank de Jonge",
+ "email": "info@frankdejonge.nl"
+ }
+ ],
+ "description": "AWS S3 filesystem adapter for Flysystem.",
+ "keywords": [
+ "Flysystem",
+ "aws",
+ "file",
+ "files",
+ "filesystem",
+ "s3",
+ "storage"
+ ],
+ "support": {
+ "issues": "https://github.com/thephpleague/flysystem-aws-s3-v3/issues",
+ "source": "https://github.com/thephpleague/flysystem-aws-s3-v3/tree/3.15.0"
},
"funding": [
{
@@ -1645,13 +1855,69 @@
{
"url": "https://github.com/frankdejonge",
"type": "github"
+ }
+ ],
+ "time": "2023-05-02T20:02:14+00:00"
+ },
+ {
+ "name": "league/flysystem-local",
+ "version": "3.15.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/thephpleague/flysystem-local.git",
+ "reference": "543f64c397fefdf9cfeac443ffb6beff602796b3"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/543f64c397fefdf9cfeac443ffb6beff602796b3",
+ "reference": "543f64c397fefdf9cfeac443ffb6beff602796b3",
+ "shasum": ""
+ },
+ "require": {
+ "ext-fileinfo": "*",
+ "league/flysystem": "^3.0.0",
+ "league/mime-type-detection": "^1.0.0",
+ "php": "^8.0.2"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "League\\Flysystem\\Local\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Frank de Jonge",
+ "email": "info@frankdejonge.nl"
+ }
+ ],
+ "description": "Local filesystem adapter for Flysystem.",
+ "keywords": [
+ "Flysystem",
+ "file",
+ "files",
+ "filesystem",
+ "local"
+ ],
+ "support": {
+ "issues": "https://github.com/thephpleague/flysystem-local/issues",
+ "source": "https://github.com/thephpleague/flysystem-local/tree/3.15.0"
+ },
+ "funding": [
+ {
+ "url": "https://ecologi.com/frankdejonge",
+ "type": "custom"
},
{
- "url": "https://tidelift.com/funding/github/packagist/league/flysystem",
- "type": "tidelift"
+ "url": "https://github.com/frankdejonge",
+ "type": "github"
}
],
- "time": "2023-02-18T15:32:41+00:00"
+ "time": "2023-05-02T20:02:14+00:00"
},
{
"name": "league/mime-type-detection",
@@ -1810,6 +2076,67 @@
],
"time": "2023-02-06T13:46:10+00:00"
},
+ {
+ "name": "mtdowling/jmespath.php",
+ "version": "2.6.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/jmespath/jmespath.php.git",
+ "reference": "9b87907a81b87bc76d19a7fb2d61e61486ee9edb"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/jmespath/jmespath.php/zipball/9b87907a81b87bc76d19a7fb2d61e61486ee9edb",
+ "reference": "9b87907a81b87bc76d19a7fb2d61e61486ee9edb",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^5.4 || ^7.0 || ^8.0",
+ "symfony/polyfill-mbstring": "^1.17"
+ },
+ "require-dev": {
+ "composer/xdebug-handler": "^1.4 || ^2.0",
+ "phpunit/phpunit": "^4.8.36 || ^7.5.15"
+ },
+ "bin": [
+ "bin/jp.php"
+ ],
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.6-dev"
+ }
+ },
+ "autoload": {
+ "files": [
+ "src/JmesPath.php"
+ ],
+ "psr-4": {
+ "JmesPath\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Michael Dowling",
+ "email": "mtdowling@gmail.com",
+ "homepage": "https://github.com/mtdowling"
+ }
+ ],
+ "description": "Declaratively specify how to extract elements from a JSON document",
+ "keywords": [
+ "json",
+ "jsonpath"
+ ],
+ "support": {
+ "issues": "https://github.com/jmespath/jmespath.php/issues",
+ "source": "https://github.com/jmespath/jmespath.php/tree/2.6.1"
+ },
+ "time": "2021-06-14T00:11:39+00:00"
+ },
{
"name": "nesbot/carbon",
"version": "2.66.0",
@@ -2383,21 +2710,21 @@
},
{
"name": "psr/http-client",
- "version": "1.0.1",
+ "version": "1.0.2",
"source": {
"type": "git",
"url": "https://github.com/php-fig/http-client.git",
- "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621"
+ "reference": "0955afe48220520692d2d09f7ab7e0f93ffd6a31"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-client/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621",
- "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621",
+ "url": "https://api.github.com/repos/php-fig/http-client/zipball/0955afe48220520692d2d09f7ab7e0f93ffd6a31",
+ "reference": "0955afe48220520692d2d09f7ab7e0f93ffd6a31",
"shasum": ""
},
"require": {
"php": "^7.0 || ^8.0",
- "psr/http-message": "^1.0"
+ "psr/http-message": "^1.0 || ^2.0"
},
"type": "library",
"extra": {
@@ -2417,7 +2744,7 @@
"authors": [
{
"name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
+ "homepage": "https://www.php-fig.org/"
}
],
"description": "Common interface for HTTP clients",
@@ -2429,27 +2756,27 @@
"psr-18"
],
"support": {
- "source": "https://github.com/php-fig/http-client/tree/master"
+ "source": "https://github.com/php-fig/http-client/tree/1.0.2"
},
- "time": "2020-06-29T06:28:15+00:00"
+ "time": "2023-04-10T20:12:12+00:00"
},
{
"name": "psr/http-factory",
- "version": "1.0.1",
+ "version": "1.0.2",
"source": {
"type": "git",
"url": "https://github.com/php-fig/http-factory.git",
- "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be"
+ "reference": "e616d01114759c4c489f93b099585439f795fe35"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be",
- "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be",
+ "url": "https://api.github.com/repos/php-fig/http-factory/zipball/e616d01114759c4c489f93b099585439f795fe35",
+ "reference": "e616d01114759c4c489f93b099585439f795fe35",
"shasum": ""
},
"require": {
"php": ">=7.0.0",
- "psr/http-message": "^1.0"
+ "psr/http-message": "^1.0 || ^2.0"
},
"type": "library",
"extra": {
@@ -2469,7 +2796,7 @@
"authors": [
{
"name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
+ "homepage": "https://www.php-fig.org/"
}
],
"description": "Common interfaces for PSR-7 HTTP message factories",
@@ -2484,31 +2811,31 @@
"response"
],
"support": {
- "source": "https://github.com/php-fig/http-factory/tree/master"
+ "source": "https://github.com/php-fig/http-factory/tree/1.0.2"
},
- "time": "2019-04-30T12:38:16+00:00"
+ "time": "2023-04-10T20:10:41+00:00"
},
{
"name": "psr/http-message",
- "version": "1.0.1",
+ "version": "2.0",
"source": {
"type": "git",
"url": "https://github.com/php-fig/http-message.git",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
+ "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
+ "url": "https://api.github.com/repos/php-fig/http-message/zipball/402d35bcb92c70c026d1a6a9883f06b2ead23d71",
+ "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71",
"shasum": ""
},
"require": {
- "php": ">=5.3.0"
+ "php": "^7.2 || ^8.0"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.0.x-dev"
+ "dev-master": "2.0.x-dev"
}
},
"autoload": {
@@ -2523,7 +2850,7 @@
"authors": [
{
"name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
+ "homepage": "https://www.php-fig.org/"
}
],
"description": "Common interface for HTTP messages",
@@ -2537,9 +2864,9 @@
"response"
],
"support": {
- "source": "https://github.com/php-fig/http-message/tree/master"
+ "source": "https://github.com/php-fig/http-message/tree/2.0"
},
- "time": "2016-08-06T14:39:51+00:00"
+ "time": "2023-04-04T09:54:51+00:00"
},
{
"name": "psr/log",
@@ -2644,16 +2971,16 @@
},
{
"name": "psy/psysh",
- "version": "v0.11.14",
+ "version": "v0.11.17",
"source": {
"type": "git",
"url": "https://github.com/bobthecow/psysh.git",
- "reference": "8c2e264def7a8263a68ef6f0b55ce90b77d41e17"
+ "reference": "3dc5d4018dabd80bceb8fe1e3191ba8460569f0a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/bobthecow/psysh/zipball/8c2e264def7a8263a68ef6f0b55ce90b77d41e17",
- "reference": "8c2e264def7a8263a68ef6f0b55ce90b77d41e17",
+ "url": "https://api.github.com/repos/bobthecow/psysh/zipball/3dc5d4018dabd80bceb8fe1e3191ba8460569f0a",
+ "reference": "3dc5d4018dabd80bceb8fe1e3191ba8460569f0a",
"shasum": ""
},
"require": {
@@ -2714,9 +3041,9 @@
],
"support": {
"issues": "https://github.com/bobthecow/psysh/issues",
- "source": "https://github.com/bobthecow/psysh/tree/v0.11.14"
+ "source": "https://github.com/bobthecow/psysh/tree/v0.11.17"
},
- "time": "2023-03-28T03:41:01+00:00"
+ "time": "2023-05-05T20:02:42+00:00"
},
{
"name": "ralouphie/getallheaders",
@@ -2853,20 +3180,20 @@
},
{
"name": "ramsey/uuid",
- "version": "4.7.3",
+ "version": "4.7.4",
"source": {
"type": "git",
"url": "https://github.com/ramsey/uuid.git",
- "reference": "433b2014e3979047db08a17a205f410ba3869cf2"
+ "reference": "60a4c63ab724854332900504274f6150ff26d286"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/ramsey/uuid/zipball/433b2014e3979047db08a17a205f410ba3869cf2",
- "reference": "433b2014e3979047db08a17a205f410ba3869cf2",
+ "url": "https://api.github.com/repos/ramsey/uuid/zipball/60a4c63ab724854332900504274f6150ff26d286",
+ "reference": "60a4c63ab724854332900504274f6150ff26d286",
"shasum": ""
},
"require": {
- "brick/math": "^0.8.8 || ^0.9 || ^0.10",
+ "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11",
"ext-json": "*",
"php": "^8.0",
"ramsey/collection": "^1.2 || ^2.0"
@@ -2929,7 +3256,7 @@
],
"support": {
"issues": "https://github.com/ramsey/uuid/issues",
- "source": "https://github.com/ramsey/uuid/tree/4.7.3"
+ "source": "https://github.com/ramsey/uuid/tree/4.7.4"
},
"funding": [
{
@@ -2941,20 +3268,171 @@
"type": "tidelift"
}
],
- "time": "2023-01-12T18:13:24+00:00"
+ "time": "2023-04-15T23:01:58+00:00"
+ },
+ {
+ "name": "spatie/laravel-activitylog",
+ "version": "4.7.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/spatie/laravel-activitylog.git",
+ "reference": "ec65a478a909b8df1b4f0c3c45de2592ca7639e5"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/spatie/laravel-activitylog/zipball/ec65a478a909b8df1b4f0c3c45de2592ca7639e5",
+ "reference": "ec65a478a909b8df1b4f0c3c45de2592ca7639e5",
+ "shasum": ""
+ },
+ "require": {
+ "illuminate/config": "^8.0 || ^9.0 || ^10.0",
+ "illuminate/database": "^8.69 || ^9.27 || ^10.0",
+ "illuminate/support": "^8.0 || ^9.0 || ^10.0",
+ "php": "^8.0",
+ "spatie/laravel-package-tools": "^1.6.3"
+ },
+ "require-dev": {
+ "ext-json": "*",
+ "orchestra/testbench": "^6.23 || ^7.0 || ^8.0",
+ "pestphp/pest": "^1.20"
+ },
+ "type": "library",
+ "extra": {
+ "laravel": {
+ "providers": [
+ "Spatie\\Activitylog\\ActivitylogServiceProvider"
+ ]
+ }
+ },
+ "autoload": {
+ "files": [
+ "src/helpers.php"
+ ],
+ "psr-4": {
+ "Spatie\\Activitylog\\": "src"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Freek Van der Herten",
+ "email": "freek@spatie.be",
+ "homepage": "https://spatie.be",
+ "role": "Developer"
+ },
+ {
+ "name": "Sebastian De Deyne",
+ "email": "sebastian@spatie.be",
+ "homepage": "https://spatie.be",
+ "role": "Developer"
+ },
+ {
+ "name": "Tom Witkowski",
+ "email": "dev.gummibeer@gmail.com",
+ "homepage": "https://gummibeer.de",
+ "role": "Developer"
+ }
+ ],
+ "description": "A very simple activity logger to monitor the users of your website or application",
+ "homepage": "https://github.com/spatie/activitylog",
+ "keywords": [
+ "activity",
+ "laravel",
+ "log",
+ "spatie",
+ "user"
+ ],
+ "support": {
+ "issues": "https://github.com/spatie/laravel-activitylog/issues",
+ "source": "https://github.com/spatie/laravel-activitylog/tree/4.7.3"
+ },
+ "funding": [
+ {
+ "url": "https://spatie.be/open-source/support-us",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/spatie",
+ "type": "github"
+ }
+ ],
+ "time": "2023-01-25T17:04:51+00:00"
+ },
+ {
+ "name": "spatie/laravel-package-tools",
+ "version": "1.15.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/spatie/laravel-package-tools.git",
+ "reference": "efab1844b8826443135201c4443690f032c3d533"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/efab1844b8826443135201c4443690f032c3d533",
+ "reference": "efab1844b8826443135201c4443690f032c3d533",
+ "shasum": ""
+ },
+ "require": {
+ "illuminate/contracts": "^9.28|^10.0",
+ "php": "^8.0"
+ },
+ "require-dev": {
+ "mockery/mockery": "^1.5",
+ "orchestra/testbench": "^7.7|^8.0",
+ "pestphp/pest": "^1.22",
+ "phpunit/phpunit": "^9.5.24",
+ "spatie/pest-plugin-test-time": "^1.1"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Spatie\\LaravelPackageTools\\": "src"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Freek Van der Herten",
+ "email": "freek@spatie.be",
+ "role": "Developer"
+ }
+ ],
+ "description": "Tools for creating Laravel packages",
+ "homepage": "https://github.com/spatie/laravel-package-tools",
+ "keywords": [
+ "laravel-package-tools",
+ "spatie"
+ ],
+ "support": {
+ "issues": "https://github.com/spatie/laravel-package-tools/issues",
+ "source": "https://github.com/spatie/laravel-package-tools/tree/1.15.0"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/spatie",
+ "type": "github"
+ }
+ ],
+ "time": "2023-04-27T08:09:01+00:00"
},
{
"name": "symfony/console",
- "version": "v6.2.7",
+ "version": "v6.2.10",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
- "reference": "cbad09eb8925b6ad4fb721c7a179344dc4a19d45"
+ "reference": "12288d9f4500f84a4d02254d4aa968b15488476f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/cbad09eb8925b6ad4fb721c7a179344dc4a19d45",
- "reference": "cbad09eb8925b6ad4fb721c7a179344dc4a19d45",
+ "url": "https://api.github.com/repos/symfony/console/zipball/12288d9f4500f84a4d02254d4aa968b15488476f",
+ "reference": "12288d9f4500f84a4d02254d4aa968b15488476f",
"shasum": ""
},
"require": {
@@ -3016,12 +3494,12 @@
"homepage": "https://symfony.com",
"keywords": [
"cli",
- "command line",
+ "command-line",
"console",
"terminal"
],
"support": {
- "source": "https://github.com/symfony/console/tree/v6.2.7"
+ "source": "https://github.com/symfony/console/tree/v6.2.10"
},
"funding": [
{
@@ -3037,7 +3515,7 @@
"type": "tidelift"
}
],
- "time": "2023-02-25T17:00:03+00:00"
+ "time": "2023-04-28T13:37:43+00:00"
},
{
"name": "symfony/css-selector",
@@ -3173,16 +3651,16 @@
},
{
"name": "symfony/error-handler",
- "version": "v6.2.7",
+ "version": "v6.2.10",
"source": {
"type": "git",
"url": "https://github.com/symfony/error-handler.git",
- "reference": "61e90f94eb014054000bc902257d2763fac09166"
+ "reference": "8b7e9f124640cb0611624a9383176c3e5f7d8cfb"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/error-handler/zipball/61e90f94eb014054000bc902257d2763fac09166",
- "reference": "61e90f94eb014054000bc902257d2763fac09166",
+ "url": "https://api.github.com/repos/symfony/error-handler/zipball/8b7e9f124640cb0611624a9383176c3e5f7d8cfb",
+ "reference": "8b7e9f124640cb0611624a9383176c3e5f7d8cfb",
"shasum": ""
},
"require": {
@@ -3224,7 +3702,7 @@
"description": "Provides tools to manage errors and ease debugging PHP code",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/error-handler/tree/v6.2.7"
+ "source": "https://github.com/symfony/error-handler/tree/v6.2.10"
},
"funding": [
{
@@ -3240,20 +3718,20 @@
"type": "tidelift"
}
],
- "time": "2023-02-14T08:44:56+00:00"
+ "time": "2023-04-18T13:46:08+00:00"
},
{
"name": "symfony/event-dispatcher",
- "version": "v6.2.7",
+ "version": "v6.2.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/event-dispatcher.git",
- "reference": "404b307de426c1c488e5afad64403e5f145e82a5"
+ "reference": "04046f35fd7d72f9646e721fc2ecb8f9c67d3339"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/404b307de426c1c488e5afad64403e5f145e82a5",
- "reference": "404b307de426c1c488e5afad64403e5f145e82a5",
+ "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/04046f35fd7d72f9646e721fc2ecb8f9c67d3339",
+ "reference": "04046f35fd7d72f9646e721fc2ecb8f9c67d3339",
"shasum": ""
},
"require": {
@@ -3307,7 +3785,7 @@
"description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/event-dispatcher/tree/v6.2.7"
+ "source": "https://github.com/symfony/event-dispatcher/tree/v6.2.8"
},
"funding": [
{
@@ -3323,7 +3801,7 @@
"type": "tidelift"
}
],
- "time": "2023-02-14T08:44:56+00:00"
+ "time": "2023-03-20T16:06:02+00:00"
},
{
"name": "symfony/event-dispatcher-contracts",
@@ -3470,16 +3948,16 @@
},
{
"name": "symfony/http-foundation",
- "version": "v6.2.7",
+ "version": "v6.2.10",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-foundation.git",
- "reference": "5fc3038d4a594223f9ea42e4e985548f3fcc9a3b"
+ "reference": "49adbb92bcb4e3c2943719d2756271e8b9602acc"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/http-foundation/zipball/5fc3038d4a594223f9ea42e4e985548f3fcc9a3b",
- "reference": "5fc3038d4a594223f9ea42e4e985548f3fcc9a3b",
+ "url": "https://api.github.com/repos/symfony/http-foundation/zipball/49adbb92bcb4e3c2943719d2756271e8b9602acc",
+ "reference": "49adbb92bcb4e3c2943719d2756271e8b9602acc",
"shasum": ""
},
"require": {
@@ -3528,7 +4006,7 @@
"description": "Defines an object-oriented layer for the HTTP specification",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/http-foundation/tree/v6.2.7"
+ "source": "https://github.com/symfony/http-foundation/tree/v6.2.10"
},
"funding": [
{
@@ -3544,20 +4022,20 @@
"type": "tidelift"
}
],
- "time": "2023-02-21T10:54:55+00:00"
+ "time": "2023-04-18T13:46:08+00:00"
},
{
"name": "symfony/http-kernel",
- "version": "v6.2.7",
+ "version": "v6.2.10",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-kernel.git",
- "reference": "ca0680ad1e2d678536cc20e0ae33f9e4e5d2becd"
+ "reference": "81064a65a5496f17d2b6984f6519406f98864215"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/http-kernel/zipball/ca0680ad1e2d678536cc20e0ae33f9e4e5d2becd",
- "reference": "ca0680ad1e2d678536cc20e0ae33f9e4e5d2becd",
+ "url": "https://api.github.com/repos/symfony/http-kernel/zipball/81064a65a5496f17d2b6984f6519406f98864215",
+ "reference": "81064a65a5496f17d2b6984f6519406f98864215",
"shasum": ""
},
"require": {
@@ -3639,7 +4117,7 @@
"description": "Provides a structured process for converting a Request into a Response",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/http-kernel/tree/v6.2.7"
+ "source": "https://github.com/symfony/http-kernel/tree/v6.2.10"
},
"funding": [
{
@@ -3655,20 +4133,20 @@
"type": "tidelift"
}
],
- "time": "2023-02-28T13:26:41+00:00"
+ "time": "2023-04-28T13:50:28+00:00"
},
{
"name": "symfony/mailer",
- "version": "v6.2.7",
+ "version": "v6.2.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/mailer.git",
- "reference": "e4f84c633b72ec70efc50b8016871c3bc43e691e"
+ "reference": "bfcfa015c67e19c6fdb7ca6fe70700af1e740a17"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/mailer/zipball/e4f84c633b72ec70efc50b8016871c3bc43e691e",
- "reference": "e4f84c633b72ec70efc50b8016871c3bc43e691e",
+ "url": "https://api.github.com/repos/symfony/mailer/zipball/bfcfa015c67e19c6fdb7ca6fe70700af1e740a17",
+ "reference": "bfcfa015c67e19c6fdb7ca6fe70700af1e740a17",
"shasum": ""
},
"require": {
@@ -3718,7 +4196,7 @@
"description": "Helps sending emails",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/mailer/tree/v6.2.7"
+ "source": "https://github.com/symfony/mailer/tree/v6.2.8"
},
"funding": [
{
@@ -3734,20 +4212,20 @@
"type": "tidelift"
}
],
- "time": "2023-02-21T10:35:38+00:00"
+ "time": "2023-03-14T15:00:05+00:00"
},
{
"name": "symfony/mime",
- "version": "v6.2.7",
+ "version": "v6.2.10",
"source": {
"type": "git",
"url": "https://github.com/symfony/mime.git",
- "reference": "62e341f80699badb0ad70b31149c8df89a2d778e"
+ "reference": "b6c137fc53a9f7c4c951cd3f362b3734c7a97723"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/mime/zipball/62e341f80699badb0ad70b31149c8df89a2d778e",
- "reference": "62e341f80699badb0ad70b31149c8df89a2d778e",
+ "url": "https://api.github.com/repos/symfony/mime/zipball/b6c137fc53a9f7c4c951cd3f362b3734c7a97723",
+ "reference": "b6c137fc53a9f7c4c951cd3f362b3734c7a97723",
"shasum": ""
},
"require": {
@@ -3801,7 +4279,7 @@
"mime-type"
],
"support": {
- "source": "https://github.com/symfony/mime/tree/v6.2.7"
+ "source": "https://github.com/symfony/mime/tree/v6.2.10"
},
"funding": [
{
@@ -3817,7 +4295,7 @@
"type": "tidelift"
}
],
- "time": "2023-02-24T10:42:00+00:00"
+ "time": "2023-04-19T09:54:16+00:00"
},
{
"name": "symfony/polyfill-ctype",
@@ -4479,16 +4957,16 @@
},
{
"name": "symfony/process",
- "version": "v6.2.7",
+ "version": "v6.2.10",
"source": {
"type": "git",
"url": "https://github.com/symfony/process.git",
- "reference": "680e8a2ea6b3f87aecc07a6a65a203ae573d1902"
+ "reference": "b34cdbc9c5e75d45a3703e63a48ad07aafa8bf2e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/process/zipball/680e8a2ea6b3f87aecc07a6a65a203ae573d1902",
- "reference": "680e8a2ea6b3f87aecc07a6a65a203ae573d1902",
+ "url": "https://api.github.com/repos/symfony/process/zipball/b34cdbc9c5e75d45a3703e63a48ad07aafa8bf2e",
+ "reference": "b34cdbc9c5e75d45a3703e63a48ad07aafa8bf2e",
"shasum": ""
},
"require": {
@@ -4520,7 +4998,7 @@
"description": "Executes commands in sub-processes",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/process/tree/v6.2.7"
+ "source": "https://github.com/symfony/process/tree/v6.2.10"
},
"funding": [
{
@@ -4536,20 +5014,20 @@
"type": "tidelift"
}
],
- "time": "2023-02-24T10:42:00+00:00"
+ "time": "2023-04-18T13:56:57+00:00"
},
{
"name": "symfony/routing",
- "version": "v6.2.7",
+ "version": "v6.2.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/routing.git",
- "reference": "fa643fa4c56de161f8bc8c0492a76a60140b50e4"
+ "reference": "69062e2823f03b82265d73a966999660f0e1e404"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/routing/zipball/fa643fa4c56de161f8bc8c0492a76a60140b50e4",
- "reference": "fa643fa4c56de161f8bc8c0492a76a60140b50e4",
+ "url": "https://api.github.com/repos/symfony/routing/zipball/69062e2823f03b82265d73a966999660f0e1e404",
+ "reference": "69062e2823f03b82265d73a966999660f0e1e404",
"shasum": ""
},
"require": {
@@ -4608,7 +5086,7 @@
"url"
],
"support": {
- "source": "https://github.com/symfony/routing/tree/v6.2.7"
+ "source": "https://github.com/symfony/routing/tree/v6.2.8"
},
"funding": [
{
@@ -4624,7 +5102,7 @@
"type": "tidelift"
}
],
- "time": "2023-02-14T08:53:37+00:00"
+ "time": "2023-03-14T15:00:05+00:00"
},
{
"name": "symfony/service-contracts",
@@ -4713,16 +5191,16 @@
},
{
"name": "symfony/string",
- "version": "v6.2.7",
+ "version": "v6.2.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/string.git",
- "reference": "67b8c1eec78296b85dc1c7d9743830160218993d"
+ "reference": "193e83bbd6617d6b2151c37fff10fa7168ebddef"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/string/zipball/67b8c1eec78296b85dc1c7d9743830160218993d",
- "reference": "67b8c1eec78296b85dc1c7d9743830160218993d",
+ "url": "https://api.github.com/repos/symfony/string/zipball/193e83bbd6617d6b2151c37fff10fa7168ebddef",
+ "reference": "193e83bbd6617d6b2151c37fff10fa7168ebddef",
"shasum": ""
},
"require": {
@@ -4779,7 +5257,7 @@
"utf8"
],
"support": {
- "source": "https://github.com/symfony/string/tree/v6.2.7"
+ "source": "https://github.com/symfony/string/tree/v6.2.8"
},
"funding": [
{
@@ -4795,20 +5273,20 @@
"type": "tidelift"
}
],
- "time": "2023-02-24T10:42:00+00:00"
+ "time": "2023-03-20T16:06:02+00:00"
},
{
"name": "symfony/translation",
- "version": "v6.2.7",
+ "version": "v6.2.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/translation.git",
- "reference": "90db1c6138c90527917671cd9ffa9e8b359e3a73"
+ "reference": "817535dbb1721df8b3a8f2489dc7e50bcd6209b5"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/translation/zipball/90db1c6138c90527917671cd9ffa9e8b359e3a73",
- "reference": "90db1c6138c90527917671cd9ffa9e8b359e3a73",
+ "url": "https://api.github.com/repos/symfony/translation/zipball/817535dbb1721df8b3a8f2489dc7e50bcd6209b5",
+ "reference": "817535dbb1721df8b3a8f2489dc7e50bcd6209b5",
"shasum": ""
},
"require": {
@@ -4877,7 +5355,7 @@
"description": "Provides tools to internationalize your application",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/translation/tree/v6.2.7"
+ "source": "https://github.com/symfony/translation/tree/v6.2.8"
},
"funding": [
{
@@ -4893,7 +5371,7 @@
"type": "tidelift"
}
],
- "time": "2023-02-24T10:42:00+00:00"
+ "time": "2023-03-31T09:14:44+00:00"
},
{
"name": "symfony/translation-contracts",
@@ -5052,16 +5530,16 @@
},
{
"name": "symfony/var-dumper",
- "version": "v6.2.7",
+ "version": "v6.2.10",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-dumper.git",
- "reference": "cf8d4ca1ddc1e3cc242375deb8fc23e54f5e2a1e"
+ "reference": "41a750a23412ca76fdbbf5096943b4134272c1ab"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/var-dumper/zipball/cf8d4ca1ddc1e3cc242375deb8fc23e54f5e2a1e",
- "reference": "cf8d4ca1ddc1e3cc242375deb8fc23e54f5e2a1e",
+ "url": "https://api.github.com/repos/symfony/var-dumper/zipball/41a750a23412ca76fdbbf5096943b4134272c1ab",
+ "reference": "41a750a23412ca76fdbbf5096943b4134272c1ab",
"shasum": ""
},
"require": {
@@ -5120,7 +5598,7 @@
"dump"
],
"support": {
- "source": "https://github.com/symfony/var-dumper/tree/v6.2.7"
+ "source": "https://github.com/symfony/var-dumper/tree/v6.2.10"
},
"funding": [
{
@@ -5136,7 +5614,7 @@
"type": "tidelift"
}
],
- "time": "2023-02-24T10:42:00+00:00"
+ "time": "2023-04-18T13:46:08+00:00"
},
{
"name": "tijsverkoyen/css-to-inline-styles",
@@ -5411,16 +5889,16 @@
"packages-dev": [
{
"name": "fakerphp/faker",
- "version": "v1.21.0",
+ "version": "v1.22.0",
"source": {
"type": "git",
"url": "https://github.com/FakerPHP/Faker.git",
- "reference": "92efad6a967f0b79c499705c69b662f738cc9e4d"
+ "reference": "f85772abd508bd04e20bb4b1bbe260a68d0066d2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/92efad6a967f0b79c499705c69b662f738cc9e4d",
- "reference": "92efad6a967f0b79c499705c69b662f738cc9e4d",
+ "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/f85772abd508bd04e20bb4b1bbe260a68d0066d2",
+ "reference": "f85772abd508bd04e20bb4b1bbe260a68d0066d2",
"shasum": ""
},
"require": {
@@ -5473,22 +5951,22 @@
],
"support": {
"issues": "https://github.com/FakerPHP/Faker/issues",
- "source": "https://github.com/FakerPHP/Faker/tree/v1.21.0"
+ "source": "https://github.com/FakerPHP/Faker/tree/v1.22.0"
},
- "time": "2022-12-13T13:54:32+00:00"
+ "time": "2023-05-14T12:31:37+00:00"
},
{
"name": "filp/whoops",
- "version": "2.15.1",
+ "version": "2.15.2",
"source": {
"type": "git",
"url": "https://github.com/filp/whoops.git",
- "reference": "e864ac957acd66e1565f25efda61e37791a5db0b"
+ "reference": "aac9304c5ed61bf7b1b7a6064bf9806ab842ce73"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/filp/whoops/zipball/e864ac957acd66e1565f25efda61e37791a5db0b",
- "reference": "e864ac957acd66e1565f25efda61e37791a5db0b",
+ "url": "https://api.github.com/repos/filp/whoops/zipball/aac9304c5ed61bf7b1b7a6064bf9806ab842ce73",
+ "reference": "aac9304c5ed61bf7b1b7a6064bf9806ab842ce73",
"shasum": ""
},
"require": {
@@ -5538,7 +6016,7 @@
],
"support": {
"issues": "https://github.com/filp/whoops/issues",
- "source": "https://github.com/filp/whoops/tree/2.15.1"
+ "source": "https://github.com/filp/whoops/tree/2.15.2"
},
"funding": [
{
@@ -5546,7 +6024,7 @@
"type": "github"
}
],
- "time": "2023-03-06T18:09:13+00:00"
+ "time": "2023-04-12T12:00:00+00:00"
},
{
"name": "hamcrest/hamcrest-php",
@@ -5601,16 +6079,16 @@
},
{
"name": "laravel/pint",
- "version": "v1.7.0",
+ "version": "v1.10.0",
"source": {
"type": "git",
"url": "https://github.com/laravel/pint.git",
- "reference": "d55381c73b7308e1b8a124084e804193a179092e"
+ "reference": "c7a01fa9bdd79819e7a2f1ba63ac1b02e6692dbc"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/pint/zipball/d55381c73b7308e1b8a124084e804193a179092e",
- "reference": "d55381c73b7308e1b8a124084e804193a179092e",
+ "url": "https://api.github.com/repos/laravel/pint/zipball/c7a01fa9bdd79819e7a2f1ba63ac1b02e6692dbc",
+ "reference": "c7a01fa9bdd79819e7a2f1ba63ac1b02e6692dbc",
"shasum": ""
},
"require": {
@@ -5621,13 +6099,13 @@
"php": "^8.1.0"
},
"require-dev": {
- "friendsofphp/php-cs-fixer": "^3.14.4",
- "illuminate/view": "^10.0.0",
- "laravel-zero/framework": "^10.0.0",
+ "friendsofphp/php-cs-fixer": "^3.16.0",
+ "illuminate/view": "^10.5.1",
+ "laravel-zero/framework": "^10.0.2",
"mockery/mockery": "^1.5.1",
- "nunomaduro/larastan": "^2.4.0",
+ "nunomaduro/larastan": "^2.5.1",
"nunomaduro/termwind": "^1.15.1",
- "pestphp/pest": "^1.22.4"
+ "pestphp/pest": "^2.4.0"
},
"bin": [
"builds/pint"
@@ -5663,27 +6141,27 @@
"issues": "https://github.com/laravel/pint/issues",
"source": "https://github.com/laravel/pint"
},
- "time": "2023-03-21T10:55:35+00:00"
+ "time": "2023-04-25T14:52:30+00:00"
},
{
"name": "laravel/sail",
- "version": "v1.21.3",
+ "version": "v1.22.0",
"source": {
"type": "git",
"url": "https://github.com/laravel/sail.git",
- "reference": "3042ff8cf403817c340d5a7762b2d32900239f46"
+ "reference": "923e1e112b6a8598664dbb0ee79dd3137f1c9d56"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/sail/zipball/3042ff8cf403817c340d5a7762b2d32900239f46",
- "reference": "3042ff8cf403817c340d5a7762b2d32900239f46",
+ "url": "https://api.github.com/repos/laravel/sail/zipball/923e1e112b6a8598664dbb0ee79dd3137f1c9d56",
+ "reference": "923e1e112b6a8598664dbb0ee79dd3137f1c9d56",
"shasum": ""
},
"require": {
"illuminate/console": "^8.0|^9.0|^10.0",
"illuminate/contracts": "^8.0|^9.0|^10.0",
"illuminate/support": "^8.0|^9.0|^10.0",
- "php": "^7.3|^8.0",
+ "php": "^8.0",
"symfony/yaml": "^6.0"
},
"require-dev": {
@@ -5728,7 +6206,7 @@
"issues": "https://github.com/laravel/sail/issues",
"source": "https://github.com/laravel/sail"
},
- "time": "2023-03-13T01:22:10+00:00"
+ "time": "2023-05-04T14:52:56+00:00"
},
{
"name": "mockery/mockery",
@@ -5863,40 +6341,40 @@
},
{
"name": "nunomaduro/collision",
- "version": "v7.3.3",
+ "version": "v7.5.2",
"source": {
"type": "git",
"url": "https://github.com/nunomaduro/collision.git",
- "reference": "c680af93e414110b36056029f63120e6bc78f6e3"
+ "reference": "76b3cabda0aabda455fc3b9db6c3615f5a87c7ff"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nunomaduro/collision/zipball/c680af93e414110b36056029f63120e6bc78f6e3",
- "reference": "c680af93e414110b36056029f63120e6bc78f6e3",
+ "url": "https://api.github.com/repos/nunomaduro/collision/zipball/76b3cabda0aabda455fc3b9db6c3615f5a87c7ff",
+ "reference": "76b3cabda0aabda455fc3b9db6c3615f5a87c7ff",
"shasum": ""
},
"require": {
- "filp/whoops": "^2.15.1",
+ "filp/whoops": "^2.15.2",
"nunomaduro/termwind": "^1.15.1",
"php": "^8.1.0",
- "symfony/console": "^6.2.7"
+ "symfony/console": "^6.2.8"
},
"conflict": {
- "phpunit/phpunit": "<10.0.17"
+ "phpunit/phpunit": "<10.1.2"
},
"require-dev": {
- "brianium/paratest": "^7.1.2",
- "laravel/framework": "^10.4.1",
- "laravel/pint": "^1.7.0",
- "laravel/sail": "^1.21.2",
+ "brianium/paratest": "^7.1.3",
+ "laravel/framework": "^10.8.0",
+ "laravel/pint": "^1.9.0",
+ "laravel/sail": "^1.21.4",
"laravel/sanctum": "^3.2.1",
"laravel/tinker": "^2.8.1",
- "nunomaduro/larastan": "^2.5.1",
- "orchestra/testbench-core": "^8.1.1",
- "pestphp/pest": "^2.0.2",
- "phpunit/phpunit": "^10.0.17",
- "sebastian/environment": "^6.0.0",
- "spatie/laravel-ignition": "^2.0.0"
+ "nunomaduro/larastan": "^2.6.0",
+ "orchestra/testbench-core": "^8.5.0",
+ "pestphp/pest": "^2.5.2",
+ "phpunit/phpunit": "^10.1.1",
+ "sebastian/environment": "^6.0.1",
+ "spatie/laravel-ignition": "^2.1.0"
},
"type": "library",
"extra": {
@@ -5955,7 +6433,7 @@
"type": "patreon"
}
],
- "time": "2023-03-23T21:41:35+00:00"
+ "time": "2023-04-22T22:12:40+00:00"
},
{
"name": "phar-io/manifest",
@@ -6070,16 +6548,16 @@
},
{
"name": "phpunit/php-code-coverage",
- "version": "10.0.2",
+ "version": "10.1.1",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "20800e84296ea4732f9a125e08ce86b4004ae3e4"
+ "reference": "884a0da7f9f46f28b2cb69134217fd810b793974"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/20800e84296ea4732f9a125e08ce86b4004ae3e4",
- "reference": "20800e84296ea4732f9a125e08ce86b4004ae3e4",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/884a0da7f9f46f28b2cb69134217fd810b793974",
+ "reference": "884a0da7f9f46f28b2cb69134217fd810b793974",
"shasum": ""
},
"require": {
@@ -6098,7 +6576,7 @@
"theseer/tokenizer": "^1.2.0"
},
"require-dev": {
- "phpunit/phpunit": "^10.0"
+ "phpunit/phpunit": "^10.1"
},
"suggest": {
"ext-pcov": "PHP extension that provides line coverage",
@@ -6107,7 +6585,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "10.0-dev"
+ "dev-main": "10.1-dev"
}
},
"autoload": {
@@ -6135,7 +6613,8 @@
],
"support": {
"issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
- "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.0.2"
+ "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy",
+ "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.1"
},
"funding": [
{
@@ -6143,20 +6622,20 @@
"type": "github"
}
],
- "time": "2023-03-06T13:00:19+00:00"
+ "time": "2023-04-17T12:15:40+00:00"
},
{
"name": "phpunit/php-file-iterator",
- "version": "4.0.1",
+ "version": "4.0.2",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "fd9329ab3368f59fe1fe808a189c51086bd4b6bd"
+ "reference": "5647d65443818959172645e7ed999217360654b6"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/fd9329ab3368f59fe1fe808a189c51086bd4b6bd",
- "reference": "fd9329ab3368f59fe1fe808a189c51086bd4b6bd",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/5647d65443818959172645e7ed999217360654b6",
+ "reference": "5647d65443818959172645e7ed999217360654b6",
"shasum": ""
},
"require": {
@@ -6195,7 +6674,8 @@
],
"support": {
"issues": "https://github.com/sebastianbergmann/php-file-iterator/issues",
- "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/4.0.1"
+ "security": "https://github.com/sebastianbergmann/php-file-iterator/security/policy",
+ "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/4.0.2"
},
"funding": [
{
@@ -6203,7 +6683,7 @@
"type": "github"
}
],
- "time": "2023-02-10T16:53:14+00:00"
+ "time": "2023-05-07T09:13:23+00:00"
},
{
"name": "phpunit/php-invoker",
@@ -6388,16 +6868,16 @@
},
{
"name": "phpunit/phpunit",
- "version": "10.0.19",
+ "version": "10.1.3",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "20c23e85c86e5c06d63538ba464e8054f4744e62"
+ "reference": "2379ebafc1737e71cdc84f402acb6b7f04198b9d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/20c23e85c86e5c06d63538ba464e8054f4744e62",
- "reference": "20c23e85c86e5c06d63538ba464e8054f4744e62",
+ "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/2379ebafc1737e71cdc84f402acb6b7f04198b9d",
+ "reference": "2379ebafc1737e71cdc84f402acb6b7f04198b9d",
"shasum": ""
},
"require": {
@@ -6411,7 +6891,7 @@
"phar-io/manifest": "^2.0.3",
"phar-io/version": "^3.0.2",
"php": ">=8.1",
- "phpunit/php-code-coverage": "^10.0",
+ "phpunit/php-code-coverage": "^10.1.1",
"phpunit/php-file-iterator": "^4.0",
"phpunit/php-invoker": "^4.0",
"phpunit/php-text-template": "^3.0",
@@ -6437,7 +6917,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "10.0-dev"
+ "dev-main": "10.1-dev"
}
},
"autoload": {
@@ -6469,7 +6949,7 @@
"support": {
"issues": "https://github.com/sebastianbergmann/phpunit/issues",
"security": "https://github.com/sebastianbergmann/phpunit/security/policy",
- "source": "https://github.com/sebastianbergmann/phpunit/tree/10.0.19"
+ "source": "https://github.com/sebastianbergmann/phpunit/tree/10.1.3"
},
"funding": [
{
@@ -6485,7 +6965,7 @@
"type": "tidelift"
}
],
- "time": "2023-03-27T11:46:33+00:00"
+ "time": "2023-05-11T05:16:22+00:00"
},
{
"name": "sebastian/cli-parser",
@@ -6789,16 +7269,16 @@
},
{
"name": "sebastian/diff",
- "version": "5.0.1",
+ "version": "5.0.3",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "aae9a0a43bff37bd5d8d0311426c87bf36153f02"
+ "reference": "912dc2fbe3e3c1e7873313cc801b100b6c68c87b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/aae9a0a43bff37bd5d8d0311426c87bf36153f02",
- "reference": "aae9a0a43bff37bd5d8d0311426c87bf36153f02",
+ "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/912dc2fbe3e3c1e7873313cc801b100b6c68c87b",
+ "reference": "912dc2fbe3e3c1e7873313cc801b100b6c68c87b",
"shasum": ""
},
"require": {
@@ -6844,7 +7324,7 @@
"support": {
"issues": "https://github.com/sebastianbergmann/diff/issues",
"security": "https://github.com/sebastianbergmann/diff/security/policy",
- "source": "https://github.com/sebastianbergmann/diff/tree/5.0.1"
+ "source": "https://github.com/sebastianbergmann/diff/tree/5.0.3"
},
"funding": [
{
@@ -6852,20 +7332,20 @@
"type": "github"
}
],
- "time": "2023-03-23T05:12:41+00:00"
+ "time": "2023-05-01T07:48:21+00:00"
},
{
"name": "sebastian/environment",
- "version": "6.0.0",
+ "version": "6.0.1",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "b6f3694c6386c7959915a0037652e0c40f6f69cc"
+ "reference": "43c751b41d74f96cbbd4e07b7aec9675651e2951"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/b6f3694c6386c7959915a0037652e0c40f6f69cc",
- "reference": "b6f3694c6386c7959915a0037652e0c40f6f69cc",
+ "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/43c751b41d74f96cbbd4e07b7aec9675651e2951",
+ "reference": "43c751b41d74f96cbbd4e07b7aec9675651e2951",
"shasum": ""
},
"require": {
@@ -6907,7 +7387,8 @@
],
"support": {
"issues": "https://github.com/sebastianbergmann/environment/issues",
- "source": "https://github.com/sebastianbergmann/environment/tree/6.0.0"
+ "security": "https://github.com/sebastianbergmann/environment/security/policy",
+ "source": "https://github.com/sebastianbergmann/environment/tree/6.0.1"
},
"funding": [
{
@@ -6915,7 +7396,7 @@
"type": "github"
}
],
- "time": "2023-02-03T07:03:04+00:00"
+ "time": "2023-04-11T05:39:26+00:00"
},
{
"name": "sebastian/exporter",
@@ -7460,16 +7941,16 @@
},
{
"name": "spatie/flare-client-php",
- "version": "1.3.5",
+ "version": "1.3.6",
"source": {
"type": "git",
"url": "https://github.com/spatie/flare-client-php.git",
- "reference": "3e5dd5ac4928f3d2d036bd02de5eb83fd0ef1f42"
+ "reference": "530ac81255af79f114344286e4275f8869c671e2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/spatie/flare-client-php/zipball/3e5dd5ac4928f3d2d036bd02de5eb83fd0ef1f42",
- "reference": "3e5dd5ac4928f3d2d036bd02de5eb83fd0ef1f42",
+ "url": "https://api.github.com/repos/spatie/flare-client-php/zipball/530ac81255af79f114344286e4275f8869c671e2",
+ "reference": "530ac81255af79f114344286e4275f8869c671e2",
"shasum": ""
},
"require": {
@@ -7517,7 +7998,7 @@
],
"support": {
"issues": "https://github.com/spatie/flare-client-php/issues",
- "source": "https://github.com/spatie/flare-client-php/tree/1.3.5"
+ "source": "https://github.com/spatie/flare-client-php/tree/1.3.6"
},
"funding": [
{
@@ -7525,42 +8006,51 @@
"type": "github"
}
],
- "time": "2023-01-23T15:58:46+00:00"
+ "time": "2023-04-12T07:57:12+00:00"
},
{
"name": "spatie/ignition",
- "version": "1.4.5",
+ "version": "1.7.0",
"source": {
"type": "git",
"url": "https://github.com/spatie/ignition.git",
- "reference": "cc09114b7057bd217b676f047544b33f5b6247e6"
+ "reference": "f747d83c6d7cb6229b462f3ddbb3a82dc0db0f78"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/spatie/ignition/zipball/cc09114b7057bd217b676f047544b33f5b6247e6",
- "reference": "cc09114b7057bd217b676f047544b33f5b6247e6",
+ "url": "https://api.github.com/repos/spatie/ignition/zipball/f747d83c6d7cb6229b462f3ddbb3a82dc0db0f78",
+ "reference": "f747d83c6d7cb6229b462f3ddbb3a82dc0db0f78",
"shasum": ""
},
"require": {
"ext-json": "*",
"ext-mbstring": "*",
"php": "^8.0",
+ "spatie/backtrace": "^1.4",
"spatie/flare-client-php": "^1.1",
"symfony/console": "^5.4|^6.0",
"symfony/var-dumper": "^5.4|^6.0"
},
"require-dev": {
+ "illuminate/cache": "^9.52",
"mockery/mockery": "^1.4",
"pestphp/pest": "^1.20",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
- "symfony/process": "^5.4|^6.0"
+ "psr/simple-cache-implementation": "*",
+ "symfony/cache": "^6.2",
+ "symfony/process": "^5.4|^6.0",
+ "vlucas/phpdotenv": "^5.5"
+ },
+ "suggest": {
+ "openai-php/client": "Require get solutions from OpenAI",
+ "simple-cache-implementation": "To cache solutions from OpenAI"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "1.4.x-dev"
+ "dev-main": "1.5.x-dev"
}
},
"autoload": {
@@ -7599,20 +8089,20 @@
"type": "github"
}
],
- "time": "2023-02-28T16:49:47+00:00"
+ "time": "2023-05-04T13:20:26+00:00"
},
{
"name": "spatie/laravel-ignition",
- "version": "2.0.0",
+ "version": "2.1.2",
"source": {
"type": "git",
"url": "https://github.com/spatie/laravel-ignition.git",
- "reference": "70c0e2a22c5c4b691a34db8c98bd6d695660a97a"
+ "reference": "2f99fa6b732a6049e78ed34e4608ce589605ae54"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/70c0e2a22c5c4b691a34db8c98bd6d695660a97a",
- "reference": "70c0e2a22c5c4b691a34db8c98bd6d695660a97a",
+ "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/2f99fa6b732a6049e78ed34e4608ce589605ae54",
+ "reference": "2f99fa6b732a6049e78ed34e4608ce589605ae54",
"shasum": ""
},
"require": {
@@ -7622,18 +8112,24 @@
"illuminate/support": "^10.0",
"php": "^8.1",
"spatie/flare-client-php": "^1.3.5",
- "spatie/ignition": "^1.4.3",
+ "spatie/ignition": "^1.5.0",
"symfony/console": "^6.2.3",
"symfony/var-dumper": "^6.2.3"
},
"require-dev": {
"livewire/livewire": "^2.11",
"mockery/mockery": "^1.5.1",
+ "openai-php/client": "^0.3.4",
"orchestra/testbench": "^8.0",
"pestphp/pest": "^1.22.3",
"phpstan/extension-installer": "^1.2",
"phpstan/phpstan-deprecation-rules": "^1.1.1",
- "phpstan/phpstan-phpunit": "^1.3.3"
+ "phpstan/phpstan-phpunit": "^1.3.3",
+ "vlucas/phpdotenv": "^5.5"
+ },
+ "suggest": {
+ "openai-php/client": "Require get solutions from OpenAI",
+ "psr/simple-cache-implementation": "Needed to cache solutions from OpenAI"
},
"type": "library",
"extra": {
@@ -7644,9 +8140,6 @@
"aliases": {
"Flare": "Spatie\\LaravelIgnition\\Facades\\Flare"
}
- },
- "branch-alias": {
- "dev-main": "2.0-dev"
}
},
"autoload": {
@@ -7688,20 +8181,20 @@
"type": "github"
}
],
- "time": "2023-01-24T07:20:39+00:00"
+ "time": "2023-05-09T07:19:31+00:00"
},
{
"name": "symfony/yaml",
- "version": "v6.2.7",
+ "version": "v6.2.10",
"source": {
"type": "git",
"url": "https://github.com/symfony/yaml.git",
- "reference": "e8e6a1d59e050525f27a1f530aa9703423cb7f57"
+ "reference": "61916f3861b1e9705b18cfde723921a71dd1559d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/e8e6a1d59e050525f27a1f530aa9703423cb7f57",
- "reference": "e8e6a1d59e050525f27a1f530aa9703423cb7f57",
+ "url": "https://api.github.com/repos/symfony/yaml/zipball/61916f3861b1e9705b18cfde723921a71dd1559d",
+ "reference": "61916f3861b1e9705b18cfde723921a71dd1559d",
"shasum": ""
},
"require": {
@@ -7746,7 +8239,7 @@
"description": "Loads and dumps YAML files",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/yaml/tree/v6.2.7"
+ "source": "https://github.com/symfony/yaml/tree/v6.2.10"
},
"funding": [
{
@@ -7762,7 +8255,7 @@
"type": "tidelift"
}
],
- "time": "2023-02-16T09:57:23+00:00"
+ "time": "2023-04-28T13:25:36+00:00"
},
{
"name": "theseer/tokenizer",
diff --git a/config/activitylog.php b/config/activitylog.php
new file mode 100644
index 0000000..5f6afcf
--- /dev/null
+++ b/config/activitylog.php
@@ -0,0 +1,52 @@
+ env('ACTIVITY_LOGGER_ENABLED', true),
+
+ /*
+ * When the clean-command is executed, all recording activities older than
+ * the number of days specified here will be deleted.
+ */
+ 'delete_records_older_than_days' => 365,
+
+ /*
+ * If no log name is passed to the activity() helper
+ * we use this default log name.
+ */
+ 'default_log_name' => 'default',
+
+ /*
+ * You can specify an auth driver here that gets user models.
+ * If this is null we'll use the current Laravel auth driver.
+ */
+ 'default_auth_driver' => null,
+
+ /*
+ * If set to true, the subject returns soft deleted models.
+ */
+ 'subject_returns_soft_deleted_models' => false,
+
+ /*
+ * This model will be used to log activity.
+ * It should implement the Spatie\Activitylog\Contracts\Activity interface
+ * and extend Illuminate\Database\Eloquent\Model.
+ */
+ 'activity_model' => \Spatie\Activitylog\Models\Activity::class,
+
+ /*
+ * This is the name of the table that will be created by the migration and
+ * used by the Activity model shipped with this package.
+ */
+ 'table_name' => 'activity_log',
+
+ /*
+ * This is the database connection that will be used by the migration and
+ * the Activity model shipped with this package. In case it's not set
+ * Laravel's database.default will be used instead.
+ */
+ 'database_connection' => env('ACTIVITY_LOGGER_DB_CONNECTION'),
+];
diff --git a/config/global.php b/config/global.php
index 245826c..f61f5f0 100644
--- a/config/global.php
+++ b/config/global.php
@@ -32,3 +32,4 @@
'01-12-2024' => 'December 2024'
]
];
+?>
diff --git a/config/global.php@20230623 b/config/global.php@20230623
new file mode 100644
index 0000000..ad0b279
--- /dev/null
+++ b/config/global.php@20230623
@@ -0,0 +1,21 @@
+ [
+ 'init'=> 'INITIAL PAYMENT',
+ '01-01-2023' => 'January 2023',
+ '01-02-2023'=> 'February 2023',
+ '01-03-2023' => 'March 2023',
+ '01-04-2023'=> 'April 2023',
+ '01-05-2023' => 'May 2023',
+ '01-06-2023' => 'June 2023',
+ '01-07-2023' =>'July 2023',
+ '01-08-2023' => 'August 2023',
+ '01-09-2023' => 'September 2023',
+ '01-10-2023' => 'October 2023',
+ '01-11-2023' => 'November 2023',
+ '01-12-2023' => 'December 2023'
+ ]
+];
+?>
diff --git a/database/migrations/2023_05_03_063530_create_modules_table.php b/database/migrations/2023_05_03_063530_create_modules_table.php
new file mode 100644
index 0000000..3085eb3
--- /dev/null
+++ b/database/migrations/2023_05_03_063530_create_modules_table.php
@@ -0,0 +1,28 @@
+id();
+ $table->string('name');
+ $table->timestamps();
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ */
+ public function down(): void
+ {
+ Schema::dropIfExists('modules');
+ }
+};
diff --git a/database/migrations/2023_05_03_063616_create_activity_logs_table.php b/database/migrations/2023_05_03_063616_create_activity_logs_table.php
new file mode 100644
index 0000000..5f9c827
--- /dev/null
+++ b/database/migrations/2023_05_03_063616_create_activity_logs_table.php
@@ -0,0 +1,31 @@
+id();
+ $table->integer('user_id');
+ $table->string('action');
+ $table->foreignId('module_id')->constrained();
+ $table->integer('module_item_id');
+ $table->timestamps();
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ */
+ public function down(): void
+ {
+ Schema::dropIfExists('activity_logs');
+ }
+};
diff --git a/database/migrations/2023_05_10_095901_create_activity_log_table.php b/database/migrations/2023_05_10_095901_create_activity_log_table.php
new file mode 100644
index 0000000..7c05bc8
--- /dev/null
+++ b/database/migrations/2023_05_10_095901_create_activity_log_table.php
@@ -0,0 +1,27 @@
+create(config('activitylog.table_name'), function (Blueprint $table) {
+ $table->bigIncrements('id');
+ $table->string('log_name')->nullable();
+ $table->text('description');
+ $table->nullableMorphs('subject', 'subject');
+ $table->nullableMorphs('causer', 'causer');
+ $table->json('properties')->nullable();
+ $table->timestamps();
+ $table->index('log_name');
+ });
+ }
+
+ public function down()
+ {
+ Schema::connection(config('activitylog.database_connection'))->dropIfExists(config('activitylog.table_name'));
+ }
+}
diff --git a/database/migrations/2023_05_10_095902_add_event_column_to_activity_log_table.php b/database/migrations/2023_05_10_095902_add_event_column_to_activity_log_table.php
new file mode 100644
index 0000000..7b797fd
--- /dev/null
+++ b/database/migrations/2023_05_10_095902_add_event_column_to_activity_log_table.php
@@ -0,0 +1,22 @@
+table(config('activitylog.table_name'), function (Blueprint $table) {
+ $table->string('event')->nullable()->after('subject_type');
+ });
+ }
+
+ public function down()
+ {
+ Schema::connection(config('activitylog.database_connection'))->table(config('activitylog.table_name'), function (Blueprint $table) {
+ $table->dropColumn('event');
+ });
+ }
+}
diff --git a/database/migrations/2023_05_10_095903_add_batch_uuid_column_to_activity_log_table.php b/database/migrations/2023_05_10_095903_add_batch_uuid_column_to_activity_log_table.php
new file mode 100644
index 0000000..8f7db66
--- /dev/null
+++ b/database/migrations/2023_05_10_095903_add_batch_uuid_column_to_activity_log_table.php
@@ -0,0 +1,22 @@
+table(config('activitylog.table_name'), function (Blueprint $table) {
+ $table->uuid('batch_uuid')->nullable()->after('properties');
+ });
+ }
+
+ public function down()
+ {
+ Schema::connection(config('activitylog.database_connection'))->table(config('activitylog.table_name'), function (Blueprint $table) {
+ $table->dropColumn('batch_uuid');
+ });
+ }
+}
diff --git a/database/seeders/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.php
index 349b6c0..314eefb 100644
--- a/database/seeders/DatabaseSeeder.php
+++ b/database/seeders/DatabaseSeeder.php
@@ -3,7 +3,7 @@
namespace Database\Seeders;
// use Illuminate\Database\Console\Seeds\WithoutModelEvents;
-use Illuminate\Database\Seeder;
+use Illuminate\Database\ModuleSeeder;
use Database\Seeders\UserTypeSeeder;
use Database\Seeders\UserSeeder;
use Database\Seeders\PaymentModeSeeder;
@@ -20,8 +20,8 @@ public function run(): void
SocietySeeder::class,
UserTypeSeeder::class,
UserSeeder::class,
- PaymentModeSeeder::class
-
+ PaymentModeSeeder::class,
+ ModuleSeeder::class
]);
}
}
diff --git a/database/seeders/ModuleSeeder.php b/database/seeders/ModuleSeeder.php
new file mode 100644
index 0000000..523365a
--- /dev/null
+++ b/database/seeders/ModuleSeeder.php
@@ -0,0 +1,23 @@
+insert([
+ 'name' => 'Payment',
+ ]);
+ DB::table('modules')->insert([
+ 'name' => 'Expense',
+ ]);
+ }
+}
diff --git a/public/1adminer.php b/public/1adminer.php
new file mode 100644
index 0000000..2099aa2
--- /dev/null
+++ b/public/1adminer.php
@@ -0,0 +1,1795 @@
+$W){unset($tg[$z][$he]);if(is_array($W)){$tg[$z][stripslashes($he)]=$W;$tg[]=&$tg[$z][stripslashes($he)];}else$tg[$z][stripslashes($he)]=($ad?$W:stripslashes($W));}}}}function
+bracket_escape($v,$Na=false){static$ui=array(':'=>':1',']'=>':2','['=>':3','"'=>':4');return
+strtr($v,($Na?array_flip($ui):$ui));}function
+min_version($Zi,$De="",$h=null){global$g;if(!$h)$h=$g;$nh=$h->server_info;if($De&&preg_match('~([\d.]+)-MariaDB~',$nh,$C)){$nh=$C[1];$Zi=$De;}return(version_compare($nh,$Zi)>=0);}function
+charset($g){return(min_version("5.5.3",0,$g)?"utf8mb4":"utf8");}function
+script($yh,$ti="\n"){return"$ti";}function
+script_src($Ni){return"\n";}function
+nonce(){return' nonce="'.get_nonce().'"';}function
+target_blank(){return' target="_blank" rel="noreferrer noopener"';}function
+h($P){return
+str_replace("\0","",htmlspecialchars($P,ENT_QUOTES,'utf-8'));}function
+nl_br($P){return
+str_replace("\n"," ",$P);}function
+checkbox($D,$Y,$db,$me="",$uf="",$hb="",$ne=""){$I=" ".($uf?script("qsl('input').onclick = function () { $uf };",""):"");return($me!=""||$hb?" ":$I);}function
+optionlist($_f,$gh=null,$Ri=false){$I="";foreach($_f
+as$he=>$W){$Af=array($he=>$W);if(is_array($W)){$I.=' ';}return$I;}function
+html_select($D,$_f,$Y="",$tf=true,$ne=""){if($tf)return" ".(is_string($tf)?script("qsl('select').onchange = function () { $tf };",""):"");$I="";foreach($_f
+as$z=>$X)$I.=" ";return$I;}function
+select_input($Ia,$_f,$Y="",$tf="",$fg=""){$Yh=($_f?"select":"input");return"<$Yh$Ia".($_f?"> |