Small update
[iDB.git] / setup / license.php
blob07592c4dc52f1fafeeffcc8d6ca3cd16c1c706a5
1 <?php
2 /*
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the Revised BSD License.
6 This program is distributed in the hope that it will be useful,
7 but WITHOUT ANY WARRANTY; without even the implied warranty of
8 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 Revised BSD License for more details.
11 Copyright 2004-2019 iDB Support - https://idb.osdn.jp/support/category.php?act=view&id=1
12 Copyright 2004-2019 Game Maker 2k - https://idb.osdn.jp/support/category.php?act=view&id=2
13 iDB Installer made by Game Maker 2k - http://idb.berlios.net/
15 $FileInfo: license.php - Last Update: 08/02/2019 SVN 905 - Author: cooldude2k $
17 $File3Name = basename($_SERVER['SCRIPT_NAME']);
18 if ($File3Name=="presetup.php"||$File3Name=="/presetup.php") {
19 require('index.php');
20 exit(); }
21 if(!isset($SetupDir['setup'])) { $SetupDir['setup'] = "setup/"; }
22 if(!isset($SetupDir['convert'])) { $SetupDir['convert'] = "setup/convert/"; }
24 <tr class="TableRow3">
25 <td class="TableColumn3">
26 <form style="display: inline;" method="post" id="install" action="<?php echo url_maker("install",".php","act=Part2","&","=",null,null); ?>">
27 <table style="text-align: left;">
28 <tr style="text-align: left;">
29 <td style="width: 50%;"><label class="TextBoxLabel" for="LicenseBox">License - Please read fully and check 'I agree' box ONLY if you agree to license</label><br />
30 <textarea rows="34" id="LicenseBox" name="LicenseBox" class="TextBox" cols="79" readonly="readonly" accesskey="L"><?php echo stripcslashes(htmlspecialchars(file_get_contents("LICENSE"), ENT_QUOTES, $Settings['charset'])); ?></textarea><br />
31 <input type="checkbox" class="TextBox" name="License" value="Agree" id="License" /><label class="TextBoxLabel" for="License">I Agree</label><br/></td>
32 </tr></table>
33 <table style="text-align: left;">
34 <tr style="text-align: left;">
35 <td style="width: 100%;">
36 <?php if($ConvertInfo['ConvertFile']==null) { ?>
37 <input type="hidden" name="SetupType" value="install" style="display: none;" />
38 <?php } ?>
39 <input type="hidden" name="act" value="Part2" style="display: none;" />
40 <input type="submit" class="Button" value="Next Page" name="Install_Board" />
41 <input type="reset" value="Reset Form" class="Button" name="Reset_Form" />
42 </td></tr></table>
43 </form>
44 </td>
45 </tr>