Show
Ignore:
Timestamp:
05/21/07 01:56:13 (20 months ago)
Author:
inureyes
Message:

#408

  • 팀블로그 소스 이식
  • 차칸아이님 소스 기반으로 태터툴즈 코드 일관성 유지를 위하여 전체적으로 수정하였음.
    • 아직 멀었다.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • sandbox/blog/owner/setting/account/invite/index.php

    r3106 r3299  
    1919    respondResultPage(false); 
    2020$result = addUser($_POST['email'], $_POST['name'], $_POST['identify'], $_POST['comment'], $_POST['senderName'], $_POST['senderEmail']); 
     21 
     22    // �����:: DB �� ��� ��� ��� 
     23if($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} 
    2131respondResultPage($result); 
    2232?>