Warning! We are currently in recovery mode. The complete archive is not available.

Sample details: 665099ae2bf894588f4d5a10dfb401b4 --

Hashes
MD5: 665099ae2bf894588f4d5a10dfb401b4
SHA1: f0e8127b10bcbf15d78ae8c4fa1204a6ccf7c842
SHA256: 9115bee5ebd872f77fadefad9c85ea7192c84a716da9fd5d58073edc883b5ee2
SSDEEP: 1536:+iP/e2mUzBYPjteuQahhVxCak3Z84ptXOsOKTsCMnsN:QYBYsAVvk3ZZ
Details
File Type: HTML
Yara Hits
Source
https://file.fm/down.php?cf&i=7pnvf2d6&n=8950003198.xls
Strings
		<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html id="adaptive_html" xmlns="http://www.w3.org/1999/xhtml" lang="EN">
<head>
		<meta name="globalsign-domain-verification" content="WVoCXGP9WWz7ZO3hqGZASmZCYQ2jhO7WxIRwsepEgV" />
<meta name="theme-color" content="#2b3d52">
<title>File upload, sharing and cloud backup online service.</title>
<meta name="keywords" content="ftp file upload, file hosting, android, file cloud, cloud storage, file sharing, failu glab
ana, bil
u hostings, bil
u apmai
a, failu apmai
a, failu serveris, failu koplieto
ana, failu rezerves kopijas, failu backup, file hosting, file sharing, file exchange, file storage, image hosting, file upload, files, file share, web file hosting, internet file storage, image upload, free upload, photo sharing, online photo gallery, photos online, data backup, online backup" />
        <meta property="og:title"
              content="File upload, sharing and cloud backup online service."/>
        <meta property="og:description"
              content="File upload and Sharing service. Store, Share or Sell content: photos, videos, music or other files. Free signup. P2P player support. Encrypted backups. password links."/>
        <meta name="description"
              content="File upload and Sharing service. Store, Share or Sell content: photos, videos, music or other files. Free signup. P2P player support. Encrypted backups. password links."/>
        <meta property="og:image" itemprop="image" content="https://files.fm/images/files.fm-fb.png?v=2"/>
        <meta property="og:url" content="https://files.fm"/>
        <meta property="og:site_name" content="Files.Fm"/>
    			<base href="https://file.fm/" />
			<meta name="verify-v1" content="4MHpv5CF+UNp34oMIZOxnVwoSslLpr+5GPkxFp94Wq8=" />
			<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
			<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
			<meta http-equiv="Content-Script-Type" content="text/javascript" />
<link rel="stylesheet" type="text/css" media="all" href="/css/reset.css?v=1429376391" /><link rel="stylesheet" type="text/css" media="all" href="/css/global.css?v=1540462791" /><link rel="stylesheet" type="text/css" media="all" href="/css/header.css?v=1543405438" />
                <script type="text/javascript" src="/js/jquery-1.12.2.min.js?v=1458758350"></script>
                <script type="text/javascript" src="/js/jquery-migrate-1.3.0.js?v=1459008995"></script>
                <script type="text/javascript" src="/js/JSON/json2.js?v=1429376364"></script>
                <script type="text/javascript" src="/js/JSON/cycle.js?v=1429376364"></script>			<script type="text/javascript" src="/error_handler_client?v=4"></script>
			<link rel="icon" type="image/png" href="/images/cloud.png" />
			<script type="text/javascript">
				var DOMAIN_NAME = 'file.fm';
				// capitalize first letter of domain
                DOMAIN_NAME = DOMAIN_NAME.charAt(0).toUpperCase() + DOMAIN_NAME.slice(1);
				var lang_code = 'EN';
				var DOCUMENT_IS_LOADED = false;
				var MMVD = false;
				var STDT = new Date().getTime();
				var WEB_ROOT_PATH = '';
				var FB_APP_ID = '207718929807920';
				$(function(){
					DOCUMENT_IS_LOADED=true
                    var intScrollTop = $('html').scrollTop();
					intScrollTop = Math.max(intScrollTop, $('body').scrollTop());
                    if ( intScrollTop > 0 )
                    {
                        $('body').addClass('scrolled');
                    }
                    
                    $(window).on('scroll', function (){
                        
                        var intScrollTop = $('html').scrollTop();
                        intScrollTop = Math.max(intScrollTop, $('body').scrollTop());
                        
                        if ( intScrollTop > 0 )
                        {
                            $('body').addClass('scrolled');
                        }
                        else
                        {
                            $('body').removeClass('scrolled');
                        }
                    });
					$( document ).mousemove( function( event )
					{
						if ( ! MMVD )
						{
							if ( ( ( new Date().getTime() ) - STDT ) > 1000 )
							{
								MMVD = true;
							}
						}
					});
				});
				function changeLanguage(strLangCode, strTitle)
					var strUrl = '';
					switch (strLangCode)
					{
						case 'lv':
                            strUrl = 'https://failiem.lv/u/deleted';
                            break;
						case 'en':
                            strUrl = 'https://files.fm/u/deleted';
                            break;
						case 'ru':
                            strUrl = 'https://ru.files.fm/u/deleted';
                            break;
						case 'de':
                            strUrl = 'https://de.files.fm/u/deleted';
                            break;
						case 'fi':
                            strUrl = 'https://fi.files.fm/u/deleted';
                            break;
                        case 'es':
                            strUrl = 'https://es.files.fm/u/deleted';
                            break;
                        case 'ko':
                            strUrl = 'https://ko.files.fm/u/deleted';
                            break;
					}
					window.location = strUrl + WEB_ROOT_PATH;// + '?lng='+strLangCode;
					$('.language_dropdown .activator SPAN').each(function (){
						var img = $('IMG', this).clone();
						$(this).html(strTitle + ' ').append(img);
					});
					hidePopups();
				function gaev(strCategory, strAction, strLabel) {
					if (typeof _gaq != 'undefined') {
						_gaq.push(['_trackEvent', strCategory, strAction, strLabel]);
					};
				function printAdwordsConversion(strIframeName) {
					var  iframe = document.createElement('iframe');
					iframe.style.width = '0px';
					iframe.style.height = '0px';
					document.body.appendChild(iframe);
					iframe.src = 'https://file.fm/server_scripts/google_adwords/'+ strIframeName +'.php';
			</script>
			<script type="text/javascript">
				var IS_MOBILE = false;
			</script>
			<!-- IE less than 9 -->
			<!--[if lt IE 9]>
				<script type="text/javascript" src="./js/html5.js"></script>
				<script type="text/javascript" src="./js/css3-mediaqueries.js"></script>
			<![endif]-->
  <script type="text/javascript">  	var tb_lang = new Object();  	tb_lang["close"] = "Close";  	tb_lang["or_esc_key"] = "or press the Esc key";  </script>
			<script type="text/javascript" src="video/jwplayer5/jwplayer.js"></script>
			<script type="text/javascript">jwplayer.key="G0U3ercxdKOuAtGEaOYsJIdu58tcRX7mLLh8lA=="</script>
			<script type="text/javascript">
				Math._round = function(number, precision)
					precision = Math.abs(parseInt(precision)) || 0;
					var coefficient = Math.pow(10, precision);
					return Math.round(number*coefficient)/coefficient;
				function file_size_format (filesize, intPrecision) {
				    
				    if (typeof(intPrecision) == 'undefined' || intPrecision==null)
				        intPrecision = 2;
				    
					if (filesize >= 1073741824)
					{
						filesize = Math._round(filesize / 1073741824, 2).toFixed(intPrecision) + '&nbsp;GB';
					}
					else
					{
						if (filesize >= 1048576)
						{
							filesize = Math._round(filesize / 1048576, 2).toFixed(intPrecision) + '&nbsp;MB';
						}
						else
						{
							if (filesize >= 1024)
							{
								filesize = Math._round(filesize / 1024, 0).toFixed(intPrecision) + '&nbsp;KB';
							}
							else
							{
								filesize = filesize + '&nbsp;B';
							};
						};
					};
					return filesize;
				};
			</script>
						<link rel="alternate" hreflang="lv" href="https://failiem.lv/u/deleted" />						<link rel="alternate" hreflang="ru" href="https://ru.files.fm/u/deleted" />			<link rel="alternate" hreflang="de" href="https://de.files.fm/u/deleted" />			<link rel="alternate" hreflang="fi" href="https://fi.files.fm/u/deleted" />			<link rel="alternate" hreflang="es" href="https://es.files.fm/u/deleted" />			<link rel="alternate" hreflang="ko" href="https://ko.files.fm/u/deleted" />			<script type="text/javascript">
    /**
     * @param strEmails - one or more emails delimited with ","
     * @param bolIsSingleEmail - is strEmails only one email
     */
    function EmailValidator(strEmails, bolIsSingleEmail)
        this.state = EmailValidator.states.READY;
        this.strSuggestedEmails = "";
        this.strEmails = strEmails.trim();
        this.strNoMxEmails = "";
        this.strInputID = "";
        this.bolIsSingleEmail = bolIsSingleEmail;
        // set default invalid cb
        this.setOnInvalidCB(function(){});
        this.strErrorClass = "has-error";
    EmailValidator.regexTest = function(email) 
        var re = /^(([^<>()[\]\\.,;:\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,}))$/;
        return re.test(email);
    };
    //<editor-fold desc="Setters">
    /**
     * this.onValidCB and this.onInvalidCB and this.setOnSuggestionCB execution order:
     *  1. remove this.strErrorClass from this.strInputID
     *  2. show or hide modal - only for onInvalid and onValid
     *  3. run callback
     */
    EmailValidator.prototype.setOnValidCB = function (onValidCB)
        this.onValidCB = applyTo(this, function ()
        {
            if (this.strModalID && $('#' + this.strModalID).css('opacity') == 0)
            {
                showModal(this.strModalID);
            }
            this.removeClassFromInput();
            onValidCB();
        });
        return this;
    };
    EmailValidator.prototype.setOnInvalidCB = function (onInvalidCB)
        this.onInvalidCB = applyTo(this, function ( strInvalidEmails)
        {
            if( typeof strInvalidEmails === 'undefined' )
            {
                strInvalidEmails =  '';
            }
            
            if (this.strModalID && $('#' + this.strModalID).css('opacity') == 0)
            {
                showModal(this.strModalID);
            }
            this.addErrorClassToInput();
            onInvalidCB(strInvalidEmails);
        });
        return this;
    };
    EmailValidator.prototype.setOnSuggestionCB = function (onSuggestionCB)
        this.revalidate = function ()
        {
            this.addErrorClassToInput();
            onSuggestionCB();
        };
        return this;
    };
    EmailValidator.prototype.setModalID = function (strModalID)
        this.strModalID = strModalID;
        return this;
    };
    EmailValidator.prototype.setInputID = function (strInputID)
        this.strInputID = strInputID;
        return this;
    };
    EmailValidator.prototype.setErrorClass = function (strErrorClass)
        this.strErrorClass = strErrorClass;
        return this;
    };
    //</editor-fold>
    EmailValidator.prototype.onTooManyEmails = function () 
        fError("You cannot send more than 5 emails at one time.", "", "OK", applyTo(this, this.onInvalidCB));
    };
    /**
     * adds this.strErrorClass to element with ID this.strInputID
     */
    EmailValidator.prototype.addErrorClassToInput = function ()
        if (this.strInputID)
        {
            $("#" + this.strInputID).addClass(this.strErrorClass);
        }
    };
    /**
     * removes this.strErrorClass from element with ID this.strInputID
     */
    EmailValidator.prototype.removeClassFromInput = function ()
        if (this.strInputID)
        {
            $("#" + this.strInputID).removeClass(this.strErrorClass);
        }
    };
    EmailValidator.prototype.run = function ()
        if(this.strEmails === "") 
        {
            this.state = EmailValidator.states.INVALID;
            this.onInvalidCB();
            return;
        }
        
        // onValid, onInvalid and strEmails are necessary!
        if (!this.onValidCB || !this.onInvalidCB)
        {
            throw new Error("EmailValidator is missing essential data!");
        }
        
        var emails;
        // check if not over allowed email count
        if( !this.bolIsSingleEmail )
        {
            emails = this.strEmails.split(",");
            if( emails.length > 50 ) {
                this.state = EmailValidator.states.TOO_MANY_EMAILS;
                this.onTooManyEmails();
                return;
            }
        }
        else
        {
            emails = [ this.strEmails ];
        }
        // test emails against email regex before posting them
        for (var i in emails)
        {
            if ( emails.hasOwnProperty(i) && !EmailValidator.regexTest( emails[i].trim() ) )
            {
                this.state = EmailValidator.states.INVALID;
                this.onInvalidCB( emails[i].trim() );
                return;
            }
        }
        this.state = EmailValidator.states.RUNNING;
        $.post('/chkMail.php', {'q': this.strEmails}, applyTo(this, this.onResponse));
    };
    EmailValidator.prototype.onResponse = function (data)
        var arrReturn = JSON.parse(data);
        if (arrReturn['result'] === 0)
        {
            this.state = EmailValidator.states.VALID;
            this.onValidCB(this);
        }
        else if(arrReturn['result'] === EmailValidator.states.INVALID) 
        {
            this.state = EmailValidator.states.INVALID;
            this.onInvalidCB();
        }
        else if (arrReturn['result'] === 2)
        {
            this.strSuggestedEmails = arrReturn['suggest'];
            if (arrReturn['no_mx'])
            {
                this.strNoMxEmails = arrReturn['no_mx'];
                this.state = EmailValidator.states.MISSING_MX_RECORDS;
            }
            else
            {
                this.state = EmailValidator.states.POSSIBLE_TYPO;
            }
            // this calls onSuggestionCB
            this.revalidate();
        }
        else if (arrReturn['result'] === 4)
        {
            this.state = EmailValidator.states.TOO_MANY_EMAILS;
            this.onTooManyEmails();
        }
    };
    EmailValidator.prototype.revalidate = function ()
        // add typo suggestions and emails with no mx records to string
        var strMsg = '';
        if (this.strSuggestedEmails !== '')
        {
            strMsg += "Did you mean:";
            strMsg += " " + this.strSuggestedEmails + "?\n";
        }
        if (this.strNoMxEmails !== '')
        {
            if(this.bolIsSingleEmail)
            {
                strMsg += "It
s possible that this e-mail address is incorrect:"
            }
            else 
            {
                strMsg += "These e-mail addresses might be invalid:"
            }
            
            strMsg += " " + this.strNoMxEmails + ".\n";
        }
        if(this.bolIsSingleEmail)
        {
            strMsg += "Please verify that the entered e-mail is correct. If it is correct, press OK.";
        }
        else 
        {
            strMsg += "Please verify that the entered e-mails are correct! If all e-mails are correct, press OK.";
        }
        this.addErrorClassToInput();
        // hide the original modal to avoid overlapping
        if (this.strModalID && $('#'+this.strModalID).css('opacity') == 1)
        {
            hideModal(this.strModalID);
        }
        fConfirm(
            strMsg,
            "Potential error",
            "OK",
            "Cancel",
            applyTo(this, function ( bolResult)
            {
                // execute onInvalid only if user declines
                if (bolResult === false)
                {
                    this.state = EmailValidator.states.INVALID;
                    this.onInvalidCB();
                }
            }),
            applyTo(this, function ()
            {
                this.state = EmailValidator.states.ACCEPTED_TYPO;
                this.onValidCB();
            }, this)
        );
    };
    EmailValidator.prototype.isSubmittable = function ()
        return [EmailValidator.states.VALID, EmailValidator.states.ACCEPTED_TYPO].indexOf(this.state) !== -1;
    };
    EmailValidator.states = {
        READY: -2,              // initial state
        RUNNING: -1,            // request has started and server has not responded yet
        // => onValidCB
        VALID: 0,
        // => onInvalidCB
        INVALID: 1,
        // => revalidate => onSuggestionCB
        POSSIBLE_TYPO: 2,       // there are typos in the submitted emails
        MISSING_MX_RECORDS: 3,  // some emails have missing mx records
        TOO_MANY_EMAILS: 4,     // too many emails are submitted
        // => revalidate => onSuggestionCB (clicked OK) => onValid 
        ACCEPTED_TYPO: 5        // typo was spotted but user dismissed it
    };
    // the function is defined in functions.js, but because this script is included in bergafoto, lets check to make sure.
    if ( typeof applyTo !== 'function' )
        /**
         * Magic function that makes vanilla JS objects usable
         *  - execute fn in the context of $this with passed parameters
         *  - you can also pass parameters to the fn that is returned, they will be added to the fn call
         * @param $this - Object scope
         * @param fn - Object method to execute
         * @param var1 - first parameter to be passed to fn
         * @returns {Function}
         */
        window.applyTo = function( $this, fn, var1 )
        {
            if ( !$this )
            {
                throw new Error( "Invalid usage of closure function, scope must be defined." );
            }
        
            if ( !fn )
            {
                throw new Error( "Invalid usage of closure function, fn must be defined." );
            }
        
            var finalArgs = [];
        
            // skip first 3 arguments (callee, $this, fn)
            for ( var i = 2; i < arguments.length; ++i )
            {
                // add to list of args
                finalArgs.push( arguments[ i ] );
            }
        
            return function ()
            {
                // add all arguments
                for ( var i = 0; i < arguments.length; ++i )
                {
                    finalArgs.push( arguments[ i ] );
                }
            
                // first arguments will be the ones passed to closure, then the ones passed to this function
                return fn.apply( $this, finalArgs );
            };
        }
</script><link rel="stylesheet" type="text/css" media="all" href="/bootstrap/css/dropdown.css?v=1536455916" /><link rel="stylesheet" type="text/css" media="all" href="/css/global_facelift.css?v=1536456143" /><link rel="stylesheet" type="text/css" media="all" href="/css/inputs.css?v=1536456142" /><link rel="stylesheet" type="text/css" media="all" href="/js/jquery-ui-1.11.4.custom/jquery-ui.min.css?v=1458758345" /><link rel="stylesheet" type="text/css" media="all" href="/css/thickbox.css?v=1429376391" /><link rel="stylesheet" type="text/css" media="all" href="/css/modal.css?v=1540545241" /><link rel="stylesheet" type="text/css" media="all" href="/css/font-awesome-new/css/font-awesome.min.css?v=1457012322" /><link rel="stylesheet" type="text/css" media="all" href="/css/font-awesome-pro/css/fa-light.css?v=1521317600" /><link rel="stylesheet" type="text/css" media="all" href="/css/font-awesome-pro/css/fontawesome.min.css?v=1521317600" /><link rel="stylesheet" type="text/css" media="all" href="/css/alert.css?v=1544440739" /><link rel="stylesheet" type="text/css" media="all" href="/js/FlexSlider/flexslider.css?v=1429376370" /><link rel="stylesheet" type="text/css" media="all" href="/css/info_slider.css?v=1455794632" />
                <script type="text/javascript" src="/js/jquery.cookie.js?v=1429376362"></script>
                <script type="text/javascript" src="/js/jquery-ui-1.11.4.custom/jquery-ui.min.js?v=1458758349"></script>
                <script type="text/javascript" src="/js/global.js?v=1536674184"></script>
                <script type="text/javascript" src="/js/info_tooltips.js?v=1534147122"></script>
                <script type="text/javascript" src="/js/share_functions.js?v=1486841181"></script>
                <script type="text/javascript" src="/js/jquery-ui-1.11.4.custom/jquery-ui.min.js?v=1458758349"></script>
                <script type="text/javascript" src="/js/ajax2_norm.js?v=1429376364"></script>
                <script type="text/javascript" src="/js/dom_table.js?v=1429376366"></script>
                <script type="text/javascript" src="/js/event.js?v=1429376370"></script>
                <script type="text/javascript" src="/js/functions.js?v=1549878640"></script>
                <script type="text/javascript" src="/js/thickbox.js?v=1429376368"></script>
                <script type="text/javascript" src="/js/modal.js?v=1544441792"></script>
                <script type="text/javascript" src="/js/alert.js?v=1487078178"></script>
                <script type="text/javascript" src="/js/FlexSlider/jquery.flexslider.js?v=1429376370"></script>		</head>
				<body class="lang_en use_vh full-width" >
<script type="text/javascript">
	$( window ).bind( 'load', function()
		if	( window.location.search === '?coupon' || window.location.search === "?kupons" ) 
			showCreateAccount();
            adaptFormForCoupon();
        }
</script>
			<div id="container" class="filesfm">
			<noscript>
				<table class="alert_container alert_container_danger" style="display: block">
					<tr>
						<td>
							<i class="fa fa-exclamation-circle"></i>
						</td>
						<td>
							<div class="alert_main_text">
								Your browser does not support Javascript. To use this page turn on JavaScript or use another browser.							</div>
						</td>
					</tr>
				</table>
			</noscript>
<header id="header" class="overflow-hidden">
    <nav>
        <div class="container">
            <div class="nav-left">
            	
            	                <a class="navbar-brand menu-link" onclick="gaev('HeaderClick', 'Logo', '');"  href="/">
                <img class="logo" alt="Files.fm" src="/images/logo/filesfm_logo_full.svg" />                </a>
                                <button data-skip-hide-popups="1" id="navbar-toggler" class="navbar-toggler collapsed" type="button" data-toggle="collapse" data-target="#mega-menu" aria-controls="mega-menu" aria-expanded="false" aria-label="Toggle menu">
                    <img src="/images/header/grid.svg" data-skip-hide-popups="1" />
                </button>
            </div>
            <div class="navbar" id="main-nav">
                <ul>
                    <li class="" data-priority="2">
                        <a href="/" onclick="gaev('HeaderClick', 'Start_upload', ''); hidePopups();" class="nav-link">
                            Upload                        </a>
                    </li>
                    
                            
        
                    <li class="nav-right nav-button" data-priority="2">
                        <a href="/storage-plans" onclick="gaev('HeaderClick', 'Storage_plans_and_prices', '');" class="nav-link">
                            Features and pricing                        </a>
                    </li>
                    <li class="nav-right" data-priority="1">
                        <div>
                            <a href="javascript:void(0);" onclick="gaev('HeaderClick', 'Sign_up', ''); showCreateAccount(); return false;" id="signup" title="">Sign up</a>
                        </div>
                    </li>
                    <li class="nav-right" data-priority="0">
                        <div id="login">
                            <a href="javascript:void(0);" onclick="gaev('HeaderClick', 'Log_in', ''); showSignIn(); return false;" id="login_button">Log in<img src="/images/header/sign-in.svg" /></a>
                        </div>
                    </li>
					                    <li class="nav-right dropdown-menu-container" id="lang_switch" data-priority="1">
                        <span class="dropdown-toggle" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" onclick="gaev('HeaderClick', 'Lang_switch', 'Text');">English</span>
                        <div class="dropdown-menu dropdown-menu-right">
                            <a class="dropdown-item" href="javascript:changeLanguage('en', 'EN');"><span>English</span></a>
                            <a class="dropdown-item" href="javascript:changeLanguage('de', 'DE');"><span>Deutsch</span></a>
                            <a class="dropdown-item" href="javascript:changeLanguage('fi', 'FI');"><span>Suomi</span></a>
<!--                            <a class="dropdown-item" href="javascript:changeLanguage('es', 'ES');"><span>Espa
ol</span></a>-->
<!--                            <a class="dropdown-item" href="javascript:changeLanguage('ko', 'KO');"><span>
</span></a>-->
                            <a class="dropdown-item" href="javascript:changeLanguage('ru', '
');"><span>
</span></a>
                            <a class="dropdown-item" href="javascript:changeLanguage('lv', 'LV');"><span>Latvie
u</span></a>
                        </div>
                    </li>
                    
                </ul>
            </div>
            <script type="text/javascript">
                function addAnonymousUploads()
                {
                    var addUploads = confirm('Would you like to add the uploads made from this computer anonymously to your account?');
                    if (addUploads == true)
                    {
                        $('.add_anonym_uplaods').val('1');
                    }
                }
            </script>
            <script src="/js/Captcha/Google/LazyGoogleReCaptchaV2.js"></script>
            <script>
                objLazyGoogleReCaptchaV2.strLanguageKey = "en";
                objLazyGoogleReCaptchaV2.strSiteKey = "6LflqXQUAAAAAP2CM782IqIgjzooEt9soXTCwxX2";
            </script>
<link rel="stylesheet" type="text/css" media="all" href="/css/sign_in_form.css?v=10" />
<style>
</style>
<section id="sign-in" class="modal-container" tabindex="-1" role="dialog" aria-labelledby="modal-label" aria-hidden="true" style="display:none">
	<div class="modal-inner">
		<!-- START : Header -->
		<div id="sign-in-header">
			<span id="createaccount-header" onclick="if( !$('#createaccount-modal-content').is(':visible')) showCreateAccount(); return false;">
				Sign up			</span>
			<span id="signin-header" onclick="if( !$( '#signin-modal-content' ).is( ':visible' ) ) showSignIn(); return false;">
				Log in				<img id="signin-header_icon_inactive" src="/images/signup_form/log_in.svg">
				<img id="signin-header_icon_active" src="/images/signup_form/log_in_blue.svg">
			</span>
			<i id="sign-in-header_close" class="fa fa-times-circle" onclick="hideModal('sign-in')"></i>
		</div>
		<!-- END : Header -->
		<!-- START : Create account form -->
		<div id="createaccount-modal-content" class="modal-content">
			<!-- START : Social create account -->
			<div class="signin-modal-content-social">
				<div class="signin-modal-content-social-title">Sign up with:</div>
				<div class="signin-modal-content-social-buttons-container">
					<div class="fb_button social_login_button" onclick="checkSocialLogin('facebook');">
						<img src="/images/signup_form/facebook.svg">
						<span>Facebook</span>
					</div>
					<div class="standard_button google_button social_login_button" onclick="checkSocialLogin('google');">
						<img src="/images/signup_form/google.svg">
						<span>Google</span>
					</div>
					<div class="justify_el"></div>
				</div>
			</div>
			<!-- END : Social create account -->
			<div class="or-delimiter">
				or			</div>
			<!-- START : Simple create account -->
			<div id="createaccount-simple-container">
                <div id="register_coupon_code">
                    <div class="createaccount-input-container">
                        <input id="register_coupon_code_input" name="coupon_code" type="text" placeholder="Coupon code" />
                    </div>
                    <div class="createaccount-input-container"></div>
                </div>
                    
                <div class="no-coupon-link">
                    <a href="" onclick="revertFormFromCoupon(); return false">I do not have a coupon code 
                </div>
                
                <div class="createaccount-input-container">
					<input id="createaccount_name" name="createaccount_name" type="text" autocomplete="off" placeholder="First name"  />
				</div>
				<div class="createaccount-input-container">
					<input id="createaccount_surname" name="createaccount_surname" type="text" autocomplete="off" placeholder="Last name"  />
				</div>
				<div class="createaccount-input-container">
					<input id="createaccount_email" name="createaccount_email" type="email" autocomplete="off" placeholder="E-mail"  onchange="createUsername(this.value);" />
				</div>
				<div class="createaccount-input-container">
					<input id="createaccount_password" name="createaccount_password" type="password" autocomplete="off" placeholder="Password">
				</div>
				<div class="justify_el"></div>
				<div id="business_account_chechbox_container">
					<input id="create_business_account" type="checkbox" onchange="toggleCreateBusinessAccount()">
					<label for="create_business_account">I would like to use Business version and learn more</label>
				</div>
				<div id="create_business_account_container">
					<input id="createaccount_company_name" name="createaccount_company_name" type="text" autocomplete="off" placeholder="Company name" />
					<input id="createaccount_company_phone" name="createaccount_company_phone" type="text" autocomplete="off" placeholder="Phone number" />
					<select name="createaccount_company_country" id="createaccount_company_country">
						<option value="">Country</option>
							<option value="Afghanistan" >Afghanistan</option>
							<option value="Albania" >Albania</option>
							<option value="Algeria" >Algeria</option>
							<option value="American Samoa" >American Samoa</option>
							<option value="Andorra" >Andorra</option>
							<option value="Angola" >Angola</option>
							<option value="Anguilla" >Anguilla</option>
							<option value="Antarctica" >Antarctica</option>
							<option value="Antigua and Barbuda" >Antigua and Barbuda</option>
							<option value="Argentina" >Argentina</option>
							<option value="Armenia" >Armenia</option>
							<option value="Aruba" >Aruba</option>
							<option value="Australia" >Australia</option>
							<option value="Austria" >Austria</option>
							<option value="Azerbaijan" >Azerbaijan</option>
							<option value="Bahamas" >Bahamas</option>
							<option value="Bahrain" >Bahrain</option>
							<option value="Bangladesh" >Bangladesh</option>
							<option value="Barbados" >Barbados</option>
							<option value="Belarus" >Belarus</option>
							<option value="Belgium" >Belgium</option>
							<option value="Belize" >Belize</option>
							<option value="Benin" >Benin</option>
							<option value="Bermuda" >Bermuda</option>
							<option value="Bhutan" >Bhutan</option>
							<option value="Bolivia" >Bolivia</option>
							<option value="Bonaire, Saint Eustatius and Saba" >Bonaire, Saint Eustatius and Saba</option>
							<option value="Bosnia and Herzegovina" >Bosnia and Herzegovina</option>
							<option value="Botswana" >Botswana</option>
							<option value="Bouvet Island" >Bouvet Island</option>
							<option value="Brazil" >Brazil</option>
							<option value="British Indian Ocean Territory" >British Indian Ocean Territory</option>
							<option value="British Virgin Islands" >British Virgin Islands</option>
							<option value="Brunei" >Brunei</option>
							<option value="Bulgaria" >Bulgaria</option>
							<option value="Burkina Faso" >Burkina Faso</option>
							<option value="Burundi" >Burundi</option>
							<option value="Cambodia" >Cambodia</option>
							<option value="Cameroon" >Cameroon</option>
							<option value="Canada" >Canada</option>
							<option value="Cape Verde" >Cape Verde</option>
							<option value="Cayman Islands" >Cayman Islands</option>
							<option value="Central African Republic" >Central African Republic</option>
							<option value="Chad" >Chad</option>
							<option value="Chile" >Chile</option>
							<option value="China" >China</option>
							<option value="Christmas Island" >Christmas Island</option>
							<option value="Cocos [Keeling] Islands" >Cocos [Keeling] Islands</option>
							<option value="Colombia" >Colombia</option>
							<option value="Comoros" >Comoros</option>
							<option value="Congo [DRC]" >Congo [DRC]</option>
							<option value="Congo [Republic]" >Congo [Republic]</option>
							<option value="Cook Islands" >Cook Islands</option>
							<option value="Costa Rica" >Costa Rica</option>
							<option value="Croatia" >Croatia</option>
							<option value="Cuba" >Cuba</option>
							<option value="Curacao" >Curacao</option>
							<option value="Cyprus" >Cyprus</option>
							<option value="Czech Republic" >Czech Republic</option>
							<option value="Denmark" >Denmark</option>
							<option value="Djibouti" >Djibouti</option>
							<option value="Dominica" >Dominica</option>
							<option value="Dominican Republic" >Dominican Republic</option>
							<option value="East Timor" >East Timor</option>
							<option value="Ecuador" >Ecuador</option>
							<option value="Egypt" >Egypt</option>
							<option value="El Salvador" >El Salvador</option>
							<option value="Equatorial Guinea" >Equatorial Guinea</option>
							<option value="Eritrea" >Eritrea</option>
							<option value="Estonia" >Estonia</option>
							<option value="Ethiopia" >Ethiopia</option>
							<option value="Falkland Islands" >Falkland Islands</option>
							<option value="Faroe Islands" >Faroe Islands</option>
							<option value="Fiji" >Fiji</option>
							<option value="Finland" >Finland</option>
							<option value="France" >France</option>
							<option value="French Guiana" >French Guiana</option>
							<option value="French Polynesia" >French Polynesia</option>
							<option value="French Southern Territories" >French Southern Territories</option>
							<option value="Gabon" >Gabon</option>
							<option value="Gambia" >Gambia</option>
							<option value="Georgia" >Georgia</option>
							<option value="Germany" >Germany</option>
							<option value="Ghana" >Ghana</option>
							<option value="Gibraltar" >Gibraltar</option>
							<option value="Greece" >Greece</option>
							<option value="Greenland" >Greenland</option>
							<option value="Grenada" >Grenada</option>
							<option value="Guadeloupe" >Guadeloupe</option>
							<option value="Guam" >Guam</option>
							<option value="Guatemala" >Guatemala</option>
							<option value="Guernsey" >Guernsey</option>
							<option value="Guinea" >Guinea</option>
							<option value="Guinea-Bissau" >Guinea-Bissau</option>
							<option value="Guyana" >Guyana</option>
							<option value="Haiti" >Haiti</option>
							<option value="Heard Island and McDonald Island" >Heard Island and McDonald Island</option>
							<option value="Honduras" >Honduras</option>
							<option value="Hong Kong" >Hong Kong</option>
							<option value="Hungary" >Hungary</option>
							<option value="Iceland" >Iceland</option>
							<option value="India" >India</option>
							<option value="Indonesia" >Indonesia</option>
							<option value="Iran" >Iran</option>
							<option value="Iraq" >Iraq</option>
							<option value="Ireland" >Ireland</option>
							<option value="Isle of Man" >Isle of Man</option>
							<option value="Israel" >Israel</option>
							<option value="Italy" >Italy</option>
							<option value="Ivory Coast" >Ivory Coast</option>
							<option value="Jamaica" >Jamaica</option>
							<option value="Japan" >Japan</option>
							<option value="Jersey" >Jersey</option>
							<option value="Jordan" >Jordan</option>
							<option value="Kazakhstan" >Kazakhstan</option>
							<option value="Kenya" >Kenya</option>
							<option value="Kiribati" >Kiribati</option>
							<option value="Kosovo" >Kosovo</option>
							<option value="Kuwait" >Kuwait</option>
							<option value="Kyrgyzstan" >Kyrgyzstan</option>
							<option value="Laos" >Laos</option>
							<option value="Latvia" >Latvia</option>
							<option value="Lebanon" >Lebanon</option>
							<option value="Lesotho" >Lesotho</option>
							<option value="Liberia" >Liberia</option>
							<option value="Libya" >Libya</option>
							<option value="Liechtenstein" >Liechtenstein</option>
							<option value="Lithuania" >Lithuania</option>
							<option value="Luxembourg" >Luxembourg</option>
							<option value="Macau" >Macau</option>
							<option value="Macedonia" >Macedonia</option>
							<option value="Madagascar" >Madagascar</option>
							<option value="Malawi" >Malawi</option>
							<option value="Malaysia" >Malaysia</option>
							<option value="Maldives" >Maldives</option>
							<option value="Mali" >Mali</option>
							<option value="Malta" >Malta</option>
							<option value="Marshall Islands" >Marshall Islands</option>
							<option value="Martinique" >Martinique</option>
							<option value="Mauritania" >Mauritania</option>
							<option value="Mauritius" >Mauritius</option>
							<option value="Mayotte" >Mayotte</option>
							<option value="Mexico" >Mexico</option>
							<option value="Micronesia" >Micronesia</option>
							<option value="Moldova" >Moldova</option>
							<option value="Monaco" >Monaco</option>
							<option value="Mongolia" >Mongolia</option>
							<option value="Montenegro" >Montenegro</option>
							<option value="Montserrat" >Montserrat</option>
							<option value="Morocco" >Morocco</option>
							<option value="Mozambique" >Mozambique</option>
							<option value="Myanmar [Burma]" >Myanmar [Burma]</option>
							<option value="Namibia" >Namibia</option>
							<option value="Nauru" >Nauru</option>
							<option value="Nepal" >Nepal</option>
							<option value="Netherlands" >Netherlands</option>
							<option value="Netherlands Antilles" >Netherlands Antilles</option>
							<option value="New Caledonia" >New Caledonia</option>
							<option value="New Zealand" >New Zealand</option>
							<option value="Nicaragua" >Nicaragua</option>
							<option value="Niger" >Niger</option>
							<option value="Nigeria" >Nigeria</option>
							<option value="Niue" >Niue</option>
							<option value="Norfolk Island" >Norfolk Island</option>
							<option value="North Korea" >North Korea</option>
							<option value="Northern Mariana Islands" >Northern Mariana Islands</option>
							<option value="Norway" >Norway</option>
							<option value="Oman" >Oman</option>
							<option value="Pakistan" >Pakistan</option>
							<option value="Palau" >Palau</option>
							<option value="Palestinian Territories" >Palestinian Territories</option>
							<option value="Panama" >Panama</option>
							<option value="Papua New Guinea" >Papua New Guinea</option>
							<option value="Paraguay" >Paraguay</option>
							<option value="Peru" >Peru</option>
							<option value="Philippines" >Philippines</option>
							<option value="Pitcairn Islands" >Pitcairn Islands</option>
							<option value="Poland" >Poland</option>
							<option value="Portugal" >Portugal</option>
							<option value="Puerto Rico" >Puerto Rico</option>
							<option value="Qatar" >Qatar</option>
							<option value="Romania" >Romania</option>
							<option value="Russia" >Russia</option>
							<option value="Rwanda" >Rwanda</option>
							<option value="R
union" >R
union</option>
							<option value="Saint Barth
lemy" >Saint Barth
lemy</option>
							<option value="Saint Helena" >Saint Helena</option>
							<option value="Saint Kitts and Nevis" >Saint Kitts and Nevis</option>
							<option value="Saint Lucia" >Saint Lucia</option>
							<option value="Saint Martin" >Saint Martin</option>
							<option value="Saint Pierre and Miquelon" >Saint Pierre and Miquelon</option>
							<option value="Saint Vincent and the Grenadines" >Saint Vincent and the Grenadines</option>
							<option value="Samoa" >Samoa</option>
							<option value="San Marino" >San Marino</option>
							<option value="Saudi Arabia" >Saudi Arabia</option>
							<option value="Senegal" >Senegal</option>
							<option value="Serbia" >Serbia</option>
							<option value="Serbia and Montenegro" >Serbia and Montenegro</option>
							<option value="Seychelles" >Seychelles</option>
							<option value="Sierra Leone" >Sierra Leone</option>
							<option value="Singapore" >Singapore</option>
							<option value="Sint Maarten" >Sint Maarten</option>
							<option value="Slovakia" >Slovakia</option>
							<option value="Slovenia" >Slovenia</option>
							<option value="Solomon Islands" >Solomon Islands</option>
							<option value="Somalia" >Somalia</option>
							<option value="South Africa" >South Africa</option>
							<option value="South Georgia and the South Sandwich Islands" >South Georgia and the South Sandwich Islands</option>
							<option value="South Korea" >South Korea</option>
							<option value="Spain" >Spain</option>
							<option value="Sri Lanka" >Sri Lanka</option>
							<option value="Sudan" >Sudan</option>
							<option value="Suriname" >Suriname</option>
							<option value="Svalbard and Jan Mayen" >Svalbard and Jan Mayen</option>
							<option value="Swaziland" >Swaziland</option>
							<option value="Sweden" >Sweden</option>
							<option value="Switzerland" >Switzerland</option>
							<option value="Syria" >Syria</option>
							<option value="S
 and Pr
ncipe" >S
 and Pr
ncipe</option>
							<option value="Taiwan" >Taiwan</option>
							<option value="Tajikistan" >Tajikistan</option>
							<option value="Tanzania" >Tanzania</option>
							<option value="Thailand" >Thailand</option>
							<option value="Togo" >Togo</option>
							<option value="Tokelau" >Tokelau</option>
							<option value="Tonga" >Tonga</option>
							<option value="Trinidad and Tobago" >Trinidad and Tobago</option>
							<option value="Tunisia" >Tunisia</option>
							<option value="Turkey" >Turkey</option>
							<option value="Turkmenistan" >Turkmenistan</option>
							<option value="Turks and Caicos Islands" >Turks and Caicos Islands</option>
							<option value="Tuvalu" >Tuvalu</option>
							<option value="U.S. Minor Outlying Islands" >U.S. Minor Outlying Islands</option>
							<option value="U.S. Virgin Islands" >U.S. Virgin Islands</option>
							<option value="Uganda" >Uganda</option>
							<option value="Ukraine" >Ukraine</option>
							<option value="United Arab Emirates" >United Arab Emirates</option>
							<option value="United Kingdom" >United Kingdom</option>
							<option value="United States"  selected>United States</option>
							<option value="Uruguay" >Uruguay</option>
							<option value="Uzbekistan" >Uzbekistan</option>
							<option value="Vanuatu" >Vanuatu</option>
							<option value="Vatican City" >Vatican City</option>
							<option value="Venezuela" >Venezuela</option>
							<option value="Vietnam" >Vietnam</option>
							<option value="Wallis and Futuna" >Wallis and Futuna</option>
							<option value="Western Sahara" >Western Sahara</option>
							<option value="Yemen" >Yemen</option>
							<option value="Zambia" >Zambia</option>
							<option value="Zimbabwe" >Zimbabwe</option>
							<option value="
land Islands" >
land Islands</option>
					</select>
					<div class="justify_el"></div>
				</div>
				<div id="your_public_profile_container">
						
					<div id="your_public_profile_label_text_before">
						Your profile:
					</div>
					<div id="your_public_profile_label">
						
						<span id="your_public_profile_label_text">
							Your profile:
						</span>
						
						<span id="your_public_profile_label_host">
							https://files.fm/						</span>
						
					</div>
					<div id="your_public_profile_field_input">
						<input id="createaccount_username" name="createaccount_username" type="text" autocomplete="off" placeholder="Username"  onkeyup="usernameChanged();" />
					</div>
				</div>
				<div id="createaccount_coupon_info" onclick='showSignIn()'>
					I already have registred Files.fm account 
    			</div>
				<div id="createaccount_error_msg" class="error_msg"></div>
                                            <div class="sign_in_captcha" id="createaccount_captcha">
                        <div class="google-recaptcha-v2-container" id="D81085DE-2E96-4769-0325-5DD48FBBD709"></div>                            <script type="text/javascript">
                                function loadCreateAccountCaptcha()
                                {
                                    (function () {
            var init = function (){
                // Wait for include to load
                if ( typeof(objLazyGoogleReCaptchaV2) !== "undefined" )
                {
                    objLazyGoogleReCaptchaV2.initInstance (
                        "D81085DE-2E96-4769-0325-5DD48FBBD709",
                        captchaCreateAccountLoaded,
                        captchaCreateAccountSubmitted
                    )
                }
                else
                {
                    setTimeout(init, 50);
                }
            };
            init();
        })();
                                }
                            </script>
                        </div>
                                        
                <div class="sign_in_submit_bn" onclick="checkCreateAccountForm();">
                    Sign up                    <img src="/images/signup_form/sign_up.svg">
                </div>
				<div id="createaccount_info">
    				Registred users can store and access files for unlimited time and choose to publish them in their profile. <a href="/storage-plans" target="_blank">More info 
</a>    			</div>
                <div id="createaccount_info_ico">
                    Registred users can store and access files for unlimited time and choose to publish them in their profile. <a href="/storage-plans" target="_blank">More info 
</a>                </div>
    			
				<div id="createaccount_termsandcondtotions_hr"></div>
				<div id="createaccount_termsandcondtotions">
					By signing up, you agree to our					<a href="/terms" target="blank">terms of use 
				</div>
                <div id="createaccount_termsandcondtotions_ico">
                    By signing up, you agree to our <a href="/terms" target="blank">terms of use 
</a>                </div>
                
                <input id="register_from_ico" type="hidden" name="from_ico" value="0" />
				<input type="hidden" name="login_return_url" class="login_return_url" value="" />
				<input type="hidden" name="dont_redirect_after_login" class="dont_redirect_after_login" value="" />
			</div>
			<!-- END : Simple create account -->
		</div>
		<!-- END : Create account form -->
		<!-- START : Sign in form -->
		<div id="signin-modal-content" class="modal-content">
			<!-- START : Social sign in -->
			<div class="signin-modal-content-social">
				<div class="signin-modal-content-social-title">Log in:</div>
				<div class="signin-modal-content-social-buttons-container">
					<div class="standard_button fb_button social_login_button" onclick="checkSocialLogin('facebook');">
						<img src="/images/signup_form/facebook.svg">
						<span>Facebook</span>
					</div>
					<div class="standard_button google_button social_login_button" onclick="checkSocialLogin('google');">
						<img src="/images/signup_form/google.svg">
						<span>Google</span>
					</div>
					<div class="justify_el"></div>
				</div>
			</div>
			<!-- END : Social sign in -->
			<div class="or-delimiter">
				or			</div>
			<!-- START : Simple sign in -->
			<div id="signin-modal-content-simple">
				<form onsubmit="checkSignInForm(); return false;" id="login_filesfm">
                    <div id="signin_input_container">
                    	<input id="l_coupon_code" name="coupon_code" type="text" placeholder="Coupon code" />
                    
                        <div class="no-coupon-link">
                            <a href="" onclick="revertFormFromCoupon(); return false">I do not have a coupon code 
                        </div>
                        
                        <input id="l_user" name="l_user" type="text"  placeholder="Username or e-mail" />
    					<input id="l_pass" name="l_pass" type="password" placeholder="Password">
					</div>
					<div id="signin_coupon_info" onclick="showCreateAccount()">
                        I do not have registred Files.fm account 
                    </div>
					<div id="signin_error_msg" class="error_msg"></div>
                                            
					<input type="submit" style="display: none;">
					<div class="sign_in_submit_bn" onclick="checkSignInForm()">
    					Log in    					<img src="/images/signup_form/sign_up.svg">
    				</div>
				</form>
				<div id="signin-modal-link-container">
					<a id="signin-modal-forgot-link" href="" onclick="showForgotPassword(); return false">
						<span>Forgot password</span>
						<img src="/images/signup_form/link_arrows.svg" />
					</a>
					<a id="signin-modal-coupon-link" href="javascript:void(0)" onclick="adaptFormForCoupon()">
						<span>Use a coupon</span>
						<img src="/images/signup_form/link_arrows.svg" />
					</a>
				</div>
				<input type="hidden" name="login_return_url" class="login_return_url" value="" />
				<input type="hidden" name="dont_redirect_after_login" class="dont_redirect_after_login" value="" />
			</div>
			<!-- END : Simple sign in -->
		</div>
		<!-- END : Sign in form -->
		<!-- START : Forgot password form -->
		<div id="forgotpassword-modal-content" class="modal-content">
			<form onsubmit="return false;">
				<div id="forgotpassword_text">
					Enter your e-mail:
				</div>
				<input id="forgotpassword_email" type="text" placeholder="E-mail" >
				<div id="forgotpassword_error_msg" class="error_msg"></div>
				<div class="sign_in_submit_bn" onclick="checkForgotPasswordForm();">
					Recover password					<img src="/images/signup_form/sign_up.svg">
				</div>
    				
			</form>
		</div>
		<!-- END : Forgot password form -->
		<!-- START : Add cookie uploads suggestion -->
		<div id="addcookieuploads-modal-content" class="modal-content">
				<div id="addcookieuploads_info">
					Would you like to add the uploads made from this computer anonymously to your account?				</div>
				<div id="addcookieuploads_button_container">
    				<div class="addcookieuploads_button" id="addcookieuploads_button_yes" onclick="setAddCookieUploads(true)">
    					Yes    				</div>
    				<div class="addcookieuploads_button" id="addcookieuploads_button_no" onclick="setAddCookieUploads(false)">
    					No    				</div>
				</div>
		</div>
		<!-- END : Add cookie uploads suggestion -->
		<!-- START : Success message of account creation -->
		<div id="createaccountsuccessmessage-modal-content" class="modal-content">
				<div id="createaccountsuccessmessage_info">
					<div>
						Thank you! Your Files.fm account is created and an e-mail with account access data is sent to you.					</div>
					<div>
						Close this form, fill in the information about the folder and press the button "Save and send the link".					</div>
				</div>
				<div id="createaccountsuccessmessage_button" onclick="hideModal('sign-in')">
					Close				</div>
		</div>
		<!-- END : Success message of account creation -->
		<!-- START : Social login -->
		<div style="display: none">
			<form id="login_facebook" method="get" action="/">
				<input type="hidden" name="fb_login" value="" />
				<input type="hidden" name="add_anonym_uplaods" class="add_anonym_uplaods" value="" />
				<input type="hidden" name="login_return_url" class="login_return_url" value="" />
				<input type="hidden" name="dont_redirect_after_login" class="dont_redirect_after_login" value="" />
				<input type="submit" class="standard_button" value="Log in with Facebook" style="width: 100%" />
			</form>
			<form id="login_google" method="get" action="/">
				<input type="hidden" name="google_login" value="" />
				<input type="hidden" name="add_anonym_uplaods" class="add_anonym_uplaods" value="" />
				<input type="hidden" name="login_return_url" class="login_return_url" value="" />
				<input type="hidden" name="dont_redirect_after_login" class="dont_redirect_after_login" value="" />
				<input type="submit" class="standard_button" value="Log in with Google" style="width: 100%" />
			</form>
		</div>
		<!-- END : Social login -->
		<div id="sign-in_disable_form">
			<i class="fa fa-spinner fa-spin"></i>
		</div>
	</div>
	<div class="modal-close" id="sign-in_modal_close" data-dismiss="modal" data-close="Close" ></div>
</section>
<script type="text/javascript">
	var bolRewriteUrlHash = true;
    var bolSigninCaptchaRequired = Boolean();
    var bolSignupCaptchaRequired = Boolean(1);
    var strSinginCaptchaContainerID = 'signin_captcha';
    var strSignupCaptchaContainerID = 'createaccount_captcha';
	function showCreateAccount( bolICO )
        if( typeof bolICO === 'undefined' )
        {
            // if switching forms, get bolICO from other form
            bolICO = $( "#register_from_ico" ).val() > 0;
        }
		$( '#createaccount-header' ).insertBefore( $( '#signin-header' ) );
		$( '#signin-modal-content' ).hide();
		$( '#forgotpassword-modal-content' ).hide();
		$( '#addcookieuploads-modal-content' ).hide();
		$( '#createaccountsuccessmessage-modal-content' ).hide();
		$('#createaccount-modal-content').show();
		if( bolICO )
        {
            $( "#business_account_chechbox_container" ).hide();
            $( "#createaccount_info_ico" ).show();
            $( "#createaccount_termsandcondtotions_ico" ).show( );
            $( "#createaccount_termsandcondtotions" ).hide( );
            $( "#createaccount_info" ).hide();
            $( "#register_from_ico" ).val( 1 );
        }
        else
        {
            $( "#business_account_chechbox_container" ).show();
            $( "#createaccount_termsandcondtotions" ).show( );
            $( "#createaccount_termsandcondtotions_ico" ).hide( );
            $( "#createaccount_info_ico" ).hide();
            $( "#createaccount_info" ).show();
            $( "#register_from_ico" ).val( 0 );
        }
		showModal( 'sign-in' );
		if ( bolSignupCaptchaRequired )
            loadCreateAccountCaptcha();
		if ( bolRewriteUrlHash )
			window.location.hash = 'sign_up';
	function showCreateAccount_ICO() 
        showCreateAccount();
	function showSignIn( bolICO )
	    if( typeof bolICO === 'undefined' )
        {
            // if switching forms, get bolICO from other form
            bolICO = $( "#register_from_ico" ).val() > 0;
        }
		$( '#signin-header' ).insertBefore( $( '#createaccount-header' ) );
	    		
		$( '#createaccount-modal-content' ).hide();
		$( '#forgotpassword-modal-content' ).hide();
		$( '#addcookieuploads-modal-content' ).hide();
		$( '#createaccountsuccessmessage-modal-content' ).hide();
        
        if ( bolICO )
        {
            $( "#register_from_ico" ).val( 1 );
        }
        else
        {
            $( "#register_from_ico" ).val( 0 );
        }
		$( '#signin-modal-content' ).show();
		showModal( 'sign-in' );
		if ( bolSigninCaptchaRequired )
            loadSignInCaptcha();
		if ( bolRewriteUrlHash )
			window.location.hash = 'log_in';
    /*** Start: Captcha callbacks ***/
    function captchaCreateAccountLoaded( bolSuccess )
        if ( ! bolSuccess )
        {
            addError(strSignupCaptchaContainerID, "createaccount_error_msg", "An error has occurred! Please check your internet connection and try again later. If the problem does not resolve, please contact support@files.fm");
        }
        else
        {
            removeError( strSignupCaptchaContainerID );
            removeAllErrors( "createaccount_error_msg" );
            $("#"+strSignupCaptchaContainerID).append('<input type="hidden" class="captcha_response" value="" />');
        }
    function captchaCreateAccountSubmitted( strResponse )
        removeError( strSignupCaptchaContainerID );
        removeAllErrors( "createaccount_error_msg" );
        $('#' + strSignupCaptchaContainerID + ' .captcha_response').val( strResponse );
    function captchaSignInLoaded( bolSuccess )
        if ( ! bolSuccess )
        {
            addError(strSinginCaptchaContainerID, "signin_error_msg", "An error has occurred! Please check your internet connection and try again later. If the problem does not resolve, please contact support@files.fm");
        }
        else
        {
            removeError( strSinginCaptchaContainerID );
            removeAllErrors( "signin_error_msg" );
            $("#"+strSinginCaptchaContainerID).append('<input type="hidden" class="captcha_response" value="" />');
        }
    function captchaSignInSubmitted( strResponse )
        removeError( strSinginCaptchaContainerID );
        removeAllErrors( "signin_error_msg" );
        $('#' + strSinginCaptchaContainerID + ' .captcha_response').val( strResponse );
    /*** End: Captcha callbacks ***/
	function revertFormFromCoupon()
	    $( '#sign-in' ).removeClass( 'coupun_form' );
    function adaptFormForCoupon()
	    $( '#sign-in' ).addClass( 'coupun_form' );
	function showForgotPassword( strEmail )
	    if ( typeof strEmail != 'undefined' )
	    {
			$( '#sign-in-header' ).hide();
			$( '#forgotpassword_email' ).val( strEmail );
	    }
		$( '#signin-header' ).insertBefore( $( '#createaccount-header' ) );
		$( '#createaccount-modal-content' ).hide();
		$( '#signin-modal-content' ).hide();
		$( '#addcookieuploads-modal-content' ).hide();
		$( '#createaccountsuccessmessage-modal-content' ).hide();
		$( '#forgotpassword-modal-content' ).show();
		showModal( 'sign-in' );
		if ( bolRewriteUrlHash )
			window.location.hash = 'forgot_password';
	function showAddCookieUploads()
		$( '#createaccount-modal-content' ).hide();
		$( '#forgotpassword-modal-content' ).hide();
		$( '#signin-modal-content' ).hide();
		$( '#createaccountsuccessmessage-modal-content' ).hide();
		$( '#addcookieuploads-modal-content' ).show();
		showModal( 'sign-in' );
	function showCreateAccountSuccessMessage()
		$( '#createaccount-modal-content' ).hide();
		$( '#forgotpassword-modal-content' ).hide();
		$( '#signin-modal-content' ).hide();
		$( '#addcookieuploads-modal-content' ).hide();
		$( '#createaccountsuccessmessage-modal-content' ).show();
		showModal( 'sign-in' );
	var bolHasCookieUploads = false;
	var bolAddCookieUploadsAnswered = false;
	var bolAddCookieUploads = false;
	var strActiveForm = '';
	function setAddCookieUploads(val) {
		bolAddCookieUploads = val;
		bolAddCookieUploadsAnswered = true;
		if (val) {
			$('#login_facebook .add_anonym_uplaods').val('1');
			$('#login_google .add_anonym_uplaods').val('1');
			$('#login_draugiem .add_anonym_uplaods').val('1');
		if (strActiveForm == 'signin') {
			checkSignInForm();
			showSignIn();
		else if (strActiveForm == 'createaccount') {
			checkCreateAccountForm();
			showCreateAccount();
		else if (strActiveForm == 'facebook' || strActiveForm == 'google' || strActiveForm == 'draugiem') {
			checkSocialLogin(strActiveForm);
	var bolPrevFinished_checkCreateAccountForm = true;
	function checkCreateAccountForm(bolCouponCheckResult) {
        
        var jqCaptchaResultInput = $('#' + strSignupCaptchaContainerID + ' .captcha_response');
		if ( bolCouponCheckResult === undefined )
			bolCouponCheckResult = null;
		if (bolPrevFinished_checkCreateAccountForm)
			bolPrevFinished_checkCreateAccountForm = false;
			$('#sign-in_disable_form').show();
			var bolCreateBusinessAccountDataOk = true;
			if (bolCreateBusinessAccount)
				bolCreateBusinessAccountDataOk = false;
				if ($('#createaccount_company_name').val().trim().length < 4 ) {
					addError('createaccount_company_name', 'createaccount_error_msg', 'Must be at least 4 characters long!');
				else {
					removeError('createaccount_company_name');
					if ($('#createaccount_company_phone').val().trim().length < 4 ) {
						addError('createaccount_company_phone', 'createaccount_error_msg', 'Must be at least 4 characters long!');
					}
					else {
						removeError('createaccount_company_phone');
						bolCreateBusinessAccountDataOk = true;
					}
            
            if ( $( "#register_coupon_code" ).css("display") !== "none" && !bolCouponCheckResult )
            {
                // coupon field is visible -> so it must be filled
                if( bolCouponCheckResult === false )
                {
                    addError( 'register_coupon_code_input', 'createaccount_error_msg', 'The coupon code you entered is invalid or already used!' );
                    
                    bolPrevFinished_checkCreateAccountForm = true;
                    $('#sign-in_disable_form').hide();
                    return;
                }
                else if( !bolCouponCheckResult )
                {
                    removeError( 'register_coupon_code_input' );
                    
                    bolPrevFinished_checkCreateAccountForm = true;
                    verifyCouponCode( 'register_coupon_code_input', 'createaccount_error_msg', checkCreateAccountForm );
                    return;
                }                
            }
			if ( bolCreateBusinessAccountDataOk )
				if ($('#createaccount_name').val().trim().length < 2 ) {
					addError('createaccount_name', 'createaccount_error_msg', 'Must be at least 2 characters long!');
					bolPrevFinished_checkCreateAccountForm = true;
					$('#sign-in_disable_form').hide();
				else {
					removeError('createaccount_name');
					if ($('#createaccount_surname').val().trim().length < 2 ) {
						addError('createaccount_surname', 'createaccount_error_msg', 'Must be at least 2 characters long!');
						bolPrevFinished_checkCreateAccountForm = true;
						$('#sign-in_disable_form').hide();
					}
					else {
                        function isURL(url) {
                           return url.match(/(http(s)?:\/\/.)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/g) !== null;
                        }
                        
                        if ( isURL( $( '#createaccount_surname' ).val().trim() ) )
                        {
                            addError('createaccount_surname', 'createaccount_error_msg', 'Invalid name!');
                            
                            bolPrevFinished_checkCreateAccountForm = true;
                            $('#sign-in_disable_form').hide();
                            return;
                        }
                        else 
                        {
                            removeError( 'createaccount_surname' );
                        }
                        
                        if ( isURL( $( '#createaccount_name' ).val().trim() ) )
                        {
                            addError('createaccount_name', 'createaccount_error_msg', 'Invalid name!');
                            
                            bolPrevFinished_checkCreateAccountForm = true;
                            $('#sign-in_disable_form').hide();
                            return;
                        }
                        else
                        {
                            removeError( 'createaccount_name' );
                        }
					    
						removeError('createaccount_surname');
						if (!validateEmail($('#createaccount_email').val())) {
							addError('createaccount_email', 'createaccount_error_msg', 'Enter a valid e-mail!');
							bolPrevFinished_checkCreateAccountForm = true;
							$('#sign-in_disable_form').hide();
						}
						else {
				            new EmailValidator( $('#createaccount_email').val(), true)
                                .setOnValidCB(function(){
                                    $.ajax({
                                    type: "POST",
                                    dataType: "json",
                                    url: "./ajax/sign_in.php?PHPSESSID=vsn7pjl9m4r9532dorsn7vngg7",
                                    data: {
                                        'check_email' : true ,
                                        'email' : $('#createaccount_email').val()
                                    },
                                    success: function(data) {
                                        if (data['status'] != 'ok') {
                                            addError('createaccount_email', 'createaccount_error_msg', 'Already registered!');
                                            bolPrevFinished_checkCreateAccountForm = true;
                                            $('#sign-in_disable_form').hide();
                                        }
                                        else {
                                            removeError('createaccount_email');
                                            if ($('#createaccount_username').val().trim().length < 4 ) {
                                                addError('createaccount_username', 'createaccount_error_msg', 'Must be at least 4 characters long!');
                                                bolPrevFinished_checkCreateAccountForm = true;
                                                $('#sign-in_disable_form').hide();
                                            }
                                            else {
                                                if (!validateUsername($('#createaccount_username').val().trim())) {
                                                    addError('createaccount_username', 'createaccount_error_msg', 'Can only contain "a-z", "A-Z", "0-9" and "_.@-"');
                                                    bolPrevFinished_checkCreateAccountForm = true;
                                                    $('#sign-in_disable_form').hide();
                                                }
                                                else
                                                {
                                                    $.ajax({
                                                        type: "POST",
                                                        dataType: "json",
                                                        url: "./ajax/sign_in.php?PHPSESSID=vsn7pjl9m4r9532dorsn7vngg7",
                                                        data: {
                                                            'check_username' : true ,
                                                            'username' : $('#createaccount_username').val()
                                                        },
                                                        success: function(data) {
                                                            if (data['status'] != 'ok') {
                                                                addError('createaccount_username', 'createaccount_error_msg', 'Already registered!');
                                                                bolPrevFinished_checkCreateAccountForm = true;
                                                                $('#sign-in_disable_form').hide();
                                                            }
                                                            else {
                                                                removeError('createaccount_username');
                                                                if ($('#createaccount_password').val().trim().length < 4 ) {
                                                                    addError('createaccount_password', 'createaccount_error_msg', 'Must be at least 4 characters long!');
                                                                    bolPrevFinished_checkCreateAccountForm = true;
                                                                    $('#sign-in_disable_form').hide();
                                                                }
                                                                else
                                                                {
                                                                    var bolCaptchaOk = true;
                                                                    if ( bolSignupCaptchaRequired )
                                                                    {
                                                                        bolCaptchaOk = false;
                                                                        
                                                                        if ( jqCaptchaResultInput.length && jqCaptchaResultInput.val().length )
                                                                        {
                                                                            bolCaptchaOk = true;
                                                                            removeError( strSignupCaptchaContainerID );
                                                                        }
                                                                        else
                                                                        {
                                                                            if ( ! jqCaptchaResultInput.length )
                                                                            {
                                                                                addError( strSignupCaptchaContainerID, "createaccount_error_msg", "An error has occurred! Please check your internet connection and try again later. If the problem does not resolve, please contact support@files.fm" );
                                                                            }
                                                                            else
                                                                            {
                                                                                addError( strSignupCaptchaContainerID, 'createaccount_error_msg', 'Please fill out Captcha!' );
                                                                            }
                                                                        }
                                                                    }
                                                                    
                                                                    if ( ! bolCaptchaOk )
                                                                    {
                                                                        bolPrevFinished_checkCreateAccountForm = true;
                                                                        $( '#sign-in_disable_form' ).hide();
                                                                    }
                                                                    else
                                                                    {
                                                                        removeError( 'createaccount_password' );
                                                                        removeError( strSignupCaptchaContainerID );
        
                                                                        removeAllErrors( 'createaccount_error_msg' );
        
        
                                                                        if ( bolHasCookieUploads == true && bolAddCookieUploadsAnswered == false )
                                                                        {
            
                                                                            strActiveForm = 'createaccount';
                                                                            showAddCookieUploads();
            
                                                                            bolPrevFinished_checkCreateAccountForm = true;
                                                                            $( '#sign-in_disable_form' ).hide();
                                                                        }
                                                                        else
                                                                        {
                                                                            var postData = {
                                                                                'create_account': true,
                                                                                'username': $( '#createaccount_username' ).val(),
                                                                                'email': $( '#createaccount_email' ).val(),
                                                                                'password': $( '#createaccount_password' ).val(),
                                                                                'add_cookie_uploads': bolAddCookieUploads,
                                                                                'first_name': $( '#createaccount_name' ).val(),
                                                                                'surname': $( '#createaccount_surname' ).val(),
                                                                                'create_business_account': bolCreateBusinessAccount,
                                                                                'company_name': $( '#createaccount_company_name' ).val(),
                                                                                'company_phone': $( '#createaccount_company_phone' ).val(),
                                                                                'company_country': $( '#createaccount_company_country' ).val(),
                                                                                'from_ico': $( "#register_from_ico" ).val() ,
                                                                                'recaptcha_response': (jqCaptchaResultInput.length ? jqCaptchaResultInput.val() : '')
                                                                            };
            
                                                                            if ( $( "#register_coupon_code" ).css( "display" ) !== "none" )
                                                                            {
                                                                                postData.coupon_code = $( "#register_coupon_code_input" ).val().trim();
                                                                            }
            
                                                                            $.ajax( {
                                                                                type: "POST",
                                                                                dataType: "json",
                                                                                url: "./ajax/sign_in.php?PHPSESSID=vsn7pjl9m4r9532dorsn7vngg7",
                                                                                data: postData,
                                                                                success: function ( data )
                                                                                {
                                                                                    if ( data[ 'status' ] == 'ok' )
                                                                                    {
                        
                                                                                        if ( $( '.dont_redirect_after_login' ).val() == '' )
                                                                                        {
                            
                                                                                            if ( $( '.login_return_url' ).val() != '' )
                                                                                            {
                                
                                                                                                if (
                                                                                                    ( "/" + $( '.login_return_url' ).val() ).search( window.location.pathname ) != -1 &&
                                                                                                    $( '.login_return_url' ).val() != 'sync-share?create_cloud_files_user' &&
                                                                                                    $( '.login_return_url' ).val() != 'library?after_login'
                                                                                                )
                                                                                                {
                                                                                                    if ( location.hash == '#sign_up' )
                                                                                                    {
                                                                                                        location.hash = '';
                                                                                                    }
                                    
                                                                                                    if ( $( '.login_return_url' ).val() == 'storage-plans#subscribe' )
                                                                                                    {
                                                                                                        location.hash = 'subscribe';
                                                                                                    }
                                    
                                                                                                    location.reload();
                                                                                                }
                                                                                                else
                                                                                                {
                                                                                                    window.location = "https://file.fm/" + $( '.login_return_url' ).val();
                                                                                                }
                                
                                                                                            }
                                                                                            else
                                                                                            {
                                
                                                                                                window.location = "/account";
                                                                                            }
                                                                                        }
                                                                                        else
                                                                                        {
                            
                                                                                            showCreateAccountSuccessMessage();
                            
                                                                                            bolPrevFinished_checkCreateAccountForm = true;
                                                                                            $( '#sign-in_disable_form' ).hide();
                                                                                        }
                                                                                    }
                                                                                    else
                                                                                    {
                        
                                                                                        addError( 'createaccount_error_msg', 'createaccount_error_msg', 'There was an error, contact the Files.fm team!' );
                        
                                                                                        bolPrevFinished_checkCreateAccountForm = true;
                                                                                        $( '#sign-in_disable_form' ).hide();
                                                                                    }
                                                                                },
                                                                                error: function ( data )
                                                                                {
                    
                                                                                    addError( 'createaccount_error_msg', 'createaccount_error_msg', 'An error occurred. Please try again or contact support@files.fm!' );
                    
                                                                                    bolPrevFinished_checkCreateAccountForm = true;
                                                                                    $( '#sign-in_disable_form' ).hide();
                                                                                }
                                                                            } );
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        } ,
                                                        error: function(data) {
                                                            addError('createaccount_error_msg', 'createaccount_error_msg', 'An error occurred. Please try again or contact support@files.fm!');
                                                            bolPrevFinished_checkCreateAccountForm = true;
                                                            $('#sign-in_disable_form').hide();
                                                        }
                                                    });
                                                }
                                            }
                                        }
                                    } ,
                                    error: function(data) {
                                        addError('createaccount_error_msg', 'createaccount_error_msg', 'An error occurred. Please try again or contact support@files.fm!');
                                        bolPrevFinished_checkCreateAccountForm = true;
                                        $('#sign-in_disable_form').hide();
                                    }
                                })
                                }).setOnInvalidCB(function() {
                                    bolPrevFinished_checkCreateAccountForm = true;
                                    $('#sign-in_disable_form').hide();
                                    addError('createaccount_email', 'createaccount_error_msg', 'Enter a valid e-mail!');
                                }).setModalID("sign-in").run();
						}
					}
			else
				bolPrevFinished_checkCreateAccountForm = true;
				$('#sign-in_disable_form').hide();
	function getSigninReturnRedirectUrl()
        if ($('.login_return_url').val() != '') {
            if ($('.dont_redirect_after_login').val() == '') {
                if (
                    ("/"+$('.login_return_url').val()).search(window.location.pathname) != -1 &&
                    $('.login_return_url').val() != 'sync-share?create_cloud_files_user'
                )
                {
                    if ( $('.login_return_url').val() == 'storage-plans#subscribe' )
                    {
                        return '#subscribe';
                    }
                }
                else {
                    return $('.login_return_url').val();
                }
            }
        }
        
	    return false;
    function verifyCouponCode( strCouponInputID, strErrorID, fnCallback, bolResult )
    	if ( bolResult === undefined )
    		bolResult = null;
        var strCouponInputSelector = "#" + strCouponInputID;
        
        var onError = function ()
        {
            addError( strCouponInputID, strErrorID, 'Invalid coupon code!' );
            
            bolPrevFinished_checkCreateAccountForm = true;
            $( '#sign-in_disable_form' ).hide();
        };
        
        if ( bolResult === false )
        {
            onError();
            return false
        }
        else if ( bolResult === true )
        {
            return true;
        }
        
        if ( $( strCouponInputSelector ).css( "display" ) !== "none" )
        {
            // coupon field is visible -> so it must be filled
            if ( $( strCouponInputSelector ).val().trim().length !== 8 )
            {
                onError();
                return false
            }
            else
            {
                if ( !bolResult )
                {
                    removeError( strCouponInputID );
                    
                    $.ajax( {
                        type: "POST",
                        dataType: "json",
                        url: "./ajax/sign_in.php?PHPSESSID=vsn7pjl9m4r9532dorsn7vngg7",
                        global: false,
                        data: {
                            'check_coupon': true,
                            'coupon_code': $( strCouponInputSelector ).val().trim()
                        },
                        success: function ( data )
                        {
                            fnCallback( typeof data[ 'status' ] !== "undefined" && data[ 'status' ] === 'ok' );
                        },
                        error: function ( )
                        {
                            fnCallback( false );
                        }
                    } );
                    return false;
                }
                else
                {
                    return true;
                }
            }
        }
        else
        {
            return true;
        }
	var bolPrevFinished_checkSignInForm = true;
	function checkSignInForm(bolCouponCheckResult) {
		if ( bolCouponCheckResult === undefined )
			bolCouponCheckResult = null;
        
        var jqCaptchaResultInput = $('#' + strSinginCaptchaContainerID + ' .captcha_response');
        
		if (bolPrevFinished_checkSignInForm) {
			bolPrevFinished_checkSignInForm = false;
            $('#sign-in_disable_form').show();
            
            if ( $( "#l_coupon_code" ).css("display") !== "none" )
            {
                if ( bolCouponCheckResult )
                {
                    $( "#signin_error_msg" ).hide();
                }
                else if ( bolCouponCheckResult === null )
                {
                    bolPrevFinished_checkSignInForm = true;
                    return verifyCouponCode( "l_coupon_code", "signin_error_msg", checkSignInForm, bolCouponCheckResult );
                }
                else
                {
                    $( "#signin_error_msg" )
                        .text( "The coupon code you entered is invalid or already used!" )
                        .show();
                    bolPrevFinished_checkSignInForm = true;
                    $( '#sign-in_disable_form' ).hide();
                    return false;
                }
            }
                
			bolError = false;
			if ($('#l_user').val() == '' ) {
				$('#l_user').addClass( 'has_error' );
				bolError = true;
			else {
				$('#l_user').removeClass( 'has_error' );
			if ($('#l_pass').val() == '' ) {
				$('#l_pass').addClass( 'has_error' );
				bolError = true;
			else {
				$('#l_pass').removeClass( 'has_error' );
            
            
            if ( bolSigninCaptchaRequired )
            {
                if ( jqCaptchaResultInput.length === 0 )
                {
                    bolError = true;
                    addError(strSinginCaptchaContainerID, "signin_error_msg", "An error has occurred! Please check your internet connection and try again later. If the problem does not resolve, please contact support@files.fm");
                }
                else if ( jqCaptchaResultInput.val().length === 0 )
                {
                    bolError = true;
                    addError(strSinginCaptchaContainerID, "signin_error_msg", "Please fill in the captcha field!");
                }
                else
                {
                    removeError( strSinginCaptchaContainerID );
                }
            }
			if (!bolError) {
				$.ajax({
					type: "POST",
					dataType: "json",
					url: "./ajax/sign_in.php?PHPSESSID=vsn7pjl9m4r9532dorsn7vngg7",
                    crossDomain: true,
                    data: {
						'check_signin' : true ,
						'username' : $('#l_user').val() ,
						'password' : $('#l_pass').val()
					},
					success: function(data) {
						if (data['status'] == 'ok') {
							removeAllErrors('signin_error_msg');
                            
							if (bolHasCookieUploads == true && bolAddCookieUploadsAnswered == false && data['show_add_cookie_uploads'] == true) {
								strActiveForm = 'signin';
								showAddCookieUploads();
								bolPrevFinished_checkSignInForm = true;
								$('#sign-in_disable_form').hide();
							}
							else {
							    var strReturnUrl = getSigninReturnRedirectUrl();
							    var objPostData = {
                                    'signin' : true ,
                                    'username' : $('#l_user').val() ,
                                    'password' : $('#l_pass').val() ,
                                    'remember_me' : $('#remember_me').prop('checked') ,
                                    'from_ico': $( '#register_from_ico' ).val(),
                                    'add_cookie_uploads' : bolAddCookieUploads,
                                    'recaptcha_response': (jqCaptchaResultInput.length ? jqCaptchaResultInput.val() : '')
                                };
                                if(strReturnUrl) {
                                    objPostData[ 'override_return_url' ] = strReturnUrl;
                                }
                                
                                if ( $( "#l_coupon_code" ).css("display") !== "none" )
                                {
                                    objPostData.coupon_code = $( "#l_coupon_code" ).val().trim();
                                }
								$.ajax({
									type: "POST",
									dataType: "json",
									url: "./ajax/sign_in.php?PHPSESSID=vsn7pjl9m4r9532dorsn7vngg7",
                                    crossDomain: true,
                                    data: objPostData,
									success: function(data) {
                                        if ( (data['status'] === 'ok' || data['status'] === 'missing_account_data') && typeof data['redirect_to'] !== 'undefined' )
                                        {
                                            
                                            window.location = data['redirect_to'];
                                        }
                                        else
                                        {
                                            if ( typeof data[ "message" ] === "undefined" )
                                            {
                                                $('#signin_error_msg').text('Wrong username or password!');
                                            }
                                            else
                                            {
                                                $( '#signin_error_msg' ).text( data[ "message" ] );
                                            }
                                            $('#signin_error_msg').show();
                                            bolPrevFinished_checkSignInForm = true;
                                            $('#sign-in_disable_form').hide();
                                        }
									} ,
									error: function(data) {
										$('#signin_error_msg').text('An error occurred. Please try again or contact support@files.fm!');
										$('#signin_error_msg').show();
										bolPrevFinished_checkSignInForm = true;
										$('#sign-in_disable_form').hide();
									}
								});
							}
						}
						else {
							$('#signin_error_msg').text('Wrong username or password!');
							$('#signin_error_msg').show();
							bolPrevFinished_checkSignInForm = true;
							$('#sign-in_disable_form').hide();
						}
					} ,
					error: function(data) {
						$('#signin_error_msg').text('An error occurred. Please try again or contact support@files.fm!');
						$('#signin_error_msg').show();
						bolPrevFinished_checkSignInForm = true;
						$('#sign-in_disable_form').hide();
					}
				});
			else {
				bolPrevFinished_checkSignInForm = true;
				$('#sign-in_disable_form').hide();
	function checkForgotPasswordForm() {
		if (!validateEmail($('#forgotpassword_email').val())) {
			addError('forgotpassword_email', 'forgotpassword_error_msg', 'Enter a valid e-mail!');
		else {
			removeError('forgotpassword_email');
			$.ajax({
				type: "POST",
				dataType: "json",
				url: "./ajax/sign_in.php?PHPSESSID=vsn7pjl9m4r9532dorsn7vngg7",
				data: {
					'recover_password' : true ,
					'email' : $('#forgotpassword_email').val()
				},
				success: function(data) {
					if (data['status'] == 'ok') {
						removeAllErrors('forgotpassword_error_msg');
						$('#forgotpassword_error_msg').addClass('ok_msg_active');
						$('#forgotpassword_error_msg').text('Password recovery link was sent to your e-mail.');
						$('#forgotpassword_error_msg').show();
					}
					else {
						addError('forgotpassword_email', 'forgotpassword_error_msg', 'This e-mail is not registered.');
					}
			});
	function checkSocialLogin(strType) {
		if (bolHasCookieUploads == true && bolAddCookieUploadsAnswered == false) {
			strActiveForm = strType;
			showAddCookieUploads();
		else {
			if ($('.dont_redirect_after_login').val() == 'true')
				$('#sendfiles').submit();
				$('.add_anonym_uplaods').val('true');
			if (strType == 'facebook') {
				$('#login_facebook').submit();
			else if (strType == 'google') {
				$('#login_google').submit();
			else if (strType == 'draugiem') {
				$('#login_draugiem').submit();
	function validateEmail(email) {
		var re = /^(([^<>()[\]\\.,;:\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,}))$/;
		var result = re.test(email);
		return result;
	function validateUsername(username) {
		var re = /^[a-zA-Z0-9_\.@\-]+$/;
		var result = re.test(username);
		return result;
	function addError(strDomId, strErrorMsgId, strErrorMsgText) {
		$('#' + strDomId).addClass( 'has_error' );
		$('#' + strErrorMsgId).text(strErrorMsgText);
		$('#' + strErrorMsgId).show();
	function removeError(strInputId) {
		$('#' + strInputId).removeClass( 'has_error' );
	function removeAllErrors(strErrorMsgId) {
		$('#' + strErrorMsgId).text('');
		$('#' + strErrorMsgId).hide();
	var isUsernameChanged = false;
	function usernameChanged()
		isUsernameChanged = true;
	function createUsername(strEmail)
		if( !isUsernameChanged && strEmail != '' && validateEmail(strEmail))
			var arrEmail = strEmail.split("@");
			var strUsername = arrEmail[0];
			while (strUsername.length < 4)
				strUsername += '1';
			$.ajax(
				type: "POST",
				dataType: "json",
				url: "./ajax/sign_in.php?PHPSESSID=vsn7pjl9m4r9532dorsn7vngg7",
				data:
					'get_username' : true ,
					'username' : strUsername
				},
				success: function(data)
					if (data['status'] == 'ok' && data['username'])
					{
						$('#createaccount_username').val(data['username']);
					}
			});
	var bolCreateBusinessAccount = false;
	function toggleCreateBusinessAccount()
		if (bolCreateBusinessAccount)
			bolCreateBusinessAccount = false;
			$('#create_business_account_container').hide();
		else
			bolCreateBusinessAccount = true;
			$('#create_business_account_container').show();
</script>        </div>
        
        <div id="mega-menu" class="collapse">
            <div class="container event_ignore_click">
                <div class="transparent"></div>
                <ul id="nav-functional"></ul>
                
                                <div class="other-apps">
                    <ul>
                    
                        <li class=" ">
                            <a href="/sync-share" onclick="gaev('HeaderClick', 'SyncShare', '');">
                                <img class="dark" src="/images/header/store.svg" /><img class="white" src="/images/header/store_white.svg" />Store                            </a>
                            <div class="description">
                                <h5>Files.fm Sync - secure file sharing and storage between devices and people</h5>
                                <p>Secure and contemporary file management and storage solution for collaboration</p>
                                <a href="/sync-share" onclick="gaev('HeaderClick', 'SyncShare', '');">Explore</a>
                            </div>
                        </li>
                        
                        
                        <li class=" ">
                            <a href="/sell-files" onclick="gaev('HeaderClick', 'SellFiles', '');">
                                <img class="dark" src="/images/header/sell.svg" /><img class="white" src="/images/header/sell_white.svg" />Sell                            </a>
                            <div class="description">
                                <h5>Create your own File store in 5 mins and start selling</h5>
                                <p>Convenient platform to sell digital downloads and receive payments</p>
                                <a href="/sell-files" onclick="gaev('HeaderClick', 'SellFiles', '');">Explore</a>
                            </div>
                        </li>
                        
                        
                        <li class=" ">
                            <a href="/events" onclick="gaev('HeaderClick', 'SportEvents', '');">
                                <img class="dark" src="/images/header/events.svg" /><img class="white" src="/images/header/events_white.svg" />Events                            </a>
                            <div class="description">
                                <h5>Event photo publishing powered with AI</h5>
                                <p>Publish photos and allow event participants to find their pictures</p>
                                <a href="/events" onclick="gaev('HeaderClick', 'SportEvents', '');">Explore</a>
                            </div>
                        </li>
                        
                        
                        <li class=" ">
                            <a href="/public-profiles" onclick="gaev('HeaderClick', 'PublicProfiles', '');">
                                <img class="dark" src="/images/header/publish.svg" /><img class="white" src="/images/header/publish_white.svg" />Publish                            </a>
                            <div class="description">
                                <h5>Create a public profile and file catalog</h5>
                                <p>For publication and exchange of docs, photos, audio, video and other materials</p>
                                <a href="/public-profiles" onclick="gaev('HeaderClick', 'PublicProfiles', '');">Explore</a>
                            </div>
                        </li>
                        
                        
                        <li class=" ">
                            <a href="/backup" onclick="gaev('HeaderClick', 'Backup', '');">
                                <img class="dark" src="/images/header/backup.svg" /><img class="white" src="/images/header/backup_white.svg" />Backup                            </a>
                            <div class="description">
                                <h5>Encrypted file backup for computers and servers</h5>
                                <p>Backup solution that allows you to create automatic backup copies with strong AES-256 encryption</p>
                                <a href="/backup" onclick="gaev('HeaderClick', 'Backup', '');">Explore</a>
                            </div>
                        </li>
                        <li class=" ">
                            <a href="/upload-form" onclick="gaev('HeaderClick', 'Filebox', '');">
                                <img class="dark" src="/images/header/receive.svg" /><img class="white" src="/images/header/receive_white.svg" />Receive                            </a>
                            <div class="description">
                                <h5>File upload form for websites</h5>
                                <p>Use your website to get photos, videos and documents from your customers in a convenient and customizable way</p>
                                <a href="/upload-form" onclick="gaev('HeaderClick', 'Filebox', '');">Explore</a>
                            </div>
                        </li>
                    </ul>
                </div>
                                
            </div>
            <div class="overlay"></div>
        </div>
        <div id="navbar-css"></div>
    </nav>
</header>
<script type="text/javascript">
    $('#mega-menu .other-apps LI').on('click', function (){
        if ( $('A:first-child', this).attr('href') != null && $('A:first-child', this).attr('href').indexOf('javascript:') == -1 )
        {
            window.location = $('A:first-child', this).attr('href');
        }
    });
    /*** Dropdowns ***/
    $('HEADER .dropdown-toggle').on('click', function (){
        var jqMenu = $(this).closest('.dropdown-menu-container');
        var bolShow = ! $('.dropdown-menu', jqMenu).is(':visible');
        
        
        // hide all other popups if dropdon not inside main meu popup
        if ( $(this).closest('#mega-menu').length == 0 )
            hidePopups();
        
        if ( bolShow )
        {
            jqMenu.addClass('active');
        }
        else
        {
            jqMenu.removeClass('active');
        }
    });
    /***/
    /*** Dropdowns ***/
    $('HEADER .dropdown-menu-container').on('hover', function (){
        
        // hide all other popups if dropdon not inside main meu popup
        if ( $(this).closest('#mega-menu').length == 0 )
            hidePopups();
        
        $(this).addClass('active');
    });
    $('HEADER .dropdown-menu-container').on('mouseleave', function (){
        $(this).removeClass('active');
    });
    /***/
    // Show nav bar on mouse enter
    $('#navbar-toggler').on('mouseenter', function (){
        // If clicked on ovelay, event fired immediately
        var intTimeFromPreviousMegamenuHide = null;
        if ( intMegamenuHideTime !== null )
            intTimeFromPreviousMegamenuHide = (new Date()).getTime() - intMegamenuHideTime;
        if ( ! $('#mega-menu').hasClass('show') && ( intTimeFromPreviousMegamenuHide === null || intTimeFromPreviousMegamenuHide > 300) )
        {
            $('#mega-menu').addClass('show');
        }
    });
    // Hide navbar on mouse leave
    $('#mega-menu .container').on('mouseleave', function (){
        $('#mega-menu').removeClass('show');
    });
    $('#navbar-toggler').on('click', function (){
        var bolShow = ! $('#mega-menu').hasClass('show');
        hidePopups();
        if ( bolShow )
        {
            $('#mega-menu').addClass('show');
        }
        else
        {
            $('#mega-menu').removeClass('show');
        }
    });
</script>
	<div id="content">
	<link rel="stylesheet" type="text/css" media="all" href="css/list.v2/main.css?v=23" />
	<div id="content">
		<div id="center">
			<div class="deleted_wrapper">
                <div class="deleted_inner">
                    <div class="deleted_vertical_center clearfix">
                        <div class="deleted_inner_left">
                            <h1>This link does not contain any files</h1>
                            <p>Possible reasons:</p>
                            <ul class="fa-ul">
                                <li><i class="fa-li fa fa-arrow-circle-o-right"></i>The expiry date of these files is over</li>
                                <li><i class="fa-li fa fa-arrow-circle-o-right"></i>These files are deleted by the owner</li>
                                <li><i class="fa-li fa fa-arrow-circle-o-right"></i>You have opened an invalid address</li>
                            </ul>
                        </div>
                        <div class="deleted_inner_right">
                            <i class="fa fa-hourglass-end"></i>
                        </div>
                    </div>
                </div>
            </div>
            <div class="deleted_footer">
                These files can not be restored. Only registered users files are stored permanently. Please, create and use a user account to store and share files!
                                    <br><a href="javascript:void(0)" onclick="showCreateAccount(); return false;">Sign up</a>
                            </div>
		</div>
	</div>
    </div>
    <link rel="stylesheet" type="text/css" media="all" href="/css/footer.css?v=4"/>
        <div id="footer_container">
        <div id="footer" class="clearfix">
        	
        	        
            <div class="footer_block footer_block_left">                
                <div class="float_left">
                    <p style=>2008 - 2019 
 Files.fm Ltd. Made in Europe.</p>
                    
                    <p>Files.fm provides secure and convenient cloud data storage, backup and SaaS solutions for business or private users, so that they can easily store, backup, share, publish or sell files worldwide</p>
                </div>
            </div>
            
            <div class="footer_block_right">
                <div class="footer_block">
                    <div class="footer_title">
                        Get started                        <div class="footer_header_div">
                            <div class="footer_header_div_line"></div>
                        </div>
                    </div>
                    
                    <ul>
                    	                        <li>
                            <a href="" onclick="showCreateAccount(); return false;">Create account / Login</a>
                        </li>
                                                <li>
                            <a href="storage-plans">Features and pricing</a>
                        </li>
                        <li>
                            <a href="terms">Terms</a>
                        </li>
                        <li>
                            <a href="questions-about-online-file-storage">Questions</a>
                        </li>
                        <li>
                            <a href="/u/vrfc4dva" target="_blank">Upload link sample</a>
                        </li>
                    </ul>
                </div>
                
                <div class="footer_block">
                    <div class="footer_title">
                        Solutions                        <div class="footer_header_div">
                            <div class="footer_header_div_line"></div>
                        </div>
                    </div>
                    
                    <ul>
                        <li>
                            <a href="/backup">PC / Server Backup</a>
                        </li>
                        <li>
                            <a href="/sync-share">File sync</a>
                        </li>
                        <li>
                            <a href="upload-form" target="_blank">File upload form</a>
                        </li>
                        <li>
                            <a href="/sell-files">Sell digital content</a>
                        </li>
                        <li>
                            <a href="/public-profiles" target="_blank">Public file catalog</a>
                        </li>
                        <li>
                            <a href="http://serveri.failiem.lv/" target="_blank">Business servers</a>
                        </li>
                        
                                            </ul>
                </div>
                
                <div class="footer_block">
                    <div class="footer_title">
                        Applications                        <div class="footer_header_div">
                            <div class="footer_header_div_line"></div>
                        </div>
                    </div>
                    
                    <ul>
                        <li>
                            Sync:
                            <a href="/software/files.fm_sync_windows.exe" download>Windows</a> |
                            <a href="/software/files.fm_sync_macos.dmg" download>MacOS</a>
                        </li>
                        
                        <li>
                            Backup: <a href="/software/files.fm_backup_windows.msi" download>Windows</a> |
                            <a href="/software/files.fm_backup_macos.dmg" download>MacOS</a>
                        </li>
                        
                        <li>
                            Mobile:
                            <a href="https://play.google.com/store/apps/details?id=lv.failiem" target="_blank">Android</a> |
                            <a href="/software/android.apk" download>APK</a> |
                            <a href="https://itunes.apple.com/lv/app/files-fm/id1227725780?mt=8" target="_blank">IOS</a>
                        </li>
                        <li>
                            <a href="/webdav-info">WebDAV network drive</a>
                        </li>
                        <li>
                            <a href="https://files.fm/library" target="_blank">Files.fm Library ICO</a>
                        </li>
                    </ul>
                </div>
                
                <div class="footer_block">
                    <div class="footer_title">
                            Support                    </div>
                    
                    <ul>
                        <li>
                            <a href="https://support.files.fm/hc/en-us" target="_blank">
                                Help & knowledge center</a>
                        </li>
                        <li>
                            <a href="https://support.files.fm/hc/en/community/topics" target="_blank">
                                User community topics</a>
                        </li>
                        <li>
                            <a href="about">About Files.fm</a>
                        </li>
                        <li>
                            <a href="./contacts">Contacts</a>
                        </li>
                        <li>
                            <a href="./api.php">For developers</a>
                        </li>
                                            </ul>
                </div>
            </div>
            
                    </div>
        
                
        <div id="footer_bottom_line"></div>
    </div>
</div>
<div id="info_tooltip_global"></div>
<script type="text/javascript">
    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-1970559-6']);
    _gaq.push(['_setDomainName', '.failiem.lv']);
    _gaq.push(['_trackPageview']);
    (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();
</script>
<script type="text/javascript">
    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-1970559-10']);
    _gaq.push(['_setDomainName', '.files.fm']);
    _gaq.push(['_trackPageview']);
    (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();
</script>
    <script type="text/javascript">
        
        var _gaq = _gaq || [];
        _gaq.push(['_setAccount', 'UA-1970559-12']);
        _gaq.push(['_setDomainName', 'files.fm']);
        _gaq.push(['_trackPageview']);
        
        (function() {
            var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
            ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
        })();
    </script>
<script>
    function CloseSuggestion(id) {
        
        if (id == 'suggest_lang') {
            $.get("includes/suggest_language.php", {sLang: 1});
        }
        else if (id == 'suggest_register'){
            $.get("includes/suggest_language.php", {sReg: 1});
        }
        
        document.getElementById(id).style.display='none';
</script>
    <script type="text/javascript">
        
        $(window).bind("load", function() {
            $( "#register_from_ico" ).val( 0 );
            if	(window.location.hash == '#sign_up') {
                
                showCreateAccount();
            }
            else if	(window.location.hash == '#log_in') {
                
                showSignIn();
            }
            else if	(window.location.hash == '#forgot_password') {
                
                showForgotPassword();
            }
        });
    </script>
    <div id="footer_bottom_floating_line" class="footer_bottom_floating_line__listphp  cookies_msg_active ">
        
                    <div id="footer_bottom_floating_line__cookies">
		<span id="footer_bottom_floating_line__cookies__text">
            By continuing to browse or use the site, you <b>agree</b> to our usage <a href="https://files.fm/terms" target="_blank">Terms</a> and <a href="https://files.fm/privacy-policy" target="_blank">Data processing policy</a>		</span>
                <span id="footer_bottom_floating_line__cookies__ok_btn" onclick="gaev('CookiePolicy', 'CloseButton', ''); $('#footer_bottom_floating_line__cookies').hide(); document.cookie='cookie_info_closed=true; max-age=31536000'; $( '#footer_bottom_floating_line' ).removeClass( 'cookies_msg_active' );">
			OK		</span>
            </div>
                
                
                    <div id="footer_bottom_floating_line__right" class="cookie_info_active">
                
                <a id="footer_bottom_floating_line__right__telegram" title="Join our Telegram community!" href="https://t.me/filesfm" target="_blank">
                    <i class="fa fa-paper-plane"></i>
                </a>
            
            </div>
                
    </div>
                <script type="text/javascript" src="/js/inputs.js?v=1536455899"></script>
</body>
</html>