Редакция 79 | Редакция 83 | К новейшей редакции | Весь файл | Учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS
Редакция 79 | Редакция 82 | ||
---|---|---|---|
Строка 91... | Строка 91... | ||
91 | function getCSSList($dblink) { |
91 | function getCSSList($dblink) { |
92 | $req =& $dblink->query("SELECT * FROM distribution"); |
92 | $req =& $dblink->query("SELECT * FROM distribution"); |
93 | if ($req->numRows()>0) { |
93 | if ($req->numRows()>0) { |
94 | while ($req->fetchInto($dist, DB_FETCHMODE_ASSOC)) { |
94 | while ($req->fetchInto($dist, DB_FETCHMODE_ASSOC)) { |
95 | if ($dist["distlogo"]) { |
95 | if ($dist["distlogo"]) { |
96 | $css .= ".".stripslashes($dist["distua"])." { display: inline; padding-left: 15px; background: transparent url(./img/logo/".$dist["distua"].".gif) top left no-repeat; }\n"; |
96 | $css .= ".".stripslashes($dist["distua"])." { display: inline; padding-left: 15px; background: transparent url(./img/logo/".$dist["distua"].".png) top left no-repeat; }\n"; |
97 | $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"; |
97 | $css .= ".".stripslashes($dist["distua"])."-em { display: inline; padding-left: 32px; background: transparent url(./img/logo/".stripslashes($dist["distua"])."-em.png) top left no-repeat; }\n"; |
98 | } else { |
98 | } else { |
99 | $css .= ""; |
99 | $css .= ""; |
100 | }
|
100 | }
|
101 | }
|
101 | }
|
102 | } else { |
102 | } else { |