Lines Matching refs:r

299         $r = $this->getContactData($cid);
312 $out .= '<b>'.$r['surname'] .($r['firstname'] <> ''? ', '.$r['firstname']:'').'</b>';
313 if (strlen($r['surname'] .$r['firstname'])>0) $out .= '<br>';
316 if ($r['surname'].$r['firstname'] == '') $out .= '<b>';
318 …if ($r['department'].$r['cfunction'] != '') $out .= $this->names(array($r['cfunction'],$r['departm…
320 if (strlen($r['cfuntion'] .$r['department'])>0) $out .= '<br>';
321 if ($r['surname'].$r['firstname'] == '') $out .= '</b>';
324 …if ($r['tel1'].$r['tel2'] <> '') $out .= '<br>Tel.: '.$this->names(array($r['tel1'],$r['tel2']),' …
327 if ($r['fax']<>'') $out .= '<br>Fax: '.$r['fax'];
330 … if ($r['email']<>'') $out .= '<br>Mail: <a href="mailto:'.$r['email'].'">'.$r['email'].'</a>';
334 …if ($r['photo'] != false) $out .= "<img class='photo' src='data:image/jpg;base64,".($r['photo'])."…
338 if ($r['description']<>'') $out .= $r['description'];
343 $out .= 'Nr. '.$r['id'];
347 … $out .= '<a href="'.wl($target,'editcontact='.$r['id']).'">'.$this->getLang('exec edit').'</a>';
348 …$out .= '<a href="'.wl($target,'erasecontact='.$r['id']).'" onclick="return confirm(\'Sure?\');">'…
640 foreach ($res as &$r) {
641 …if ($r['surname'] == '' && $r['department'] == '') $r['department'] = $this->getLang('departments'…
642 … if ($r['surname'] != '' && $r['department'] == '') $r['department'] = $this->getLang('general');
684 foreach ($res as $r) $n[] =$r[$column];
752 foreach ($list as $r){
755 if ($sep != $r[$separator]) {
756 $sep = $r[$separator];
757 $out .= '<h3>'.$r[$separator].'</h3>';
763 if ($r['surname'].$r['firstname'] <> '') {$names = true;} else {$names = false;}
765 if ($target != false) $out .= '<a href="'.wl($target,'showcontact='.$r['id']).'">';
767 $out .= $r['surname'] .($r['firstname'] <> ''? ', '.$r['firstname']:'');
768 if (!$names) $out .= $this->names(array($r['cfunction'],$r['department']));
772 …if ($names && $r['cfunction'].$r['department'] <>'') $out .= ' ('.$this->names(array($r['cfunction…
774 … if ($r['tel1'].$r['tel2'] <> '') $out .= ' Tel: '.$this->names(array($r['tel1'],$r['tel2']));
949 foreach ($res as $k=>$r) $sql.= "'$r'".($k=='photo'? ')':',');