....................................../////.===Shadow-Here===./////................................................ > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < ------------------------------------------------------------------------------------------------------------------- /////////////////////////////////////////////////////////////////////////////////////////////////////////////////// RIFF¤ WEBPVP8 ˜ ðÑ *ôô>‘HŸK¥¤"§£±¨àð enü¹%½_F‘åè¿2ºQú³íªú`N¿­3ÿƒügµJžaÿ¯ÿ°~¼ÎùnúîÞÖô•òíôÁÉß®Sm¥Ü/ ‡ó˜f£Ùà<˜„xëJ¢Ù€SO3x<ªÔ©4¿+ç¶A`q@Ì“Úñè™ÍÿJÌ´ª-˜ÆtÊÛL]Ïq*‘Ý”ì#ŸÌÏãY]@ê`¿ /ªfkØB4·®£ó z—Üw¥Pxù–ÞLШKÇN¾AkÙTf½è'‰g gÆv›Øuh~ a˜Z— ïj*á¥t d£“uÒ ¨`K˜¹ßþ]b>˜]_ÏÔ6W—è2r4x•íÖ…"ƒÖNîä!¦å Ú}ýxGøÌ —@ ;ÆÚŠ=ɾ1ý8lªË¥ô ^yf®Œ¢u&2©nÙÇ›ñÂñŒ³ aPo['½»øFùà­+4ê“$!lövlüÞ=;N®3ð‚õ›DÉKòÞ>ÄÍ ¥ˆuߤ#ˆ$6ù™¥îЇy’ÍB¼ çxÛ;X"WL£R÷͝*ó-¶Zu}º.s¸sšXqù–DþÿvªhüïwyŸ ¯é³lÀ:KCûÄ£Ëá\…­ ~—ýóî ¼ûûÜTÓüÇy…ŽÆvc»¾×U ñ¸žþоP÷¦ó:Ò¨¨5;Ð#&#ÖúñläÿÁœ GxÉ­/ñ‡áQðìYÉtÒw޼GÔ´zàÒò ð*ëzƒ•4~H]Ø‹f ñÓÈñ`NåWçs'ÆÏW^ø¹!XžµmQ5ÃËoLœÎ: ÞËÍ¥J ù…î èo£ßPÎñ¶ž8.Œ]ʵ~5›ÙË-ù*8ÙÖß±~ ©¹rÓê‚j¶d¸{^Q'˜±Crß ÚH—#¥¥QlÀ×ëã‡DÜ«èî þ&Çæžî;ŽÏºò6ÒLÃXy&ZŒ'j‚¢Ù€IßÚù+–MGi‰*jE€‘JcÜ ÓÌ EÏÚj]o˜ Þr <¾U ûŪæÍ/šÝH¥˜b”¼ ÁñßX GP›ï2›4WŠÏà×£…íÓk†¦H·ÅíMh–*nó÷à]ÁjCº€b7<ب‹¨5車bp2:Á[UªM„QŒçiNMa#<5›áËó¸HýÊ"…×Éw¹¦ì2º–x<›»a±¸3Weü®FÝ⑱ö–î–³|LPÈ~çð~Çå‡|º kD¢µÏàÆAI %1À% ¹Ò – ”ϝS¦‰4&¶£°à Öý”û_Ò Áw°A«Å€?mÇÛgHÉ/8)á¾ÛìáöŽP í¨PŸNÙµº¦‡§Ùš"ÿ«>+ªÕ`Ê÷‡‚ß Õû˜þãÇ-PÍ.¾XV‘€ dÜ"þ4¹ ±Oú‘©t¥¦FªÄÃÄ•b‚znýu½—#cDs˜ÃiÑOˆñ×QO=*IAÊ,¶ŽZƒ;‡wøXè%EÐk:F±Ú” .Ѽ+Áu&Ç`."pÈÉw o&¿dE6‘’EqTuK@Ì¥ã™À(Êk(h‰,H}RÀIXÛš3µ1©_OqÚÒJAñ$ÊÙÜ;D3çŒ[þùœh¬Ã³™ö6ç†NY".Ú‰ï[ªŸŒ '²Ð öø_¨ÂÉ9ué¶³ÒŠõTàîMØ#û¯gN‡bÙ놚X„ö …ÉeüÌ^J ‹€.œ$Æ)βÄeæW#óüßĺŸ€ ÀzwV 9oä»f4V*uB «Ë†¹ì¯žR霓æHXa=&“I4K;¯ç‹h×·"UŠ~<•╪Vêª&ÍSÃÆÅ?ÔqÎ*mTM ˜›µwêd#[C¡©§‘D<©àb†–ÁœøvH/,í:¯( ²£|4-„Æövv„Yͼ™^Á$ˆ„¢Û[6yB.åH*V¨æ?$=˜Ñ€•ñ·­(VlŸ‘ nÀt8W÷´Bûba?q9ú¶Xƒl«ÿ\ù¶’þòUÐj/õ¢Ìµ³g$ƒÎR!¸»|Oߍë’BhîÚÑ¢ñåŒJ„®„£2Ð3•ô02Nt…!£Í]Ïc½Qÿ?ˆ<&ÃA¾Ú,JˆijÌ#5yz„‰Î|ÊŽ5QÏ:‹ÐaóVÔxW—CpeÏzÐïíçôÿÅ_[hãsÐ_/ŽTÝ?BîˆííV$<¿i>²F¬_Eß¿ †bÊŒº­ÿ®Z H“C}”¬,Mp ý/Bá£w>˜YV°aƒúh+cŠ- r/[%|üUMHäQ°X»|û/@|°¥Ð !BÔ Ç¢Ä©š+Õì D«7ìN¶ŽðÔ " ƶ’ÖçtA‰Û×}{tþz­¾GÍ›k¹OEJR$ Â׃ «ëÁ"oÉôž$oUK(Ä)Ãz³Ê-‹êN[Ò3Œñbï8P 4ƒ×q¢bo|?<ÛX¬òÄͰL–±›(™ûG?ýË©ÚÄ–ÂDØÐ_Ç¡ô ¾–ÄÏø ×e8Ë©$ÄF¹Å‹ì[©óìl:F¾f´‹‹Xì²ï®\¬ôùƒ ÿat¥óèÒùHß0äe‚;ü×h:ÆWðHž=Ã8骣"kœ'Y?³}Tûè€>?0l›e1Lòñ„aæKÆw…hÖŠùW…ÈÆÄ0ši·›[pcwËþñiêíY/~-Á5˜!¿†A›™Mÿþ(±“t@â“ö2­´TG5yé]çå僳 .·ÍïçÝ7UÚ±Ð/Nè»,_Ï ùdj7\ï Wì4›„»c¸àešg#ÒÊ⥭áØo5‘?ÌdÝô¯ ¹kzsƒ=´#ëÉK›Ø´±-¥eW?‡çßtòTã…$Ý+qÿ±ƒ÷_3Ô¥í÷:æ–ž<·Ö‡‰Å¢ š‡%Ô—utÌÈìðžgÖÀz²À—ï÷Óîäõ{K'´È÷³yaÏÁjƒô}ž§®æÊydÕÈë5¯èˆõvÕ©ã*çD„ “z„Ó‡^^xÂ3M§A´JG‚öï 3W'ˆ.OvXè¡ÊÕª?5º7†˜(˜Ç¶#çê’¶!ÌdZK§æ 0fãaN]òY³RV ™î$®K2R¨`W!1Ôó\;Ý ýB%qæK•&ÓÈe9È0êI±žeŸß -ú@žQr¦ ö4»M¼Áè¹µmw 9 EÆE_°2ó„ŸXKWÁ×Hóì^´²GѝF©óäR†¦‰ç"V»eØ<3ùd3ÿÚ¤Žú“Gi" —‘_ÙËÎ~Üö¯¥½Î»üŸEÚŽåmÞþí ;ÞólËΦMzA"Âf(´òá;Éï(/7½ûñÌ­cïÕçлþÝz¾-ÍvÑ“pH­–ðÓj$¸Äû¤‚‘ãUBË-n“2åPkS5&‹Â|+g^œ®Ì͆d!OïäîU«c;{Û!ÅŽ«ëZ9Ókóˆ]¯ƒ›né `ÇÒ+tÆš (ØKá¾—=3œ®•vuMñg²\ï Ec€ 05±d™‡×iÇ×›UúvÌ¢£Èþ¡ÕØô¶ßÎA"ß±#Ö²ˆÊŸ¦*Ä~ij|àø.-¼'»Ú¥£h ofº¦‡VsR=N½„Î v˜Z*SÌ{=jÑB‹tê…;’HžH¯8–îDù8ñ¢|Q•bÛçš–‹m³“ê¨ åÏ^m¬Žãþ©ïêO‡½6] µÆ„Ooòü ²x}N¦Ë3ïé¿»€›HA˜m%çÞ/¿í7Fø“‹léUk)É°Œµ8Q8›:ÀŠeT*šõ~ôڝG6 ¢}`ùH­–”¡k ‰P1>š†®9z11!X wKfmÁ¦xÑ,N1Q”–æB¶M…ÒÃv6SMˆhU¬ÊPŽï‘öj=·CŒ¯u¹ƒVIЃsx4’ömÛýcå¡¶7ßŠß 57^\wÒÐÆ k§h,Œý î«q^R½3]J¸ÇðN ‚çU¬ôº^Áì} ³f©Õœ§ˆã:FÄÈ‚é(€™?àýÓüè1Gô£¼éj‚OÅñ  #>×—ßtà 0G¥Åa뀐kßhc™À_ÉñÞ#±)GD" YîäË-ÿÙ̪ ¹™a¯´¢E\ÝÒö‚;™„ë]_ p8‰o¡ñ+^÷ 3‘'dT4œŽ ðVë½° :¬víÑ«£tßÚS-3¶“þ2 †üüʨòrš¹M{É_¤`Û¨0ìjœøJ‡:÷ÃáZ˜†@GP&œÑDGÏs¡þ¦þDGú‘1Yá9Ôþ¼ ûø…§÷8&–ÜÑnÄ_m®^üÆ`;ÉVÁJ£?â€-ßê}suÍ2sõA NÌúA磸‘îÿÚ»ƒìö·á¿±tÑÐ"Tÿü˜[@/äj¬€uüªìù¥Ý˜á8Ý´sõj 8@rˆð äþZÇD®ÿUÏ2ùôõrBzÆÏÞž>Ì™xœ“ wiÎ×7_… ¸ \#€MɁV¶¥üÕÿPÔ9Z‡ø§É8#H:ƒ5ÀÝå9ÍIŒ5åKÙŠ÷qÄ>1AÈøžj"µÂд/ªnÀ qªã}"iŸBå˜ÓÛŽ¦…&ݧ;G@—³b¯“•"´4í¨ôM¨åñC‹ïùÉó¯ÓsSH2Ý@ßáM‡ˆKÀªÛUeø/4\gnm¥‹ŸŒ qÄ b9ÞwÒNÏ_4Ég³ú=܆‚´ •â¥õeíþkjz>éÚyU«Íӝ݃6"8/ø{=Ô¢»G¥ äUw°W«,ô—¿ãㆅү¢³xŠUû™yŒ (øSópÐ 9\åTâ»—*oG$/×ÍT†Y¿1¤Þ¢_‡ ¼ „±ÍçèSaÓ 3ÛMÁBkxs‰’R/¡¤ˆÙçª(*õ„üXÌ´ƒ E§´¬EF"Ù”R/ÐNyÆÂ^°?™6¡œïJ·±$§?º>ÖüœcNÌù¯G ‹ñ2ЁBB„^·úìaz¨k:#¨Æ¨8LÎõލ£^§S&cŒÐU€ü(‡F±Š¼&P>8ÙÁ ‰ p5?0ÊÆƒZl¸aô š¼¡}gÿ¶zÆC²¹¬ÎÖG*HB¡O<º2#ñŒAƒ–¡B˜´É$¥›É:FÀÔx¾u?XÜÏÓvN©RS{2ʈãk9rmP¼Qq̳ è¼ÐFׄ^¡Öì fE“F4A…!ì/…¦Lƒ… … $%´¾yã@CI¬ á—3PþBÏNÿ<ý°4Ü ËÃ#ØÍ~âW«rEñw‹eùMMHß²`¬Öó½íf³:‹k˜¯÷}Z!ã¿<¥,\#öµÀ¯aÒNÆIé,Ћ–lŽ#Àæ9ÀÒS·I’½-Ïp Äz¤Š Â* ­íÄ9­< h>׍3ZkËU¹§˜ŒŠ±f­’¤º³Q ÏB?‹#µíÃ¥®@(Gs«†vI¥Mµ‹Á©e~2ú³ÁP4ìÕi‚²Ê^ö@-DþÓàlÜOÍ]n"µã:žpsŽ¢:! Aõ.ç~ÓBûH÷JCÌ]õVƒd «ú´QÙEA–¯¯Œ!.ˆˆëQ±ù œ·Ì!Õâ )ùL„ÅÀlÚè5@B…o´Æ¸XÓ&Û…O«˜”_#‡ƒ„ûÈt!¤ÁÏ›ÎÝŠ?c9 â\>lÓÁVÄÑ™£eØY]:fÝ–—ù+p{™ðè û³”g±OƒÚSù£áÁÊ„ä,ï7š²G ÕÌBk)~ÑiCµ|h#u¤¶îK¨² #²vݯGãeÖ϶ú…¾múÀ¶þÔñ‚Š9'^($¤§ò “š½{éúp÷J›ušS¹áªCÂubÃH9™D™/ZöØÁ‡¦ÝÙŸ·kð*_”.C‹{áXó€‡c¡c€§/šò/&éš÷,àéJþ‰X›fµ“C¨œ®r¬"kL‰Â_q…Z–.ÉL~O µ›zn‚¹À¦Öª7\àHµšÖ %»ÇníV[¥*Õ;ƒ#½¾HK-ÖIÊdÏEÚ#=o÷Óò³´Š: Ç?{¾+9›–‘OEáU·S€˜j"ÄaÜ ŒÛWt› á–c#a»pÔZÞdŽtWê=9éöÊ¢µ~ ë ;Öe‡Œ®:bî3±ýê¢wà¼îpêñ¹¾4 zc¾ðÖÿzdêŒÑÒŝÀ‰s6¤í³ÎÙB¿OZ”+F¤á‡3@Ñëäg©·Ž ˆèª<ù@É{&S„œÕúÀA)‰h:YÀ5^ÂÓŒ°õäU\ ùËÍû#²?Xe¬tu‰^zÒÔãë¼ÛWtEtû …‚g¶Úüâî*moGè¨7%u!]PhÏd™Ý%Îx: VÒ¦ôÊD3ÀŽKÛËãvÆî…N¯ä>Eró–ð`5 Œ%u5XkñÌ*NU%¶áœÊ:Qÿú»“úzyÏ6å-၇¾ ´ ÒÊ]y žO‘w2Äøæ…H’²f±ÎÇ.ª|¥'gîV•Ü .̘¯€šòü¤U~Ù†*¢!?ò wý,}´°ÔÞnïoKq5µb!áÓ3"vAßH¡³¡·G(ÐÎ0Îò¼MG!/ài®@—¬04*`…«é8ªøøló“ˆÊ”èù¤…ßÊoÿé'ËuÌÖ5×È¡§ˆˆfŽë9}hìâ_!!¯  B&Ëö¶‰ÀAÙNVŸ Wh›¸®XÑJì¨ú“¿÷3uj²˜¨ÍÎìë±aúŠÝå¯ð*Ó¨ôJ“yºØ)m°WýOè68†ŸÏ2—‰Ïüꪫٚ¥‹l1 ø ÏÄFjêµvÌbü¦èÝx:X±¢H=MÐß—,ˆÉÇ´(9ú¾^ÅÚ4¿m‡$âX‘å%(AlZo@½¨UOÌÕ”1ø¸jÎÀÃÃ_ µ‘Ü.œº¦Ut: Æï’!=¯uwû#,“pþÇúŒø(é@?³ü¥‘Mo §—s@Œ#)§ŒùkL}NOÆêA›¸~r½¼ÙA—HJ«eˆÖ´*¡ÓpÌŸö.m<-"³ûÈ$¬_6­åf£ïÚâj1y§ÕJ½@dÞÁr&Í\Z%D£Íñ·AZ Û³øüd/ªAi†/Й~  ‡âĮҮÏh§°b—›Û«mJžòG'[ÈYýŒ¦9psl ýÁ ®±f¦x,‰½tN ‚Xª9 ÙÖH.«Lo0×?͹m¡å†Ѽ+›2ƒF ±Ê8 7Hցϓ²Æ–m9…òŸï]Â1äN†VLâCˆU .ÿ‰Ts +ÅÎx(%¦u]6AF Š ØF鈄‘ |¢¶c±soŒ/t[a¾–û:s·`i햍ê›ËchÈ…8ßÀUÜewŒðNOƒõD%q#éû\9¤x¹&UE×G¥ Í—™$ð E6-‡¼!ýpãÔM˜ Âsìe¯ñµK¢Ç¡ùôléœ4Ö£”À Š®Ðc ^¨À}ÙËŸ§›ºê{ÊuÉC ×Sr€¤’fÉ*j!úÓ’Gsùìoîßîn%ò· àc Wp÷$¨˜)û»H ×8ŽÒ€Zj¤3ÀÙºY'Ql¦py{-6íÔCeiØp‘‡XÊîÆUߢ܂ž£Xé¼Y8þ©ëgñß}é.ÎógÒ„ÃØËø¯»™§Xýy M%@NŠ À(~áÐvu7&•,Ù˜ó€uP‡^^®=_E„jt’ 403WebShell
403Webshell
Server IP : 51.91.236.193  /  Your IP : 216.73.216.177
Web Server : Apache
System : Linux webm019.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : thillelirn ( 8290)
PHP Version : 8.0.30
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/thillelirn/www/wp-content/plugins/modern-events-calendar-lite/app/features/popup/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/thillelirn/www/wp-content/plugins/modern-events-calendar-lite/app/features/popup/settings.php
<div id="mec_popup_settings" class="mec-setup-wizard-wrap lity-hide">
    <div class="mec-wizard-content wns-be-group-tab">
        <div class="mec-wizard-loading"><div class="mec-loader"></div></div>
        <div class="mec-steps-container">
            <img src="<?php echo plugin_dir_url(__FILE__ ) . '../../../assets/img/popup/mec-logo.svg'; ?>" />
            <ul>
                <li class="mec-step mec-step-1 mec-step-passed"><span>1</span></li>
                <li class="mec-step mec-step-2"><span>2</span></li>
                <li class="mec-step mec-step-3"><span>3</span></li>
                <li class="mec-step mec-step-4"><span>4</span></li>
                <?php if($this->getPRO()) : ?>
                <li class="mec-step mec-step-5"><span>5</span></li>
                <li class="mec-step mec-step-6"><span>6</span></li>
                <?php else : ?>
                <li class="mec-step mec-step-5"><span>5</span></li>
                <?php endif; ?>
            </ul>
        </div>
        <div class="mec-steps-panel">
            <div class="mec-steps-header">
                <div class="mec-steps-header-userinfo">
                    <?php $user = wp_get_current_user(); ?>
                    <span class="mec-steps-header-img"><img src="<?php echo esc_url(get_avatar_url($user->ID)); ?>" /></span>
                    <span class="mec-steps-header-name"><?php echo esc_html($user->display_name); ?></span>
                </div>
                <div class="mec-steps-header-dashboard">
                    <a href="<?php echo admin_url('admin.php?page=mec-intro'); ?>"><i class="mec-sl-pie-chart"></i><?php esc_html_e('Dashboard', 'modern-events-calendar-lite'); ?></a>
                </div>
                <div class="mec-steps-header-settings">
                    <a href="<?php echo admin_url('admin.php?page=MEC-settings'); ?>"><i class="mec-sl-settings"></i><?php esc_html_e('Settings', 'modern-events-calendar-lite'); ?></a>
                </div>
            </div>
            <div class="mec-step-wizard-content mec-active-step" data-step="1">

                <form id="mec_save_weekdays_form" style="margin-top:-50px">
                    <?php $weekdays = $this->main->get_weekday_i18n_labels(); ?>
                    <div class="mec-form-row"  id="mec_settings_weekdays">
                        <label class="mec-col-12" for="mec_settings_weekdays"><?php esc_html_e('Weekdays', 'modern-events-calendar-lite'); ?></label>
                        <div class="mec-col-6">
                            <div class="mec-box">
                                <?php $mec_weekdays = $this->main->get_weekdays(); foreach($weekdays as $weekday): ?>
                                <label for="mec_settings_weekdays_<?php echo esc_attr($weekday[0]); ?>">
                                    <input type="checkbox" id="mec_settings_weekdays_<?php echo esc_attr($weekday[0]); ?>" name="mec[settings][weekdays][]" value="<?php echo esc_attr($weekday[0]); ?>" <?php echo (in_array($weekday[0], $mec_weekdays) ? 'checked="checked"' : ''); ?> />
                                    <?php echo esc_html($weekday[1]); ?>
                                </label>
                                <?php endforeach; ?>
                            </div>
                        </div>
                    </div>

                    <div class="mec-form-row" id="mec_settings_weekends">
                        <label class="mec-col-12" for="mec_settings_weekends"><?php esc_html_e('Weekends', 'modern-events-calendar-lite'); ?></label>
                        <div class="mec-col-6">
                        <div class="mec-box">
                            <?php $mec_weekends = $this->main->get_weekends(); foreach($weekdays as $weekday): ?>
                            <label for="mec_settings_weekends_<?php echo esc_attr($weekday[0]); ?>">
                                <input type="checkbox" id="mec_settings_weekends_<?php echo esc_attr($weekday[0]); ?>" name="mec[settings][weekends][]" value="<?php echo esc_attr($weekday[0]); ?>" <?php echo (in_array($weekday[0], $mec_weekends) ? 'checked="checked"' : ''); ?> />
                                <?php echo esc_html($weekday[1]); ?>
                            </label>
                            <?php endforeach; ?>
                        </div>
                        </div>
                    </div>
                </form>
            </div>
            <div class="mec-step-wizard-content" data-step="2">
                <form id="mec_save_slug_form">
                    <div class="mec-form-row">
                        <label class="mec-col-2" for="mec_settings_archive_title"><?php esc_html_e('Archive Page Title', 'modern-events-calendar-lite'); ?></label>
                        <div class="mec-col-4">
                            <input type="text" id="mec_settings_archive_title" name="mec[settings][archive_title]" value="<?php echo ((isset($settings['archive_title']) and trim($settings['archive_title']) != '') ? $settings['archive_title'] : 'Events'); ?>" />
                            <span class="mec-tooltip">
                                <div class="box left">
                                    <h5 class="title"><?php esc_html_e('Archive Page Title', 'modern-events-calendar-lite'); ?></h5>
                                    <div class="content"><p><?php esc_attr_e("Default value is Events - It's title of the page", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/archive-pages/" target="_blank"><?php esc_html_e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
                                </div>
                                <i title="" class="dashicons-before dashicons-editor-help"></i>
                            </span>
                        </div>
                    </div>

                    <div class="mec-form-row">
                        <label class="mec-col-2" for="mec_settings_default_skin_archive"><?php esc_html_e('Archive Page Skin', 'modern-events-calendar-lite'); ?></label>
                        <div class="mec-col-4 tooltip-move-up">
                            <select id="mec_settings_default_skin_archive" name="mec[settings][default_skin_archive]" onchange="mec_archive_skin_style_changed(this.value);" style="margin-bottom: 8px;">
                                <?php foreach($archive_skins as $archive_skin): ?>
                                    <option value="<?php echo esc_attr($archive_skin['skin']); ?>" <?php if(isset($settings['default_skin_archive']) and $archive_skin['skin'] == $settings['default_skin_archive']) echo 'selected="selected"'; ?>><?php echo esc_html($archive_skin['name']); ?></option>
                                <?php endforeach; ?>
                            </select>
                            <span class="mec-archive-skins mec-archive-custom-skins">
                                <input type="text" placeholder="<?php esc_html_e('Put shortcode...', 'modern-events-calendar-lite'); ?>" id="mec_settings_custom_archive" name="mec[settings][custom_archive]" value='<?php echo ((isset($settings['custom_archive']) and trim($settings['custom_archive']) != '') ? $settings['custom_archive'] : ''); ?>' />
                            </span>
                            <span class="mec-archive-skins mec-archive-full_calendar-skins">
                                <input type="text" placeholder="<?php esc_html_e('There is no skins', 'modern-events-calendar-lite'); ?>" disabled />
                            </span>
                            <span class="mec-archive-skins mec-archive-yearly_view-skins">
                                <input type="text" placeholder="<?php esc_html_e('Modern Style', 'modern-events-calendar-lite'); ?>" disabled />
                            </span>
                            <span class="mec-archive-skins mec-archive-monthly_view-skins" style="display: inline-block;">
                                <select id="mec_settings_monthly_view_skin_archive" name="mec[settings][monthly_view_archive_skin]" style="    min-width: 225px;">
                                    <option value="classic" <?php if(isset($settings['monthly_view_archive_skin']) &&  $settings['monthly_view_archive_skin'] == 'classic') echo 'selected="selected"'; ?>><?php echo esc_html__('Classic' , 'modern-events-calendar-lite'); ?></option>
                                    <option value="clean" <?php if(isset($settings['monthly_view_archive_skin']) &&  $settings['monthly_view_archive_skin'] == 'clean') echo 'selected="selected"'; ?>><?php echo esc_html__('Clean' , 'modern-events-calendar-lite'); ?></option>
                                    <option value="modern" <?php if(isset($settings['monthly_view_archive_skin']) &&  $settings['monthly_view_archive_skin'] == 'modern') echo 'selected="selected"'; ?>><?php echo esc_html__('Modern' , 'modern-events-calendar-lite'); ?></option>
                                    <option value="novel" <?php if(isset($settings['monthly_view_archive_skin']) &&  $settings['monthly_view_archive_skin'] == 'novel') echo 'selected="selected"'; ?>><?php echo esc_html__('Novel' , 'modern-events-calendar-lite'); ?></option>
                                    <option value="simple" <?php if(isset($settings['monthly_view_archive_skin']) &&  $settings['monthly_view_archive_skin'] == 'simple') echo 'selected="selected"'; ?>><?php echo esc_html__('Simple' , 'modern-events-calendar-lite'); ?></option>
                                </select>
                            </span>
                            <span class="mec-archive-skins mec-archive-weekly_view-skins">
                                <input type="text" placeholder="<?php esc_html_e('There is no skins', 'modern-events-calendar-lite'); ?>" disabled />
                            </span>
                            <span class="mec-archive-skins mec-archive-daily_view-skins">
                                <input type="text" placeholder="<?php esc_html_e('There is no skins', 'modern-events-calendar-lite'); ?>" disabled />
                            </span>
                            <span class="mec-archive-skins mec-archive-timetable-skins">
                                <select id="mec_settings_timetable_skin_archive" name="mec[settings][timetable_archive_skin]">
                                    <option value="modern" <?php if(isset($settings['timetable_archive_skin']) &&  $settings['timetable_archive_skin'] == 'modern') echo 'selected="selected"'; ?>><?php echo esc_html__('Modern' , 'modern-events-calendar-lite'); ?></option>
                                    <option value="clean" <?php if(isset($settings['timetable_archive_skin']) &&  $settings['timetable_archive_skin'] == 'clean') echo 'selected="selected"'; ?>><?php echo esc_html__('Clean' , 'modern-events-calendar-lite'); ?></option>
                                </select>
                            </span>
                            <span class="mec-archive-skins mec-archive-masonry-skins">
                                <input type="text" placeholder="<?php esc_html_e('There is no skins', 'modern-events-calendar-lite'); ?>" disabled />
                            </span>
                            <span class="mec-archive-skins mec-archive-list-skins">
                                <select id="mec_settings_list_skin_archive" name="mec[settings][list_archive_skin]">
                                    <option value="classic" <?php if(isset($settings['list_archive_skin']) &&  $settings['list_archive_skin'] == 'classic') echo 'selected="selected"'; ?>><?php echo esc_html__('Classic' , 'modern-events-calendar-lite'); ?></option>
                                    <option value="minimal" <?php if(isset($settings['list_archive_skin']) &&  $settings['list_archive_skin'] == 'minimal') echo 'selected="selected"'; ?>><?php echo esc_html__('Minimal' , 'modern-events-calendar-lite'); ?></option>
                                    <option value="modern" <?php if(isset($settings['list_archive_skin']) &&  $settings['list_archive_skin'] == 'modern') echo 'selected="selected"'; ?>><?php echo esc_html__('Modern' , 'modern-events-calendar-lite'); ?></option>
                                    <option value="standard" <?php if(isset($settings['list_archive_skin']) &&  $settings['list_archive_skin'] == 'standard') echo 'selected="selected"'; ?>><?php echo esc_html__('Standard' , 'modern-events-calendar-lite'); ?></option>
                                    <option value="accordion" <?php if(isset($settings['list_archive_skin']) &&  $settings['list_archive_skin'] == 'accordion') echo 'selected="selected"'; ?>><?php echo esc_html__('Accordion' , 'modern-events-calendar-lite'); ?></option>
                                </select>
                            </span>
                            <span class="mec-archive-skins mec-archive-grid-skins">
                                <select id="mec_settings_grid_skin_archive" name="mec[settings][grid_archive_skin]">
                                    <option value="classic" <?php if(isset($settings['grid_archive_skin']) &&  $settings['grid_archive_skin'] == 'classic') echo 'selected="selected"'; ?>><?php echo esc_html__('Classic' , 'modern-events-calendar-lite'); ?></option>
                                    <option value="clean" <?php if(isset($settings['grid_archive_skin'])  &&  $settings['grid_archive_skin'] == 'clean') echo 'selected="selected"'; ?>><?php echo esc_html__('Clean' , 'modern-events-calendar-lite'); ?></option>
                                    <option value="minimal" <?php if(isset($settings['grid_archive_skin'])  &&  $settings['grid_archive_skin'] == 'minimal') echo 'selected="selected"'; ?>><?php echo esc_html__('Minimal' , 'modern-events-calendar-lite'); ?></option>
                                    <option value="modern" <?php if(isset($settings['grid_archive_skin'])  &&  $settings['grid_archive_skin'] == 'modern') echo 'selected="selected"'; ?>><?php echo esc_html__('Modern' , 'modern-events-calendar-lite'); ?></option>
                                    <option value="simple" <?php if(isset($settings['grid_archive_skin'])  &&  $settings['grid_archive_skin'] == 'simple') echo 'selected="selected"'; ?>><?php echo esc_html__('Simple' , 'modern-events-calendar-lite'); ?></option>
                                    <option value="colorful" <?php if(isset($settings['grid_archive_skin'])  &&  $settings['grid_archive_skin'] == 'colorful') echo 'selected="selected"'; ?>><?php echo esc_html__('colorful' , 'modern-events-calendar-lite'); ?></option>
                                    <option value="novel" <?php if(isset($settings['grid_archive_skin'])  &&  $settings['grid_archive_skin'] == 'novel') echo 'selected="selected"'; ?>><?php echo esc_html__('Novel' , 'modern-events-calendar-lite'); ?></option>
                                </select>
                            </span>
                            <span class="mec-archive-skins mec-archive-agenda-skins">
                                <input type="text" placeholder="<?php esc_html_e('Clean Style', 'modern-events-calendar-lite'); ?>" disabled />
                            </span>
                            <span class="mec-archive-skins mec-archive-map-skins">
                                <input type="text" placeholder="<?php esc_html_e('There is no skins', 'modern-events-calendar-lite'); ?>" disabled />
                            </span>
                        </div>
                    </div>
                    <div class="mec-form-row">
                        <label class="mec-col-2" for="mec_settings_slug"><?php esc_html_e('Main Slug', 'modern-events-calendar-lite'); ?></label>
                        <div class="mec-col-4">
                            <input type="text" id="mec_settings_slug" name="mec[settings][slug]" value="<?php echo ((isset($settings['slug']) and trim($settings['slug']) != '') ? $settings['slug'] : 'events'); ?>" />
                            <span class="mec-tooltip">
                                <div class="box left">
                                    <h5 class="title"><?php esc_html_e('Main Slug', 'modern-events-calendar-lite'); ?></h5>
                                    <div class="content"><p><?php esc_attr_e("Default value is events. You can not have a page with this name. MEC allows you to create custom URLs for the permalinks and archives to enhance the applicability and forward-compatibility of the links.", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/slug-options/" target="_blank"><?php esc_html_e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
                                </div>
                                <i title="" class="dashicons-before dashicons-editor-help"></i>
                            </span>
                            <p><?php esc_attr_e("Valid characters are lowercase a-z, - character and numbers.", 'modern-events-calendar-lite'); ?></p>
                        </div>
                    </div>
                    <div class="mec-form-row">
                        <label class="mec-col-2" for="mec_settings_single_event_single_style"><?php esc_html_e('Single Event Style', 'modern-events-calendar-lite'); ?></label>
                        <div class="mec-col-4">
                            <select id="mec_settings_single_event_single_style" name="mec[settings][single_single_style]">
                                <option value="default" <?php echo (isset($settings['single_single_style']) and $settings['single_single_style'] == 'default') ? 'selected="selected"' : ''; ?>><?php esc_html_e('Default Style', 'modern-events-calendar-lite'); ?></option>
                                <option value="modern" <?php echo (isset($settings['single_single_style']) and $settings['single_single_style'] == 'modern') ? 'selected="selected"' : ''; ?>><?php esc_html_e('Modern Style', 'modern-events-calendar-lite'); ?></option>
                                <?php do_action('mec_single_style', $settings); ?>
                                <?php if(is_plugin_active('mec-single-builder/mec-single-builder.php')): ?>
                                <option value="builder" <?php echo (isset($settings['single_single_style']) and $settings['single_single_style'] == 'builder') ? 'selected="selected"' : ''; ?>><?php esc_html_e('Elementor Single Builder', 'modern-events-calendar-lite'); ?></option>
                                <?php endif; ?>
                            </select>
                            <span class="mec-tooltip">
                                <div class="box left">
                                    <h5 class="title"><?php esc_html_e('Single Event Style', 'modern-events-calendar-lite'); ?></h5>
                                    <div class="content"><p><?php esc_attr_e("Choose your single event style.", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/event-detailssingle-event-page/" target="_blank"><?php esc_html_e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
                                </div>
                                <i title="" class="dashicons-before dashicons-editor-help"></i>
                            </span>
                        </div>
                    </div>
                </form>
            </div>
            <div class="mec-step-wizard-content" data-step="3">
                <form id="mec_save_module_form">
                    <div class="mec-form-row">
                        <label style="display: block;">
                            <input type="hidden" name="mec[settings][countdown_status]" value="0" />
                            <input onchange="jQuery('#mec_count_down_container_toggle').toggle();" value="1" type="checkbox" name="mec[settings][countdown_status]" <?php if(isset($settings['countdown_status']) and $settings['countdown_status']) echo 'checked="checked"'; ?> /> <?php esc_html_e('Show countdown module on event page', 'modern-events-calendar-lite'); ?>
                        </label>
                        <div id="mec_count_down_container_toggle" class="mec-col-6 <?php if((isset($settings['countdown_status']) and !$settings['countdown_status']) or !isset($settings['countdown_status'])) echo 'mec-util-hidden'; ?>">
                            <div class="mec-form-row">
                                <label class="mec-col-4" for="mec_settings_countdown_list"><?php esc_html_e('Countdown Style', 'modern-events-calendar-lite'); ?></label>
                                <div class="mec-col-4">
                                    <select id="mec_settings_countdown_list" name="mec[settings][countdown_list]">
                                        <option value="default" <?php echo ((isset($settings['countdown_list']) and $settings['countdown_list'] == "default") ? 'selected="selected"' : ''); ?> ><?php esc_html_e('Plain Style', 'modern-events-calendar-lite'); ?></option>
                                        <option value="flip" <?php echo ((isset($settings['countdown_list']) and $settings['countdown_list'] == "flip") ? 'selected="selected"' : ''); ?> ><?php esc_html_e('Flip Style', 'modern-events-calendar-lite'); ?></option>
                                    </select>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <div class="mec-form-row">
                        <label>
                            <input type="hidden" name="mec[settings][related_events]" value="0" />
                            <input onchange="jQuery('#mec_related_events_container_toggle').toggle();" value="1" type="checkbox" name="mec[settings][related_events]" <?php if(isset($settings['related_events']) and $settings['related_events']) echo 'checked="checked"'; ?> /> <?php esc_html_e('Display related events based on taxonomy in single event page.', 'modern-events-calendar-lite'); ?>
                        </label>
                        <div id="mec_related_events_container_toggle" class="mec-col-8 <?php if((isset($settings['related_events']) and !$settings['related_events']) or !isset($settings['related_events'])) echo 'mec-util-hidden'; ?>">
                            <div class="mec-form-row" style="margin-top:20px;">
                                <label style="margin-right:7px;" for="mec_settings_countdown_list"><?php esc_html_e('Select Taxonomies:', 'modern-events-calendar-lite'); ?></label>
                                <label style="margin-right:7px;margin-bottom: 20px">
                                    <input type="hidden" name="mec[settings][related_events_basedon_category]" value="0" />
                                    <input value="1" type="checkbox" name="mec[settings][related_events_basedon_category]" <?php if(isset($settings['related_events_basedon_category']) and $settings['related_events_basedon_category']) echo 'checked="checked"'; ?> /> <?php esc_html_e('Category', 'modern-events-calendar-lite'); ?>
                                </label>
                                <label style="margin-right:7px;">
                                    <input type="hidden" name="mec[settings][related_events_basedon_organizer]" value="0" />
                                    <input value="1" type="checkbox" name="mec[settings][related_events_basedon_organizer]" <?php if(isset($settings['related_events_basedon_organizer']) and $settings['related_events_basedon_organizer']) echo 'checked="checked"'; ?> /> <?php esc_html_e('Organizer', 'modern-events-calendar-lite'); ?>
                                </label>
                                <label style="margin-right:7px;">
                                    <input type="hidden" name="mec[settings][related_events_basedon_location]" value="0" />
                                    <input value="1" type="checkbox" name="mec[settings][related_events_basedon_location]" <?php if(isset($settings['related_events_basedon_location']) and $settings['related_events_basedon_location']) echo 'checked="checked"'; ?> /> <?php esc_html_e('Location', 'modern-events-calendar-lite'); ?>
                                </label>
                                <?php if(isset($settings['speakers_status']) and $settings['speakers_status']) : ?>
                                <label style="margin-right:7px;">
                                    <input type="hidden" name="mec[settings][related_events_basedon_speaker]" value="0" />
                                    <input value="1" type="checkbox" name="mec[settings][related_events_basedon_speaker]" <?php if(isset($settings['related_events_basedon_speaker']) and $settings['related_events_basedon_speaker']) echo 'checked="checked"'; ?> /> <?php esc_html_e('Speaker', 'modern-events-calendar-lite'); ?>
                                </label>
                                <?php endif; ?>
                                <label style="margin-right:7px;">
                                    <input type="hidden" name="mec[settings][related_events_basedon_label]" value="0" />
                                    <input value="1" type="checkbox" name="mec[settings][related_events_basedon_label]" <?php if(isset($settings['related_events_basedon_label']) and $settings['related_events_basedon_label']) echo 'checked="checked"'; ?> /> <?php esc_html_e('Label', 'modern-events-calendar-lite'); ?>
                                </label>
                                <label style="margin-right:7px;">
                                    <input type="hidden" name="mec[settings][related_events_basedon_tag]" value="0" />
                                    <input value="1" type="checkbox" name="mec[settings][related_events_basedon_tag]" <?php if(isset($settings['related_events_basedon_tag']) and $settings['related_events_basedon_tag']) echo 'checked="checked"'; ?> /> <?php esc_html_e('Tag', 'modern-events-calendar-lite'); ?>
                                </label>
                            </div>
                        </div>
                    </div>
                    
                    <div class="mec-form-row">
                        <label>
                            <input type="hidden" name="mec[settings][next_previous_events]" value="0" />
                            <input onchange="jQuery('#mec_next_previous_events_container_toggle').toggle();" value="1" type="checkbox" name="mec[settings][next_previous_events]" <?php if(isset($settings['next_previous_events']) and $settings['next_previous_events']) echo 'checked="checked"'; ?> /> <?php esc_html_e('Display next / previous events based on taxonomy in single event page.', 'modern-events-calendar-lite'); ?>
                        </label>
                        <div id="mec_next_previous_events_container_toggle" class="mec-col-8 <?php if((isset($settings['next_previous_events']) and !$settings['next_previous_events']) or !isset($settings['next_previous_events'])) echo 'mec-util-hidden'; ?>">

                            <div class="mec-form-row" style="margin-top:20px;">
                                <label style="margin-right:7px;" for="mec_settings_countdown_list"><?php esc_html_e('Select Taxonomies:', 'modern-events-calendar-lite'); ?></label>
                                <label style="margin-right:7px; margin-bottom: 20px;">
                                    <input type="hidden" name="mec[settings][next_previous_events_category]" value="0" />
                                    <input value="1" type="checkbox" name="mec[settings][next_previous_events_category]" <?php if(isset($settings['next_previous_events_category']) and $settings['next_previous_events_category']) echo 'checked="checked"'; ?> /> <?php esc_html_e('Category', 'modern-events-calendar-lite'); ?>
                                </label>
                                <label style="margin-right:7px;">
                                    <input type="hidden" name="mec[settings][next_previous_events_organizer]" value="0" />
                                    <input value="1" type="checkbox" name="mec[settings][next_previous_events_organizer]" <?php if(isset($settings['next_previous_events_organizer']) and $settings['next_previous_events_organizer']) echo 'checked="checked"'; ?> /> <?php esc_html_e('Organizer', 'modern-events-calendar-lite'); ?>
                                </label>
                                <label style="margin-right:7px;">
                                    <input type="hidden" name="mec[settings][next_previous_events_location]" value="0" />
                                    <input value="1" type="checkbox" name="mec[settings][next_previous_events_location]" <?php if(isset($settings['next_previous_events_location']) and $settings['next_previous_events_location']) echo 'checked="checked"'; ?> /> <?php esc_html_e('Location', 'modern-events-calendar-lite'); ?>
                                </label>
                                <?php if(isset($settings['speakers_status']) and $settings['speakers_status']) : ?>
                                <label style="margin-right:7px;">
                                    <input type="hidden" name="mec[settings][next_previous_events_speaker]" value="0" />
                                    <input value="1" type="checkbox" name="mec[settings][next_previous_events_speaker]" <?php if(isset($settings['next_previous_events_speaker']) and $settings['next_previous_events_speaker']) echo 'checked="checked"'; ?> /> <?php esc_html_e('Speaker', 'modern-events-calendar-lite'); ?>
                                </label>
                                <?php endif; ?>
                                <label style="margin-right:7px;">
                                    <input type="hidden" name="mec[settings][next_previous_events_label]" value="0" />
                                    <input value="1" type="checkbox" name="mec[settings][next_previous_events_label]" <?php if(isset($settings['next_previous_events_label']) and $settings['next_previous_events_label']) echo 'checked="checked"'; ?> /> <?php esc_html_e('Label', 'modern-events-calendar-lite'); ?>
                                </label>
                                <label style="margin-right:7px;">
                                    <input type="hidden" name="mec[settings][next_previous_events_tag]" value="0" />
                                    <input value="1" type="checkbox" name="mec[settings][next_previous_events_tag]" <?php if(isset($settings['next_previous_events_tag']) and $settings['next_previous_events_tag']) echo 'checked="checked"'; ?> /> <?php esc_html_e('Tag', 'modern-events-calendar-lite'); ?>
                                </label>
                            </div>
                        </div>
                    </div>

                </form>
            </div>
            <div class="mec-step-wizard-content" data-step="4">
                <form id="mec_save_single_form">
                    <div class="mec-form-row">
                        <div class="mec-col-12">
                            <label for="mec_settings_speakers_status">
                                <input type="hidden" name="mec[settings][speakers_status]" value="0" />
                                <input type="checkbox" name="mec[settings][speakers_status]" id="mec_settings_speakers_status" <?php echo ((isset($settings['speakers_status']) and $settings['speakers_status']) ? 'checked="checked"' : ''); ?> value="1" />
                                <?php esc_html_e('Enable speakers feature', 'modern-events-calendar-lite'); ?>
                                <span class="mec-tooltip">
                                    <div class="box">
                                        <h5 class="title"><?php esc_html_e('Speakers', 'modern-events-calendar-lite'); ?></h5>
                                        <div class="content"><p><?php esc_attr_e("Enable this option to have speaker in Hourly Schedule in Single. Refresh after enabling it to see the Speakers menu under MEC dashboard.", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/speaker/" target="_blank"><?php esc_html_e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
                                    </div>
                                    <i title="" class="dashicons-before dashicons-editor-help"></i>
                                </span>                                        
                            </label>
                        </div>
                    </div>
                    <div class="mec-form-row">
                        <label class="mec-col-8">
                            <input type="hidden" name="mec[settings][export_module_status]" value="0" />
                            <input onchange="jQuery('#mec_export_module_options_container_toggle').toggle();" value="1" type="checkbox" name="mec[settings][export_module_status]" <?php if(isset($settings['export_module_status']) and $settings['export_module_status']) echo 'checked="checked"'; ?> /> <?php esc_html_e('Show export module (iCal export and add to Google calendars) on event page', 'modern-events-calendar-lite'); ?>
                        </label>
                    </div>
                    <div class="mec-form-row">
                        <div id="mec_export_module_options_container_toggle" class="<?php if((isset($settings['export_module_status']) and !$settings['export_module_status']) or !isset($settings['export_module_status'])) echo 'mec-util-hidden'; ?>">
                            <div class="mec-form-row">
                                <ul id="mec_export_module_options" class="mec-form-row">
                                    <?php
                                    $event_options = array('googlecal'=>__('Google Calendar', 'modern-events-calendar-lite'), 'ical'=>__('iCal', 'modern-events-calendar-lite'));
                                    foreach($event_options as $event_key=>$event_option): ?>
                                    <li id="mec_sn_<?php echo esc_attr($event_key); ?>" data-id="<?php echo esc_attr($event_key); ?>" class="mec-form-row mec-switcher <?php echo ((isset($settings['sn'][$event_key]) and $settings['sn'][$event_key]) ? 'mec-enabled' : 'mec-disabled'); ?>">
                                        <label class="mec-col-3"><?php echo esc_html($event_option); ?></label>
                                        <div class="mec-col-9">
                                            <input class="mec-status" type="hidden" name="mec[settings][sn][<?php echo esc_attr($event_key); ?>]" value="<?php echo (isset($settings['sn'][$event_key]) ? esc_attr($settings['sn'][$event_key]) : '1'); ?>" />
                                            <label for="mec[settings][sn][<?php echo esc_attr($event_key); ?>]"></label>
                                        </div>
                                    </li>
                                    <?php endforeach; ?>
                                </ul>
                            </div>
                        </div> 
                    </div> 
                </form>
            </div>
            <?php if($this->getPRO()) : ?>
            <div class="mec-step-wizard-content" data-step="5">
                <form id="mec_save_booking_form">
                    <div class="mec-form-row">
                        <label>
                            <input type="hidden" name="mec[settings][booking_status]" value="0" />
                            <input onchange="jQuery('#mec_booking_container_toggle').toggle();" value="1" type="checkbox" name="mec[settings][booking_status]" <?php if(isset($settings['booking_status']) and $settings['booking_status']) echo 'checked="checked"'; ?> /> <?php esc_html_e('Enable booking module', 'modern-events-calendar-lite'); ?>
                        </label>
                    </div>
                    <div id="mec_booking_container_toggle" class="<?php if((isset($settings['booking_status']) and !$settings['booking_status']) or !isset($settings['booking_status'])) echo 'mec-util-hidden'; ?>">
                        <div class="mec-form-row">
                            <label class="mec-col-2" for="mec_settings_booking_date_selection"><?php esc_html_e('Date Selection', 'modern-events-calendar-lite'); ?></label>
                            <div class="mec-col-4">
                                <select id="mec_settings_booking_date_selection" name="mec[settings][booking_date_selection]">
                                    <option value="dropdown" <?php echo ((!isset($settings['booking_date_selection']) or (isset($settings['booking_date_selection']) and $settings['booking_date_selection'] == 'dropdown')) ? 'selected="selected"' : ''); ?>><?php esc_html_e('Dropdown', 'modern-events-calendar-lite'); ?></option>
                                    <option value="calendar" <?php echo ((isset($settings['booking_date_selection']) and $settings['booking_date_selection'] == 'calendar') ? 'selected="selected"' : ''); ?>><?php esc_html_e('Calendar', 'modern-events-calendar-lite'); ?></option>
                                </select>
                            </div>
                        </div>
                        <div class="mec-form-row">
                            <label class="mec-col-2" for="mec_settings_booking_registration"><?php esc_html_e('Registration', 'modern-events-calendar-lite'); ?></label>
                            <div class="mec-col-4">
                                <select id="mec_settings_booking_registration" name="mec[settings][booking_registration]">
                                    <option <?php echo ((isset($settings['booking_registration']) and $settings['booking_registration'] == '1') ? 'selected="selected"' : ''); ?> value="1"><?php echo esc_html__('Enabled', 'modern-events-calendar-lite'); ?></option>
                                    <option <?php echo ((isset($settings['booking_registration']) and $settings['booking_registration'] == '0') ? 'selected="selected"' : ''); ?> value="0"><?php echo esc_html__('Disabled', 'modern-events-calendar-lite'); ?></option>
                                </select>
                                <span class="mec-tooltip">
                                    <div class="box left">
                                        <h5 class="title"><?php esc_html_e('Registration', 'modern-events-calendar-lite'); ?></h5>
                                        <div class="content"><p><?php esc_attr_e("If enabled MEC would create a WordPress User for main attendees. It's recommended to keep it enabled.", 'modern-events-calendar-lite'); ?></p></div>
                                    </div>
                                    <i title="" class="dashicons-before dashicons-editor-help"></i>
                                </span>
                            </div>
                        </div>

                        <div class="mec-form-row">
                            <div class="mec-col-12">
                                <label for="mec_settings_booking_auto_verify_free">
                                    <input type="hidden" name="mec[settings][booking_auto_verify_free]" value="0" />
                                    <input type="checkbox" name="mec[settings][booking_auto_verify_free]" id="mec_settings_booking_auto_verify_free" <?php echo ((isset($settings['booking_auto_verify_free']) and $settings['booking_auto_verify_free'] == '1') ? 'checked="checked"' : ''); ?> value="1" />
                                    <?php esc_html_e('Auto verification for free bookings', 'modern-events-calendar-lite'); ?>
                                </label>
                            </div>
                        </div>
                        <div class="mec-form-row">
                            <div class="mec-col-12">
                                <label for="mec_settings_booking_auto_verify_paid">
                                    <input type="hidden" name="mec[settings][booking_auto_verify_paid]" value="0" />
                                    <input type="checkbox" name="mec[settings][booking_auto_verify_paid]" id="mec_settings_booking_auto_verify_paid" <?php echo ((isset($settings['booking_auto_verify_paid']) and $settings['booking_auto_verify_paid'] == '1') ? 'checked="checked"' : ''); ?> value="1" />
                                    <?php esc_html_e('Auto verification for paid bookings', 'modern-events-calendar-lite'); ?>
                                </label>
                            </div>
                        </div>
                        <div class="mec-form-row">
                            <div class="mec-col-12">
                                <label for="mec_settings_booking_auto_confirm_free">
                                    <input type="hidden" name="mec[settings][booking_auto_confirm_free]" value="0" />
                                    <input type="checkbox" name="mec[settings][booking_auto_confirm_free]" id="mec_settings_booking_auto_confirm_free" <?php echo ((isset($settings['booking_auto_confirm_free']) and $settings['booking_auto_confirm_free'] == '1') ? 'checked="checked"' : ''); ?> value="1" />
                                    <?php esc_html_e('Auto confirmation for free bookings', 'modern-events-calendar-lite'); ?>
                                </label>
                            </div>
                        </div>
                        <div class="mec-form-row">
                            <div class="mec-col-12">
                                <label for="mec_settings_booking_auto_confirm_paid">
                                    <input type="hidden" name="mec[settings][booking_auto_confirm_paid]" value="0" />
                                    <input type="checkbox" name="mec[settings][booking_auto_confirm_paid]" id="mec_settings_booking_auto_confirm_paid" <?php echo ((isset($settings['booking_auto_confirm_paid']) and $settings['booking_auto_confirm_paid'] == '1') ? 'checked="checked"' : ''); ?> value="1" />
                                    <?php esc_html_e('Auto confirmation for paid bookings', 'modern-events-calendar-lite'); ?>
                                </label>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
            <div class="mec-step-wizard-content" data-step="6">
                <form id="mec_save_styling_form">
                    <div class="mec-form-row">
                        <div class="mec-col-3">
                            <span><?php esc_html_e('Custom Color Skin', 'modern-events-calendar-lite' ); ?></span>
                        </div>
                        <div class="mec-col-6">
                            <input type="text" class="wp-color-picker-field" id="mec_settings_color" name="mec[styling][color]" value="<?php echo (isset($styling['color']) ? esc_attr($styling['color']) : ''); ?>" data-default-color="" />
                        </div>
                        <div class="mec-col-12">
                            <p><?php esc_attr_e("If you want to select a predefined color skin, you must clear the color of this item", 'modern-events-calendar-lite'); ?></p>
                        </div>
                    </div>
                    <div class="mec-form-row">
                        <div class="mec-col-12">
                            <span><?php esc_html_e('Predefined Color Skin', 'modern-events-calendar-lite' ); ?></span>
                        </div>
                        <div class="mec-col-6">
                            <ul class="mec-image-select-wrap">
                                <?php
                                $colorskins = array(
                                    '#40d9f1'=>'mec-colorskin-1',
                                    '#0093d0'=>'mec-colorskin-2',
                                    '#e53f51'=>'mec-colorskin-3',
                                    '#f1c40f'=>'mec-colorskin-4',
                                    '#e64883'=>'mec-colorskin-5',
                                    '#45ab48'=>'mec-colorskin-6',
                                    '#9661ab'=>'mec-colorskin-7',
                                    '#0aad80'=>'mec-colorskin-8',
                                    '#0ab1f0'=>'mec-colorskin-9',
                                    '#ff5a00'=>'mec-colorskin-10',
                                    '#c3512f'=>'mec-colorskin-11',
                                    '#55606e'=>'mec-colorskin-12',
                                    '#fe8178'=>'mec-colorskin-13',
                                    '#7c6853'=>'mec-colorskin-14',
                                    '#bed431'=>'mec-colorskin-15',
                                    '#2d5c88'=>'mec-colorskin-16',
                                    '#77da55'=>'mec-colorskin-17',
                                    '#2997ab'=>'mec-colorskin-18',
                                    '#734854'=>'mec-colorskin-19',
                                    '#a81010'=>'mec-colorskin-20',
                                    '#4ccfad'=>'mec-colorskin-21',
                                    '#3a609f'=>'mec-colorskin-22',
                                    '#333333'=>'mec-colorskin-23',
                                    '#D2D2D2'=>'mec-colorskin-24',
                                    '#636363'=>'mec-colorskin-25',
                                    );

                                    foreach($colorskins as $colorskin=>$values): ?>
                                    <li class="mec-image-select">
                                        <label for="<?php echo esc_attr($values); ?>">
                                            <input type="radio" id="<?php echo esc_attr($values); ?>" name="mec[styling][mec_colorskin]" value="<?php echo esc_attr($colorskin); ?>" <?php if(isset($styling['mec_colorskin']) && ($styling['mec_colorskin'] == $colorskin)) echo 'checked="checked"'; ?>>
                                            <span class="<?php echo esc_attr($values); ?>"></span>
                                        </label>
                                    </li>
                                <?php endforeach; ?>
                            </ul>
                        </div>
                    </div>
                </form>
            </div>
            <?php else: ?>
            <div class="mec-step-wizard-content" data-step="5">
                <form id="mec_save_styling_form">
                    <div class="mec-form-row">
                        <div class="mec-col-3">
                            <span><?php esc_html_e('Custom Color Skin', 'modern-events-calendar-lite' ); ?></span>
                        </div>
                        <div class="mec-col-6">
                            <input type="text" class="wp-color-picker-field" id="mec_settings_color" name="mec[styling][color]" value="<?php echo (isset($styling['color']) ? esc_attr($styling['color']) : ''); ?>" data-default-color="" />
                        </div>
                        <div class="mec-col-6">
                            <p><?php esc_attr_e("If you want to select a predefined color skin, you must clear the color of this item", 'modern-events-calendar-lite'); ?></p>
                        </div>
                    </div>
                    <div class="mec-form-row">
                        <div class="mec-col-3">
                            <span><?php esc_html_e('Predefined Color Skin', 'modern-events-calendar-lite' ); ?></span>
                        </div>
                        <div class="mec-col-6">
                            <ul class="mec-image-select-wrap">
                                <?php
                                $colorskins = array(
                                    '#40d9f1'=>'mec-colorskin-1',
                                    '#0093d0'=>'mec-colorskin-2',
                                    '#e53f51'=>'mec-colorskin-3',
                                    '#f1c40f'=>'mec-colorskin-4',
                                    '#e64883'=>'mec-colorskin-5',
                                    '#45ab48'=>'mec-colorskin-6',
                                    '#9661ab'=>'mec-colorskin-7',
                                    '#0aad80'=>'mec-colorskin-8',
                                    '#0ab1f0'=>'mec-colorskin-9',
                                    '#ff5a00'=>'mec-colorskin-10',
                                    '#c3512f'=>'mec-colorskin-11',
                                    '#55606e'=>'mec-colorskin-12',
                                    '#fe8178'=>'mec-colorskin-13',
                                    '#7c6853'=>'mec-colorskin-14',
                                    '#bed431'=>'mec-colorskin-15',
                                    '#2d5c88'=>'mec-colorskin-16',
                                    '#77da55'=>'mec-colorskin-17',
                                    '#2997ab'=>'mec-colorskin-18',
                                    '#734854'=>'mec-colorskin-19',
                                    '#a81010'=>'mec-colorskin-20',
                                    '#4ccfad'=>'mec-colorskin-21',
                                    '#3a609f'=>'mec-colorskin-22',
                                    '#333333'=>'mec-colorskin-23',
                                    '#D2D2D2'=>'mec-colorskin-24',
                                    '#636363'=>'mec-colorskin-25',
                                );

                                foreach($colorskins as $colorskin=>$values): ?>
                                <li class="mec-image-select">
                                    <label for="<?php echo esc_attr($values); ?>">
                                        <input type="radio" id="<?php echo esc_attr($values); ?>" name="mec[styling][mec_colorskin]" value="<?php echo esc_attr($colorskin); ?>" <?php if(isset($styling['mec_colorskin']) && ($styling['mec_colorskin'] == $colorskin)) echo 'checked="checked"'; ?>>
                                        <span class="<?php echo esc_attr($values); ?>"></span>
                                    </label>
                                </li>
                                <?php endforeach; ?>
                            </ul>
                        </div>
                    </div>
                </form>
            </div>
            <?php endif; ?>
            <div class="mec-next-previous-buttons">
                <button class="mec-button-prev  mec-hide-button"><?php esc_html_e('Prev', 'modern-events-calendar-lite'); ?><img src="<?php echo plugin_dir_url(__FILE__ ) . '../../../assets/img/popup/popup-prev-icon.svg'; ?>" /></button>
                <a class="mec-button-dashboard mec-hide-button" href="<?php echo admin_url('/admin.php?page=mec-intro'); ?>"><?php esc_html_e('Go to Dashboard', 'modern-events-calendar-lite'); ?><img src="<?php echo plugin_dir_url(__FILE__ ) . '../../../assets/img/popup/popup-next-icon.svg'; ?>" /></a>
                <button class="mec-button-skip"><?php esc_html_e('Next', 'modern-events-calendar-lite'); ?><img src="<?php echo plugin_dir_url(__FILE__ ) . '../../../assets/img/popup/popup-next-icon.svg'; ?>" /></button>
                <button class="mec-button-next"><?php esc_html_e('Save', 'modern-events-calendar-lite'); ?><svg height="12pt" viewBox="0 0 512 512" width="12pt" xmlns="http://www.w3.org/2000/svg"><path d="m453.332031 512h-394.664062c-32.363281 0-58.667969-26.304688-58.667969-58.667969v-394.664062c0-32.363281 26.304688-58.667969 58.667969-58.667969h330.835937c21.054688 0 41.683594 8.535156 56.554688 23.445312l42.496094 42.496094c15.125 15.125 23.445312 35.222656 23.445312 56.574219v330.816406c0 32.363281-26.304688 58.667969-58.667969 58.667969zm-394.664062-480c-14.699219 0-26.667969 11.96875-26.667969 26.667969v394.664062c0 14.699219 11.96875 26.667969 26.667969 26.667969h394.664062c14.699219 0 26.667969-11.96875 26.667969-26.667969v-330.816406c0-12.820313-4.992188-24.871094-14.058594-33.941406l-42.496094-42.496094c-8.9375-8.957031-21.289062-14.078125-33.941406-14.078125zm0 0"/><path d="m325.332031 149.332031h-224c-8.832031 0-16-7.167969-16-16v-117.332031c0-8.832031 7.167969-16 16-16s16 7.167969 16 16v101.332031h192v-101.332031c0-8.832031 7.167969-16 16-16s16 7.167969 16 16v117.332031c0 8.832031-7.167969 16-16 16zm0 0"/><path d="m256 416c-52.929688 0-96-43.070312-96-96s43.070312-96 96-96 96 43.070312 96 96-43.070312 96-96 96zm0-160c-35.285156 0-64 28.714844-64 64s28.714844 64 64 64 64-28.714844 64-64-28.714844-64-64-64zm0 0"/></svg></button>
            </div>
        </div>
    </div>
</div>

<?php
$this->getFactory()->params('footer', function()
{
?>
    <script>
    jQuery(document).ready(function($)
    {
        function import_loading($value)
        {
            if ($value) {
                jQuery('.mec-wizard-wrap .mec-wizard-loading').show()
            } else {
                jQuery('.mec-wizard-wrap .mec-wizard-loading').hide()
            }
        }

        function save_loading($value)
        {
            if ($value) {
                jQuery('.mec-setup-wizard-wrap .mec-wizard-loading').show()
            } else {
                jQuery('.mec-setup-wizard-wrap .mec-wizard-loading').hide()
            }
        }

        var $setting_wrap = jQuery(".mec-setup-wizard-wrap");
        var $se_prev = $setting_wrap.find('.mec-button-prev');
        var $se_next = $setting_wrap.find('.mec-button-next');

        $se_next.on("click", function(e)
        {
            e.preventDefault();
            var active_step = jQuery(".mec-step-wizard-content.mec-active-step").attr("data-step")
            var next_step = Number(active_step) + 1;

            <?php if($this->getPRO()) : ?>
            if ( active_step !== '6' ) {
                $se_prev.removeClass("mec-hide-button");
                jQuery(".mec-step-wizard-content").removeClass("mec-active-step");
                jQuery(".mec-step-wizard-content[data-step=" + next_step + "]").addClass("mec-active-step");
                jQuery(".mec-step-" + next_step ).addClass("mec-step-passed");
            }
            if ( next_step == 6 ) {
                jQuery(".mec-button-skip").addClass("mec-hide-button");
            }
            // if ( next_step == 6 ) {
            //     jQuery(".mec-button-dashboard").removeClass("mec-hide-button");
            // }
            <?php else: ?>
            if ( active_step !== '5' ) {
                $se_prev.removeClass("mec-hide-button");
                jQuery(".mec-step-wizard-content").removeClass("mec-active-step");
                jQuery(".mec-step-wizard-content[data-step=" + next_step + "]").addClass("mec-active-step");
                jQuery(".mec-step-" + next_step ).addClass("mec-step-passed");
            }
            if ( next_step == 5 ) {
                jQuery(".mec-button-skip").addClass("mec-hide-button");
            }
            // if ( next_step == 5 ) {
            //     jQuery(".mec-button-dashboard").removeClass("mec-hide-button");
            // }
            <?php endif; ?>

            if ( active_step === '1' ) {
                save_step_1();
            }
            if ( active_step === '2' ) {
                save_step_2();
            }
            if ( active_step === '3' ) {
                save_step_3();
            }
            if ( active_step === '4' ) {
                save_step_4();
            }
            if ( active_step === '5' ) {
                save_step_5();
            }
            if ( active_step === '6' ) {
                save_step_6();
            }
        });

        jQuery(".mec-button-skip").on("click", function(e)
        {
            e.preventDefault();
            var active_step = jQuery(".mec-step-wizard-content.mec-active-step").attr("data-step")
            var next_step = Number(active_step) + 1;
            $se_prev.removeClass("mec-hide-button");
            jQuery(".mec-step-wizard-content").removeClass("mec-active-step");
            jQuery(".mec-step-wizard-content[data-step=" + next_step + "]").addClass("mec-active-step");
            jQuery(".mec-step-" + next_step ).addClass("mec-step-passed");

            <?php if($this->getPRO()) : ?>
            if ( next_step == 6 ) {
                jQuery(".mec-button-skip").addClass("mec-hide-button");
            }
            // if ( next_step == 6 ) {
            //     jQuery(".mec-button-dashboard").removeClass("mec-hide-button");
            // }
            <?php else: ?>
            if ( next_step == 5 ) {
                jQuery(".mec-button-skip").addClass("mec-hide-button");
            }
            // if ( next_step == 5 ) {
            //     jQuery(".mec-button-dashboard").removeClass("mec-hide-button");
            // }
            <?php endif; ?>
        });

        $se_prev.on("click", function(e)
        {
            e.preventDefault();
            var active_step = jQuery(".mec-step-wizard-content.mec-active-step").attr("data-step")
            var next_step = Number(active_step) - 1;
            jQuery(".mec-step-wizard-content").removeClass("mec-active-step");
            jQuery(".mec-step-wizard-content[data-step=" + next_step + "]").addClass("mec-active-step");
            jQuery(".mec-step-" + active_step ).removeClass("mec-step-passed");

            <?php if($this->getPRO()) : ?>
            if ( next_step != 6 ) {
                $se_next.removeClass("mec-hide-button");
                jQuery(".mec-button-skip").removeClass("mec-hide-button");
                //jQuery(".mec-button-dashboard").addClass("mec-hide-button");
            }
            <?php else: ?>
            if ( next_step != 5 ) {
                $se_next.removeClass("mec-hide-button");
                jQuery(".mec-button-skip").removeClass("mec-hide-button");
                //jQuery(".mec-button-dashboard").addClass("mec-hide-button");
            }
            <?php endif; ?>

            if ( next_step == 1 ) {
                $se_prev.addClass("mec-hide-button");
            }
        });

        jQuery(".mec-button-import-events").click(function()
        {
            if(confirm("Are you sure you want to import events?")){
                jQuery.ajax(
                {
                    type: "POST",
                    url: ajaxurl,
                    data: "action=wizard_import_dummy_events",
                    beforeSend: function () {
                        import_loading(true)
                    },
                    success: function(data)
                    {
                        import_loading(false)
                    },
                    error: function(jqXHR, textStatus, errorThrown)
                    {
                        console.log('error');
                    }
                });
            }
            else{
                return false;
            }
        });

        jQuery(".mec-button-import-shortcodes").click(function()
        {
            if(confirm("Are you sure you want to import shortcodes?"))
            {
                jQuery.ajax(
                {
                    type: "POST",
                    url: ajaxurl,
                    data: "action=wizard_import_dummy_shortcodes",
                    beforeSend: function () {
                        import_loading(true)
                    },
                    success: function(data)
                    {

                        import_loading(false)
                    },
                    error: function(jqXHR, textStatus, errorThrown)
                    {
                        console.log('error');
                    }
                });
            }
            else
            {
                return false;
            }
        });

        var archive_value = jQuery('#mec_settings_default_skin_archive').val();
        function mec_archive_skin_style_changed(archive_value)
        {
            jQuery('.mec-archive-skins').hide();
            jQuery('.mec-archive-skins.mec-archive-'+archive_value+'-skins').show();
        }
        mec_archive_skin_style_changed(archive_value);

        jQuery(document).ready(function()
        {
            //Initiate Color Picker
            jQuery('.wp-color-picker-field').wpColorPicker();
        });

        function save_step_1()
        {
            var settings = jQuery("#mec_save_weekdays_form").serialize();
            jQuery.ajax(
            {
                type: "POST",
                url: ajaxurl,
                data: "action=wizard_save_weekdays&"+settings,
                beforeSend: function () {
                    save_loading(true)
                },
                success: function(data)
                {
                    save_loading(false)
                },
                error: function(jqXHR, textStatus, errorThrown)
                {
                    console.log("error");
                }
            });
        }

        function save_step_2()
        {
            var settings = jQuery("#mec_save_slug_form").serialize();
            jQuery.ajax(
            {
                type: "POST",
                url: ajaxurl,
                data: "action=wizard_save_slug&"+settings,
                beforeSend: function () {
                    save_loading(true)
                },
                success: function(data)
                {
                    save_loading(false)
                },
                error: function(jqXHR, textStatus, errorThrown)
                {
                    console.log("error");
                }
            });
        }

        function save_step_3()
        {
            var settings = jQuery("#mec_save_module_form").serialize();
            jQuery.ajax(
            {
                type: "POST",
                url: ajaxurl,
                data: "action=wizard_save_module&"+settings,
                beforeSend: function () {
                    save_loading(true)
                },
                success: function(data)
                {
                    save_loading(false)
                },
                error: function(jqXHR, textStatus, errorThrown)
                {
                    console.log("error");
                }
            });
        }

        function save_step_4()
        {
            var settings = jQuery("#mec_save_single_form").serialize();
            jQuery.ajax(
            {
                type: "POST",
                url: ajaxurl,
                data: "action=wizard_save_single&"+settings,
                beforeSend: function () {
                    save_loading(true)
                },
                success: function(data)
                {
                    save_loading(false)
                },
                error: function(jqXHR, textStatus, errorThrown)
                {
                    console.log("error");
                }
            });
        }

        function save_step_5()
        {
            var settings = jQuery("#mec_save_booking_form").serialize();
            jQuery.ajax(
            {
                type: "POST",
                url: ajaxurl,
                data: "action=wizard_save_booking&"+settings,
                beforeSend: function () {
                    save_loading(true)
                },
                success: function(data)
                {
                    save_loading(false)
                },
                error: function(jqXHR, textStatus, errorThrown)
                {
                    console.log("error");
                }
            });
        }

        function save_step_6()
        {
            var settings = jQuery("#mec_save_styling_form").serialize();
            jQuery.ajax(
            {
                type: "POST",
                url: ajaxurl,
                data: "action=wizard_save_styling&"+settings,
                beforeSend: function () {
                    save_loading(true)
                },
                success: function(data)
                {
                    window.location.replace('<?php echo admin_url('/admin.php?page=mec-intro'); ?>')
                },
                error: function(jqXHR, textStatus, errorThrown)
                {
                    console.log("error");
                }
            });
        }

        jQuery('.mec-wizard-open-popup.mec-settings').on('click', function(e)
        {
            e.preventDefault();

            if(jQuery(".mec-wizard-open-popup.mec-settings").length > 0 )
            {
                jQuery(".mec-wizard-open-popup.mec-settings").addClass("active")
                jQuery(".mec-wizard-open-popup.add-event").removeClass("active")
                jQuery(".mec-wizard-open-popup.add-shortcode").removeClass("active")
                jQuery(".mec-wizard-starter-video a").removeClass("active")
            }

            // Open Lightbox
            lity('.mec-setup-wizard-wrap');
        });

        jQuery(document).on('lity:open', function(event, instance)
        {
            if ( jQuery(".mec-wizard-open-popup.mec-settings").hasClass("active") ) {
                jQuery('.lity').addClass('mec-settings');
            }

            if ( jQuery(".mec-wizard-starter-video a").hasClass("active") ) {
                jQuery('.lity').addClass('wizard-video');
            }
        });

        jQuery('.mec-wizard-starter-video a').on('click', function(e)
        {
            e.preventDefault();

            if(jQuery(".mec-wizard-starter-video a").length > 0 )
            {
                jQuery(".mec-wizard-starter-video a").addClass("active")
                jQuery(".mec-wizard-open-popup.mec-settings").removeClass("active")
                jQuery(".mec-wizard-open-popup.add-event").removeClass("active")
                jQuery(".mec-wizard-open-popup.add-shortcode").removeClass("active")
            }

            // Open Lightbox
            lity('https://www.youtube.com/embed/FV_X341oyiw');
        });
    });
    </script>
    <?php
});

Youez - 2016 - github.com/yon3zu
LinuXploit