Application/Install/View/Index_step2.html

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>米粒小屋源码-程序安装向导</title>
<link rel="stylesheet" href="__PUBLIC__/Install/css/index.css?v={:rand(0,20)}" />
<script>
function check(){
	var str = document.install ;
	if(str.dbname.value == '') {
	    alert('数据库名不能为空');	
		str.dbname.focus();
		return false;
	}
	if(str.manager_pwd.value == '') {
	    alert('密码不能为空');	
		str.manager_pwd.focus();
		return false;
	}
	if(str.manager_ckpwd.value == '') {
	    alert('重复密码不能为空');	
		str.manager_ckpwd.focus();
		return false;
	}
	if(str.manager_ckpwd.value != str.manager_pwd.value) {
	    alert('两次密码不一致');	
		str.manager_pwd.focus();
		return false;
	}
	return true;
}
</script>
</head>

<body>
<div class="wrap">
  <div class="header">
    <h1 class="logo">米粒小屋源码-程序安装向导</h1>
  </div>
  <div class="step">
    <ul class="unstyled">
      <li class="on"><em>1</em>检测环境</li>
      <li class="current"><em>2</em>创建数据</li>
      <li><em>3</em>完成安装</li>
    </ul>
  </div>
  <form name="install" action="{:U('Index/step3')}" method="post" onSubmit="return check()">
    <div class="server">
      <table width="100%">
        <tr>
          <td class="td1" width="100">数据库信息</td>
          <td class="td1" width="200">&nbsp;</td>
          <td class="td1">&nbsp;</td>
        </tr>
        <tr>
          <td class="text-left">数据库服务器:</td>
          <td><input type="text" name="dbhost" value="127.0.0.1" class="input"></td>
          <td><span class="gray">数据库服务器地址,一般为127.0.0.1</span></td>
        </tr>
        <tr>
后面还有 56 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。