📄 admin_signup.php
字号:
";
$time = "460269000";
echo "
<select name='signup_format_time'>
<option value='g:i A'"; if($admin_info[signup_format_time] == "g:i A") { echo "selected"; } echo ">".cdate("g:i A", $time)."</option>
<option value='h:i A'"; if($admin_info[signup_format_time] == "h:i A") { echo "selected"; } echo ">".cdate("h:i A", $time)."</option>
<option value='g:i'"; if($admin_info[signup_format_time] == "g:i") { echo "selected"; } echo ">".cdate("g:i", $time)."</option>
<option value='h:i'"; if($admin_info[signup_format_time] == "h:i") { echo "selected"; } echo ">".cdate("h:i", $time)."</option>
<option value='H:i'"; if($admin_info[signup_format_time] == "H:i") { echo "selected"; } echo ">".cdate("H:i", $time)."</option>
</select>
</td>
</tr>
</table>
<br>
<table width='100%' cellpadding='0' cellspacing='0' style='margin-top: 3px;'>
<tr><td class='header'>$admin_signup17</td></tr>
<tr>
<td class='box'>
<table cellpadding='0' cellspacing='0'>
<tr><td><input type='radio' name='signup_emaildupeok' value='1'"; if($admin_info[signup_emaildupeok] == "1") { echo " CHECKED"; } echo "></td><td>$admin_signup18</td></tr>
<tr><td><input type='radio' name='signup_emaildupeok' value='0'"; if($admin_info[signup_emaildupeok] == "0") { echo " CHECKED"; } echo "></td><td>$admin_signup19</td></tr>
</table>
</td>
</tr>
</table>
<br>
<table width='100%' cellpadding='0' cellspacing='0' style='margin-top: 3px;'>
<tr><td class='header'>$admin_signup43</td></tr>
<tr>
<td class='box'>
$admin_signup44<br>
<input type='text' class='text' name='signup_emaildomain' size='30' maxlength='100' value='$admin_info[signup_emaildomain]'>
</td>
</tr>
</table>
<br>
<table width='100%' cellpadding='0' cellspacing='0' style='margin-top: 3px;'>
<tr><td class='header'>$admin_signup20</td></tr>
<tr>
<td class='box'>
<table cellpadding='0' cellspacing='0'>
<tr><td><input type='radio' name='signup_emailverify' value='0'"; if($admin_info[signup_emailverify] == "0") { echo " CHECKED"; } echo "></td><td>$admin_signup21</td></tr>
<tr><td><input type='radio' name='signup_emailverify' value='1'"; if($admin_info[signup_emailverify] == "1") { echo " CHECKED"; } echo "></td><td>$admin_signup22</td></tr>
</table>
<br>
$admin_signup23
</td>
</tr>
</table>
<br>
<table width='100%' cellpadding='0' cellspacing='0' style='margin-top: 3px;'>
<tr><td class='header'>$admin_signup24</td></tr>
<tr>
<td class='box'>
<table cellpadding='0' cellspacing='0'>
<tr><td><input type='radio' name='signup_notify' value='1'"; if($admin_info[signup_notify] == "1") { echo " CHECKED"; } echo "></td><td>$admin_signup25</td></tr>
<tr><td><input type='radio' name='signup_notify' value='0'"; if($admin_info[signup_notify] == "0") { echo " CHECKED"; } echo "></td><td>$admin_signup26</td></tr>
</table>
</td>
</tr>
</table>
<br>
<table width='100%' cellpadding='0' cellspacing='0' style='margin-top: 3px;'>
<tr><td class='header'>$admin_signup27</td></tr>
<tr>
<td class='box'>
<table cellpadding='0' cellspacing='0'>
<tr><td><input type='radio' name='signup_sendemail' value='1'"; if($admin_info[signup_sendemail] == "1") { echo " CHECKED"; } echo "></td><td>$admin_signup28</td></tr>
<tr><td><input type='radio' name='signup_sendemail' value='0'"; if($admin_info[signup_sendemail] == "0") { echo " CHECKED"; } echo "></td><td>$admin_signup29</td></tr>
</table>
<br>
$admin_signup30
</td>
</tr>
</table>
<br>
<table width='100%' cellpadding='0' cellspacing='0' style='margin-top: 3px;'>
<tr><td class='header'>$admin_signup32</td></tr>
<tr>
<td class='box'>
<table cellpadding='0' cellspacing='0'>
<tr><td><input type='radio' name='signup_terms' value='0'"; if($admin_info[signup_terms] == "0") { echo " CHECKED"; } echo "></td><td>$admin_signup33</td></tr>
<tr><td><input type='radio' name='signup_terms' value='1'"; if($admin_info[signup_terms] == "1") { echo " CHECKED"; } echo "></td><td>$admin_signup34</td></tr>
</table>
<br>
$admin_signup35
<br><br>
<textarea rows='8' cols='70' name='signup_termstext' style='width: 100%;'>$admin_info[signup_termstext]</textarea>
</td>
</tr>
</table>
<br>
";
// CHECK FOR GD LIBRARIES
if(!function_exists('gd_info')) {
$gd = "no";
$gdproblem = "
<font color='#FF0000'><b>Warning</b>: Your server does not have
the GD Libraries installed. This feature will not become available until
they have been installed. Ask your web hosting provider to install GD 2.0,
or visit the <a href='http://www.boutell.com/gd/'>GD Libraries website</a> for help.</font>
<br><br>
";
} else {
$gd = "yes";
}
echo "
<table width='100%' cellpadding='0' cellspacing='0' style='margin-top: 3px;'>
<tr><td class='header'>Require users to enter verification code?</td></tr>
<tr>
<td class='box'>
<table cellpadding='0' cellspacing='0'>
<tr><td><input type='radio' name='signup_image' value='0'"; if($admin_info[signup_image] == "0" OR $gd == "no") { echo " CHECKED"; } echo "></td><td>No, users do not have to enter a verification code.</td></tr>
<tr><td><input type='radio' name='signup_image' value='1'"; if($admin_info[signup_image] == "1" AND $gd != "no") { echo " CHECKED"; } if($gd == "no") { echo " DISABLED"; } echo "></td><td>Yes, make users enter the verification code.</td></tr>
</table>
<br>$gdproblem
Note: If you have selected Yes, an image containing a random sequence of 6 numbers will be
shown to users on the signup page. Users will be required to enter these numbers into the
Verification Code field before they can continue. This feature helps prevent users from
trying to automatically create accounts on your system. For this feature to work properly,
your server must have the GD Libraries (2.0 or higher) installed and configured to work
with PHP. If you are seeing errors or users cannot signup, try turning this off.
</td>
</tr>
</table>
<br>
<input type='submit' class='button' value='$admin_signup31'>
<input type='hidden' name='task' value='dosave'>
</form>
<script language='JavaScript'>
<!--
function disableTemplates() {
window.document.info.signup_templatedefault.style.visibility = \"hidden\";
}
function enableTemplates() {
window.document.info.signup_templatedefault.style.visibility = \"visible\";
}
appendEvent = function(el, evname, func) {
if (el.attachEvent) { // IE
el.attachEvent('on' + evname, func);
} else if (el.addEventListener) { // Gecko / W3C
el.addEventListener(evname, func, true);
} else {
el['on' + evname] = func;
}
};
"; if($admin_info[signup_choosetemplate] == "1") { echo "appendEvent(window, 'load', disableTemplates);"; } echo "
// -->
</script>
";
echo $foot;
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -