Lines Matching refs:touid
298 $touid = $users[1];
300 $touid = $users[0];
305 $blackls = $this->get_blackls($fromuid, $touid);
306 if(in_array('{ALL}', $blackls[$touid])) {
310 $blackls[$touid] = $_ENV['user']->name2id($blackls[$touid]);
311 if(!(isset($blackls[$touid]) && !in_array($fromuid, $blackls[$touid]))) {
337 …bers(plid, uid, isnew, pmnum, lastupdate, lastdateline) VALUES('$plid', '$touid', '1', '1', '0', '…
339 …isnew=1, pmnum=pmnum+1, lastdateline='".$this->base->time."' WHERE plid='$plid' AND uid='$touid'");
356 function appendchatpm($plid, $uid, $touid) { argument
357 if(!$plid || !$uid || !$touid) {
371 $blackls = $this->get_blackls($uid, $touid);
372 if(in_array('{ALL}', $blackls[$touid])) {
376 $blackls[$touid] = $_ENV['user']->name2id($blackls[$touid]);
377 if(!(isset($blackls[$touid]) && !in_array($uid, $blackls[$touid]))) {
382 …bers(plid, uid, isnew, pmnum, lastupdate, lastdateline) VALUES('$plid', '$touid', '1', '$pmnum', '…
389 function kickchatpm($plid, $uid, $touid) { argument
390 if(!$uid || !$touid || !$plid || $uid == $touid) {
400 $this->db->query("DELETE FROM ".UC_DBTABLEPRE."pm_members WHERE plid='$plid' AND uid='$touid'");
692 function getplidbytouid($uid, $touid) { argument
693 if(!$uid || !$touid) {
696 …SELECT plid FROM ".UC_DBTABLEPRE."pm_lists WHERE min_max='".$this->relationship($uid, $touid)."'");
726 function relationship($fromuid, $touid) { argument
727 if($fromuid < $touid) {
728 return $fromuid.'_'.$touid;
729 } elseif($fromuid > $touid) {
730 return $touid.'_'.$fromuid;