mirror of
https://github.com/unraid/webgui.git
synced 2026-01-14 21:50:24 -06:00
253 lines
6.6 KiB
Plaintext
253 lines
6.6 KiB
Plaintext
Menu="About"
|
|
Title="Registration"
|
|
Type="xmenu"
|
|
---
|
|
<?PHP
|
|
/* Copyright 2015, Lime Technology
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License version 2,
|
|
* as published by the Free Software Foundation.
|
|
*
|
|
* The above copyright notice and this permission notice shall be included in
|
|
* all copies or substantial portions of the Software.
|
|
*/
|
|
?>
|
|
|
|
<style>
|
|
.thanks{padding-left:10px;color:#6FA239;font-weight:bold;}
|
|
.thanks.red{color:#CC0000;}
|
|
.remark{padding:0 10px;text-align:justify;}
|
|
</style>
|
|
|
|
<?if (strstr($var['regTy'], "error")):?>
|
|
|
|
Flash GUID:
|
|
: **Error** - <a href="https://lime-technology.com/contact" target="_blank">Contact Support</a>
|
|
|
|
<?endif;?>
|
|
|
|
<?if (strstr($var['regTy'], "blacklisted")):?>
|
|
|
|
Flash Vendor:
|
|
: <?=$var['flashVendor'];?>
|
|
|
|
Flash Product:
|
|
: <?=$var['flashProduct'];?>
|
|
|
|
Flash GUID:
|
|
: <?=$var['flashGUID'];?>
|
|
|
|
|
|
: **Blacklisted** - <a href="https://lime-technology.com/contact" target="_blank">Contact Support</a>
|
|
|
|
<?endif;?>
|
|
|
|
<?if (strstr($var['regTy'], "invalid")):?>
|
|
<form markdown="1" method="GET" action="https://lime-technology.com/getkey" target="_blank">
|
|
<input type="hidden" name="TrialGUID" value="<?=$var['flashGUID'];?>">
|
|
|
|
<span class='thanks red'>The registration key GUID does not match the USB Flash boot device GUID</span>
|
|
|
|
Flash GUID:
|
|
: <?=$var['flashGUID'];?>
|
|
|
|
<?=basename($var['regFILE']);?> GUID:
|
|
: <?=$var['regGUID'];?>
|
|
|
|
Registered to:
|
|
: <big><?=$var['regTo'];?></big>
|
|
|
|
Date Registered:
|
|
: <?=my_time($var['regTm']);?>
|
|
|
|
<?if ($var['regTm2']==0):?>
|
|
|
|
Replaceable:
|
|
: *Anytime*
|
|
|
|
|
|
: <input type="submit" value="Purchase Key"> <input type="button" value="Get Trial Key" onclick="openBox('/webGui/include/TrialRequest.php','Get Trial Key',600,900);"> <input type="button" value="Replace Key" onclick="openBox('/webGui/include/ReplaceKey.php','Replace Key',600,900);">
|
|
|
|
<?else:?>
|
|
|
|
Replaceable:
|
|
: <?=my_time($var['regTm2']);?>
|
|
|
|
|
|
: <input type="submit" value="Purchase Key"> <input type="button" value="Get Trial Key" onclick="openBox('/webGui/include/TrialRequest.php','Get Trial Key',600,900);"> <input type="button" value="Replace Key" disabled>
|
|
|
|
<?endif;?>
|
|
</form>
|
|
<?endif;?>
|
|
|
|
<?if (strstr($var['regTy'], "unregistered")):?>
|
|
<form markdown="1" method="GET" action="https://lime-technology.com/getkey" target="_blank">
|
|
<input type="hidden" name="TrialGUID" value="<?=$var['flashGUID'];?>">
|
|
|
|
<span class="thanks">Thank you for trying unRAID Server OS!</span>
|
|
|
|
<div markdown="1" class="remark">
|
|
Your server will not be usable until you download a *registration key*.
|
|
Registration keys are bound to your USB Flash boot device GUID (serial number).
|
|
Here you may obtain a **free** *Trial* registration key, which is valid for 30 days and supports up to 6 storage devices.
|
|
To support more storage devices, you may purchase a *Basic*, *Plus*, or *Pro* registration key.
|
|
|
|
<span class="red-text">Important:</span>
|
|
|
|
+ Please make sure your <u>[server time](DateTime)</u> is accurate to within 5 minutes.
|
|
+ Please make sure there is a <u>[DNS server](NetworkSettings)</u> specified.
|
|
</div>
|
|
|
|
Flash GUID:
|
|
: <?=$var['flashGUID'];?>
|
|
|
|
|
|
: <input type="submit" value="Purchase Key"> <input type="button" value="Get Trial Key" onclick="openBox('/webGui/include/TrialRequest.php','Get Trial Key',600,900);">
|
|
|
|
</form>
|
|
<?endif;?>
|
|
|
|
<?if (strstr($var['regTy'], "expired")):?>
|
|
<form markdown="1" method="GET" action="https://lime-technology.com/getkey" target="_blank">
|
|
<input type="hidden" name="TrialGUID" value="<?=$var['flashGUID'];?>">
|
|
|
|
<span class="thanks">Thank you for trying unRAID Server OS!</span>
|
|
|
|
<div markdown="1" class="remark">
|
|
<span class='red-text'>Your *Trial* key has expired.</span>
|
|
|
|
To continue using unRAID Server OS and expand your server to support more devices, you may purchase a *Basic*, *Plus*, or *Pro* registration key.
|
|
Alternately, you may request a *Trial* extension key.
|
|
|
|
**Note:** most *Trial* extension requests are processed immediately but please allow up to one business day to receive your *Trial* extension key.
|
|
</div>
|
|
|
|
Flash GUID:
|
|
: <?=$var['flashGUID'];?>
|
|
|
|
|
|
: <input type="submit" value="Purchase Key"> <input type="button" value="Request Extension" onclick="openBox('/webGui/include/TrialRequest.php','Request Trial Extension Key',600,900);">
|
|
|
|
</form>
|
|
<?endif;?>
|
|
|
|
<?if ($var['regTy']=="Trial"):?>
|
|
<form markdown="1" method="GET" action="https://lime-technology.com/getkey" target="_blank">
|
|
<input type="hidden" name="TrialGUID" value="<?=$var['flashGUID'];?>">
|
|
|
|
<span class="thanks">Thank you for trying unRAID Server OS!</span>
|
|
|
|
<div markdown="1" class="remark">
|
|
Your *Trial* key allows you to attach up to 3 storage devices. One device *must* be assigned to a *Data* disk slot, whereas
|
|
the remaining two devices may be assigned any way you choose.
|
|
</div>
|
|
|
|
***Trial*** key expires on:
|
|
: <?=my_time($var['regTm2']);?>
|
|
|
|
Flash GUID:
|
|
: <?=$var['flashGUID'];?>
|
|
|
|
|
|
: <input type="submit" value="Purchase Key">
|
|
|
|
</form>
|
|
<?endif;?>
|
|
|
|
<?if ($var['regTy']=="Basic"):?>
|
|
|
|
<span class="thanks">Thank you for choosing unRAID Server OS!</span>
|
|
|
|
<?=basename($var['regFILE']);?> registered to:
|
|
: <big><?=$var['regTo'];?></big>
|
|
|
|
Date Registered:
|
|
: <?=my_time($var['regTm']);?>
|
|
|
|
<?if ($var['regTm2']==0):?>
|
|
|
|
Replaceable:
|
|
: *Anytime*
|
|
|
|
<?else:?>
|
|
|
|
Replaceable:
|
|
: <?=my_time($var['regTm2']);?>
|
|
|
|
<?endif;?>
|
|
<form markdown="1" method="GET" action="https://lime-technology.com/getkey" target="_blank">
|
|
<input type="hidden" name="BasicGUID" value="<?=$var['flashGUID'];?>">
|
|
|
|
Flash GUID:
|
|
: <?=$var['flashGUID'];?>
|
|
|
|
|
|
: <input type="submit" value="Upgrade">
|
|
|
|
</form>
|
|
<?endif;?>
|
|
|
|
<?if ($var['regTy']=="Plus"):?>
|
|
|
|
<span class="thanks">Thank you for choosing unRAID Server OS!</span>
|
|
|
|
<?=basename($var['regFILE']);?> registered to:
|
|
: <big><?=$var['regTo'];?></big>
|
|
|
|
Date Registered:
|
|
: <?=my_time($var['regTm']);?>
|
|
|
|
<?if ($var['regTm2']==0):?>
|
|
|
|
Replaceable:
|
|
: *Anytime*
|
|
|
|
<?else:?>
|
|
|
|
Replaceable:
|
|
: <?=my_time($var['regTm2']);?>
|
|
|
|
<?endif;?>
|
|
<form markdown="1" method="GET" action="https://lime-technology.com/getkey" target="_blank">
|
|
<input type="hidden" name="PlusGUID" value="<?=$var['flashGUID'];?>">
|
|
|
|
Flash GUID:
|
|
: <?=$var['flashGUID'];?>
|
|
|
|
|
|
: <input type="submit" value="Upgrade">
|
|
|
|
</form>
|
|
<?endif;?>
|
|
|
|
<?if ($var['regTy']=="Pro"):?>
|
|
|
|
<span class="thanks">Thank you for choosing unRAID Server OS!</span>
|
|
|
|
<?=basename($var['regFILE']);?> registered to:
|
|
: <big><?=$var['regTo'];?></big>
|
|
|
|
Date Registered:
|
|
: <?=my_time($var['regTm']);?>
|
|
|
|
<?if ($var['regTm2']==0):?>
|
|
|
|
Replaceable:
|
|
: *Anytime*
|
|
|
|
<?else:?>
|
|
|
|
Replaceable:
|
|
: <?=my_time($var['regTm2']);?>
|
|
|
|
<?endif;?>
|
|
|
|
Flash GUID:
|
|
: <?=$var['flashGUID'];?>
|
|
|
|
<?endif;?>
|
|
|
|
|
|
: <input type="button" value="Done" onclick="done()">
|