Хранилища Subversion www_nix-files

Сравнить редакции

Учитывать пробелы Редакция 1 → Редакция HEAD

/trunk/nix-files.css
Новый файл
0,0 → 1,102
@import url(./details-addon.css);
@import url(./members-addon.css);
@import url(./network-addon.css);
@import url(./servers-addon.css);
 
body {
text-align: center;
}
 
h1 {
font: 72pt/72pt Georgia;
text-align: center;
margin: 10px 0 10px 0;
}
 
h2 {
font: 18pt/20pt Georgia;
text-align: center;
margin: 35px 0 0px 0;
}
 
h3 {
font: 12pt/12pt Georgia;
text-align: center;
margin: 0px 0 35px 0;
}
 
table {
border-top: 2px solid #000;
border-left: 2px solid #000;
border-bottom: 2px solid #000;
border-right: 1px solid #000;
margin: 0 auto;
border-spacing: 0;
white-space: nowrap;
}
 
table#legend {
border-top: 2px solid #dcdcdc;
border-left: 2px solid #dcdcdc;
border-bottom: 2px solid #dcdcdc;
border-right: 1px solid #dcdcdc;
margin: 0 auto;
border-spacing: 0;
}
 
#legend td {
text-align: left;
font: 12pt Geogria;
padding: 8px 5px;
border-bottom: 1px solid #dcdcdc;
border-right: 1px solid #dcdcdc;
}
 
table#topmenu {
border: 0px;
}
 
#topmenu td {
border: 0px;
}
 
th {
text-align: center;
font-weight: bold;
border-bottom: 1px solid #000;
border-right: 1px solid #000;
padding: 8px;
font-weight: bold;
background-color: #dcdcdc;
}
 
td {
text-align: center;
padding: 8px 5px;
border-bottom: 1px solid #dcdcdc;
border-right: 1px solid #000;
}
 
a img {
border: 0;
color: blue;
}
 
a {
color: blue;
}
 
p#info {
margin-top: 50px;
}
 
p#design {
display: none;
color: #a9a9a9;
}
 
p#design a {
text-decoration: none;
color: #a9a9a9;
}
/trunk/css-gen.php
Новый файл
0,0 → 1,35
<?php
require_once dirname(__FILE__)."/lib/init.php";
 
$mode = $_GET["mode"];
 
header("Content-type: text/css\n\n");
 
switch ($mode) {
case 'resources':
$ress =& $db->query("SELECT * FROM resources");
while ($ress->fetchInto($info_ress, DB_FETCHMODE_ASSOC)) {
$pictcha = $info_ress['picture'];
$pictcha = str_replace(".png","-big.png",$pictcha);
echo ".".$info_ress['resource']." {\n";
echo " background: transparent url(".$pictcha.") top left no-repeat;\n";
echo "}\n";
echo ".".$info_ress['resource']."-small {\n";
echo " background: transparent url(".$info_ress['picture'].") top left no-repeat;\n";
echo " padding: 2px 10px 2px 25px;\n";
echo " line-height: 26px;\n";
echo "}\n";
}
break;
case 'members':
$ress =& $db->query("SELECT * FROM members");
while ($ress->fetchInto($info_ress, DB_FETCHMODE_ASSOC)) {
echo ".avatar-id-".$info_ress['id']." {\n";
echo " background: transparent url(".$info_ress['avatar'].") top left no-repeat;\n";
echo "}\n";
}
break;
}
 
 
?>
/trunk/db/nix-files.sql
Новый файл
0,0 → 1,676
-- phpMyAdmin SQL Dump
-- version 3.2.2.1deb1
-- http://www.phpmyadmin.net
--
-- Хост: localhost
-- Время создания: Ноя 30 2009 г., 00:30
-- Версия сервера: 5.1.37
-- Версия PHP: 5.2.10-2ubuntu6.3
 
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
 
 
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
 
--
-- База данных: `nix-files`
--
 
-- --------------------------------------------------------
 
--
-- Структура таблицы `apt_distrs`
--
 
DROP TABLE IF EXISTS `apt_distrs`;
CREATE TABLE IF NOT EXISTS `apt_distrs` (
`id` int(5) NOT NULL AUTO_INCREMENT,
`distr` varchar(10) COLLATE utf8_unicode_ci NOT NULL,
`logo` varchar(30) COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=3 ;
 
--
-- Дамп данных таблицы `apt_distrs`
--
 
INSERT INTO `apt_distrs` (`id`, `distr`, `logo`) VALUES
(1, 'Debian', './custom/apt/debian.png'),
(2, 'Ubuntu', './custom/apt/ubuntu.png');
 
-- --------------------------------------------------------
 
--
-- Структура таблицы `apt_reps`
--
 
DROP TABLE IF EXISTS `apt_reps`;
CREATE TABLE IF NOT EXISTS `apt_reps` (
`id` int(5) NOT NULL AUTO_INCREMENT,
`src_name` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
`src_url` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
`description` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`logo` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=20 ;
 
--
-- Дамп данных таблицы `apt_reps`
--
 
INSERT INTO `apt_reps` (`id`, `src_name`, `src_url`, `description`, `logo`) VALUES
(1, 'debian', 'ftp://ftp.us.debian.org/debian', 'Основной репозиторий Debain', 'debian.ico'),
(2, 'debian-security', 'ftp://security.debian.org/debian-security', 'Обновления безопасности Debian', 'debian.ico'),
(3, 'debian-multimedia', 'http://www.debian-multimedia.org', 'Мультимедийные пакеты Debian', 'debian-multimedia.ico'),
(4, 'ubuntu', 'http://archive.ubuntu.com/ubuntu', 'Основной репозиторий Ubuntu', 'ubuntu.ico'),
(5, 'ubuntu-security', 'http://security.ubuntu.com/ubuntu', 'Обновления безопасности Ubuntu', 'ubuntu.ico'),
(6, 'ubuntu-canonical', 'http://archive.canonical.com', 'Коммерческие пакеты Ubuntu', 'canonical.ico'),
(7, 'medibuntu', 'http://packages.medibuntu.org/', 'Мультимедийные пакеты Ubuntu', 'medibuntu.ico'),
(8, 'infralinux', 'http://archive.infralinux.org/infralinux/', 'Основной репозиторий Infralinux', 'infralinux.ico'),
(9, '2gis', 'http://packages.redsolution.ru/2gis', 'ДубльГис', '2gis.ico'),
(10, 'opera', 'http://deb.opera.com/opera/', 'Opera', 'opera.ico'),
(11, 'virtualbox', 'http://download.virtualbox.org/virtualbox/debian', 'VirtualBox', 'virtualbox.ico'),
(12, 'opera-beta', 'http://deb.opera.com/opera-beta/', 'Бэта-версии Opera', 'opera.ico'),
(13, 'playonlinux', 'http://deb.playonlinux.com/', 'PlayOnLinux', 'playonlinux.png'),
(14, 'freenx', 'http://www.datakeylive.com/ubuntu', 'FreeNX', ''),
(16, 'xneur', 'http://gq.net.ru/debian', 'XNeur', ''),
(17, 'ubuntu-wine', 'http://wine.budgetdedicated.com/apt', 'Wine для Ubuntu', 'winehq.png'),
(18, 'debian-winehq', 'http://www.lamaresh.net/apt', 'Wine для Debian', 'winehq.png'),
(19, 'gfoss', 'http://debian.gfoss.it', 'Геософт', 'gfoss.ico');
 
-- --------------------------------------------------------
 
--
-- Структура таблицы `apt_reps2vers`
--
 
DROP TABLE IF EXISTS `apt_reps2vers`;
CREATE TABLE IF NOT EXISTS `apt_reps2vers` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`rep_id` int(5) NOT NULL,
`ver_id` int(5) NOT NULL,
PRIMARY KEY (`id`),
KEY `rep_id` (`rep_id`,`ver_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=70 ;
 
--
-- Дамп данных таблицы `apt_reps2vers`
--
 
INSERT INTO `apt_reps2vers` (`id`, `rep_id`, `ver_id`) VALUES
(1, 1, 9),
(2, 1, 10),
(3, 1, 11),
(4, 1, 12),
(5, 2, 9),
(6, 2, 10),
(7, 2, 11),
(8, 3, 9),
(9, 3, 10),
(10, 3, 11),
(11, 3, 12),
(12, 4, 20),
(13, 4, 21),
(14, 4, 22),
(15, 4, 23),
(16, 5, 20),
(17, 5, 21),
(18, 5, 22),
(19, 5, 23),
(20, 6, 20),
(21, 6, 21),
(22, 6, 22),
(23, 6, 23),
(24, 7, 20),
(25, 7, 21),
(26, 7, 22),
(27, 7, 23),
(28, 8, 20),
(29, 8, 21),
(30, 8, 22),
(31, 8, 23),
(32, 9, 10),
(33, 9, 20),
(34, 10, 9),
(35, 10, 10),
(36, 10, 11),
(37, 10, 12),
(38, 11, 9),
(39, 11, 10),
(40, 11, 20),
(41, 11, 21),
(42, 11, 22),
(43, 11, 23),
(44, 12, 9),
(45, 12, 10),
(46, 12, 11),
(47, 12, 12),
(48, 13, 9),
(49, 13, 10),
(50, 13, 11),
(51, 13, 20),
(52, 13, 21),
(53, 13, 22),
(54, 14, 19),
(55, 14, 20),
(56, 16, 9),
(57, 16, 10),
(58, 16, 11),
(59, 16, 20),
(60, 16, 21),
(61, 16, 22),
(62, 17, 20),
(63, 17, 21),
(64, 17, 22),
(65, 18, 9),
(66, 18, 10),
(67, 18, 11),
(68, 18, 12),
(69, 19, 10);
 
-- --------------------------------------------------------
 
--
-- Структура таблицы `apt_vers`
--
 
DROP TABLE IF EXISTS `apt_vers`;
CREATE TABLE IF NOT EXISTS `apt_vers` (
`id` int(5) NOT NULL AUTO_INCREMENT,
`distr_id` int(5) NOT NULL,
`vernum` varchar(10) COLLATE utf8_unicode_ci NOT NULL,
`codename` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`),
KEY `distr_id` (`distr_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=24 ;
 
--
-- Дамп данных таблицы `apt_vers`
--
 
INSERT INTO `apt_vers` (`id`, `distr_id`, `vernum`, `codename`) VALUES
(1, 1, '1.1', 'buzz'),
(2, 1, '1.2', 'rex'),
(3, 1, '1.3', 'bo'),
(4, 1, '2.0', 'hamm'),
(5, 1, '2.1', 'slink'),
(6, 1, '2.2', 'potato'),
(7, 1, '3.0', 'woody'),
(8, 1, '3.1', 'sarge'),
(9, 1, '4.0', 'etch'),
(10, 1, '5.0', 'lenny'),
(11, 1, '6.0', 'squeeze'),
(12, 1, '-', 'sid'),
(13, 2, '4.10', 'warty'),
(14, 2, '5.04', 'hoary'),
(15, 2, '5.10', 'breezy'),
(16, 2, '6.06', 'dapper'),
(17, 2, '6.10', 'edgy'),
(18, 2, '7.04', 'feisty'),
(19, 2, '7.10', 'gutsy'),
(20, 2, '8.04', 'hardy'),
(21, 2, '8.10', 'intrepid'),
(22, 2, '9.04', 'jaunty'),
(23, 2, '9.10', 'karmic');
 
-- --------------------------------------------------------
 
--
-- Структура таблицы `categories`
--
 
DROP TABLE IF EXISTS `categories`;
CREATE TABLE IF NOT EXISTS `categories` (
`id` int(2) NOT NULL AUTO_INCREMENT,
`category` varchar(15) COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=5 ;
 
--
-- Дамп данных таблицы `categories`
--
 
INSERT INTO `categories` (`id`, `category`) VALUES
(1, 'file'),
(2, 'repo'),
(3, 'info'),
(4, 'misc');
 
-- --------------------------------------------------------
 
--
-- Структура таблицы `details`
--
 
DROP TABLE IF EXISTS `details`;
CREATE TABLE IF NOT EXISTS `details` (
`id` int(2) NOT NULL AUTO_INCREMENT,
`title` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
`description` text COLLATE utf8_unicode_ci NOT NULL,
`link` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
`talklink` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`),
KEY `resource_id` (`title`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ;
 
--
-- Дамп данных таблицы `details`
--
 
INSERT INTO `details` (`id`, `title`, `description`, `link`, `talklink`) VALUES
(1, 'ftp.niX-FILES', 'Файлопомойко', 'ftp://ftp.nix-files.org.ru', 'http://altlug.ru/phpbb/viewtopic.php?f=37&t=1846');
 
-- --------------------------------------------------------
 
--
-- Структура таблицы `ips`
--
 
DROP TABLE IF EXISTS `ips`;
CREATE TABLE IF NOT EXISTS `ips` (
`id` int(5) NOT NULL AUTO_INCREMENT,
`ip` varchar(16) COLLATE utf8_unicode_ci NOT NULL,
`network_id` int(5) NOT NULL,
`server_id` int(5) NOT NULL,
PRIMARY KEY (`id`),
KEY `network_id` (`network_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=6 ;
 
--
-- Дамп данных таблицы `ips`
--
 
INSERT INTO `ips` (`id`, `ip`, `network_id`, `server_id`) VALUES
(1, '83.246.143.111', 2, 1),
(2, '83.246.160.195', 2, 2),
(3, '83.246.157.101', 2, 3),
(4, '172.16.81.26', 3, 3),
(5, '90.188.26.216', 7, 3);
 
-- --------------------------------------------------------
 
--
-- Структура таблицы `members`
--
 
DROP TABLE IF EXISTS `members`;
CREATE TABLE IF NOT EXISTS `members` (
`id` int(2) NOT NULL AUTO_INCREMENT,
`nick` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
`fio` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
`avatar` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
`jabber` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
`icq` int(15) NOT NULL,
`homepage` varchar(50) COLLATE utf8_unicode_ci,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=9 ;
 
--
-- Дамп данных таблицы `members`
--
 
INSERT INTO `members` (`id`, `nick`, `fio`, `avatar`, `jabber`, `icq`, `homepage`) VALUES
(1, 'Diffor', 'Функ Дмитрий', './img/avatar/diffor.jpg', 'diffor@jabber.ru', 0, 'http://www.diffor.ru'),
(2, 'firstleon', 'Малютин Владимир', './img/avatar/firstleon.jpg', 'first-leon@jabber.ru', 0, 'http://first-leon.ru'),
(3, 'SlipKnoT8', 'Кравченко Игорь', './img/avatar/slipknot8.gif', 'slipknot888@jabber.ru', 0, NULL),
(4, 'mistiman', 'Кем Станислав', './img/avatar/mistiman.png', 'mistiman@jabber.ru', 0, NULL),
(5, 'IK', 'Климентьев Илья', './img/avatar/ik.jpg', 'ik00@jabber.ru', 0, NULL),
(8, 'Yamah', '', './img/avatar/yamah.png', 'yamah-byv@jabber.ru', 0, NULL),
(9, 'razum2um', '', './img/avatar/razum2um.png', 'razum2um@jabber.ru', 0, NULL),
(10, 'bsd2008', '', './img/avatar/bsd2008.png', 'bsd2008@jabber.ru', 0, NULL);
 
-- --------------------------------------------------------
 
--
-- Структура таблицы `netcats`
--
 
DROP TABLE IF EXISTS `netcats`;
CREATE TABLE IF NOT EXISTS `netcats` (
`id` int(2) NOT NULL AUTO_INCREMENT,
`netcat` varchar(15) COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=5 ;
 
--
-- Дамп данных таблицы `netcats`
--
 
INSERT INTO `netcats` (`id`, `netcat`) VALUES
(1, 'Глоб'),
(2, 'Основные'),
(3, 'Университеты'),
(4, 'Пиринг');
 
-- --------------------------------------------------------
 
--
-- Структура таблицы `networks`
--
 
DROP TABLE IF EXISTS `networks`;
CREATE TABLE IF NOT EXISTS `networks` (
`id` int(2) NOT NULL AUTO_INCREMENT,
`netcat_id` int(2) NOT NULL,
`network` varchar(15) COLLATE utf8_unicode_ci NOT NULL,
`link` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`),
KEY `netcat_id` (`netcat_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=14 ;
 
--
-- Дамп данных таблицы `networks`
--
 
INSERT INTO `networks` (`id`, `netcat_id`, `network`, `link`) VALUES
(1, 1, 'Глоб', ''),
(2, 2, 'Интелби', 'http://www.intelbi.ru/'),
(3, 2, 'Интелека', 'http://www.inteleca.ru/'),
(4, 3, 'АГУ', 'http://www.asu.ru/'),
(5, 3, 'АлтГПА', 'http://www.uni-altai.ru/'),
(6, 3, 'АлтГТУ', 'http://www.altstu.ru/'),
(7, 2, 'Webstream', 'http://www.wstream.ru/'),
(8, 4, 'Дианет', 'http://www.dianet.info/'),
(9, 4, 'Диалог', 'http://www.dialog-it.ru/'),
(10, 4, 'Нэтком', 'http://www.netcorp.ru/'),
(11, 4, 'Рубцовск', 'http://www.rubtsovsk.ru/'),
(12, 4, 'Алтайгриф', 'http://www.altaigrif.ru/'),
(13, 4, 'ТТК', 'http://www.myttk.ru/');
 
-- --------------------------------------------------------
 
--
-- Структура таблицы `resources`
--
 
DROP TABLE IF EXISTS `resources`;
CREATE TABLE IF NOT EXISTS `resources` (
`id` int(2) NOT NULL AUTO_INCREMENT,
`category_id` int(2) NOT NULL,
`resource` varchar(15) COLLATE utf8_unicode_ci NOT NULL,
`picture` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
`member_id` int(2) NOT NULL,
`link_talk` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
`link_res` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
`description` varchar(150) COLLATE utf8_unicode_ci NOT NULL,
`custom` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`),
KEY `category_id` (`category_id`),
KEY `curator` (`member_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=12 ;
 
--
-- Дамп данных таблицы `resources`
--
 
INSERT INTO `resources` (`id`, `category_id`, `resource`, `picture`, `member_id`, `link_talk`, `link_res`, `description`, `custom`) VALUES
(1, 1, 'ftp', './img/logo/ftp.png', 10, 'http://altlug.ru/phpbb/viewtopic.php?f=37&t=1846', 'ftp://ftp.nix-files.org.ru', 'Файлообменник *nix тематики (дистрибутивы, софт, медиафайлы).', ''),
(2, 2, 'apt', './img/logo/debian.png', 1, 'http://altlug.ru/phpbb/viewtopic.php?f=37&t=1370', 'http://apt.nix-files.org.ru', 'Зеркала apt-репозиториев (Debain, Ubuntu и др.)', 'apt/apt.php'),
(3, 3, 'dicts', './img/logo/dicts.png', 5, 'http://altlug.ru/phpbb/viewtopic.php?f=37&t=1432', 'http://dicts.nix-files.org.ru', 'Сервер со словарями. Доступен как по протоколу http, так и по протоколу dict (порт 2628).', ''),
(4, 3, 'mans', './img/logo/mans.png', 5, 'http://altlug.ru/phpbb/viewtopic.php?f=37&t=1449', 'http://mans.nix-files.org.ru', 'Онлайн просмотр манов. В основном маны русскоязычные.', ''),
(5, 2, 'gentoo', './img/logo/gentoo.png', 9, 'http://altlug.ru/phpbb/viewtopic.php?f=37&t=1860', 'http://gentoo.nix-files.org.ru', 'Актуальный срез "репозитория" Gentoo.', 'gentoo.php'),
(6, 2, 'mandriva', './img/logo/mandriva.png', 8, 'http://altlug.ru/phpbb/viewtopic.php?f=37&t=2005', 'http://mandriva.nix-files.org.ru', 'Зеркало репозитория Mandriva.', ''),
(7, 2, 'arch', './img/logo/archlinux.png', 10, 'http://altlug.ru/phpbb/viewtopic.php?f=37&t=1884', 'http://arch.nix-files.org.ru', 'Зеркало репозитория ArchLinux,(содержит core, current, extra, community, testing).', 'arch.php'),
(8, 2, 'alt', './img/logo/altlinux.png', 2, 'http://altlug.ru/phpbb/viewtopic.php?f=37&t=2009', 'http://alt.nix-files.org.ru', 'Зеркало репозитория AltLinux.', ''),
-- (9, 2, 'freebsd', './img/logo/freebsd.png', 4, 'http://altlug.ru/phpbb/viewtopic.php?f=37&t=1990', 'http://freebsd.nix-files.org.ru', 'Актуальный срез "репозитория" FreeBSD.', 'freebsd.php'),
(10, 4, 'www', './img/logo/www.png', 1, 'http://altlug.ru/phpbb/viewtopic.php?f=37&t=1858', 'http://www.nix-files.org.ru', 'Индексная страница со ссылками на ресурсы nix-files.', ''),
(11, 4, 'fail', './img/logo/fail.png', 1, '', 'http://fail.nix-files.org.ru', 'Сайт-заглушка, отображаемый при попытке зайти на ресурс, который недоступен для данной сети.', '');
 
-- --------------------------------------------------------
 
--
-- Структура таблицы `res_net_stat`
--
 
DROP TABLE IF EXISTS `res_net_stat`;
CREATE TABLE IF NOT EXISTS `res_net_stat` (
`id` int(5) NOT NULL AUTO_INCREMENT,
`resource_id` int(2) NOT NULL,
`network_id` int(2) NOT NULL,
`state_id` int(2) NOT NULL,
PRIMARY KEY (`id`),
KEY `resource_id` (`resource_id`,`network_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=105 ;
 
--
-- Дамп данных таблицы `res_net_stat`
--
 
INSERT INTO `res_net_stat` (`id`, `resource_id`, `network_id`, `state_id`) VALUES
(1, 1, 2, 1),
(2, 1, 3, 1),
(3, 1, 4, 4),
(4, 1, 5, 3),
(5, 2, 2, 1),
(6, 2, 3, 1),
(7, 2, 4, 4),
(8, 2, 5, 3),
(9, 3, 1, 1),
(10, 3, 2, 1),
(11, 3, 3, 1),
(12, 3, 5, 3),
(13, 4, 1, 1),
(14, 4, 2, 1),
(15, 4, 3, 1),
(16, 4, 5, 3),
(17, 5, 2, 1),
(18, 5, 3, 1),
(19, 5, 5, 2),
(20, 6, 2, 1),
(21, 6, 3, 1),
(22, 6, 5, 3),
(23, 7, 2, 1),
(24, 7, 3, 1),
(25, 7, 5, 3),
(26, 8, 2, 1),
(27, 8, 3, 1),
(28, 8, 5, 3),
(29, 9, 2, 5),
(30, 9, 3, 5),
(31, 9, 5, 5),
(32, 10, 1, 1),
(33, 10, 2, 1),
(34, 10, 3, 1),
(35, 10, 5, 3),
(36, 11, 1, 1),
(37, 10, 7, 1),
(38, 3, 7, 1),
(39, 4, 7, 1),
(40, 1, 7, 1),
(41, 2, 7, 1),
(42, 5, 7, 1),
(43, 6, 7, 1),
(44, 7, 7, 1),
(45, 8, 7, 1),
(46, 9, 7, 5),
(47, 3, 8, 3),
(48, 4, 8, 3),
(49, 1, 8, 3),
(50, 2, 8, 3),
(51, 5, 8, 3),
(52, 6, 8, 3),
(53, 7, 8, 3),
(54, 8, 8, 3),
(55, 9, 8, 5),
(56, 10, 8, 3),
(57, 1, 9, 4),
(58, 2, 9, 4),
(59, 3, 9, 4),
(60, 4, 9, 4),
(61, 5, 9, 4),
(62, 6, 9, 4),
(63, 7, 9, 4),
(64, 8, 9, 4),
(65, 9, 9, 5),
(66, 10, 9, 4),
(67, 1, 10, 4),
(68, 2, 10, 4),
(69, 3, 10, 4),
(70, 4, 10, 4),
(71, 5, 10, 4),
(72, 6, 10, 4),
(73, 7, 10, 4),
(74, 8, 10, 4),
(75, 9, 10, 5),
(76, 10, 10, 4),
(77, 1, 11, 4),
(78, 2, 11, 4),
(79, 3, 11, 4),
(80, 4, 11, 4),
(81, 5, 11, 4),
(82, 6, 11, 4),
(83, 7, 11, 4),
(84, 8, 11, 4),
(85, 9, 11, 5),
(86, 10, 11, 4),
(87, 1, 12, 4),
(88, 2, 12, 4),
(89, 3, 12, 4),
(90, 4, 12, 4),
(91, 5, 12, 4),
(92, 6, 12, 4),
(93, 7, 12, 4),
(94, 8, 12, 4),
(95, 9, 12, 5),
(96, 10, 12, 4),
(97, 3, 4, 4),
(98, 4, 4, 4),
(99, 5, 4, 4),
(100, 6, 4, 4),
(101, 7, 4, 4),
(102, 8, 4, 4),
(103, 9, 4, 5),
(104, 10, 4, 4),
(105, 3, 13, 3),
(106, 4, 13, 3),
(107, 1, 13, 3),
(108, 2, 13, 3),
(109, 5, 13, 3),
(110, 6, 13, 3),
(111, 7, 13, 3),
(112, 8, 13, 3),
(113, 9, 13, 5),
(114, 10, 13, 3),
(115, 11, 2, 1),
(116, 11, 3, 1),
(117, 11, 4, 4),
(118, 11, 5, 3),
(119, 11, 7, 1),
(120, 11, 8, 3),
(121, 11, 9, 4),
(122, 11, 10, 4),
(123, 11, 11, 4),
(124, 11, 12, 4),
(125, 11, 13, 3);
 
-- --------------------------------------------------------
 
--
-- Структура таблицы `servers`
--
 
DROP TABLE IF EXISTS `servers`;
CREATE TABLE IF NOT EXISTS `servers` (
`id` int(5) NOT NULL AUTO_INCREMENT,
`server` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
`cpu` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
`ram` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
`hdd` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`member_id` int(2) NOT NULL,
PRIMARY KEY (`id`),
KEY `member_id` (`member_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=5 ;
 
--
-- Дамп данных таблицы `servers`
--
 
INSERT INTO `servers` (`id`, `server`, `cpu`, `ram`, `hdd`, `member_id`) VALUES
(1, 'diffor', 'Intel(R) Celeron(TM) CPU 1200MHz', '512Mb SDRAM', 'RAID1 320Gb (ST3250310NS)', 1),
(2, 'leon', 'Intel(R) Pentium(R) III CPU family 1400MHz', '512Mb SDRAM', 'RAID5 551Gb (4 IDE)', 2),
(3, 's-router', 'Intel(R) Pentium(R) Dual-Core CPU E5200 2.50GHz', '1Gb DDR22', '500Gb (WD5000AAKS):640Gb (WD6401AALS):750Gb (WD7501AALS)', 10);
 
-- --------------------------------------------------------
 
--
-- Структура таблицы `states`
--
 
DROP TABLE IF EXISTS `states`;
CREATE TABLE IF NOT EXISTS `states` (
`id` int(3) NOT NULL AUTO_INCREMENT,
`image` varchar(50) NOT NULL,
`description` varchar(50) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=6 ;
 
--
-- Дамп данных таблицы `states`
--
 
INSERT INTO `states` (`id`, `image`, `description`) VALUES
(1, './img/state/tick_gold.png', 'Основной ресурс'),
(2, './img/state/tick_blue.png', 'Зеркало ресурса'),
(3, './img/state/tick_green.png', 'Скоростной доступ'),
(4, './img/state/tick_gray.png', 'Доступен'),
(5, './img/state/snowflake.png', 'Приостановлен');
 
-- --------------------------------------------------------
 
--
-- Структура таблицы `subnets`
--
 
DROP TABLE IF EXISTS `subnets`;
CREATE TABLE IF NOT EXISTS `subnets` (
`id` int(5) NOT NULL AUTO_INCREMENT,
`subnet` varchar(20) NOT NULL,
`network_id` int(2) NOT NULL,
PRIMARY KEY (`id`),
KEY `network_id` (`network_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=39 ;
 
--
-- Дамп данных таблицы `subnets`
--
 
INSERT INTO `subnets` (`id`, `subnet`, `network_id`) VALUES
(1, '83.246.128.0/17', 2),
(2, '10.246.0.0/16', 2),
(3, '80.247.96.0/20', 3),
(4, '81.201.240.0/20', 3),
(5, '172.0.0.0/8', 3),
(7, '82.179.16.0/20', 4),
(8, '81.1.237.192/26', 5),
(9, '83.246.160.192/28', 5),
(11, '93.189.220.0/28', 5),
(13, '78.109.128.0/20', 8),
(14, '62.33.116.0/23', 9),
(15, '80.89.149.0/24', 9),
(16, '80.89.153.0/24', 10),
(17, '82.200.45.0/24', 10),
(18, '84.237.124.0/22', 10),
(19, '90.188.0.0/20', 7),
(20, '90.188.16.0/20', 7),
(21, '92.125.64.0/18', 7),
(22, '92.127.64.0/18', 7),
(23, '93.189.216.0/21', 8),
(24, '94.230.112.0/20', 8),
(25, '95.190.128.0/19', 7),
(26, '193.27.222.0/23', 11),
(27, '194.150.128.0/19', 7),
(28, '194.154.85.0/24', 12),
(29, '195.239.211.0/24', 12),
(30, '212.94.96.0/19', 7),
(31, '217.107.47.0/24', 9),
(32, '109.171.0.0/17', 13),
(33, '94.251.0.0/17', 13),
(34, '82.200.47.0/24', 13),
(35, '80.89.140.0/24', 13),
(36, '178.187.0.0/16', 7),
(37, '178.186.128.0/17', 7),
(38, '81.1.237.0/24', 13),
(39, '212.74.192.0/19', 3);
/trunk/vcss-blue.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/trunk/vcss-blue.png
Новый файл
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: bg.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: bg.gif
===================================================================
--- bg.gif (revision 0)
+++ bg.gif (revision 207)
/bg.gif
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: index.php
===================================================================
--- index.php (revision 0)
+++ index.php (revision 207)
@@ -0,0 +1,110 @@
+<?php
+ require_once dirname(__FILE__)."/lib/init.php";
+ include "./inc/header.htm";
+
+ // detect network
+ $addr=$_SERVER['REMOTE_ADDR'];
+ $snets =& $db->query("SELECT * FROM subnets");
+ $is_addr_found = false;
+ while ($snets->fetchInto($info_snets, DB_FETCHMODE_ASSOC)&&!$is_addr_found) {
+ list($ip,$mask) = explode('/',$info_snets['subnet']);
+ if (ip2long($addr) >> (32 - $mask) == ip2long($ip) >> (32 - $mask)) {
+ $is_addr_found = true;
+ $curnet = $info_snets['network_id'];
+ }
+ }
+
+ // table header
+ echo "<table>";
+
+ $netlist = array();
+ $netcount = 0;
+
+ $theader1 = "<tr>\n<th rowspan='2'>&nbsp;</th><th rowspan='2'>&nbsp;</th><th rowspan='2'>Ресурс</th>\n"; // category header
+ $theader2 = "<tr>\n"; // networks header
+
+ $ncats =& $db->query("SELECT * FROM netcats");
+ while ($ncats->fetchInto($info_ncats, DB_FETCHMODE_ASSOC)) {
+ $ccnc = 0; // Count networks of current category
+ $nets =& $db->query("SELECT * FROM networks WHERE netcat_id=".$info_ncats['id']);
+ while ($nets->fetchInto($info_nets, DB_FETCHMODE_ASSOC)) {
+ // network name & link
+ if ($info_nets['link']=="") { $theader2 .= " <th>".$info_nets['network']."</th>\n"; }
+ else { $theader2 .= " <th><a href='./networks.php?net=".$info_nets['id']."'>".$info_nets['network']."</a></th>\n"; }
+ // netlist
+ $netlist[$netcount] = $info_nets['id'];
+ $netcount++;
+ $ccnc++;
+ }
+ $theader1 .= "<th colspan='".$ccnc."'>".$info_ncats['netcat']."</th>";
+ }
+ echo $theader1."\n</tr>\n";
+ echo $theader2."\n</tr>\n";
+
+ // table body
+ $cats =& $db->query("SELECT * FROM categories");
+ while ($cats->fetchInto($info_cats, DB_FETCHMODE_ASSOC)) {
+ $res =& $db->query("SELECT * FROM resources WHERE category_id=".$info_cats['id']);
+ $first = true;
+ while ($res->fetchInto($info_res, DB_FETCHMODE_ASSOC)) {
+ echo "<tr>\n";
+
+ // add rowspan on first resource on category
+ if ($first) {
+ echo " <td rowspan='".$res->numRows()."'>".$info_cats['category']."</td>\n";
+ $first = false;
+ }
+
+ // resource picture
+ echo " <td><img src='".$info_res['picture']."' alt='".$info_res['resource']."'></td>\n";
+
+ // resource name & link
+ echo " <td><a href='./details.php?res=".$info_res['id']."'>".$info_res['resource']."</a></td>\n";
+
+ // resource state by network
+ for ($i=0;$i<$netcount;$i++) {
+ $curstate =& $db->getOne("SELECT state_id FROM res_net_stat WHERE resource_id=".$info_res['id']." AND network_id=".$netlist[$i]);
+ if($netlist[$i]==$curnet) { echo " <td bgcolor='#CFE79F'>"; }
+ else { echo " <td>"; };
+
+ $curimg = "./img/state/unknown.png";
+ if ($curstate == null) {
+ echo "&mdash;";
+ }
+ else {
+ // !replace in future!
+ switch ($curstate) {
+ case '1':
+ $curimg = "./img/state/tick_gold.png";
+ $curalt = "Основной ресурс";
+ break;
+ case '2':
+ $curimg = "./img/state/tick_blue.png";
+ $curalt = "Зеркало";
+ break;
+ case '3':
+ $curimg = "./img/state/tick_green.png";
+ $curalt = "Скоростной доступ";
+ break;
+ case '4':
+ $curimg = "./img/state/tick_gray.png";
+ $curalt = "Доступен";
+ break;
+ case '5':
+ $curimg = "./img/state/snowflake.png";
+ $curalt = "Заморожен";
+ break;
+ }
+ echo "<a href='".$info_res['link_res']."'><img src='".$curimg."' alt='".$curalt."'></a>";
+ }
+ echo "</td>\n";
+ }
+ echo "</tr>\n";
+ }
+ }
+ // table footer
+ echo "</table>";
+ include "./inc/legend.php";
+
+ include "./inc/footer.htm";
+?>
Index: favicon.ico
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: favicon.ico
===================================================================
--- favicon.ico (revision 0)
+++ favicon.ico (revision 207)
/favicon.ico
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: details-addon.css
===================================================================
--- details-addon.css (revision 0)
+++ details-addon.css (revision 207)
@@ -0,0 +1,37 @@
+#infocard {
+ width: 400px;
+ text-align: left;
+ padding-left: 135px;
+ margin: 10px auto;
+}
+
+#infocard h4 {
+ font: 24pt/25pt Georgia;
+ margin: 0;
+}
+
+#infolink {
+ margin: 10px auto;
+ padding: 5px 0;
+ list-style: none;
+ border-top: 1px solid #dcdcdc;
+}
+
+#infolink li {
+ float: left;
+ display: block;
+ margin-left: 5px;
+}
+
+#infolink li:before {
+ content: "\2022\0020";
+}
+
+#infolink li.owner {
+ margin-left: 0;
+}
+
+#infolink li.owner:before {
+ content: "";
+}
+
Index: networks.php
===================================================================
--- networks.php (revision 0)
+++ networks.php (revision 207)
@@ -0,0 +1,66 @@
+<?php
+ require_once dirname(__FILE__)."/lib/init.php";
+ include "./inc/header.htm";
+
+$net = abs(intval($_GET["net"]));
+
+if($net==0) {
+ echo "<table>\n";
+ echo "<tr>\n";
+ echo "<th>Сеть</th><th>Подсети</th><th colspan='2'>Ресурсы</th>\n";
+ echo "</tr>\n";
+
+ $nets =& $db->query("SELECT * FROM networks");
+ while ($nets->fetchInto($info_nets, DB_FETCHMODE_ASSOC)) {
+
+ $first = true;
+ $res =& $db->query("SELECT *
+ FROM res_net_stat
+ JOIN resources ON resources.id = res_net_stat.resource_id
+ WHERE res_net_stat.network_id=".$info_nets['id']);
+ while ($res->fetchInto($info_res, DB_FETCHMODE_ASSOC)) {
+ echo "<tr>\n";
+
+ if ($first) {
+ echo " <td rowspan='".$res->numRows()."'><a href='./networks.php?net=".$info_nets['id']."'>".$info_nets['network']."</a></td>\n";
+ echo " <td rowspan='".$res->numRows()."'>";
+ $snets =& $db->query("SELECT * FROM subnets WHERE network_id=".$info_nets['id']);
+ if ($snets->numRows()==0) echo "<i>Нет данных.</i>";
+ while ($snets->fetchInto($info_snets, DB_FETCHMODE_ASSOC)) {
+ echo $info_snets['subnet']."<br>";
+ }
+ echo " </td>\n";
+ $first = false;
+ }
+
+ echo " <td><img src='".$info_res['picture']."' alt='logo'></td>\n<td><a href='./details.php?res=".$info_res['id']."'>".$info_res['resource']."</a></td>\n";
+ echo "</tr>\n";
+ }
+ }
+ echo "</table>";
+}
+else {
+ $nets =& $db->query("SELECT * FROM networks WHERE id=".$net);
+ while ($nets->fetchInto($info_nets, DB_FETCHMODE_ASSOC)) {
+ echo "<div id='infocard' class='network-ic'><h4>niX-FILES в ".$info_nets['network']."</h4>";
+ echo "<p>Сайт: <a href='".$info_nets['link']."'>".$info_nets['link']."</a></p>";
+
+ echo "<div class='projects'><p>Проекты: ";
+ $ress =& $db->query("SELECT * FROM res_net_stat JOIN resources ON resources.id=res_net_stat.resource_id WHERE network_id=".$net);
+ while ($ress->fetchInto($info_ress, DB_FETCHMODE_ASSOC)) {
+ echo "<span class='".$info_ress['resource']."-small'><a href='./details.php?res=".$info_ress['id']."'>".$info_ress['resource']."</a></span> ";
+ }
+
+ echo "</p></div><div class='subnets'>В подсетях:";
+ $snets =& $db->query("SELECT * FROM subnets WHERE network_id=".$net);
+ if ($snets->numRows()==0) echo "<i>Нет данных.</i>";
+ while ($snets->fetchInto($info_snets, DB_FETCHMODE_ASSOC)) {
+ echo "<span class='network'>".$info_snets['subnet']."</span> ";
+ }
+ echo "</div></div><div class='clear'>&nbsp;</div>";
+
+ }
+}
+
+ include "./inc/footer.htm";
+?>
Index: servers-addon.css
===================================================================
--- servers-addon.css (revision 0)
+++ servers-addon.css (revision 207)
@@ -0,0 +1,42 @@
+.server-ic {
+ background: transparent url(./img/srv/server-big.png) top left no-repeat;
+}
+
+.server-ic p {
+ margin: 3px 0;
+}
+
+.server {
+ background: transparent url(./img/srv/server.png) top left no-repeat;
+}
+
+.cpu, .ram, .hdd, .admin, .server {
+ line-height: 24px;
+ padding: 2px 25px;
+}
+
+.admin {
+ background: transparent url(./img/srv/admin.png) top left no-repeat;
+}
+
+.cpu {
+ background: transparent url(./img/srv/cpu.png) top left no-repeat;
+}
+
+.ram {
+ background: transparent url(./img/srv/ram.png) top left no-repeat;
+}
+
+.hdd {
+ background: transparent url(./img/srv/hdd.png) top left no-repeat;
+}
+
+div.projects, div.subnets {
+ margin-top: 15px;
+}
+
+.clear {
+ clear: both;
+ height: 1px;
+}
+
Index: network-addon.css
===================================================================
--- network-addon.css (revision 0)
+++ network-addon.css (revision 207)
@@ -0,0 +1,14 @@
+.network-ic {
+ background: transparent url(./img/net/network-big.png) top left no-repeat;
+}
+
+.network {
+ padding: 2px 10px 2px 25px;
+ line-height: 26px;
+ background: transparent url(./img/net/network.png) top left no-repeat;
+ display: inline;
+}
+
+div.projects, div.subnets {
+ margin-top: 15px;
+}
Index: members-addon.css
===================================================================
--- members-addon.css (revision 0)
+++ members-addon.css (revision 207)
@@ -0,0 +1,48 @@
+#infocard-member {
+ width: 400px;
+ text-align: left;
+ padding-left: 105px;
+ margin: 10px auto;
+}
+
+#infocard-member h4 {
+ font: 24pt/25pt Georgia;
+ margin: 0 0 5px 0;
+}
+
+#infocard-member p {
+ margin: 3px 0;
+}
+
+.jabber {
+ padding-left: 25px;
+ line-height: 26px;
+ background: transparent url(./img/contact/jabber_protocol.png) top left no-repeat;
+}
+
+.icq {
+ padding-left: 25px;
+ line-height: 26px;
+ background: transparent url(./img/contact/icq_protocol.png) top left no-repeat;
+}
+
+.homepage {
+ padding-left: 25px;
+ line-height: 26px;
+ background: transparent url(./img/contact/go-home.png) top left no-repeat;
+}
+
+.fio {
+ font: 14pt/16pt Georgia;
+}
+
+div.owners, div.admins {
+ margin-top: 15px;
+ line-height: 26px;
+}
+
+div.owners p, div.admins p {
+ line-height: 26px;
+}
+
+
Index: TODO
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: TODO
===================================================================
--- TODO (revision 0)
+++ TODO (revision 207)
/TODO
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: lib/config.inc.php
===================================================================
--- lib/config.inc.php (revision 0)
+++ lib/config.inc.php (revision 207)
@@ -0,0 +1,8 @@
+<?php
+
+$DBname = "nix-files";
+$DBhost = "localhost";
+$DBuser = "nix-files";
+$DBpass = "CE7cFNf8csQZQDbN";
+
+?>
Index: lib/init.php
===================================================================
--- lib/init.php (revision 0)
+++ lib/init.php (revision 207)
@@ -0,0 +1,15 @@
+<?php
+
+require_once "DB.php";
+require_once dirname(__FILE__)."/config.inc.php";
+
+$dsn = "mysql://".$DBuser.":".$DBpass."@".$DBhost."/".$DBname;
+
+$db =& DB::connect($dsn,$options);
+if (PEAR::isError($db)) {
+ die($db->getMessage());
+}
+
+$query =& $db->query("SET NAMES utf8");
+
+?>
Index: inc/legend.php
===================================================================
--- inc/legend.php (revision 0)
+++ inc/legend.php (revision 207)
@@ -0,0 +1,9 @@
+<?php
+ echo "<br>\n";
+ echo "<table id='legend'>\n";
+ $stats =& $db->query("SELECT * FROM states");
+ while ($stats->fetchInto($info_stats, DB_FETCHMODE_ASSOC)) {
+ echo "<tr><td><img src='".$info_stats['image']."' alt='legend image'></td><td>".$info_stats['description']."</td></tr>\n";
+ }
+ echo "</table>\n";
+?>
\ No newline at end of file
Index: inc/footer.htm
===================================================================
--- inc/footer.htm (revision 0)
+++ inc/footer.htm (revision 207)
@@ -0,0 +1,9 @@
+ <p id="info">
+ <a href="http://validator.w3.org/check?uri=referer"><img src="./valid-html40-blue.png" alt="Valid HTML 4.0 Transitional" height="31" width="88"></a>
+ <a href="http://jigsaw.w3.org/css-validator/validator?uri=http://www.nix-files.org.ru"><img src="./vcss-blue.png" alt="Valid CSS!" height="31" width="88"></a>
+ </p>
+ <p id="design">
+ Дизайнер <a href="http://alex-w.org.ru">Александр Вольф</a>
+ </p>
+</body>
+</html>
Index: inc/header.htm
===================================================================
--- inc/header.htm (revision 0)
+++ inc/header.htm (revision 207)
@@ -0,0 +1,31 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd">
+<html lang="ru">
+<head>
+ <meta name="Keywords" content="linux gnu freebsd unix disrib repository software free download documentation operating system intelbi inteleca webstream altgpa asu">
+ <meta name="Description" content="nix-files">
+ <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
+ <meta name="verify-v1" content="ZBUJHzjxrbMV7MF6WPLOfr1axcHzJQzurV7DTxU3vDo=">
+ <meta name='yandex-verification' content='5480f8ea0632ebfe'>
+ <link rel="stylesheet" type="text/css" href="./nix-files.css">
+ <link rel="stylesheet" type="text/css" href="./css-gen.php?mode=resources">
+ <link rel="stylesheet" type="text/css" href="./css-gen.php?mode=members">
+ <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
+ <title>niX-FILES</title>
+</head>
+<body background="bg.gif" bgcolor="#F7F7F7">
+
+<table id="topmenu">
+ <tr>
+ <td><a href="http://altlug.ru"><img src="./img/main.png" width="64" height="73" alt="Главная" title="Главная страница сайта АлтЛУГа" border="0"></a></td>
+ <td><a href="http://altlug.ru/phpbb"><img src="./img/forum.png" width="64" height="73" alt="Форум" title="Форум АлтЛУГа" border="0"></a></td>
+ <td><a href="http://wiki.altlug.ru"><img src="./img/wiki.png" width="64" height="73" alt="Wiki" title="Вики-сайт АлтЛУГа" border="0"></a></td>
+ <td><a href="http://mail.altlug.ru"><img src="./img/mail.png" width="64" height="73" alt="Почта" title="Электронная почта АлтЛУГа" border="0"></a></td>
+ <td><a href="http://altlug.ru/phpbb/viewtopic.php?p=8663#p8663"><img src="./img/jabber.png" width="64" height="73" alt="Jabber" title="Использование jabber'а @altlug.ru" border="0"></a></td>
+ <td><a href="http://devel.altlug.ru"><img src="./img/devel.png" width="64" height="73" alt="Devel" title="Разработки АлтЛУГа" border="0"></a></td>
+ <td><a href="http://www.nix-files.org.ru"><img src="./img/nf.png" width="64" height="73" alt="niX-FILES" title="Проект niX-FILES" border="0"></a></td>
+ </tr>
+</table>
+
+<h1>niX-FILES</h1>
+<h2>любые файлы *nix тематики в локальных сетях Алтайского края</h2>
+<h3><i>изучай/пользуй/обновляй линукс вместе с nix-files.org.ru</i></h3>
Index: custom/freebsd.php
===================================================================
--- custom/freebsd.php (revision 0)
+++ custom/freebsd.php (revision 207)
@@ -0,0 +1,8 @@
+в /etc/make.conf нужно прописать
+<table><tr><td>
+MASTER_SITE_BACKUP?= http://freebsd.nix-files.org.ru/distfiles/${DIST_SUBDIR}/<br>
+MASTER_SITE_OVERRIDE?= ${MASTER_SITE_BACKUP}<br>
+или<br>
+MASTER_SITE_BACKUP?= ftp://ftp.nix-files.org.ru/pub/repository/freebsd/distfiles/${DIST_SUBDIR}/<br>
+MASTER_SITE_OVERRIDE?= ${MASTER_SITE_BACKUP}<br>
+</td></tr></table>
Index: custom/gentoo.php
===================================================================
--- custom/gentoo.php (revision 0)
+++ custom/gentoo.php (revision 207)
@@ -0,0 +1,5 @@
+Для пользователей необходимо прописать в /etc/make.conf
+<table><tr><td>
+SYNC=rsync://gentoo.nix-files.org.ru/gentoo-portage<br>
+GENTOO_MIRRORS=http://gentoo.nix-files.org.ru
+</td></tr></table>
Index: custom/arch.php
===================================================================
--- custom/arch.php (revision 0)
+++ custom/arch.php (revision 207)
@@ -0,0 +1,18 @@
+Подключение репозитория:
+<table><tr><td>
+В файл /etc/pacman.d/mirrorlist добавляем строку:<br>
+Server = http://arch.nix-files.org.ru/$repo/os/i686<br>
+для 64-битной системы:<br>
+Server = http://arch.nix-files.org.ru/$repo/os/x86_64<br>
+<br>
+Если хотите, чтобы данное зеракало было приоритетным, то добавляем вышеуказанный текст
+<br> на первую строку, выше списка других зеркал.<br>
+<br>
+По умолчанию в дистрибутиве Arch подключены хранилища core, community и extra.
+<br>Чтобы подключить другие хранилища, отредактируйте файл /etc/pacman.conf,
+<br> убрав комментарии со строки с названием хранилища (например [testing]) и
+<br> соответствующую ему строку, начинающуюся с Include (находитя прямо под заголовком хранилища)<br>
+<br>
+далее выполняем команду с правами root'а:<br>
+pacman -Sy
+</td></tr></table>
Index: custom/apt/apt.php
===================================================================
--- custom/apt/apt.php (revision 0)
+++ custom/apt/apt.php (revision 207)
@@ -0,0 +1,35 @@
+<?php
+ $imgdir="./custom/apt/ico/";
+
+ $mirs =& $db->query("SELECT * FROM apt_reps");
+ echo "<h2>Зеркалируемые репозитории</h2>\n";
+ echo "<table>\n";
+ echo "<tr>";
+ echo "<th>№</th><th>&nbsp;</th><th>Источник</th><th>Описание</th><th>Дистрибутивы</th>\n";
+ $n = 0;
+ while ($mirs->fetchInto($info_mirs, DB_FETCHMODE_ASSOC)) {
+ echo "<tr>\n";
+ echo "<td>".++$n."</td><td>";
+ if($info_mirs['logo']=="") echo "&mdash;";
+ else echo "<img src='".$imgdir.$info_mirs['logo']."' width='16' height='16' alt='logo'>";
+ echo "</td><td><a href='".$info_mirs['src_url']."'>".$info_mirs['src_name']."</a></td><td>".$info_mirs['description']."</td>\n";
+
+ $distrs =& $db->query("SELECT * FROM apt_distrs");
+ echo "<td>";
+ while ($distrs->fetchInto($info_distrs, DB_FETCHMODE_ASSOC)) {
+
+ $vers =& $db->query("SELECT * FROM apt_vers JOIN apt_reps2vers ON apt_vers.id=apt_reps2vers.ver_id WHERE distr_id=".$info_distrs['id']." AND rep_id=".$info_mirs['id']);
+ if ($vers->numRows()!=0) {
+ echo "<img src='".$info_distrs['logo']."' alt='logo'>".$info_distrs['distr'].": ";
+ while ($vers->fetchInto($info_vers, DB_FETCHMODE_ASSOC)) {
+ echo $info_vers['codename']." ";
+ }
+ echo "<br>";
+ }
+ }
+ echo "</td>";
+
+ echo "</tr>";
+ }
+ echo "</table>\n";
+?>
Index: custom/apt/ico/winehq.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: custom/apt/ico/winehq.png
===================================================================
--- custom/apt/ico/winehq.png (revision 0)
+++ custom/apt/ico/winehq.png (revision 207)
/custom/apt/ico/winehq.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: custom/apt/ico/opera.ico
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: custom/apt/ico/opera.ico
===================================================================
--- custom/apt/ico/opera.ico (revision 0)
+++ custom/apt/ico/opera.ico (revision 207)
/custom/apt/ico/opera.ico
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: custom/apt/ico/canonical.ico
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: custom/apt/ico/canonical.ico
===================================================================
--- custom/apt/ico/canonical.ico (revision 0)
+++ custom/apt/ico/canonical.ico (revision 207)
/custom/apt/ico/canonical.ico
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: custom/apt/ico/debian-multimedia.ico
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: custom/apt/ico/debian-multimedia.ico
===================================================================
--- custom/apt/ico/debian-multimedia.ico (revision 0)
+++ custom/apt/ico/debian-multimedia.ico (revision 207)
/custom/apt/ico/debian-multimedia.ico
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: custom/apt/ico/medibuntu.ico
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: custom/apt/ico/medibuntu.ico
===================================================================
--- custom/apt/ico/medibuntu.ico (revision 0)
+++ custom/apt/ico/medibuntu.ico (revision 207)
/custom/apt/ico/medibuntu.ico
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: custom/apt/ico/playonlinux.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: custom/apt/ico/playonlinux.png
===================================================================
--- custom/apt/ico/playonlinux.png (revision 0)
+++ custom/apt/ico/playonlinux.png (revision 207)
/custom/apt/ico/playonlinux.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: custom/apt/ico/infralinux.ico
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: custom/apt/ico/infralinux.ico
===================================================================
--- custom/apt/ico/infralinux.ico (revision 0)
+++ custom/apt/ico/infralinux.ico (revision 207)
/custom/apt/ico/infralinux.ico
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: custom/apt/ico/virtualbox.ico
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: custom/apt/ico/virtualbox.ico
===================================================================
--- custom/apt/ico/virtualbox.ico (revision 0)
+++ custom/apt/ico/virtualbox.ico (revision 207)
/custom/apt/ico/virtualbox.ico
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: custom/apt/ico/gfoss.ico
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: custom/apt/ico/gfoss.ico
===================================================================
--- custom/apt/ico/gfoss.ico (revision 0)
+++ custom/apt/ico/gfoss.ico (revision 207)
/custom/apt/ico/gfoss.ico
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: custom/apt/ico/debian.ico
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: custom/apt/ico/debian.ico
===================================================================
--- custom/apt/ico/debian.ico (revision 0)
+++ custom/apt/ico/debian.ico (revision 207)
/custom/apt/ico/debian.ico
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: custom/apt/ico/ubuntu.ico
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: custom/apt/ico/ubuntu.ico
===================================================================
--- custom/apt/ico/ubuntu.ico (revision 0)
+++ custom/apt/ico/ubuntu.ico (revision 207)
/custom/apt/ico/ubuntu.ico
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: custom/apt/ico/2gis.ico
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: custom/apt/ico/2gis.ico
===================================================================
--- custom/apt/ico/2gis.ico (revision 0)
+++ custom/apt/ico/2gis.ico (revision 207)
/custom/apt/ico/2gis.ico
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: custom/apt/debian.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: custom/apt/debian.png
===================================================================
--- custom/apt/debian.png (revision 0)
+++ custom/apt/debian.png (revision 207)
/custom/apt/debian.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: custom/apt/ubuntu.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: custom/apt/ubuntu.png
===================================================================
--- custom/apt/ubuntu.png (revision 0)
+++ custom/apt/ubuntu.png (revision 207)
/custom/apt/ubuntu.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: details.php
===================================================================
--- details.php (revision 0)
+++ details.php (revision 207)
@@ -0,0 +1,27 @@
+<?php
+ require_once dirname(__FILE__)."/lib/init.php";
+ include "./inc/header.htm";
+
+$res = abs(intval($_GET["res"]));
+
+ $ress =& $db->query("SELECT * FROM resources JOIN members ON resources.member_id=members.id WHERE resources.id=".$res);
+ while ($ress->fetchInto($info_ress, DB_FETCHMODE_ASSOC)) {
+ echo "<div id='infocard' class='".$info_ress['resource']."'>\n";
+// echo "<a href='.'>niX-FILES</a>";
+// echo " :: <a href='.".$_SERVER['PHP_SELF']."'>ресурсы</a>";
+// echo " :: <a href='.".$_SERVER['PHP_SELF']."?".$_SERVER['QUERY_STRING']."'>".$info_ress['resource']."</a>";
+ echo " <h4>".$info_ress['resource']."</h4>\n";
+ echo " <p>".$info_ress['description']."</p>\n";
+ echo " <ul id='infolink'>\n";
+ echo " <li class='owner'>Куратор: <a href='./members.php?memb=".$info_ress['member_id']."'>".$info_ress['nick']."</a></li>\n";
+ echo " <li><a href='".$info_ress['link_res']."'>Ссылка</a></li>\n";
+ echo " <li><a href='".$info_ress['link_talk']."'>Обсуждение</a></li>\n";
+ echo " </ul><br>\n";
+ echo "</div>\n";
+ if ($info_ress['custom']!=null) {
+ include "./custom/".$info_ress['custom'];
+ }
+ }
+
+ include "./inc/footer.htm";
+?>
Index: img/state/snowflake.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/state/snowflake.png
===================================================================
--- img/state/snowflake.png (revision 0)
+++ img/state/snowflake.png (revision 207)
/img/state/snowflake.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/state/tick_green.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/state/tick_green.png
===================================================================
--- img/state/tick_green.png (revision 0)
+++ img/state/tick_green.png (revision 207)
/img/state/tick_green.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/state/tick_gray.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/state/tick_gray.png
===================================================================
--- img/state/tick_gray.png (revision 0)
+++ img/state/tick_gray.png (revision 207)
/img/state/tick_gray.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/state/tick_gold.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/state/tick_gold.png
===================================================================
--- img/state/tick_gold.png (revision 0)
+++ img/state/tick_gold.png (revision 207)
/img/state/tick_gold.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/state/unknown.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/state/unknown.png
===================================================================
--- img/state/unknown.png (revision 0)
+++ img/state/unknown.png (revision 207)
/img/state/unknown.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/state/tick_blue.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/state/tick_blue.png
===================================================================
--- img/state/tick_blue.png (revision 0)
+++ img/state/tick_blue.png (revision 207)
/img/state/tick_blue.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/state/tick_red.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/state/tick_red.png
===================================================================
--- img/state/tick_red.png (revision 0)
+++ img/state/tick_red.png (revision 207)
/img/state/tick_red.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/devel.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/devel.png
===================================================================
--- img/devel.png (revision 0)
+++ img/devel.png (revision 207)
/img/devel.png
Изменения свойств:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/wiki.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/wiki.png
===================================================================
--- img/wiki.png (revision 0)
+++ img/wiki.png (revision 207)
/img/wiki.png
Изменения свойств:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/net/network-big.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/net/network-big.png
===================================================================
--- img/net/network-big.png (revision 0)
+++ img/net/network-big.png (revision 207)
/img/net/network-big.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/net/network.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/net/network.png
===================================================================
--- img/net/network.png (revision 0)
+++ img/net/network.png (revision 207)
/img/net/network.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/net/inteleca.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/net/inteleca.png
===================================================================
--- img/net/inteleca.png (revision 0)
+++ img/net/inteleca.png (revision 207)
/img/net/inteleca.png
Изменения свойств:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/nf.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/nf.png
===================================================================
--- img/nf.png (revision 0)
+++ img/nf.png (revision 207)
/img/nf.png
Изменения свойств:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/track.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/track.png
===================================================================
--- img/track.png (revision 0)
+++ img/track.png (revision 207)
/img/track.png
Изменения свойств:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/svn.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/svn.png
===================================================================
--- img/svn.png (revision 0)
+++ img/svn.png (revision 207)
/img/svn.png
Изменения свойств:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/contact/go-home.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/contact/go-home.png
===================================================================
--- img/contact/go-home.png (revision 0)
+++ img/contact/go-home.png (revision 207)
/img/contact/go-home.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/contact/jabber_protocol.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/contact/jabber_protocol.png
===================================================================
--- img/contact/jabber_protocol.png (revision 0)
+++ img/contact/jabber_protocol.png (revision 207)
/img/contact/jabber_protocol.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/logo/gentoo-big.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/logo/gentoo-big.png
===================================================================
--- img/logo/gentoo-big.png (revision 0)
+++ img/logo/gentoo-big.png (revision 207)
/img/logo/gentoo-big.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/logo/gentoo.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/logo/gentoo.png
===================================================================
--- img/logo/gentoo.png (revision 0)
+++ img/logo/gentoo.png (revision 207)
/img/logo/gentoo.png
Изменения свойств:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/logo/archlinux-big.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/logo/archlinux-big.png
===================================================================
--- img/logo/archlinux-big.png (revision 0)
+++ img/logo/archlinux-big.png (revision 207)
/img/logo/archlinux-big.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/logo/mans-big.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/logo/mans-big.png
===================================================================
--- img/logo/mans-big.png (revision 0)
+++ img/logo/mans-big.png (revision 207)
/img/logo/mans-big.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/logo/archlinux.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/logo/archlinux.png
===================================================================
--- img/logo/archlinux.png (revision 0)
+++ img/logo/archlinux.png (revision 207)
/img/logo/archlinux.png
Изменения свойств:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/logo/mans.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/logo/mans.png
===================================================================
--- img/logo/mans.png (revision 0)
+++ img/logo/mans.png (revision 207)
/img/logo/mans.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/logo/altlinux-big.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/logo/altlinux-big.png
===================================================================
--- img/logo/altlinux-big.png (revision 0)
+++ img/logo/altlinux-big.png (revision 207)
/img/logo/altlinux-big.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/logo/mandriva-big.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/logo/mandriva-big.png
===================================================================
--- img/logo/mandriva-big.png (revision 0)
+++ img/logo/mandriva-big.png (revision 207)
/img/logo/mandriva-big.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/logo/altlinux.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/logo/altlinux.png
===================================================================
--- img/logo/altlinux.png (revision 0)
+++ img/logo/altlinux.png (revision 207)
/img/logo/altlinux.png
Изменения свойств:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/logo/mandriva.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/logo/mandriva.png
===================================================================
--- img/logo/mandriva.png (revision 0)
+++ img/logo/mandriva.png (revision 207)
/img/logo/mandriva.png
Изменения свойств:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/logo/dicts-big.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/logo/dicts-big.png
===================================================================
--- img/logo/dicts-big.png (revision 0)
+++ img/logo/dicts-big.png (revision 207)
/img/logo/dicts-big.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/logo/dicts.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/logo/dicts.png
===================================================================
--- img/logo/dicts.png (revision 0)
+++ img/logo/dicts.png (revision 207)
/img/logo/dicts.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/logo/freebsd-big.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/logo/freebsd-big.png
===================================================================
--- img/logo/freebsd-big.png (revision 0)
+++ img/logo/freebsd-big.png (revision 207)
/img/logo/freebsd-big.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/logo/fail-big.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/logo/fail-big.png
===================================================================
--- img/logo/fail-big.png (revision 0)
+++ img/logo/fail-big.png (revision 207)
/img/logo/fail-big.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/logo/freebsd.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/logo/freebsd.png
===================================================================
--- img/logo/freebsd.png (revision 0)
+++ img/logo/freebsd.png (revision 207)
/img/logo/freebsd.png
Изменения свойств:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/logo/fail.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/logo/fail.png
===================================================================
--- img/logo/fail.png (revision 0)
+++ img/logo/fail.png (revision 207)
/img/logo/fail.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/logo/debian-big.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/logo/debian-big.png
===================================================================
--- img/logo/debian-big.png (revision 0)
+++ img/logo/debian-big.png (revision 207)
/img/logo/debian-big.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/logo/debian.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/logo/debian.png
===================================================================
--- img/logo/debian.png (revision 0)
+++ img/logo/debian.png (revision 207)
/img/logo/debian.png
Изменения свойств:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/logo/www-big.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/logo/www-big.png
===================================================================
--- img/logo/www-big.png (revision 0)
+++ img/logo/www-big.png (revision 207)
/img/logo/www-big.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/logo/www.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/logo/www.png
===================================================================
--- img/logo/www.png (revision 0)
+++ img/logo/www.png (revision 207)
/img/logo/www.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/logo/ftp-big.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/logo/ftp-big.png
===================================================================
--- img/logo/ftp-big.png (revision 0)
+++ img/logo/ftp-big.png (revision 207)
/img/logo/ftp-big.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/logo/ftp.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/logo/ftp.png
===================================================================
--- img/logo/ftp.png (revision 0)
+++ img/logo/ftp.png (revision 207)
/img/logo/ftp.png
Изменения свойств:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/mail.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/mail.png
===================================================================
--- img/mail.png (revision 0)
+++ img/mail.png (revision 207)
/img/mail.png
Изменения свойств:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/act/delete.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/act/delete.png
===================================================================
--- img/act/delete.png (revision 0)
+++ img/act/delete.png (revision 207)
/img/act/delete.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/act/edit.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/act/edit.png
===================================================================
--- img/act/edit.png (revision 0)
+++ img/act/edit.png (revision 207)
/img/act/edit.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/act/add.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/act/add.png
===================================================================
--- img/act/add.png (revision 0)
+++ img/act/add.png (revision 207)
/img/act/add.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/cat/info.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/cat/info.png
===================================================================
--- img/cat/info.png (revision 0)
+++ img/cat/info.png (revision 207)
/img/cat/info.png
Изменения свойств:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/cat/stat.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/cat/stat.png
===================================================================
--- img/cat/stat.png (revision 0)
+++ img/cat/stat.png (revision 207)
/img/cat/stat.png
Изменения свойств:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/cat/file.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/cat/file.png
===================================================================
--- img/cat/file.png (revision 0)
+++ img/cat/file.png (revision 207)
/img/cat/file.png
Изменения свойств:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/cat/repo.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/cat/repo.png
===================================================================
--- img/cat/repo.png (revision 0)
+++ img/cat/repo.png (revision 207)
/img/cat/repo.png
Изменения свойств:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/main.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/main.png
===================================================================
--- img/main.png (revision 0)
+++ img/main.png (revision 207)
/img/main.png
Изменения свойств:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/jabber.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/jabber.png
===================================================================
--- img/jabber.png (revision 0)
+++ img/jabber.png (revision 207)
/img/jabber.png
Изменения свойств:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/custom/apt-source.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/custom/apt-source.png
===================================================================
--- img/custom/apt-source.png (revision 0)
+++ img/custom/apt-source.png (revision 207)
/img/custom/apt-source.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/custom/apt-key.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/custom/apt-key.png
===================================================================
--- img/custom/apt-key.png (revision 0)
+++ img/custom/apt-key.png (revision 207)
/img/custom/apt-key.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/srv/hdd.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/srv/hdd.png
===================================================================
--- img/srv/hdd.png (revision 0)
+++ img/srv/hdd.png (revision 207)
/img/srv/hdd.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/srv/ram.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/srv/ram.png
===================================================================
--- img/srv/ram.png (revision 0)
+++ img/srv/ram.png (revision 207)
/img/srv/ram.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/srv/server-big.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/srv/server-big.png
===================================================================
--- img/srv/server-big.png (revision 0)
+++ img/srv/server-big.png (revision 207)
/img/srv/server-big.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/srv/server.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/srv/server.png
===================================================================
--- img/srv/server.png (revision 0)
+++ img/srv/server.png (revision 207)
/img/srv/server.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/srv/cpu.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/srv/cpu.png
===================================================================
--- img/srv/cpu.png (revision 0)
+++ img/srv/cpu.png (revision 207)
/img/srv/cpu.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/srv/admin.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/srv/admin.png
===================================================================
--- img/srv/admin.png (revision 0)
+++ img/srv/admin.png (revision 207)
/img/srv/admin.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/forum.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/forum.png
===================================================================
--- img/forum.png (revision 0)
+++ img/forum.png (revision 207)
/img/forum.png
Изменения свойств:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/avatar/firstleon.jpg
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/avatar/firstleon.jpg
===================================================================
--- img/avatar/firstleon.jpg (revision 0)
+++ img/avatar/firstleon.jpg (revision 207)
/img/avatar/firstleon.jpg
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/avatar/mistiman.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/avatar/mistiman.png
===================================================================
--- img/avatar/mistiman.png (revision 0)
+++ img/avatar/mistiman.png (revision 207)
/img/avatar/mistiman.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/avatar/razum2um.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/avatar/razum2um.png
===================================================================
--- img/avatar/razum2um.png (revision 0)
+++ img/avatar/razum2um.png (revision 207)
/img/avatar/razum2um.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/avatar/diffor.jpg
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/avatar/diffor.jpg
===================================================================
--- img/avatar/diffor.jpg (revision 0)
+++ img/avatar/diffor.jpg (revision 207)
/img/avatar/diffor.jpg
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/avatar/slipknot8.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/avatar/slipknot8.gif
===================================================================
--- img/avatar/slipknot8.gif (revision 0)
+++ img/avatar/slipknot8.gif (revision 207)
/img/avatar/slipknot8.gif
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/avatar/spscream.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/avatar/spscream.png
===================================================================
--- img/avatar/spscream.png (revision 0)
+++ img/avatar/spscream.png (revision 207)
/img/avatar/spscream.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/avatar/ik.jpg
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/avatar/ik.jpg
===================================================================
--- img/avatar/ik.jpg (revision 0)
+++ img/avatar/ik.jpg (revision 207)
/img/avatar/ik.jpg
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/avatar/yamah.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/avatar/yamah.png
===================================================================
--- img/avatar/yamah.png (revision 0)
+++ img/avatar/yamah.png (revision 207)
/img/avatar/yamah.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: valid-html40-blue.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: valid-html40-blue.png
===================================================================
--- valid-html40-blue.png (revision 0)
+++ valid-html40-blue.png (revision 207)
/valid-html40-blue.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: servers.php
===================================================================
--- servers.php (revision 0)
+++ servers.php (revision 207)
@@ -0,0 +1,51 @@
+<?php
+ require_once dirname(__FILE__)."/lib/init.php";
+ include "./inc/header.htm";
+
+$srv = abs(intval($_GET["srv"]));
+
+if($srv==0) {
+ $srvs =& $db->query("SELECT * FROM members JOIN servers ON servers.member_id=members.id");
+ echo "<table>";
+ echo "<tr>";
+ echo "<th>Сервер</th><th>ТТХ</th><th>Админ</th><th>IP</th>\n";
+ while ($srvs->fetchInto($info_srvs, DB_FETCHMODE_ASSOC)) {
+ echo "<tr>";
+ echo "<td><a href='./servers.php?srv=".$info_srvs['id']."'>".$info_srvs['server']."</a></td>\n";
+ echo "<td>";
+ echo "<img src='./img/srv/cpu.png' alt='cpu'>".$info_srvs['cpu']."<br>";
+ echo "<img src='./img/srv/ram.png' alt='ram'>".$info_srvs['ram']."<br>";
+ echo "<img src='./img/srv/hdd.png' alt='hdd'>".$info_srvs['hdd'];
+ echo "</td>\n";
+ echo "<td><a href='./members.php?memb=".$info_srvs['member_id']."'>".$info_srvs['nick']."</a></td>\n";
+ $ips =& $db->query("SELECT * FROM ips WHERE server_id=".$info_srvs['id']);
+ echo "<td>";
+ while ($ips->fetchInto($info_ips, DB_FETCHMODE_ASSOC)) {
+ echo $info_ips['ip']."<br>";
+ }
+ echo "</td>";
+ }
+ echo "</table>\n";
+}
+else {
+ $srvs =& $db->query("SELECT * FROM members JOIN servers ON servers.member_id=members.id WHERE servers.id=".$srv);
+ while ($srvs->fetchInto($info_srvs, DB_FETCHMODE_ASSOC)) {
+ echo "<div id='infocard' class='server-ic'><h4>".$info_srvs['server']."</h4>\n";
+ echo "<p class='admin'><a href='./members.php?memb=".$info_srvs['member_id']."'>".$info_srvs['nick']."</a></p>";
+ $ips =& $db->query("SELECT * FROM ips JOIN networks ON ips.network_id=networks.id WHERE server_id=".$info_srvs['id']);
+ while ($ips->fetchInto($info_ips, DB_FETCHMODE_ASSOC)) {
+ echo "<p class='network'>".$info_ips['ip']." <a href='./networks.php?net=".$info_ips['network_id']."'>".$info_ips['network']."</a></p><br>";
+ }
+ echo "<p class='cpu'>".$info_srvs['cpu']."</p>";
+ echo "<p class='ram'>".$info_srvs['ram']."</p>";
+
+ $hdds = explode(":", $info_srvs['hdd']);
+ for ($i = 0; $i < sizeof ($hdds); $i++) {
+ echo "<p class='hdd'>".$hdds[$i]."</p>";
+ }
+ echo "</div><div class='clear'>&nbsp;</div>";
+ }
+}
+
+ include "./inc/footer.htm";
+?>
Index: members.php
===================================================================
--- members.php (revision 0)
+++ members.php (revision 207)
@@ -0,0 +1,59 @@
+<?php
+ require_once dirname(__FILE__)."/lib/init.php";
+ include "./inc/header.htm";
+
+$memb = abs(intval($_GET["memb"]));
+
+if($memb==0) {
+ $mems =& $db->query("SELECT * FROM members");
+ echo "<table>";
+ echo "<tr>";
+ echo "<th>Ник</th><th>Аватар</th><th>Контакты</th><th>Куратор</th><th>Админ</th>\n";
+ while ($mems->fetchInto($info_mems, DB_FETCHMODE_ASSOC)) {
+ echo "<tr><td><a href='./members.php?memb=".$info_mems['id']."'>".$info_mems['nick']."</a></td>\n";
+ echo "<td><img src='".$info_mems['avatar']."' alt='avatar'></td><td><img src='./img/contact/jabber_protocol.png' alt='Jabber' title='Jabber'>".$info_mems['jabber']."</td>\n";
+
+ echo "<td>";
+ $ress =& $db->query("SELECT * FROM resources WHERE member_id=".$info_mems['id']);
+ while ($ress->fetchInto($info_ress, DB_FETCHMODE_ASSOC)) {
+ echo "<img src='".$info_ress['picture']."' alt='".$info_ress['resource']."'> <a href='./details.php?res=".$info_ress["id"]."'>".$info_ress['resource']."</a><br>";
+ }
+ echo "</td>";
+ echo "<td>";
+ $srvs =& $db->query("SELECT * FROM servers WHERE member_id=".$info_mems['id']);
+ if ($srvs->numRows()==0)
+ echo "&mdash;";
+ else
+ while ($srvs->fetchInto($info_srvs, DB_FETCHMODE_ASSOC)) {
+ echo "<a href='./servers.php?srv=".$info_srvs['id']."'>".$info_srvs['server']."</a>";
+ }
+ echo "</td>\n";
+ echo "</tr>\n";
+ }
+ echo "</table>";
+}
+else {
+ $mems =& $db->query("SELECT * FROM members WHERE id=".$memb);
+ while ($mems->fetchInto($info_mems, DB_FETCHMODE_ASSOC)) {
+ echo "<div id='infocard-member' class='avatar-id-".$info_mems['id']."'><h4>".$info_mems['nick']."</h4>\n";
+ echo "<p class='fio'>".$info_mems['fio']."</p>\n";
+ echo "<p class='jabber'>".$info_mems['jabber']."</p>\n";
+ echo "<p class='homepage'><a href='".$info_mems['homepage']."'>".$info_mems['homepage']."</a></p>\n";
+// echo "<p class='icq'>".$info_mems['icq']."</p>\n";
+ echo "<div class='owners'><p><strong>Курирует:</strong> ";
+ $ress =& $db->query("SELECT * FROM resources WHERE member_id=".$memb);
+ while ($ress->fetchInto($info_ress, DB_FETCHMODE_ASSOC)) {
+ echo "<span class='".$info_ress['resource']."-small'><a href='./details.php?res=".$info_ress["id"]."'>".$info_ress['resource']."</a></span>";
+ }
+ echo "</p></div>";
+ echo "<div class='admins'><p><strong>Администрирует:</strong> ";
+ $srvs =& $db->query("SELECT * FROM servers WHERE member_id=".$memb);
+ while ($srvs->fetchInto($info_srvs, DB_FETCHMODE_ASSOC)) {
+ echo "<span class='server'><a href='./servers.php?srv=".$info_srvs['id']."'>".$info_srvs['server']."</a></span>";
+ }
+ echo "</p></div></div>";
+ }
+}
+
+ include "./inc/footer.htm";
+?>