Changeset 337 for dev/common/includes/class.pilot.php
- Timestamp:
- 10/09/08 10:25:56 (14 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
dev/common/includes/class.pilot.php
r317 r337 35 35 { 36 36 $this->execQuery(); 37 /* charID api readout - in work, feel free to test 38 if ($this->row_['plt_externalid'] == 0) && config::get('apiCharId'){ 37 //charID api readout - in work, feel free to test 38 if ($this->row_['plt_externalid'] == 0) 39 { 39 40 require_once("class.api.php"); 40 41 $api = new Api(); 41 $id = $api->getCharId( plt_name);42 if ($id > 0) {43 setCharacterID($id);44 }42 $id = $api->getCharId($this->getName()); 43 if ($id > 0) 44 $this->setCharacterID($id); 45 45 46 return '?a=thumb&id='.$id.'&size='.$size; 46 47 47 }*/ 48 return '?a=thumb&id='.$this->row_['plt_externalid'].'&size='.$size; 48 } 49 else 50 return '?a=thumb&id='.$this->row_['plt_externalid'].'&size='.$size; 49 51 } 50 52