<?php
header("Referrer-Policy: same-origin");

function exec_enabled() {
    $disabled = explode(',', ini_get('disable_functions'));
    return !in_array('exec', $disabled);
}

@unlink ('error.msg');
// if (strstr ($_SERVER['SERVER_NAME'], "meteobridge.com"))
{
  if (isset ($_POST['mbdownload']))
  {
    // build daily data archives for download
    //exec ("cd weather34charts 2>/dev/null; tar czf ../archive.tgz 20* 2>/dev/null >/dev/null");
    @unlink ("archive.tar.gz");
    @unlink ("archive.tar");
    chdir ("weather34charts");
    
    try { $archive = new PharData ('../archive.tar'); } catch (Exception $e) { file_put_contents ('error.msg', "Error: Cannot create archive file"); goto done; };
    foreach (glob ("20*") as $fn)
    {
      if (is_dir ($fn))
      {
	try { $archive->addEmptyDir ($fn); } catch (Exception $e) { file_put_contents ('error.msg', "Error: Cannot create directory within archive"); goto done; };
	foreach (glob ($fn . "/*") as $fn2)
	{
	  try { $archive->addFile ($fn2); } catch (Exception $e) { file_put_contents ('error.msg', "Error: Cannot add file within directory to archive"); goto done; };
	}
      }
      else
      {
	try { $archive->addFile ($fn); } catch (Exception $e) { file_put_contents ('error.msg', "Error: Cannot add file to archive"); goto done; };
      }
    }
    $archive->compress (Phar::GZ);
    @unlink ('../archive.tar');
    
    // start download stream
    $filename = "aurora-archive-" . date("Ymd") . ".tgz";
    header("Content-Type: application/download");
    header("Content-Disposition: attachment; filename=" . $filename);
    header("Content-Length: " . filesize("../archive.tar.gz"));
    $fp = fopen("../archive.tar.gz", "r");
    fpassthru($fp);
    fclose($fp);
    exit (0);
  }

  if (isset ($_POST['mbclone']))
  {
    // build data archive from existing Aurora install
    set_time_limit(0);
    @unlink ("archive.tar.gz");
    @unlink ("archive.tar");

    $url = str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['cloneurl']);
    $client = substr ($url, strpos ($url, "://") + 3);
    $client = substr ($client, 0, strpos ($client, "/") ? strpos ($client, "/") : NULL);
    $client = str_replace (".", "_", $client); 

    if (substr_compare($url, ".php", -strlen(".php")) === 0)
      if ($pos = strrpos ($url, '/'))
        $url = substr ($url, 0, $pos);

    if (! ($datalist = file_get_contents ($url . "/listdata.php")))
      file_put_contents ('error.msg', "Error: URL '" . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['cloneurl']) . "' does not point to a valid Meteobridge Aurora install");
    else
    {
      try { $archive = new PharData ('archive.tar'); } catch (Exception $e) { file_put_contents ('error.msg', "Error: Cannot create archive file"); goto done; };
      foreach (explode (PHP_EOL, $datalist) as $fn)
      {
// echo "-" . $fn . "-<BR>" . PHP_EOL;
	if (strlen ($fn)) 	// skip empty names
	{ 
	  if (! strpos ($fn, '.'))	// detect if directory
	  {  
  	    try { $archive->addEmptyDir ($fn); } catch (Exception $e) { file_put_contents ('error.msg', "Error: Cannot create directory '" . $fn . "' within archive:"); goto done; };
	  }
	  else
	  {
	    $path = $url . "/weather34charts/" . $fn;
            $str = file_get_contents ($path);
	    if ($content !== false)
	    {
	      try { $archive->addFromString ($fn, $str); } catch (Exception $e) { file_put_contents ('error.msg', "Error: Cannot add file '" . $fn . "' to archive:"); goto done; };
	    }
	  }
        }
      }
      $archive->compress (Phar::GZ);
      @unlink ("archive.tar");

      // start download stream
      $filename = "aurora-archive-" . $client .  "-" . date("Ymd") . ".tgz";
      header("Content-Type: application/download");
      header("Content-Disposition: attachment; filename=" . $filename);
      header("Content-Length: " . filesize("archive.tar.gz"));
      $fp = fopen("archive.tar.gz", "r");
      fpassthru($fp);
      fclose($fp);
      exit (0);
    }
  }
  done:
}

include('console-settings.php');
$thepassword=$password;
$backupfile='<svg version="1.1"  fill="#fff" x="0px" y="0px" width="150px" height="150px" viewBox="0 0 548.291 548.291" 
style="enable-background:new 0 0 548.291 548.291;margin-top:-30px;"
xml:space="preserve"> 
<g>
<path d="M486.201,196.121h-13.166v-63.525c0-0.396-0.062-0.795-0.115-1.196c-0.021-2.523-0.825-5-2.552-6.964L364.657,3.677
   c-0.033-0.031-0.064-0.042-0.085-0.075c-0.63-0.704-1.364-1.29-2.143-1.796c-0.229-0.154-0.461-0.283-0.702-0.418
   c-0.672-0.366-1.387-0.671-2.121-0.892c-0.2-0.055-0.379-0.136-0.577-0.188C358.23,0.118,357.401,0,356.562,0H96.757
   C84.894,0,75.256,9.649,75.256,21.502v174.613H62.092c-16.971,0-30.732,13.756-30.732,30.733v159.812
   c0,16.968,13.761,30.731,30.732,30.731h13.164V526.79c0,11.854,9.638,21.501,21.501,21.501h354.776
   c11.853,0,21.501-9.647,21.501-21.501V417.392h13.166c16.966,0,30.729-13.764,30.729-30.731V226.854
   C516.93,209.877,503.167,196.121,486.201,196.121z M96.757,21.507h249.054v110.01c0,5.939,4.817,10.75,10.751,10.75h94.972v53.861
   H96.757V21.507z M323.311,223.638v160.545h-36.447V223.638H323.311z M146.309,253.649v-30.011h116.474v20.967l-74.789,108.618
   v0.944h75.985v30.016H139.165v-19.537l76.465-110.039v-0.958H146.309z M451.534,520.968H96.757V417.392h354.776V520.968z
    M455.276,310.586c-12.384,11.671-30.724,16.903-52.164,16.903c-4.775,0-9.05-0.23-12.388-0.709v57.402H354.76v-158.4
   c11.192-1.914,26.909-3.336,49.061-3.336c22.399,0,38.349,4.284,49.077,12.861c10.236,8.097,17.145,21.438,17.145,37.161
   C470.047,288.188,464.804,301.526,455.276,310.586z"/>
<path d="M405.738,249.838c-7.401,0-12.405,0.717-15.014,1.436v47.397c3.086,0.714,6.908,0.956,12.152,0.956
   c19.286,0,31.203-9.775,31.203-26.201C434.08,258.655,423.837,249.838,405.738,249.838z"/>
</g></svg>
';


$aw='<svg version="1.1" x="0px" y="0px" viewBox="0 0 1000 1000" 
 width="75px" height="75px" style="position:absolute;background:none;top:5px; color:#c8d4df;" fill="#c8d4df">
<g><g transform="translate(0.000000,512.000000) scale(0.100000,-0.100000)">

<path fill="#1994d7" d="M3372.9,4976c-164.6-88.1-176.1-124.4-275.6-769.5c-47.9-315.8-86.1-589.5-86.1-606.8c0-19.1,17.2-51.7,38.3-72.7c38.3-38.3,63.2-38.3,1795.4-38.3c1741.8,
0,1757.1,0,1799.2,38.3c23,23,42.1,55.5,42.1,72.7c0,19.1-38.3,287.1-86.1,597.2c-55.5,361.8-99.5,585.7-120.6,629.7c-19.1,38.3-72.7,95.7-116.8,126.3l-82.3,
57.4l-1410.7,5.7l-1410.7,3.8L3372.9,4976z"/>

<path fill="#c8d4df"d="M2860,3151.9c-323.5-86.1-576.1-344.5-662.3-671.8c-44-166.5-42.1-4555.5,0-4723.9c86.1-329.2,342.6-583.8,
673.8-669.9c164.6-42.1,3789.8-42.1,3954.4,0c331.1,86.1,587.6,340.7,673.8,669.9c17.2,70.8,28.7,197.1,28.7,338.8v225.9h91.9c49.8,0,101.4,9.6,114.8,23c32.5,32.5,
32.5,1452.8,0,1485.3c-13.4,13.4-65.1,23-114.8,23h-91.9v440.2v440.2h105.3c88,0,114.8,7.7,153.1,47.9l47.8,45.9v436.4c-1.9,312-7.7,444.1-24.9,467c-38.3,49.8-101.4,
74.6-193.3,74.6h-88v283.3c0,191.4-9.6,319.7-28.7,396.2c-86.1,329.2-342.6,583.8-673.8,669.9C6665.1,3195.9,3016.9,3194,2860,3151.9z M5514.8,
1835c-26.8-323.5-279.4-604.8-587.6-652.7l-82.3-13.4l7.7,120.6c17.2,283.3,237.4,551.3,522.5,641.2C5520.5,1976.6,5524.3,1972.8,5514.8,1835z M5700.4,
1111.5c118.7-30.6,218.2-88,329.2-193.3l103.3-97.6l-93.8-80.4C5650.7,401.4,5689-180.5,6113.9-458c84.2-53.6,93.8-67,
84.2-111c-36.4-151.2-243.1-497.7-400-666.1c-162.7-176.1-348.4-210.6-585.7-109.1c-82.3,36.4-170.3,55.5-262.2,63.2c-120.6,
7.7-158.9,0-336.9-61.3c-111-38.3-227.8-68.9-262.2-68.9c-258.4,0-637.4,486.2-792.4,1016.4C3346.1,342,3575.8,946.9,4129,1105.7c155,
45.9,306.3,30.6,509.1-49.8c90-34.5,193.3-63.2,229.7-63.2c36.4,0,137.8,26.8,224,61.3C5336.8,1149.8,5491.8,1163.2,5700.4,1111.5z"/>

<path fill="#1994d7" d="M3049.5-3287c-21.1-21-38.3-55.5-38.3-74.7s38.3-292.8,86.1-606.7c99.5-643.1,111-681.4,275.6-767.5l86.1-44l1410.7,3.8l1410.7,5.7l82.3,
57.4c44,32.5,95.7,88,114.8,124.4c30.6,57.4,208.6,1110.2,208.6,1228.8c0,17.2-19.2,49.8-42.1,72.7c-42.1,38.3-57.4,38.3-1799.2,38.3C3112.6-3248.7,3087.7-3248.7,
3049.5-3287z"/></g></g>
</svg>';

$mailicon='<svg width="85" height="85" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
  fill-rule="evenodd"
  clip-rule="evenodd"
  d="M1 2C0.447715 2 0 2.44772 0 3V12C0 12.5523 0.447715 13 1 13H14C14.5523 13 15 12.5523 15 12V3C15 2.44772 14.5523 2 14 2H1ZM1 3L14 3V3.92494C13.9174 3.92486 13.8338 3.94751 13.7589 3.99505L7.5 7.96703L1.24112 3.99505C1.16621 3.94751 1.0826 3.92486 1 3.92494V3ZM1 4.90797V12H14V4.90797L7.74112 8.87995C7.59394 8.97335 7.40606 8.97335 7.25888 8.87995L1 4.90797Z"
  fill="currentColor"/></svg>';

$hometempmenu='<svg id="weather34 home indoor temperature icon" version="1.0" x="0px" y="0px" width="20pt" height="20pt" viewBox="0 0 575.284 575.285" style="enable-background:new 0 0 575.284 575.285;">
<g><g>
<path fill="rgba(211, 93, 78, 1.000)" d="M167.295,287.88c-0.771,0.673-1.224,1.653-1.224,2.693V395.25c0,1.53,0.979,2.876,2.424,3.366l67.883,22.632 c0.367,0.122,0.747,0.184,1.126,0.184c0.734,0,
1.469-0.233,2.069-0.674c0.93-0.673,1.481-1.738,1.481-2.876V300.513 c0-1.763-1.285-3.256-3.036-3.514l-67.883-9.939C169.119,286.901,168.079,287.208,167.295,287.88z"/>
<path fill="rgba(211, 93, 78, 1.000)" d="M132.387,281.589l-47.846-6.977c-1.016-0.159-2.057,0.159-2.828,0.82c-0.783,0.673-1.224,1.652-1.224,2.692v88.582 c0,1.53,0.979,2.877,2.424,3.366l47.846,
15.948c0.368,0.123,0.747,0.184,1.114,0.184c0.734,0,1.469-0.232,2.081-0.673 c0.918-0.673,1.469-1.738,1.469-2.876V285.09C135.422,283.327,134.137,281.834,132.387,281.589z"/>
<path fill="#999" d="M573.174,203.669L424.678,4.843c0,0-1.419-2.24-4.7-3.55c-3.28-1.322-6.475-0.392-6.475-0.392L180.184,60.694V40.057
c0-4.957-3.415-9.253-8.237-10.379l-19.499-4.504c0,0-1.261-0.343-3.036-0.245c-1.774,0.098-2.913,0.575-2.913,0.575 l-35.166,12.46c-4.247,1.505-7.087,5.52-7.087,10.024v32.179l-36.928,
9.449c-2.975,0.771-5.472,2.778-6.867,5.52L1.15,212.666 c-1.653,3.268-1.518,7.148,0.367,10.282c1.885,3.133,5.251,5.08,8.911,5.166l28.103,0.587v208.558 c0,3.978,2.203,7.613,5.728,
9.437L287.92,573.489c0,0,2.118,1.176,4.896,1.212c2.778,0.024,4.921-1.212,4.921-1.212 l236.098-122.963c3.513-1.836,5.716-5.459,5.728-9.437l0.416-222.096l23.917,1.652c0,0,6.255,0.71,9.78-5.018 
C577.568,209.361,573.174,203.669,573.174,203.669z M282.205,546.512L59.828,430.795V229.141l177.468,3.733c0,0,0,0,0.012,0h0.024 l44.884,0.808v312.831H282.205z M530.102,196.986c-2.95-0.208-5.839,
0.82-7.993,2.828c-2.154,2.007-3.378,4.834-3.391,7.772
l-0.416,227.041l-60.942,31.751V269.606c0-1.004-0.417-1.946-1.151-2.62s-1.701-1.003-2.692-0.918l-58.63,4.872 c-1.836,0.159-3.256,1.701-3.256,
3.537v226.11L303.478,546.5V223.229c0-5.814-4.651-10.539-10.453-10.649l-32.901-0.6
L415.62,28.307l126.611,169.512L530.102,196.986z"/></g></svg>';


$gdprsvg='<svg xmlns="http://www.w3.org/2000/svg" id="weather34 GDPR" title="weather34 GDPR" shape-rendering="geometricPrecision" text-rendering="geometricPrecision" image-rendering="optimizeQuality" 
viewBox="10 0 512 512" width="40px" height="40px" ><g fill-rule="nonzero" >
<path fill="#4D4D4D" d="M256 0c70.684 0 134.689 28.663 181.013 74.987C483.337 121.31 512 185.316 512 256c0 70.684-28.663 134.689-74.987 181.013C390.689 483.336 326.684 512 256 
512c-70.676 0-134.689-28.664-181.013-74.987C28.664 390.689 0 326.676 0 256c0-70.684 28.664-134.69 74.987-181.013C121.311 28.663 185.316 0 256 0z"/>
<path fill="#fff" d="M256.002 19.596c65.279 0 124.383 26.462 167.161 69.24 42.772 42.777 69.239 101.885 69.239 167.164 0 65.28-26.462 124.384-69.239 167.161-42.778 
42.777-101.882 69.239-167.161 69.239-65.28 0-124.388-26.466-167.165-69.239C46.06 380.384 19.598 321.28 19.598 256c0-65.279 26.466-124.387 69.239-167.164 42.777-42.774 
101.885-69.24 167.165-69.24z"/>
<path fill="#039" d="M256.002 39.591c119.517 0 216.404 96.892 216.404 216.409s-96.887 216.405-216.404 216.405C136.48 472.405 39.593 375.517 39.593 256S136.48 39.591 256.002 
39.591z"/>
<path fill="#FFCC02" d="M240.694 435.8L256 424.679l15.305 11.121-5.845-17.995 15.305-11.12h-18.918L256 388.69l-5.848 17.995h-18.918l15.305 11.12-5.845 17.995zM256 
76.196l-5.848 17.993h-18.918l15.305 11.122-5.845 17.992L256 112.183l15.305 11.12-5.845-17.994 15.305-11.12h-18.918L256 76.196zm102.889 309.555l-15.305 11.12 5.845
 17.995-15.305-11.12-15.308 11.12 5.847-17.995-15.308-11.12h18.921l5.848-17.994 5.845 17.994h18.92zm57.191-57.19l-15.306 11.12 5.846 17.995-15.306-11.121-15.308 11.121 
 5.848-17.995-15.308-11.12h18.92l5.848-17.995 5.848 17.995h18.918zm-24.766-174.243l5.848 17.995h18.918l-15.306 11.12 5.846 17.994-15.306-11.12-15.308 
 11.12 5.848-17.994-15.308-11.12h18.92l5.848-17.995zm-81.959-39.196h18.921l5.848-17.995 5.847 17.995h18.918l-15.308 11.123 5.848 17.992-15.305-11.12-15.308 
 11.12 5.847-17.992-15.308-11.123zm118.198 164.429l-15.305-11.12-15.308 11.12 5.847-17.994-15.308-11.12H406.4l5.848-17.995 5.847 17.995h18.918l-15.305 
 11.122 5.845 17.992zm-274.443 106.2l15.305 11.12-5.845 17.995 15.306-11.12 15.307 11.12-5.847-17.995 15.308-11.12h-18.921l-5.847-17.994-5.846 17.994h-18.92zm-57.191-57.19l15.306 
 11.12-5.845 17.995 15.305-11.121 15.308 11.121-5.848-17.995 15.308-11.12h-18.92l-5.848-17.995-5.848 17.995H95.919zm24.766-174.243l-5.848 17.995H95.919l15.306 11.12-5.845 
 17.994 15.305-11.12 15.308 11.12-5.848-17.994 15.308-11.12h-18.92l-5.848-17.995zm81.959-39.196h-18.921l-5.847-17.995-5.848 17.995H153.11l15.308 11.123-5.848 17.992 15.306-11.12 
 15.307 11.12-5.847-17.992 15.308-11.123zM84.446 279.551l15.305-11.12 15.308 11.12-5.847-17.994 15.308-11.12h-18.921l-5.848-17.995-5.847 17.995H74.986l15.305 
 11.122-5.845 17.992z"/>
</g></svg>';
if (isset($_POST["Submit"])) {

$string = '<?php
$unit = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["unit"]) . '";
$metric = ' . ($_POST["metric"] === 'true' ? 'true' : 'false') . ';
$windunit = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["windunit"]) . '";
$windunitatc = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["windunitatc"]) . '";
$distanceunit = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["distanceunit"]) . '";
$cloudbaseunit = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["cloudbaseunit"]) . '";
$tempunit = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["tempunit"]) . '";
$rainunit  = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["rainunit"]) . '";
$rainrate = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["rainrate"]) . '";
$pressureunit  = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["pressureunit"]) . '";
$livedataFormat = "' . ((! strstr ($_SERVER['SERVER_NAME'], "meteobridge.com")) ? str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["livedataFormat"]) : "meteobridge-api") . '";
$livedata   = "' . ((! strstr ($_SERVER['SERVER_NAME'], "meteobridge.com")) ? str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["livedata"]) : "mbridge/MBrealtimeupload.txt") . '";
$dateFormat   = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["dateFormat"]) . '";
$password    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['password']) . '";
$display2019    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['display2019']) . '";
$display2020    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['display2020']) . '";
$displaytempwind  = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['displaytempwind']) . '";
$notifications    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['notifications']) . '";
$webcamdevice    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['webcamdevice']) . '";
$indooricon    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['indooricon']) . '";

$position1    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['position1']) . '";
$position2    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['position2']) . '";
$position3    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['position3']) . '";
$position4    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['position4']) . '";
$position5    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['position5']) . '";
$position6    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['position6']) . '";
$position7    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['position7']) . '";
$position8    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['position8']) . '";
$position9    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['position9']) . '";

$position10    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['position10']) . '";
$position11    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['position11']) . '";
$position12    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['position12']) . '"; 
$position13    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['position13']) . '";

$position9t    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['position9t']) . '";
$position10t    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['position10t']) . '";
$position11t    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['position11t']) . '";
$position12t    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['position12t']) . '"; 

$positionwind    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['positionwind']) . '";
$positionrain    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['positionrain']) . '";
$position10f    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['position10f']) . '";
$position11f    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['position11f']) . '";
$position12f    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['position12f']) . '"; 
$position13f    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['position13f']) . '"; 

$position1024    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['position1024']) . '";
$position1124    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['position1124']) . '";
$position1224    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['position1224']) . '"; 
$position1324    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['position1324']) . '"; 

$position10chart    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['position10chart']) . '";
$position11chart    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['position11chart']) . '";
$position12chart    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['position12chart']) . '"; 
$position13chart    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['position13chart']) . '"; 

$position71    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", isset ($_POST['position71']) && strlen ($_POST['position71']) > 0 ? $_POST['position71'] : 'temperaturemod-2024.php') . '"; 
$position72    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", isset ($_POST['position72']) && strlen ($_POST['position72']) > 0 ? $_POST['position72'] : 'humiditymod-2024.php') . '"; 
$position73    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", isset ($_POST['position73']) && strlen ($_POST['position73']) > 0 ? $_POST['position73'] : 'dewpointmod-2024.php') . '";  
$position74    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", isset ($_POST['position74']) && strlen ($_POST['position74']) > 0 ? $_POST['position74'] : 'barometermod-2024.php') . '";  

$theme9wind    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['theme9wind']) . '"; 



$rain2024    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['rain2024']) . '"; 
$rainrate2024    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['rainrate2024']) . '"; 


$themelayout   = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["themelayout"]) . '";
$stationName   = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["stationName"]) . '";
$theme   = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["theme"]) . '";

$applewatch    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['applewatch']) . '";

$TZ = "' . str_replace(['"',"'","\r", "\n", "\\"], "", str_replace (' ', '_', $_POST["TZ"])) . '";
$lon = ' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["lon"]) . ';
$lat = ' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["lat"]) . ';


$elevationcb = ' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["elevationcb"]) . ';
$clockformat    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["clockformat"]) . '";
$hemisphere   = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["hemisphere"]) . '";
$webcamurl   = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["webcamurl"]) . '";

$displayukicon    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['displayukicon']) . '";
$displaymsicon    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['displaymsicon']) . '";
$displayktsicon    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['displayktsicon']) . '";

$showgdpr    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['showgdpr']) . '";

$usemmhgmodule    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['usemmhgmodule']) . '";
$uvsensor    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['uvsensor']) . '";
$mbyear    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['mbyear']) . '";
$mbplatform   = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["mbplatform"]) . '";
$brand  = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["brand"]) . '";
$model  = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["model"]) . '";
$installed  = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["installed"]) . '";
$wuapikey = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["wuapikey"]) . '";
$wuapiunit   = "' . str_replace(['"',"'","\r", "\n", "\\"], "", strtolower( $_POST["wuapiunit"])) . '";
$purpleairID = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["purpleair"]) . '";
$purpleairhardware   = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["purpleairhardware"]) . '";
$purpleairqualitylocation = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["purpleairqualitylocation"]) . '";

$purpleairapikey="' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["purpleairapikey"]) . '";

$luftdatenID = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["luftdatenID"]) . '";
$luftdatenhardware   = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["luftdatenhardware"]) . '";
$lufdatenairqualitylocation = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["lufdatenairqualitylocation"]) . '";

$davisairquality   = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["davisairquality"]) . '";
$davisairqualitylocation   = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["davisairqualitylocation"]) . '";
$wulanguage    = "' . str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['wulanguage']) . '";
$metarapikey ="'. str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["metarapikey"]) . '";
$metar   = "'. str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["metar"]) . '";
$icao1   = "'. str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["icao1"]) . '";

$soilhumunit = "'. str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["soilhumunit"]) . '";
$updated = "' . date("U") . '";
?>';

    if (($_POST['metric'] === 'true') || ($_POST['metric'] === 'false'))
    {
      $fp = FOPEN("console-settings.php", "w") or die("Unable to open console-settings.php file check file permissions !");
      FWRITE($fp, $string);
      FCLOSE($fp);

      if (exec_enabled())
        exec ('cd mbdbfiles; php stationcron.php');
    }
    else
	   echo "<center><h2><font color='red'>Error: You have to turn off browser translation in order to store settings!</font></h2></center>" . PHP_EOL;
}
?>
<link href="favicon.ico" rel="shortcut icon" type="image/x-icon">
<link href="favicon.ico" rel="icon" type="image/x-icon">
<style>
@font-face{font-family:clock;src:url(fonts/clock3-webfont.woff2) format("woff2"),url(fonts/clock3-webfont.woff) format("woff");font-display:swap}
@font-face{font-family:weathertext3;src:url(fonts/verbatim-regular.woff2) format("woff2"),url(fonts/verbatim-regular.woff) format("woff");font-display:swap}
@font-face{font-family:weathertext2;src:url(fonts/verbatim-medium.woff2) format("woff2"),url(fonts/verbatim-medium.woff) format("woff");font-display:swap}
@font-face{font-family:headingtext;src:url(fonts/HelveticaNeue-Medium.woff2) format("woff2"),url(fonts/HelveticaNeue-Medium.woff) format("woff");font-display:swap}
@font-face{font-family:verb;src:url(fonts/verbatim-bold.woff2) format("woff2"),url(fonts/verbatim-bold.woff) format("woff");font-display:swap}


   body{font-family:headingtext;margin:0 auto;color:#aeb6bf;background:#141418;width:100%;max-width:1024px;text-rendering:optimizeLegibility;
   -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-moz-font-smoothing:unset;
   -moz-osx-font-smoothing:grayscale;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden;-webkit-appearance: none;appearance:none;}
   h1{color:rgba(86,95,103,1);font-size:24px;margin-bottom:10px;font-weight:700;margin:10px 0}
   h2{color:rgba(86,95,103,1);font-size:20px;margin-bottom:10px;font-weight:700;margin:10px 0}
   h3{color:silver;font-size:14px;margin-bottom:20px;font-weight:700;margin:20px 0}
   .weathersetuptitle{font-size:18px;text-align:center;font-weight:200;
    font-family:Arial,Helvetica,sans-serif;padding:5px;border:0;background:rgba(67,58,80,1);
    border-radius:5px;color:#fff;width:600px;margin:0 auto;border:0;border:1px solid silver}
.theframe1{font-size:14px;font-family:Arial,Helvetica,sans-serif;color:#fff;border:0 solid silver;
        margin:0 auto;margin-top:10px;margin-bottom:10px;width:1024px;background:0;padding:5px;
        border-radius:4px}
 .theframe{font-size:14px;font-family:Arial,Helvetica,sans-serif;color:#fff;
            border:1px solid rgba(7,114,125,1,.4);margin:0 auto;margin-top:10px;margin-bottom:10px;
            width:960px;font-family:headingtext;margin:0 auto;color:#aeb6bf;background:#141418;
            width:100%;max-width:1024px;padding:5px;border-radius:4px;
            -webkit-box-shadow:4px 7px 20px -5px rgba(0,0,0,.75);
            -moz-box-shadow:4px 7px 20px -5px rgba(0,0,0,.75);
            box-shadow:4px 7px 20px -5px rgba(0,0,0,.75)}
.weatheroptions{margin:5px;padding:10px;border-radius:4px;border:5px solid #3d464d;
                border-bottom:18px solid #3d464d;width:95%;background:#141418}
                
.weatheroptionssidebar{display:none}
.weatheroptionssidebarbottom{display:none}
.weatherbottominfo{position:absolute;font-size:12px;color:silver;padding:3px;
                    margin-top:3px}
 .weatherbottomwarning{position:absolute;font-size:12px;color:silver;padding:3px;
                        margin-top:7px}
.weatheroptions .button{background:rgba(240,94,64,1);border-radius:4px;padding:5px;font-size:16px;color:#fff;font-family:Arial,Helvetica,sans-serif;border:0;outline:0;-webkit-appearance:none;appearance:none;}
.weatheroptions .choose{background:#F75C46;border-radius:4px;padding:5px;
    padding-right:10px;font-size:14px;color:#fff;font-family:Arial,Helvetica,sans-serif;
   border:0;width:fit-content;max-width:450px;outline:0;-webkit-appearance:none;appearance:none;
   text-align:left;margin-bottom:5px; border:5px solid #3d464d;}

   .weatheroptions .choose1{background:#F75C46;border-radius:3px;padding:5px;padding-right:10px;
    font-size:14px;color:#fff;font-family:Arial,Helvetica,sans-serif;
   border:0;width:130px;outline:0;-webkit-appearance:none;appearance:none;margin-bottom:5px;
   border:5px solid #3d464d;
}

   .weatheroptions .choose2{background:#F75C46;border-radius:3px;padding:5px;
    padding-right:10px;font-size:14px;color:#fff;font-family:Arial,Helvetica,sans-serif;
   border:0;width:100px;outline:0;-webkit-appearance:none;appearance:none;margin-bottom:5px;
   border:5px solid #3d464d;}

   .weatheroptions .chooseapi{background:#F75C46;border-radius:4px;padding:5px;
    padding-right:10px;font-size:14px;color:#fff;font-family:Arial,Helvetica,sans-serif;
   border:0;width:300px;outline:0;-webkit-appearance:none;appearance:none;text-align:left
   ;margin-bottom:5px;
   border:5px solid #3d464d;}

   .weatheroptions .personal{background:#F75C46;border-radius:4px;padding:5px;padding-right:10px;font-size:14px;color:#fff;font-family:Arial,Helvetica,sans-serif;
   border:0;width:99%;outline:0;-webkit-appearance:none;appearance:none;text-align:left;
   margin-bottom:5px; border:5px solid #3d464d;}

   .weatheroptions .stationvalue{background:rgba(86,95,103,1);border-radius:3px;padding:5px;
    font-size:14px;color:#fff;font-family:Arial,Helvetica,sans-serif;border:0;outline:0;
    display:inline-block;-webkit-appearance:none;appearance:none; border:5px solid #3d464d;}

   .weatheroptions .stationvalue1{background:silver;border-radius:3px;padding:5px;font-size:14px;
    color:#fff;font-family:Arial,Helvetica,sans-serif;border:0;outline:0;display:inline-block;
    -webkit-appearance:none;appearance:none; border:5px solid #3d464d;}

   .weathersectiontitle{background:silver;border-radius:4px;padding:5px;font-size:14px;color:#fff;
    font-family:Arial,Helvetica,sans-serif;border:0;outline:0;margin:5px;display:inline-block;
    -webkit-appearance:none;appearance:none;background:#3d464d}

   .weatheroptions a{font-size:14px;color:rgba(86,95,103,1);font-family:Arial,Helvetica,sans-serif;border:0;text-transform:none;outline:0;-webkit-appearance:none;appearance:none;}a{font-size:14px;color:rgba(86,95,103,1);font-family:Arial,Helvetica,sans-serif;border:0;text-transform:none;outline:0;
    -webkit-appearance:none;appearance:none;}

    #weatherpopupcontainer{width:960px;margin:auto;padding:30px}p{margin-bottom:20px;line-height:24px}

    #hover{position:fixed;background:#fff;width:100%;height:100%;opacity:.6}

    #weatherpopup{position:fixed;width:600px;height:320px;background:#fff;left:50%;
    top:25%;border-radius:5px;padding:60px 0;margin-left:-320px;margin-top:-100px;text-align:center;border:1px solid #e9ebf1;border-bottom:23px solid rgba(40,39,39,.7);color:#fff;padding:10px}.weatherpopupbottom{margin-top:55px;padding:10px;float:left;color:#fff;position:absolute;font-size:11px}#close{position:absolute;background:#fff;color:#fff;right:-10px;top:-10px;border-radius:50%;width:30px;height:30px;line-height:30px;text-align:center;font-size:14px;font-weight:700;font-family:Arial,Arial,sans-serif;cursor:pointer}body{font-family:headingtext;margin:0 auto;color:#aeb6bf;background:#141418;width:100%;max-width:1024px}.seperator{width:700px;border-top:1px #ddd dotted;margin-top:5px;padding:10px}*{box-sizing:border-box}:focus{outline:0}.login{margin:0 auto;width:300px;background-color:none}a{font-size:12px;text-transform:none;text-decoration:none;color:silver}a:hover{color:#7bbb28}.login-screen{background-color:none;padding:20px;border-radius:5px;margin:0 auto}.app-title{text-align:center;color:silver;background-color:none}.login-form{text-align:center;background-color:none}.control-group{margin-bottom:10px}input{text-align:center;background-color:silver;border:2px solid transparent;border-radius:3px;font-size:16px;font-weight:200;padding:10px 0;width:250px;transition:border .5s;color:#fff;border:2px solid rgba(86,95,103,1);box-shadow:none;margin:0 auto;margin-top:10px}
   input:focus{border:2px solid rgba(86,95,103,1);box-shadow:none}
   
   .btn{border:2px solid transparent;background:rgba(86,95,103,1);color:#fff;font-size:16px;line-height:25px;padding:10px 0;text-decoration:none;text-shadow:none;border-radius:3px;box-shadow:none;transition:.25s;
   display:block;width:150px;margin:10px;text-align:center;-webkit-appearance:none;appearance:none;}
   .btn:hover{background-color:rgba(86,95,103,1)}.login-link{font-size:12px;color:#444;display:block;margin-top:12px;
    -webkit-appearance: none;appearance:none;}
   .loginformarea{margin:0 auto;text-align:center;font-size:16px;-webkit-appearance: none;appearance:none;background:#ecf0f3;display: flex; justify-content: center;}   
   orange{color:rgba(236,87,27,1)}green{color:rgba(67,58,80,1)}blue{color:rgba(67,58,80,1)}
   img{border-radius:4px}white{color:#fff}
   alternativeblue{background-color: #1DA1F2;border-radius:4px;padding:5px;
    padding-right:12px;font-size:12px;color:#fff;font-family:verb;
   border:0;outline:0;-webkit-appearance:none;appearance:none;
   ;margin-bottom:5px;margin:0 auto;margin-top:20px;
   border:0;display: flex; justify-content: center;max-width:fit-content}


   agree{background-color:#3d464d;border-radius:4px;padding:5px;
    padding-right:12px;font-size:12px;color:#fff;font-family:verb;
   border:0;outline:0;-webkit-appearance:none;appearance:none;
   ;margin-bottom:5px;margin:0 auto;margin-top:20px;
   border:0;display: flex; justify-content: center;max-width:fit-content}



gdprcaption{background:#E64B24;border-radius:4px;padding:5px;
    padding-right:12px;font-size:12px;color:#fff;font-family:verb;
   border:0;outline:0;-webkit-appearance:none;appearance:none;
   ;margin-bottom:5px;margin:0 auto;
   border:0;display: flex; justify-content: center;max-width:fit-content}

   apicaption{background:rgba(86,95,103,1);border-radius:4px;padding:5px;
    padding-right:12px;font-size:12px;color:#fff;font-family:verb;
   border:0;outline:0;-webkit-appearance:none;appearance:none;
   ;margin-bottom:5px;margin:0 auto;
   border:0;display: flex; justify-content: center;max-width:fit-content}




returntodashboard{position:relative;font-family:weathertext2;color: #3d464d;}

   .input-button,.modal-button{
      
    background: #ecf0f3;
  padding: 10px;
  padding-left: 20px;
  height: 50px;
  font-size: 14px;
  border-radius: 50px;
  }
   .input-block input,.input-button,.modal-button{font-family:Arial,sans-serif;border:1px solid #ccc;-webkit-appearance: none;appearance:none;}
   .icon-button,.input-block input,.input-button,.modal-button{outline:0;cursor:pointer;-webkit-appearance: none;appearance:none;}
   .modal-button{color:#f5f5f5;border-radius:5px;background:#1DA1F2;width:120px;text-align:center;-webkit-appearance: none;appearance:none;border:0;}
   .modal-button:hover{background:hsla(14, 95%, 50%, .8);color:#f8f8f8;-webkit-appearance: none;appearance:none;}
   .input-button{color:#7d695e;border-radius:5px;background:#fff;-webkit-appearance: none;appearance:none;}
   .input-button:hover{background:rgba(144,177,42,1);color:#fff;-webkit-appearance: none;appearance:none;}
   .input-label{font-size:11px;text-transform:uppercase;font-family:Arial,sans-serif;font-weight:600;letter-spacing:.7px;color:#8c7569}
   .input-block{display:flex;flex-direction:column;padding:10px 10px 8px;border:1px solid #ddd;border-radius:4px;margin-bottom:20px;-webkit-appearance: none;appearance:none;}
   .input-block input{color:#fff;font-size:18px;padding:10px 40px;border-radius:5px;background:rgba(144,177,42,1);-webkit-appearance: none;appearance:none;}
   .input-block input::-webkit-input-placeholder{color:silver;opacity:1;-webkit-appearance: none;appearance:none;}
   .input-block input:-ms-input-placeholder{color:silver;opacity:1;-webkit-appearance: none;appearance:none;}
   .input-block input::-ms-input-placeholder{color:silver;opacity:1;-webkit-appearance: none;appearance:none;}
   .input-block input::placeholder{color:silver;opacity:1;-webkit-appearance: none;appearance:none;}
   .input-block:focus-within{border-color:#8c7569;-webkit-appearance: none;appearance:none;}
   .input-block:focus-within .input-label{color:rgba(140,117,105,.8);-webkit-appearance: none;appearance:none;}
   .icon-button{position:absolute;right:10px;top:12px;width:32px;height:32px;background:0;padding:0}oblue{color:var(--blue);
    -webkit-appearance: none;appearance:none;}

.updater a{display:flex;background:hsl(19, 66%, 55%);font-size:18px;color:#ffffff;
position:relative;bottom:3px;margin:0 auto;width:70%;border-radius:10px;text-align:center;
padding:5px;;-webkit-appearance: none;appearance:none;
}
blue{color:#1DA1F2 }
red{color:#cd5245;font-family:weathertext2;}
</style>
</head>

<body style="background:0;">
    <div class="loginformarea" translate="no" style="background:0;">
    <br><?php 
                $weather34unlocked='<svg width="44" height="44" viewBox="0 0 24 24" stroke-width="1" stroke="#1DA1F2" fill="none" stroke-linecap="round" 
                stroke-linejoin="round">
                <path stroke="none" d="M0 0h24v24H0z"/><rect x="5" y="11" width="14" height="10" rx="2" />
                <circle stroke="#e64b24" cx="12" cy="16" r="3" /><path d="M8 11v-5a4 4 0 0 1 8 0" /></svg>';
                $weather34locked='<svg width="44" height="44" viewBox="0 0 24 24" stroke-width="1" stroke="#1DA1F2" fill="none" stroke-linecap="round" stroke-linejoin="round">
                <path stroke="none" d="M0 0h24v24H0z"/><rect x="5" y="11" width="14" height="10" rx="2" />  
                <circle stroke="#e64b24" cx="12" cy="16" r="3" />
                <path d="M8 11v-4a4 4 0 0 1 8 0v4" /></svg>';
                if ($thepassword==''){echo $weather34unlocked." <red>Password Not Set !</red>";}else echo $weather34locked." <blue>Locked</blue>";?>


        <?php
        //lets secure the WEATHER34 setup ///
        function showForm($error = "LOGIN")
        {
            ?> <?php echo $error; ?>

<?php 
if (strstr ($_SERVER['SERVER_NAME'], "meteobridge.com"))
{
  if (isset ($_POST["mbupload"]))
  {
    echo "<div class='login_screen' style='margin:0 auto;text-align:center;position:relative;width:100%;border-radius:20px;padding:40px;box-sizing:border-box;background:#ecf0f3;box-shadow: 14px 14px 20px #cbced1, -14px -14px 20px white;color:#3d464d;'>"; 
    if (strstr (str_replace(['"',"'","\r", "\n", "\\"], "", $_POST["mbdel"]), "yes"))
    {
      echo "<center><H2 style='color:black;'>Current chart data deleted!</H2></center>";
      exec ("cd weather34charts; rm 20??/* 2>/dev/null; rm 20??.csv 2>/dev/null");
      exec ("cd weather34charts; ls -1d 20?? | xargs -Ixxx touch xxx/January.csv xxx/February.csv xxx/March.csv xxx/April.csv xxx/May.csv xxx/June.csv xxx/July.csv xxx/August.csv xxx/September.csv xxx/October.csv xxx/November.csv xxx/December.csv");
    }

    if (move_uploaded_file($_FILES["mbupload"]["tmp_name"], "upload.tgz"))
    {
      exec ("mkdir upload 2>/dev/null");
      exec ("cd upload; tar --wildcards -xzf ../upload.tgz '20??/*.csv' '20??.csv' 2>/dev/null");
      exec ("cd upload; find 20?? -name '*.csv' -size +0 -exec cp {} ../weather34charts/{} \; -printf '%p (%s bytes) <BR>' 2>/dev/null >../upload.lst");
      exec ("cd upload; find . -name '20??.csv' -size +0 -exec cp {} ../weather34charts/{} \; -printf '%p (%s bytes) <BR>' 2>/dev/null >>../upload.lst");
      $uploadlist = file_get_contents('upload.lst');
      echo "<center><H2 style='color:black;'>Upload of new data successfully done!</H2><div style='height:100px;overflow:auto;'>" . $uploadlist . "</div></center>";
      exec ("rm -r upload upload.lst upload.tgz 2>/dev/null");
    }
    else
    {
      echo "<center><H2 style='color:red;'>Error: Upload of new data failed (";
      switch ($_FILES['mbupload']['error'])
      {
	case 1: echo "file too big according to php limit"; break;
	case 2: echo "file too big according to html limit"; break;
	case 3: echo "incomplete upload"; break;
	case 4: echo "no file specified"; break;
	case 6: echo "file write failed"; break;
	default: echo "unknown";
      }
      echo ")</H2></center><p><BR>";
    }    
    echo "</div><P>";
  }
}

if ($errmsg = file_get_contents ('error.msg'))
{
  echo "<H2><font color='red'> " . $errmsg . "</font></H2>\n";
  @unlink ('error.msg');
}

?>

<div class="login_screen" style="
  margin:0 auto;
  text-align:center;position: relative; 
  width: 100%;
  max-height: 850px;
  border-radius: 20px;
  padding: 40px;
  box-sizing: border-box;
  background: #ecf0f3;
  box-shadow: 14px 14px 20px #cbced1, -14px -14px 20px white;
  color:#3d464d;;
"> 
<img src='images/weather34-logo-small.svg' width='60px' alt="weather34 designed" style="position:relative;margin-left:0%;margin-top:-5px;margin-bottom:10px"></img>
<br>


<?php echo 'Your Current PHP version is :<oblue><b><blue> ' . phpversion(), '</b></blue></oblue>
            <br>Enter Your Password For Aurora <blue>Meteobridge</blue> Setup Screen<br><br>'; ?>
            
                <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post" name="pwd">
                    
                    <center>
                        <div class="modal-buttons">
                            <input name="passwd" type="password" class="input-button" style="border:0; box-sizing: border-box;
  background: #ecf0f3;box-shadow: 14px 14px 20px #cbced1, -4px -4px 20px white;color:#3d464d"/> <input type="submit" name="submit_pwd" value="Login " 
  class="modal-button" />
                </form>                
                </center>
                <agree>
            
            By proceeding you agree to leave accreditations for Aurora  Meteobridge </agree><br><br>

                <?php echo "2015-"; ?><?php echo date('Y'); ?> &copy;</a> Aurora <blue>Meteobridge</blue> Version </span></span></span>
                <br><br>
                <alternativeblue>
            Version Meteobridge April 2025 </alternativeblue>
            <br><br>
            <alternativeblue>
            
            PHP 8.4.5 Verified April 2025</alternativeblue><br><br><br>

            

            <apicaption>
            ** Important New modules for Soil Sensor Theme 8/9 **
            </apicaption>

            <br><br>
                
                <center> 
                
<a href="index.php" data-title="Back to Dashboard">    
<?php $adjust='<svg width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="#ccc" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="0" d="M0 0h24v24H0z" stroke-width="0"/><circle cx="5" cy="5" r="1" stroke="#1994D7"  /><circle cx="12" cy="5" r="1" stroke="#777"/>
<circle cx="19" cy="5" r="1" stroke="#777"/><circle cx="5" cy="12" r="1" stroke="#FB631D" /> <circle cx="12" cy="12" r="1" stroke="#FB631D"/><circle cx="19" cy="12" r="1" stroke="#FB631D"/>   <circle cx="5" cy="19" r="1" stroke="#777" />   <circle cx="12" cy="19" r="1" stroke="#777"/>  <circle cx="19" cy="19" r="1" stroke="#1994D7"/></svg>';
              echo $adjust ?>              
<alternativeblue1><returntodashboard> Return To Dashboard</returntodashboard></a></center>
                <br>
                
               
            <?php
            }
            ?>
            
            </div>
             
            <div span style="width:auto;margin:0 auto;text-align:center;color:#fff;background:0;font-family:arial;padding:20px;border-radius:4px;font-size:14px;
            -webkit-appearance: none;appearance:none;">
                <?php
                $Password = $password;
                if (isset($_POST['submit_pwd'])) {
                    $pass = isset($_POST['passwd']) ? str_replace(['"',"'","\r", "\n", "\\"], "", $_POST['passwd']) : '';
                    if ($pass != $Password) {
                        showForm("Weather34 Console Setup");
                        exit();
                    }
                } else {
                    showForm("Weather34 Console Setup");
                    exit();
                }
                ?>


            </div>
            <div span style="width:60%;max-width:600px;margin:0 auto;color:#555;border:0;padding:10px;
            border-radius:4px;font-size:14px;border-radius: 20px;
	background-color: #eaeef3;box-shadow: 20px 20px 40px #c7cacf, -20px -20px 40px #ffffff;max-height:260px;text-align:center;
">
                

                <br>

                Welcome you have logged into the <br>Aurora Meteobridge setup screen <blue><?php echo date("M jS Y H:i"); ?></blue>
                <br>Please set the options below and double check <br>to avoid any <orange>errors</orange> .<br>
                
                <blue>Aurora Meteobridge </blue> April 2025 Version 
                 <br>
                 <img src='images/weather34-logo-small.svg' width='80px' style="float:none">
                  </span>
            </div>
    </div>
    </div>
    </div>
    </div>
    <div class="theframe1" translate="no">
        <div class="theframe">
 
            <p>
                    <div class="weatheroptionssidebar">
                        <svg id="i-info" viewBox="0 0 32 32" width="10" height="10" fill="rgba(7, 114, 125, 1.000)" stroke="rgba(7, 114, 125, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="16.25%">
                            <path d="M16 14 L16 23 M16 8 L16 10" />
                            <circle cx="16" cy="16" r="14" /></svg> Please setup and password protect this page for later use it is for your privacy and protection.
                        <br>





                        <div class="weatherbottominfo">
                            <svg id="i-checkmark" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                <path d="M2 20 L12 28 30 4" />
                            </svg>

                            check password </div>

                    </div>

                    <p>

<?php
// if (strstr ($_SERVER['SERVER_NAME'], "meteobridge.com"))
{
  if (exec_enabled ())
  { 
    echo "<div class='weatheroptions'><div class='weathersectiontitle'><svg id='i-settings' viewBox='0 0 32 32' width='12' height='12' fill='none' stroke='currentcolor' stroke-linecap='round' stroke-linejoin='round' stroke-width='6.25%'><path d='M13 2 L13 6 11 7 8 4 4 8 7 11 6 13 2 13 2 19 6 19 7 21 4 24 8 28 11 25 13 26 13 30 19 30 19 26 21 25 24 28 28 24 25 21 26 19 30 19 30 13 26 13 25 11 28 8 24 4 21 7 19 6 19 2 Z' /><circle cx='16' cy='16' r='4' /></svg> Download Data to PC</div>";
    echo "<p><div class='stationvalue'>Download Data as archive file (as .tgz)</div>&nbsp;&nbsp; <form action='' method='post'><input type='submit' name='mbdownload' value='Download Archive' class='button'></form><p></div>";

    echo "<div class='weatheroptions'><div class='weathersectiontitle'><svg id='i-settings' viewBox='0 0 32 32' width='12' height='12' fill='none' stroke='currentcolor' stroke-linecap='round' stroke-linejoin='round' stroke-width='6.25%'><path d='M13 2 L13 6 11 7 8 4 4 8 7 11 6 13 2 13 2 19 6 19 7 21 4 24 8 28 11 25 13 26 13 30 19 30 19 26 21 25 24 28 28 24 25 21 26 19 30 19 30 13 26 13 25 11 28 8 24 4 21 7 19 6 19 2 Z' /><circle cx='16' cy='16' r='4' /></svg> Upload Data from PC</div>";
    echo "<form action='' method='post' enctype='multipart/form-data'><div class='stationvalue'> Upload Meteobridge Aurora archive data (as .tgz)</div>";
    echo "<svg id='i-chevron-right' viewBox='0 0 32 32' width='14' height='14' fill='none' stroke='rgba(86, 95, 103, 1.000)' stroke-linecap='round' stroke-linejoin='round' stroke-width='6.25%'> </svg>";
    echo "<input type='file' name='mbupload' id='mbupload' class='chooseapi'><p><svg id='i-alert' viewBox='0 0 32 32' width='14' height='14' fill='none' stroke='rgba(86, 95, 103, 1.000)' stroke-linecap='round' stroke-linejoin='round' stroke-width='6.25%'><path d='M16 3 L30 29 2 29 Z M16 11 L16 19 M16 23 L16 25'/></svg> Archive to be uploaded needs to be in tgz format exactly as the archive offered for download.<BR><p><div class='stationvalue'>Delete old data before upload of new data?</div><select id='mbdel' name='mbdel' class='chooseapi'><option>no</option><option>yes</option></select><BR><p><input type='submit' name='mbupload' value='Upload Archive' class='button'></form><P></div>";
  }

  if (ini_get('phar.readonly') != 0) 
  {
  echo "<div class='weatheroptions'><div class='weathersectiontitle'><svg id='i-settings' viewBox='0 0 32 32' width='12' height='12' fill='none' stroke='currentcolor' stroke-linecap='round' stroke-linejoin='round' stroke-width='6.25%'><path d='M13 2 L13 6 11 7 8 4 4 8 7 11 6 13 2 13 2 19 6 19 7 21 4 24 8 28 11 25 13 26 13 30 19 30 19 26 21 25 24 28 28 24 25 21 26 19 30 19 30 13 26 13 25 11 28 8 24 4 21 7 19 6 19 2 Z' /><circle cx='16' cy='16' r='4' /></svg> Clone Data to PC</div>";
  echo "<p><form action='' method='post'><div class='stationvalue'>URL to clone from</div><input name='cloneurl' type='text' id='cloneurl' value='' class='chooseapi'><p><svg id='i-alert' viewBox='0 0 32 32' width='14' height='14' fill='none' stroke='rgba(86, 95, 103, 1.000)' stroke-linecap='round' stroke-linejoin='round' stroke-width='6.25%'><path d='M16 3 L30 29 2 29 Z M16 11 L16 19 M16 23 L16 25'/></svg> URL has to include https:// or http:// header. Cloned data will be stored in Aurora compatible tgz archive format on your PC.<BR><p><input type='submit' name='mbclone' value='Build Archive from cloned Data' class='button'></form><p></div>"; 
  }
}
?>

                <form action="" method="post" name="install" id="install">
                        <div class="weatheroptions">
                            <div class="weathersectiontitle">
                                <svg id="i-settings" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                    <path d="M13 2 L13 6 11 7 8 4 4 8 7 11 6 13 2 13 2 19 6 19 7 21 4 24 8 28 11 25 13 26 13 30 19 30 19 26 21 25 24 28 28 24 25 21 26 19 30 19 30 13 26 13 25 11 28 8 24 4 21 7 19 6 19 2 Z" />
                                    <circle cx="16" cy="16" r="4" />
                                </svg>
                                Setup Unique Easysetup Password</div>
                            <p>


                                <div class="stationvalue"> Set Easysetup Password it is for your privacy & protection</div>
                                <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                    <path d="M12 30 L24 16 12 2" />
                                </svg>
                                <input name="password" type="password" id="password" value="<?php echo $password; ?>" class="choose">


                        </div>


                        <p>




                            <div class="weatheroptions">
                                <div class="weathersectiontitle">
                                    <svg id="i-code" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                        <path d="M10 9 L3 17 10 25 M22 9 L29 17 22 25 M18 7 L14 27" />
                                    </svg>

                                    METEOBRIDGE Software Path to Data file</div>
                                <p>
                                    <div class="stationvalue">Data Type</div>
                                    <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                        <path d="M12 30 L24 16 12 2" />
                                    </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                        <path d="M30 12 L16 24 2 12" />
                                    </svg>
                                    <label name="livedataFormat"></label>
                                    <select id="livedataFormat" name="livedataFormat" class="choose1">
                                        <option><?php echo $livedataFormat; ?></option>
                                        <option>meteobridge-api</option>



                                    </select>


                                </p>

<?php if (! strstr ($_SERVER['SERVER_NAME'], "meteobridge.com"))
  {   
          echo "<div class='stationvalue'>Add Your Path to data file ( <em>mbridge/MBrealtimeupload.txt</em>)</div><svg id='i-chevron-bottom' viewBox='0 0 32 32' width='10' height='10' fill='silver' stroke='silver' stroke-linecap='round' stroke-linejoin='round' stroke-width='6.25%'><path d='M30 12 L16 24 2 12' /></svg><br><input name='livedata' type='text' id='livedata' value='" . $livedata . "' class='chooseapi'><br><br><strong><svg id='i-info' viewBox='0 0 32 32' width='10' height='10' fill='rgba(7, 114, 125, 1.000)' stroke='rgba(7, 114, 125, 1.000)' stroke-linecap='round' stroke-linejoin='round' stroke-width='16.25%'><path d='M16 14 L16 23 M16 8 L16 10' /><circle cx='16' cy='16' r='14' /></svg></strong><span style='color:silver;'> METEOBRIDGE-API path use the default :  <em>mbridge/MBrealtimeupload.txt</em></span><br><br>";
          echo "<span style='color:silver'><strong> <svg id='i-info' viewBox='0 0 32 32' width='10' height='10' fill='#FF793A' stroke='#FF793A' stroke-linecap='round' stroke-linejoin='round' stroke-width='16.25%'><path d='M16 14 L16 23 M16 8 L16 10' /><circle cx='16' cy='16' r='14' /></svg></strong> getting the path correct is essential for live realtime data display <br>the simple approach using  <em>mbridge/MBrealtimeupload.txt</em> works 99% if you stick to the default template layout</strong></span><br>";
          echo "<span style='color:silver'><strong> <svg id='i-info' viewBox='0 0 32 32' width='10' height='10' fill='#FF793A' stroke='#FF793A' stroke-linecap='round' stroke-linejoin='round' stroke-width='16.25%'><path d='M16 14 L16 23 M16 8 L16 10' /><circle cx='16' cy='16' r='14' /></svg></strong> do not use direct url paths example https://www.something.com/xxxx/  always use the simple approach<em>mbridge/MBrealtimeupload.txt</em><br>(this will also fix the display updated 51 years ago)</strong></span><p>";
  }
?>


                                    <div class="weatheroptions">

                                        <div class="weathersectiontitle">
                                            <svg id="i-settings" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M13 2 L13 6 11 7 8 4 4 8 7 11 6 13 2 13 2 19 6 19 7 21 4 24 8 28 11 25 13 26 13 30 19 30 19 26 21 25 24 28 28 24 25 21 26 19 30 19 30 13 26 13 25 11 28 8 24 4 21 7 19 6 19 2 Z" />
                                                <circle cx="16" cy="16" r="4" />
                                            </svg>
                                            Set the Fixed Metric/English </div>
                                        <p>

                                            <label name="unit"></label>
                                            <div class="stationvalue">Units</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>
                                            <select id="unit" name="unit" class="choose1">
                                                <option><?php echo $unit; ?></option>
                                                <option>metric</option>
                                                <option>english</option>
                                            </select>

                                            <label name="metric"></label>
                                            <div class="stationvalue">Metric</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>
                                            <select id="metric" name="metric" class="choose1">
                                                <option <?php if ($metric == "false") echo "selected"; ?>>false</option>
                                                <option <?php if ($metric == "true") echo "selected"; ?>>true</option>
                                            </select>
                                            <span style="color:silver;"> set: <svg id="i-info" viewBox="0 0 32 32" width="10" height="10" fill="rgba(7, 114, 125, 1.000)" stroke="rgba(7, 114, 125, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="16.25%">
                                                    <path d="M16 14 L16 23 M16 8 L16 10" />
                                                    <circle cx="16" cy="16" r="14" /></svg> true=metric , <svg id="i-info" viewBox="0 0 32 32" width="10" height="10" fill="#FF793A" stroke="#FF793A" stroke-linecap="round" stroke-linejoin="round" stroke-width="16.25%">
                                                    <path d="M16 14 L16 23 M16 8 L16 10" />
                                                    <circle cx="16" cy="16" r="14" /></svg> false=non metric</span>

                                            <p>




                                    </div>


                                    <p>


                                        <div class="weatheroptions">
                                            <div class="weathersectiontitle">
                                                <svg id="i-settings" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                    <path d="M13 2 L13 6 11 7 8 4 4 8 7 11 6 13 2 13 2 19 6 19 7 21 4 24 8 28 11 25 13 26 13 30 19 30 19 26 21 25 24 28 28 24 25 21 26 19 30 19 30 13 26 13 25 11 28 8 24 4 21 7 19 6 19 2 Z" />
                                                    <circle cx="16" cy="16" r="4" />
                                                </svg>
                                                Set the Fixed Units to display </div>
                                            <p>
                                                <label name="windunit"></label>
                                                <div class="stationvalue">Wind Unit</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                    <path d="M12 30 L24 16 12 2" />
                                                </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                    <path d="M30 12 L16 24 2 12" />
                                                </svg>
                                                <select id="windunit" name="windunit" class="choose1">
                                                    <option><?php echo $windunit; ?></option>
                                                    <option>km/h</option>
                                                    <option>mph</option>
                                                    <option>m/s</option>
                                                    <option>kts</option>

                                                </select>
<br>
                                                <div class="weathersectiontitle">
                                                <svg id="i-settings" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                    <path d="M13 2 L13 6 11 7 8 4 4 8 7 11 6 13 2 13 2 19 6 19 7 21 4 24 8 28 11 25 13 26 13 30 19 30 19 26 21 25 24 28 28 24 25 21 26 19 30 19 30 13 26 13 25 11 28 8 24 4 21 7 19 6 19 2 Z" />
                                                    <circle cx="16" cy="16" r="4" />
                                                </svg>
                                                Set to use ATC Wind Bearing format leading zeros i.e 90 becomes 090 </div>
                                            <br>
                                                <label name="windunitatc"></label>
                                                <div class="stationvalue">ATC Wind Bearing format yes or no</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                    <path d="M12 30 L24 16 12 2" />
                                                </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                    <path d="M30 12 L16 24 2 12" />
                                                </svg>
                                                <select id="windunitatc" name="windunitatc" class="choose1">
                                                    <option><?php echo $windunitatc; ?></option>
                                                    <option>yes</option>
                                                    <option>no</option>
                                                    

                                                </select>

<br><br>
                                                <label name="tempunit"></label>
                                                <div class="stationvalue">Temperature Unit</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                    <path d="M12 30 L24 16 12 2" />
                                                </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                    <path d="M30 12 L16 24 2 12" />
                                                </svg>
                                                <select id="tempunit" name="tempunit" class="choose1">
                                                    <option><?php echo $tempunit; ?></option>
                                                    <option>C</option>
                                                    <option>F</option>

                                                </select>
                                                <br><br>
                                                <label name="rainunit"></label>
                                                <div class="stationvalue">Rain Unit</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                    <path d="M12 30 L24 16 12 2" />
                                                </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                    <path d="M30 12 L16 24 2 12" />
                                                </svg>
                                                <select id="rainunit" name="rainunit" class="choose1">
                                                    <option><?php echo $rainunit; ?></option>
                                                    <option>mm</option>
                                                    <option>in</option>


                                                </select>


                                                <label name="rainrate"></label>
                                                <div class="stationvalue">Rain Rate (per Hr/Min)</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                    <path d="M12 30 L24 16 12 2" />
                                                </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                    <path d="M30 12 L16 24 2 12" />
                                                </svg>
                                                <select id="rainrate" name="rainrate" class="choose1">
                                                    <option><?php echo $rainrate; ?></option>
                                                    <option>/h</option>
                                                    <option>/m</option>

                                                </select>
                                                <br><br>
                                                <label name="pressureunit"></label>
                                                <div class="stationvalue">Barometer Unit</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                    <path d="M12 30 L24 16 12 2" />
                                                </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                    <path d="M30 12 L16 24 2 12" />
                                                </svg>
                                                <select id="pressureunit" name="pressureunit" class="choose1">
                                                    <option><?php echo $pressureunit; ?></option>
                                                    <option>mb</option>
                                                    <option>hPa</option>
                                                    <option>inHg</option>
                                                    <option>mmHg</option>

                                                </select>

                                                <br><br>

                                                <label name="distanceunit"></label>
                                                <div class="stationvalue">Distance unit measured miles or kilometres</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                    <path d="M12 30 L24 16 12 2" />
                                                </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                    <path d="M30 12 L16 24 2 12" />
                                                </svg>
                                                <select id="distanceunit" name="distanceunit" class="choose1">
                                                    <option><?php echo $distanceunit; ?></option>
                                                    <option>mi</option>
                                                    <option>km</option>
                                                </select>

                                                <br><br>

                                                <label name="cloudbaseunit"></label>
                                                <div class="stationvalue">Cloudbase measured unit feet or meters</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                    <path d="M12 30 L24 16 12 2" />
                                                </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                    <path d="M30 12 L16 24 2 12" />
                                                </svg>
                                                <select id="cloudbaseunit" name="cloudbaseunit" class="choose1">
                                                    <option><?php echo $cloudbaseunit; ?></option>
                                                    <option>ft</option>
                                                    <option>mt</option>
                                                </select>



                                                <p>



                                                <div class="weathersectiontitle">
                                                    <svg id="i-clock" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="2">
                                                        <circle cx="16" cy="16" r="14" />
                                                        <path d="M16 8 L16 16 20 20" />
                                                    </svg> Time format options</span><br>
                                                    </div>
                                                    <div class="stationvalue">Set the Date Format</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                        <path d="M12 30 L24 16 12 2" />
                                                    </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                        <path d="M30 12 L16 24 2 12" />
                                                    </svg>
           
                                                    <label name="dateFormat"></label>
                                                    <select id="dateFormat" name="dateFormat" class="choose1">
                                                        <option><?php echo $dateFormat; ?></option>
                                                        <option>d-m-Y</option>
                                                        <option>m-d-Y</option>
                                                        <option>Y-m-d</option>

                                                    </select>
                                                    <br>
                                        

                                        <br>       <br>

                                        <div class="stationvalue">Do You have A Webcam ?</div>
                                                                            <svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="#777" stroke="#777" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                                                <path d="M30 12 L16 24 2 12" /></svg>

                                                                                <select id="webcamdevice" name="webcamdevice" class="choose">
                                        <option><?php echo $webcamdevice; ?></option>
                                        <option>yes - external http(s)</option> 
<?php if (is_link ("cam.jpg")) echo "<option>yes - Meteobridge cam</option>";?>
<?php if (is_link ("camplus.jpg")) echo "<option>yes - Meteobridge cam plus annotation</option>";?> 
                                        <option>no</option>
                                                                           
                                    </select>

                
                                                                            <br><br>



<div class="stationvalue">External webcam: Add Your Path/Url to your webcam (i.e https://something.com/webcam.jpg)</div>
                                                                            <svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="#777" stroke="#777" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                                                <path d="M30 12 L16 24 2 12" /></svg><br>

                                                                            <input name="webcamurl" type="text" id="webcamurl" value="<?php echo $webcamurl; ?>" class="chooseapi">

                                                                            <br>    <br>
                                                                            
                                                 <div class="stationvalue">Show Template Temperature and Wind In Webcam </div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>
                                            <select id="displaytempwind" name="displaytempwind" class="choose1">
                                                <option><?php echo $displaytempwind; ?></option>
                                                <option>yes</option>
                                                <option>no</option>
                                            </select>                            
                                                                            
                                                                            
                                                                            
                                                                            <br>

                                                                                <br>    <br>


                                        
                                       <div class="stationvalue">Select unit for Soil Humidity</div>
                                                                            <svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="#777" stroke="#777" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%"> 
                                                                                <path d="M30 12 L16 24 2 12" /></svg>       
                
                                                                                <select id="soilhumunit" name="soilhumunit" class="choose">
                                        <option><?php echo $soilhumunit; ?></option>
                                        <option> cbar</option>
                                        <option>%</option>
                     
                                    </select>
                                                                            <br><br>
                                                                           
<p>
            </div>                              
           
            </div>

            <div class="weatheroptions">
                                    <div class="stationvalue"> Station Name</div>
                                            <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg>

                                            <input name="stationName" type="text" id="stationName" value="<?php echo $stationName; ?>" class="chooseapi">
                                            <br />  <br />  



                                            <svg  width="34" height="34" id="weather34theme icon" version="1.1" viewBox="0 0 24 24" stroke-width="2" stroke="hsl(205, 5%, 53%)" fill="none" stroke-linecap="round" stroke-linejoin="round" style="left:-3px;">  <path stroke="none" d="M0 0h24v24H0z"/>  
<circle cx="12" cy="12" r="4" fill="var(--body-text-dark)"/> <path d="M3 12h1M12 3v1M20 12h1M12 20v1M5.6 5.6l.7 .7M18.4 5.6l-.7 .7M17.7 17.7l.7 .7M6.3 17.7l-.7 .7" />
</svg>                                            <div class="stationvalue">
                                            Theme /Layout Section </div><br /><br />


                                           


<img src="images/template1a.jpg" style="display:inline-flex;width:20%;float:none;margin-top:50px;margin-right:20px;">
<img src="images/template2a.jpg" style="display:inline-block;width:20%;margin-top:50px;margin-right:20px;">
<img src="images/template3a.jpg" style="display:inline-block;width:20%;margin-top:50px;margin-right:20px;">
<img src="images/template4a.jpg" style="display:inline-block;width:20%;margin-top:50px;margin-right:20px;"><br>
<img src="images/template5a.jpg" style="display:inline-block;width:20%;margin-top:50px;margin-right:20px;">
<img src="images/template6a.jpg" style="display:inline-block;width:22%;margin-top:50px;margin-right:20px;">
<img src="images/template7a.jpg" style="display:inline-block;width:22%;margin-top:50px;margin-right:20px;">
<img src="images/template8a.jpg" style="display:inline-block;width:22%;margin-top:50px;margin-right:20px;">
<img src="images/template9a.jpg" style="display:inline-block;width:22%;margin-top:50px;margin-right:20px;">
<img src="images/template-aw.png" style="display:inline-block;width:12%;margin-top:50px;margin-right:20px;">

<br /><br />                                    



<div class="stationvalue">



                                        
                                    
                                    
                                    Template Default Layout (9 options) </div>
                                                    
                              





                                                    <label name="themelayout"></label>
                                                    <select id="themelayout" name="themelayout" class="choose1">
                                                        <option><?php echo $themelayout; ?></option>
                                                        <option>Layout 1</option>
                                                        <option>Layout 2</option>
                                                        <option>Layout 3</option>
                                                        <option>Layout 4</option>
                                                        <option>Layout 5</option>
                                                        <option>Layout 6</option>
                                                        <option>Layout 7</option>
                                                        <option>Layout 8</option>
                                                        <option>Layout 9</option>
                                                        
                                                       
                                                    </select><br><br>
* Layout 1 original detailed dashboard layout <br>
* Layout 2 dashboard layout with charts and light/dark mode switch icon<br>
* Layout 3 dashboard layout with charts and light/dark auto mode (based on Operating System settings day/daylight)<br>
* Layout 4 dashboard layout no charts just a main sensor layout<br>
* Layout 5 dashboard layout no charts background colored card layout for main sensors<br>
* Layout 6 dashboard layout no charts dark background card layout for main sensors<br>
* Layout 7 dashboard layout 2024 circular gauges<br>
* Layout 8 dashboard layout 2024 circular gauges with charts<br>
* Layout 9 dashboard layout 2024 with charts<br>
* Layout for Apple watch not available for default layout ! <br>








                                                 <br><br>



<br />




                                    <div class="stationvalue">
                                        
                                    
                                    
                                    Charts Theme Background Colour </div>
                                                    <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                        <path d="M12 30 L24 16 12 2" />
                                                    </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="#777" stroke="#777" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                        <path d="M30 12 L16 24 2 12" />
                                                    </svg>

                                                    <label name="theme"></label>
                                                    <select id="theme" name="theme" class="choose1">
                                                        <option><?php echo $theme; ?></option>
                                                        <option>dark</option>
                                                       
                                                    </select><br>
                                                    * This is a fixed Dark background themed layout based on preferred choice
                                                 <br><br>
            </div>

           <div class="weatheroptions">
                                        <div class="stationvalue">TIMEZONE</div>
                                        <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                            <path d="M12 30 L24 16 12 2" />
                                        </svg>


                                        <input name="TZ" type="text" id="TZ" value="<?php echo $TZ; ?>" class="choose"><?php if (! in_array ($TZ, timezone_identifiers_list())) echo "<font color=orange> Error: Invalid TIMEZONE! </font>"; ?>

                                        <br><br>
                                        <svg id="i-info" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="2">
                                                <path d="M16 14 L16 23 M16 8 L16 10" />
                                                <circle cx="16" cy="16" r="14" /></svg> 
                                        
                                        use the php timezone document page to help find the correct syntax
                                        <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                            <path d="M12 30 L24 16 12 2" />
                                        </svg> <a href="https://www.php.net/manual/en/timezones.php" target="_blank">
                                        <orange>https://www.php.net/manual/en/timezones.php</orange>
                                    </a>
                                        <br><br>
                                        <div class="stationvalue">Latitude</div>
                                            <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg>

                                            <input name="lat" type="text" id="lat" value="<?php echo $lat; ?>" class="choose">
                                            <br><br>
                                            <div class="stationvalue">Longitude</div>
                                            <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg>
                                            
                                            <input name="lon" type="text" id="TZ" value="<?php echo $lon; ?>" class="choose">
                                            <br>
                                            <br>

                                            <div class="stationvalue">Set the Main Clock Format</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                                                    <path d="M12 30 L24 16 12 2" />
                                                                                </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="#777" stroke="#777" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                                                    <path d="M30 12 L16 24 2 12" />
                                                                                </svg>

                                                                                <label name="clockformat"></label>
                                                                                <select id="clockformat" name="clockformat" class="choose1">
                                                                                    <option><?php echo $clockformat; ?></option>
                                                                                    <option>24</option>
                                                                                    <option>12</option>
                                                                                </select>


                                            <br>
                                            <br>

                                            <div class="stationvalue">Elevation (in feet)</div>
                                            <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg>
                                            
                                            <input name="elevationcb" type="text" id="elevationcb" value="<?php echo $elevationcb; ?>" class="choose"> 
                                            (numerical numbers only.do not type feet or ft)
                                            <br>
                                            <br>

           </div>
                                       
<p>
                                            <div class="weatheroptions">
                                            
                         <div class="weathersectiontitle">
                                            <svg id="i-settings" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M13 2 L13 6 11 7 8 4 4 8 7 11 6 13 2 13 2 19 6 19 7 21 4 24 8 28 11 25 13 26 13 30 19 30 19 26 21 25 24 28 28 24 25 21 26 19 30 19 30 13 26 13 25 11 28 8 24 4 21 7 19 6 19 2 Z" />
                                                <circle cx="16" cy="16" r="4" />
                                            </svg>
                                            Previous Years  Chart Display Option </div>
                                            <br>
                                            <div class="stationvalue">Do You have data for charts from 2019</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>
                                            <select id="display2019" name="display2019" class="choose1">
                                                <option><?php echo $display2019; ?></option>
                                                <option>yes</option>
                                                <option>no</option>
                                            </select>
<br>
                                            <div class="stationvalue">Do You have data for charts from last year </div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>
                                            <select id="display2020" name="display2020" class="choose1">
                                                <option><?php echo $display2020; ?></option>
                                                <option>yes</option>
                                                <option>no</option>
                                            </select>

<P>
                                            <div class="stationvalue">
                                              Reverse the moonphase for southern hemisphere (i.e. Australia etc..)</div>
                                                                                                                                
                                              <svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="#777" stroke="#777" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                               <path d="M30 12 L16 24 2 12" /></svg>
                                              <select id="hemisphere" name="hemisphere" class="choose1">
                                              <option><?php echo $hemisphere; ?></option>
                                              <option>0</option>
                                               <option>180</option></select>

                                               <br><span style="color:#777;">
                                                <svg id="i-info" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="2">
                                                <path d="M16 14 L16 23 M16 8 L16 10" />
                                                <circle cx="16" cy="16" r="14" /></svg> 0 for northern hemisphere <br>
                                                  <svg id="i-info" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="2">
                                                 <path d="M16 14 L16 23 M16 8 L16 10" />
                                                 <circle cx="16" cy="16" r="14" /></svg> 180 for southern hemisphere </span>
                                                 <br><br>

<div class="weathersectiontitle">
                                            
                                            <?php 
                                            $warmalert='<svg id="weather34 warm alert2" width="16pt" height="16pt" fill="#ff552e" viewBox="0 0 20 20">
                                            <path d="M19.64 16.36L11.53 2.3A1.85 1.85 0 0 0 10 1.21 1.85 1.85 0 0 0 8.48 2.3L.36 16.36C-.48 17.81.21 19 1.88 19h16.24c1.67 0 
                                            2.36-1.19 1.52-2.64zM11 16H9v-2h2zm0-4H9V6h2z"/></svg>';
                                            echo $warmalert?>

                                            Display Notifications Alerts (yes or no) <br></div>
                                        
                                            <br>
                                            <label name="unit"></label>
                                            <div class="stationvalue">Select Yes or No</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>
                                            <select id="notifications" name="notifications" class="choose">
                                                <option><?php echo $notifications ; ?></option>
                                                <option>yes</option>
                                                <option>no</option>
                                               
                                            </select>

                                                <br><br>


                                            <p>

                                            <div class="weathersectiontitle">
                                                <?php echo $hometempmenu ?> Display Indoor Icon in the bottom menu bar  <br></div>    
                                        
                                            <br>
                                            <label name="unit"></label>
                                            <div class="stationvalue">select yes or no 
                                            </div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>
                                            <select id="indooricon" name="indooricon" class="choose">
                                                <option><?php echo $indooricon; ?></option>
                                                <option>yes</option>
                                                <option>no</option>
                                               
                                            </select>

                                                <br><br>

                                            <p>

</div>
<p>

<div class="weatheroptions">
                                            <div class="weathersectiontitle">
                                            <svg id="i-settings" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M13 2 L13 6 11 7 8 4 4 8 7 11 6 13 2 13 2 19 6 19 7 21 4 24 8 28 11 25 13 26 13 30 19 30 19 26 21 25 24 28 28 24 25 21 26 19 30 19 30 13 26 13 25 11 28 8 24 4 21 7 19 6 19 2 Z" />
                                                <circle cx="16" cy="16" r="4" />
                                            </svg>
                                           Card Positions (14)</div><br>

<img src="images/positions.jpg" style="float:right;width:30%;margin-top:50px;margin-right:20px;">
                                   
<br><br><br>
                                            <label name="unit"></label>
                                            <div class="stationvalue">Position 1 choose which file to use</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>


                                            <select id="position1" name="position1" class="choose">
                                                <option><?php echo $position1; ?></option>
                                                <option>temperaturemod.php</option>
                                                <option>humiditymod.php</option>
                                                <option>dewpointmod.php</option>                                                
                                                <option>weather34-rain.php</option>
                                                <option>barometer-mod.php</option>  
                                                <option>weather34-uvi.php</option>                                                 
                                                <option>weather34-solar.php</option>
                                                <option>weather34-indoormod.php</option>
                                                <option>weather34-webcam.php</option>                                                
                                                <option>weather34-airquality-mod.php</option>
                                                <option>weather34-airqualitydavis-mod.php</option>
                                                <option>weather34-airquality-mod-mb.php</option>
                                                
                                            </select>

<br>

<label name="unit"></label>
                                            <div class="stationvalue">Position 2 choose which file to use</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>


                                            <select id="position2" name="position2" class="choose">
                                                <option><?php echo $position2; ?></option>
                                                <option>temperaturemod.php</option>
                                                <option>humiditymod.php</option>
                                                <option>dewpointmod.php</option>                                               
                                                <option>weather34-rain.php</option>
                                                <option>barometer-mod.php</option>  
                                                <option>weather34-uvi.php</option>                                                 
                                                <option>weather34-solar.php</option>
                                                <option>weather34-indoormod.php</option>
                                                <option>weather34-webcam.php</option>
                                                <option>weather34-airquality-mod.php</option>
                                                <option>weather34-airqualitydavis-mod.php</option>
                                                <option>weather34-airquality-mod-mb.php</option>
                                                
                                                
                                            </select>

<br>

                                            <label name="unit"></label>
                                            <div class="stationvalue">Position 3 choose which file to use</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>


                                            <select id="position3" name="position3" class="choose">
                                                <option><?php echo $position3; ?></option>
                                                <option>temperaturemod.php</option>
                                                <option>humiditymod.php</option>
                                                <option>dewpointmod.php</option>                                                
                                                <option>weather34-rain.php</option>  
                                                <option>barometer-mod.php</option>  
                                                <option>weather34-uvi.php</option>                                                 
                                                <option>weather34-solar.php</option>
                                                <option>weather34-indoormod.php</option>
                                                <option>weather34-webcam.php</option>
                                                <option>weather34-sun-moon.php</option>
                                                <option>weather34-airquality-mod.php</option>
                                                <option>weather34-airqualitydavis-mod.php</option>
                                                <option>weather34-airquality-mod-mb.php</option>

                                                
                                                
                                            </select>

<br>


<label name="unit"></label>
                                            <div class="stationvalue">Position 4 choose which file to use</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>


                                            <select id="position4" name="position4" class="choose">
                                                <option><?php echo $position4; ?></option>
                                                <option>windmod.php</option>
                                                <option>directionmod.php</option>
                                                <option>gustmod.php</option>
                                                <option>weather34-webcam.php</option> 
                                                                                               
                                            </select>

<br>

<label name="unit"></label>
                                            <div class="stationvalue">Position 5 choose which file to use</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>


                                            <select id="position5" name="position5" class="choose">
                                                <option><?php echo $position5; ?></option>
                                                <option>windmod.php</option>
                                                <option>directionmod.php</option>
                                                <option>gustmod.php</option>
                                                <option>weather34-webcam.php</option> 
                                                 
                                            </select>

<br>

<label name="unit"></label>
                                            <div class="stationvalue">Position 6 choose which file to use</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>


                                            <select id="position6" name="position6" class="choose">
                                                <option><?php echo $position6; ?></option>
                                                <option>windmod.php</option>
                                                <option>directionmod.php</option>
                                                <option>gustmod.php</option>
                                                <option>weather34-webcam.php</option> 
                                                                                                 
                                            </select>

<br>

<label name="unit"></label>
                                            <div class="stationvalue">Position 7 choose which file to use</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>


                                            <select id="position7" name="position7" class="choose">
                                                <option><?php echo $position7; ?></option>
                                                <option>temperaturemod.php</option>
                                                <option>humiditymod.php</option>
                                                <option>dewpointmod.php</option>                                                
                                                <option>weather34-rain.php</option>
                                                <option>barometer-mod.php</option>  
                                                <option>weather34-uvi.php</option>                                                 
                                                <option>weather34-solar.php</option>
                                                <option>weather34-indoormod2.php</option>
                                                <option>weather34-webcam.php</option>
                                                <option>weather34-sun-moon.php</option>
                                                <option>weather34-airquality-mod.php</option>
                                                <option>weather34-airqualitydavis-mod.php</option>
                                                <option>weather34-airquality-mod-mb.php</option>                                       
                                            </select>

<br>

<label name="unit"></label>
                                            <div class="stationvalue">Position 8 choose which file to use</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>


                                            <select id="position8" name="position8" class="choose">
                                                <option><?php echo $position8; ?></option>
                                                <option>temperaturemod.php</option>
                                                <option>humiditymod.php</option>
                                                <option>dewpointmod.php</option> 
                                                <option>weather34-rain.php</option>
                                                <option>barometer-mod.php</option>  
                                                <option>weather34-uvi.php</option>                                                 
                                                <option>barometer-modmmHG.php</option>                                                    
                                                <option>weather34-solar.php</option>
                                                <option>weather34-indoormod2.php</option>
                                                <option>weather34-webcam.php</option>
                                                <option>weather34-sun-moon.php</option>
                                                <option>weather34-airquality-mod.php</option>
                                                <option>weather34-airqualitydavis-mod.php</option>
                                                <option>weather34-airquality-mod-mb.php</option>
                                                
                                            </select>

<br>

<label name="unit"></label>
                                            <div class="stationvalue">Position 9 choose which file to use</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>


                                            <select id="position9" name="position9" class="choose">
                                                <option><?php echo $position9; ?></option>
                                                <option>temperaturemod.php</option>
                                                <option>humiditymod.php</option>
                                                <option>dewpointmod.php</option>                                                
                                                <option>weather34-rain.php</option>
                                                <option>barometer-mod.php</option>  
                                                <option>weather34-uvi.php</option>                                                           
                                                <option>weather34-solar.php</option>
                                                <option>weather34-indoormod2.php</option>
                                                <option>weather34-webcam.php</option>                                               
                                                <option>weather34-sun-moon.php</option>
                                                <option>weather34-airquality-mod.php</option>
                                                <option>weather34-airqualitydavis-mod.php</option>
                                                <option>weather34-airquality-mod-mb.php</option>
                                            </select>

<br>


<label name="unit"></label>
                                            <div class="stationvalue">Position 10 bottom row choose which file to use</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>


                                            <select id="position10" name="position10" class="choose">
                                                <option><?php echo $position10; ?></option>   
                                                <option>weather34-davisforecast.php</option>                                             
                                                <option>weather34-sunmod.php</option>
                                                <option>weather34-dayforecast.php</option>
                                                <option>weather34-dayforecast-text.php</option>
                                                <option>weather34-airquality.php</option>
                                                <option>weather34-airquality-luftdaten.php</option>                                                
                                                <option>weather34-airquality-davis.php</option>
                                                <option>weather34-airquality-mb.php</option>
                                                <option>weather34-indoormod.php</option>
                                                <option>weather34-lightning.php</option>
                                                <option>weather34-lightning-chuck.php</option>
                                                <option>weather34-moonphasemod.php</option>
                                                <option>weather34-firerisk.php</option>  
                                                <option>weather34-heat-index.php</option>
                                                <option>weather34-windchill.php</option>  
                                                <option>weather34-earthquake.php</option>                                            
                                            </select>

<br>


<label name="unit"></label>
                                            <div class="stationvalue">Position 11 bottom row choose which file to use</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>


                                            <select id="position11" name="position11" class="choose">
                                                <option><?php echo $position11; ?></option>
                                                <option>weather34-davisforecast.php</option> 
                                                <option>weather34-sunmod.php</option>
                                                <option>weather34-dayforecast.php</option>
                                                <option>weather34-dayforecast-text.php</option>
                                                <option>weather34-airquality.php</option>
                                                <option>weather34-airquality-luftdaten.php</option>                                                
                                                <option>weather34-airquality-davis.php</option>
                                                <option>weather34-airquality-mb.php</option>
                                                <option>weather34-indoormod.php</option>
                                                <option>weather34-lightning.php</option>
                                                <option>weather34-lightning-chuck.php</option>
                                                <option>weather34-moonphasemod.php</option>
                                                <option>weather34-firerisk.php</option>
                                                <option>weather34-heat-index.php</option>
                                                <option>weather34-windchill.php</option>
                                                <option>weather34-earthquake.php</option>
                                                <option>weather34-cloudbasetemp.php</option>
                                            </select>

<br>


<label name="unit"></label>
                                            <div class="stationvalue">Position 12 bottom row choose which file to use</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>


                                            <select id="position12" name="position12" class="choose">
                                                <option><?php echo $position12; ?></option>
                                                <option>weather34-davisforecast.php</option> 
                                                <option>weather34-sunmod.php</option>
                                                <option>weather34-dayforecast.php</option>
                                                <option>weather34-dayforecast-text.php</option>
                                                <option>weather34-airquality.php</option>
                                                <option>weather34-woodsmoke-pa.php</option>
                                                <option>weather34-airquality-luftdaten.php</option>                                                
                                                <option>weather34-airquality-davis.php</option>
                                                <option>weather34-airquality-mb.php</option>
                                                <option>weather34-indoormod.php</option>
                                                <option>weather34-lightning.php</option>
                                                <option>weather34-lightning-chuck.php</option>
                                                <option>weather34-moonphasemod.php</option>
                                                <option>weather34-firerisk.php</option>
                                                <option>weather34-heat-index.php</option>
                                                <option>weather34-windchill.php</option>
                                                <option>weather34-earthquake.php</option>
                                                <option>weather34-cloudbasetemp.php</option>
                                            </select>

<br>
<label name="unit"></label>
                                            <div class="stationvalue">Position 13 module appears when in potrtait view choose which file to use</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>


                                            <select id="position13" name="position13" class="choose">
                                                <option><?php echo $position13; ?></option>                                   
                                                <option>weather34-indoormod2.php</option>
                                                <option>weather34-clockphone.php</option>                                                                                                                                  
                                                <option>weather34-lightning-mod.php</option>
                                                <option>weather34-lightning-mod-chuck.php</option>
                                                <option>weather34-airquality-mod.php</option>
                                                <option>weather34-airqualitydavis-mod.php</option>
                                                <option>weather34-airquality-mod-mb.php</option>
                                                <option>weather34-dayforecast-mod.php</option>
                                                <option>weather34-sun-moon.php</option>
                                                <option>weather34-cloudbasetemp.php</option>
                                                
                                                
                                            </select>

<br><br>

<br><br>
* <blue>weather34-airquality.php</blue> if use Purple Air<br>
* <blue>weather34-airquality-luftdaten.php</blue> if use Luftdaten Air Quality<br>
* <blue>weather34-airquality-davis.php</blue> if use Davis Air Quality<br>
* <blue>weather34-airquality-mb.php</blue> if use Meteobridge assigned Air Quality(API position 175) <br>

<br>

<div class="weathersectiontitle">
                                            <svg id="i-settings" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M13 2 L13 6 11 7 8 4 4 8 7 11 6 13 2 13 2 19 6 19 7 21 4 24 8 28 11 25 13 26 13 30 19 30 19 26 21 25 24 28 28 24 25 21 26 19 30 19 30 13 26 13 25 11 28 8 24 4 21 7 19 6 19 2 Z" />
                                                <circle cx="16" cy="16" r="4" />
                                            </svg>
                                            4 optional positions to choose for display in the Alternative Display/OS Theme.</div><br>
                                            <br>
                                           Cards<br>
                                            uvindexmod-tablet2.php = UVINDEX   <br>                                       
                                            solarmod-tablet2.php =   Solar  <br>
                                            clock-tablet.php   =    Clock  <br>
                                            weather34-webcam.php =  Webcam  <br>
                                            weather34-daq-tablet.php = Davis Airlink<br>
                                            weather34-paq-tablet.php = Purple Air<br>
                                            weather34-laq-tablet.php = Luftdaten<br>
                                            weather34-firerisk-tablet.php = Fire Risk CBI<br>   
                                            weather34-feels-tablet.php = Feels Like<br>   
                                            weather34-lightning-tablet.php = Weatherflow Lightning<br>   
                                            weather34-indoormod-tablet.php = Indoor/Console Temp<br> <br>
                                            <label name="unit"></label>


<div class="stationvalue">Alternative/OS Display Position 9 </div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
    <path d="M12 30 L24 16 12 2" />
</svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
    <path d="M30 12 L16 24 2 12" />
</svg>


<select id="position9t" name="position9t" class="choose">
    <option><?php echo $position9t; ?></option>   
    <option>uvindexmod-tablet2.php</option>                                               
    <option>solarmod-tablet2.php</option>
    <option>clock-tablet.php</option>     
    <option>weather34-webcam.php</option>                                            
                                
</select>  

<br>







<label name="unit"></label>


                                            <div class="stationvalue">Alternative/OS Display Position 10 </div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>


                                            <select id="position10t" name="position10t" class="choose">
                                                <option><?php echo $position10t; ?></option>   
                                                <option>weather34-daq-tablet.php</option>  
                                                <option>weather34-woodsmoke-tablet.php</option>                                             
                                                <option>weather34-paq-tablet.php</option>
                                                <option>weather34-laq-tablet.php</option>                                                
                                                <option>weather34-firerisk-tablet.php</option> 
                                                <option>weather34-forecast-tablet.php</option>                                                                                              
                                                <option>weather34-feels-tablet.php</option>
                                                <option>weather34-lightning-tablet.php</option> 
                                                <option>weather34-indoormod-tablet.php</option>                                   
                                            </select>
                                            
<br>


<label name="unit"></label>
                                            <div class="stationvalue">Alternative/OS Display Position 11 </div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>


                                            <select id="position11t" name="position11t" class="choose">
                                            <option><?php echo $position11t; ?></option>   
                                                <option>weather34-daq-tablet.php</option> 
                                                <option>weather34-woodsmoke-tablet.php</option>                                              
                                                <option>weather34-paq-tablet.php</option>
                                                <option>weather34-laq-tablet.php</option>                                                
                                                <option>weather34-firerisk-tablet.php</option> 
                                                <option>weather34-forecast-tablet.php</option>                                                                                               
                                                <option>weather34-feels-tablet.php</option>
                                                <option>weather34-lightning-tablet.php</option>                                                                                                         
                                                <option>weather34-indoormod-tablet.php</option>
                                            </select>
                                            

<br>


<label name="unit"></label>
                                            <div class="stationvalue">Alternative/OS Display Position 12 </div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>

                                            
                                            <select id="position12t" name="position12t" class="choose">
                                                <option><?php echo $position12t; ?></option>   
                                                <option>weather34-daq-tablet.php</option>                                               
                                                <option>weather34-paq-tablet.php</option>
                                                <option>weather34-woodsmoke-tablet.php</option>
                                                <option>weather34-laq-tablet.php</option>                                                
                                                <option>weather34-firerisk-tablet.php</option>                                                                                                 
                                                <option>weather34-feels-tablet.php</option>
                                                <option>weather34-forecast-tablet.php</option> 
                                                <option>weather34-lightning-tablet.php</option>      
                                                <option>weather34-indoormod-tablet.php</option> 
                                                
                                            </select>

<br>


<br>


<br>

<label name="unit"></label>

<div class="weathersectiontitle">
                                            <svg id="i-settings" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M13 2 L13 6 11 7 8 4 4 8 7 11 6 13 2 13 2 19 6 19 7 21 4 24 8 28 11 25 13 26 13 30 19 30 19 26 21 25 24 28 28 24 25 21 26 19 30 19 30 13 26 13 25 11 28 8 24 4 21 7 19 6 19 2 Z" />
                                                <circle cx="16" cy="16" r="4" />
                                            </svg>
                                            Optional positions to choose for display in the Theme 6 .</div><br>
                                            <br>
                                                                              
                                            weather34-woodsmoke-full.php = via Purple Air<br>
                                            weather34-daq-full.php = Davis Airlink<br>
                                            weather34-paq-full.php = Purple Air<br>
                                            weather34-laq-full.php = Luftdaten<br>
                                            weather34-firerisk-full.php = Fire Risk CBI<br>   
                                            weather34-feels-full.php = Feels Like<br>                                             
                                            weather34-indoormod-full.php = Indoor/Console Temp<br>
                                            weather34-forecast-full.php = Forecast Current Day/Night<br>
                                            weather34-webcam-full.php = Webcam<br>
                                            weather34-earthquake-full.php = Regional Earthquakes<br>
                                            weather34-sun-moon-full.php = sun moon info graphic<br><br><br>



                                            <br>
                                                                              
                                                                              rainmod-gauge-full.php = Graphical Gauge<br>
                                                                              rainmod-full-alt.php = No Gauge<br><br>

                                                                            
                                                                              
                                                                              directionmod-gauge-full.php = Graphical Gauge<br>
                                                                              directionmod-full.php = No Gauge<br><br>

                                            <div class="stationvalue">Full Fixed Theme Choose which Rain module to display </div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>

                                           


                                            <select id="positionrain" name="positionrain" class="choose">
                                                <option><?php echo $positionrain; ?></option>   
                                                <option>rainmod-gauge-full.php</option>                                                                                              
                                                <option>rainmod-full-alt.php</option>
                                                                          
                                            </select>
                                            
<br>


<div class="stationvalue">Full Fixed Theme Choose which Wind module to display </div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>

                                           
                                           


                                            <select id="positionwind" name="positionwind" class="choose">
                                                <option><?php echo $positionwind; ?></option>   
                                                <option>directionmod-full.php</option>                                                                                              
                                                <option>directionmod-gauge-full.php</option>
                                                                          
                                            </select>
                                            
<br>



                                            <div class="stationvalue">Full Fixed Theme 1st Bottom Module (if no uv or solar)</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>


                                            <select id="position10f" name="position10f" class="choose">
                                                <option><?php echo $position10f; ?></option>   
                                                <option>weather34-daq-full.php</option>                                                                                              
                                                <option>weather34-paq-full.php</option>
                                                <option>weather34-laq-full.php</option>                                                
                                                <option>weather34-firerisk-full.php</option> 
                                                <option>weather34-forecast-full.php</option>                                                                                              
                                                <option>weather34-feels-full.php</option>                                             
                                                <option>weather34-indoormod-full.php</option>  
                                                <option>weather34-woodsmoke-full.php</option>  
                                                <option>weather34-webcam-full.php</option>   
                                                <option>weather34-earthquake-full.php</option>    
                                                <option>weather34-sun-moon-full.php</option>
                                                <option>weather34-Chart-soiltempmod-2024.php</option>                               
                                            </select>
                                            
<br>


<label name="unit"></label>
                                            <div class="stationvalue">Full Fixed Theme 2nd Bottom Module </div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>


                                            <select id="position11f" name="position11f" class="choose">
                                            <option><?php echo $position11f; ?></option>   
                                            <option>weather34-daq-full.php</option>  
                                             <option>weather34-paq-full.php</option>
                                                <option>weather34-laq-full.php</option>   

                                                <option>weather34-firerisk-full.php</option> 
                                                <option>weather34-forecast-full.php</option>                                                                                              
                                                <option>weather34-feels-full.php</option>                                             
                                                <option>weather34-indoormod-full.php</option>    
                                                <option>weather34-woodsmoke-full.php</option> 
                                                <option>weather34-webcam-full.php</option>   
                                                <option>weather34-earthquake-full.php</option>  
                                                <option>weather34-sun-moon-full.php</option> 
                                                <option>weather34-Chart-soiltempmod-2024.php</option>  
                                            </select>
                                            

<br>


<label name="unit"></label>
                                            <div class="stationvalue">Full Fixed Theme 3rd Bottom Module </div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>

                                            
                                            <select id="position12f" name="position12f" class="choose">
                                                <option><?php echo $position12f; ?></option>   
                                                <option>weather34-daq-full.php</option>                                                                                          
                                                <option>weather34-paq-full.php</option>
                                                <option>weather34-laq-full.php</option>                                                
                                                <option>weather34-firerisk-full.php</option> 
                                                <option>weather34-forecast-full.php</option>                                                                                              
                                                <option>weather34-feels-full.php</option>                                             
                                                <option>weather34-indoormod-full.php</option>    
                                                <option>weather34-woodsmoke-full.php</option> 
                                                <option>weather34-webcam-full.php</option>  
                                                <option>weather34-earthquake-full.php</option>  
                                                <option>weather34-sun-moon-full.php</option> 
                                                <option>weather34-Chart-soiltempmod-2024.php</option>  
                                            </select>

<br>


<label name="unit"></label>
                                            <div class="stationvalue">Full Fixed Theme 4th (Last) Bottom Module </div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>

                                            
                                            <select id="position13f" name="position13f" class="choose">
                                                <option><?php echo $position13f; ?></option>   
                                                <option>weather34-daq-full.php</option>                                                                                          
                                                <option>weather34-paq-full.php</option>
                                                <option>weather34-laq-full.php</option>                                                
                                                <option>weather34-firerisk-full.php</option> 
                                                <option>weather34-forecast-full.php</option>                                                                                              
                                                <option>weather34-feels-full.php</option>                                             
                                                <option>weather34-indoormod-full.php</option>    
                                                <option>weather34-woodsmoke-full.php</option> 
                                                <option>weather34-webcam-full.php</option>  
                                                <option>weather34-earthquake-full.php</option>  
                                                <option>weather34-sun-moon-full.php</option>  
                                                <option>weather34-Chart-soiltempmod-2024.php</option>  
                                                
                                            </select>

<br>

<br>
<br>
<b>
*New Optional <blue>Top 4 module positions </blue>to choose for display in the <orange>Theme 7 </orange>(Added May 2025) .</b><br>
                                            <br>



                                            temperaturemod-2024.php = temperature<br>
                                            humiditymod-2024.php = humidity <br>
                                            dewpointmod-2024.php =dewpoint <br>
                                            barometermod-2024.php =barometer <br>
                                            barometermod-mmhg-2024.php= barometer mmHg<br>
                                            weather34-daq-2024.php = Davis Airlink  <br>                                                  
                                            weather34-paq-2024.php = Purple Air <br>
                                            weather34-laq-2024.php = Lufdaten Air Quality  <br>
                                            weather34-woodsmoke-2024.php = Woodsmoke via Purple Air<br>

                                            <img src="images/template7a.jpg" style="display:inline-block;width:22%;margin-top:-140px;margin-left:620px;">


                                            <br> <br>




                                            <div class="stationvalue">Theme 7 1st Top Module </div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>


                                            <select id="position71" name="position71" class="choose">
                                                <option><?php echo $position71; ?></option>
                                                <option>temperaturemod-2024.php</option>
                                                <option>humiditymod-2024.php</option>
                                                <option>dewpointmod-2024.php</option>
                                                <option>barometermod-2024.php</option>
                                                <option>barometermod-mmhg-2024.php</option>
                                                <option>weather34-daq-2024.php</option>                                                   
                                                <option>weather34-paq-2024.php</option>
                                                <option>weather34-laq-2024.php</option>
                                                 <option>weather34-woodsmoke-2024.php </option>

                                            </select>

<br>


                                            <div class="stationvalue">Theme 7 2nd Top Module </div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>


                                            <select id="position72" name="position72" class="choose">
                                                <option><?php echo $position72; ?></option>
                                                <option>temperaturemod-2024.php</option>
                                                <option>humiditymod-2024.php</option>
                                                <option>dewpointmod-2024.php</option>
                                                <option>barometermod-2024.php</option>
                                                <option>barometermod-mmhg-2024.php</option>
                                                <option>weather34-daq-2024.php</option>                                                   
                                                <option>weather34-paq-2024.php</option>
                                                <option>weather34-laq-2024.php</option>
                                                 <option>weather34-woodsmoke-2024.php </option>

                                            </select>

<br>





                                            <div class="stationvalue">Theme 7 3rd Top Module </div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>


                                            <select id="position73" name="position73" class="choose">
                                                <option><?php echo $position73; ?></option>
                                                <option>temperaturemod-2024.php</option>
                                                <option>humiditymod-2024.php</option>
                                                <option>dewpointmod-2024.php</option>
                                                <option>barometermod-2024.php</option>
                                                <option>barometermod-mmhg-2024.php</option>
                                                <option>weather34-daq-2024.php</option>                                                   
                                                <option>weather34-paq-2024.php</option>
                                                <option>weather34-laq-2024.php</option>
                                                 <option>weather34-woodsmoke-2024.php </option>                                           


                                            </select>

<br>



                                            <div class="stationvalue">Theme 7 4th Top Module </div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>


                                            <select id="position74" name="position74" class="choose">
                                                <option><?php echo $position74; ?></option>
                                                <option>temperaturemod-2024.php</option>
                                                <option>humiditymod-2024.php</option>
                                                <option>dewpointmod-2024.php</option>
                                                <option>barometermod-2024.php</option>
                                                <option>barometermod-mmhg-2024.php</option>
                                                <option>weather34-daq-2024.php</option>                                                   
                                                <option>weather34-paq-2024.php</option>
                                                <option>weather34-laq-2024.php</option>
                                                 <option>weather34-woodsmoke-2024.php </option>                                           


                                            </select>

<br>

<br>
                                                                              
                                            
Optional Rain Modules choose for display in the Theme 7 (2024) .<br>



<div class="stationvalue">2024 rain  module </div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>


                                            <select id="rain2024" name="rain2024" class="choose">
                                                <option><?php echo $rain2024; ?></option>   
                                                <option>rainmod-2024.php</option> 
                                                <option>rainmod-full.php</option> 
                                                                          
                                            </select>


                                           
<br>


<div class="stationvalue">2024 rain rate  module </div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>


                                            <select id="rainrat2024" name="rainrate2024" class="choose">
                                                <option><?php echo $rainrate2024; ?></option>   
                                                <option>rainratemod-2024.php</option> 
                                                <option>rainratemod-full.php</option> 
                                                                          
                                            </select>

                                            <br>
                                            *2024 New Optional Rain<br>
                                           rainmod-2024.php = Circular radial guage <br>
                                           rainmod-full.php = Classic rain bucket guage<br>
                                           rainratemod-2024.php = Circular radial guage <br>
                                           rainratemod-full.php = Classic rain bucket guage
                                            
                                            
<br>



<br>

*New Optional bottom module positions to choose for display in the Theme 7 (2024) .<br>
                                            <br>
                                                                              
                                            
                                            uvindexmod-2024.php = UV INDEX<br>
                                            solarmod-2024.php = Solar Radiation<br>
                                            weather34-woodsmoke-2024.php = via Purple Air<br>
                                            weather34-daq-2024.php = Davis Airlink<br>
                                            weather34-paq-2024.php = Purple Air<br>
                                            weather34-laq-2024.php = Luftdaten<br>
                                            weather34-firerisk-2024.php = Fire Risk CBI<br>   
                                            weather34-indoormod-2024.php = Indoor/Console Temp<br>
                                            weather34-forecast-2024.php = Forecast Current Day/Night<br>
                                            weather34-webcam-full.php = Webcam<br>
                                            weather34-sun-moon-2024.php = sun moon info graphic<br>
                                            weather34-earthquake-2024.php = localized earthquakes<br>
                                            weather34-Chart-soiltempmod-2024.php = soil temperature<br>
                                            weather34-Chart-soilhumiditymod-2024.php = soil humidity<br>   



                                            <br>


<div class="stationvalue">2024 Theme 1st Bottom Module </div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>


                                            <select id="position1024" name="position1024" class="choose">
                                                <option><?php echo $position1024; ?></option>
                                                <option>temperaturemod-2024.php</option>
                                                <option>humiditymod-2024.php</option>
                                                <option>dewpointmod-2024.php</option>
                                                <option>barometermod-2024.php</option>
                                                <option>barometermod-mmhg-2024.php</option>
                                                <option>weather34-forecast-2024.php</option>
                                                <option>uvindexmod-2024.php</option>
                                                <option>solarmod-2024.php</option>
                                                <option>weather34-daq-2024.php</option>                                                   
                                                <option>weather34-paq-2024.php</option>
                                                <option>weather34-laq-2024.php</option>
                                                <option>weather34-firerisk-2024.php</option>
                                                <option>weather34-indoormod-2024.php</option>
                                                <option>weather34-woodsmoke-2024.php</option>
                                                <option>weather34-webcam-full.php</option>
                                                <option>weather34-sun-moon-2024.php</option>
                                                <option>weather34-earthquake-2024.php</option>
                                                <option>weather34-Chart-soiltempmod-2024.php</option>
                                                <option>weather34-Chart-soilhumiditymod-2024.php</option>

					    </select>
                                            
<br>


<label name="unit"></label>
                                            <div class="stationvalue">2024 Theme 2nd Bottom Module </div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>


                                            <select id="position1124" name="position1124" class="choose">
                                                <option><?php echo $position1124; ?></option>
                                                <option>temperaturemod-2024.php</option>
                                                <option>humiditymod-2024.php</option>
                                                <option>dewpointmod-2024.php</option>
                                                <option>barometermod-2024.php</option>
                                                <option>barometermod-mmhg-2024.php</option>
                                                <option>weather34-forecast-2024.php</option>
                                                <option>uvindexmod-2024.php</option>
                                                <option>solarmod-2024.php</option>
                                                <option>weather34-daq-2024.php</option>                                                   
                                                <option>weather34-paq-2024.php</option>
                                                <option>weather34-laq-2024.php</option>
                                                <option>weather34-firerisk-2024.php</option>
                                                <option>weather34-indoormod-2024.php</option>
                                                <option>weather34-woodsmoke-2024.php</option>
                                                <option>weather34-webcam-full.php</option>
                                                <option>weather34-sun-moon-2024.php</option>
                                                <option>weather34-earthquake-2024.php</option>
                                                <option>weather34-Chart-soiltempmod-2024.php</option>
                                                <option>weather34-Chart-soilhumiditymod-2024.php</option>
					    </select>
                                            

<br>


<label name="unit"></label>
                                            <div class="stationvalue">2024 Theme 3rd Bottom Module </div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>

                                            
                                            <select id="position1224" name="position1224" class="choose">
                                                <option><?php echo $position1224; ?></option>
                                                <option>temperaturemod-2024.php</option>
                                                <option>humiditymod-2024.php</option>
                                                <option>dewpointmod-2024.php</option>
                                                <option>barometermod-2024.php</option>
                                                <option>barometermod-mmhg-2024.php</option>
                                                <option>weather34-forecast-2024.php</option>
                                                <option>uvindexmod-2024.php</option>
                                                <option>solarmod-2024.php</option>
                                                <option>weather34-daq-2024.php</option>                                                   
                                                <option>weather34-paq-2024.php</option>
                                                <option>weather34-laq-2024.php</option>
                                                <option>weather34-firerisk-2024.php</option>
                                                <option>weather34-indoormod-2024.php</option>
                                                <option>weather34-woodsmoke-2024.php</option>
                                                <option>weather34-webcam-full.php</option>
                                                <option>weather34-sun-moon-2024.php</option>
                                                <option>weather34-earthquake-2024.php</option>
                                                <option>weather34-Chart-soiltempmod-2024.php</option>
                                                <option>weather34-Chart-soilhumiditymod-2024.php</option>
					    </select>

<br>


<label name="unit"></label>
                                            <div class="stationvalue">2024 Theme 4th (Last) Bottom Module </div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>

                                            
                                            <select id="position1324" name="position1324" class="choose">
                                                <option><?php echo $position1324; ?></option>
                                                <option>temperaturemod-2024.php</option>
                                                <option>humiditymod-2024.php</option>
                                                <option>dewpointmod-2024.php</option>
                                                <option>barometermod-2024.php</option>
                                                <option>barometermod-mmhg-2024.php</option>
                                                <option>weather34-forecast-2024.php</option>
                                                <option>uvindexmod-2024.php</option>
                                                <option>solarmod-2024.php</option>
                                                <option>weather34-daq-2024.php</option>                                                   
                                                <option>weather34-paq-2024.php</option>
                                                <option>weather34-laq-2024.php</option>
                                                <option>weather34-firerisk-2024.php</option>
                                                <option>weather34-indoormod-2024.php</option>
                                                <option>weather34-woodsmoke-2024.php</option>
                                                <option>weather34-webcam-full.php</option>
                                                <option>weather34-sun-moon-2024.php</option>
                                                <option>weather34-earthquake-2024.php</option>
                                                <option>weather34-Chart-soiltempmod-2024.php</option>
                                                <option>weather34-Chart-soilhumiditymod-2024.php</option>
					    </select>

<br>

<br>


*New Options below for Theme 8/9 (2024) .<br>
                                            <br>
                                                                              
          


<br>

*New Optional bottom module positions to choose for display in the Chart Theme 8/9 (2024) .<br>
                                            <br>
                                                                              
                                            
                                            
                                            uvindexmod-Chart-2024.php = UV INDEX<br>
                                            solarmod-Chart-2024.php = Solar Radiation<br>
                                            weather34-Chart-daq-2024.php = Davis Airlink<br>
                                            weather34-Chart-paq-2024.php = Purple Air<br>
                                            weather34-Chart-laq-2024.php = Luftdaten<br>
                                            weather34-Chart-woodsmoke-2024.php = Woodsmoke via Purple Air<br>
                                            weather34-Chart-feels-2024.php = Feels Like<br>
                                            weather34-Chart-firerisk-2024.php = Firerisk<br>
                                            weather34-Chart-Chart-indoormod-2024.php = Indoor/Console Temp<br>
                                            weather34-Chart-earthquake-2024.php = localized earthquakes<br>
                                            weather34-Chart-forecast-2024.php = WU Forecast<br>
                                            weather34-Chart-cloudbase-2024.php = Cloudbase Temperature<br>
                                            weather34-webcam-full.php = Webcam<br>
                                            weather34-sun-moon-2024.php = sun moon info graphic<br>
                                            weather34-Chart-lightning-2024.php = Lightning<br><br>
                                            weather34-Chart-soiltempmod-2024.php = soil temperature<br>    
                                            weather34-Chart-soilhumiditymod-2024.php = soil humidity<br>  
                                            weather34-Chart-hardware-2025.php = Hardware Temperature * New 2025<br>   

<?php if (! strstr ($_SERVER['SERVER_NAME'], "meteobridge.com")) echo "* to use the lightning module an additional service event is required like this <br><b>https://yourdomain.com/mbridge/mb-lightning.php?d=[lgt0energy-act:--] [lgt0dist-act:--] [lgt0dist-age:--] [lgt0total-daysum.0:--] [lgt0total-monthsum.0:--] [lgt0total-yearsum.0:--] [lgt0total-sum10.0:--]<br><br></b>lightning-service-event<br><img src='images/lightning-service-event.jpg' style='display:inline-block;width:50%;border-radius:25px;margin-top:20px;margin-right:20px;'>";?>

                                            <br><br><br>


<div class="stationvalue">2024 Chart Theme 1st Bottom Module </div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>


                                            <select id="position10chart" name="position10chart" class="choose">
                                                <option><?php echo $position10chart;?></option>   
                                                <option>weather34-Chart-uvindex-2024.php</option> 
                                                <option>weather34-Chart-solar-2024.php</option> 
                                                <option>weather34-Chart-daq-2024.php</option>                                                                                              
                                                <option>weather34-Chart-paq-2024.php</option>
                                                <option>weather34-Chart-laq-2024.php</option>  
                                                <option>weather34-Chart-indoormod-2024.php</option>  
                                                <option>weather34-Chart-woodsmoke-2024.php</option>  
                                                <option>weather34-Chart-firerisk-2024.php</option> 
                                                <option>weather34-Chart-feels-2024.php</option>  
                                                <option>weather34-Chart-earthquake-2024.php</option>    
                                                <option>weather34-Chart-forecast-2024.php</option>   
                                                <option>weather34-Chart-cloudbase-2024.php</option>    
                                                <option>weather34-webcam-full.php</option>   
                                                <option>weather34-sun-moon-2024.php</option>  
                                                <option>weather34-Chart-lightning-2024.php</option>   
                                                <option>weather34-Chart-soiltempmod-2024.php</option>    
                                                <option>weather34-Chart-soilhumiditymod-2024.php</option>    
                                                <option>weather34-Chart-hardware-2025.php</option>  
                                                
                                                                    
                                            </select>
                                            
<br>


<label name="unit"></label>
                                            <div class="stationvalue">2024 Chart Theme 2nd Bottom Module </div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>


                                            <select id="position11chart" name="position11chart" class="choose">
                                                <option><?php echo $position11chart;?></option>  
                                                <option>weather34-Chart-uvindex-2024.php</option> 
                                                <option>weather34-Chart-solar-2024.php</option> 
                                                <option>weather34-Chart-daq-2024.php</option>                                                                                              
                                                <option>weather34-Chart-paq-2024.php</option>
                                                <option>weather34-Chart-laq-2024.php</option>  
                                                <option>weather34-Chart-indoormod-2024.php</option>  
                                                <option>weather34-Chart-woodsmoke-2024.php</option>  
                                                <option>weather34-Chart-firerisk-2024.php</option> 
                                                <option>weather34-Chart-feels-2024.php</option>  
                                                <option>weather34-Chart-earthquake-2024.php</option>    
                                                <option>weather34-Chart-forecast-2024.php</option>     
                                                <option>weather34-Chart-cloudbase-2024.php</option>      
                                                <option>weather34-webcam-full.php</option>   
                                                <option>weather34-sun-moon-2024.php</option>    
                                                <option>weather34-Chart-lightning-2024.php</option> 
                                                <option>weather34-Chart-soiltempmod-2024.php</option>     
                                                <option>weather34-Chart-soilhumiditymod-2024.php</option> 
                                                <option>weather34-Chart-hardware-2025.php</option>                          
                                            </select>
                                            

<br>


<label name="unit"></label>
                                            <div class="stationvalue">2024 Chart Theme 3rd Bottom Module </div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>

                                            
                                            <select id="position12chart" name="position12chart" class="choose">
                                                <option><?php echo $position12chart;?></option>  
                                                <option>weather34-Chart-uvindex-2024.php</option> 
                                                <option>weather34-Chart-solar-2024.php</option> 
                                                <option>weather34-Chart-daq-2024.php</option>                                                                                              
                                                <option>weather34-Chart-paq-2024.php</option>
                                                <option>weather34-Chart-laq-2024.php</option>  
                                                <option>weather34-Chart-indoormod-2024.php</option>  
                                                <option>weather34-Chart-woodsmoke-2024.php</option>  
                                                <option>weather34-Chart-firerisk-2024.php</option> 
                                                <option>weather34-Chart-feels-2024.php</option>  
                                                <option>weather34-Chart-earthquake-2024.php</option>     
                                                <option>weather34-Chart-forecast-2024.php</option>  
                                                <option>weather34-Chart-cloudbase-2024.php</option>    
                                                <option>weather34-webcam-full.php</option>   
                                                <option>weather34-sun-moon-2024.php</option>   
                                                <option>weather34-Chart-lightning-2024.php</option>   
                                                <option>weather34-Chart-soiltempmod-2024.php</option>    
                                                <option>weather34-Chart-soilhumiditymod-2024.php</option> 
                                                <option>weather34-Chart-hardware-2025.php</option>                            
                                            </select>

<br>


<label name="unit"></label>
                                            <div class="stationvalue">2024 Chart Theme 4th (Last) Bottom Module </div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>

                                            
                                            <select id="position13chart" name="position13chart" class="choose">
                                                <option><?php echo $position13chart;?></option> 
                                                <option>weather34-Chart-uvindex-2024.php</option> 
                                                <option>weather34-Chart-solar-2024.php</option> 
                                                <option>weather34-Chart-daq-2024.php</option>                                                                                              
                                                <option>weather34-Chart-paq-2024.php</option>
                                                <option>weather34-Chart-laq-2024.php</option>  
                                                <option>weather34-Chart-indoormod-2024.php</option>  
                                                <option>weather34-Chart-woodsmoke-2024.php</option>  
                                                <option>weather34-Chart-firerisk-2024.php</option> 
                                                <option>weather34-Chart-feels-2024.php</option>  
                                                <option>weather34-Chart-earthquake-2024.php</option>    
                                                <option>weather34-Chart-forecast-2024.php</option>    
                                                <option>weather34-Chart-cloudbase-2024.php</option>   
                                                <option>weather34-webcam-full.php</option>   
                                                <option>weather34-sun-moon-2024.php</option> 
                                                <option>weather34-Chart-lightning-2024.php</option>     
                                                <option>weather34-Chart-soiltempmod-2024.php</option>  
                                                <option>weather34-Chart-soilhumiditymod-2024.php</option>    
                                                <option>weather34-Chart-hardware-2025.php</option> 

                                            </select>

<br>

<br><b>Wind Module Theme 9</b><br>
                                            weather34-Chart-wind-2024.php  = Gauge <br>
                                            weather34-Chart-wind-2024-numerical.php = Numerical<br>

<label name="unit"></label>
                                            <div class="stationvalue">2024 Chart Theme 9 Wind Module  </div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>

                                            
                                            <select id="theme9wind" name="theme9wind" class="choose">
                                                <option><?php echo $theme9wind;?></option> 
                                                <option>weather34-Chart-wind-2024.php</option> 
                                                <option>weather34-Chart-wind-2024-numerical.php</option> 
                                                                  
                                            </select>

<br>


<br>

<br>
</div>


<p>

<div class="weatheroptions">
<div class="stationvalue"> Weather Underground Forecast API KEY (New API Version Key Required)</div>
                                                                                    <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="#F05E40" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                                                        <path d="M12 30 L24 16 12 2" />
                                                                                    </svg>

										    <input name="wuapikey" type="text" id="wuapikey" value="<?php echo $wuapikey; ?>" class="chooseapi"> <font color=orange><?php $wures = file_get_contents('jsondata/wuforecast.txt'); if ($wujson = json_decode ($wures, true)) echo "<BR>" . $wujson['errors'][0]['error']['message']; ?> </font>
                                                                                    <br> <span style="color:#777;">enter your Weather Underground API KEY <strong>8BXWEATHER34KEY123456789</strong></span>
                                                                                    <br><span style="color:#777;"><a href="https://www.wunderground.com/member/api-keys" title="https://www.wunderground.com/member/api-keys" target="_blank">login into https://www.wunderground.com/member/api-keys</a> to generate your new personal key.. </span>
                                                                                    <p>

                                                                                        <div class="stationvalue"> *important set units for Weather Underground API </div>
                                                                                        <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="#F05E40" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                                                            <path d="M12 30 L24 16 12 2" />
                                                                                        </svg>

                                                                                        <label name="wuapiunit"></label>
                                                                                        <select id="wuapiunit" name="wuapiunit" value="<?php echo $wuapiunit; ?>" class="choose1">
                                                                                            <option><?php echo $wuapiunit; ?></option>
                                                                                            <option>e</option>
                                                                                            <option>m</option>
                                                                                            <option>s</option>
                                                                                            <option>h</option>
                                                                                        </select>

                                                                                        <br><span style="color:#777;"> e = <span style="color:#cd5245;">Imperial(Non Metric) </span>
                                                                                            <br><span style="color:#777;"> m = <span style="color:#cd5245;">Metric </span>
                                                                                                <br><span style="color:#777;"> s = <span style="color:#cd5245;">m/s wind speed + metric(Scandinavia) </span>
                                                                                                    <br><span style="color:#777;"> h = <span style="color:#cd5245;">mph wind speed + metric(UK) </span>

                                                                                                        <p>



                                                                                                            <div class="weathersectiontitle">
                                                                                                                Choose the Weather Underground Forecast Language ..</div>
                                                                                                            <br>

                                                                                                            <div class="stationvalue">WU Forecast Language</div>
                                                                                                            <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="#F05E40" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                                                                                <path d="M12 30 L24 16 12 2" />
                                                                                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="#777" stroke="#777" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                                                                                <path d="M30 12 L16 24 2 12" />
                                                                                                            </svg>

                                                                                                            <label name="wulanguage"></label>
                                                                                                            <select id="wulanguage" name="wulanguage" class="choose1">
                                                                                                                <option><?php echo $wulanguage; ?></option>
                                                                                                                <option>en-GB</option>
                                                                                                                <option>en-US</option>
                                                                                                                
                                                                                                            </select> <br>

                                                                                                            <div class="stationvalue"> English en-GB is the default
                                                                                                            </div>

                                                                                                            <p>   
                                                                                                               </div>
<p>
                                                                                                               <div class="weatheroptions">           
                                                                                                                        <div class="stationvalue"> Do you have Purple Air Quality Hardware (yes or no) </div>
                                                                                                                        <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                                                                                            <path d="M12 30 L24 16 12 2" />
                                                                                                                        </svg>

                                                                                                                        <input name="purpleairhardware" type="text" id="purpleairhardware" value="<?php echo $purpleairhardware; ?>" class="choose">
                                                                                                                        <br> <span style="color:#777;">enter yes or no(lowercase)</span>
                                                                                                                        <P>


                                                                                                                            <div class="stationvalue"> Purple Air ID</div>
                                                                                                                            <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                                                                                                <path d="M12 30 L24 16 12 2" />
                                                                                                                            </svg>

                                                                                                                            <input name="purpleair" type="text" id="purpleair" value="<?php echo $purpleairID; ?>" class="choose">
                                                                                                                            <br>

                                                                                                                            <div class="stationvalue"> Purple Air API Key *new requirement</div>
                                                                                                                            <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                                                                                                <path d="M12 30 L24 16 12 2" />
                                                                                                                            </svg>
                                                                                                                            <input name="purpleairapikey" type="text" id="purpleairapikey" value="<?php echo $purpleairapikey; ?>" class="choose"><br>
                                                                                                                            *contact Purple Air via email <a href="https://www2.purpleair.com/pages/contact-us">https://www2.purpleair.com/pages/contact-us</a> to request your personal API key <br>





                                                                                                                            <br> <svg id="i-info" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="#777" stroke-linecap="round" stroke-linejoin="round" stroke-width="2">
                                                                                                                                <path d="M16 14 L16 23 M16 8 L16 10" />
                                                                                                                                <circle cx="16" cy="16" r="14" />
                                                                                                                            </svg> <span style="color:#777;">enter your <strong>PurpleAir </strong> station id example <strong><span style="color:rgba(86, 95, 103, 1.000);"> 1200</strong></span>
                                                                                                                </span>






<P>

<div class="weathersectiontitle">
<svg id="i-settings" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M13 2 L13 6 11 7 8 4 4 8 7 11 6 13 2 13 2 19 6 19 7 21 4 24 8 28 11 25 13 26 13 30 19 30 19 26 21 25 24 28 28 24 25 21 26 19 30 19 30 13 26 13 25 11 28 8 24 4 21 7 19 6 19 2 Z" />
<circle cx="16" cy="16" r="4" />
</svg>
If Purple Air Sensor is Yes select location outside or indoor</div>
<br>
<div class="stationvalue">Select Indoor or Outside</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<select id="purpleairqualitylocation" name="purpleairqualitylocation" class="choose1">
<option><?php echo $purpleairqualitylocation; ?></option>
<option>Outside</option>
<option>Indoor</option>
</select>


</div>

<div class="weatheroptions">           
 Luftdaten AIR QUALITY INDEX option <BR>
                                                                                                                    * <span style="color:#777;">IMPORTANT TO NOTE <span style="color:#F75C46;">FOR Luftdaten OWNERS ONLY </span> </span></span> <br>




                                                                                                                <div class="stationvalue"> Do you have Luftdaten Air Quality Hardware (yes or no) </div>
                                                                                                                <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                                                                                    <path d="M12 30 L24 16 12 2" />
                                                                                                                </svg>

                                                                                                                <input name="luftdatenhardware" type="text" id="luftdatenhardware" value="<?php echo $luftdatenhardware; ?>" class="choose">
                                                                                                                <br> <span style="color:#777;">enter yes or no(lowercase)</span>
                                                                                                                <P>


                                                                                                                    <div class="stationvalue"> Luftdaten ID</div>
                                                                                                                    <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                                                                                        <path d="M12 30 L24 16 12 2" />
                                                                                                                    </svg>

                                                                                                                    <input name="luftdatenID" type="text" id="luftdatenID" value="<?php echo $luftdatenID; ?>" class="choose">




                                                                                                                    <br> <svg id="i-info" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="#777" stroke-linecap="round" stroke-linejoin="round" stroke-width="2">
                                                                                                                        <path d="M16 14 L16 23 M16 8 L16 10" />
                                                                                                                        <circle cx="16" cy="16" r="14" />
                                                                                                                    </svg> <span style="color:#777;">enter your <strong>Luftdaten Station ID </strong> station id example <strong><span style="color:rgba(86, 95, 103, 1.000);"> 1200</strong></span>
                                                                                                    </span>
<br>
<br>                                                                                                 <div class="weathersectiontitle">
<svg id="i-settings" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M13 2 L13 6 11 7 8 4 4 8 7 11 6 13 2 13 2 19 6 19 7 21 4 24 8 28 11 25 13 26 13 30 19 30 19 26 21 25 24 28 28 24 25 21 26 19 30 19 30 13 26 13 25 11 28 8 24 4 21 7 19 6 19 2 Z" />
<circle cx="16" cy="16" r="4" />
</svg>
If Luftdaten Sensor is Yes select location outside or indoor</div>
<br>
<div class="stationvalue">Select Indoor or Outside</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<select id="lufdatenairqualitylocation" name="lufdatenairqualitylocation" class="choose1">
<option><?php echo $lufdatenairqualitylocation; ?></option>
<option>Outside</option>
<option>Indoor</option>
</select>







                                                                                                    </div>


                                                                                                    <div class="weatheroptions">



<div class="weathersectiontitle">
<svg id="i-settings" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M13 2 L13 6 11 7 8 4 4 8 7 11 6 13 2 13 2 19 6 19 7 21 4 24 8 28 11 25 13 26 13 30 19 30 19 26 21 25 24 28 28 24 25 21 26 19 30 19 30 13 26 13 25 11 28 8 24 4 21 7 19 6 19 2 Z" />
<circle cx="16" cy="16" r="4" />
</svg>
Do you have or use Davis Airlink (Air Quality) </div>
<br>

<img src="aqi/Airlink34.svg" style="float:right;width:200px;margin-top:-40px;margin-right:100px">

<div class="stationvalue">Display yes or no</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<select id="davisairquality" name="davisairquality" class="choose1">
<option><?php echo $davisairquality; ?></option>
<option>yes</option>
<option>no</option>
</select>
<br><br>
<div class="weathersectiontitle">
<svg id="i-settings" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M13 2 L13 6 11 7 8 4 4 8 7 11 6 13 2 13 2 19 6 19 7 21 4 24 8 28 11 25 13 26 13 30 19 30 19 26 21 25 24 28 28 24 25 21 26 19 30 19 30 13 26 13 25 11 28 8 24 4 21 7 19 6 19 2 Z" />
<circle cx="16" cy="16" r="4" />
</svg>
If Davis Airlink is Yes select location outside or indoor</div>
<br>
<div class="stationvalue">Select Indoor or Outside</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<select id="davisairqualitylocation" name="davisairqualitylocation" class="choose1">
<option><?php echo $davisairqualitylocation; ?></option>
<option>Outside</option>
<option>Indoor</option>
</select>
</div>

                                            <P>
                                            <div class="weatheroptions">

                                            <div class="weathersectiontitle">
                                            <svg id="i-settings" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M13 2 L13 6 11 7 8 4 4 8 7 11 6 13 2 13 2 19 6 19 7 21 4 24 8 28 11 25 13 26 13 30 19 30 19 26 21 25 24 28 28 24 25 21 26 19 30 19 30 13 26 13 25 11 28 8 24 4 21 7 19 6 19 2 Z" />
                                                <circle cx="16" cy="16" r="4" />
                                            </svg>
                                           Choose Yes or No to which UNITS you want to display in the bottom bar (C or F are always visible)</div><p>

                                           <img src="images/themetrics.png" style="float:right;margin-top:50px;margin-right:40px;">


<div class="weathersectiontitle">
<svg id="i-settings" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M13 2 L13 6 11 7 8 4 4 8 7 11 6 13 2 13 2 19 6 19 7 21 4 24 8 28 11 25 13 26 13 30 19 30 19 26 21 25 24 28 28 24 25 21 26 19 30 19 30 13 26 13 25 11 28 8 24 4 21 7 19 6 19 2 Z" />
<circle cx="16" cy="16" r="4" />
</svg>
Display UK metric icon </div>
<br>
<div class="stationvalue">Display link yes or no</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<select id="displayukicon" name="displayukicon" class="choose1">
<option><?php echo $displayukicon; ?></option>
<option>yes</option>
<option>no</option>
</select>
  <p>                                         
  <div class="weathersectiontitle">
<svg id="i-settings" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M13 2 L13 6 11 7 8 4 4 8 7 11 6 13 2 13 2 19 6 19 7 21 4 24 8 28 11 25 13 26 13 30 19 30 19 26 21 25 24 28 28 24 25 21 26 19 30 19 30 13 26 13 25 11 28 8 24 4 21 7 19 6 19 2 Z" />
<circle cx="16" cy="16" r="4" />
</svg>
Display M/S wind speed icon </div>
<br>
<div class="stationvalue">Display link yes or no</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<select id="displaymsicon" name="displaymsicon" class="choose1">
<option><?php echo $displaymsicon; ?></option>
<option>yes</option>
<option>no</option>
</select></p>

<div class="weathersectiontitle">
<svg id="i-settings" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M13 2 L13 6 11 7 8 4 4 8 7 11 6 13 2 13 2 19 6 19 7 21 4 24 8 28 11 25 13 26 13 30 19 30 19 26 21 25 24 28 28 24 25 21 26 19 30 19 30 13 26 13 25 11 28 8 24 4 21 7 19 6 19 2 Z" />
<circle cx="16" cy="16" r="4" />
</svg>
Display KTS wind speed icon </div>
<br>
<div class="stationvalue">Display link yes or no</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<select id="displayktsicon" name="displayktsicon" class="choose1">
<option><?php echo $displayktsicon; ?></option>
<option>yes</option>
<option>no</option>
</select></p>


<P>


<div class="weathersectiontitle">
<svg id="i-settings" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M13 2 L13 6 11 7 8 4 4 8 7 11 6 13 2 13 2 19 6 19 7 21 4 24 8 28 11 25 13 26 13 30 19 30 19 26 21 25 24 28 28 24 25 21 26 19 30 19 30 13 26 13 25 11 28 8 24 4 21 7 19 6 19 2 Z" />
<circle cx="16" cy="16" r="4" />
</svg>
What year does your records in meteobridge begin </div>
<br>
<div class="stationvalue">select year</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<select id="mbyear" name="mbyear" class="choose1">
<option><?php echo $mbyear; ?></option>
<option>2020</option>
<option>2019</option>
<option>2018</option>
<option>2017</option>
<option>2016</option>
<option>2015</option>
<option>2014</option>
</select>

            </p>

<P>

                                                               


<div class="weathersectiontitle">
<svg id="i-settings" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M13 2 L13 6 11 7 8 4 4 8 7 11 6 13 2 13 2 19 6 19 7 21 4 24 8 28 11 25 13 26 13 30 19 30 19 26 21 25 24 28 28 24 25 21 26 19 30 19 30 13 26 13 25 11 28 8 24 4 21 7 19 6 19 2 Z" />
<circle cx="16" cy="16" r="4" />
</svg>
Do you have a uv sensor </div>
<br>
<div class="stationvalue">yes or no</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<select id="uvsensor" name="uvsensor" class="choose1">
<option><?php echo $uvsensor; ?></option>
<option>yes</option>
<option>no</option>
</select>

</p>




<div class="weathersectiontitle">
<svg id="i-settings" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M13 2 L13 6 11 7 8 4 4 8 7 11 6 13 2 13 2 19 6 19 7 21 4 24 8 28 11 25 13 26 13 30 19 30 19 26 21 25 24 28 28 24 25 21 26 19 30 19 30 13 26 13 25 11 28 8 24 4 21 7 19 6 19 2 Z" />
<circle cx="16" cy="16" r="4" />
</svg>
Use fixed mmHG Barometer module </div>
<br>
<div class="stationvalue">yes or no</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<select id="usemmhgmodule" name="usemmhgmodule" class="choose1">
<option><?php echo $usemmhgmodule; ?></option>
<option>yes</option>
<option>no</option>
</select>

</p></div>





<div class="weatheroptions"> 

<div class="weathersectiontitle">
							<svg id="i-code" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
							    <path d="M10 9 L3 17 10 25 M22 9 L29 17 22 25 M18 7 L14 27" />
							</svg>

							Which Meteobridge Platform</div>
                                                            <p>
                                                                <div class="stationvalue">
                                                                    Which Meteobridge Platform Do Yo Use</div>
                                                                <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="#F05E40" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                                    <path d="M12 30 L24 16 12 2" />
                                                                </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="#777" stroke="#777" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                                    <path d="M30 12 L16 24 2 12" />
                                                                </svg>

                                                                <label name="mbplatform"></label>
                                                                <select id="mbplatform" name="mbplatform" class="chooseapi">
                                                                    <option><?php echo $mbplatform; ?></option>
                                                                    <option>Nano</option>    
                                                                    <option>NanoSD</option>    
                                                                    <option>Pro 2</option>                                                              
                                                                    <option>Pro Red</option>
                                                                    <option>Pro Black</option>
                                                                    <option>TPlink</option>
                                                                    <option>RPI</option>
                                                                </select>
                                                                <br><br>




<div class="weathersectiontitle">
<svg id="i-settings" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%"><path d="M13 2 L13 6 11 7 8 4 4 8 7 11 6 13 2 13 2 19 6 19 7 21 4 24 8 28 11 25 13 26 13 30 19 30 19 26 21 25 24 28 28 24 25 21 26 19 30 19 30 13 26 13 25 11 28 8 24 4 21 7 19 6 19 2 Z" />
<circle cx="16" cy="16" r="4" /> </svg>
 About your Davis Weather Station (Davis Hardware options only)</div>

 <img src="images/hardwareinfo.png" style="width:35%;float:right;margin-top:50px;margin-right:20px;">
 
 <P>

<div class="stationvalue"> Do You Own a Davis Weather Station ? </div>
<svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%"> </svg>

<label name="brand"></label>
 <select id="brand" name="brand" class="chooseapi">
<option><?php echo $brand;?></option>
<option>yes</option>                                                                    
<option>no</option>
</select>
<br> <span style="color:#777;">Please select yes or no</span>
<P>

       
<div class="stationvalue"> What is the Model Number </div>
<svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%"> </svg>

<label name="model"></label>
 <select id="model" name="model" class="chooseapi">
<option><?php echo $model; ?></option>
<option>Vantage Pro2 Plus</option>                                                                    
<option>Vantage Pro2</option>
<option>Vantage Pro1</option>
<option>Vantage Vue</option>
<option>Envoy</option>
<option>Envoy 8X</option>
</select>
<br> <span style="color:#777;">Please select the appropiate Davis model you own</span>
<P>

         
<div class="stationvalue"> What Date did you install your Weather Station (Year-Month-Date)</div>
<svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%"> </svg>

<input name="installed" type="text" id="installed" value="<?php echo $installed; ?>" class="choose">
<br> <span style="color:#777;">* Important Please enter like this must be numerical Year-Month-Date : 2015-07-02 </span>

<br><br>

</div>


<div class="weatheroptions"> 

     
    <svg id="i-info" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="#777" stroke-linecap="round" stroke-linejoin="round" stroke-width="2">
    <path d="M16 14 L16 23 M16 8 L16 10" />
    <circle cx="16" cy="16" r="14" />
    
</svg> Nearby Metar Aviation Weather Options 

    <br>
    <div class= "stationvalue">
Check<b>WX</b> Metar API KEY you need to sign up here for free API key <br><a href="https://www.checkwxapi.com/signup" title="https://www.checkwxapi.com/signup" target="_blank"><span style="color:#fff;">https://www.checkwxapi.com/signup</a> 
<img src="images/checkwx.svg" style="width:15%;float:right;margin-top:10px;margin-right:20px;">
</div>
<img src="images/checkwx.svg" style="width:15%;float:right;margin-top:10px;margin-right:20px;">
 <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
    <path d="M12 30 L24 16 12 2" />
</svg>
    <input name="metarapikey" type="text" id="" value="<?php echo $metarapikey ;?>" class="chooseapi">
<br> <span style="color:#777;">enter your <strong>CheckWx</strong> <strong>API key</strong> this is the most common mistake made be careful when cut and paste often an hidden space is either inserted before or after causing the <strong>API key</strong> to fail. This key is important for displaying nearby metar data.</span>
<P>

  
<div class= "stationvalue"> Display Nearby Metar (yes or no) </div> 
    <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
    <path d="M12 30 L24 16 12 2" />
</svg>

    <input name="metar" type="text" id="metar" value="<?php echo $metar ;?>" class="choose"> 
    <br> <span style="color:#777;">enter yes or no (lowercase) </span>
    
    <br> <br> 
    <div class= "stationvalue"> ICAO Code for  Metar Station 1  </div> 
    <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
    <path d="M12 30 L24 16 12 2" />
</svg>


    <input name="icao1" type="text" id="icao1" value="<?php echo $icao1 ;?>" class="choose"> 
    <br> <span style="color:#777;">enter your nearby METAR stations  For example station 1 <span style="color:#F75C46;">LTBA</span> in capitals
    <p>

</div>
    

<div class="weatheroptions"> 

    <?php echo $gdprsvg?> 
    <div class="stationvalue"> Show GDPR Pop Up (COOKIE SETTING)</div>
<svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%"> </svg>

<label name="showgdpr"></label>
 <select id="showgdpr" name="showgdpr" class="chooseapi">
<option><?php echo $showgdpr;?></option>
<option>yes</option>                                                                    
<option>no</option>
</select>
<br> <span style="color:#777;">Please select yes or no</span>
<br>
GDPR stands for General Data Protection Legislation. It is a European Union (EU) law that came into effect on 25th May 2018. GDPR governs the way in which we can use, process, and store personal data (information about an identifiable, living person).
<P>

  </div> 

<div class="weatheroptions">

<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1000 1000" 
enable-background="new 0 0 1000 1000" xml:space="preserve" width="75px" height="75px" style="background:none;top:5px; color:#c8d4df;" fill="#c8d4df">

<g><g transform="translate(0.000000,512.000000) scale(0.100000,-0.100000)">
    <path fill="#1994d7" d="M3372.9,4976c-164.6-88.1-176.1-124.4-275.6-769.5c-47.9-315.8-86.1-589.5-86.1-606.8c0-19.1,17.2-51.7,38.3-72.7c38.3-38.3,63.2-38.3,
    1795.4-38.3c1741.8,0,1757.1,0,1799.2,38.3c23,23,42.1,55.5,42.1,72.7c0,19.1-38.3,287.1-86.1,597.2c-55.5,361.8-99.5,585.7-120.6,629.7c-19.1,
    38.3-72.7,95.7-116.8,126.3l-82.3,57.4l-1410.7,5.7l-1410.7,3.8L3372.9,4976z"/>
    
    <path d="M2860,3151.9c-323.5-86.1-576.1-344.5-662.3-671.8c-44-166.5-42.1-4555.5,0-4723.9c86.1-329.2,342.6-583.8,673.8-669.9c164.6-42.1,
    3789.8-42.1,3954.4,0c331.1,86.1,587.6,340.7,673.8,669.9c17.2,70.8,28.7,197.1,28.7,338.8v225.9h91.9c49.8,0,101.4,9.6,114.8,23c32.5,32.5,32.5,
    1452.8,0,1485.3c-13.4,13.4-65.1,23-114.8,23h-91.9v440.2v440.2h105.3c88,0,114.8,7.7,153.1,47.9l47.8,45.9v436.4c-1.9,312-7.7,
    444.1-24.9,467c-38.3,49.8-101.4,74.6-193.3,74.6h-88v283.3c0,191.4-9.6,319.7-28.7,396.2c-86.1,329.2-342.6,583.8-673.8,669.9C6665.1,3195.9,
    3016.9,3194,2860,3151.9z M5514.8,1835c-26.8-323.5-279.4-604.8-587.6-652.7l-82.3-13.4l7.7,120.6c17.2,283.3,237.4,551.3,522.5,641.2C5520.5,
    1976.6,5524.3,1972.8,5514.8,1835z M5700.4,1111.5c118.7-30.6,218.2-88,329.2-193.3l103.3-97.6l-93.8-80.4C5650.7,401.4,5689-180.5,
    6113.9-458c84.2-53.6,93.8-67,84.2-111c-36.4-151.2-243.1-497.7-400-666.1c-162.7-176.1-348.4-210.6-585.7-109.1c-82.3,36.4-170.3,55.5-262.2,
    63.2c-120.6,7.7-158.9,0-336.9-61.3c-111-38.3-227.8-68.9-262.2-68.9c-258.4,0-637.4,486.2-792.4,1016.4C3346.1,342,3575.8,946.9,4129,1105.7c155,
    45.9,306.3,30.6,509.1-49.8c90-34.5,193.3-63.2,229.7-63.2c36.4,0,137.8,26.8,224,61.3C5336.8,1149.8,5491.8,1163.2,5700.4,1111.5z"/>
    
    <path fill="#1994d7" d="M3049.5-3287c-21.1-21-38.3-55.5-38.3-74.7s38.3-292.8,86.1-606.7c99.5-643.1,111-681.4,275.6-767.5l86.1-44l1410.7,3.8l1410.7,5.7l82.3,57.4c44,32.5,95.7,88,114.8,124.4c30.6,57.4,208.6,1110.2,208.6,1228.8c0,17.2-19.2,49.8-42.1,72.7c-42.1,38.3-57.4,38.3-1799.2,38.3C3112.6-3248.7,3087.7-3248.7,3049.5-3287z"/></g></g>
</svg>

                                            <div class="stationvalue">Show Apple Watch Icon</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M12 30 L24 16 12 2" />
                                            </svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                <path d="M30 12 L16 24 2 12" />
                                            </svg>
                                            <select id="applewatch" name="applewatch" class="choose1">
                                                <option><?php echo $applewatch; ?></option>
                                                <option>yes</option>
                                                <option>no</option>
                                            </select>
<br>
                                            <span style="color:#777;">Please select yes or no</span>
<br>
Shows Icon in menu layout to use with Apple Watch Series 3,4,5,6,7,8,9,10,11
and Ultra/2/3 versions
<P>

</div>





                                        <div class="weatheroptions">
                                            <br><br>
                                            <alternativeblue>            
            By proceeding you agree to leave accreditations 
            for 34 Meteobridge and canvasJs intact </alternativeblue>
            <br><br>

                                            <input type="submit" name="Submit" value="Save Configuration" class="button">
                                            <p><span style="color:silver;font-size:12px;padding:5px;line-height:16px;">
                                                    <svg id="i-alert" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                        <path d="M16 3 L30 29 2 29 Z M16 11 L16 19 M16 23 L16 25" /> </svg> Click "save configuration" if everything looks ok and dont forget to set the password.</span>
                                        </div>

                                        <p>
                                            <div class="weatheroptionssidebarbottom"><svg id="i-alert" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                    <path d="M16 3 L30 29 2 29 Z M16 11 L16 19 M16 23 L16 25" />
                                                </svg>
                                                click save if everything looks ok above and dont forget to set the password.


                                                <div class="weatherbottominfo">
                                                    <svg id="i-info" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                        <path d="M16 14 L16 23 M16 8 L16 10" />
                                                        <circle cx="16" cy="16" r="14" />
                                                    </svg>

                                                    now check the weather
                                                    <svg id="i-checkmark" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
                                                        <path d="M2 20 L12 28 30 4" />
                                                    </svg>
                                                </div>
                                            </div>


</form>

<?php if (! strstr ($_SERVER['SERVER_NAME'], "meteobridge.com")) echo "<center><div class='updater'><a href='weather34-updater.php' target='_blank'>" . $backupfile . "<br>Click here to update this template using the latest update file if one is available. Please always perform a Backup using the backup one click option in the update screen. </a></div></center>";
?>

</div>
    
