mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@951 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
bd3a3a1da7
commit
b4b8441c3d
4 changed files with 92 additions and 4 deletions
|
|
@ -64,7 +64,7 @@
|
|||
if(!$this->hostname || !$this->userid || !$this->password || !$this->database) return;
|
||||
|
||||
// 접속시도
|
||||
$this->handler = new mysqli_connect($this->hostname, $this->userid, $this->password, $this->database);
|
||||
$this->handler = new mysqli($this->hostname, $this->userid, $this->password, $this->database);
|
||||
|
||||
// 접속체크
|
||||
if(mysqli_connect_error()) $this->is_connected = false;
|
||||
|
|
@ -402,7 +402,7 @@
|
|||
}
|
||||
|
||||
$virtual_no = $total_count - ($page-1)*$navigation->list_count;
|
||||
while($tmp = mysql_fetch_object($result)) {
|
||||
while($tmp = $result->fetch_object()) {
|
||||
$data[$virtual_no--] = $tmp;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -44,7 +44,6 @@
|
|||
|
||||
// 설치 완료 메세지 출력
|
||||
$this->setMessage('msg_install_completed');
|
||||
$this->setRedirectUrl('./');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
<param name="nick_name" target="nick_name" />
|
||||
<param name="email_address" target="email_address" />
|
||||
</parameter>
|
||||
<response>
|
||||
<response >
|
||||
<tag name="error" />
|
||||
<tag name="message" />
|
||||
<tag name="redirect_url" />
|
||||
|
|
|
|||
89
modules/install/tpl/form.mysqli.html
Normal file
89
modules/install/tpl/form.mysqli.html
Normal file
|
|
@ -0,0 +1,89 @@
|
|||
<!--%import("filter/mysql.xml")-->
|
||||
|
||||
<form action="./" method="post" onsubmit="return procFilter(this, install)">
|
||||
<input type="hidden" name="db_type" value="{$db_type}" />
|
||||
|
||||
<table border="1">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
{$lang->db_title}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{$lang->db_hostname}</td>
|
||||
<td>
|
||||
<input type="text" name="db_hostname" value="127.0.0.1" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{$lang->db_userid}</td>
|
||||
<td>
|
||||
<input type="text" name="db_userid" value="dev" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{$lang->db_password}</td>
|
||||
<td>
|
||||
<input type="password" name="db_password" value="1234" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{$lang->db_database}</td>
|
||||
<td>
|
||||
<input type="text" name="db_database" value="dev" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{$lang->db_table_prefix}</td>
|
||||
<td>
|
||||
<input type="text" name="db_table_prefix" value="xe" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table border="1">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
{$lang->admin_title}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{$lang->user_id}</td>
|
||||
<td>
|
||||
<input type="text" name="user_id" value="zero" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{$lang->password1}</td>
|
||||
<td>
|
||||
<input type="password" name="password1" value="1234" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{$lang->password2}</td>
|
||||
<td>
|
||||
<input type="password" name="password2" value="1234" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{$lang->user_name}</td>
|
||||
<td>
|
||||
<input type="text" name="user_name" value="zero" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{$lang->nick_name}</td>
|
||||
<td>
|
||||
<input type="text" name="nick_name" value="zero" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{$lang->email_address}</td>
|
||||
<td>
|
||||
<input type="text" name="email_address" value="zero@nzeo.com" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<input type="submit" value="{$lang->cmd_registration}" />
|
||||
</form>
|
||||
Loading…
Add table
Add a link
Reference in a new issue