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

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

Не учитывать пробелы Редакция 89 → Редакция 90

/trunk/css-gen.php
14,8 → 14,20
echo ".".$info_ress['resource']." {\n";
echo " background: transparent url(".$pictcha.") top left no-repeat;\n";
echo "}\n";
echo ".".$info_ress['resource']." {\n";
echo " background: transparent url(".$info_ress['picture'].") top left no-repeat;\n"
echo " padding-left: 25px;\nline-height:24px;\n";
echo "}\n";
}
break;
case 'members':
$ress =& $db->query("SELECT * FROM members");
while ($ress->fetchInto($info_ress, DB_FETCHMODE_ASSOC)) {
echo ".".$info_ress['nick']." {\n";
echo " background: transparent url(".$info_ress['avatar'].") top left no-repeat;\n";
echo "}\n";
}
break;
}
 
 
/trunk/nix-files.css
1,4 → 1,5
@import url(./details-addon.css);
@import url(./members-addon.css);
 
body {
text-align: center;
/trunk/members-addon.css
Новый файл
0,0 → 1,29
#infocard {
width: 400px;
text-align: left;
padding-left: 135px;
margin: 10px auto;
height: 13330px;
}
 
#infocard h4 {
font: 24pt/25pt Georgia;
margin: 0;
}
 
.jabber {
padding-left: 25px;
line-height: 24px;
background: transparent url(./img/contact/jabber_protocol.png) top left no-repeat;
}
 
.owner ul {
margin: 0;
padding: 0;
list-style: none;
}
 
.owner ul li {
display: block;
float: left;
}
/trunk/inc/header.htm
8,6 → 8,7
<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>
/trunk/members.php
35,22 → 35,21
else {
$mems =& $db->query("SELECT * FROM members WHERE id=".$memb);
while ($mems->fetchInto($info_mems, DB_FETCHMODE_ASSOC)) {
echo "<h2>".$info_mems['nick']."</h2>\n";
echo "<h2>".$info_mems['fio']."</h2>\n";
echo "<img src='".$info_mems['avatar']."' alt='avatar'><br>\n";
echo "<img src='./img/contact/jabber_protocol.png' alt='Jabber' title='Jabber'>".$info_mems['jabber']."<br>\n";
echo "<br>Курирует:<br> | ";
echo "<div id='infocard' class='".$info_mems['nick']."-avatar'><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='owners'>Курирует: <ul>";
$ress =& $db->query("SELECT * FROM resources WHERE member_id=".$memb);
while ($ress->fetchInto($info_ress, DB_FETCHMODE_ASSOC)) {
echo "<img src='".$info_ress['picture']."'> <a href='./details.php?res=".$info_ress["id"]."'>".$info_ress['resource']."</a> | ";
echo "<li class='".$info_ress['resource']."-small'><a href='./details.php?res=".$info_ress["id"]."'>".$info_ress['resource']."</a></li>";
}
echo "<br>";
echo "<br>Администрирует:<br> | ";
echo "</ul></p>";
echo "<p class='admins'>Администрирует: <ul> ";
$srvs =& $db->query("SELECT * FROM servers WHERE member_id=".$memb);
while ($srvs->fetchInto($info_srvs, DB_FETCHMODE_ASSOC)) {
echo "<a href='./servers.php?srv=".$info_srvs['id']."'>".$info_srvs['server']."</a> |<br>";
echo "<li><a href='./servers.php?srv=".$info_srvs['id']."'>".$info_srvs['server']."</a></li>";
}
echo "</ul></p></div>";
}
}