Example #1
0
function Skin_List($flag, $RCD, $i, $NoticeFlag)
{
    global $table, $bbs, $gSkinImg;
    global $isRoot, $isAdmin, $gSkinImg, $Vauth, $ViewPerm, $Field_Arr;
    switch ($flag) {
        case 0:
            //번호
            echo "<td>";
            echo Skin_Number($i, $NoticeFlag);
            echo "</td>";
            break;
        case 1:
            //체크박스
            echo "<td>";
            echo Skin_MultiCheck($RCD[BB_UID]);
            echo "</td>";
            break;
        case 2:
            //첨부파일
            echo "<td>";
            echo Skin_Upfile($RCD[BB_FILE], $RCD[BB_LINK], $RCD[BB_DOWN], $RCD[BB_UID], $RCD[BB_MB_ID]);
            echo "</td>";
            break;
        case 3:
            //카테고리
            echo "<td>";
            //echo Skin_Category($RCD[BB_CATEGORY]);
            echo "</td>";
            break;
        case 4:
            //제목
            echo "<td align=left>";
            echo Skin_ReplyChk($RCD[BB_DEPTH]);
            echo Skin_SubjectLink($RCD[BB_SUBJECT], $RCD[BB_UID], $RCD[BB_SECRET], $RCD[BB_MB_ID], $RCD[BB_DATE]);
            echo Skin_ComentCheck($RCD[BB_OPINUM]);
            echo Skin_SecretCheck($RCD[BB_SECRET]);
            echo "</td>";
            break;
        case 5:
            //이름
            echo "<td align=left>";
            echo getNameType($RCD[BB_ROOT], $RCD[BB_MB_ID], $RCD[BB_NAME], $RCD[BB_EMAIL], 0, 0, 0);
            echo "</td>";
            break;
        case 6:
            //조회
            echo "<td>";
            echo number_format($RCD[BB_HIT]);
            echo "</td>";
            break;
        case 7:
            //추천
            echo "<td>";
            echo number_format($RCD[BB_REQ]);
            echo "</td>";
            break;
        case 8:
            //다운
            echo "<td>";
            echo number_format($RCD[BB_DOWN]);
            echo "</td>";
            break;
        case 9:
            //날짜
            echo "<td>";
            echo Skin_getDate($RCD[BB_DATE], ".");
            echo "</td>";
            break;
        default:
            //추가필드
            echo "<td>";
            echo stripslashes($RCD[$Field_Arr[$flag]]);
            echo "</td>";
            break;
    }
}
Example #2
0
    ?>
')</script>
		<b onclick="Skin_Listen('<?php 
    echo $RCD[BB_UID];
    ?>
')" style='cursor:pointer;'><font color='#636466'><?php 
    echo stripslashes($RCD[BB_SUBJECT]);
    ?>
</font></b>
		</td>
		<td align=left><?php 
    echo $RCD[BB_NAME];
    ?>
</td>
		<td><?php 
    echo Skin_MultiCheck($RCD[BB_UID]);
    ?>
</td>
		<td><img src='<?php 
    echo $gSkinImg;
    ?>
/ico_lsn.gif' onclick="Skin_Listen('<?php 
    echo $RCD[BB_UID];
    ?>
')" style='cursor:pointer;'></td>
		
		<?php 
    if (trim($RCD[BB_CONTENT])) {
        ?>
		<td><img src='<?php 
        echo $gSkinImg;