87,6 → 87,23 |
$iflist = substr($iflist, 0, strlen($iflist)-2); |
return $iflist; |
} |
|
function getCSSList($dblink) { |
$req =& $dblink->query("SELECT * FROM distribution"); |
if ($req->numRows()>0) { |
while ($req->fetchInto($dist, DB_FETCHMODE_ASSOC)) { |
if ($dist["distlogo"]) { |
$css .= ".".stripslashes($dist["distua"])." { display: inline; padding-left: 15px; background: transparent url(./img/logo/".$dist["distua"].".gif) top left no-repeat; }\n"; |
$css .= ".".stripslashes($dist["distua"])."-em { display: inline; padding-left: 32px; background: transparent url(./img/logo/".stripslashes($dist["distua"])."-em.gif) top left no-repeat; }\n"; |
} else { |
$css .= ""; |
} |
} |
} else { |
$css = ""; |
} |
return $css; |
} |
} |
|
?> |