Server : Apache
System : Linux iZ2vcgyutqttsd1p850kl8Z 3.10.0-1160.92.1.el7.x86_64 #1 SMP Tue Jun 20 11:48:01 UTC 2023 x86_64
User : www ( 1000)
PHP Version : 5.6.40
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Directory :  /www/wwwroot/saimikebio.com/ecshopjcw/templates/
Upload File :
Current Directory [ Writeable ] Root Directory [ Writeable ]


Current File : /www/wwwroot/saimikebio.com/ecshopjcw/templates/captcha_manage.htm
<!-- $Id: captcha_manage.htm 14868 2008-09-11 09:51:13Z dolphin $ -->
{include file="pageheader.htm"}

<div class="list-div">
<form method="post" action="captcha_manage.php" name="theForm" onsubmit="return validate()" >
<table cellpadding='3' cellspacing='1'>
<tr>
  <th colspan="2">{$lang.captcha_setting}</th>
</tr>
<tr>
  <td width="60%" >
  <strong>{$lang.captcha_turn_on}</strong><br />
  {$lang.turn_on_note}<br />
  <img src="../captcha.php?{$rand}" alt="captcha" style="vertical-align: middle;cursor: pointer;" onClick="this.src='../captcha.php?'+Math.random()" />
  </td>
  <td>
  <input type="checkbox" name="captcha_register" value="1" {$captcha.register} />{$lang.captcha_register}<br />
  <input type="checkbox" name="captcha_login" value="2" {$captcha.login} />{$lang.captcha_login}<br />
  <input type="checkbox" name="captcha_comment" value="4"  {$captcha.comment} />{$lang.captcha_comment}<br />
  <input type="checkbox" name="captcha_admin" value="8" {$captcha.admin} />{$lang.captcha_admin}<br />
  <input type="checkbox" name="captcha_message" value="32" {$captcha.message} />{$lang.captcha_message}<br />
  </td>
</tr>
<tr>
  <td>
  <strong>{$lang.captcha_login_fail}</strong><br />
  {$lang.login_fail_note}
  </td>
  <td><input type="radio" name="captcha_login_fail" value="32" {$captcha.login_fail_yes} />{$lang.yes}<input type="radio"  name="captcha_login_fail" value="0" {$captcha.login_fail_no} />{$lang.no}</td>
</tr>
<tr>
  <td>
  <strong>{$lang.captcha_width}</strong><br />
  {$lang.width_note}
  </td>
  <td><input type="text" name="captcha_width" value="{$captcha_width}" /></td>
</tr>
<tr>
  <td>
  <strong>{$lang.captcha_height}</strong><br />
  {$lang.height_note}
  </td>
  <td><input type="text" name="captcha_height" value="{$captcha_height}" /></td>
</tr>
<tr>
  <td colspan="2" align="center"><input type="hidden" name="act" value="save_config" /><input type="submit" value="保存设置" class="button" /></td>
</tr>
</table>
</form>
</div>
{insert_scripts files="../js/utils.js"}
{literal}
<script type="text/javascript" language="JavaScript">
<!--
onload = function() { startCheckOrder(); }

function validate()
{
  var width = document.forms["theForm"].elements["captcha_width"].value;
  var height = document.forms["theForm"].elements["captcha_height"].value;
  if(!Utils.isNumber(width))
  {
    alert(width_number);
    return false;
  }

  if(parseInt(width) > 145 || parseInt(width) < 40)
  {
    alert(proper_width);
    return false;
  }

  if(!Utils.isNumber(height))
  {
    alert(height_number);
    return false;
  }

  if(parseInt(height) > 50 || parseInt(height) < 15)
  {
    alert(proper_height);
    return false;
  }

  return true;
}
//-->
</script>
{/literal}
{include file="pagefooter.htm"}