예제 #1
0
function Skin_ParseList()
{
    global $bbs, $RCD_DATA, $LimitArr, $table, $gSkinImg, $Vauth;
    global $Field_Arr, $Seted_Arr, $Seted_Num;
    $j = $i = 0;
    $NoticeFlag = 'Notice';
    if (trim($bbs[NoticeUid])) {
        while ($RCD = db_fetch_array(getNoticeData($LimitArr[$j]))) {
            echo Skin_DotLine($i, $j, 1, $Seted_Num);
            echo "<tr height='26' align=center class='" . $NoticeFlag . "'>";
            for ($k = 0; $k < $Seted_Num; $k++) {
                Skin_List($Seted_Arr[$k], $RCD, $i, $NoticeFlag);
            }
            echo "</tr>\n\n";
            $j++;
        }
    }
    $NoticeFlag = '';
    while ($RCD = @db_fetch_array($RCD_DATA)) {
        $keys = array_pop(array_keys($LimitArr, $RCD[BB_UID]));
        if ($LimitArr[$keys]) {
            continue;
        }
        echo Skin_DotLine($i, $j, 1, $Seted_Num);
        echo "<tr height='26' align=center class='Notice'>";
        for ($k = 0; $k < $Seted_Num; $k++) {
            Skin_List($Seted_Arr[$k], $RCD, $i, $NoticeFlag);
        }
        echo "</tr>\n\n";
        $i++;
    }
}
예제 #2
0
function Skin_Gap($num, $height, $i)
{
    global $gSkinImg;
    if (!(($i + 1) % $num)) {
        return "<tr><td height='" . $height . "' colspan=2></td></tr>" . Skin_DotLine(1, 1, 1, 2) . "<tr><td height='" . $height . "' colspan=2></td></tr>";
    }
}
예제 #3
0
        echo Skin_SubjectLink($CCD[BB_SUBJECT], $CCD[BB_UID], $CCD[BB_SECRET], $CCD[BB_MB_ID], $CCD[BB_DATE]);
        echo Skin_ComentCheck($CCD[BB_OPINUM]);
        echo Skin_SecretCheck($CCD[BB_SECRET]);
        ?>
</td>

<?php 
        if (!($i % 2)) {
            ?>
</tr><tr height=23><?php 
        }
        ?>

<?php 
        $i++;
    }
    unset($i);
    ?>
<tr height=5><td colspan=2></td></tr>
<?php 
    echo Skin_DotLine(1, 1, 2, 2);
    ?>
<tr bgcolor='#efefef' align=center><td colspan=2><?php 
    Skin_Paging(1);
    ?>
</td></tr>
</table>
<p>
</div>
<?php 
}