<!DOCTYPE html>
<html>

  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>ScanTheSun full version activation</title>
    <meta name="description" content="ScanTheSun full version activation">
	<meta name="keywords" content="scanthesun, ScanTheSun, scan the sun, photovoltaics, application, app, solar panels, PV panels, PV installation,
	solar app, solar application, panels adjustment, best installation, yield, profitability">
	<meta name="author" content="ScanTheSun">
    <link rel="stylesheet" href="styl_request_activation.css">
    <script src="../jquery-3.5.1.min.js"></script>
    <script src="../page_fonts.js"></script>
    <script src="../geneic_requests.js"></script>

      <link rel="apple-touch-icon" sizes="180x180" href="/global/img/favic/apple-touch-icon.png">
      <link rel="icon" type="image/png" sizes="32x32" href="/global/img/favic/favicon-32x32.png">
      <link rel="icon" type="image/png" sizes="16x16" href="/global/img/favic/favicon-16x16.png">
      <link rel="manifest" href="/global/img/favic/site.webmanifest">
      <link rel="mask-icon" href="/global/img/favic/safari-pinned-tab.svg" color="#5bbad5">
      <link rel="shortcut icon" href="/global/img/favic/favicon.ico">
      <meta name="msapplication-TileColor" content="#da532c">
      <meta name="msapplication-config" content="/global/img/favic/browserconfig.xml">
      <meta name="theme-color" content="#ffffff">
   <!-- <meta http-equiv="Cache-Control" content="no-store, no-cache, must-revalidate" />
    <meta http-equiv="Cache-Control" content="post-check=0, pre-check=0" />
    <meta http-equiv="Pragma" content="no-cache" /> -->
 <script>

$(document).ready(function() {
  $('input').keydown(function(event){
    if(event.keyCode == 13) {
      event.preventDefault();
      return false;
    }
  });

    //hamburger clicks ahndler
  $('.btn').click(function(){
          $('.items').toggleClass("show");
          $('ul li').toggleClass("hide");
        });


});

function postRequestHandler(){

}

function submitAjax(sWich,sTarget)
{
	var oEmail=document.getElementById("email_inp");
	sEmail=oEmail.value;
	if(validateEmail(sEmail))
	{

		var button=document.getElementById('submittbutton');
		button.style.visibility="hidden";
		oMess=document.getElementById(sTarget);
		oMess.innerHTML='Processing ...';
		oEmail.style.display="none";
		post_request(sWich, sTarget, postRequestHandler);

	}
	else
	{
		oMess=document.getElementById("message");
		oMess.innerHTML='<span style="color:red">Please correct your email address.</span>';
	}
}


function submitAjaxNFC(sWich,sTarget)
{
	var oEmail=document.getElementById("email_inp_nfc");
	sEmail=oEmail.value;
	var oStreet = document.getElementById("street_inp_nfc");
	var sStreet=oStreet.value;
	if(validateEmail(sEmail) && sStreet!='')
	{
		var button=document.getElementById('submittbutton_nfc');
		button.style.visibility="hidden";
		oMess=document.getElementById(sTarget);
		oMess.innerHTML='Processing ...';
		document.getElementById("message_nfc_street").style.display="none";
		oEmail.style.display="none";
		oStreet.style.display="none";
		post_request(sWich, sTarget, postRequestHandler);
	}
	else if (!validateEmail(sEmail))
	{
		oMess=document.getElementById("message_nfc_mail");
		oMess.innerHTML='<span style="color:red">Please correct your email address.</span>';
	}
	else
	{
		oMess=document.getElementById("message_nfc_street");
		oMess.innerHTML='<span style="color:red">Street address for shipment cannot be empty.</span>';
	}
}

function validateEmail(sEmail)
{
	var re = /\S+@\S+\.\S+/;
	return re.test(sEmail);
}
</script>

  </head>
  <body>

            <nav>
                <ul>
                    <li class="logo"
                        onclick="window.location='https://www.scanthesun.com/global/scanthesun.php?lang=EN';"></li>
                    <li class="items"><a href="https://www.scanthesun.com/global/about-us/about-us.php?lang=EN">ABOUT US</a></li>
                    <li class="items"><a href="https://www.scanthesun.com/global/about/about.php?lang=EN">ABOUT APP</a></li>
                    <li class="items"><a
                                href="https://www.scanthesun.com/global/projects/projects.php?lang=EN">PROJECTS</a></li>
                    <li class="items"><a href="https://www.scanthesun.com/global/profitability/calculator.php?lang=EN">CALCULATOR</a>
                    </li>
                    <li class="items"><a
                                href="https://www.scanthesun.com/global/partners/partners.php?lang=EN">PARTNERS</a></li>
                    <li class="items"
                        onclick="(function(){var url = $(location).attr('href').split('?')[0]+'?lang=PL'; window.location=url.replace('#','');})();return false;">
                        <a>PL</a></li>
                    <li class="items"
                        onclick="(function(){var url = $(location).attr('href').split('?')[0]+'?lang=EN'; window.location=url.replace('#','');})();return false;">
                        <a>EN</a></li>
                    <li class="btn"><a href="#"><i class="fas fa-bars"></i></a></li>
                </ul>
            </nav>

            


<!-- klucz -->

  <section id="sek10">
        <div class="opisklucza">
              <h2>DOWNLOAD ACTIVATION <br/> RUN ALL SCANTHESUN FUNCTIONS</h2>
              <p>Activate the full version of ScanTheSun using a <strong>digit-key</strong> or an <strong>NFC tag</strong>. <br/><br/>
              The <strong>key</strong> in the form of a digital code activates the full version of ScanTheSun app in one smartphone. Download the key to provided email address. Enter the key in the ScanTheSun application to activate its full version.<br/><br/>
              The <strong>NFC tag</strong> in the form of a proximity card activates the full version of ScanTheSun in many smartphones. The NFC tag will be sent to provided street address. Touch the NFC tag with your smartphone to activate ScanTheSun full version. You can use the NFC tag for activation in many smartphones. </p>
        </div>
        <div class="klucz">
              <div class="kontener" style="position:relative">




              <h3>KEY FOR ONE SMARTPHONE</h3>
              <p>

				<img src="img/get_experts_code.png" style="width:150px"/>
			  <div style="margin:0px;border-width:0px;padding:10px;background-color:#FFFFFF;cursor:pointer;" >
			  The key activating all ScanTheSun functionalities <strong>in one smartphone</strong> will be sent to provided email address. Please check also your spam folder.
		      </div>

			  </p>



              <div style="width:80%; height:20%; top: 80%; margin:0px;border-width:0px;background-color:#FFFFFF;cursor:pointer; position:absolute">

			<form method="post" action="generate_experts_code_2020.php" id="get_code">
		<span id="message">Send the activation key to email address</span><br/>
		<input type="text" name="email" id="email_inp" style="width:99%"/>
		<br/>
		<div class="submitbtn" style="cursor:pointer;float:right;margin:20px;text-align:center;" id="submittbutton" onclick="submitAjax('get_code', 'message')">download</div>
		<input type="hidden" name="lang" value="EN"/>
		<input type="hidden" name="now" value="1778468537"/>
		<input type="hidden" name="nowpass" value="9cd3df6d49b9d31b6328ee2099772c471ccc1afd"/>
		</form>
	</div>








              </div>
              <div class="kontener" style="position:relative" >


               <div class="ramkakalkulatora"><h3>NFC TAG FOR MANY SMARTPHONES</h3><p>
				  <img src="img/get_partners_code.png" style="width:150px"/>
				<div style="margin:0px;border-width:0px;padding:10px;background-color:#FFFFFF;cursor:pointer;">
				  The NFC proximity tag that activates all ScanTheSun functionalities <strong>in many smartphones</strong> will be shipped to provided street address.
				</div>
					<div style="width:80%; height:40%; top: 60%;;margin:0px;border-width:0px;padding:0px;background-color:#FFFFFF;position:absolute">

		<form method="post" action="generate_partners_code_2020.php" id="get_code_nfc" >

		<span  id="message_nfc_mail">enter your email for shipment confirmation</span><br/>
		<input type="text" name="email" style="width:99%" id="email_inp_nfc"/>
		<br/><br/>
		<span  id="message_nfc_street">Street address for the NFC tag shipment </span><br/>
		<textarea name="streetaddress" style="width:99%" rows="4" id="street_inp_nfc"></textarea>  <br/>
		<div class="submitbtn" style="cursor:pointer;float:right;margin:20px;text-align:center;" id="submittbutton_nfc" onclick="submitAjaxNFC('get_code_nfc', 'message_nfc_mail')">order</div>
		<input type="hidden" name="lang" value="EN"/>
		<input type="hidden" name="now" value="1778468537"/>
		<input type="hidden" name="nowpass" value="9cd3df6d49b9d31b6328ee2099772c471ccc1afd"/>
		</form>
	</div>






				  </p>


              </div>
        </div>
</section>

<!-- klucz -->

<!-- stopka-->
<link rel="stylesheet" href="/global/php_modules/footer.css">
<footer>
<section id="sek8">

    <div class="stopka">


        <div class="leftbox">
            <h2>scan the sun</h2>
            <div class="ramka">
                <p>ScanTheSun - effective pv installation project within 1 minute</p>
            </div>

        </div>


        <div class="centerbox">
            <h2>Address</h2>
            <div class="ramka">
                <div class="adres">
                    <span class="fas fa-map-marker-alt"></span>
                    <span class="text">Lublin, Zana 11a</span>
                </div>

                <div class="email">
                    <span class="fas fa-envelope"></span>
                    <span class="text">contact@scanthesun.com</span>
                </div>
                <div class="email" style="cursor:pointer" onclick="(function(){window.location='https://www.facebook.com/Scanthesun-1776743762556506/';})();">
                    <span class="fab fa-facebook-f"></span>
                    <span class="text">Facebook</span>
                </div>
                <div class="email" style="display:none">
                    <span class="fab fa-linkedin-in"></span>
                    <span class="text">LinkedIn</span>
                </div>
                <div class="email" style="cursor:pointer" onclick="(function(){window.location='https://www.youtube.com/channel/UCB-UdGyliG0tioeEZTnXbtQ';})();">
                    <span class="fab fa-youtube"></span>
                    <span class="text">YouTube</span>
                </div>
            </div>
        </div>
        <div class="rightbox">

            <div class="ramka">
                <img src="/global/img/oznaczenia_en.jpg" id="oznacznia_fundusz"/>
            </div>


        </div>
<!--        <div class="rightbox" style="display:none">-->
<!--            <h2>newsletter</h2>-->
<!--            <div class="ramka">-->
<!--            <form action="#">-->
<!--              <div class="email">-->
<!--                <div class="text">Email *</div>-->
<!--                  <input type="email" required>-->
<!--              </div>-->
<!--            </form>-->
<!---->
<!--            <div class="btn">-->
<!--            <button type="submit">submit</button>-->
<!--            </div>-->
<!--            </div>-->
<!--        </div>-->


    </div>


</section>
</footer>



  </body>
</html>
