Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: pinigu modas

Parašė Impossibru· 2008 Bir. 24 11:06:14
#17

Užsiregistravusiam žmogui duos 50 aukso.

Atsidarom register.php failą

Surandame eilute: ( 29 default)
$result = dbquery("INSERT INTO ".$db_prefix."users (user_name, user_password, user_email, user_hide_email, user_location, user_birthdate, user_aim, user_icq, user_msn, user_yahoo, user_web, user_theme, user_offset, user_avatar, user_sig, user_posts, user_joined, user_lastvisit, user_ip, user_rights, user_groups, user_level, user_status) VALUES('".$user_info['user_name']."', '".md5($user_info['user_password'])."', '".$user_info['user_email']."', '".$user_info['user_hide_email']."', '', '0000-00-00', '', '', '', '', '', 'Default', '0', '', '', '0', '".time()."', '0', '".USER_IP."', '', '', '101', '$activation')");




Keičiam į:
$result = dbquery("INSERT INTO ".$db_prefix."users (user_name, user_password, user_email, user_hide_email, user_location, user_birthdate, user_aim, user_icq, user_msn, user_yahoo, user_web, user_theme, user_offset, user_avatar, user_sig, user_posts, user_joined, user_lastvisit, user_ip, user_rights, user_groups, user_level, user_status) VALUES('".$user_info['user_name']."', '".md5($user_info['user_password'])."', '".$user_info['user_email']."', '".$user_info['user_hide_email']."', '', '0000-00-00', '', '', '', '', '', 'Default', '0', '', '', '0', '".time()."', '0', '".USER_IP."', '', '', '101', '$activation')");
//gold on register
$new_user_id = mysql_insert_id();
if (file_exists(INFUSIONS.'user_gold_panel/functions.php'))
{
include_once INFUSIONS.'user_gold_panel/functions.php';
paygold($user_info['user_name'],$new_user_id,'50');
}//gold on register





Susirandam eilute: ( 135 default)
$result = dbquery("INSERT INTO ".$db_prefix."users (user_name, user_password, user_email, user_hide_email, user_location, user_birthdate, user_aim, user_icq, user_msn, user_yahoo, user_web, user_theme, user_offset, user_avatar, user_sig, user_posts, user_joined, user_lastvisit, user_ip, user_rights, user_groups, user_level, user_status) VALUES('$username', md5('".$password1."'), '".$email."', '$user_hide_email', '$user_location', '$user_birthdate', '$user_aim', '$user_icq', '$user_msn', '$user_yahoo', '$user_web', '$user_theme', '$user_offset', '', '$user_sig', '0', '".time()."', '0', '".USER_IP."', '', '', '101', '$activation')");




Keičiam į:
$result = dbquery("INSERT INTO ".$db_prefix."users (user_name, user_password, user_email, user_hide_email, user_location, user_birthdate, user_aim, user_icq, user_msn, user_yahoo, user_web, user_theme, user_offset, user_avatar, user_sig, user_posts, user_joined, user_lastvisit, user_ip, user_rights, user_groups, user_level, user_status) VALUES('$username', md5('".$password1."'), '".$email."', '$user_hide_email', '$user_location', '$user_birthdate', '$user_aim', '$user_icq', '$user_msn', '$user_yahoo', '$user_web', '$user_theme', '$user_offset', '', '$user_sig', '0', '".time()."', '0', '".USER_IP."', '', '', '101', '$activation')");
//gold on register
$new_user_id = mysql_insert_id();
if (file_exists(INFUSIONS.'user_gold_panel/functions.php'))
{
include_once INFUSIONS.'user_gold_panel/functions.php';
paygold($user_info['user_name'],$new_user_id,'50');
}//gold on register





paygold($user_info['user_name'],$new_user_id,'50');
50 - Tai auksas kiek duosi užsiregistravusiam.

Daugiau user_gold_panel gidų anglų kalba http://starglowone.com/forum/vie...rum_id=101

Redagavo Impossibru· 2008 Bir. 24 11:06:57