function Sch_Upfile($files, $link, $dn, $uid, $mbid) { global $tbl, $bbs; $num = getMultiFileNum($files) + getMultiFileNum($link); if ($num) { $Enable_Down = getEnterPerm($bbs[DownloadPm], $mbid, $files, $link); //다운권한 $gvUpfileStr = $Enable_Down ? getMultiFileStr($files, "./bbs/table/" . $tbl . "/upload") : ''; //첨부파일스트링 $link = $Enable_Down ? $link : ''; $gvDownJsQue = $Enable_Down . ",'" . $gvUpfileStr . "','" . $tbl . "'," . $uid . ",'dat',2," . $num . ",'" . $link . "','" . $bbs[Skin] . "'," . $dn; $filestr = "<img src='./bbs/skin/" . $bbs[Skin] . "/image/ico_ldown.gif' STYLE='cursor:pointer;' onclick=\"showLayerUpfile({$gvDownJsQue},event);\" ALT=' 첨부파일수 : " . $num . "개(다운로드 " . $dn . ") '>"; return $filestr; } }
/btn_comment_hide.gif' align=absmiddle onclick="getCommentVisible(this);" style='cursor:pointer;'> </td> </tr> <script>Skin_Line("#DFDFDF",3,2,false)</script> </table> <!-- 코멘트 리스트 --> <div ID='Comment_Layer'> <table width=100% cellspacing=0 cellpadding=0> <?php while ($RPL = db_fetch_array($COMMENT_DATA)) { //$gvUpfileNum = getMultiFileNum($RPL[RP_FILE]);//첨부파일수 $Enable_Down = getEnterPerm($bbs[CmtDownPm], $RPL[RP_MB_ID], $RPL[RP_FILE], $RPL[RP_LINK]); //다운권한 $gvUpfileStr = $Enable_Down ? getMultiFileStr($RPL[RP_FILE], "./bbs/table/" . $table . "/upload") : ''; //첨부파일스트링 //$gvDownJsQue = $Enable_Down.",'".$gvUpfileStr."',".$gvUpfileNum.",".$RPL[RP_DOWN].",'".$table."',".$uid.",'".$bbs[Skin]."'"; ?> <tr bgcolor='#fffff1' height=35> <td> <b><?php echo getNameType($RPL[RP_ROOT], $RPL[RP_MB_ID], $RPL[RP_NAME], "", 0, 0, 0); ?> </b> <img src='./bbs/image/em/<?php echo $RPL[RP_EMOTION]; ?> .gif' align=absmiddle> </td> <td align=right>