Changeset 3299 for sandbox/blog/owner/setting/account/invite/index.php
- Timestamp:
- 05/21/07 01:56:13 (20 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
sandbox/blog/owner/setting/account/invite/index.php
r3106 r3299 19 19 respondResultPage(false); 20 20 $result = addUser($_POST['email'], $_POST['name'], $_POST['identify'], $_POST['comment'], $_POST['senderName'], $_POST['senderEmail']); 21 22 // �����:: DB �� ��� ��� ��� 23 if($result == 15){ 24 $my = DBQuery::queryRow("SELECT userid, name FROM {$database['prefix']}Users WHERE loginid='$_POST[email]'"); 25 $profile = $my['name'] . "�����Դϴ�"; 26 $teams=DBQuery::query("INSERT INTO `{$database['prefix']}Teamblog` VALUES('$my[userid]', '$my[userid]', '0', '1', '1', '$profile', '', '0', '#000000', '10', '0', UNIX_TIMESTAMP(), '0')"); 27 if(!$teams||(mysql_affected_rows()==0)){ 28 respondResultPage(20); 29 } 30 } 21 31 respondResultPage($result); 22 32 ?>
