Changeset 304 for minimanager/scripts/id_tab.php
- Timestamp:
- Mar 13, 2008, 7:39:11 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
minimanager/scripts/id_tab.php
r178 r304 444 444 }; 445 445 446 function get_image_dir($level,$sex,$race,$class,$gm=0){ 447 $return = ""; 448 if ($gm>0 && file_exists("img/avatars/bliz/$gm.gif")) 449 $return .= "img/avatars/bliz/$gm.gif"; 450 else if ($gm>0 && file_exists("img/avatars/bliz/$gm.gif")) 451 $return .= "img/avatars/bliz/$gm.gif"; 452 else if ($gm>0 && file_exists("img/avatars/bliz/$gm.jpg")) 453 $return .= "img/avatars/bliz/$gm.jpg"; 454 else { 455 if($level >= 60){ 456 if($level >= 70) 457 $return .= "img/avatars/70/$sex-$race-$class.gif"; 458 else 459 $return .= "img/avatars/60/$sex-$race-$class.gif"; 460 } 461 else 462 $return .= "img/avatars/np/$sex-$race-$class.gif"; 463 } 464 return $return; 465 }; 466 446 467 447 468 ?>
Note:
See TracChangeset
for help on using the changeset viewer.