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

#408

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

Legend:

Unmodified
Added
Removed
  • sandbox/components/Textcube.Data.Post.php

    r3109 r3299  
    8989    } 
    9090     
    91     function add() { 
     91    function add($userid) { 
    9292        global $database, $owner; 
    9393        if (isset($this->id) && !Validator::number($this->id, 1)) 
     
    141141            } 
    142142        } 
     143        $TN = mysql_fetch_array(mysql_query("SELECT userid FROM {$database['prefix']}Users WHERE loginid='$userid'")); 
     144        mysql_query("INSERT INTO {$database['prefix']}TeamEntryRelations VALUES('$owner', '$this->id', '$TN[userid]')"); 
    143145        return true; 
    144146    }