| 1 |
<? |
<?php |
| 2 |
require_once "../lib/common.inc.php"; |
require_once "../lib/common.inc.php"; |
| 3 |
require_once "../lib/lml.inc.php"; |
require_once "../lib/lml.inc.php"; |
| 4 |
require_once "./session_init.inc.php"; |
require_once "./session_init.inc.php"; |
| 151 |
</td> |
</td> |
| 152 |
<td> |
<td> |
| 153 |
<span id="err_msg_birthday" name="err_msg" style="color: red;"></span><select id="year" name="year" size="1"> |
<span id="err_msg_birthday" name="err_msg" style="color: red;"></span><select id="year" name="year" size="1"> |
| 154 |
<? |
<?php |
| 155 |
$year_current = intval(date("Y", time())); |
$year_current = intval(date("Y", time())); |
| 156 |
$year_max = $year_current - 16; // Accept registrant of 16+ only |
$year_max = $year_current - 16; // Accept registrant of 16+ only |
| 157 |
$year_min = $year_current - 80; |
$year_min = $year_current - 80; |
| 159 |
for ($year = $year_min; $year <= $year_max; $year++) |
for ($year = $year_min; $year <= $year_max; $year++) |
| 160 |
{ |
{ |
| 161 |
?> |
?> |
| 162 |
<option value="<? echo $year; ?>" <? echo ($year == $year_selected ? "selected" : ""); ?>><? echo $year; ?></option> |
<option value="<?= $year; ?>" <?= ($year == $year_selected ? "selected" : ""); ?>><?= $year; ?></option> |
| 163 |
<? |
<?php |
| 164 |
} |
} |
| 165 |
?> |
?> |
| 166 |
|
|
| 167 |
</select>年 |
</select>年 |
| 168 |
<select id="month" name="month" size="1"> |
<select id="month" name="month" size="1"> |
| 169 |
<? |
<?php |
| 170 |
$month_selected = 1; |
$month_selected = 1; |
| 171 |
for ($month = 1; $month <= 12; $month++) |
for ($month = 1; $month <= 12; $month++) |
| 172 |
{ |
{ |
| 173 |
?> |
?> |
| 174 |
<option value="<? echo $month; ?>" <? echo ($month == $month_selected ? "selected" : ""); ?>><? echo $month; ?></option> |
<option value="<?= $month; ?>" <?= ($month == $month_selected ? "selected" : ""); ?>><?= $month; ?></option> |
| 175 |
<? |
<?php |
| 176 |
} |
} |
| 177 |
?> |
?> |
| 178 |
</select>月 |
</select>月 |
| 179 |
<select id="day" name="day" size="1"> |
<select id="day" name="day" size="1"> |
| 180 |
<? |
<?php |
| 181 |
$day_selected = 1; |
$day_selected = 1; |
| 182 |
for ($day = 1; $day <= 31; $day++) |
for ($day = 1; $day <= 31; $day++) |
| 183 |
{ |
{ |
| 184 |
?> |
?> |
| 185 |
<option value="<? echo $day; ?>" <? echo ($day == $day_selected ? "selected" : ""); ?>><? echo $day; ?></option> |
<option value="<?= $day; ?>" <?= ($day == $day_selected ? "selected" : ""); ?>><?= $day; ?></option> |
| 186 |
<? |
<?php |
| 187 |
} |
} |
| 188 |
?> |
?> |
| 189 |
</select>日 |
</select>日 |
| 200 |
</tr> |
</tr> |
| 201 |
<tr> |
<tr> |
| 202 |
<td colspan="2" align="center"> |
<td colspan="2" align="center"> |
| 203 |
<span id="err_msg_agreement" name="err_msg" style="color: red;"></span><textarea rows="15" cols="130"><? |
<span id="err_msg_agreement" name="err_msg" style="color: red;"></span><textarea rows="15" cols="130"><?php |
| 204 |
$buffer = file_get_contents("./doc/license/" . (new DateTime($BBS_license_dt))->format("Ymd") . ".txt"); |
$buffer = file_get_contents("./doc/license/" . (new DateTime($BBS_license_dt))->format("Ymd") . ".txt"); |
| 205 |
echo (LML(htmlspecialchars($buffer, ENT_HTML401, 'UTF-8'), false, false, 1024)); |
echo (LML(htmlspecialchars($buffer, ENT_HTML401, 'UTF-8'), false, false, 1024)); |
| 206 |
?></textarea> |
?></textarea> |
| 227 |
</p> |
</p> |
| 228 |
</form> |
</form> |
| 229 |
</center> |
</center> |
| 230 |
<? |
<?php |
| 231 |
include "./foot.inc.php"; |
include "./foot.inc.php"; |
| 232 |
?> |
?> |
| 233 |
</body> |
</body> |