Subversion Repositories www_nix-files

Rev

Rev 206 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 206 Rev 207
Line 36... Line 36...
36
        $mems =& $db->query("SELECT * FROM members WHERE id=".$memb);
36
        $mems =& $db->query("SELECT * FROM members WHERE id=".$memb);
37
        while ($mems->fetchInto($info_mems, DB_FETCHMODE_ASSOC)) {
37
        while ($mems->fetchInto($info_mems, DB_FETCHMODE_ASSOC)) {
38
            echo "<div id='infocard-member' class='avatar-id-".$info_mems['id']."'><h4>".$info_mems['nick']."</h4>\n";
38
            echo "<div id='infocard-member' class='avatar-id-".$info_mems['id']."'><h4>".$info_mems['nick']."</h4>\n";
39
            echo "<p class='fio'>".$info_mems['fio']."</p>\n";
39
            echo "<p class='fio'>".$info_mems['fio']."</p>\n";
40
            echo "<p class='jabber'>".$info_mems['jabber']."</p>\n";
40
            echo "<p class='jabber'>".$info_mems['jabber']."</p>\n";
41
            echo "<p class='homepage'>".$info_mems['homepage']."</p>\n";
41
            echo "<p class='homepage'><a href='".$info_mems['homepage']."'>".$info_mems['homepage']."</a></p>\n";
42
//        echo "<p class='icq'>".$info_mems['icq']."</p>\n";
42
//        echo "<p class='icq'>".$info_mems['icq']."</p>\n";
43
            echo "<div class='owners'><p><strong>Курирует:</strong> ";
43
            echo "<div class='owners'><p><strong>Курирует:</strong> ";
44
            $ress =& $db->query("SELECT * FROM resources WHERE member_id=".$memb);
44
            $ress =& $db->query("SELECT * FROM resources WHERE member_id=".$memb);
45
            while ($ress->fetchInto($info_ress, DB_FETCHMODE_ASSOC)) {
45
            while ($ress->fetchInto($info_ress, DB_FETCHMODE_ASSOC)) {
46
                echo "<span class='".$info_ress['resource']."-small'><a href='./details.php?res=".$info_ress["id"]."'>".$info_ress['resource']."</a></span>";
46
                echo "<span class='".$info_ress['resource']."-small'><a href='./details.php?res=".$info_ress["id"]."'>".$info_ress['resource']."</a></span>";