コード例 #1
0
?>
            </th>
        </tr>

        <?php 
foreach ($arrGuru as $guru) {
    $color = isset($guru->guru_color) ? $guru->guru_color : "#ff0000";
    ?>
            <tr>
                <td class="tsTable">
                    <div class="circleme" style="background-color:<?php 
    echo $color;
    ?>
;"></div>
                    <?php 
    Action::getLink($guru, "Schoolsetup");
    ?>
                </td>
                <td>
                    <?php 
    if (isset($hrPerGuru[$guru->guru_id])) {
        ?>
                        <div class="mjEinzel">
                            <span class="tsTable"><?php 
        echo Lang::t('Homeroom');
        ?>
</span>
                            <small><?php 
        echo $hrPerGuru[$guru->guru_id]->kelas_name;
        ?>
</small>
コード例 #2
0
    echo count($muridKelas);
    ?>
                </div>
            <?php 
    foreach ($muridKelas as $murid) {
        ?>
                <div class="row muridkelas">
                    <a href id="del_<?php 
        echo $murid->mk_id;
        ?>
"><?php 
        echo Lang::t('<<');
        ?>
</a>
                    &nbsp;&nbsp;&nbsp; <?php 
        Action::getLink($murid, "Studentsetup");
        ?>
                </div>


                <script type="text/javascript">
                    $("#del_<?php 
        echo $murid->mk_id;
        ?>
").click(function () {
                        event.preventDefault();
                        $.get('<?php 
        echo _SPPATH;
        ?>
StudentSetup/del_murid_kelas?mk_id=<?php 
        echo $murid->mk_id;
コード例 #3
0
                <tr class="mjGroup">
                    <td colspan="<?php 
    echo count($kelas) + 1;
    ?>
"><?php 
    echo $group;
    ?>
</td>
                </tr>
                <?php 
    ksort($arrMp);
    foreach ($arrMp as $mpname => $kelases) {
        ?>
                    <tr>
                        <td class="mjMpName"><?php 
        Action::getLink($arrObjs[$mpname], "Schoolsetup");
        ?>
</td>
                        <?php 
        ksort($kelases);
        foreach ($kelases as $kelasname => $mj) {
            $load = 0;
            if (isset($mj)) {
                $load = 1;
                $color = isset($mj->guru_color) ? $mj->guru_color : "#ff0000";
                ?>
                            <td data-toggle="modal" data-target="#myModal" id="tmj_<?php 
                echo $totalcolom;
                ?>
"
                                style="background-color:<?php