Lines Matching refs:fromuid

185 	function sendpm($fromuid, $fromusername, $touids, $subject, $message, $type = 0) {  argument
186 if(!$fromuid || !$fromusername || !$touids || !$message) {
193 $blackls = $this->get_blackls($fromuid, $touids);
196 if($fromuid == $value || !$value) {
205 if(!(isset($blackls[$value]) && !in_array($fromuid, $blackls[$value]))) {
208 $relationship[$value] = $this->relationship($fromuid, $value);
235 …$lastmessage = array('lastauthorid' => $fromuid, 'lastauthor' => $fromusername, 'lastsummary' => $…
239 …orid, pmtype, subject, members, min_max, dateline, lastmessage) VALUES('$fromuid', '1', '$subject'…
243 …plid, authorid, message, dateline, delstatus) VALUES('$pmid', '$plid', '$fromuid', '$message', '".…
245 …ers(plid, uid, isnew, pmnum, lastupdate, lastdateline) VALUES('$plid', '$fromuid', '0', '1', '".$t…
250 …plid, authorid, message, dateline, delstatus) VALUES('$pmid', '$plid', '$fromuid', '$message', '".…
255 …ers(plid, uid, isnew, pmnum, lastupdate, lastdateline) VALUES('$plid', '$fromuid', '0', '1', '".$t…
257 …$this->base->time."', lastdateline='".$this->base->time."' WHERE plid='$plid' AND uid='$fromuid'");
263 …$lastmessage = array('firstauthorid' => $fromuid, 'firstauthor' => $fromusername, 'firstsummary' =…
265 …orid, pmtype, subject, members, min_max, dateline, lastmessage) VALUES('$fromuid', '2', '$subject'…
269 …plid, authorid, message, dateline, delstatus) VALUES('$pmid', '$plid', '$fromuid', '$message', '".…
270 …$pm_member_insertsql[] = "('$plid', '$fromuid', '0', '1', '".$this->base->time."', '".$this->base-…
285 function replypm($plid, $fromuid, $fromusername, $message) { argument
286 if(!$plid || !$fromuid || !$fromusername || !$message) {
297 if($users[0] == $fromuid) {
299 } elseif($users[1] == $fromuid) {
305 $blackls = $this->get_blackls($fromuid, $touid);
311 if(!(isset($blackls[$touid]) && !in_array($fromuid, $blackls[$touid]))) {
321 if(!isset($memberuid[$fromuid])) {
333 …plid, authorid, message, dateline, delstatus) VALUES('$pmid', '$plid', '$fromuid', '$message', '".…
335 …$lastmessage = array('lastauthorid' => $fromuid, 'lastauthor' => $fromusername, 'lastsummary' => $…
341 …$this->base->time."', lastdateline='".$this->base->time."' WHERE plid='$plid' AND uid='$fromuid'");
344 …or'], 'firstsummary' => $lastmessage['firstsummary'], 'lastauthorid' => $fromuid, 'lastauthor' => …
347 …pm_members SET isnew=0, lastupdate='".$this->base->time."' WHERE plid='$plid' AND uid='$fromuid'");
726 function relationship($fromuid, $touid) { argument
727 if($fromuid < $touid) {
728 return $fromuid.'_'.$touid;
729 } elseif($fromuid > $touid) {
730 return $touid.'_'.$fromuid;