query($sql);
$roleinfo = $db->getRow("SELECT o_sub, to_char(o_dutyfrom, 'YYYY.MM.DD') AS o_dutyfrom, to_char(o_dutyto, 'YYYY.MM.DD') AS o_dutyto FROM member_officer WHERE o_group = '평의원' AND NOW()::DATE BETWEEN o_dutyfrom AND o_dutyto");
$o_sub = $roleinfo['o_sub'];
$o_dutyfrom = $roleinfo['o_dutyfrom'];
$o_dutyto = $roleinfo['o_dutyto'];
?>
제=$o_sub?> 평의원 (임기: =$o_dutyfrom?>~=$o_dutyto?>)