Редакция 25 | Редакция 54 | К новейшей редакции | Содержимое файла | Сравнить с предыдущей | Последнее изменение | Открыть журнал | RSS
Редакция | Автор | № строки | Строка |
---|---|---|---|
2 | diffor | 1 | <?php |
2 | require_once dirname(__FILE__)."/lib/init.php"; |
||
3 | include "./inc/header.htm"; |
||
16 | diffor | 4 | |
5 | $res = abs(intval($_GET["res"])); |
||
6 | |||
2 | diffor | 7 | |
24 | diffor | 8 | $ress =& $db->query("SELECT * FROM resources JOIN members ON resources.member_id=members.id WHERE resources.id=".$res); |
16 | diffor | 9 | while ($ress->fetchInto($info_ress, DB_FETCHMODE_ASSOC)) { |
53 | diffor | 10 | echo "<h2>".$info_ress['resource'].".niX-FILES</h2>"; |
16 | diffor | 11 | echo $info_ress['description']."<br>"; |
25 | diffor | 12 | echo "<br>Куратор: <a href='./members.php?memb=".$info_ress['member_id']."'>".$info_ress['nick']."</a><br>"; |
16 | diffor | 13 | echo "Ссылка: <a href='".$info_ress['link_res']."'>".$info_ress['link_res']."</a><br>"; |
14 | echo "Обсуждение: <a href='".$info_ress['link_talk']."'>".$info_ress['link_talk']."</a>"; |
||
18 | diffor | 15 | if ($info_ress['custom']!=null) { |
16 | echo "<br><br>"; |
||
17 | include "./custom/".$info_ress['custom']; |
||
18 | } |
||
2 | diffor | 19 | } |
20 | diffor | 20 | |
21 | include "./inc/footer.htm"; |
||
2 | diffor | 22 | ?> |