mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 12:07:23 +08:00
warning fix
This commit is contained in:
+1
-1
@@ -122,7 +122,7 @@ tr($lang_signup['row_school'], "<select name=school>$schools</select>", 1);
|
|||||||
<tr><td class=rowhead><?php echo $lang_signup['row_verification'] ?></td><td class=rowfollow align=left><input type=checkbox name=rulesverify value=yes><?php echo $lang_signup['checkbox_read_rules'] ?><br />
|
<tr><td class=rowhead><?php echo $lang_signup['row_verification'] ?></td><td class=rowfollow align=left><input type=checkbox name=rulesverify value=yes><?php echo $lang_signup['checkbox_read_rules'] ?><br />
|
||||||
<input type=checkbox name=faqverify value=yes><?php echo $lang_signup['checkbox_read_faq'] ?> <br />
|
<input type=checkbox name=faqverify value=yes><?php echo $lang_signup['checkbox_read_faq'] ?> <br />
|
||||||
<input type=checkbox name=ageverify value=yes><?php echo $lang_signup['checkbox_age'] ?></td></tr>
|
<input type=checkbox name=ageverify value=yes><?php echo $lang_signup['checkbox_age'] ?></td></tr>
|
||||||
<input type=hidden name=hash value=<?php echo $code?>>
|
<input type=hidden name=hash value=<?php echo $code ?? '' ?>>
|
||||||
<input type="hidden" name="wantpassword" />
|
<input type="hidden" name="wantpassword" />
|
||||||
<tr><td class=toolbox colspan="2" align="center"><font color=red><b><?php echo $lang_signup['text_all_fields_required'] ?></b><p></font><input id="submit-btn" type=button value=<?php echo $lang_signup['submit_sign_up'] ?> style='height: 25px'></td></tr>
|
<tr><td class=toolbox colspan="2" align="center"><font color=red><b><?php echo $lang_signup['text_all_fields_required'] ?></b><p></font><input id="submit-btn" type=button value=<?php echo $lang_signup['submit_sign_up'] ?> style='height: 25px'></td></tr>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ function bark($msg) {
|
|||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
$type = $_POST['type'];
|
$type = $_POST['type'] ?? '';
|
||||||
if ($type == 'invite'){
|
if ($type == 'invite'){
|
||||||
registration_check();
|
registration_check();
|
||||||
failedloginscheck ("Invite Signup");
|
failedloginscheck ("Invite Signup");
|
||||||
|
|||||||
@@ -43,8 +43,8 @@ $url = parse_imdb_id($_POST['url'] ?? '');
|
|||||||
|
|
||||||
$nfo = '';
|
$nfo = '';
|
||||||
if ($enablenfo_main=='yes'){
|
if ($enablenfo_main=='yes'){
|
||||||
$nfofile = $_FILES['nfo'];
|
$nfofile = $_FILES['nfo'] ?? [];
|
||||||
if ($nfofile['name'] != '') {
|
if (!empty($nfofile['name'])) {
|
||||||
|
|
||||||
if ($nfofile['size'] == 0)
|
if ($nfofile['size'] == 0)
|
||||||
bark($lang_takeupload['std_zero_byte_nfo']);
|
bark($lang_takeupload['std_zero_byte_nfo']);
|
||||||
|
|||||||
Reference in New Issue
Block a user