Ejemplo n.º 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;
    }
}
Ejemplo n.º 2
0
?>
/str_movie.gif'></td>
</tr>

<?php 
$i = 0;
while ($RCD = @db_fetch_array($RCD_DATA)) {
    ?>

	<?php 
    echo Skin_Line("#E3E3E3", 1, 8, false);
    ?>

	<tr height=28 style='color:gray;' align=center>
		<td><b><font color='#FF7200'><?php 
    echo Skin_Number($i);
    ?>
</font></b></td>
		<td align=left><?php 
    echo Skin_Level($RCD[BB_DOWN], $RCD[BB_REQ]);
    ?>
</td>
		<td align=left>
		<script>SkinFileIcon('<?php 
    echo $RCD[BB_FILE];
    ?>
','<?php 
    echo $RCD[BB_LINK];
    ?>
')</script>
		<b onclick="Skin_Listen('<?php