Sindbad~EG File Manager

Current Path : /var/www/quickscrum.com/wp-content/plugins/ultimate-social-media-icons/js/
Upload File :
Current File : /var/www/quickscrum.com/wp-content/plugins/ultimate-social-media-icons/js/customValidate-min.js

function sfsi_validationStep2(){if(SFSI("input").removeClass("inputError"),sfsi_validator(SFSI('input[name="sfsi_rss_display"]'),"checked")&&!sfsi_validator(SFSI('input[name="sfsi_rss_url"]'),"url"))return showErrorSuc("error","Error : Invalid Rss url ",2),SFSI('input[name="sfsi_rss_url"]').addClass("inputError"),!1;if(sfsi_validator(SFSI('input[name="sfsi_facebookPage_option"]'),"activte")&&sfsi_validator(SFSI('input[name="sfsi_facebookPage_option"]'),"checked")&&!sfsi_validator(SFSI('input[name="sfsi_facebookPage_url"]'),"blank"))return showErrorSuc("error","Error : Invalid Facebook page url ",2),SFSI('input[name="sfsi_facebookPage_url"]').addClass("inputError"),!1;if(sfsi_validator(SFSI('input[name="sfsi_twitter_followme"]'),"activte")&&sfsi_validator(SFSI('input[name="sfsi_twitter_followme"]'),"checked")&&!sfsi_validator(SFSI('input[name="sfsi_twitter_followUserName"]'),"blank"))return showErrorSuc("error","Error : Invalid Twitter UserName ",2),SFSI('input[name="sfsi_twitter_followUserName"]').addClass("inputError"),!1;if(sfsi_validator(SFSI('input[name="sfsi_twitter_page"]'),"activte")&&sfsi_validator(SFSI('input[name="sfsi_twitter_page"]'),"checked")&&!sfsi_validator(SFSI('input[name="sfsi_twitter_pageURL"]'),"blank"))return showErrorSuc("error","Error : Invalid twitter page Url ",2),SFSI('input[name="sfsi_twitter_pageURL"]').addClass("inputError"),!1;if(sfsi_validator(SFSI('input[name="sfsi_youtube_page"]'),"activte")&&sfsi_validator(SFSI('input[name="sfsi_youtube_page"]'),"checked")&&!sfsi_validator(SFSI('input[name="sfsi_youtube_pageUrl"]'),"blank"))return showErrorSuc("error","Error : Invalid youtube Url ",2),SFSI('input[name="sfsi_youtube_pageUrl"]').addClass("inputError"),!1;if(sfsi_validator(SFSI('input[name="sfsi_youtube_page"]'),"activte")&&sfsi_validator(SFSI('input[name="sfsi_youtube_follow"]'),"checked")&&!sfsi_validator(SFSI('input[name="sfsi_ytube_user"]'),"blank"))return showErrorSuc("error","Error : Invalid youtube user ",2),SFSI('input[name="sfsi_ytube_user"]').addClass("inputError"),!1;if(sfsi_validator(SFSI('input[name="sfsi_pinterest_page"]'),"activte")&&sfsi_validator(SFSI('input[name="sfsi_pinterest_page"]'),"checked")&&!sfsi_validator(SFSI('input[name="sfsi_pinterest_pageUrl"]'),"blank"))return showErrorSuc("error","Error : Invalid pinterest page url ",2),SFSI('input[name="sfsi_pinterest_pageUrl"]').addClass("inputError"),!1;if(sfsi_validator(SFSI('input[name="sfsi_instagram_display"]'),"checked")&&!sfsi_validator(SFSI('input[name="sfsi_instagram_pageUrl"]'),"blank"))return showErrorSuc("error","Error : Invalid Instagram url ",2),SFSI('input[name="sfsi_instagram_pageUrl"]').addClass("inputError"),!1;if(sfsi_validator(SFSI('input[name="sfsi_linkedin_page"]'),"activte")&&sfsi_validator(SFSI('input[name="sfsi_linkedin_page"]'),"checked")&&!sfsi_validator(SFSI('input[name="sfsi_linkedin_pageURL"]'),"blank"))return showErrorSuc("error","Error : Invalid LinkedIn page url ",2),SFSI('input[name="sfsi_linkedin_pageURL"]').addClass("inputError"),!1;if(sfsi_validator(SFSI('input[name="sfsi_linkedin_recommendBusines"]'),"activte")&&sfsi_validator(SFSI('input[name="sfsi_linkedin_recommendBusines"]'),"checked")&&(!sfsi_validator(SFSI('input[name="sfsi_linkedin_recommendProductId"]'),"blank")||!sfsi_validator(SFSI('input[name="sfsi_linkedin_recommendCompany"]'),"blank")))return showErrorSuc("error","Error : Please Enter Product Id and Company for LinkedIn Recommendation ",2),SFSI('input[name="sfsi_linkedin_recommendProductId"]').addClass("inputError"),SFSI('input[name="sfsi_linkedin_recommendCompany"]').addClass("inputError"),!1;var r=0;return SFSI("input[name='sfsi_CustomIcon_links[]']").each(function(){sfsi_validator(SFSI(this),"blank")&&sfsi_validator(SFSI(SFSI(this)),"url")||(showErrorSuc("error","Error : Please Enter a valid Custom link ",2),SFSI(this).addClass("inputError"),r=1)}),!r}function sfsi_validationStep3(){return SFSI("input").removeClass("inputError"),sfsi_validator(SFSI('input[name="sfsi_shuffle_icons"]'),"activte")&&sfsi_validator(SFSI('input[name="sfsi_shuffle_icons"]'),"checked")&&!(sfsi_validator(SFSI('input[name="sfsi_shuffle_Firstload"]'),"activte")&&sfsi_validator(SFSI('input[name="sfsi_shuffle_Firstload"]'),"checked")||sfsi_validator(SFSI('input[name="sfsi_shuffle_interval"]'),"activte")&&sfsi_validator(SFSI('input[name="sfsi_shuffle_interval"]'),"checked"))?(showErrorSuc("error","Error : Please Chose a Shuffle option ",3),SFSI('input[name="sfsi_shuffle_Firstload"]').addClass("inputError"),SFSI('input[name="sfsi_shuffle_interval"]').addClass("inputError"),!1):sfsi_validator(SFSI('input[name="sfsi_shuffle_icons"]'),"checked")||!sfsi_validator(SFSI('input[name="sfsi_shuffle_Firstload"]'),"checked")&&!sfsi_validator(SFSI('input[name="sfsi_shuffle_interval"]'),"checked")?!(sfsi_validator(SFSI('input[name="sfsi_shuffle_interval"]'),"activte")&&sfsi_validator(SFSI('input[name="sfsi_shuffle_interval"]'),"checked")&&(!sfsi_validator(SFSI('input[name="sfsi_shuffle_intervalTime"]'),"blank")||!sfsi_validator(SFSI('input[name="sfsi_shuffle_intervalTime"]'),"int")))||(showErrorSuc("error","Error : Invalid shuffle time interval",3),SFSI('input[name="sfsi_shuffle_intervalTime"]').addClass("inputError"),!1):(showErrorSuc("error",'Error : Please check "Shuffle them automatically" option also ',3),SFSI('input[name="sfsi_shuffle_Firstload"]').addClass("inputError"),SFSI('input[name="sfsi_shuffle_interval"]').addClass("inputError"),!1)}function sfsi_validationStep4(){if(sfsi_validator(SFSI('input[name="sfsi_email_countsDisplay"]'),"activte")&&sfsi_validator(SFSI('input[name="sfsi_email_countsDisplay"]'),"checked")&&"manual"==SFSI('input[name="sfsi_email_countsFrom"]:checked').val()&&!sfsi_validator(SFSI('input[name="sfsi_email_manualCounts"]'),"blank"))return showErrorSuc("error","Error : Please Enter manual counts for Email icon ",4),SFSI('input[name="sfsi_email_manualCounts"]').addClass("inputError"),!1;if(sfsi_validator(SFSI('input[name="sfsi_rss_countsDisplay"]'),"activte")&&sfsi_validator(SFSI('input[name="sfsi_rss_countsDisplay"]'),"checked")&&!sfsi_validator(SFSI('input[name="sfsi_rss_manualCounts"]'),"blank"))return showErrorSuc("error","Error : Please Enter manual counts for Rss icon ",4),SFSI('input[name="sfsi_rss_countsDisplay"]').addClass("inputError"),!1;if(sfsi_validator(SFSI('input[name="sfsi_facebook_countsDisplay"]'),"activte")&&sfsi_validator(SFSI('input[name="sfsi_facebook_countsDisplay"]'),"checked")&&"manual"==SFSI('input[name="sfsi_facebook_countsFrom"]:checked').val()&&!sfsi_validator(SFSI('input[name="sfsi_facebook_manualCounts"]'),"blank")&&!sfsi_validator(SFSI('input[name="sfsi_facebook_manualCounts"]'),"url"))return showErrorSuc("error","Error : Please Enter a valid facebook manual counts ",4),SFSI('input[name="sfsi_facebook_manualCounts"]').addClass("inputError"),!1;if(sfsi_validator(SFSI('input[name="sfsi_twitter_countsDisplay"]'),"activte")&&sfsi_validator(SFSI('input[name="sfsi_twitter_countsDisplay"]'),"checked")){if("source"==SFSI('input[name="sfsi_twitter_countsFrom"]:checked').val()){if(!sfsi_validator(SFSI('input[name="tw_consumer_key"]'),"blank"))return showErrorSuc("error","Error : Please Enter a valid consumer key",4),SFSI('input[name="tw_consumer_key"]').addClass("inputError"),!1;if(!sfsi_validator(SFSI('input[name="tw_consumer_secret"]'),"blank"))return showErrorSuc("error","Error : Please Enter a valid consume secret ",4),SFSI('input[name="tw_consumer_secret"]').addClass("inputError"),!1;if(!sfsi_validator(SFSI('input[name="tw_oauth_access_token"]'),"blank"))return showErrorSuc("error","Error : Please Enter a valid oauth access token",4),SFSI('input[name="tw_oauth_access_token"]').addClass("inputError"),!1;if(!sfsi_validator(SFSI('input[name="tw_oauth_access_token_secret"]'),"blank"))return showErrorSuc("error","Error : Please Enter a oAuth access token secret",4),SFSI('input[name="tw_oauth_access_token_secret"]').addClass("inputError"),!1}if("manual"==SFSI('input[name="sfsi_linkedIn_countsFrom"]:checked').val()&&!sfsi_validator(SFSI('input[name="sfsi_twitter_manualCounts"]'),"blank"))return showErrorSuc("error","Error : Please Enter Twitter manual counts ",4),SFSI('input[name="sfsi_twitter_manualCounts"]').addClass("inputError"),!1}if(sfsi_validator(SFSI('input[name="sfsi_linkedIn_countsDisplay"]'),"activte")&&sfsi_validator(SFSI('input[name="sfsi_linkedIn_countsDisplay"]'),"checked")){if("follower"==SFSI('input[name="sfsi_linkedIn_countsFrom"]:checked').val()){if(!sfsi_validator(SFSI('input[name="ln_company"]'),"blank"))return showErrorSuc("error","Error : Please Enter a valid company name",4),SFSI('input[name="ln_company"]').addClass("inputError"),!1;if(!sfsi_validator(SFSI('input[name="ln_api_key"]'),"blank"))return showErrorSuc("error","Error : Please Enter a valid API key ",4),SFSI('input[name="ln_api_key"]').addClass("inputError"),!1;if(!sfsi_validator(SFSI('input[name="ln_secret_key"]'),"blank"))return showErrorSuc("error","Error : Please Enter a valid secret ",4),SFSI('input[name="ln_secret_key"]').addClass("inputError"),!1;if(!sfsi_validator(SFSI('input[name="ln_oAuth_user_token"]'),"blank"))return showErrorSuc("error","Error : Please Enter a oAuth Access Token",4),SFSI('input[name="ln_oAuth_user_token"]').addClass("inputError"),!1}if("manual"==SFSI('input[name="sfsi_linkedIn_countsFrom"]:checked').val()&&!sfsi_validator(SFSI('input[name="sfsi_linkedIn_manualCounts"]'),"blank"))return showErrorSuc("error","Error : Please Enter LinkedIn manual counts ",4),SFSI('input[name="sfsi_linkedIn_manualCounts"]').addClass("inputError"),!1}if(sfsi_validator(SFSI('input[name="sfsi_youtube_countsDisplay"]'),"activte")&&sfsi_validator(SFSI('input[name="sfsi_youtube_countsDisplay"]'),"checked")){if("subscriber"==SFSI('input[name="sfsi_youtube_countsFrom"]:checked').val()&&!sfsi_validator(SFSI('input[name="sfsi_youtube_user"]'),"blank"))return showErrorSuc("error","Error : Please Enter a youtube user name",4),SFSI('input[name="sfsi_youtube_user"]').addClass("inputError"),!1;if("manual"==SFSI('input[name="sfsi_youtube_countsFrom"]:checked').val()&&!sfsi_validator(SFSI('input[name="sfsi_youtube_manualCounts"]'),"blank"))return showErrorSuc("error","Error : Please Enter youtube manual counts ",4),SFSI('input[name="sfsi_youtube_manualCounts"]').addClass("inputError"),!1}if(sfsi_validator(SFSI('input[name="sfsi_pinterest_countsDisplay"]'),"activte")&&sfsi_validator(SFSI('input[name="sfsi_pinterest_countsDisplay"]'),"checked")&&"manual"==SFSI('input[name="sfsi_pinterest_countsFrom"]:checked').val()&&!sfsi_validator(SFSI('input[name="sfsi_pinterest_manualCounts"]'),"blank"))return showErrorSuc("error","Error : Please Enter Pinterest manual counts ",4),SFSI('input[name="sfsi_pinterest_manualCounts"]').addClass("inputError"),!1;if(sfsi_validator(SFSI('input[name="sfsi_instagram_countsDisplay"]'),"activte")&&sfsi_validator(SFSI('input[name="sfsi_instagram_countsDisplay"]'),"checked")){if("manual"==SFSI('input[name="sfsi_instagram_countsFrom"]:checked').val()&&!sfsi_validator(SFSI('input[name="sfsi_instagram_manualCounts"]'),"blank"))return showErrorSuc("error","Error : Please Enter Instagram manual counts ",4),SFSI('input[name="sfsi_instagram_manualCounts"]').addClass("inputError"),!1;if("followers"==SFSI('input[name="sfsi_instagram_countsFrom"]:checked').val()&&!sfsi_validator(SFSI('input[name="sfsi_instagram_User"]'),"blank"))return showErrorSuc("error","Error : Please Enter a instagram user name",4),SFSI('input[name="sfsi_instagram_User"]').addClass("inputError"),!1}return!0}function sfsi_validationStep5(){return sfsi_validator(SFSI('input[name="sfsi_icons_size"]'),"int")?parseInt(SFSI('input[name="sfsi_icons_size"]').val())>100?(showErrorSuc("error","Error : Icons Size allow  100px maximum ",5),SFSI('input[name="sfsi_icons_size"]').addClass("inputError"),!1):parseInt(SFSI('input[name="sfsi_icons_size"]').val())<=0?(showErrorSuc("error","Error : Icons Size should be more than 0 ",5),SFSI('input[name="sfsi_icons_size"]').addClass("inputError"),!1):sfsi_validator(SFSI('input[name="sfsi_icons_spacing"]'),"int")?parseInt(SFSI('input[name="sfsi_icons_spacing"]').val())<0?(showErrorSuc("error","Error : Icons Spacing should be 0 or more",5),SFSI('input[name="sfsi_icons_spacing"]').addClass("inputError"),!1):sfsi_validator(SFSI('input[name="sfsi_icons_perRow"]'),"int")?!(parseInt(SFSI('input[name="sfsi_icons_perRow"]').val())<=0)||(showErrorSuc("error","Error : Icons Per row should be more than 0",5),SFSI('input[name="sfsi_icons_perRow"]').addClass("inputError"),!1):(showErrorSuc("error","Error : Please enter a numeric value only ",5),SFSI('input[name="sfsi_icons_perRow"]').addClass("inputError"),!1):(showErrorSuc("error","Error : Please enter a numeric value only ",5),SFSI('input[name="sfsi_icons_spacing"]').addClass("inputError"),!1):(showErrorSuc("error","Error : Please enter a numeric value only ",5),SFSI('input[name="sfsi_icons_size"]').addClass("inputError"),!1)}function sfsi_validationStep7(){return sfsi_validator(SFSI('input[name="sfsi_popup_border_thickness"]'),"int")?sfsi_validator(SFSI('input[name="sfsi_popup_fontSize"]'),"int")?"once"!=SFSI('input[name="sfsi_Shown_pop"]:checked').val()||sfsi_validator(SFSI('input[name="sfsi_Shown_popupOnceTime"]'),"blank")||sfsi_validator(SFSI('input[name="sfsi_Shown_popupOnceTime"]'),"url")?"selectedpage"!=SFSI('input[name="sfsi_Show_popupOn"]:checked').val()||sfsi_validator(SFSI('input[name="sfsi_Show_popupOn"]'),"blank")?sfsi_validator(SFSI('input[name="sfsi_icons_spacing"]'),"int")?!!sfsi_validator(SFSI('input[name="sfsi_icons_perRow"]'),"int")||(showErrorSuc("error","Error : Please enter a numeric value only ",7),SFSI('input[name="sfsi_icons_perRow"]').addClass("inputError"),!1):(showErrorSuc("error","Error : Please enter a numeric value only ",7),SFSI('input[name="sfsi_icons_spacing"]').addClass("inputError"),!1):(showErrorSuc("error","Error : Please Enter page ids with comma  ",7),SFSI('input[name="sfsi_Show_popupOn"]').addClass("inputError"),!1):(showErrorSuc("error","Error : Please Enter a valid pop up shown time ",7),SFSI('input[name="sfsi_Shown_popupOnceTime"]').addClass("inputError"),!1):(showErrorSuc("error","Error : Please enter a numeric value only ",7),SFSI('input[name="sfsi_popup_fontSize"]').addClass("inputError"),!1):(showErrorSuc("error","Error : Please enter a numeric value only ",7),SFSI('input[name="sfsi_popup_border_thickness"]').addClass("inputError"),!1)}function sfsi_validator(r,s){var a=new RegExp("^(http|https|ftp)://([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&amp;%$-]+)*@)*((25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]).(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0).(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0).(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[0-9])|([a-zA-Z0-9-]+.)*[a-zA-Z0-9-]+.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(/($|[a-zA-Z0-9.,?'\\+&amp;%$#=~_-]+))*$");switch(s){case"blank":return!!r.val().trim();case"url":return!!a.test(r.val().trim());case"checked":return!0!=!r.attr("checked");case"activte":return!r.attr("disabled");case"int":return!isNaN(r.val())}}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists