( 3190 )
↓
3.0.0 3.0.1 3.0.2 3.0.3 OPEN cms community css danneo default html lite news olympus pages phpBB phpbb.com pro prosilver release seo site_map slaed yandex
phpBB danneo cms, |
|
PHP:
$unhtml_specialchars_replace = array('>', '<', '"', '&');
font>
PHP:
// for integration with danneo
$dncms_prefix = "dn052";
font>
PHP:
$group_id = $db->sql_nextid();
font>
PHP:
// for integration with danneo
$sql = "INSERT INTO " . $dncms_prefix . "_users (userid, uname, upass, umail, regdate, lastvisit, icq, msn, www, newpass, activate, active, blocked)
VALUES ($user_id, '" . str_replace("'", "''", $username) . "', '" . str_replace("'", "''", $new_password) . "', '" . str_replace("'", "''", $email) . "', " . time() . ", " . time() . ", '" . str_replace("'", "''", $icq) . "', '" . str_replace("'", "''", $msn) . "', '" . str_replace("'", "''", $website) . "', '', 0, 1, 0);
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not insert data into danneo cms users table', '', __LINE__, __FILE__, $sql);
&nb
: danneo phpBB |
phpBB danneo cms, |
|
PHP:
'user_inactive_time' => $user_inactive_time,
);
font>
PHP:
// for danneo's table [by FladeX]
$user_cmspass = md5($data['new_password']);
font>
PHP:
$user_id = user_add($user_row, $cp_data);
font>
PHP:
// Duplicate user in cms database [by FladeX]
cmsuser_add($user_row, $user_id, $user_cmspass);
font>
PHP:
return $user_id;
}
font>
PHP:
function cmsuser_add($user_row, $user_id, $user_cmspass)
{
global $db, $user, $auth, $config, $phpbb_root_path, $phpEx;
$username = $user_row['username'];
$user_email = strtolower($user_row['user_email']);
$user_regdate = $user_row['user_regdate'];
$sql = "INSERT INTO danneo_users (userid, uname, upass, umail, regdate, activate) VALUES ('$user_id', '$username', '$user_cmspass', '$user_email', '$user_regdate', 1)";
$db->sql_query($sql);
}
font>
: phpBB 3.0.0 olympus danneo |
Danneo cms |
|
: danneo cms 0.52 xhtml gpl phpBB slaed |
: | [1] |