";
}
mysql_close($linkdb);
}
function show_prg_cancel($id)
{
$db_name="workshop";
$linkdb=open_db($db_name);
$q_ws="select id_reg, title, prez_src, prez_time, prez_author from ws_ro_05 where pres_yn='0' and id_reg=$id" ;
$rq_ws=mysql_query($q_ws);
while($row_q_ws=mysql_fetch_row($rq_ws)){
echo "
$row_q_ws[3]
$row_q_ws[4]
$row_q_ws[1]
Cancelled
";
}
mysql_close($linkdb);
}
function work_group($id_grp)
{
$db_name="workshop";
$linkdb=open_db($db_name);
$q_ws="select groups.grp_name, membri.name from groups, membri, work_grp where (groups.id_grp=$id_grp and groups.id_grp=work_grp.id_grp) and work_grp.id_membru=membri.id order by membri.name";
$rq_ws=mysql_query($q_ws);
while($row_q_ws=mysql_fetch_row($rq_ws)){
$membr=$membr.' '.$row_q_ws[1]. '; ';
}
echo "