Хранилища Subversion ant

Редакция

Редакция 219 | Весь файл | Не учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS

Редакция 219 Редакция 234
Строка 170... Строка 170...
170
                $req =& $dblink->query("SELECT * FROM distribution");
170
                $req =& $dblink->query("SELECT * FROM distribution");
171
                if ($req->numRows()>0) {
171
                if ($req->numRows()>0) {
172
                        $css = "<style type=\"text/css\">\n";
172
                        $css = "<style type=\"text/css\">\n";
173
                        while ($req->fetchInto($dist, DB_FETCHMODE_ASSOC)) {
173
                        while ($req->fetchInto($dist, DB_FETCHMODE_ASSOC)) {
174
                                if ($dist["distlogo"]) {
174
                                if ($dist["distlogo"]) {
175
                                        $css .= ".".stripslashes($dist["distua"])." { display: inline; padding-left: 15px; background: transparent url(./img/logo/".stripslashes($dist["distua"]).".png) top left no-repeat; }\n";
175
                                        $css .= ".".stripslashes($dist["distua"])." { display: inline; padding-left: 16px; background: transparent url(./img/logo/".stripslashes($dist["distua"]).".png) top left no-repeat; }\n";
176
                                        $css .= ".".stripslashes($dist["distua"])."-em { display: inline; padding-left: 30px; background: transparent url(./img/logo/".stripslashes($dist["distua"])."-em.png) top left no-repeat; }\n";
176
                                        $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";
177
                                } else {
177
                                } else {
178
                                        $css .= "";
178
                                        $css .= "";
179
                                }
179
                                }
180
                        }
180
                        }
181
                        $css .= "</style>";
181
                        $css .= "</style>";