update lib/common.lib.php
This commit is contained in:
parent
2364b8d810
commit
f7cafb61b5
1 changed files with 4 additions and 4 deletions
|
|
@ -1636,7 +1636,7 @@ function get_table_define($table, $crlf = "\n")
|
|||
global $g5;
|
||||
|
||||
// For MySQL < 3.23.20
|
||||
$schema_create .= 'CREATE TABLE ' . $table . ' (' . $crlf;
|
||||
$schema_create = 'CREATE TABLE ' . $table . ' (' . $crlf;
|
||||
|
||||
$sql = 'SHOW FIELDS FROM ' . $table;
|
||||
$result = sql_query($sql);
|
||||
|
|
@ -1692,7 +1692,7 @@ function get_table_define($table, $crlf = "\n")
|
|||
} else {
|
||||
$schema_create .= ' KEY ' . $x . ' (';
|
||||
}
|
||||
$schema_create .= implode($columns, ', ') . ')';
|
||||
$schema_create .= implode(', ', $columns) . ')';
|
||||
} // end while
|
||||
|
||||
$schema_create .= $crlf . ') ENGINE=MyISAM DEFAULT CHARSET=utf8';
|
||||
|
|
@ -1787,7 +1787,7 @@ function time_select($time, $name = "")
|
|||
preg_match("/([0-9]{2}):([0-9]{2}):([0-9]{2})/", $time, $m);
|
||||
|
||||
// 시
|
||||
$s .= "<select name='{$name}_h'>";
|
||||
$s = "<select name='{$name}_h'>";
|
||||
for ($i = 0; $i <= 23; $i++) {
|
||||
$s .= "<option value='$i'";
|
||||
if ($i == $m['0']) {
|
||||
|
|
@ -3235,7 +3235,7 @@ function check_vaild_callback($callback)
|
|||
class str_encrypt
|
||||
{
|
||||
var $salt;
|
||||
var $lenght;
|
||||
var $length = 0;
|
||||
|
||||
function __construct($salt = '')
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue