예제 #1
0
        ?>
        <tr <?php 
        if ($no % 2 == 0) {
            echo "class = 'gray' ";
        }
        ?>
 >
            <?php 
        $jum_sks += $row['sks'];
        foreach ($row as $td) {
            echo "<td>{$td}</td>";
        }
        ?>
        </tr>
        <?php 
    }
    ?>
    </tbody>
    <tfoot>
        <tr class="pink">
            <td align="left" colspan="4"><i><b>IP / SKS : <?php 
    echo Sidemik::calculateIP($mahasiswa->nim, $i) . " / " . $jum_sks;
    ?>
</b></i></td>
        </tr>
    </tfoot>
</table>
<br />
<br />
<?php 
}
예제 #2
0
 public static function calculateIPK($nim)
 {
     return Sidemik::calculateIP($nim);
 }