각 단체회원별로 홈페이지가 연결되어 있습니다.
단체회원 |
부서 |
단체회원 |
부서 |
$res = $db->query("SELECT affiliation, department, homepage FROM members WHERE memcode = 'T' AND mstatus = 1 ORDER BY affiliation, department");
while ($row = $res->fetchRow()) {
echo " \n";
echo " ".($row['homepage'] ? "" : '').$row['affiliation'].($row['homepage'] ? '' : '')." | \n";
echo " ".$row['department']." | \n";
$row = $res->fetchRow();
echo " ".($row['homepage'] ? "" : '').$row['affiliation'].($row['homepage'] ? '' : '')." | \n";
echo " ".$row['department']." | \n";
echo "
\n";
}
?>