{"id":19919,"date":"2023-06-02T17:17:09","date_gmt":"2023-06-02T17:17:09","guid":{"rendered":"https:\/\/verradoway.net\/?page_id=19919"},"modified":"2023-06-02T17:17:09","modified_gmt":"2023-06-02T17:17:09","slug":"submit-event","status":"publish","type":"page","link":"https:\/\/verradoway.net\/submit-event\/","title":{"rendered":"Submit Event"},"content":{"rendered":"<form name=\"submit_form\" id=\"submit_form\" class=\"dropzone form_front_style\" action=\"https:\/\/verradoway.net\/?page=paynow\" method=\"post\" enctype=\"multipart\/form-data\"><input type=\"hidden\" id=\"submit_form_nonce_field\" name=\"submit_form_nonce_field\" value=\"29397483e8\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/wp-json\/wp\/v2\/pages\/19919\" \/><input type='hidden' id='submit_post_type' name='submit_post_type' value='event'><input type='hidden' id='submit_post_url' name='submit_post_url' value='\/wp-json\/wp\/v2\/pages\/19919'><input type='hidden' id='cur_post_type' name='cur_post_type' value='event'><input type='hidden' id='submit_page_id' name='submit_page_id' value='19919'><input type='hidden' id='total_price' name='total_price' >\t<span style=\"color:red;font-weight:bold;display:block;\" id=\"payment_errors\"><\/span>\r\n\t\t\t\t<div class=\"accordion\" id=\"post-listing\" >\r\n\r\n\t\t\t\t\t\t\t<input type=\"hidden\" name=\"pkg_id\" id=\"pkg_id\">\n\t\t\t\t<input type=\"hidden\" name=\"pkg_type\" id=\"pkg_type\">\n\t\t\t\t<input type=\"hidden\" name=\"package_free_submission\" id=\"package_free_submission\">\n\t\t\t\t<input type=\"hidden\" name=\"upgrade\" id=\"upgrade\">\n\t\t\t\t<input type=\"hidden\" name=\"completed\" id=\"completed\" value=\"\">\n\t\t\t<div id=\"step-plan\" class=\"accordion-navigation step-wrapper step-plan current\"><a class=\"step-heading active\" href=\"#\"><span>1<\/span><span>Select your payment plan<\/span><span><i class=\"fas fa-caret-down\"><\/i><i class=\"fas fa-caret-right\"><\/i><\/span><\/a>\n\t\t\t\t\t\t<div id=\"plan\" class=\"content step-plan  active  clearfix\">\n\t\t\t\t\t\t\t<div id=\"packagesblock-wrap\" class=\"block\">\n\t\t\t\t\t\t\t\t\t<div class=\"packageblock clearifx \">\n\t\t<ul data-price=\"0\"  data-subscribed='0' data-id=\"1166\" data-type=\"1\"  class=\"packagelistitems \" >\n\t\t\t<li>\n\t\t\t\t<div class=\"col-md-3 col-sm-6\">\n\t\t\t\t\t<div class=\"panel panel-default text-center\">\n\t\t\t\t\t\t<div class=\"panel-heading\">\n\t\t\t\t\t\t\t<h3>FREE EVENT LISTING<\/h3>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"panel-desc\">\n\t\t\t\t\t\t\t<div class=\"panel-body\">\n\t\t\t\t\t\t\t\t<span class=\"panel-title price\"><label>Price:<\/label>&nbsp;<span>$0.00<\/span><\/span>\n\t\t\t\t\t\t\t\t<span class=\"days\">\n\t\t\t\t\t\t\t\t\t\t   <p class=\"margin_right panel-type price package_type\"><label>Package Type:<\/label><span>Single Submission<\/span> <\/p>\n\t   <p class=\"panel-type price package_type\"><label>Listing duration:<\/label>&nbsp;<span>1095 days<\/span> <\/p>\n\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t<p><strong>Listings submitted on this package can be featured on: <\/strong>Homepage ($3.95 for 15 days) Category page ($2.95 for 60 days)\t\t\t\t\t\t\t\t<!-- package description -->\n\t\t\t\t\t\t\t\t<div class=\"moreinfo\">\n\t\t\t\t\t\t\t\t\tFree listing of your local event happening in and around Verrado and Victory.  You can add:\r\n- Event title\r\n- Event category\r\n- Event description\r\n- Event location \/ map\r\n- Event dates, times, &amp; fees\r\n- Event image\/photo\r\n- Event website\r\n- About event organizer\r\n- Option to be featured on the EVENTS PAGE 30 days prior\r\n- Option to be featured on the HOME PAGE 15 days prior\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div> <!-- panel-body -->\n\t\t\t\t\t\t\t<div class=\"pkg-button\">\n\t\t\t\t\t\t\t\t<a data-id=\"1166\" class=\"btn btn-lg btn-primary button select-plan\">Select<\/a>\n\t\t\t\t\t\t\t<\/div> <!-- list-group -->\n\t\t\t\t\t\t<\/div><!-- panel-desc -->\n\t\t\t\t\t<\/div> <!-- panel panel-default -->\n\t\t\t\t\t<!-- package description -->\n\t\t\t\t<\/div><!-- packages block div closed here -->\n\t\t\t<\/li>\n\t\t<\/ul>\n\t<\/div>\n\t\t<div class=\"packageblock clearifx \">\n\t\t<ul data-price=\"4.95\"  data-subscribed='0' data-id=\"1167\" data-type=\"1\"  class=\"packagelistitems \" >\n\t\t\t<li>\n\t\t\t\t<div class=\"col-md-3 col-sm-6\">\n\t\t\t\t\t<div class=\"panel panel-default text-center\">\n\t\t\t\t\t\t<div class=\"panel-heading\">\n\t\t\t\t\t\t\t<h3>UPGRADED EVENTS PACKAGE - 30 days<\/h3>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"panel-desc\">\n\t\t\t\t\t\t\t<div class=\"panel-body\">\n\t\t\t\t\t\t\t\t<span class=\"panel-title price\"><label>Price:<\/label>&nbsp;<span>$4.95<\/span><\/span>\n\t\t\t\t\t\t\t\t<span class=\"days\">\n\t\t\t\t\t\t\t\t\t\t   <p class=\"margin_right panel-type price package_type\"><label>Package Type:<\/label><span>Single Submission<\/span> <\/p>\n\t   <p class=\"panel-type price package_type\"><label>Listing duration:<\/label>&nbsp;<span>30 days<\/span> <\/p>\n\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t<p><label><strong>Listings submitted with this package will be automatically featured on: <\/strong><\/label>\n\t\t\t\t\t\t<span>Category page<\/span>\n\t\t\t\t<\/p>\n\t<span id='process' style='display:none;'><i class=\"fas fa-circle-notch fa-spin\"><\/i><\/span>\n\n\t\t\t\t\t\t\t\t\t<!-- package description -->\n\t\t\t\t\t\t\t\t<div class=\"moreinfo\">\n\t\t\t\t\t\t\t\t\tEnhance your FREE EVENT LISTING plus your EVENT featured on the EVENTS PAGE for 30 days:\r\n- add more event details\r\n- add event logo\r\n- list event in up to 3 categories\r\n- add up to 6 images\/photos\r\n- add event icon on map\r\n- list event phone &amp; email\r\n- list how to register &amp; fees\r\n- add social media links\r\n- add short video\r\n- add organizer contact info\r\n- option for EVENT to be featured on the HOME PAGE 15 days prior\r\n- events can be listed up to 1 month in advance\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div> <!-- panel-body -->\n\t\t\t\t\t\t\t<div class=\"pkg-button\">\n\t\t\t\t\t\t\t\t<a data-id=\"1167\" class=\"btn btn-lg btn-primary button select-plan\">Select<\/a>\n\t\t\t\t\t\t\t<\/div> <!-- list-group -->\n\t\t\t\t\t\t<\/div><!-- panel-desc -->\n\t\t\t\t\t<\/div> <!-- panel panel-default -->\n\t\t\t\t\t<!-- package description -->\n\t\t\t\t<\/div><!-- packages block div closed here -->\n\t\t\t<\/li>\n\t\t<\/ul>\n\t<\/div>\n\t\t<div class=\"packageblock clearifx \">\n\t\t<ul data-price=\"9.95\"  data-subscribed='0' data-id=\"1168\" data-type=\"1\"  class=\"packagelistitems \" >\n\t\t\t<li>\n\t\t\t\t<div class=\"col-md-3 col-sm-6\">\n\t\t\t\t\t<div class=\"panel panel-default text-center\">\n\t\t\t\t\t\t<div class=\"panel-heading\">\n\t\t\t\t\t\t\t<h3>UPGRADED EVENTS PACKAGE - 75 days<\/h3>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"panel-desc\">\n\t\t\t\t\t\t\t<div class=\"panel-body\">\n\t\t\t\t\t\t\t\t<span class=\"panel-title price\"><label>Price:<\/label>&nbsp;<span>$9.95<\/span><\/span>\n\t\t\t\t\t\t\t\t<span class=\"days\">\n\t\t\t\t\t\t\t\t\t\t   <p class=\"margin_right panel-type price package_type\"><label>Package Type:<\/label><span>Single Submission<\/span> <\/p>\n\t   <p class=\"panel-type price package_type\"><label>Listing duration:<\/label>&nbsp;<span>75 days<\/span> <\/p>\n\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t<p><label><strong>Listings submitted with this package will be automatically featured on: <\/strong><\/label>\n\t\t\t\t\t\t<span>Category page<\/span>\n\t\t\t\t<\/p>\n\t<span id='process' style='display:none;'><i class=\"fas fa-circle-notch fa-spin\"><\/i><\/span>\n\n\t\t\t\t\t\t\t\t\t<!-- package description -->\n\t\t\t\t\t\t\t\t<div class=\"moreinfo\">\n\t\t\t\t\t\t\t\t\tEnhance your FREE EVENT LISTING plus your EVENT featured on the EVENTS PAGE for 75 days:\r\n- add more event details\r\n- add event logo\r\n- list event in up to 3 categories\r\n- add up to 6 images\/photos\r\n- add event icon on map\r\n- list event phone &amp; email\r\n- list how to register &amp; fees\r\n- add social media links\r\n- add short video\r\n- add organizer contact info\r\n- option for EVENT to be featured on the HOME PAGE 21 days prior\r\n- events can be listed up to 75 DAYS in advance\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div> <!-- panel-body -->\n\t\t\t\t\t\t\t<div class=\"pkg-button\">\n\t\t\t\t\t\t\t\t<a data-id=\"1168\" class=\"btn btn-lg btn-primary button select-plan\">Select<\/a>\n\t\t\t\t\t\t\t<\/div> <!-- list-group -->\n\t\t\t\t\t\t<\/div><!-- panel-desc -->\n\t\t\t\t\t<\/div> <!-- panel panel-default -->\n\t\t\t\t\t<!-- package description -->\n\t\t\t\t<\/div><!-- packages block div closed here -->\n\t\t\t<\/li>\n\t\t<\/ul>\n\t<\/div>\n\t\t<div class=\"packageblock clearifx \">\n\t\t<ul data-price=\"0\"  data-subscribed='0' data-id=\"23331\" data-type=\"1\"  class=\"packagelistitems \" >\n\t\t\t<li>\n\t\t\t\t<div class=\"col-md-3 col-sm-6\">\n\t\t\t\t\t<div class=\"panel panel-default text-center\">\n\t\t\t\t\t\t<div class=\"panel-heading\">\n\t\t\t\t\t\t\t<h3>Free<\/h3>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"panel-desc\">\n\t\t\t\t\t\t\t<div class=\"panel-body\">\n\t\t\t\t\t\t\t\t<span class=\"panel-title price\"><label>Price:<\/label>&nbsp;<span>$0.00<\/span><\/span>\n\t\t\t\t\t\t\t\t<span class=\"days\">\n\t\t\t\t\t\t\t\t\t\t   <p class=\"margin_right panel-type price package_type\"><label>Package Type:<\/label><span>Single Submission<\/span> <\/p>\n\t   <p class=\"panel-type price package_type\"><label>Listing duration:<\/label>&nbsp;<span>12 days<\/span> <\/p>\n\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- package description -->\n\t\t\t\t\t\t\t\t<div class=\"moreinfo\">\n\t\t\t\t\t\t\t\t\tThis package allows you to submit a free listing at no cost. \t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div> <!-- panel-body -->\n\t\t\t\t\t\t\t<div class=\"pkg-button\">\n\t\t\t\t\t\t\t\t<a data-id=\"23331\" class=\"btn btn-lg btn-primary button select-plan\">Select<\/a>\n\t\t\t\t\t\t\t<\/div> <!-- list-group -->\n\t\t\t\t\t\t<\/div><!-- panel-desc -->\n\t\t\t\t\t<\/div> <!-- panel panel-default -->\n\t\t\t\t\t<!-- package description -->\n\t\t\t\t<\/div><!-- packages block div closed here -->\n\t\t\t<\/li>\n\t\t<\/ul>\n\t<\/div>\n\t\t<div class=\"packageblock clearifx \">\n\t\t<ul data-price=\"100\"  data-subscribed='0' data-id=\"23332\" data-type=\"2\"  class=\"packagelistitems \" >\n\t\t\t<li>\n\t\t\t\t<div class=\"col-md-3 col-sm-6\">\n\t\t\t\t\t<div class=\"panel panel-default text-center\">\n\t\t\t\t\t\t<div class=\"panel-heading\">\n\t\t\t\t\t\t\t<h3>Multi Listing Special<\/h3>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"panel-desc\">\n\t\t\t\t\t\t\t<div class=\"panel-body\">\n\t\t\t\t\t\t\t\t<span class=\"panel-title price\"><label>Price:<\/label>&nbsp;<span>$100.00<\/span><\/span>\n\t\t\t\t\t\t\t\t<span class=\"days\">\n\t\t\t\t\t\t\t\t\t\t <p class=\"panel-type price package_type\"><label>Package Type:<\/label>&nbsp;<span>Subscription<\/span> <\/p>\n\t <p class=\"panel-type price package_type\"><label>Listing duration:<\/label>&nbsp;<span>30 days<\/span> <\/p>\n\t <p class=\"margin_right panel-type price package_type\"><label>Number of listings included in the package:<\/label>&nbsp;<span>10<\/span> <\/p>\n\t\t<p class=\"\"><label>Recurring period:&nbsp;<\/label><span>1&nbsp;Month<\/p><p class=\"\"><label>Number of cycles:&nbsp;<\/label><span>12&nbsp;<p>\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- package description -->\n\t\t\t\t\t\t\t\t<div class=\"moreinfo\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div> <!-- panel-body -->\n\t\t\t\t\t\t\t<div class=\"pkg-button\">\n\t\t\t\t\t\t\t\t<a data-id=\"23332\" class=\"btn btn-lg btn-primary button select-plan\">Select<\/a>\n\t\t\t\t\t\t\t<\/div> <!-- list-group -->\n\t\t\t\t\t\t<\/div><!-- panel-desc -->\n\t\t\t\t\t<\/div> <!-- panel panel-default -->\n\t\t\t\t\t<!-- package description -->\n\t\t\t\t<\/div><!-- packages block div closed here -->\n\t\t\t<\/li>\n\t\t<\/ul>\n\t<\/div>\n\t\t\t\t\t\t\t\t\t<\/div> <!-- End #packageblock-wrap -->\n\t\t\t\t\t\t\t<\/div> <!-- End #panel1 -->\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<input type='hidden' id='is_user_select_subscription_pkg' name='is_user_select_subscription_pkg' value='1' >\t\t\t<div id=\"step-post\" class=\"accordion-navigation step-wrapper step-post\">\r\n\t\t\t\t<a class=\"step-heading active\" href=\"#\"><span>2<\/span><span>Enter Details<\/span><span><i class=\"fas fa-caret-down\"><\/i><i class=\"fas fa-caret-right\"><\/i><\/span><\/a>\r\n\t\t\t\t<div id=\"post\" class=\"step-post content  clearfix\">\r\n\t\t\t\t\t<div id=\"submit_category_box\">\t\t\t\t<div class=\"form_row clearfix\">\r\n\t\t\t\t <label>Select Category<\/label>\r\n\t\t\t\t <div class=\"category_label\">\t<div class=\"cf_checkbox\">\n\t\t\t\t<label><input type=\"checkbox\" name=\"selectall\" id=\"selectall\" onclick=displaychk(); \/>Select All<\/label>\n\t\t<ul id=\"listingcategorychecklist\" data-wp-lists=\"list:ecategory\" class=\"categorychecklist form_cat\">\n\t\t\t\n<li id='ecategory-1333'><label class=\"selectit \"><input data-value=\"1333\" value=\"1333, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1333\"   \/> All Holidays<\/label><ul class='children'>\n\n<li id='ecategory-1293'><label class=\"selectit \"><input data-value=\"1293\" value=\"1293, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1293\"   \/> Christmas<\/label><\/li>\n\n<li id='ecategory-1292'><label class=\"selectit \"><input data-value=\"1292\" value=\"1292, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1292\"   \/> Hanukkah<\/label><\/li>\n\n<li id='ecategory-1290'><label class=\"selectit \"><input data-value=\"1290\" value=\"1290, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1290\"   \/> Hometown Holidays<\/label><\/li>\n\n<li id='ecategory-1277'><label class=\"selectit \"><input data-value=\"1277\" value=\"1277, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1277\"   \/> Other Holidays<\/label><\/li>\n\n<li id='ecategory-1380'><label class=\"selectit \"><input data-value=\"1380\" value=\"1380, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1380\"   \/> Santa<\/label><\/li>\n\n<li id='ecategory-2084'><label class=\"selectit \"><input data-value=\"2084\" value=\"2084, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-2084\"   \/> Spirit of Independence<\/label><\/li>\n\n<li id='ecategory-1358'><label class=\"selectit \"><input data-value=\"1358\" value=\"1358, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1358\"   \/> Thanksgiving<\/label><\/li>\n\n<li id='ecategory-1679'><label class=\"selectit \"><input data-value=\"1679\" value=\"1679, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1679\"   \/> Valentine&#039;s Day<\/label><\/li>\n<\/ul>\n<\/li>\n\n<li id='ecategory-1683'><label class=\"selectit \"><input data-value=\"1683\" value=\"1683, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1683\"   \/> All Upcoming Events<\/label><ul class='children'>\n\n<li id='ecategory-1843'><label class=\"selectit \"><input data-value=\"1843\" value=\"1843, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1843\"   \/> Founder&#039;s Day Celebration<\/label><\/li>\n<\/ul>\n<\/li>\n\n<li id='ecategory-1682'><label class=\"selectit \"><input data-value=\"1682\" value=\"1682, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1682\"   \/> Arts &amp; Entertainment<\/label><ul class='children'>\n\n<li id='ecategory-1339'><label class=\"selectit \"><input data-value=\"1339\" value=\"1339, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1339\"   \/> Art<\/label><\/li>\n\n<li id='ecategory-1338'><label class=\"selectit \"><input data-value=\"1338\" value=\"1338, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1338\"   \/> Drinks<\/label><\/li>\n\n<li id='ecategory-1337'><label class=\"selectit \"><input data-value=\"1337\" value=\"1337, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1337\"   \/> Food<\/label>\t<ul class='children'>\n\n<li id='ecategory-91'><label class=\"selectit \"><input data-value=\"91\" value=\"91, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-91\"   \/> Food Trucks<\/label><\/li>\n\t<\/ul>\n<\/li>\n\n<li id='ecategory-1297'><label class=\"selectit \"><input data-value=\"1297\" value=\"1297, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1297\"   \/> Gifts<\/label><\/li>\n\n<li id='ecategory-1289'><label class=\"selectit \"><input data-value=\"1289\" value=\"1289, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1289\"   \/> Music<\/label><\/li>\n\n<li id='ecategory-94'><label class=\"selectit \"><input data-value=\"94\" value=\"94, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-94\"   \/> Parties<\/label><\/li>\n\n<li id='ecategory-1688'><label class=\"selectit \"><input data-value=\"1688\" value=\"1688, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1688\"   \/> Performing Arts<\/label><\/li>\n<\/ul>\n<\/li>\n\n<li id='ecategory-1334'><label class=\"selectit \"><input data-value=\"1334\" value=\"1334, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1334\"   \/> Family Fun<\/label><ul class='children'>\n\n<li id='ecategory-1687'><label class=\"selectit \"><input data-value=\"1687\" value=\"1687, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1687\"   \/> Academic<\/label><\/li>\n\n<li id='ecategory-1335'><label class=\"selectit \"><input data-value=\"1335\" value=\"1335, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1335\"   \/> Kids<\/label><\/li>\n\n<li id='ecategory-1336'><label class=\"selectit \"><input data-value=\"1336\" value=\"1336, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1336\"   \/> More Fun<\/label><\/li>\n\n<li id='ecategory-1273'><label class=\"selectit \"><input data-value=\"1273\" value=\"1273, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1273\"   \/> Pets<\/label><\/li>\n<\/ul>\n<\/li>\n\n<li id='ecategory-1684'><label class=\"selectit \"><input data-value=\"1684\" value=\"1684, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1684\"   \/> Festivals<\/label><ul class='children'>\n\n<li id='ecategory-1263'><label class=\"selectit \"><input data-value=\"1263\" value=\"1263, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1263\"   \/> Carnivals<\/label><\/li>\n\n<li id='ecategory-1311'><label class=\"selectit \"><input data-value=\"1311\" value=\"1311, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1311\"   \/> Farmers Market<\/label><\/li>\n\n<li id='ecategory-1276'><label class=\"selectit \"><input data-value=\"1276\" value=\"1276, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1276\"   \/> Other Festivals<\/label><\/li>\n<\/ul>\n<\/li>\n\n<li id='ecategory-1842'><label class=\"selectit \"><input data-value=\"1842\" value=\"1842, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1842\"   \/> Founder&#039;s Day Celebration<\/label><\/li>\n\n<li id='ecategory-1357'><label class=\"selectit \"><input data-value=\"1357\" value=\"1357, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1357\"   \/> Golf<\/label><ul class='children'>\n\n<li id='ecategory-962'><label class=\"selectit \"><input data-value=\"962\" value=\"962, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-962\"   \/> Golf Outings<\/label><\/li>\n\n<li id='ecategory-961'><label class=\"selectit \"><input data-value=\"961\" value=\"961, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-961\"   \/> Golf Tournaments<\/label><\/li>\n<\/ul>\n<\/li>\n\n<li id='ecategory-2163'><label class=\"selectit \"><input data-value=\"2163\" value=\"2163, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-2163\"   \/> music festival<\/label><\/li>\n\n<li id='ecategory-1685'><label class=\"selectit \"><input data-value=\"1685\" value=\"1685, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1685\"   \/> Popular Events<\/label><ul class='children'>\n\n<li id='ecategory-1690'><label class=\"selectit \"><input data-value=\"1690\" value=\"1690, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1690\"   \/> Center On Main<\/label><\/li>\n\n<li id='ecategory-1285'><label class=\"selectit \"><input data-value=\"1285\" value=\"1285, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1285\"   \/> Clubs<\/label><\/li>\n\n<li id='ecategory-1304'><label class=\"selectit \"><input data-value=\"1304\" value=\"1304, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1304\"   \/> Garage Sale<\/label><\/li>\n\n<li id='ecategory-1343'><label class=\"selectit \"><input data-value=\"1343\" value=\"1343, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1343\"   \/> Heritage Swim Park<\/label><\/li>\n\n<li id='ecategory-1261'><label class=\"selectit \"><input data-value=\"1261\" value=\"1261, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1261\"   \/> Nearby Events<\/label><\/li>\n\n<li id='ecategory-1646'><label class=\"selectit \"><input data-value=\"1646\" value=\"1646, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1646\"   \/> Other<\/label><\/li>\n\n<li id='ecategory-92'><label class=\"selectit \"><input data-value=\"92\" value=\"92, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-92\"   \/> Verrado Events<\/label><\/li>\n\n<li id='ecategory-1348'><label class=\"selectit \"><input data-value=\"1348\" value=\"1348, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1348\"   \/> Verrado On Main<\/label><\/li>\n\n<li id='ecategory-1279'><label class=\"selectit \"><input data-value=\"1279\" value=\"1279, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1279\"   \/> Veterans<\/label><\/li>\n\n<li id='ecategory-1262'><label class=\"selectit \"><input data-value=\"1262\" value=\"1262, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1262\"   \/> Victory Events<\/label><\/li>\n<\/ul>\n<\/li>\n\n<li id='ecategory-1360'><label class=\"selectit \"><input data-value=\"1360\" value=\"1360, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1360\"   \/> Recreation<\/label><ul class='children'>\n\n<li id='ecategory-1308'><label class=\"selectit \"><input data-value=\"1308\" value=\"1308, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1308\"   \/> High School Football<\/label>\t<ul class='children'>\n\n<li id='ecategory-1307'><label class=\"selectit \"><input data-value=\"1307\" value=\"1307, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1307\"   \/> Vipers@Home<\/label><\/li>\n\t<\/ul>\n<\/li>\n\n<li id='ecategory-1689'><label class=\"selectit \"><input data-value=\"1689\" value=\"1689, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1689\"   \/> Sports<\/label><\/li>\n<\/ul>\n<\/li>\n\n<li id='ecategory-1736'><label class=\"selectit \"><input data-value=\"1736\" value=\"1736, 0\" type=\"checkbox\" name=\"category[]\" id=\"in-ecategory-1736\"   \/> Volunteers<\/label><\/li>\n\t\t<\/ul>\n\t<\/div>\n\t<\/div>\r\n\t\t\t\t\t<span id=\"category_error\" class=\"message_error2\"><\/span>\t\t\t\t\t\t\t\t\t\t <span class=\"message_note msgcat\">Select a category for your event<\/span>\r\n\t\t\t\t\t\t\t\t\t <input type=\"hidden\" name=\"cat_fields\" id=\"cat_fields\" value=\"0\"\/>\r\n\t\t\t\t <input type=\"hidden\" name=\"cat_type\" id=\"cat_type\" value=\"checkbox\"\/>\r\n\t\t\t\t<\/div>\r\n\t\t\t\t<\/div><div id=\"submit_form_custom_fields\" class=\"submit_form_custom_fields\" >\r\n\t\t\t\t\t<div class=\"submit_form_fields\" ><div class=\"sec_title\"><h3><\/h3><\/div>\t\t\t<div class=\"form_row clearfix custom_fileds  post_title\">\r\n\r\n\t\t\t\t<label class=\"r_lbl\">Event Title<span class=\"required\">*<\/span><\/label>\r\n\t\t\t\t\t<input name=\"post_title\" id=\"post_title\" value=\"\" type=\"text\" class=\"textfield \"   placeholder=\"\"\/>\r\n\r\n\t\t\t\t\t<span id=\"post_title_error\" class=\"message_error2\"><\/span>\r\n<\/div>\r\n<div class=\"sec_title\"><h3>Locations &amp; Map<\/h3><\/div>\t\t\t<div class=\"form_row clearfix custom_fileds  address\">\r\n\r\n\t\t\t\t<label>Address<span class=\"required\">*<\/span><\/label>\n<script type=\"text\/javascript\">\n\t\/* <![CDATA[ *\/\n\tvar map;\n\tvar marker;\n\tvar autocomplete;\n\tvar latlng;\n\tvar geocoder;\n\tvar address;\n\tvar lat;\n\tvar lng;\n\tvar currentReverseGeocodeResponse;\n\tvar CITY_MAP_CENTER_LAT = '33.37854107527696';\n\tvar CITY_MAP_CENTER_LNG = '-112.59795169531249';\n\tvar CITY_MAP_ZOOMING_FACT = '13';\n\tvar street_map_view='';\n\tvar street_map_view_post ='';\n\tvar geocoder = new google.maps.Geocoder();\n\tvar panorama;\n\tfunction initialize( ) {\n\t\tvar latlng = new google.maps.LatLng(CITY_MAP_CENTER_LAT,CITY_MAP_CENTER_LNG);\n\t\tvar isDraggable = jQuery(document).width() > 480 ? true : false;\n\t\tvar myOptions = {\n\t\t\tzoom: 13,\n\t\t\tcenter: latlng,\n\t\t\tdraggable: isDraggable,\n\t\t\tmapTypeId: google.maps.MapTypeId.ROADMAP\t\t};\n\t\tmap = new google.maps.Map(document.getElementById(\"map_canvas\"), myOptions);\n\t\tvar styles = [];\n\t\tmap.setOptions({styles: styles});\n\t\tmarker = new google.maps.Marker();\n\t\tjQuery( 'input[name=map_view]' ).parent(\".radio\").removeClass( 'active' );\n\t\tvar radio = jQuery( 'input[name=map_view]:checked' );\n\t\tvar updateDay = radio.val();\n\t\tif ( updateDay=='Road Map' ) {\n\t\t\tmap.setMapTypeId(google.maps.MapTypeId.ROADMAP);\n\t\t\tstreet_map_view='Road Map';\n\t\t}else if ( updateDay=='Terrain Map' ) {\n\t\t\tmap.setMapTypeId(google.maps.MapTypeId.TERRAIN);\n\t\t\tstreet_map_view='Terrain Map';\n\t\t}else if ( updateDay=='Satellite Map' ) {\n\t\t\tmap.setMapTypeId(google.maps.MapTypeId.SATELLITE);\n\t\t\tstreet_map_view='Satellite Map';\n\t\t}\n\n\n\t\tgeocoder = new google.maps.Geocoder();\n\t\tgoogle.maps.event.addListener(map, 'zoom_changed', function( ) {\n\t\t\tdocument.getElementById(\"zooming_factor\").value = map.getZoom();\n\t\t});\n\n\t\t\/* Initialize autocomplete.*\/\n\t\tvar inputField = document.getElementById( 'address' );\n\t\tautocomplete = new google.maps.places.Autocomplete(inputField);\n\t\tgoogle.maps.event.addListener(autocomplete, 'place_changed', function( ) {\n\t\t\tvar place = autocomplete.getPlace();\n\t\t\tif ( place.geometry ) {\n\t\t\t\tinitialize();\n\t\t\t\tvar location = place.geometry.location;\n\t\t\t\tmap.panTo(location);\n\t\t\t\tmap.setZoom(12);\n\t\t\t\tmarker.setMap(null);\n\t\t\t\tmarker = new google.maps.Marker({\n\t\t\t\t\tposition: map.getCenter(),\n\t\t\t\t\ticon: 'https:\/\/verradoway.net\/wp-content\/plugins\/Tevolution\/images\/pin.png',\n\t\t\t\t\tdraggable: true,\n\t\t\t\t\tmap: map\n\t\t\t\t});\n\t\t\t\tupdateMarkerPosition(marker.getPosition() ) ;\n\t\t\t\tgoogle.maps.event.addListener(marker, 'drag', function( ) {\n\t\t\t\t\tupdateMarkerPosition(marker.getPosition() ) ;\n\t\t\t\t});\n\t\t\t\tsetTimeout(\"set_address_mapview()\",500);\n\t\t\t\tshow_error_msg_map( '', '' );\n\t\t\t\tinitialize();\n\t\t\t\tgeocode();\n\t\t\t}\n\t\t});\n\n\n\t\tvar geo_latitude= jQuery( '#geo_latitude' ).val();\n\t\tvar geo_longitude= jQuery( '#geo_longitude' ).val();\n\t\tif ( (street_map_view_post=='Street map' && (street_map_view=='Street map' || updateDay=='Street map' ) )  && (geo_latitude!='' && geo_latitude != 0 && geo_longitude!='' && geo_longitude != 0 ) ) {\n\n\t\t\tvar geo_latitude= jQuery( '#geo_latitude' ).val();\n\t\t\tvar geo_longitude= jQuery( '#geo_longitude' ).val();\n\t\t\tvar berkeley = new google.maps.LatLng(geo_latitude,geo_longitude);\n\t\t\tvar sv = new google.maps.StreetViewService();\n\t\t\tsv.getPanoramaByLocation(berkeley, 50, processSVData);\n\t\t}\n\n\t\t\/* Add a DOM event listener to react when the user selects a country.*\/\n\t\tif ( jQuery( '#country_id' ).length >0) {\n\t\t\tgoogle.maps.event.addDomListener(document.getElementById( 'country_id' ), 'change', setAutocompleteCountry);\n\t\t\tgoogle.maps.event.addListener(map, 'idle', function( ) {\n\t\t\t\tautocomplete.setBounds(map.getBounds() ) ;\n\t\t\t});\n\t\t}\n\t}\n\n\tfunction geocode( ) {\n\t\tvar location='';\n\t\tif ( jQuery( '#zones_id' ).length && jQuery(\"#zones_id\").val() !='' ) {\n\t\t\tvar zones_name=jQuery(\"#zones_id option:selected\").html();\n\t\t\tlocation+=', '+zones_name+', ';\n\t\t}\n\t\tif ( jQuery( '#country_id' ).length && jQuery(\"#country_id\").val() !='' ) {\n\t\t\tvar country_name=jQuery(\"#country_id option:selected\").html();\n\t\t\tlocation+=country_name;\n\t\t}\n\n\n\t\tvar address = document.getElementById(\"address\").value;\n\t\tvar placeholder= jQuery( '#address' ).attr( 'placeholder' );\n\t\tvar location_address= address+location;\n\n\t\tif ( address!='' && address!='Enter a location' ) {\n\t\t\tgeocoder.geocode({\n\t\t\t\t'address': location_address,\n\t\t\t\t'partialmatch': false}, geocodeResult);\n\t\t} else {\n\t\t\tdocument.getElementById( 'geo_latitude' ).value = '';\n\t\t\tdocument.getElementById( 'geo_longitude' ).value = '';\n\t\t\tdocument.getElementById( 'zooming_factor' ).value = '';\n\t\t}\n\t}\n\n\tfunction geocodeResult(results, status ) {\n\t\tif ( status == 'OK' && results.length > 0 ) {\n\t\t\tmap.fitBounds(results[0].geometry.viewport);\n\t\t\tmap.setCenter(results[0].geometry.location);\n\t\t\tmap.setZoom(13);\n\t\t\tmarker.setMap(null);\n\t\t\tmarker = new google.maps.Marker();\n\t\t\taddMarkerAtCenter(results);\n\t\t\tshow_error_msg_map( '', '' );\n\t\t} else {\n\t\t\tshow_error_msg_map(\"Error: google is not able to find out the address you enter, Please enter correct address.\");\n\t\t\t\/*alert(\"Geocode was not successful for the following reason: \" + status);*\/\n\t\t}\n\t}\n\n\tfunction getCenterLatLngText( ) {\n\t\treturn '( ' + map.getCenter().lat() +', '+ map.getCenter().lng() +' )';\n\t}\n\tfunction addMarkerAtCenter(results ) {\n\t\tmarker = new google.maps.Marker({\n\t\t\tposition: results[0].geometry.location,\n\t\t\ticon: 'https:\/\/verradoway.net\/wp-content\/plugins\/Tevolution\/images\/pin.png',\n\t\t\tdraggable: true,\n\t\t\tmap: map\n\t\t});\n\n\t\tupdateMarkerPosition(marker.getPosition() ) ;\n\t\tgoogle.maps.event.addListener(marker, 'drag', function( ) {\n\t\t\tupdateMarkerPosition(marker.getPosition() ) ;\n\t\t});\n\n\t\tvar text = 'Lat\/Lng: ' + getCenterLatLngText();\n\t\tif ( currentReverseGeocodeResponse ) {\n\t\t\tvar addr = '';\n\t\t\tif ( currentReverseGeocodeResponse.size == 0 ) {\n\t\t\t\taddr = 'None';\n\t\t\t} else {\n\t\t\t\taddr = currentReverseGeocodeResponse[0].formatted_address;\n\t\t\t}\n\t\t\ttext = text + '<br>' + 'address: <br>' + addr;\n\t\t}\n\t\tvar infowindow = new google.maps.InfoWindow({ content: text });\n\t\tgoogle.maps.event.addListener(marker, 'click', function( ) {\n\t\t\tinfowindow.open(map,marker);\n\t\t});\n\t}\n\n\tfunction updateMarkerPosition(latLng)\n\t{\n\t\tdocument.getElementById( 'geo_latitude' ).value = latLng.lat();\n\t\tdocument.getElementById( 'geo_longitude' ).value = latLng.lng();\n\t}\n\n\n\tfunction changeMap()\n\t{\n\t\tvar newlatlng = document.getElementById( 'geo_latitude' ).value;\n\t\tvar newlong = document.getElementById( 'geo_longitude' ).value;\n\t\t\/* address latitude and longitude blank then return *\/\n\t\tif ( newlatlng=='' && newlong=='' ) {\n\t\t\treturn '';\n\t\t}\n\t\tvar latlng = new google.maps.LatLng(newlatlng,newlong);\n\t\tmap = new google.maps.Map(document.getElementById( 'map_canvas' ), {\n\t\t\tzoom: 13,\n\t\t\tcenter: latlng,\n\t\t\tmapTypeId: google.maps.MapTypeId.ROADMAP\t\t});\n\n\t\tvar styles = [];\n\t\tmap.setOptions({styles: styles});\n\t\tmarker = new google.maps.Marker({\n\t\t\tposition: latlng,\n\t\t\ttitle: 'Point A',\n\t\t\ticon: 'https:\/\/verradoway.net\/wp-content\/plugins\/Tevolution\/images\/pin.png',\n\t\t\tmap: map,\n\n\t\t});\n\n\t\tupdateMarkerPosition(marker.getPosition() ) ;\n\t\tgoogle.maps.event.addListener(marker, 'drag', function( ) {\n\t\t\tupdateMarkerPosition(marker.getPosition() ) ;\n\t\t});\n\n\t}\n\t\/* Find Out Street View Available or not *\/\n\tfunction processSVData(data, status ) {\n\n\t\tif ( status == google.maps.StreetViewStatus.OK ) {\n\t\t\tpanorama = new google.maps.StreetViewPanorama(document.getElementById( 'map_canvas' ) ) ;\n\t\t\tpanorama.set( 'addressControl', false);\n\t\t\tmarker = new google.maps.Marker({\n\t\t\t\tposition: data.location.latLng,\n\t\t\t\tmap: map,\n\t\t\t\ticon: 'https:\/\/verradoway.net\/wp-content\/plugins\/Tevolution\/images\/pin.png',\n\t\t\t\ttitle: data.location.description\n\t\t\t});\n\t\t\tpanorama.setPano(data.location.pano);\n\t\t\tpanorama.setPov({\n\t\t\t\theading: 270,\n\t\t\t\tpitch: 0\n\t\t\t});\n\t\t\tgoogle.maps.event.addListener(marker, 'click', function( ) {\n\t\t\t\tvar markerPanoID = data.location.pano;\n\t\t\t\t\/* Set the Pano to use the passed panoID*\/\n\t\t\t\tpanorama.setPano(markerPanoID);\n\t\t\t\tpanorama.setPov({\n\t\t\t\t\theading: 270,\n\t\t\t\t\tpitch: 0\n\t\t\t\t});\n\t\t\t\tpanorama.setVisible(true );\n\t\t\t});\n\n\t\t\tshow_error_msg_map( '', '' );\n\t\t} else {\n\t\t\t\/*alert( 'Street View data not found for this location. So change your Map view' );*\/\n\t\t\tshow_error_msg_map(\"Street View data not found for this location. So change your Map view\", '1' );\n\t\t}\n\n\t\treturn true;\n\t}\n\n\tgoogle.maps.event.addDomListener(window, 'load', initialize);\n\t\tgoogle.maps.event.addDomListener(window, 'load', geocode);\n\n\/* JavaScript Document*\/\njQuery(document).ready(function() {\n\n\t\/* Display map view as per city change *\/\n\tjQuery(document).on( 'change', 'select[name^=post_city_id]', function(e ) {\n\t\t\/* Set address marker if address not blank *\/\n\t\tvar address = document.getElementById(\"address\").value;\n\t\tvar placeholder=jQuery( '#address' ).attr( 'placeholder' );\n\t\tif ( address=='' && address=='Enter a location' ) {\n\t\t\tvar city_name=jQuery(\"#city_id option:selected\").html();\n\t\t\tgeocoder.geocode( { 'address': city_name}, function(results, status ) {\n\t\t\t\tif ( status == google.maps.GeocoderStatus.OK ) {\n\t\t\t\t\tmap.setCenter(results[0].geometry.location);\n\t\t\t\t\tmap.setZoom(jquery( '#zooming_factor' ).val() ) ;\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\t});\n\n\n\t\/* Set map view on map view click *\/\n\tjQuery(document).on(\"click\", 'input[name=map_view]', function(e ) {\n\t\tinitialize();\n\t\tgeocode();\n\t\tsetTimeout(\"set_address_mapview()\",500);\n\t});\n});\n\/* Show map address error message on google map *\/\nfunction show_error_msg_map(msg,set) {\n\n\tif ( msg!='' ) {\n\t\tjQuery( '#map_address_message' ).html(msg);\n\t\tjQuery( '#map_address_message' ).fadeIn( 'slow' );\n\t} else {\n\t\tjQuery( '#map_address_message' ).html( '' );\n\t\tjQuery( '#map_address_message' ).css( 'display', 'none' );\n\t}\n\tif ( set==1) {\n\t\tchangeMap();\n\t}\n}\n\n\/* [START region_setcountry]*\/\n\/* Set the country restriction based on user input.*\/\n\/* Also center and zoom the map on the given country.*\/\nfunction setAutocompleteCountry( ) {\n\tvar country = jQuery( 'select#country_id option:selected' ).attr( 'data-name' ); \/*document.getElementById( 'country' ).value;*\/\n\tif ( country != '' ) {\n\t\tautocomplete.setComponentRestrictions({ 'country': country });\n\t} else {\n\t\tautocomplete.setComponentRestrictions([] );\n\t}\n}\n\/* [END region_setcountry]*\/\n\n\/* Set google map view *\/\nfunction set_address_mapview() {\n\n\tjQuery( 'input[name=map_view]' ).parent(\".radio\").removeClass( 'active' );\n\tvar radio = jQuery( 'input[name=map_view]:checked' );\n\tvar updateDay = radio.val();\n\tif ( updateDay=='Road Map' ) {\n\t\tmap.setMapTypeId(google.maps.MapTypeId.ROADMAP);\n\t\tstreet_map_view='Road Map';\n\t}else if ( updateDay=='Terrain Map' ) {\n\t\tmap.setMapTypeId(google.maps.MapTypeId.TERRAIN);\n\t\tstreet_map_view='Terrain Map';\n\t}else if ( updateDay=='Satellite Map' ) {\n\t\tmap.setMapTypeId(google.maps.MapTypeId.SATELLITE);\n\t\tstreet_map_view='Satellite Map';\n\t}\n\n\tvar geo_latitude= jQuery( '#geo_latitude' ).val();\n\tvar geo_longitude= jQuery( '#geo_longitude' ).val();\n\tif ( (updateDay=='Street map' || updateDay=='Street Map' ) && (geo_latitude!='' && geo_latitude != 0 && geo_longitude!='' && geo_longitude != 0 ) ) {\n\t\tvar berkeley = new google.maps.LatLng(geo_latitude,geo_longitude);\n\t\tvar sv = new google.maps.StreetViewService();\n\t\tsv.getPanoramaByLocation(berkeley, 50, processSVData);\n\t}\n}\n\/* ]]> *\/\n<\/script>\n\t<div class=\"form_row clearfix\">\n\t\t<input type=\"text\" class=\"textfield\" value=\"\" id=\"address\" name=\"address\"  placeholder=\"Enter a location\" \/>\n\t\t<span class=\"message_note\"><\/span>\n\t\t<span class=\"message_error2\" id=\"address_error\"><\/span>\n\t\t<input type=\"hidden\" class=\"textfield\" value=\"\" id=\"zooming_factor\" name=\"zooming_factor\" \/>\n\t\t<input type=\"hidden\" class=\"textfield\" value=\"\" id=\"geo_latitude\" name=\"geo_latitude\" \/>\n\t\t<input type=\"hidden\" class=\"textfield\" value=\"\" id=\"geo_longitude\" name=\"geo_longitude\" \/>\n\t<\/div>\n\t<div class=\"form_row clearfix\">\n\t\t<div class=\"google-map-wrapper\">\n\t\t\t<div id=\"map_canvas\" class=\"form_row clearfix\"><\/div>\n\t\t\t<div id=\"map_address_message\" style=\"display:none;\"><\/div>\n\t\t<\/div>\n\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"message_note\"><\/span>\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n<\/div>\r\n\t\t\t<div class=\"form_row clearfix custom_fileds  map_view\">\r\n\r\n\t\t\t\t<label><\/label><div class=\"form_cat_left\"><ul class=\"hr_input_radio\"><li><input name=\"map_view\" id=\"map_view_1\" type=\"radio\" value=\"Road Map\" checked=\"checked\"  \/> <label for=\"map_view_1\">Road Map<\/label>\r\n\t\t<\/li><li><input name=\"map_view\" id=\"map_view_2\" type=\"radio\" value=\"Terrain Map\"   \/> <label for=\"map_view_2\">Terrain Map<\/label>\r\n\t\t<\/li><li><input name=\"map_view\" id=\"map_view_3\" type=\"radio\" value=\"Satellite Map\"   \/> <label for=\"map_view_3\">Satellite Map<\/label>\r\n\t\t<\/li><li><input name=\"map_view\" id=\"map_view_4\" type=\"radio\" value=\"Street Map\"   \/> <label for=\"map_view_4\">Street View<\/label>\r\n\t\t<\/li><\/ul><\/div>\r\n<\/div>\r\n\t\t\t<div class=\"form_row clearfix custom_fileds  post_city_id\">\r\n\r\n\t\t\t\t\r\n<\/div>\r\n<div class=\"sec_title\"><h3>Event Information<\/h3><\/div>\t\t\t<div class=\"form_row clearfix custom_fileds  event_type\">\r\n\r\n\t\t\t\t<label>Consider this event as<span class=\"required\">*<\/span><\/label><div class=\"form_cat_left\"><ul class=\"hr_input_radio\"><li>\r\n\t\t\t\t<input name=\"event_type\" id=\"event_type_1\" type=\"radio\" value=\"Regular event\" checked=\"checked\"  \/> <label for=\"event_type_1\">Regular event<\/label>\r\n\t\t\t<\/li><li>\r\n\t\t\t\t<input name=\"event_type\" id=\"event_type_2\" type=\"radio\" value=\"Recurring event\"   \/> <label for=\"event_type_2\"> Recurring event<\/label>\r\n\t\t\t<\/li><\/ul><\/div><span id=\"event_type_error\" class=\"message_error2\"><\/span>\t<div class=\"form_row clearfix\" id=\"recurring_event\"  style=\"display:none;zoom:1\" >\n\t\n\t\n\t\t <div class=\"event_repeat clearfix\">\n\t\t\t <div class=\"form_row clearfix\">\n\t\t\t <label>Event will repeat<\/label>\n\t\t\t <select id=\"recurrence-occurs\" name=\"recurrence_occurs\">\n\t\t\t\t<option value='daily'  >Daily<\/option>\n<option value='weekly'  >Weekly<\/option>\n<option value='monthly'  >Monthly<\/option>\n<option value='yearly'  >Yearly<\/option>\n\t\t\t<\/select>\n\t\t\t\n\t\t\t<\/div>\n\t\t\t\t\t\t<div id=\"monthly_event_options\" style=display:none>\n\t\t\t\t<label for=\"rec_per_day\"><input type='radio' id='rec_per_day' class='month_rec_per' name='month_rec_per'  value=\"per_day\" checked=checked \/>Per Day<\/label>\n\t\t\t\t<label for=\"rec_per_date\"><input type='radio' id=\"rec_per_date\" class='month_rec_per' name='month_rec_per' value=\"per_month\" \/>Per Date<\/label>\n\t\t\t<\/div>\n\t\t\t<div id=\"per_recurrences_container\">\n\t\t\t\t<label>every<\/label>\n\t\t\t\t<input type=\"text\" id=\"recurrence-per\" name='recurrence_per' size='2' value=''\/>\n\t\t\t\n\t\t\t\t<span id=\"rec-ocr-error\" class=\"error\" style=\"display:none;\">It will be better to select regular event for single day.<\/span>\n\t\t\t\t<span class='rec-span' id=\"recurrence-perday\" style=\"display:inline-block;\">day<\/span>\n\t\t\t\t<span class='rec-span' id=\"recurrence-perdays\" style=\"display:none;\">days<\/span>\n\t\t\t\t\n\t\t\t\t<span class='rec-span' id=\"recurrence-perweek\" style=\"display:none;\">week on<\/span>\n\t\t\t\t<span class='rec-span' id=\"recurrence-perweeks\" style=\"display:none;\">weeks on<\/span>\n\t\t\t\t<span class='rec-span' id=\"recurrence-permonth\" style=\"display:none;\">month on the<\/span>\n\t\t\t\t<span class='rec-span' id=\"recurrence-permonths\" style=\"display:none;\">months on the<\/span>\n\t\t\t\n\t\t\t\t<span class='rec-span' id=\"recurrence-peryear\" style=\"display:none;\">year<\/span> \n\t\t\t\t<span class='rec-span' id=\"recurrence-peryears\" style=\"display:none;\">years<\/span>\n\t\t\t   <span id=\"recurrence_per_error\" class=\"message_error2\"><\/span>\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\n\t\t<div class=\"monthly_opt_container\" id=\"monthly_opt_container\" style=\"display:none;\">\n\t\t\t<select id=\"monthly-modifier\" name=\"monthly_recurrence_byweekno\">\n\t\t\t\t<option value='1'  >first<\/option>\n<option value='2'  >second<\/option>\n<option value='3'  >third<\/option>\n<option value='4'  >fourth<\/option>\n<option value='-1'  >last<\/option>\n\t\t\t<\/select>\n\t\t\t<select id=\"recurrence-weekday\" name=\"recurrence_byday\">\n\t\t\t\t<option value='0' selected='selected' >Sun<\/option>\n<option value='1'  >Mon<\/option>\n<option value='2'  >Tue<\/option>\n<option value='3'  >Wed<\/option>\n<option value='4'  >Thu<\/option>\n<option value='5'  >Fri<\/option>\n<option value='6'  >Sat<\/option>\n\t\t\t<\/select>\n\t\t\tof each month\t\t\t&nbsp;\n\t\t<\/div>\t\t\t\t \n\t\t <div class=\"form_weekly_days clearfix\" id=\"weekly-days\" style=\"display:none;\">\n\t\t\t<input type='checkbox' name='recurrence_bydays[]' value='0'  \/> Sun&nbsp; <input type='checkbox' name='recurrence_bydays[]' value='1'  \/> Mon&nbsp; <input type='checkbox' name='recurrence_bydays[]' value='2'  \/> Tue&nbsp; <input type='checkbox' name='recurrence_bydays[]' value='3'  \/> Wed&nbsp; <input type='checkbox' name='recurrence_bydays[]' value='4'  \/> Thu&nbsp; <input type='checkbox' name='recurrence_bydays[]' value='5'  \/> Fri&nbsp; <input type='checkbox' name='recurrence_bydays[]' value='6'  \/> Sat&nbsp; \t\t <\/div>\n\n\t\t<!-- Date wise monthly events -->\n\t\t\t\t<div id=\"on_dateof_month_container\" style=display:none >\n\t\t\t\n\t\t\t<div id=\"on_dateof_month_select\">\n\t\t\t\t<label>On dates<\/label>\n\t\t\t\t<select name=\"on_dateof_month[]\" id=\"on_dateof_month\" multiple>\n\t\t\t\t\t\t\t\t\t\t<option value=\"1\" >1<\/option>\n\t\t\t\t\t\t\t\t\t\t<option value=\"2\" >2<\/option>\n\t\t\t\t\t\t\t\t\t\t<option value=\"3\" >3<\/option>\n\t\t\t\t\t\t\t\t\t\t<option value=\"4\" >4<\/option>\n\t\t\t\t\t\t\t\t\t\t<option value=\"5\" >5<\/option>\n\t\t\t\t\t\t\t\t\t\t<option value=\"6\" >6<\/option>\n\t\t\t\t\t\t\t\t\t\t<option value=\"7\" >7<\/option>\n\t\t\t\t\t\t\t\t\t\t<option value=\"8\" >8<\/option>\n\t\t\t\t\t\t\t\t\t\t<option value=\"9\" >9<\/option>\n\t\t\t\t\t\t\t\t\t\t<option value=\"10\" >10<\/option>\n\t\t\t\t\t\t\t\t\t\t<option value=\"11\" >11<\/option>\n\t\t\t\t\t\t\t\t\t\t<option value=\"12\" >12<\/option>\n\t\t\t\t\t\t\t\t\t\t<option value=\"13\" >13<\/option>\n\t\t\t\t\t\t\t\t\t\t<option value=\"14\" >14<\/option>\n\t\t\t\t\t\t\t\t\t\t<option value=\"15\" >15<\/option>\n\t\t\t\t\t\t\t\t\t\t<option value=\"16\" >16<\/option>\n\t\t\t\t\t\t\t\t\t\t<option value=\"17\" >17<\/option>\n\t\t\t\t\t\t\t\t\t\t<option value=\"18\" >18<\/option>\n\t\t\t\t\t\t\t\t\t\t<option value=\"19\" >19<\/option>\n\t\t\t\t\t\t\t\t\t\t<option value=\"20\" >20<\/option>\n\t\t\t\t\t\t\t\t\t\t<option value=\"21\" >21<\/option>\n\t\t\t\t\t\t\t\t\t\t<option value=\"22\" >22<\/option>\n\t\t\t\t\t\t\t\t\t\t<option value=\"23\" >23<\/option>\n\t\t\t\t\t\t\t\t\t\t<option value=\"24\" >24<\/option>\n\t\t\t\t\t\t\t\t\t\t<option value=\"25\" >25<\/option>\n\t\t\t\t\t\t\t\t\t\t<option value=\"26\" >26<\/option>\n\t\t\t\t\t\t\t\t\t\t<option value=\"27\" >27<\/option>\n\t\t\t\t\t\t\t\t\t\t<option value=\"28\" >28<\/option>\n\t\t\t\t\t\t\t\t\t\t<option value=\"29\" >29<\/option>\n\t\t\t\t\t\t\t\t\t\t<option value=\"30\" >30<\/option>\n\t\t\t\t\t\t\t\t\t\t<option value=\"31\" >31<\/option>\n\t\t\t\t\t\t\t\t\t<\/select>\n\t\t\t<\/div>\n\t\t\t<!--<span><a id=\"add_date_of_month\" href=\"javascript:void(0);\">+<\/a><\/span>-->\n\t\t<\/div>\n\t\t<div class=\"form_last_days form_row clearfix\">\n\t\t\t<label>Each event ends after <\/label>\n\t\t\t<input id=\"end_days\" type=\"text\"  maxlength=\"8\" name=\"recurrence_days\" value=\"\" \/>\n\t\t\tday(s)\t\t\t<div class=\"description\">This number should be greater than or equal to the recurrence period (e.g. every day\/weekly\/monthly\/yearly).<\/div>\n\t\t\t   <span id=\"recurrence_days_error\" class=\"message_error2\"><\/span>\n\t\t<\/div>\n\t\t\t\t\t\t<div style=\"color:green;\">Each occurrence of this recurring event will be created as a separate event.<\/div>\n\t\t\t<\/div>\n\r\n<\/div>\r\n\t\t\t<div class=\"form_row clearfix custom_fileds  st_date\">\r\n\r\n\t\t\t\t<label>Start Date<span class=\"required\">*<\/span><\/label>\t\t\t\t\t\t\t<script type=\"text\/javascript\" async >\r\n\t\t\t\t\t\t\tvar dateToday = new Date();\r\n\t\t\t\t\t\t\tjQuery(function() {\r\n\t\t\t\t\t\t\t\tvar pickerOpts = {\r\n\t\t\t\t\t\t\t\t\tshowOn: \"both\",\r\n\t\t\t\t\t\t\t\t\tdateFormat: 'yy-mm-dd',\r\n\t\t\t\t\t\t\t\t\tbuttonImage: \"https:\/\/verradoway.net\/wp-content\/plugins\/Tevolution\/css\/datepicker\/images\/cal-light.png\",\r\n\t\t\t\t\t\t\t\t\tbuttonImageOnly: false,\r\n\t\t\t\t\t\t\t\t\tmonthNames: objectL11tmpl.monthNames,\r\n\t\t\t\t\t\t\t\t\tmonthNamesShort: objectL11tmpl.monthNamesShort,\r\n\t\t\t\t\t\t\t\t\tdayNames: objectL11tmpl.dayNames,\r\n\t\t\t\t\t\t\t\t\tdayNamesShort: objectL11tmpl.dayNamesShort,\r\n\t\t\t\t\t\t\t\t\tdayNamesMin: objectL11tmpl.dayNamesMin,\r\n\t\t\t\t\t\t\t\t\tisRTL: objectL11tmpl.isRTL,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChangeMonthYear: function(year, month, inst ) {\r\n\t\t\t\t\t\t\t\t\t\tjQuery(\"#st_date\").blur();\r\n\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\tonSelect: function(dateText, inst ) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tjQuery(\"#st_date\").blur();\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t};\r\n\t\t\t\t\t\t\t\t\t\tjQuery(\"#st_date\").datepicker(pickerOpts);\r\n\t\t\t\t\t\t\t\t\t});\r\n\t\t<\/script>\r\n\t\t\r\n<input type=\"text\" readonly=\"readonly\" name=\"st_date\" id=\"st_date\" class=\"textfield \" value=\"\" size=\"25\"  placeholder=\"2023-03-01\"\/>\r\n\r\n<span id=\"st_date_error\" class=\"message_error2\"><\/span><div class=\"description\">Enter Event Start Date  Example:  2023-03-01<\/div>\r\n<\/div>\r\n\t\t\t<div class=\"form_row clearfix custom_fileds  end_date\">\r\n\r\n\t\t\t\t<label>End Date<span class=\"required\">*<\/span><\/label>\t\t\t\t\t\t\t<script type=\"text\/javascript\" async >\r\n\t\t\t\t\t\t\tvar dateToday = new Date();\r\n\t\t\t\t\t\t\tjQuery(function() {\r\n\t\t\t\t\t\t\t\tvar pickerOpts = {\r\n\t\t\t\t\t\t\t\t\tshowOn: \"both\",\r\n\t\t\t\t\t\t\t\t\tdateFormat: 'yy-mm-dd',\r\n\t\t\t\t\t\t\t\t\tbuttonImage: \"https:\/\/verradoway.net\/wp-content\/plugins\/Tevolution\/css\/datepicker\/images\/cal-light.png\",\r\n\t\t\t\t\t\t\t\t\tbuttonImageOnly: false,\r\n\t\t\t\t\t\t\t\t\tmonthNames: objectL11tmpl.monthNames,\r\n\t\t\t\t\t\t\t\t\tmonthNamesShort: objectL11tmpl.monthNamesShort,\r\n\t\t\t\t\t\t\t\t\tdayNames: objectL11tmpl.dayNames,\r\n\t\t\t\t\t\t\t\t\tdayNamesShort: objectL11tmpl.dayNamesShort,\r\n\t\t\t\t\t\t\t\t\tdayNamesMin: objectL11tmpl.dayNamesMin,\r\n\t\t\t\t\t\t\t\t\tisRTL: objectL11tmpl.isRTL,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChangeMonthYear: function(year, month, inst ) {\r\n\t\t\t\t\t\t\t\t\t\tjQuery(\"#end_date\").blur();\r\n\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\tonSelect: function(dateText, inst ) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tjQuery(\"#end_date\").blur();\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t};\r\n\t\t\t\t\t\t\t\t\t\tjQuery(\"#end_date\").datepicker(pickerOpts);\r\n\t\t\t\t\t\t\t\t\t});\r\n\t\t<\/script>\r\n\t\t\r\n<input type=\"text\" readonly=\"readonly\" name=\"end_date\" id=\"end_date\" class=\"textfield \" value=\"\" size=\"25\"  placeholder=\"2023-03-01\"\/>\r\n\r\n<span id=\"end_date_error\" class=\"message_error2\"><\/span><div class=\"description\">Enter Event End Date  Example:  2023-03-01<\/div>\r\n<\/div>\r\n\t\t\t<div class=\"form_row clearfix custom_fileds  st_time\">\r\n\r\n\t\t\t\t<label class=\"r_lbl\">Start Time<span class=\"required\">*<\/span><\/label>\r\n\t\t\t\t\t<input name=\"st_time\" id=\"st_time\" value=\"\" type=\"text\" class=\"textfield \"   placeholder=\"08:00\"\/>\r\n\r\n\t\t\t\t\t<span id=\"st_time_error\" class=\"message_error2\"><\/span><div class=\"description\">Enter Event Start Time (24 Hour Format) Example: 08:00<\/div>\r\n<\/div>\r\n\t\t\t<div class=\"form_row clearfix custom_fileds  end_time\">\r\n\r\n\t\t\t\t<label class=\"r_lbl\">End Time<span class=\"required\">*<\/span><\/label>\r\n\t\t\t\t\t<input name=\"end_time\" id=\"end_time\" value=\"\" type=\"text\" class=\"textfield \"   placeholder=\"13:00\"\/>\r\n\r\n\t\t\t\t\t<span id=\"end_time_error\" class=\"message_error2\"><\/span><div class=\"description\">Enter Event End Time (24 Hour Format) Example: 13:00<\/div>\r\n<\/div>\r\n\t\t\t<div class=\"form_row clearfix custom_fileds  post_content\">\r\n\r\n\t\t\t\t<label>Event Description<span class=\"required\">*<\/span><\/label><div id=\"wp-post_content-wrap\" class=\"wp-core-ui wp-editor-wrap tmce-active\"><link rel='stylesheet' id='dashicons-css' href='https:\/\/verradoway.net\/wp-includes\/css\/dashicons.min.css' type='text\/css' media='all' \/>\n<link rel='stylesheet' id='editor-buttons-css' href='https:\/\/verradoway.net\/wp-includes\/css\/editor.min.css' type='text\/css' media='all' \/>\n<style>.wp-editor-wrap{width:640px;margin-left:0px;}<\/style>\n<div id=\"wp-post_content-editor-container\" class=\"wp-editor-container\"><textarea class=\"wp-editor-area\" rows=\"6\" autocomplete=\"off\" cols=\"40\" name=\"post_content\" id=\"post_content\"><\/textarea><\/div>\n<\/div>\n\n\t\t\t\t<script>\r\n\t\t\t\t\tvar content_id = 'post_content';\r\n\t\t\t\t\tvar espan = 'post_content_error';\r\n\t\t\t\t<\/script>\r\n\t\t\t\t<span id=\"post_content_error\" class=\"message_error2\"><\/span>\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" class=\"editor-html\" value=\"\" name=\"post_content-editor\" id=\"post_content-editor\" \/>\r\n\t\t\t\t\t\t\t\t\t\t\r\n<\/div>\r\n\t\t\t<div class=\"form_row clearfix custom_fileds  reg_fees\">\r\n\r\n\t\t\t\t<label class=\"r_lbl\">Registration Fees<\/label>\r\n\t\t\t\t\t<input name=\"reg_fees\" id=\"reg_fees\" value=\"\" type=\"text\" class=\"textfield \"   placeholder=\"\"\/>\r\n\r\n\t\t\t\t\t<div class=\"description\">Enter Registration Fees, in USD eg.: $50<\/div>\r\n<\/div>\r\n\t\t\t<div class=\"form_row clearfix custom_fileds  reg_desc\">\r\n\r\n\t\t\t\t<label>How to Register?<\/label><div id=\"wp-reg_desc-wrap\" class=\"wp-core-ui wp-editor-wrap tmce-active\"><style>.wp-editor-wrap{width:640px;margin-left:0px;}<\/style>\n<div id=\"wp-reg_desc-editor-container\" class=\"wp-editor-container\"><textarea class=\"wp-editor-area\" rows=\"6\" autocomplete=\"off\" cols=\"40\" name=\"reg_desc\" id=\"reg_desc\"><\/textarea><\/div>\n<\/div>\n\n\t\t\t\t<script>\r\n\t\t\t\t\tvar content_id = 'post_content';\r\n\t\t\t\t\tvar espan = 'post_content_error';\r\n\t\t\t\t<\/script>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" class=\"editor-html\" value=\"\" name=\"reg_desc-editor\" id=\"reg_desc-editor\" \/>\r\n\t\t\t\t\t\t\t\t\t\t<div class=\"description\">Short description for registration process<\/div>\r\n<\/div>\r\n<div class=\"sec_title\"><h3>Contact Information<\/h3><\/div>\t\t\t<div class=\"form_row clearfix custom_fileds  phone\">\r\n\r\n\t\t\t\t<label class=\"r_lbl\">Phone<\/label>\r\n\t\t\t\t\t<input name=\"phone\" id=\"phone\" value=\"\" type=\"text\" class=\"textfield \"   placeholder=\"\"\/>\r\n\r\n\t\t\t\t\t<span id=\"phone_error\" class=\"message_error2\"><\/span><div class=\"description\">Enter phone or cell number EX: 602-555-1212<\/div>\r\n<\/div>\r\n\t\t\t<div class=\"form_row clearfix custom_fileds  email\">\r\n\r\n\t\t\t\t<label class=\"r_lbl\">Email<\/label>\r\n\t\t\t\t\t<input name=\"email\" id=\"email\" value=\"\" type=\"text\" class=\"textfield \"   placeholder=\"\"\/>\r\n\r\n\t\t\t\t\t<span id=\"email_error\" class=\"message_error2\"><\/span><div class=\"description\">Enter your email address.<\/div>\r\n<\/div>\r\n\t\t\t<div class=\"form_row clearfix custom_fileds  website\">\r\n\r\n\t\t\t\t<label class=\"r_lbl\">Website<\/label>\r\n\t\t\t\t\t<input name=\"website\" id=\"website\" value=\"\" type=\"text\" class=\"textfield \"   placeholder=\"\"\/>\r\n\r\n\t\t\t\t\t<div class=\"description\">Enter website URL  EXAMPLE:  https:\/\/yoursite.com<\/div>\r\n<\/div>\r\n\t\t\t<div class=\"form_row clearfix custom_fileds  twitter\">\r\n\r\n\t\t\t\t<label class=\"r_lbl\">Twitter<\/label>\r\n\t\t\t\t\t<input name=\"twitter\" id=\"twitter\" value=\"\" type=\"text\" class=\"textfield \"   placeholder=\"\"\/>\r\n\r\n\t\t\t\t\t<div class=\"description\">Enter Twitter profile url for example as \/\/www.twitter.com\/profile<\/div>\r\n<\/div>\r\n\t\t\t<div class=\"form_row clearfix custom_fileds  facebook\">\r\n\r\n\t\t\t\t<label class=\"r_lbl\">Facebook<\/label>\r\n\t\t\t\t\t<input name=\"facebook\" id=\"facebook\" value=\"\" type=\"text\" class=\"textfield \"   placeholder=\"\"\/>\r\n\r\n\t\t\t\t\t<div class=\"description\">Enter Facebook profile url for example as https:\/\/www.facebook.com\/profile<\/div>\r\n<\/div>\r\n\t\t\t<div class=\"form_row clearfix custom_fileds  linkedin\">\r\n\r\n\t\t\t\t<label class=\"r_lbl\">Linkedin<\/label>\r\n\t\t\t\t\t<input name=\"linkedin\" id=\"linkedin\" value=\"\" type=\"text\" class=\"textfield \"   placeholder=\"\"\/>\r\n\r\n\t\t\t\t\t<div class=\"description\">Enter Linkedin profile url for example as https:\/\/www.linkedin.com\/profile<\/div>\r\n<\/div>\r\n\t\t\t<div class=\"form_row clearfix custom_fileds  instagram\">\r\n\r\n\t\t\t\t<label class=\"r_lbl\">Instagram<\/label>\r\n\t\t\t\t\t<input name=\"instagram\" id=\"instagram\" value=\"\" type=\"text\" class=\"textfield \"   placeholder=\"\"\/>\r\n\r\n\t\t\t\t\t<div class=\"description\">Enter Instagram profile url for example as https:\/\/www.instagram.com\/profile<\/div>\r\n<\/div>\r\n\t\t\t<div class=\"form_row clearfix custom_fileds  google_plus\">\r\n\r\n\t\t\t\t<label class=\"r_lbl\">Google+<\/label>\r\n\t\t\t\t\t<input name=\"google_plus\" id=\"google_plus\" value=\"\" type=\"text\" class=\"textfield \"   placeholder=\"\"\/>\r\n\r\n\t\t\t\t\t<div class=\"description\"> Enter Google+ profile url for example as https:\/\/www.plus.google.com\/profile<\/div>\r\n<\/div>\r\n<div class=\"sec_title\"><\/div>\t\t\t<div class=\"form_row clearfix custom_fileds  post_images\">\r\n\r\n\t\t\t\t<div class=\"sec_title\"><h3>Images<span class=\"required\">*<\/span><\/h3><\/div><div class=\"upload_box\">\t\t\t\t\t\t\t\t\t\t<div class=\"hide_drag_option_ie\">\r\n\t\t\t\t\t\t\t\t\t\t\t<p>You can drag &amp; drop images from your computer to this box. <\/p>\r\n\t\t\t\t\t\t\t\t\t\t\t<p>OR<\/p>\r\n\t\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t\t<script type=\"text\/javascript\">\nvar temp = 1;\nvar html_var = 'post_images';\nvar $uc = jQuery.noConflict();\nvar imgArr = new Array();\njQuery.noConflict();\njQuery(document).ready(function($){\n\tjQuery(\"#imagelist\").sortable({\n\t\t connectWith: '#deleteArea',\n\t\t 'start': function (event, ui) {\n\t\t\t   \/\/jQuery Ui-Sortable Overlay Offset Fix\n\t\t\t   if ($.browser.webkit) {\n\t\t\t\t  wscrolltop = $(window).scrollTop();\n\t\t\t   }\n\t\t },\n\t\t 'sort': function (event, ui) {\n\t\t\t   \/\/jQuery Ui-Sortable Overlay Offset Fix\n\t\t\t   if ($.browser.webkit) {\n\t\t\t\t  ui.helper.css({ 'top': ui.position.top + wscrolltop + 'px' });\n\t\t\t   }\n\t\t },\n\t\t update: function(event, ui){\n\t\t\t \/\/Run this code whenever an item is dragged and dropped out of this list\n\t\t\t var order = $(this).sortable('serialize');\t\t\t\t\t\t\n\t\t\t jQuery.ajax({\n\t\t\t\t url: 'https:\/\/verradoway.net\/wp-content\/plugins\/Tevolution-FieldsMonetization\/shortcodes\/processImage.php',\n\t\t\t\t type: 'POST',\n\t\t\t\t data: order,\t\t\t\t \n\t\t\t\t success:function(result){\t\t\t\t\t \t\n\t\t\t\t\t\tdocument.getElementById('imgarr').value = result;\n\t\t\t\t\t}\n\t\t\t });\t\t\t \n\t\t }\r\n\t });\t\t \n\t\n});\nfunction delete_image(name,img_name,pid)\n{\n\tvar li_id=name;\t\n\tvar image_arr=document.getElementById('imgarr').value;\n\tjQuery.ajax({\n\t\t url: 'https:\/\/verradoway.net\/wp-content\/plugins\/Tevolution-FieldsMonetization\/shortcodes\/processImage.php',\n\t\t type: 'POST',\n\t\t data: 'name='+img_name+'&image_arr='+image_arr+'&pid='+pid,\t\t\t\t \n\t\t success:function(result){\t\t\t \n\t\t\t\tdocument.getElementById('imgarr').value = result;\n\t\t\t\tjQuery('#'+li_id).remove();\t\n\t\t\t\tjQuery('.'+li_id).remove();\t\t\t\t\n\t\t}\t\t\t\t \n\t });\t\n}\n<\/script>\n<style type=\"text\/css\">\nimg_table {\n\tmargin-top: 20px;\n\t}\nli >img {\n\tcursor: move;\n\t}\n#imagelist { width:700px; }\n#imagelist div { float:left; }\n#imagelist p >img {\n\tcursor: move;\n\t}\n#imagelist div p { position:relative; padding: 0; }\n#imagelist div p span {\n\tposition:absolute;\n\ttop:-6px;\n\tright:-6px;\n\t}\n.uploadfilebutton{ position:absolute;font-size:30px; cursor:pointer; z-index:2147483583; top:-10px; left:0; opacity:0; }\n<\/style>\n\t <div class=\"clearfix image_gallery_description\">\n\t <p class=\"add_tevolution_images hide-if-no-js\">\r\n\t\t<!-- Multi image uploader button -->\n\t\t<div class=\"post_images-sm-preview\"><\/div>\n\t\t\t<div id=\"fancy-contact-form\">\n\t\t\t<div class=\"dz-default dz-message\" ><span  id=\"fancy-post_images\"><span><i class=\"fa fa-folder\"><\/i> Upload Image<\/span><\/div><span id=\"status\" class=\"message_error2 clearfix\"><\/span><\/span><\/div>\n\t\t\t<input type=\"hidden\" name=\"submitted\" value=\"1\">\n\t\t\t   <p class=\"max-upload-size\">\r\n\t\t\tMaximum upload file size: 50000KB\t\t\t<\/p>\r\n\t\t<\/div>\n\t\t\t\t<script>\n\t\t\tvar thumb_src = 'https:\/\/verradoway.net\/wp-content\/themes\/Directory\/images\/tmp\/';\n\t\t\tjQuery(document).ready(function(){\n\t\t\t\tvar counter = 0;\n\t\t\t\tvar settings = {\n\t\t\t\t\turl: 'https:\/\/verradoway.net\/wp-content\/plugins\/Tevolution\/tmplconnector\/monetize\/templatic-custom_fields\/drag-uploadfile.php?_n=17be1b1c0d',\n\t\t\t\t\tdragDrop:true,\n\t\t\t\t\tfileName: \"uploadfile[]\",\n\t\t\t\t\tallowedTypes:\"jpeg,jpg,png,gif,doc,pdf,zip\",\t\n\t\t\t\t\treturnType:\"json\",\n\t\t\t\t\tmultiple:true,\n\t\t\t\t\tshowAbort:false,\n\t\t\t\t\tshowProgress:true,\n\t\t\t\t\tonSuccess:function(files,data,xhr)\n\t\t\t\t\t{\n\t\t\t\t\t\n\t\t\t\t\t\t\/*check the category type*\/\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tvar selcted_cat = jQuery('#submit_form input[name=\"category[]\"]:checked').length;\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\tvar status=$uc('#status');\n\t\t\t\t\t\tstatus.text('');\t\t\n\t\t\t\t\t\tif(selcted_cat <= 0 || selcted_cat == ''){\n\t\t\t\t\t\t\tstatus.text(\"Please select category first.\");\n\t\t\t\t\t\t\tjQuery('.ajax-file-upload-statusbar').hide();\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\t$uc('#files .success').each(function(){\n\t\t\t\t\t\t\t\tcounter = parseFloat(this.id) + 1;\n\t\t\t\t\t\t});\n\t\t\t\t\t\tdata = data+'';\n\t\t\t\t\t\t\/*Image size validation*\/\n\t\t\t\t\t\t if(data == 'LIMIT'){\n\t\t\t\t\t\t\tstatus.text(\"Your image size must be less then 50000 kilobytes\");\n\t\t\t\t\t\t\tjQuery('.ajax-file-upload-statusbar').hide();\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t }\n\t\t\t\t\t\t\n\t\t\t\t\t\t $uc('#imagelist div').each(function(){\n\t\t\t\t\t\t\t\tcounter = counter + 1;\n\t\t\t\t\t\t });\n\t\t\t\t\t\t\n\t\t\t\t\t\t var valNew = jQuery('#imgarr').val().split(\",\");\n\t\t\t\t\t\t\n\t\t\t\t\t\t var cnt = 1\n\t\t\t\t\t\t  for(var i=0;i<((valNew.length)-1);i++){\n\t\t\t\t\t\t\t\tif(valNew[i]!= '')\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tcnt++;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\tlimit = (data.split(\",\").length + counter) - 1;\n\t\t\t\t\t\tvar img_limit = 10;\n\t\t\t\t\t\t\t\t\t\t\t\t\timg_limit = 10;\n\t\t\t\t\t\t\t\t\t\t\t\tif(parseFloat(cnt) > img_limit)\n\t\t\t\t\t\t  {\n\t\t\t\t\t\t\tstatus.text(\"You can upload maximum \"+ img_limit +\" images\");\n\t\t\t\t\t\t\tjQuery('.ajax-file-upload-statusbar').hide();\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t  }\n\t\t\t\t\t\t\/\/ End Limit Code\n\t\t\t\t\t\tvar id_name = data.split('.'); \n\t\t\t\t\t\tvar img_name = 'https:\/\/verradoway.net\/wp-content\/themes\/Directory\/images\/tmp\/'+id_name[0]+\".\"+id_name[1];\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t$uc('<div id=i_'+data+' class='+id_name[0]+'>').appendTo('#imagelist').html('<p id=\"'+id_name[0]+'\"><img decoding=\"async\" width=\"60px\" height=\"60px\" src=\"'+img_name+'\" name=\"'+data+'\" \/><span><img decoding=\"async\" align=\"right\" alt=\"delete\" src=\"https:\/\/verradoway.net\/wp-content\/plugins\/Tevolution-FieldsMonetization\/shortcodes\/\/images\/cross.png\" class=\"redcross\" onClick=\"delete_image(\\''+id_name[0]+'\\',\\''+data+'\\');\" \/><\/span><\/p>');\n\t\t\t\t\t\tjQuery('.ajax-file-upload-statusbar').css('display','none');\n\t\t\t\t\t\t var imgArr_i = 0;\n\t\t\t\t\t\t$uc('#files #imagelist p img').each(function(){\n\t\t\t\t\t\t\timgArr[imgArr_i] = this.name;\n\t\t\t\t\t\t\timgArr_i++;\n\t\t\t\t\t\t});\n\t\t\t\t\t\tdocument.getElementById('imgarr').value = imgArr;\n\t\t\t\t\t\t\n\t\t\t\t\t},\n\t\t\t\t\tshowDelete:true,\n\t\t\t\t\tdeleteCallback: function(data,pd)\n\t\t\t\t\t{\n\t\t\t\t\tfor(var i=0;i<data.length;i++)\n\t\t\t\t\t{\n\t\t\t\t\t\tjQuery.post(\"delete.php\",{op:\"delete\",name:data[i]},\n\t\t\t\t\t\tfunction(resp, textStatus, jqXHR)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\/\/Show Message  \n\t\t\t\t\t\t\tjQuery(\"#status\").append(\"<div>File Deleted<\/div>\");      \n\t\t\t\t\t\t});\n\t\t\t\t\t }  \n\t\t\t\t\t\n\t\t\t\t\tpd.statusbar.hide(); \/\/You choice to hide\/not.\n\n\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tvar uploadObj = jQuery(\"#fancy-\"+'post_images').uploadFile(settings);\n\t\t\t});\n\t\t<\/script>\n\t <\/p>\n\r\n\t <table width=\"70%\" align=\"center\" border=\"0\" class=\"img_table\">\n<tr>\n\t<td>\r\n\t\t\t\t<input name=\"imgarr\" id=\"imgarr\" value=\"\" type=\"hidden\"\/>\n\t\t<table>\r\n\t\t\t<tr>\r\n\t\t\t<td id=\"files\">\r\n\t\t\t\t<div id=\"imagelist\">\r\n\r\n\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t  <\/div>\r\n\t<\/td>\n   <\/tr>\n  <\/table>\n<\/td>\n<\/tr>\n<\/table>\n\t\t\t\t\t\t\t\t\t\t<span class=\"message_note\"><\/span>\r\n\t\t\t\t\t\t\t\t\t\t<span class=\"message_error2\" id=\"post_images_error\"><\/span>\r\n\t\t\t\t\t\t\t\t\t\t<span class=\"safari_error\" id=\"safari_error\"><\/span>\r\n\t\t\t\t\t\t\t\t\t\t<\/div>\r\n<\/div>\r\n\t\t\t<div class=\"form_row clearfix custom_fileds  video\">\r\n\r\n\t\t\t\t<div class=\"sec_title\"><h3>Video<\/h3><\/div>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t<input name=\"video\" id=\"video\" value='' type=\"text\" class=\"textfield \"   placeholder=\"\"\/>\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"description\">Please paste oEmbed video link url.<\/div>\r\n\t\t\t\t\t\t\t\t\r\n<\/div>\r\n<\/div><\/div>\t\t\t\t\t\t\t\t<div style=\"display:none;\" id=\"show_featured_option\">\r\n\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" value=\"\" id=\"featured_h\" name=\"featured_h\">\r\n\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" value=\"\" id=\"featured_c\" name=\"featured_c\">\r\n\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\n\t\t<script type=\"text\/javascript\" async>var recaptcha='0';<\/script>\n\n\t\t\t\t<div class=\"form_row clearfix\">\r\n\t\t\t<input name=\"term_and_condition\" id=\"term_and_condition\" value=\"\" type=\"checkbox\" class=\"chexkbox\" onclick=\"hide_error()\"\/>\r\n\t\t\t<label class=\"term_and_condition\" for=\"term_and_condition\">&nbsp;\r\n\t\t\t\tAccept Terms and Conditions. <\/label>\r\n\t\t\t\t<span class=\"error message_error2\" id=\"terms_error\"><\/span>\r\n\t\t\t<\/div>\r\n\t\t\t<span class=\"message_error2\" id=\"common_error\"><\/span><input type=\"button\" id=\"continue_submit_from\" name=\"continue_submit_from\" value=\"Continue\" \/>&nbsp;&nbsp;<input type=\"button\" class=\"secondray-button\" data-open=\"preview_submit_from_event\" id=\"preview_submit_from\" name=\"preview\" value=\"Preview\" \/>\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t<div id=\"step-auth\" class=\"accordion-navigation step-wrapper step-auth\">\r\n\t\t\t\t\t\t<a class=\"step-heading active\" href=\"#\"><span id=\"span_user_login\">3<\/span><span>Login \/ Register<\/span><span><i class=\"fas fa-caret-down\"><\/i><i class=\"fas fa-caret-right\"><\/i><\/span><\/a>\r\n\t\t\t\t\t\t<div id=\"auth\" class=\"step-auth content clearfix\">\r\n\t\t\t\t\t\t\t\t<p style=\"display:none;\" class=\"status\"><\/p>\r\n\t<div class=\"login_submit clearfix\" id=\"loginform\">\r\n\t\t<div class=\"sec_title\">\r\n\t\t\t<h3 class=\"form_title spacer_none\">Login or register<\/h3>\r\n\t\t<\/div>\r\n\t\t\t<div class=\"user_type clearfix\">\r\n\t\t<label class=\"lab1\">I am a <\/label>\r\n\t\t<label class=\"radio_lbl\"><input name=\"user_login_or_not\" type=\"radio\" value=\"existing_user\" checked=\"checked\" onclick=\"set_login_registration_frm( 'existing_user' );\" \/> Existing User <\/label>\r\n\t\t<label class=\"radio_lbl\"><input name=\"user_login_or_not\" type=\"radio\" value=\"new_user\"  onclick=\"set_login_registration_frm( 'new_user' );\" \/> New User? Register Now <\/label>\r\n\t\r\n<\/div>\r\n<!-- Login Form -->\r\n<div name=\"loginform\" class=\"sublog_login\"  style=\"display:block;\"  id=\"login_user_frm_id\" >\r\n\r\n\t<div class=\"form_row clearfix lab2_cont\">\r\n\t\t<label class=\"lab2\">Username<span class=\"required\">*<\/span><\/label>\r\n\t\t<input type=\"text\" class=\"textfield slog_prop \" id=\"user_login\" name=\"log\" \/>\r\n\t<\/div>\r\n\r\n\t<div class=\"form_row learfix lab2_cont\">\r\n\t\t<label class=\"lab2\">Password<span class=\"required\">*<\/span> <\/label>\r\n\t\t<input type=\"password\" class=\"textfield slog_prop\" id=\"user_pass\" name=\"pwd\" \/>\r\n\t<\/div>\r\n\r\n\t<div class=\"form_row clearfix\">\r\n\t\t<input name=\"submit_form_login\" type=\"button\" id=\"submit_form_login\" value=\"Login\" class=\"button_green submit\" \/>\r\n\t<\/div>\r\n\t<div class=\"c4wp_captcha_field\" style=\"margin-bottom: 10px;\" data-nonce=\"b150da261d\" ><div id=\"c4wp_captcha_field_1\" class=\"c4wp_captcha_field_div\"><\/div><\/div>\t<input type=\"hidden\" name=\"redirect_to\" value=\"https:\/\/verradoway.net\/?p=50\" \/>\r\n\t<input type=\"hidden\" name=\"testcookie\" value=\"1\" \/>\r\n\t<input type=\"hidden\" name=\"pagetype\" value=\"https:\/\/verradoway.net\/?p=50\" \/>\r\n\t<input type=\"hidden\" id=\"security\" name=\"security\" value=\"7419b29fb9\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/wp-json\/wp\/v2\/pages\/19919\" \/>\r\n<\/div>\r\n<!-- Login Form End -->\r\n<\/div>\r\n\t<div id=\"login_user_meta\" style=\"display:none;\" >\r\n\t\t<input type=\"hidden\" name=\"user_email_already_exist\" id=\"user_email_already_exist\" value=\"\" \/>\r\n\t\t<input type=\"hidden\" name=\"user_fname_already_exist\" id=\"user_fname_already_exist\" value=\"\" \/>\r\n\t\t<input type=\"hidden\" name=\"login_type\" id=\"login_type\" value=\"\" \/>\r\n\t\t<input type=\"hidden\" name=\"reg_redirect_link\" value=\"\" \/>\r\n\t\t<div class=\"form_row clearfix\"><label>Email <span class=\"indicates\">*<\/span> <\/label><input name=\"user_email\" type=\"text\" id=\"user_email\" size=\"25\" class=\"textfield\" value=\"\"><span id=\"user_email_error\"><\/span><span class=\"message_note\"><\/span><\/div><div class=\"form_row clearfix\"><label>Your User Name (first & last name - lowercase -no spaces) <span class=\"indicates\">*<\/span> <\/label><input name=\"user_fname\" type=\"text\" id=\"user_fname\" size=\"25\" class=\"textfield\" value=\"\"><span id=\"user_fname_error\"><\/span><span class=\"message_note\"><\/span><\/div>\t\t<div class=\"form_row clearfix\">\r\n\t\t\t<input name=\"register\" type=\"button\" id=\"register_form\" value=\"Sign Up\" class=\"submit\">\r\n\t\t<\/div>\r\n\t\t\n<script type=\"text\/javascript\" async >\n\njQuery.noConflict();\njQuery(document).ready(function()\n{\n\tvar userform_submit_form = jQuery( \"#submit_form\" );\n\t\n\t\tvar user_email = jQuery( \"#submit_form #user_email\" );\n\t\t\n\t\tvar user_email_error = jQuery( \"#submit_form #user_email_error\" );\n\t\t\n\t\tfunction validate_submit_form_user_email()\n\t\t{if ( jQuery( \"#submit_form #user_email\" ).val() == \"\" && jQuery( \"#submit_form #user_email\" ).length > 0)\n\t\t\t\n\t\t{\n\t\t\tuser_email.addClass( \"error\" );\n\t\t\tuser_email_error.text( \"Please Enter Email\" );\n\t\t\tuser_email_error.removeClass( \"available_tick\" );\n\t\t\tuser_email_error.addClass( \"message_error2\" );\n\t\t\treturn false;\n\t\t}\n\t\telse{\n\t\t\tif ( jQuery.trim(jQuery( \"#submit_form #user_email\" ).val() )  != \"\" )\n\t\t\t{\n\t\t\t\tvar a = jQuery( \"#submit_form #user_email\" ).val();\n\t\t\t\tvar emailReg = \/^(([^<>()[\\]\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\.,;:\\s@\\\"]+)*)|(\\\".+\\\" ))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$\/;\n\t\t\t\tif ( jQuery( \"#submit_form #user_email\" ).val() == \"\" ) { user_email.addClass( \"error\" );\n\t\t\t\tuser_email_error.text( \"Please provide your email address\" );\n\t\t\t\tuser_email_error.addClass( \"message_error2\" );\n\t\t\t\treturn false; } else if ( !emailReg.test(jQuery( \"#submit_form #user_email\" ).val().replace(\/\\s+$\/,\"\" ) ) ) { user_email.addClass( \"error\" );\n\t\t\t\tuser_email_error.text( \"Please enter a valid email address\" );\n\t\t\t\t\/*check available_tick exist or not*\/\n\t\t\t\tif ( user_email_error.hasClass( \"available_tick\" ) )\n\t\t\t\t{\n\t\t\t\t\tuser_email_error.removeClass( \"available_tick\" );\n\t\t\t\t}\n\t\t\t\tuser_email_error.addClass( \"message_error2\" );\n\t\t\t\treturn false;\n\t\t\t} else {\n\t\t\t\tchkemail( \"submit_form\" );\n\t\t\t\tvar chk_email = jQuery( \"#submit_form #user_email_already_exist\" ).val();\n\t\t\t\tif ( chk_email > 0)\n\t\t\t\t{\n\t\t\t\t\tuser_email.removeClass( \"error\" );\n\t\t\t\t\tuser_email_error.text( \"\" );\n\t\t\t\t\tuser_email_error.removeClass( \"message_error2\" );\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t{\n\tuser_email.removeClass( \"error\" );\n\tuser_email_error.text( \"\" );\n\tuser_email_error.removeClass( \"message_error2\" );\n\treturn true;\n}\n}\n}\nuser_email.blur(validate_submit_form_user_email ); user_email.keyup(validate_submit_form_user_email ); \n\t\tvar user_fname = jQuery( \"#submit_form #user_fname\" );\n\t\t\n\t\tvar user_fname_error = jQuery( \"#submit_form #user_fname_error\" );\n\t\t\n\t\tfunction validate_submit_form_user_fname()\n\t\t{if ( jQuery( \"#submit_form #user_fname\" ).val() == \"\" && jQuery( \"#submit_form #user_fname\" ).length > 0)\n\t\t\t\n\t\t{\n\t\t\tuser_fname.addClass( \"error\" );\n\t\t\tuser_fname_error.text( \"Please Enter Your User Name (first & last name - lowercase -no spaces)\" );\n\t\t\tuser_fname_error.removeClass( \"available_tick\" );\n\t\t\tuser_fname_error.addClass( \"message_error2\" );\n\t\t\treturn false;\n\t\t}\n\t\telse{\n\t\tif ( jQuery( \"#submit_form #user_fname\" ).length && jQuery( \"#submit_form #user_fname\" ).val().match(\/\\ \/ ) ) { user_fname.addClass( \"error\" );\n\t\tuser_fname_error.text( \"Usernames should not contain space.\" );\n\t\tuser_fname_error.addClass( \"message_error2\" );\n\t\treturn false;\n\t}\n\tif (  jQuery.trim(jQuery( \"#submit_form #user_fname\" ).val() )  != \"\" )\n\t{\n\t\tvar a = jQuery( \"#submit_form #user_fname\" ).val();\n\t\tvar userLength = jQuery( \"#submit_form #user_fname\" ).val().length;\n\t\tif ( jQuery( \"#submit_form #user_fname\" ).val() == \"\" ) { user_fname.addClass( \"error\" );\n\t\tuser_fname_error.text( \"Please Enter Your User Name (first & last name - lowercase -no spaces)\" );\n\t\tuser_fname_error.addClass( \"message_error2\" );\n\n\t}else if ( userLength < 4 ) { user_fname.addClass( \"error\" );\n\tuser_fname_error.text( \"The username must be at least 4 characters long\" );\n\tuser_fname_error.addClass( \"message_error2\" );\n\treturn false;\n}else\n{\n\tchkname( \"submit_form\" );\n\tvar chk_fname = jQuery( \"#submit_form #user_fname_already_exist\" ).val();\n\tif ( chk_fname > 0)\n\t{\n\t\tuser_fname.removeClass( \"error\" );\n\t\tuser_fname_error.text( \"\" );\n\t\tuser_fname_error.removeClass( \"message_error2\" );\n\t\treturn true;\n\t}\n\telse{\n\t\treturn false;\n\t}\n}\n}{\n\tuser_fname.removeClass( \"error\" );\n\tuser_fname_error.text( \"\" );\n\tuser_fname_error.removeClass( \"message_error2\" );\n\treturn true;\n}\n}\n}\nuser_fname.blur(validate_submit_form_user_fname ); user_fname.keyup(validate_submit_form_user_fname ); var pwd = jQuery( \"#pwd\" );\n\nvar pwd_error = jQuery( \"#pwdInfo\" );\n\nfunction validate_pwd()\n{\n\tif ( jQuery( \"#pwd\" ).val() == \"\" )\n\n\t{\n\t\tpwd.addClass( \"error\" );\n\t\tpwd_error.text( \"Please enter password\" );\n\t\tpwd_error.addClass( \"message_error2\" );\n\t\treturn false;\n\t}\n\telse{\n\t\tpwd.removeClass( \"error\" );\n\t\tpwd_error.text( \"\" );\n\t\tpwd_error.removeClass( \"message_error2\" );\n\t\treturn true;\n\t}\n}\npwd.blur(validate_pwd);\npwd.keyup(validate_pwd);\nvar cpwd = jQuery( \"#cpwd\" );\n\nvar cpwd_error = jQuery( \"#cpwdInfo\" );\n\nfunction validate_cpwd()\n{\n\tif ( jQuery( \"#cpwd\" ).val() == \"\" )\n\n\t{\n\t\tcpwd.addClass( \"error\" );\n\t\tcpwd_error.text( \"Please enter confirm password\" );\n\t\tcpwd_error.addClass( \"message_error2\" );\n\t\treturn false;\n\t} else if ( jQuery( \"#cpwd\" ).val() != jQuery( \"#pwd\" ).val() ) {\n\t\tcpwd.addClass( \"error\" );\n\t\tcpwd_error.text( \"Please confirm your password\" );\n\t\tcpwd_error.addClass( \"message_error2\" );\n\t\treturn false;\n\t}\n\telse{\n\t\tcpwd.removeClass( \"error\" );\n\t\tcpwd_error.text( \"\" );\n\t\tcpwd_error.removeClass( \"message_error2\" );\n\t\treturn true;\n\t}\n}\ncpwd.blur(validate_cpwd);\ncpwd.keyup(validate_cpwd);\n\nuserform_submit_form.submit(function()\n{\n\tif ( typeof social_login!==\"undefined\" && social_login==1) {\n\t\treturn true;\n\t}\n\tif ( validate_submit_form_user_email() & validate_submit_form_user_fname() & validate_pwd() & validate_cpwd() )\n\t{\n\t\treturn true\n\t}\n\telse\n\t{\n\t\treturn false;\n\t}\n});\n\n});<\/script>\n\t<\/div>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t<div id=\"step-payment\" class=\"accordion-navigation step-wrapper step-payment\" style=\"display:none;\">\r\n\t\t\t\t\t<a class=\"step-heading active\" href=\"#\"><span id=\"select_payment\">3<\/span><span>Payment<\/span><span><i class=\"fas fa-caret-down\"><\/i><i class=\"fas fa-caret-right\"><\/i><\/span><\/a>\r\n\t\t\t\t\t<div id=\"payment\" class=\"step-payment content clearfix\">\r\n\t\t\t\t\t\t\t\t<h5 class=\"payment_head\"> \r\n\t\t\tSelect Payment Method\t\t<\/h5>\r\n\t\t<ul class=\"payment_method\">\t\t\t\t\t<li id=\"paypal\">\r\n\t\t\t\t\t\t<label>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input onclick=\"showoptions( this.value );\" type=\"radio\" value=\"paypal\" id=\"paypal_id\" name=\"paymentmethod\"  \/> \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p><span>PayPal<\/span><img decoding=\"async\" src=\"https:\/\/verradoway.net\/wp-content\/uploads\/bulk\/Gateway_PayPal.jpg\"><\/p>\t\t\t\t\t\t<\/label> \r\n\t\t\t\t\t<\/li>\r\n\t\t\t\t\t\t\t\t\t\t<li id=\"stripe\">\r\n\t\t\t\t\t\t<label>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input onclick=\"showoptions( this.value );\" type=\"radio\" value=\"stripe\" id=\"stripe_id\" name=\"paymentmethod\"  \/> \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p><span>stripe<\/span><\/p>\t\t\t\t\t\t<\/label> \r\n\t\t\t\t\t<\/li>\r\n\t\t\t\t\t\t\t\t\t\t<li id=\"prebanktransfer\">\r\n\t\t\t\t\t\t<label>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input onclick=\"showoptions( this.value );\" type=\"radio\" value=\"prebanktransfer\" id=\"prebanktransfer_id\" name=\"paymentmethod\"  \/> \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p><span>Pre Bank Transfer<\/span><img decoding=\"async\" src=\"https:\/\/verradoway.net\/wp-content\/uploads\/bulk\/Gateway_BankTransfer.jpg\"><\/p>\t\t\t\t\t\t<\/label> \r\n\t\t\t\t\t<\/li>\r\n\t\t\t\t\t\t\t\t<div id=\"payment_errors\" class=\"payment_error\"><\/div>\r\n\t\t\t<script type=\"text\/javascript\" async src=\"https:\/\/verradoway.net\/wp-content\/plugins\/Tevolution\/tmplconnector\/monetize\/templatic-custom_fields\/js\/payment_gateway_validation.js\"><\/script>  \r\n\t\t\t\r\n\t<\/ul>\r\n\t<div class='payment_method payment_credit_card_info'><table class=\"table\" id=\"stripeoptions\" style=\"display:none\">\n\t\t<input type=\"hidden\" value=\"\" id=\"stripe_cardholder_name\" name=\"stripe_cardholder_name\" class=\"form_row stripe_cardholder_name\"\/>\n\t<input type=\"hidden\" value=\"\" id=\"stripe_cardholder_email\" name=\"stripe_cardholder_email\" class=\"form_row stripe_cardholder_email\"\/>\n\t<tr id=\"stripe_cc_number_tr\">\n\t  <td class=\"row3\" style=\"min-width:105px;text-align:right;\">Card number : <span style=\"color:red;font-size:14px\">*<\/span><\/td>\n\t  <td class=\"row3\"><input type=\"text\" autocomplete=\"off\" size=\"25\" maxlength=\"25\" id=\"stripe_cc_number\" name=\"stripe_cc_number\" class=\"form_row stripe_card-number\"\/><span class=\"payment_error\"><\/span><\/td>\n\t<\/tr>\r\n\t<tr id=\"stripe_cc_month_tr\">\r\n\t  <td class=\"row3\" style=\"min-width:105px;text-align:right;\">Expiry Date :<span style=\"color:red;font-size:14px\">*<\/span><\/td>\n\t  <td class=\"row3\">\n\t  <div class=\"month\">\r\n\t  <select class=\"form_row stripe_card-expiry-month\" id=\"stripe_cc_month\" name=\"stripe_cc_month\">\n\t\t  <option selected=\"selected\" value=\"\">month<\/option>\n\t\t  <option value=\"01\">01<\/option>\n\t\t  <option value=\"02\">02<\/option>\n\t\t  <option value=\"03\">03<\/option>\n\t\t  <option value=\"04\">04<\/option>\n\t\t  <option value=\"05\">05<\/option>\n\t\t  <option value=\"06\">06<\/option>\n\t\t  <option value=\"07\">07<\/option>\n\t\t  <option value=\"08\">08<\/option>\n\t\t  <option value=\"09\">09<\/option>\n\t\t  <option value=\"10\">10<\/option>\n\t\t  <option value=\"11\">11<\/option>\n\t\t  <option value=\"12\">12<\/option>\n\t\t<\/select>\r\n\t  <\/div>\r\n\t  <div class=\"year\">\r\n\t\t<select class=\"form_row stripe_card-expiry-year\" id=\"stripe_cc_year\" name=\"stripe_cc_year\">\r\n\t\t  <option selected=\"selected\" value=\"\">year<\/option>\n\t\t\t\t\t  <option value=\"2025\">2025<\/option>\n\t\t\t\t\t  <option value=\"2026\">2026<\/option>\n\t\t\t\t\t  <option value=\"2027\">2027<\/option>\n\t\t\t\t\t  <option value=\"2028\">2028<\/option>\n\t\t\t\t\t  <option value=\"2029\">2029<\/option>\n\t\t\t\t\t  <option value=\"2030\">2030<\/option>\n\t\t\t\t\t  <option value=\"2031\">2031<\/option>\n\t\t\t\t\t  <option value=\"2032\">2032<\/option>\n\t\t\t\t\t  <option value=\"2033\">2033<\/option>\n\t\t\t\t\t<\/select><span class=\"payment_error\"><\/span>\r\n\t  <\/div>\r\n\t  <\/td>\r\n\t<\/tr>\r\n\t<tr id=\"stripe_cv2_tr\">\r\n\t  <td class=\"row3\" style=\"min-width:105px;text-align:right;\">CVC: <span style=\"color:red;font-size:14px\">*<\/span><\/td>\n\t  <td class=\"row3\"><input type=\"text\" autocomplete=\"off\" size=\"4\" maxlength=\"5\" id=\"stripe_cv2\" name=\"stripe_cv2\" class=\"form_row stripe_card-cvc\"\/><span class=\"payment_error\"><\/span><\/td>\n\t<\/tr>\r\n  <\/table>\n<\/div><script type=\"text\/javascript\" async >\r\n\t\/* <![CDATA[ *\/\r\n\tfunction showoptions(paymethod)\r\n\t{\r\n\t\t\t\t\tshowoptvar = 'prebanktransferoptions';\r\n\t\t\tif ( document.getElementById(showoptvar ) ) \r\n\t\t\t{\r\n\t\t\t\tdocument.getElementById(showoptvar).style.display = 'none';\r\n\t\t\t\tif ( paymethod=='prebanktransfer' ) {\r\n\t\t\t\t\tdocument.getElementById(showoptvar).style.display = '';\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\t\t\tshowoptvar = 'paypaloptions';\r\n\t\t\tif ( document.getElementById(showoptvar ) ) \r\n\t\t\t{\r\n\t\t\t\tdocument.getElementById(showoptvar).style.display = 'none';\r\n\t\t\t\tif ( paymethod=='paypal' ) {\r\n\t\t\t\t\tdocument.getElementById(showoptvar).style.display = '';\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\t\t\tshowoptvar = 'stripeoptions';\r\n\t\t\tif ( document.getElementById(showoptvar ) ) \r\n\t\t\t{\r\n\t\t\t\tdocument.getElementById(showoptvar).style.display = 'none';\r\n\t\t\t\tif ( paymethod=='stripe' ) {\r\n\t\t\t\t\tdocument.getElementById(showoptvar).style.display = '';\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tif ( document.getElementById( 'prebanktransfer_id' ).checked ) {\r\n\t\t\t\tshowoptions(document.getElementById( 'prebanktransfer_id' ).value );\r\n\t\t\t}\r\n\t\t\t\t\t\tif ( document.getElementById( 'paypal_id' ).checked ) {\r\n\t\t\t\tshowoptions(document.getElementById( 'paypal_id' ).value );\r\n\t\t\t}\r\n\t\t\t\t\t\tif ( document.getElementById( 'stripe_id' ).checked ) {\r\n\t\t\t\tshowoptions(document.getElementById( 'stripe_id' ).value );\r\n\t\t\t}\r\n\t\t\t\t\t\t\/* ]]> *\/\r\n\t\t<\/script>\r\n\t\t\t\t\t\t\t\t<input type=\"button\" id=\"submit_form_button\" name=\"submit_form_button\" value=\"Pay Now\" class=\"progress-button\" \/>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t<\/form><div id=\"preview_submit_from_event\" class=\"reveal-modal singular-event preview_submit_from_data\" data-reveal><\/div><script type=\"text\/javascript\">\r\nvar front_submission=0;\r\njQuery.noConflict();\r\njQuery(document).ready(function(){\r\n\/\/<![CDATA[\r\nvar submit_form = jQuery(\"#submit_form\");\r\n\tdml = document.forms['submit_form'];\r\n\tvar category = jQuery(\"#category\"); \r\n\tvar category_error = jQuery(\"#category_error\"); \r\n\t\r\n\t\tfunction validate_category()\r\n\t\t{\r\n\t\t\tif(\"checkbox\" != \"upload\")\r\n\t\t\t  {\r\n\t\t\t\tvar chklength = jQuery(\"#submit_form #category\").length;\r\n\t\t\t  }\r\n\t\t\tif(\"checkbox\" ==\"multicheckbox\" || \"checkbox\" ==\"multiselectbox\")\r\n\t\t\t  {\r\n\t\t\t\tchklength = document.getElementsByName(\"category[]\").length;\r\n\t\t\t  }\r\n\r\n\t\t\tif(\"checkbox\" ==\"multi_level_cat\")\r\n\t\t\t  {\r\n\t\t\t\tvar chklength = jQuery(\"#submit_form #submit_category_box .category_label .selection ul li.select2-selection__choice\").length;\r\n\t\t\t\tvar subchklength = jQuery(\"#submit_form #subcategory .category_label .selection ul li.select2-selection__choice\").length;\r\n\t\t\t\tchklength = chklength + subchklength;\r\n\t\t\t  }\t\r\n\t\t\t \r\n\t\t\tif(\"category\" == \"category\"){\r\n\t\t\t\tchklength = document.getElementsByName(\"category[]\").length;\r\n\t\t\t}\r\n\t\t\tif(\"checkbox\" ==\"radio\"){\r\n\t\r\n\t\t\t\tif(!jQuery(\"input[name=category]:checked\").length > 0) {\r\n\t\t\t\t\tflag = 1;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tflag = 0;\r\n\t\t\t\t}\r\n\r\n\t\t    }\r\n\t\t\t\r\n\t\t\tif(\"checkbox\" ==\"upload\")\r\n\t\t\t  {\r\n\t\t\t\t  var id_value = jQuery(category).val();\r\n\t\t\t\t  var valid_extensions = \/(.txt|.pdf|.doc|.xls|.xlsx|.csv|.docx|.rar|.zip|.jpg|.jpeg|.gif|.png)$\/i;\r\n\t\t\t\t  if(valid_extensions.test(id_value))\r\n\t\t\t\t  {\r\n\t\t\t\t\t  \r\n\t\t\t\t  }\r\n\t\t\t\t  else\r\n\t\t\t\t  { jQuery(\"#category_error\").html(\"You are uploading invalid file type. Allowed file types are : txt, pdf, doc, xls, csv, docx, xlsx, zip, rar\");\r\n\t\t\t\t   return false;\r\n\t\t\t\t  }\r\n\t\t\t  }\r\n \t\t\tvar temp\t  = \"\";\r\n\t\t\tvar i = 0;\r\n\t\t\tif(\"checkbox\" ==\"multicheckbox\" || \"checkbox\"==\"checkbox\" || \"checkbox\"==\"multi_level_cat\"  )\r\n\t\t\t{\r\n\t\t\t\tchk_category = document.getElementsByName(\"category[]\");\r\n\t\t\t\tif(\"category\" == \"category\"){\r\n\t\t\t\t\tchk_category = document.getElementsByName(\"category[]\");\r\n\t\t\t\t}\t\t\t\r\n\t\t\t\tif(chklength == 0){\r\n\t\t\t\t\tif ((chk_category.checked == false)) {\r\n\t\t\t\t\t\tflag = 1;\t\r\n\t\t\t\t\t} \r\n\t\t\t\t} else {\r\n\t\t\t\t\tvar flag      = 0;\r\n\t\t\t\t\tfor(i=0;i<chklength;i++) {\r\n\t\t\t\t\t\tif(\"checkbox\"==\"multi_level_cat\"  ) {\r\n\t\t\t\t\t\t\tif(jQuery(\"#submit_category_box .select2 ul.select2-selection__rendered li\").length > 1 ){\r\n\t\t\t\t\t\t\t\tflag = 0;\r\n\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\tflag = 1;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse if ((chk_category[i].checked == false)) { \r\n\t\t\t\t\t\t\tflag = 1;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tflag = 0;\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tif( \"checkbox\" ==\"multiselectbox\" || \"checkbox\"==\"multi_level_cat\" ) {\r\n\t\t\t\r\n\t\t\t\tchk_category = document.getElementsByName(\"category[]\").options;\r\n\t\t\t\t\r\n\t\t\t\tif(\"category\" == \"category\"){\r\n\t\t\t\t\tchk_category = document.getElementsByName(\"category[]\");\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tif(chklength == 0 && \"checkbox\" !=\"multi_level_cat\"){\r\n\t\t\t\t\tif ((chk_category.selected == false)) {\r\n\t\t\t\t\t\tflag = 1;\t\r\n\t\t\t\t\t} \r\n\t\t\t\t} else {\r\n\t\t\t\t\tvar flag      = 0;\r\n\t\t\t\t\tfor(i=0;i<chklength;i++) {\r\n\t\t\t\t\t\tif(\"checkbox\"==\"multi_level_cat\"  ) {\r\n\t\t\t\t\t\t\tif(jQuery(\"#submit_category_box select#select_category option:selected\").length >= 1 ){\r\n\t\t\t\t\t\t\t\tflag = 0;\r\n\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\tflag = 1;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse if ((chk_category[i].selected == false) ) { \r\n\t\t\t\t\t\t\tflag = 1;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tflag = 0;\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tif(flag == 1)\r\n\t\t\t{\r\n\t\t\t\tif(\"category\" == \"category\"){\r\n\t\t\t\t\tdocument.getElementById(\"category_error\").innerHTML = \"Please Select Category\";\r\n\t\t\t\t}else{\r\n\t\t\t\t\tjQuery(\"#category_error\").text(\"Please Select Category\");\r\n\t\t\t\t}\r\n\t\t\t\tjQuery(\"#category_error\").addClass(\"message_error2\");\r\n\t\t\t\t return false;\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tif(\"category\" == \"category\"){\r\n\t\t\t\t\t\t\r\n\t\t\t\t\tif(\"checkbox\" ==\"multiselectbox\"){\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tchklength = document.getElementsByName(\"category[]\")[0].length;\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tcat_count = 0;\r\n\t\t\t\t\t\tfor (var i=0; i < chklength; i++) {\r\n\t\t\t\t\t\t\tif (chk_category[0][i].selected) cat_count++;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\t}else if(\"checkbox\" ==\"multi_level_cat\"){\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tcat_count = 0;\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\/*var chklength = jQuery(\"#submit_form #submit_category_box .category_label .selection ul li.select2-selection__choice\").length;*\/\r\n\t\t\t\t\t\tvar chklength = jQuery(\"#select_category :selected\").length;\r\n\t\t\t\t\t\t\/*var subchklength = jQuery(\"#submit_form #subcategory .category_label .selection ul li.select2-selection__choice\").length;*\/\r\n\t\t\t\t\t\tvar subchklength = jQuery(\"#select_sub_category :selected\").length;\r\n\t\t\t\t\t\tchklength = chklength + subchklength;\r\n\t\t\t\t\t\tcat_count = chklength;\r\n\t\t\t\t\t\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\tchklength = document.getElementsByName(\"category[]\").length;\r\n\t\t\t\t\t\tcat_count = 0;\r\n\t\t\t\t\t\tfor(i=0;i<chklength;i++) {\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tif ((chk_category[i].checked == true)) { \r\n\t\t\t\t\t\t\t\tcat_count =  cat_count + 1;\r\n\t\t\t\t\t\t\t} \r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(document.getElementById(\"category_can_select\") && document.getElementById(\"category_can_select\").value > 0)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif(cat_count > document.getElementById(\"category_can_select\").value && chklength > 0)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tdocument.getElementById(\"category_error\").innerHTML = \"You cannot select more than  \"+document.getElementById(\"category_can_select\").value+\" categories with this package. \";\r\n\t\t\t\t\t\t\tif(\"checkbox\" ==\"multi_level_cat\"){\r\n\t\t\t\t\t\t\t\tif(subchklength > 0 ){\r\n\t\t\t\t\t\t\t\t\tjQuery(\"#submit_form #subcategory .category_label .selection ul li:nth-last-child(2)\").remove();\r\n\t\t\t\t\t\t\t\t}else{\t\r\n\t\t\t\t\t\t\t\t\tjQuery(\"#submit_form #submit_category_box .category_label .selection ul li:nth-last-child(2)\").remove();\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tjQuery(\"#category_error\").addClass(\"message_error2\");\r\n\t\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\t\r\n\t\t\t\tjQuery(\"#category_error\").text(\"\");\r\n\t\t\t\tjQuery(\"#category_error\").removeClass(\"message_error2\");\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\tjQuery(document).on(\"blur keyup change click\",\"input[name^=category],.category_label input[name^=selectall],select[name^=category]\", function(event){validate_category()});\r\njQuery(document).on(\"blur keyup\",\"#submit_form #category\", function(event){validate_category()});\r\n\r\n\tdml = document.forms['submit_form'];\r\n\tvar post_title = jQuery(\"#post_title\"); \r\n\tvar post_title_error = jQuery(\"#post_title_error\"); \r\n\t\r\n\t\tfunction validate_post_title()\r\n\t\t{\r\n\t\t\t\r\n\t\t\tif(\"post_title\" == \"end_date\")\r\n\t\t\t\t{\r\n\t\t\t\t\t if(jQuery(\"#submit_form #post_title\").val() < jQuery(\"#submit_form #st_date\").val() || jQuery(\"#submit_form #post_title\").val() == \"\")\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tpost_title.addClass(\"error\");\r\n\t\t\t\t\t\tjQuery(\"#post_title_error\").text(\"Please Enter title\");\r\n\t\t\t\t\t\tjQuery(\"#post_title_error\").addClass(\"message_error2\");\t\t\t\t\t\t\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tpost_title.removeClass(\"error\");\r\n\t\t\t\t\t\tjQuery(\"#post_title_error\").text(\"\");\r\n\t\t\t\t\t\tjQuery(\"#post_title_error\").removeClass(\"message_error2\");\r\n\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t}\r\n\t\t\t\t}if((!jQuery(\"#select_category\").val() || jQuery(\"#select_category\").val()==\"\") && \"post_title\"==\"category\")\r\n\t\t\t{\r\n\t\t\t\t\r\n\t\t\t\tjQuery(\"#post_title_error\").text(\"Please Enter title\");\r\n\t\t\t\tjQuery(\"#post_title_error\").addClass(\"message_error2\");\t\t\t\t\r\n\t\t\t\treturn false;\r\n\t\t\t}if(jQuery(\"#submit_form #post_title\").val() == \"\" && 1)\r\n\t\t\t{\r\n\t\t\t\tjQuery(\"#post_title_error\").text(\"Please Enter title\");\r\n\t\t\t\tjQuery(\"#post_title_error\").addClass(\"message_error2\");\t\t\t\t\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tjQuery(\"#post_title_error\").text(\"\");\r\n\t\t\t\tjQuery(\"#post_title_error\").removeClass(\"message_error2\");\t\t\t\t\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\t\tjQuery(document).on(\"blur keyup\",\"#submit_form #post_title\", function(event){validate_post_title()});\r\n\r\n\tdml = document.forms['submit_form'];\r\n\tvar address = jQuery(\"#address\"); \r\n\tvar address_error = jQuery(\"#address_error\"); \r\n\t\r\n\t\tfunction validate_address()\r\n\t\t{\r\n\t\t\t\r\n\t\t\tif(\"address\" == \"end_date\")\r\n\t\t\t\t{\r\n\t\t\t\t\t if(jQuery(\"#submit_form #address\").val() < jQuery(\"#submit_form #st_date\").val() || jQuery(\"#submit_form #address\").val() == \"\")\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\taddress.addClass(\"error\");\r\n\t\t\t\t\t\tjQuery(\"#address_error\").text(\"Please Enter Address\");\r\n\t\t\t\t\t\tjQuery(\"#address_error\").addClass(\"message_error2\");\t\t\t\t\t\t\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\taddress.removeClass(\"error\");\r\n\t\t\t\t\t\tjQuery(\"#address_error\").text(\"\");\r\n\t\t\t\t\t\tjQuery(\"#address_error\").removeClass(\"message_error2\");\r\n\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t}\r\n\t\t\t\t}if((!jQuery(\"#select_category\").val() || jQuery(\"#select_category\").val()==\"\") && \"address\"==\"category\")\r\n\t\t\t{\r\n\t\t\t\t\r\n\t\t\t\tjQuery(\"#address_error\").text(\"Please Enter Address\");\r\n\t\t\t\tjQuery(\"#address_error\").addClass(\"message_error2\");\t\t\t\t\r\n\t\t\t\treturn false;\r\n\t\t\t}if(jQuery(\"#submit_form #address\").val() == \"\" && 1)\r\n\t\t\t{\r\n\t\t\t\tjQuery(\"#address_error\").text(\"Please Enter Address\");\r\n\t\t\t\tjQuery(\"#address_error\").addClass(\"message_error2\");\t\t\t\t\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tjQuery(\"#address_error\").text(\"\");\r\n\t\t\t\tjQuery(\"#address_error\").removeClass(\"message_error2\");\t\t\t\t\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\t\tjQuery(document).on(\"blur keyup\",\"#submit_form #address\", function(event){validate_address()});\r\n\r\n\tdml = document.forms['submit_form'];\r\n\tvar event_type = jQuery(\"#event_type\"); \r\n\tvar event_type_error = jQuery(\"#event_type_error\"); \r\n\t\r\n\t\tfunction validate_event_type()\r\n\t\t{\r\n\t\t\tif(\"radio\" != \"upload\")\r\n\t\t\t  {\r\n\t\t\t\tvar chklength = jQuery(\"#submit_form #event_type\").length;\r\n\t\t\t  }\r\n\t\t\tif(\"radio\" ==\"multicheckbox\" || \"radio\" ==\"multiselectbox\")\r\n\t\t\t  {\r\n\t\t\t\tchklength = document.getElementsByName(\"event_type[]\").length;\r\n\t\t\t  }\r\n\r\n\t\t\tif(\"radio\" ==\"multi_level_cat\")\r\n\t\t\t  {\r\n\t\t\t\tvar chklength = jQuery(\"#submit_form #submit_category_box .category_label .selection ul li.select2-selection__choice\").length;\r\n\t\t\t\tvar subchklength = jQuery(\"#submit_form #subcategory .category_label .selection ul li.select2-selection__choice\").length;\r\n\t\t\t\tchklength = chklength + subchklength;\r\n\t\t\t  }\t\r\n\t\t\t \r\n\t\t\tif(\"event_type\" == \"category\"){\r\n\t\t\t\tchklength = document.getElementsByName(\"event_type[]\").length;\r\n\t\t\t}\r\n\t\t\tif(\"radio\" ==\"radio\"){\r\n\t\r\n\t\t\t\tif(!jQuery(\"input[name=event_type]:checked\").length > 0) {\r\n\t\t\t\t\tflag = 1;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tflag = 0;\r\n\t\t\t\t}\r\n\r\n\t\t    }\r\n\t\t\t\r\n\t\t\tif(\"radio\" ==\"upload\")\r\n\t\t\t  {\r\n\t\t\t\t  var id_value = jQuery(event_type).val();\r\n\t\t\t\t  var valid_extensions = \/(.txt|.pdf|.doc|.xls|.xlsx|.csv|.docx|.rar|.zip|.jpg|.jpeg|.gif|.png)$\/i;\r\n\t\t\t\t  if(valid_extensions.test(id_value))\r\n\t\t\t\t  {\r\n\t\t\t\t\t  \r\n\t\t\t\t  }\r\n\t\t\t\t  else\r\n\t\t\t\t  { jQuery(\"#event_type_error\").html(\"You are uploading invalid file type. Allowed file types are : txt, pdf, doc, xls, csv, docx, xlsx, zip, rar\");\r\n\t\t\t\t   return false;\r\n\t\t\t\t  }\r\n\t\t\t  }\r\n \t\t\tvar temp\t  = \"\";\r\n\t\t\tvar i = 0;\r\n\t\t\tif(\"radio\" ==\"multicheckbox\" || \"radio\"==\"checkbox\" || \"radio\"==\"multi_level_cat\"  )\r\n\t\t\t{\r\n\t\t\t\tchk_event_type = document.getElementsByName(\"event_type[]\");\r\n\t\t\t\tif(\"event_type\" == \"category\"){\r\n\t\t\t\t\tchk_event_type = document.getElementsByName(\"event_type[]\");\r\n\t\t\t\t}\t\t\t\r\n\t\t\t\tif(chklength == 0){\r\n\t\t\t\t\tif ((chk_event_type.checked == false)) {\r\n\t\t\t\t\t\tflag = 1;\t\r\n\t\t\t\t\t} \r\n\t\t\t\t} else {\r\n\t\t\t\t\tvar flag      = 0;\r\n\t\t\t\t\tfor(i=0;i<chklength;i++) {\r\n\t\t\t\t\t\tif(\"radio\"==\"multi_level_cat\"  ) {\r\n\t\t\t\t\t\t\tif(jQuery(\"#submit_category_box .select2 ul.select2-selection__rendered li\").length > 1 ){\r\n\t\t\t\t\t\t\t\tflag = 0;\r\n\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\tflag = 1;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse if ((chk_event_type[i].checked == false)) { \r\n\t\t\t\t\t\t\tflag = 1;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tflag = 0;\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tif( \"radio\" ==\"multiselectbox\" || \"radio\"==\"multi_level_cat\" ) {\r\n\t\t\t\r\n\t\t\t\tchk_event_type = document.getElementsByName(\"event_type[]\").options;\r\n\t\t\t\t\r\n\t\t\t\tif(\"event_type\" == \"category\"){\r\n\t\t\t\t\tchk_event_type = document.getElementsByName(\"event_type[]\");\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tif(chklength == 0 && \"radio\" !=\"multi_level_cat\"){\r\n\t\t\t\t\tif ((chk_event_type.selected == false)) {\r\n\t\t\t\t\t\tflag = 1;\t\r\n\t\t\t\t\t} \r\n\t\t\t\t} else {\r\n\t\t\t\t\tvar flag      = 0;\r\n\t\t\t\t\tfor(i=0;i<chklength;i++) {\r\n\t\t\t\t\t\tif(\"radio\"==\"multi_level_cat\"  ) {\r\n\t\t\t\t\t\t\tif(jQuery(\"#submit_category_box select#select_category option:selected\").length >= 1 ){\r\n\t\t\t\t\t\t\t\tflag = 0;\r\n\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\tflag = 1;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse if ((chk_event_type[i].selected == false) ) { \r\n\t\t\t\t\t\t\tflag = 1;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tflag = 0;\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tif(flag == 1)\r\n\t\t\t{\r\n\t\t\t\tif(\"event_type\" == \"category\"){\r\n\t\t\t\t\tdocument.getElementById(\"event_type_error\").innerHTML = \"Please Select Event Type\";\r\n\t\t\t\t}else{\r\n\t\t\t\t\tjQuery(\"#event_type_error\").text(\"Please Select Event Type\");\r\n\t\t\t\t}\r\n\t\t\t\tjQuery(\"#event_type_error\").addClass(\"message_error2\");\r\n\t\t\t\t return false;\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tif(\"event_type\" == \"category\"){\r\n\t\t\t\t\t\t\r\n\t\t\t\t\tif(\"radio\" ==\"multiselectbox\"){\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tchklength = document.getElementsByName(\"event_type[]\")[0].length;\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tcat_count = 0;\r\n\t\t\t\t\t\tfor (var i=0; i < chklength; i++) {\r\n\t\t\t\t\t\t\tif (chk_event_type[0][i].selected) cat_count++;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\t}else if(\"radio\" ==\"multi_level_cat\"){\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tcat_count = 0;\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\/*var chklength = jQuery(\"#submit_form #submit_category_box .category_label .selection ul li.select2-selection__choice\").length;*\/\r\n\t\t\t\t\t\tvar chklength = jQuery(\"#select_category :selected\").length;\r\n\t\t\t\t\t\t\/*var subchklength = jQuery(\"#submit_form #subcategory .category_label .selection ul li.select2-selection__choice\").length;*\/\r\n\t\t\t\t\t\tvar subchklength = jQuery(\"#select_sub_category :selected\").length;\r\n\t\t\t\t\t\tchklength = chklength + subchklength;\r\n\t\t\t\t\t\tcat_count = chklength;\r\n\t\t\t\t\t\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\tchklength = document.getElementsByName(\"event_type[]\").length;\r\n\t\t\t\t\t\tcat_count = 0;\r\n\t\t\t\t\t\tfor(i=0;i<chklength;i++) {\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tif ((chk_event_type[i].checked == true)) { \r\n\t\t\t\t\t\t\t\tcat_count =  cat_count + 1;\r\n\t\t\t\t\t\t\t} \r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(document.getElementById(\"category_can_select\") && document.getElementById(\"category_can_select\").value > 0)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif(cat_count > document.getElementById(\"category_can_select\").value && chklength > 0)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tdocument.getElementById(\"category_error\").innerHTML = \"You cannot select more than  \"+document.getElementById(\"category_can_select\").value+\" categories with this package. \";\r\n\t\t\t\t\t\t\tif(\"radio\" ==\"multi_level_cat\"){\r\n\t\t\t\t\t\t\t\tif(subchklength > 0 ){\r\n\t\t\t\t\t\t\t\t\tjQuery(\"#submit_form #subcategory .category_label .selection ul li:nth-last-child(2)\").remove();\r\n\t\t\t\t\t\t\t\t}else{\t\r\n\t\t\t\t\t\t\t\t\tjQuery(\"#submit_form #submit_category_box .category_label .selection ul li:nth-last-child(2)\").remove();\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tjQuery(\"#event_type_error\").addClass(\"message_error2\");\r\n\t\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\t\r\n\t\t\t\tjQuery(\"#event_type_error\").text(\"\");\r\n\t\t\t\tjQuery(\"#event_type_error\").removeClass(\"message_error2\");\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\tjQuery(document).on(\"blur keyup\",\"#submit_form #event_type\", function(event){validate_event_type()});\r\n\r\n\tdml = document.forms['submit_form'];\r\n\tvar st_date = jQuery(\"#st_date\"); \r\n\tvar st_date_error = jQuery(\"#st_date_error\"); \r\n\t\r\n\t\tfunction validate_st_date()\r\n\t\t{\r\n\t\t\t\r\n\t\t\tif(\"st_date\" == \"end_date\")\r\n\t\t\t\t{\r\n\t\t\t\t\t if(jQuery(\"#submit_form #st_date\").val() < jQuery(\"#submit_form #st_date\").val() || jQuery(\"#submit_form #st_date\").val() == \"\")\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tst_date.addClass(\"error\");\r\n\t\t\t\t\t\tjQuery(\"#st_date_error\").text(\"Please Enter Start Date\");\r\n\t\t\t\t\t\tjQuery(\"#st_date_error\").addClass(\"message_error2\");\t\t\t\t\t\t\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tst_date.removeClass(\"error\");\r\n\t\t\t\t\t\tjQuery(\"#st_date_error\").text(\"\");\r\n\t\t\t\t\t\tjQuery(\"#st_date_error\").removeClass(\"message_error2\");\r\n\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t}\r\n\t\t\t\t}if((!jQuery(\"#select_category\").val() || jQuery(\"#select_category\").val()==\"\") && \"st_date\"==\"category\")\r\n\t\t\t{\r\n\t\t\t\t\r\n\t\t\t\tjQuery(\"#st_date_error\").text(\"Please Enter Start Date\");\r\n\t\t\t\tjQuery(\"#st_date_error\").addClass(\"message_error2\");\t\t\t\t\r\n\t\t\t\treturn false;\r\n\t\t\t}if(jQuery(\"#submit_form #st_date\").val() == \"\" && 1)\r\n\t\t\t{\r\n\t\t\t\tjQuery(\"#st_date_error\").text(\"Please Enter Start Date\");\r\n\t\t\t\tjQuery(\"#st_date_error\").addClass(\"message_error2\");\t\t\t\t\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tjQuery(\"#st_date_error\").text(\"\");\r\n\t\t\t\tjQuery(\"#st_date_error\").removeClass(\"message_error2\");\t\t\t\t\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\t\tjQuery(document).on(\"blur keyup\",\"#submit_form #st_date\", function(event){validate_st_date()});\r\n\r\n\tdml = document.forms['submit_form'];\r\n\tvar end_date = jQuery(\"#end_date\"); \r\n\tvar end_date_error = jQuery(\"#end_date_error\"); \r\n\t\r\n\t\tfunction validate_end_date()\r\n\t\t{\r\n\t\t\t\r\n\t\t\tif(\"end_date\" == \"end_date\")\r\n\t\t\t\t{\r\n\t\t\t\t\t if(jQuery(\"#submit_form #end_date\").val() < jQuery(\"#submit_form #st_date\").val() || jQuery(\"#submit_form #end_date\").val() == \"\")\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tend_date.addClass(\"error\");\r\n\t\t\t\t\t\tjQuery(\"#end_date_error\").text(\"Please enter the End date that occurs after the Start date.\");\r\n\t\t\t\t\t\tjQuery(\"#end_date_error\").addClass(\"message_error2\");\t\t\t\t\t\t\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tend_date.removeClass(\"error\");\r\n\t\t\t\t\t\tjQuery(\"#end_date_error\").text(\"\");\r\n\t\t\t\t\t\tjQuery(\"#end_date_error\").removeClass(\"message_error2\");\r\n\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t}\r\n\t\t\t\t}if((!jQuery(\"#select_category\").val() || jQuery(\"#select_category\").val()==\"\") && \"end_date\"==\"category\")\r\n\t\t\t{\r\n\t\t\t\t\r\n\t\t\t\tjQuery(\"#end_date_error\").text(\"Please enter the End date that occurs after the Start date.\");\r\n\t\t\t\tjQuery(\"#end_date_error\").addClass(\"message_error2\");\t\t\t\t\r\n\t\t\t\treturn false;\r\n\t\t\t}if(jQuery(\"#submit_form #end_date\").val() == \"\" && 1)\r\n\t\t\t{\r\n\t\t\t\tjQuery(\"#end_date_error\").text(\"Please enter the End date that occurs after the Start date.\");\r\n\t\t\t\tjQuery(\"#end_date_error\").addClass(\"message_error2\");\t\t\t\t\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tjQuery(\"#end_date_error\").text(\"\");\r\n\t\t\t\tjQuery(\"#end_date_error\").removeClass(\"message_error2\");\t\t\t\t\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\t\tjQuery(document).on(\"blur keyup\",\"#submit_form #end_date\", function(event){validate_end_date()});\r\n\r\n\tdml = document.forms['submit_form'];\r\n\tvar st_time = jQuery(\"#st_time\"); \r\n\tvar st_time_error = jQuery(\"#st_time_error\"); \r\n\t\r\n\t\tfunction validate_st_time()\r\n\t\t{\r\n\t\t\t\r\n\t\t\tif(\"st_time\" == \"end_date\")\r\n\t\t\t\t{\r\n\t\t\t\t\t if(jQuery(\"#submit_form #st_time\").val() < jQuery(\"#submit_form #st_date\").val() || jQuery(\"#submit_form #st_time\").val() == \"\")\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tst_time.addClass(\"error\");\r\n\t\t\t\t\t\tjQuery(\"#st_time_error\").text(\"Please Enter Start Time\");\r\n\t\t\t\t\t\tjQuery(\"#st_time_error\").addClass(\"message_error2\");\t\t\t\t\t\t\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tst_time.removeClass(\"error\");\r\n\t\t\t\t\t\tjQuery(\"#st_time_error\").text(\"\");\r\n\t\t\t\t\t\tjQuery(\"#st_time_error\").removeClass(\"message_error2\");\r\n\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t}\r\n\t\t\t\t}if((!jQuery(\"#select_category\").val() || jQuery(\"#select_category\").val()==\"\") && \"st_time\"==\"category\")\r\n\t\t\t{\r\n\t\t\t\t\r\n\t\t\t\tjQuery(\"#st_time_error\").text(\"Please Enter Start Time\");\r\n\t\t\t\tjQuery(\"#st_time_error\").addClass(\"message_error2\");\t\t\t\t\r\n\t\t\t\treturn false;\r\n\t\t\t}if(jQuery(\"#submit_form #st_time\").val() == \"\" && 1)\r\n\t\t\t{\r\n\t\t\t\tjQuery(\"#st_time_error\").text(\"Please Enter Start Time\");\r\n\t\t\t\tjQuery(\"#st_time_error\").addClass(\"message_error2\");\t\t\t\t\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tjQuery(\"#st_time_error\").text(\"\");\r\n\t\t\t\tjQuery(\"#st_time_error\").removeClass(\"message_error2\");\t\t\t\t\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\t\tjQuery(document).on(\"blur keyup\",\"#submit_form #st_time\", function(event){validate_st_time()});\r\n\r\n\tdml = document.forms['submit_form'];\r\n\tvar end_time = jQuery(\"#end_time\"); \r\n\tvar end_time_error = jQuery(\"#end_time_error\"); \r\n\t\r\n\t\tfunction validate_end_time()\r\n\t\t{\r\n\t\t\t\r\n\t\t\tif(\"end_time\" == \"end_date\")\r\n\t\t\t\t{\r\n\t\t\t\t\t if(jQuery(\"#submit_form #end_time\").val() < jQuery(\"#submit_form #st_date\").val() || jQuery(\"#submit_form #end_time\").val() == \"\")\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tend_time.addClass(\"error\");\r\n\t\t\t\t\t\tjQuery(\"#end_time_error\").text(\"Please Enter End time\");\r\n\t\t\t\t\t\tjQuery(\"#end_time_error\").addClass(\"message_error2\");\t\t\t\t\t\t\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tend_time.removeClass(\"error\");\r\n\t\t\t\t\t\tjQuery(\"#end_time_error\").text(\"\");\r\n\t\t\t\t\t\tjQuery(\"#end_time_error\").removeClass(\"message_error2\");\r\n\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t}\r\n\t\t\t\t}if((!jQuery(\"#select_category\").val() || jQuery(\"#select_category\").val()==\"\") && \"end_time\"==\"category\")\r\n\t\t\t{\r\n\t\t\t\t\r\n\t\t\t\tjQuery(\"#end_time_error\").text(\"Please Enter End time\");\r\n\t\t\t\tjQuery(\"#end_time_error\").addClass(\"message_error2\");\t\t\t\t\r\n\t\t\t\treturn false;\r\n\t\t\t}if(jQuery(\"#submit_form #end_time\").val() == \"\" && 1)\r\n\t\t\t{\r\n\t\t\t\tjQuery(\"#end_time_error\").text(\"Please Enter End time\");\r\n\t\t\t\tjQuery(\"#end_time_error\").addClass(\"message_error2\");\t\t\t\t\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tjQuery(\"#end_time_error\").text(\"\");\r\n\t\t\t\tjQuery(\"#end_time_error\").removeClass(\"message_error2\");\t\t\t\t\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\t\tjQuery(document).on(\"blur keyup\",\"#submit_form #end_time\", function(event){validate_end_time()});\r\n\r\n\tdml = document.forms['submit_form'];\r\n\tvar post_content = jQuery(\"#post_content\"); \r\n\tvar post_content_error = jQuery(\"#post_content_error\"); \r\n\t\r\n\t\tfunction validate_post_content()\r\n\t\t{\r\n\t\t\t\r\n\t\t\tif(jQuery(\"#submit_form #post_content\").css(\"display\") == \"none\")\r\n\t\t\t\t{\r\n\t\t\t\tif(tinyMCE.get(\"post_content\").getContent().replace(\/<[^>]+>\/g, \"\") == \"\") { post_content.addClass(\"error\");\r\n\t\t\t\t\tjQuery(\"#post_content_error\").text(\"Please Enter content\");\r\n\t\t\t\t\tjQuery(\"#post_content_error\").addClass(\"message_error2\");\t\t\t\t\t\r\n\t\t\t\treturn false; }  else {\r\n\t\t\t\t\tpost_content.removeClass(\"error\");\r\n\t\t\t\t\tjQuery(\"#post_content_error\").text(\"\");\r\n\t\t\t\t\tjQuery(\"#post_content_error\").removeClass(\"message_error2\");\t\t\t\t\t\r\n\t\t\t\t\treturn true;\r\n\t\t\t\t}\r\n\t\t\t\t}else\r\n\t\t\t\t{\r\n\t\t\t\t\tif(jQuery(\"#submit_form #post_content\").val() == \"\")\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tjQuery(\"#post_content_error\").text(\"Please Enter content\");\r\n\t\t\t\t\t\tjQuery(\"#post_content_error\").addClass(\"message_error2\");\t\t\t\t\t\t\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tjQuery(\"#post_content_error\").text(\"\");\r\n\t\t\t\t\t\tjQuery(\"#post_content_error\").removeClass(\"message_error2\");\r\n\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t}\r\n\t\t\t\t}if(\"post_content\" == \"end_date\")\r\n\t\t\t\t{\r\n\t\t\t\t\t if(jQuery(\"#submit_form #post_content\").val() < jQuery(\"#submit_form #st_date\").val() || jQuery(\"#submit_form #post_content\").val() == \"\")\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tpost_content.addClass(\"error\");\r\n\t\t\t\t\t\tjQuery(\"#post_content_error\").text(\"Please Enter content\");\r\n\t\t\t\t\t\tjQuery(\"#post_content_error\").addClass(\"message_error2\");\t\t\t\t\t\t\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tpost_content.removeClass(\"error\");\r\n\t\t\t\t\t\tjQuery(\"#post_content_error\").text(\"\");\r\n\t\t\t\t\t\tjQuery(\"#post_content_error\").removeClass(\"message_error2\");\r\n\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t}\r\n\t\t\t\t}if((!jQuery(\"#select_category\").val() || jQuery(\"#select_category\").val()==\"\") && \"post_content\"==\"category\")\r\n\t\t\t{\r\n\t\t\t\t\r\n\t\t\t\tjQuery(\"#post_content_error\").text(\"Please Enter content\");\r\n\t\t\t\tjQuery(\"#post_content_error\").addClass(\"message_error2\");\t\t\t\t\r\n\t\t\t\treturn false;\r\n\t\t\t}if(jQuery(\"#submit_form #post_content\").val() == \"\" && 1)\r\n\t\t\t{\r\n\t\t\t\tjQuery(\"#post_content_error\").text(\"Please Enter content\");\r\n\t\t\t\tjQuery(\"#post_content_error\").addClass(\"message_error2\");\t\t\t\t\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tjQuery(\"#post_content_error\").text(\"\");\r\n\t\t\t\tjQuery(\"#post_content_error\").removeClass(\"message_error2\");\t\t\t\t\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\t\tjQuery(document).on(\"blur keyup\",\"#submit_form #post_content\", function(event){validate_post_content()});\r\n\r\n\tdml = document.forms['submit_form'];\r\n\tvar post_images = jQuery(\"#post_images\"); \r\n\tvar post_images_error = jQuery(\"#post_images_error\"); \r\n\t\r\n\t\tfunction validate_post_images()\r\n\t\t{\r\n\t\t\t\r\n\t\t\tif(jQuery(\"#imgarr\").val() == \"\")\r\n\t\t\t\t{\r\n\t\t\t\t\tif(\"\" == \"\")\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tjQuery(\"#post_images_error\").html(\"Please upload at least 1 image to the gallery !\");\t\t\t\t\t\t\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tjQuery(\"#post_images_error\").html(\"\");\t\t\t\t\t\t\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t}\r\n\t\t\t\t}if(\"post_images\" == \"end_date\")\r\n\t\t\t\t{\r\n\t\t\t\t\t if(jQuery(\"#submit_form #post_images\").val() < jQuery(\"#submit_form #st_date\").val() || jQuery(\"#submit_form #post_images\").val() == \"\")\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tpost_images.addClass(\"error\");\r\n\t\t\t\t\t\tjQuery(\"#post_images_error\").text(\"\");\r\n\t\t\t\t\t\tjQuery(\"#post_images_error\").addClass(\"message_error2\");\t\t\t\t\t\t\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tpost_images.removeClass(\"error\");\r\n\t\t\t\t\t\tjQuery(\"#post_images_error\").text(\"\");\r\n\t\t\t\t\t\tjQuery(\"#post_images_error\").removeClass(\"message_error2\");\r\n\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t}\r\n\t\t\t\t}if((!jQuery(\"#select_category\").val() || jQuery(\"#select_category\").val()==\"\") && \"post_images\"==\"category\")\r\n\t\t\t{\r\n\t\t\t\t\r\n\t\t\t\tjQuery(\"#post_images_error\").text(\"\");\r\n\t\t\t\tjQuery(\"#post_images_error\").addClass(\"message_error2\");\t\t\t\t\r\n\t\t\t\treturn false;\r\n\t\t\t}if(jQuery(\"#submit_form #post_images\").val() == \"\" && 1)\r\n\t\t\t{\r\n\t\t\t\tjQuery(\"#post_images_error\").text(\"\");\r\n\t\t\t\tjQuery(\"#post_images_error\").addClass(\"message_error2\");\t\t\t\t\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tjQuery(\"#post_images_error\").text(\"\");\r\n\t\t\t\tjQuery(\"#post_images_error\").removeClass(\"message_error2\");\t\t\t\t\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\t\tjQuery(document).on(\"blur keyup\",\"#submit_form #post_images\", function(event){validate_post_images()});\r\njQuery(\"#continue_submit_from\").on(\"click\",function (e)\r\n{\t\r\n\tvar package_select = jQuery(\"input[name=package_select]\");\t\r\n\tvar package_type=package_select.attr(\"type\");\r\n\tif (document.getElementsByName(\"package_select\").length >0){\r\n\t\tif(package_type ==\"radio\")\r\n\t\t{\r\n\t\t\tif (!jQuery(\"input:radio[name=package_select]:checked\").val())\r\n\t\t\t {\r\n\t\t\t\tjQuery(\"#all_packages_error\").html(\"Please Select Price Package\");\r\n\t\t\t\treturn false; \/* add comment return false nothing add and directoly submit then only price package error will be shown*\/\r\n\t\t\t }\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tjQuery(\"#all_packages_error\").html(\"\");\r\n\t\t\t}\r\n\t\t}\r\n\t\r\n\t}\r\n\t\r\n\t\/* Check terms and condition validation *\/\r\n\tif(jQuery(\"#term_and_condition\").length){\t\t\r\n\t\tif(!jQuery(\"#term_and_condition\").prop(\"checked\"))\t\t\r\n\t\t{\r\n\t\t\tjQuery(\"#terms_error\").html(\"Please accept Terms and Conditions.\");\t\t\t\r\n\t\t\treturn false; \/* add comment return false nothing add and directoly submit then only term condition error will be shown*\/\r\n\t\t}else{\r\n\t\t\tjQuery(\"#terms_error\").html(\"\");\t\r\n\t\t}\r\n\t}\r\n\tif(validate_category() & validate_post_title() & validate_address() & validate_event_type() & validate_st_date() & validate_end_date() & validate_st_time() & validate_end_time() & validate_post_content() & validate_post_images())\r\n\t\t{\r\n\t\t\tjQuery(\"#common_error\").html(\"\");\t\t\t\r\n\t\t\tif(recaptcha==1){\r\n\t\t\t\t\/* Recaptcha validation function to check captcha validation *\/\r\n\t\t\t\tvar check_validation=recaptcha_validation();\r\n\t\t\t\treturn check_validation;\r\n\t\t\t}\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tjQuery(\"#common_error\").html(\"Oops! Please make sure you have filled all the mandatory fields.\");\r\n\t\t\treturn false;\r\n\t\t}\r\n});\r\n\r\n});function hide_error(){\r\n\tif(jQuery(\"#term_and_condition\").prop(\"checked\"))\r\n\t{\r\n\t\tjQuery(\"#terms_error\").html(\"\");\r\n\t}\r\n}\r\n\r\nif(recaptcha==1){\r\n\tfunction recaptcha_validation(){\r\n\t\tvar submit_from = jQuery('form#submit_form').serialize();\r\n\t\tvar output;\r\n\t\tjQuery.ajax({\r\n\t\t\turl:ajaxUrl,\r\n\t\t\ttype:'POST',\r\n\t\t\tasync: false,\r\n\t\t\tdata:submit_from+'&action=submit_form_recaptcha_validation',\r\n\t\t})\r\n\t\t.done(function(results){\t\t\t\r\n\t\t\tif(results==1){\r\n\t\t\t\tjQuery(\"#common_error\").html('');\r\n\t\t\t\toutput= true;\r\n\t\t\t}else{\r\n\t\t\t\tjQuery(\"#common_error\").html(results);\r\n\t\t\t\toutput= false;\r\n\t\t\t}\t\t\t\r\n\t\t});\t\r\n\t\treturn output;\r\n\t}\r\n}\r\n\/\/]]>\r\n<\/script>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":40,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"aioseo_notices":[],"publishpress_future_workflow_manual_trigger":{"enabledWorkflows":[]},"_links":{"self":[{"href":"https:\/\/verradoway.net\/wp-json\/wp\/v2\/pages\/19919"}],"collection":[{"href":"https:\/\/verradoway.net\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/verradoway.net\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/verradoway.net\/wp-json\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/verradoway.net\/wp-json\/wp\/v2\/comments?post=19919"}],"version-history":[{"count":1,"href":"https:\/\/verradoway.net\/wp-json\/wp\/v2\/pages\/19919\/revisions"}],"predecessor-version":[{"id":19920,"href":"https:\/\/verradoway.net\/wp-json\/wp\/v2\/pages\/19919\/revisions\/19920"}],"wp:attachment":[{"href":"https:\/\/verradoway.net\/wp-json\/wp\/v2\/media?parent=19919"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}