Пример #1
0
 public function myClassWall($timeline)
 {
     $ta = TahunAjaran::ta();
     $kelas = Account::getMyKelas($ta);
     //pr($murid);
     //pr($kelas);
     $_GET['klsid'] = $kelas->kelas_id;
     $_GET['muridview'] = 1;
     //die();
     //if($timeline && !is_array($timeline));
     $ww = new Wallweb();
     $ww->all_class_wall("myClassWall");
 }
Пример #2
0
        <?php 
if (Account::getMyRole() == "murid") {
    ?>
            <div id="myClassWall" class="widgetBig">
                <?php 
    $mw = new Muridweb();
    $mw->myClassWall($timeline = 1);
    ?>
            </div>
        <?php 
} else {
    ?>
            <div id="all_class_wall" class="widgetBig">
                <?php 
    $wall = new Wallweb();
    $wall->limit = 10;
    $wall->schoolwall(1);
    ?>
            </div>
        <?php 
}
?>
    </div>
    <div class="col-md-4 visible-md-block visible-lg-block">
        <?php 
if (Account::getMyRole() == "murid") {
    ?>
            <div id="myHomeroomTeacher" class="widget visible-md-block visible-lg-block">
                <?php 
    $wid = new Widget();