public function block_content($context, array $blocks = array())
 {
     // line 4
     echo "<div class=\"module\">\n    <div class=\"module-head\">\n        <h3>";
     // line 6
     echo isset($context["module_title"]) ? $context["module_title"] : null;
     echo "</h3>\n    </div>\n    <div class=\"module-body\">\n        ";
     // line 9
     echo get_flashdata("mapel");
     echo "\n\n        ";
     // line 11
     echo form_open("admin/mapel/edit/" . $this->getAttribute(isset($context["mapel"]) ? $context["mapel"] : null, "id") . "/" . enurl_redirect(isset($context["uri_back"]) ? $context["uri_back"] : null), array("class" => "form-horizontal row-fluid"));
     echo "\n            <div class=\"control-group\">\n                <label class=\"control-label\">Nama <span class=\"text-error\">*</span></label>\n                <div class=\"controls\">\n                    <input type=\"text\" name=\"nama\" class=\"span8\" value=\"";
     // line 15
     echo twig_escape_filter($this->env, set_value("nama", $this->getAttribute(isset($context["mapel"]) ? $context["mapel"] : null, "nama")), "html", null, true);
     echo "\">\n                    <br>";
     // line 16
     echo form_error("nama");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Deskripsi</label>\n                <div class=\"controls\">\n                    <textarea name=\"info\" class=\"span12\" rows=\"5\">";
     // line 22
     echo set_value("info", $this->getAttribute(isset($context["mapel"]) ? $context["mapel"] : null, "info"));
     echo "</textarea>\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Status</label>\n                <div class=\"controls\">\n                    <label class=\"checkbox inline\">\n                        <input type=\"checkbox\" value=\"1\" name=\"status\" ";
     // line 29
     echo twig_escape_filter($this->env, set_checkbox("status", "1", $this->getAttribute(isset($context["mapel"]) ? $context["mapel"] : null, "aktif") == 1 ? true : false), "html", null, true);
     echo ">\n                        Aktif\n                    </label>\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <div class=\"controls\">\n                    <button type=\"submit\" class=\"btn btn-primary\">Update</button>\n                    <a href=\"";
     // line 37
     echo twig_escape_filter($this->env, isset($context["uri_back"]) ? $context["uri_back"] : null, "html", null, true);
     echo "\" class=\"btn\">Batal</a>\n                </div>\n            </div>\n        ";
     // line 40
     echo form_close();
     echo "\n\n    </div>\n</div>\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 4
     echo "<div class=\"module\">\n    <div class=\"module-head\">\n        <h3>";
     // line 6
     echo isset($context["module_title"]) ? $context["module_title"] : null;
     echo "</h3>\n    </div>\n    <div class=\"module-body\">\n        ";
     // line 9
     echo get_flashdata("kelas");
     echo "\n\n        <div class=\"panel panel-default\">\n            <div class=\"panel-heading\">\n                Tambah Kelas\n            </div>\n            <div class=\"panel-body\">\n                ";
     // line 16
     echo form_open("admin/kelas", array("class" => "form-horizontal row-fluid"));
     echo "\n                    <div class=\"control-group\">\n                        <label class=\"control-label\">Nama Kelas <span class=\"text-error\">*</span></label>\n                        <div class=\"controls\">\n                            <input type=\"text\" name=\"nama\" class=\"span5\" placeholder=\"Nama Kelas\" value=\"";
     // line 20
     echo twig_escape_filter($this->env, set_value("nama"), "html", null, true);
     echo "\">\n                            <button type=\"submit\" class=\"btn btn-primary\">Simpan</button>\n                            ";
     // line 22
     echo form_error("nama");
     echo "\n                        </div>\n                    </div>\n                ";
     // line 25
     echo form_close();
     echo "\n            </div>\n        </div>\n\n        <p><b>Note:</b> Kelas tidak dapat di hapus namun dapat di ubah menjadi tidak aktif</p>\n\n        ";
     // line 31
     echo isset($context["kelas_hirarki"]) ? $context["kelas_hirarki"] : null;
     echo "\n\n        <br>\n        <div id=\"response_update\"></div>\n        <button class=\"btn btn-primary\" id=\"update-hirarki\">Update Hirarki</button>\n    </div>\n</div>\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 8
     echo "<div class=\"module\">\n    <div class=\"module-head\">\n        <h3>Email Template</h3>\n    </div>\n    <div class=\"module-body\">\n        ";
     // line 13
     echo get_flashdata("mapel");
     echo "\n\n        ";
     // line 15
     if (is_demo_app()) {
         // line 16
         echo "            ";
         echo get_alert("warning", get_demo_msg());
         echo "\n        ";
     }
     // line 18
     echo "\n        <table class=\"table table-striped datatable\">\n            <thead>\n                <tr>\n                    <th>Nama template</th>\n                    <th width=\"15%\"></th>\n                </tr>\n            </thead>\n            <tbody>\n                ";
     // line 27
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["template"]) ? $context["template"] : null);
     foreach ($context['_seq'] as $context["_key"] => $context["e"]) {
         // line 28
         echo "                <tr>\n                    <td>";
         // line 29
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : null, "nama"), "html", null, true);
         echo "</td>\n                    <td>\n                        <a href=\"";
         // line 31
         echo twig_escape_filter($this->env, site_url("email/edit/" . $this->getAttribute(isset($context["e"]) ? $context["e"] : null, "id")), "html", null, true);
         echo "\" class=\"btn btn-default\">Edit</a>\n                    </td>\n                </tr>\n                ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['e'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 35
     echo "            </tbody>\n        </table>\n\n    </div>\n</div>\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 4
     echo "<div class=\"module\">\n    <div class=\"module-head\">\n        <h3>";
     // line 6
     echo isset($context["module_title"]) ? $context["module_title"] : null;
     echo "</h3>\n    </div>\n    <div class=\"module-body\">\n        ";
     // line 9
     echo get_flashdata("mapel");
     echo "\n\n        ";
     // line 11
     echo form_open("admin/mapel/add", array("class" => "form-horizontal row-fluid"));
     echo "\n            <div class=\"control-group\">\n                <label class=\"control-label\">Nama <span class=\"text-error\">*</span></label>\n                <div class=\"controls\">\n                    <input type=\"text\" name=\"nama\" class=\"span8\" value=\"";
     // line 15
     echo twig_escape_filter($this->env, set_value("nama"), "html", null, true);
     echo "\">\n                    <br>";
     // line 16
     echo form_error("nama");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Deskripsi</label>\n                <div class=\"controls\">\n                    <textarea name=\"info\" class=\"span12\" rows=\"5\">";
     // line 22
     echo set_value("info");
     echo "</textarea>\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <div class=\"controls\">\n                    <button type=\"submit\" class=\"btn btn-primary\">Simpan</button>\n                    <a href=\"";
     // line 28
     echo twig_escape_filter($this->env, site_url("admin/mapel"), "html", null, true);
     echo "\" class=\"btn\">Batal</a>\n                </div>\n            </div>\n        ";
     // line 31
     echo form_close();
     echo "\n\n    </div>\n</div>\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 4
     echo "<div class=\"btn-group pull-right\">\n    <a class=\"btn btn-primary btn-small\" href=\"";
     // line 5
     echo twig_escape_filter($this->env, site_url("tugas/tambah_soal/" . $this->getAttribute(isset($context["tugas"]) ? $context["tugas"] : null, "id")), "html", null, true);
     echo "\">Tambah Pertanyaan</a>\n    ";
     // line 6
     if ($this->getAttribute(isset($context["tugas"]) ? $context["tugas"] : null, "type_id") == 3) {
         // line 7
         echo "    <a class=\"btn btn-primary btn-small\" href=\"";
         echo twig_escape_filter($this->env, site_url("tugas/tambah_pilihan/" . $this->getAttribute(isset($context["tugas"]) ? $context["tugas"] : null, "id") . "/" . $this->getAttribute(isset($context["pertanyaan"]) ? $context["pertanyaan"] : null, "id")), "html", null, true);
         echo "\">Tambah Pilihan</a>\n    ";
     }
     // line 9
     echo "</div>\n\n<h4>Edit Pertanyaan ke ";
     // line 11
     echo twig_escape_filter($this->env, isset($context["no_pertanyaan"]) ? $context["no_pertanyaan"] : null, "html", null, true);
     echo "</h4>\n";
     // line 12
     echo get_flashdata("tugas");
     echo "\n\n";
     // line 14
     echo form_open("tugas/edit_soal/" . $this->getAttribute(isset($context["tugas"]) ? $context["tugas"] : null, "id") . "/" . $this->getAttribute(isset($context["pertanyaan"]) ? $context["pertanyaan"] : null, "id"));
     echo "\n<table class=\"table table-striped\" style=\"margin-top:20px;\">\n    <tbody>\n        <tr>\n            <td>\n                <textarea name=\"pertanyaan\" id=\"pertanyaan\" style=\"height:400px;width:100%;\">";
     // line 19
     echo set_value("pertanyaan", html_entity_decode($this->getAttribute(isset($context["pertanyaan"]) ? $context["pertanyaan"] : null, "pertanyaan")));
     echo "</textarea>\n                ";
     // line 20
     echo form_error("pertanyaan");
     echo "\n            </td>\n        <tr>\n        <tr>\n            <td colspan=\"2\">\n                <button type=\"submit\" class=\"btn btn-primary\">Update</button>\n            </td>\n        </tr>\n    </tbody>\n</table>\n";
     // line 30
     echo form_close();
     echo "\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 4
     echo "<h4>Edit Kelas Aktif</h4>\n";
     // line 5
     echo get_flashdata("class");
     echo "\n\n";
     // line 7
     echo form_open("siswa/moved_class/" . (isset($context["status_id"]) ? $context["status_id"] : null) . "/" . (isset($context["siswa_id"]) ? $context["siswa_id"] : null), array("class" => "form-horizontal row-fluid"));
     echo "\n<table class=\"table table-striped\">\n    <tr>\n        <td>\n            <select class=\"span2\" name=\"kelas_id\">\n                <option value=\"\">--pilih--</option>\n                ";
     // line 13
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["kelas"]) ? $context["kelas"] : null);
     foreach ($context['_seq'] as $context["_key"] => $context["k"]) {
         // line 14
         echo "                    <option value=\"";
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["k"]) ? $context["k"] : null, "id"), "html", null, true);
         echo "\" ";
         echo $this->getAttribute(isset($context["k"]) ? $context["k"] : null, "id") == $this->getAttribute(isset($context["get_aktif"]) ? $context["get_aktif"] : null, "kelas_id") ? "selected" : "";
         echo ">";
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["k"]) ? $context["k"] : null, "nama"), "html", null, true);
         echo "</option>\n                ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['k'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 16
     echo "            </select>\n            <br>";
     // line 17
     echo form_error("kelas_id");
     echo "\n        </td>\n        <td>\n            <button type=\"submit\" class=\"btn btn-primary\">Update</button>\n        </td>\n    </tr>\n</table>\n";
     // line 24
     echo form_close();
     echo "\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 4
     echo "<div class=\"module\">\n    <div class=\"module-head\">\n        <h3>";
     // line 6
     echo isset($context["module_title"]) ? $context["module_title"] : null;
     echo "</h3>\n    </div>\n    <div class=\"module-body\">\n        ";
     // line 9
     echo get_flashdata("mapel");
     echo "\n\n        <div class=\"panel panel-default\">\n            <div class=\"panel-heading\">\n                <span class=\"pull-right\">\n                    ";
     // line 14
     if ($this->getAttribute(isset($context["mapel"]) ? $context["mapel"] : null, "aktif") != 1) {
         // line 15
         echo "                        <span class=\"badge\">Matapelajaran Tidak Aktif</span> |\n                        <a href=\"";
         // line 16
         echo twig_escape_filter($this->env, site_url("admin/mapel/edit/" . $this->getAttribute(isset($context["mapel"]) ? $context["mapel"] : null, "id")), "html", null, true);
         echo "\"><i class=\"icon-edit\"></i> Edit</a>\n                    ";
     }
     // line 18
     echo "                </span>\n                <strong>";
     // line 19
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["mapel"]) ? $context["mapel"] : null, "nama"), "html", null, true);
     echo "</strong>\n            </div>\n            <div class=\"panel-body\">\n                ";
     // line 22
     echo $this->getAttribute(isset($context["mapel"]) ? $context["mapel"] : null, "info");
     echo "\n            </div>\n        </div>\n\n    </div>\n</div>\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 4
     echo "<div class=\"module\">\n    <div class=\"module-head\">\n        <h3>";
     // line 6
     echo isset($context["module_title"]) ? $context["module_title"] : null;
     echo "</h3>\n    </div>\n    <div class=\"module-body\">\n        ";
     // line 9
     echo get_flashdata("mapel");
     echo "\n\n        <div class=\"row-fluid\">\n            <div class=\"span6\">\n                <div class=\"panel panel-default\">\n                    <div class=\"panel-heading as-link\" data-toggle=\"collapse\" data-target=\"#form-filter\">\n                        <b><i class=\"icon-search\"></i> Filter Kelas</b>\n                    </div>\n                    <div id=\"form-filter\" class=\"collapse\">\n                    <div class=\"panel-body\">\n                        <form class=\"form-horizontal row-fluid\" method=\"post\" action=\"";
     // line 19
     echo twig_escape_filter($this->env, site_url("admin/mapel_kelas/list"), "html", null, true);
     echo "\">\n                            <table class=\"table table-form table-condensed\">\n                                <tr>\n                                    <td class=\"pull-right\">Parent Kelas</td>\n                                    <td>\n                                        <select name=\"parent_kelas\" id=\"parent-kelas\">\n                                            <option>--pilih--</option>\n                                            ";
     // line 26
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["parent_kelas"]) ? $context["parent_kelas"] : null);
     foreach ($context['_seq'] as $context["_key"] => $context["pk"]) {
         // line 27
         echo "                                            <option value=\"";
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["pk"]) ? $context["pk"] : null, "id"), "html", null, true);
         echo "\" ";
         echo $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "parent_id") == $this->getAttribute(isset($context["pk"]) ? $context["pk"] : null, "id") ? "selected" : "";
         echo ">";
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["pk"]) ? $context["pk"] : null, "nama"), "html", null, true);
         echo "</option>\n                                            ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pk'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 29
     echo "                                        </select>\n                                    </td>\n                                </tr>\n                                <tr>\n                                    <td class=\"pull-right\">Sub Kelas</td>\n                                    <td>\n                                        <select name=\"sub_kelas\" id=\"sub-kelas\">\n                                            <option>--pilih--</option>\n                                            ";
     // line 37
     if (!twig_test_empty(isset($context["sub_kelas"]) ? $context["sub_kelas"] : null)) {
         // line 38
         echo "                                                ";
         $context['_parent'] = (array) $context;
         $context['_seq'] = twig_ensure_traversable(isset($context["sub_kelas"]) ? $context["sub_kelas"] : null);
         foreach ($context['_seq'] as $context["_key"] => $context["sk"]) {
             // line 39
             echo "                                                <option value=\"";
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["sk"]) ? $context["sk"] : null, "id"), "html", null, true);
             echo "\" ";
             echo $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "sub_id") == $this->getAttribute(isset($context["sk"]) ? $context["sk"] : null, "id") ? "selected" : "";
             echo ">";
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["sk"]) ? $context["sk"] : null, "nama"), "html", null, true);
             echo "</option>\n                                                ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['sk'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 41
         echo "                                            ";
     }
     // line 42
     echo "                                        </select>\n                                    </td>\n                                </tr>\n                                <tr>\n                                    <td></td>\n                                    <td>\n                                        <button class=\"btn btn-small btn-primary\" type=\"submit\">Submit</button>\n                                    </td>\n                                </tr>\n                            </table>\n                        </form>\n                    </div>\n                    </div>\n                </div>\n            </div>\n            <div class=\"span6\">\n                Atur matapelajaran yang ada pada masing - masing kelas\n            </div>\n        </div>\n\n        ";
     // line 62
     echo isset($context["mapel_kelas_hirarki"]) ? $context["mapel_kelas_hirarki"] : null;
     echo "\n\n    </div>\n</div>\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 8
     echo "<div class=\"module\">\n    <div class=\"module-head\">\n        <h3>Manajemen Matapelajaran</h3>\n    </div>\n    <div class=\"module-body\">\n        ";
     // line 13
     echo get_flashdata("mapel");
     echo "\n\n        ";
     // line 15
     if (is_demo_app()) {
         // line 16
         echo "            ";
         echo get_alert("warning", get_demo_msg());
         echo "\n        ";
     }
     // line 18
     echo "\n        <div class=\"row-fluid\">\n            <div class=\"span2\">\n                <a href=\"";
     // line 21
     echo twig_escape_filter($this->env, site_url("mapel/add"), "html", null, true);
     echo "\" class=\"btn btn-primary\">Tambah Mapel</a>\n            </div>\n            <div class=\"span10\">\n                Atur matapelajaran yang ada di sekolah<br>\n                <b>Note: </b> Matapelajaran tidak dapat dihapus namun dapat di ubah menjadi tidak aktif\n            </div>\n        </div>\n\n        <br>\n        <table class=\"table table-striped\">\n            <thead>\n                <tr>\n                    <th width=\"5%\">No</th>\n                    <th>Matapelajaran</th>\n                    <th>Aktif</th>\n                    <th width=\"15%\"></th>\n                </tr>\n            </thead>\n            <tbody>\n                ";
     // line 40
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["mapels"]) ? $context["mapels"] : null);
     foreach ($context['_seq'] as $context["no"] => $context["v"]) {
         // line 41
         echo "                <tr>\n                    <td>";
         // line 42
         echo twig_escape_filter($this->env, isset($context["no"]) ? $context["no"] : null, "html", null, true);
         echo ".</td>\n                    <td>\n                        ";
         // line 44
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "nama"), "html", null, true);
         echo "\n                        <br><small>";
         // line 45
         echo nl2br(twig_escape_filter($this->env, $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "info"), "html", null, true));
         echo "</small>\n                    </td>\n                    <td>\n                        ";
         // line 48
         if ($this->getAttribute(isset($context["v"]) ? $context["v"] : null, "aktif") == 1) {
             // line 49
             echo "                        <i class=\"icon-ok\"></i>\n                        ";
         } else {
             // line 51
             echo "                        <i class=\"icon-minus\"></i>\n                        ";
         }
         // line 53
         echo "                    </td>\n                    <td>\n                        <a class=\"btn btn-default\" href=\"";
         // line 55
         echo twig_escape_filter($this->env, site_url("mapel/edit/" . $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "id") . "/" . enurl_redirect(current_url())), "html", null, true);
         echo "\"><i class=\"icon-edit\"></i> Edit</a>\n                    </td>\n                </tr>\n                ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['no'], $context['v'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 59
     echo "            </tbody>\n        </table>\n\n        <br>\n        ";
     // line 63
     echo isset($context["pagination"]) ? $context["pagination"] : null;
     echo "\n    </div>\n</div>\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 8
     echo "<div class=\"module\">\n    <div class=\"module-head\">\n        <h3>";
     // line 10
     echo anchor("pengumuman", "Pengumuman");
     echo " / Buat Pengumuman</h3>\n    </div>\n    <div class=\"module-body\">\n        ";
     // line 13
     echo get_flashdata("pengumuman");
     echo "\n\n        ";
     // line 15
     echo form_open_multipart("pengumuman/add", array("class" => "form-horizontal row-fluid"));
     echo "\n            <div class=\"control-group\">\n                <label class=\"control-label\">Judul <span class=\"text-error\">*</span></label>\n                <div class=\"controls\">\n                    <input type=\"text\" name=\"judul\" class=\"span12\" value=\"";
     // line 19
     echo twig_escape_filter($this->env, set_value("judul"), "html", null, true);
     echo "\">\n                    <br>";
     // line 20
     echo form_error("judul");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Tgl. Tampil <span class=\"text-error\">*</span></label>\n                <div class=\"controls\">\n                    <input type=\"text\" name=\"tgl_tampil\" class=\"span4\" value=\"";
     // line 26
     echo twig_escape_filter($this->env, set_value("tgl_tampil"), "html", null, true);
     echo "\" id=\"tgl-tampil\">\n                    <br>";
     // line 27
     echo form_error("tgl_tampil");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Konten <span class=\"text-error\">*</span></label>\n                <div class=\"controls\">\n                    <textarea name=\"konten\" id=\"konten\" style=\"height:400px;width:100%;\">";
     // line 33
     echo set_value("konten");
     echo "</textarea>\n                    ";
     // line 34
     echo form_error("konten");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Tampil Disiswa</label>\n                <div class=\"controls\">\n                    <label class=\"radio inline\"><input type=\"radio\" name=\"tampil_siswa\" value=\"1\" ";
     // line 40
     echo twig_escape_filter($this->env, set_radio("tampil_siswa", "1", true), "html", null, true);
     echo "> Ya</label>\n                    <label class=\"radio inline\"><input type=\"radio\" name=\"tampil_siswa\" value=\"0\" ";
     // line 41
     echo twig_escape_filter($this->env, set_radio("tampil_siswa", "0"), "html", null, true);
     echo "> Tidak</label>\n                    <br>";
     // line 42
     echo form_error("tampil_siswa");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Tampil Dipengajar</label>\n                <div class=\"controls\">\n                    <label class=\"radio inline\"><input type=\"radio\" name=\"tampil_pengajar\" value=\"1\" ";
     // line 48
     echo twig_escape_filter($this->env, set_radio("tampil_pengajar", "1", true), "html", null, true);
     echo "> Ya</label>\n                    <label class=\"radio inline\"><input type=\"radio\" name=\"tampil_pengajar\" value=\"0\" ";
     // line 49
     echo twig_escape_filter($this->env, set_radio("tampil_pengajar", "0"), "html", null, true);
     echo "> Tidak</label>\n                    <br>";
     // line 50
     echo form_error("tampil_pengajar");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <div class=\"controls\">\n                    <button type=\"submit\" class=\"btn btn-primary\">Simpan</button>\n                    <a href=\"";
     // line 56
     echo twig_escape_filter($this->env, site_url("pengumuman"), "html", null, true);
     echo "\" class=\"btn btn-default\">Kembali</a>\n                </div>\n            </div>\n        ";
     // line 59
     echo form_close();
     echo "\n\n    </div>\n</div>\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 4
     echo "<div class=\"module\">\n    <div class=\"module-head\">\n        <h3>";
     // line 6
     echo isset($context["module_title"]) ? $context["module_title"] : null;
     echo "</h3>\n    </div>\n    <div class=\"module-body\">\n        ";
     // line 9
     echo get_flashdata("mapel");
     echo "\n\n        <div class=\"bs-callout bs-callout-info\">\n        <p>\n            Pilih matapelajaran yang ingin di masukkan pada <b>";
     // line 13
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["kelas"]) ? $context["kelas"] : null, "nama", array(), "array"), "html", null, true);
     echo "</b>\n        </p>\n        </div>\n        <br>\n\n        ";
     // line 18
     echo form_open("admin/mapel_kelas/add/" . $this->getAttribute(isset($context["parent"]) ? $context["parent"] : null, "id", array(), "array") . "/" . $this->getAttribute(isset($context["kelas"]) ? $context["kelas"] : null, "id", array(), "array") . "/" . enurl_redirect(isset($context["uri_back"]) ? $context["uri_back"] : null));
     echo "\n        <table class=\"table table-striped\">\n        <tbody>\n            ";
     // line 21
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["mapels"]) ? $context["mapels"] : null);
     foreach ($context['_seq'] as $context["_key"] => $context["m"]) {
         // line 22
         echo "            ";
         $context["checked"] = get_row_data("mapel_model", "retrieve_kelas", array(0 => null, 1 => $this->getAttribute(isset($context["kelas"]) ? $context["kelas"] : null, "id", array(), "array"), 2 => $this->getAttribute(isset($context["m"]) ? $context["m"] : null, "id")));
         // line 23
         echo "            <tr>\n                <td>\n                    ";
         // line 25
         if ($this->getAttribute(isset($context["m"]) ? $context["m"] : null, "aktif") != 1) {
             // line 26
             echo "                    <span class=\"badge badge-warning pull-right\">Matapelajaran Tidak Aktif</span>\n                    ";
         }
         // line 28
         echo "                    <label><input type=\"checkbox\" name=\"mapel[]\" value=\"";
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["m"]) ? $context["m"] : null, "id"), "html", null, true);
         echo "\" style=\"margin-top:-2px;margin-right:5px;\" ";
         echo $this->getAttribute(isset($context["m"]) ? $context["m"] : null, "aktif") != 1 ? "disabled" : "";
         echo " ";
         echo twig_test_empty(isset($context["checked"]) ? $context["checked"] : null) ? "" : "checked";
         echo "> ";
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["m"]) ? $context["m"] : null, "nama"), "html", null, true);
         echo "</label>\n                    <small>";
         // line 29
         echo nl2br(twig_escape_filter($this->env, $this->getAttribute(isset($context["m"]) ? $context["m"] : null, "info"), "html", null, true));
         echo "</small>\n                </td>\n            </tr>\n            ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['m'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 33
     echo "        </tbody>\n        </table>\n        <br>\n        <button type=\"submit\" class=\"btn btn-primary\">Simpan</button>\n        <a href=\"";
     // line 37
     echo twig_escape_filter($this->env, isset($context["uri_back"]) ? $context["uri_back"] : null, "html", null, true);
     echo "\" class=\"btn btn-default\">Kembali</a>\n        ";
     // line 38
     echo form_close();
     echo "\n\n    </div>\n</div>\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 8
     echo "<div class=\"module\">\n    <div class=\"module-head\">\n        <h3>Pengaturan</h3>\n    </div>\n    <div class=\"module-body\">\n        ";
     // line 13
     echo get_flashdata("pengaturan");
     echo "\n\n        ";
     // line 15
     echo form_open_multipart("welcome/pengaturan", array("class" => "form-horizontal row-fluid"));
     echo "\n            <div class=\"control-group\">\n                <label class=\"control-label\">Nama sekolah <span class=\"text-error\">*</span></label>\n                <div class=\"controls\">\n                    <input type=\"text\" name=\"nama-sekolah\" class=\"span8\" value=\"";
     // line 19
     echo twig_escape_filter($this->env, set_value("nama-sekolah", get_pengaturan("nama-sekolah", "value")), "html", null, true);
     echo "\">\n                    <br>";
     // line 20
     echo form_error("nama-sekolah");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Alamat sekolah <span class=\"text-error\">*</span></label>\n                <div class=\"controls\">\n                    <input type=\"text\" name=\"alamat\" class=\"span8\" value=\"";
     // line 26
     echo twig_escape_filter($this->env, set_value("alamat", get_pengaturan("alamat", "value")), "html", null, true);
     echo "\">\n                    <br>";
     // line 27
     echo form_error("alamat");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Telpon</label>\n                <div class=\"controls\">\n                    <input type=\"text\" name=\"telp\" class=\"span5\" value=\"";
     // line 33
     echo twig_escape_filter($this->env, set_value("telp", get_pengaturan("telp", "value")), "html", null, true);
     echo "\">\n                    <br>";
     // line 34
     echo form_error("telp");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Registrasi siswa</label>\n                <div class=\"controls\">\n                    <label class=\"radio inline\">\n                        <input type=\"radio\" name=\"registrasi-siswa\" value=\"1\" ";
     // line 41
     echo twig_escape_filter($this->env, set_radio("registrasi-siswa", "1", get_pengaturan("registrasi-siswa", "value") == "1" ? true : ""), "html", null, true);
     echo "> Tampilkan\n                    </label>\n                    <label class=\"radio inline\">\n                        <input type=\"radio\" name=\"registrasi-siswa\" value=\"0\" ";
     // line 44
     echo twig_escape_filter($this->env, set_radio("registrasi-siswa", "0", get_pengaturan("registrasi-siswa", "value") == "0" ? true : ""), "html", null, true);
     echo "> Sembuyikan\n                    </label>\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Registrasi pengajar</label>\n                <div class=\"controls\">\n                    <label class=\"radio inline\">\n                        <input type=\"radio\" name=\"registrasi-pengajar\" value=\"1\" ";
     // line 52
     echo twig_escape_filter($this->env, set_radio("registrasi-pengajar", "1", get_pengaturan("registrasi-pengajar", "value") == "1" ? true : ""), "html", null, true);
     echo "> Tampilkan\n                    </label>\n                    <label class=\"radio inline\">\n                        <input type=\"radio\" name=\"registrasi-pengajar\" value=\"0\" ";
     // line 55
     echo twig_escape_filter($this->env, set_radio("registrasi-pengajar", "0", get_pengaturan("registrasi-pengajar", "value") == "0" ? true : ""), "html", null, true);
     echo "> Sembuyikan\n                    </label>\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Info Registrasi</label>\n                <div class=\"controls\">\n                    <textarea name=\"info-registrasi\" class=\"tinymce\" style=\"width:100%; height:300px;\">";
     // line 62
     echo set_value("info-registrasi", get_pengaturan("info-registrasi", "value"));
     echo "</textarea>\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Peraturan E-learning</label>\n                <div class=\"controls\">\n                    <textarea name=\"peraturan-elearning\" class=\"tinymce\" style=\"width:100%; height:300px;\">";
     // line 68
     echo set_value("peraturan-elearning", get_pengaturan("peraturan-elearning", "value"));
     echo "</textarea>\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Email server</label>\n                <div class=\"controls\">\n                    <input type=\"text\" name=\"email-server\" class=\"span5\" value=\"";
     // line 74
     echo twig_escape_filter($this->env, set_value("email-server", get_pengaturan("email-server", "value")), "html", null, true);
     echo "\">\n                    <br>";
     // line 75
     echo form_error("email-server");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <div class=\"controls\">\n                    <button type=\"submit\" class=\"btn btn-primary\">Update</button>\n                </div>\n            </div>\n        ";
     // line 83
     echo form_close();
     echo "\n\n    </div>\n</div>\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 8
     echo "<div class=\"module\">\n    <div class=\"module-head\">\n        <h3>";
     // line 10
     echo anchor("email", "Email Template");
     echo " / Edit</h3>\n    </div>\n    <div class=\"module-body\">\n        ";
     // line 13
     echo get_flashdata("email");
     echo "\n\n        ";
     // line 15
     if (is_demo_app()) {
         // line 16
         echo "            ";
         echo get_alert("warning", get_demo_msg());
         echo "\n        ";
     }
     // line 18
     echo "\n        ";
     // line 19
     echo get_alert("success", "Ubah bentuk atau kata - kata template email selain {\$...}");
     echo "\n\n        ";
     // line 21
     echo form_open("email/edit/" . $this->getAttribute(isset($context["template"]) ? $context["template"] : null, "id"), array("class" => "form-horizontal row-fluid"));
     echo "\n            <div class=\"control-group\">\n                <label class=\"control-label\">ID</label>\n                <div class=\"controls\">\n                    <p style=\"margin-top:5px;\">";
     // line 25
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["template"]) ? $context["template"] : null, "id"), "html", null, true);
     echo "</p>\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Nama</label>\n                <div class=\"controls\">\n                    <p style=\"margin-top:5px;\">";
     // line 31
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["template"]) ? $context["template"] : null, "nama"), "html", null, true);
     echo "</p>\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Subject</label>\n                <div class=\"controls\">\n                    <input type=\"text\" name=\"subject\" class=\"span12\" value=\"";
     // line 37
     echo twig_escape_filter($this->env, set_value("subject", $this->getAttribute(isset($context["template"]) ? $context["template"] : null, "subject")), "html", null, true);
     echo "\">\n                    <br>";
     // line 38
     echo form_error("subject");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Body</label>\n                <div class=\"controls\">\n                    <textarea name=\"body\" id=\"body\" style=\"height:300px;width:100%;\">";
     // line 44
     echo set_value("body", html_entity_decode($this->getAttribute(isset($context["template"]) ? $context["template"] : null, "body")));
     echo "</textarea>\n                    ";
     // line 45
     echo form_error("body");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <div class=\"controls\">\n                    ";
     // line 50
     if (is_demo_app() == false) {
         // line 51
         echo "                    <button type=\"submit\" class=\"btn btn-primary\">Update</button>\n                    ";
     }
     // line 53
     echo "                    <a href=\"";
     echo twig_escape_filter($this->env, site_url("email"), "html", null, true);
     echo "\" class=\"btn btn-default\">Kembali</a>\n                </div>\n            </div>\n        ";
     // line 56
     echo form_close();
     echo "\n\n    </div>\n</div>\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 8
     echo "<div class=\"module message\">\n    <div class=\"module-head\">\n        <h3>Pesan</h3>\n    </div>\n    <div class=\"module-body\">\n        <div class=\"module-option clearfix\">\n            ";
     // line 14
     echo get_flashdata("msg");
     echo "\n\n            <div class=\"pull-right\">\n                <form class=\"form-search\" method=\"get\" action=\"";
     // line 17
     echo twig_escape_filter($this->env, site_url("message/index/"), "html", null, true);
     echo "\">\n                    <div class=\"input-append\">\n                        <input type=\"text\" class=\"span3 search-query\" placeholder=\"cari pesan...\" name=\"q\" value=\"";
     // line 19
     echo twig_escape_filter($this->env, isset($context["keyword"]) ? $context["keyword"] : null, "html", null, true);
     echo "\">\n                        <button type=\"submit\" class=\"btn\"><i class=\"icon-search\"></i></button>\n                    </div>\n                </form>\n            </div>\n            <div class=\"pull-left\">\n                <a href=\"";
     // line 25
     echo twig_escape_filter($this->env, site_url("message/create/"), "html", null, true);
     echo "\" class=\"btn btn-primary\"><i class=\"icon-pencil\"></i> Tulis pesan</a>\n            </div>\n        </div>\n        <div class=\"module-body table\">\n            <table class=\"table table-message\">\n                <tbody>\n                    ";
     // line 31
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["inbox"]) ? $context["inbox"] : null);
     foreach ($context['_seq'] as $context["_key"] => $context["d"]) {
         // line 32
         echo "                    <tr class=\"";
         echo $this->getAttribute(isset($context["d"]) ? $context["d"] : null, "opened") == 0 ? "unread" : "";
         echo " clickable-row\" data-href=\"";
         echo twig_escape_filter($this->env, site_url("message/detail/" . $this->getAttribute(isset($context["d"]) ? $context["d"] : null, "id") . "#msg-" . $this->getAttribute(isset($context["d"]) ? $context["d"] : null, "id")), "html", null, true);
         echo "\">\n                        <td class=\"cell-author\">\n                            <img style=\"height:30px;width:30px; margin-right: 10px;\" class=\"img-polaroid img-circle pull-left\" src=\"";
         // line 34
         echo twig_escape_filter($this->env, get_url_image_siswa($this->getAttribute($this->getAttribute(isset($context["d"]) ? $context["d"] : null, "profil"), "foto"), "medium", $this->getAttribute($this->getAttribute(isset($context["d"]) ? $context["d"] : null, "profil"), "jenis_kelamin")), "html", null, true);
         echo "\">\n                            <a href=\"";
         // line 35
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["d"]) ? $context["d"] : null, "profil"), "link_profil"), "html", null, true);
         echo "\">";
         echo twig_escape_filter($this->env, character_limiter($this->getAttribute($this->getAttribute(isset($context["d"]) ? $context["d"] : null, "profil"), "nama"), 23, "..."), "html", null, true);
         echo "</a>\n                            <br><small>";
         // line 36
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["d"]) ? $context["d"] : null, "date"), "html", null, true);
         echo "</small>\n                        </td>\n                        <td class=\"cell-title hidden-phone hidden-tablet\">\n                            <a class=\"pull-right\" style=\"margin-left:10px;\" href=\"";
         // line 39
         echo twig_escape_filter($this->env, site_url("message/detail/" . $this->getAttribute(isset($context["d"]) ? $context["d"] : null, "id") . "/?confirm=1#confirm"), "html", null, true);
         echo "\"><i class=\"icon-trash\"></i></a>\n                            ";
         // line 40
         echo character_limiter(strip_tags($this->getAttribute(isset($context["d"]) ? $context["d"] : null, "content")), 80, "...");
         echo "\n                        </td>\n                    </tr>\n                    ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['d'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 44
     echo "\n                </tbody>\n            </table>\n        </div>\n        <div class=\"module-foot\">\n            ";
     // line 49
     echo isset($context["pagination"]) ? $context["pagination"] : null;
     echo "\n        </div>\n\n    </div>\n</div>\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 8
     echo "<div class=\"module\">\n    <div class=\"module-head\">\n        <h3>Manajemen Kelas</h3>\n    </div>\n    <div class=\"module-body\">\n        ";
     // line 13
     echo get_flashdata("kelas");
     echo "\n\n        ";
     // line 15
     if (is_demo_app()) {
         // line 16
         echo "            ";
         echo get_alert("warning", get_demo_msg());
         echo "\n        ";
     }
     // line 18
     echo "\n        <div class=\"panel panel-info\">\n            <div class=\"panel-heading\">\n                Edit Kelas\n            </div>\n            <div class=\"panel-body\">\n                ";
     // line 24
     echo form_open("kelas/edit/" . $this->getAttribute(isset($context["kelas"]) ? $context["kelas"] : null, "id"), array("class" => "form-horizontal row-fluid"));
     echo "\n                    <div class=\"control-group\">\n                        <label class=\"control-label\">Nama Kelas <span class=\"text-error\">*</span></label>\n                        <div class=\"controls\">\n                            <input type=\"text\" name=\"nama\" class=\"span5\" placeholder=\"Nama Kelas\" value=\"";
     // line 28
     echo twig_escape_filter($this->env, set_value("nama", $this->getAttribute(isset($context["kelas"]) ? $context["kelas"] : null, "nama")), "html", null, true);
     echo "\">\n                            ";
     // line 29
     echo form_error("nama");
     echo "\n                        </div>\n                    </div>\n                    ";
     // line 32
     if (!(null === $this->getAttribute(isset($context["kelas"]) ? $context["kelas"] : null, "parent_id"))) {
         // line 33
         echo "                    <div class=\"control-group\">\n                        <label class=\"control-label\">Status</label>\n                        <div class=\"controls\">\n                            <label class=\"checkbox inline\">\n                                <input type=\"checkbox\" value=\"1\" name=\"status\" ";
         // line 37
         echo twig_escape_filter($this->env, set_checkbox("status", "1", $this->getAttribute(isset($context["kelas"]) ? $context["kelas"] : null, "aktif") == 1 ? true : false), "html", null, true);
         echo ">\n                                Aktif\n                            </label>\n                        </div>\n                    </div>\n                    ";
     }
     // line 43
     echo "                    <div class=\"control-group\">\n                        <div class=\"controls\">\n                            ";
     // line 45
     if (is_demo_app() == false) {
         // line 46
         echo "                            <button type=\"submit\" class=\"btn btn-primary\">Simpan</button>\n                            ";
     }
     // line 48
     echo "                            <a href=\"";
     echo twig_escape_filter($this->env, site_url("kelas"), "html", null, true);
     echo "\" class=\"btn\">Batal</a>\n                        </div>\n                    </div>\n                ";
     // line 51
     echo form_close();
     echo "\n            </div>\n        </div>\n\n        <p class=\"text-warning\"><b>NB:</b> Kelas tidak dapat di hapus namun dapat di ubah menjadi tidak aktif.</p>\n\n        ";
     // line 57
     echo isset($context["kelas_hirarki"]) ? $context["kelas_hirarki"] : null;
     echo "\n\n        <br>\n        <div id=\"response_update\"></div>\n        <button class=\"btn btn-primary\" id=\"update-hirarki\">Update Hirarki</button>\n    </div>\n</div>\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 4
     echo "<h4>Nilai Tugas</h4>\n";
     // line 5
     echo get_flashdata("edit");
     echo "\n\n<table class=\"table table-striped\">\n    <tbody>\n        <tr>\n            <th width=\"35%\">Nilai</th>\n            <td>";
     // line 11
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["nilai"]) ? $context["nilai"] : null, "nilai"), "html", null, true);
     echo "</td>\n        <tr>\n        <tr>\n            <th width=\"35%\">Tgl Mengerjakan</th>\n            <td>";
     // line 15
     echo twig_escape_filter($this->env, tgl_jam_indo($this->getAttribute(isset($context["history"]) ? $context["history"] : null, "mulai")), "html", null, true);
     echo "</td>\n        <tr>\n    </tbody>\n</table>\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 8
     echo "<div class=\"module\">\n    <div class=\"module-head\">\n        <h3>";
     // line 10
     echo anchor("message", "Pesan");
     echo " / Tulis</h3>\n    </div>\n    <div class=\"module-body\">\n        ";
     // line 13
     echo get_flashdata("msg");
     echo "\n\n        ";
     // line 15
     echo form_open_multipart("message/create/" . (!twig_test_empty(isset($context["login"]) ? $context["login"] : null) ? $this->getAttribute(isset($context["login"]) ? $context["login"] : null, "id") : ""), array("class" => "form-horizontal row-fluid"));
     echo "\n            <div class=\"control-group\">\n                <label class=\"control-label\">Penerima <span class=\"text-error\">*</span></label>\n                <div class=\"controls\">\n                    ";
     // line 19
     if (twig_test_empty(isset($context["login"]) ? $context["login"] : null)) {
         // line 20
         echo "                        <input type=\"text\" name=\"penerima\" id=\"penerima\" data-role=\"tagsinput\" placeholder=\"Nama atau email\" value=\"";
         echo twig_escape_filter($this->env, html_entity_decode(set_value("penerima")), "html", null, true);
         echo "\">\n                        <br>";
         // line 21
         echo form_error("penerima");
         echo "\n                    ";
     } else {
         // line 23
         echo "                        <div style=\"margin-top: 5px;\"><b>";
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["login"]) ? $context["login"] : null, "profil"), "nama"), "html", null, true);
         echo " </b> &lt;";
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["login"]) ? $context["login"] : null, "username"), "html", null, true);
         echo "&gt;</div>\n                        <input type=\"hidden\" name=\"penerima\" value=\"";
         // line 24
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["login"]) ? $context["login"] : null, "profil"), "nama"), "html", null, true);
         echo " <";
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["login"]) ? $context["login"] : null, "username"), "html", null, true);
         echo ">\">\n                    ";
     }
     // line 26
     echo "                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Isi Pesan <span class=\"text-error\">*</span></label>\n                <div class=\"controls\">\n                    <textarea name=\"content\" id=\"content\" style=\"height:300px;width:100%;\">";
     // line 31
     echo set_value("content");
     echo "</textarea>\n                    ";
     // line 32
     echo form_error("content");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <div class=\"controls\">\n                    <button type=\"submit\" class=\"btn btn-primary\">Kirim</button>\n                    <a href=\"";
     // line 38
     echo twig_escape_filter($this->env, site_url("message"), "html", null, true);
     echo "\" class=\"btn btn-default\">Batal</a>\n                </div>\n            </div>\n        ";
     // line 41
     echo form_close();
     echo "\n\n    </div>\n</div>\n";
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 1
     echo "<div class=\"content\">\n    <div class=\"module\">\n        <div class=\"module-head\">\n            <h3>";
     // line 4
     echo isset($context["module_title"]) ? $context["module_title"] : null;
     echo "</h3>\n        </div>\n        <div class=\"module-body\">\n            ";
     // line 7
     echo get_flashdata("materi");
     echo "\n\n            ";
     // line 9
     $template = $this->env->resolveTemplate(isset($context["sub_content_file"]) ? $context["sub_content_file"] : null);
     $template->display($context);
     // line 10
     echo "        </div>\n    </div>\n</div>\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 4
     echo "<div class=\"module\">\n    <div class=\"module-head\">\n        <h3>";
     // line 6
     echo isset($context["module_title"]) ? $context["module_title"] : null;
     echo "</h3>\n    </div>\n    <div class=\"module-body\">\n        ";
     // line 9
     echo get_flashdata("akun");
     echo "\n\n        ";
     // line 11
     echo form_open_multipart("admin/ch_profil", array("class" => "form-horizontal row-fluid"));
     echo "\n            <div class=\"control-group\">\n                <label class=\"control-label\">Username (Email) <span class=\"text-error\">*</span></label>\n                <div class=\"controls\">\n                    <input type=\"text\" name=\"username\" class=\"span5\" value=\"";
     // line 15
     echo twig_escape_filter($this->env, set_value("username", $this->getAttribute(isset($context["login"]) ? $context["login"] : null, "username")), "html", null, true);
     echo "\">\n                    <br>";
     // line 16
     echo form_error("username");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Nama <span class=\"text-error\">*</span></label>\n                <div class=\"controls\">\n                    <input type=\"text\" name=\"nama\" class=\"span5\" value=\"";
     // line 22
     echo twig_escape_filter($this->env, set_value("nama", $this->getAttribute(isset($context["pengajar"]) ? $context["pengajar"] : null, "nama")), "html", null, true);
     echo "\">\n                    <br>";
     // line 23
     echo form_error("nama");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Alamat <span class=\"text-error\">*</span></label>\n                <div class=\"controls\">\n                    <input type=\"text\" name=\"alamat\" class=\"span9\" value=\"";
     // line 29
     echo twig_escape_filter($this->env, set_value("alamat", $this->getAttribute(isset($context["pengajar"]) ? $context["pengajar"] : null, "alamat")), "html", null, true);
     echo "\">\n                    <br>";
     // line 30
     echo form_error("alamat");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Foto</label>\n                <div class=\"controls\">\n                    <?php if (!is_null(\$pengajar['foto']) AND !empty(\$pengajar['foto'])): ?>\n                    ";
     // line 37
     if ($this->getAttribute(isset($context["pengajar"]) ? $context["pengajar"] : null, "foto") != "") {
         // line 38
         echo "                        <img src=\"";
         echo twig_escape_filter($this->env, get_url_image($this->getAttribute(isset($context["pengajar"]) ? $context["pengajar"] : null, "foto"), "medium"), "html", null, true);
         echo "\"><br><br>\n                        Ganti Foto\n                    ";
     }
     // line 41
     echo "                   <input type=\"file\" name=\"userfile\">\n                   <br>";
     // line 42
     echo isset($context["error_upload"]) ? $context["error_upload"] : null;
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <div class=\"controls\">\n                    <button type=\"submit\" class=\"btn btn-primary\">Update</button>\n                </div>\n            </div>\n        ";
     // line 50
     echo form_close();
     echo "\n\n    </div>\n</div>\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 8
     echo "<div class=\"module\">\n    <div class=\"module-head\">\n        <h3>";
     // line 10
     echo anchor("mapel", "Manajemen Matapelajaran");
     echo " / Tambah</h3>\n    </div>\n    <div class=\"module-body\">\n        ";
     // line 13
     echo get_flashdata("mapel");
     echo "\n\n        ";
     // line 15
     if (is_demo_app()) {
         // line 16
         echo "            ";
         echo get_alert("warning", get_demo_msg());
         echo "\n        ";
     }
     // line 18
     echo "\n        ";
     // line 19
     echo form_open("mapel/add", array("class" => "form-horizontal row-fluid"));
     echo "\n            <div class=\"control-group\">\n                <label class=\"control-label\">Nama <span class=\"text-error\">*</span></label>\n                <div class=\"controls\">\n                    <input type=\"text\" name=\"nama\" class=\"span8\" value=\"";
     // line 23
     echo twig_escape_filter($this->env, set_value("nama"), "html", null, true);
     echo "\">\n                    <br>";
     // line 24
     echo form_error("nama");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Deskripsi</label>\n                <div class=\"controls\">\n                    <textarea name=\"info\" class=\"span12\" rows=\"5\">";
     // line 30
     echo set_value("info");
     echo "</textarea>\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <div class=\"controls\">\n                    ";
     // line 35
     if (is_demo_app() == false) {
         // line 36
         echo "                    <button type=\"submit\" class=\"btn btn-primary\">Simpan</button>\n                    ";
     }
     // line 38
     echo "                    <a href=\"";
     echo twig_escape_filter($this->env, site_url("mapel"), "html", null, true);
     echo "\" class=\"btn\">Batal</a>\n                </div>\n            </div>\n        ";
     // line 41
     echo form_close();
     echo "\n\n    </div>\n</div>\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 4
     echo "<h4>Edit Password</h4>\n";
     // line 5
     echo get_flashdata("edit");
     echo "\n\n";
     // line 7
     echo form_open("siswa/edit_password/" . (isset($context["status_id"]) ? $context["status_id"] : null) . "/" . (isset($context["siswa_id"]) ? $context["siswa_id"] : null));
     echo "\n<table class=\"table table-striped\">\n    <tbody>\n        <tr>\n            <th width=\"35%\">Password Baru <span class=\"text-error\">*</span></th>\n            <td>\n                <input type=\"password\" name=\"password\">\n                <br>";
     // line 14
     echo form_error("password");
     echo "\n            </td>\n        <tr>\n        <tr>\n            <th>Ulangi Password <span class=\"text-error\">*</span></th>\n            <td>\n                <input type=\"password\" name=\"password2\">\n                <br>";
     // line 21
     echo form_error("password2");
     echo "\n            </td>\n        <tr>\n        <tr>\n            <td colspan=\"2\">\n                <button type=\"submit\" class=\"btn btn-primary\">Update</button>\n            </td>\n        </tr>\n    </tbody>\n</table>\n";
     // line 31
     echo form_close();
     echo "\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 8
     echo "<div class=\"row\">\n    <div class=\"module span4 offset4\">\n        ";
     // line 10
     echo form_open("login/lupa_password", array("class" => "form-vertical"));
     echo "\n            <div class=\"module-head\">\n                <h3>Lupa password</h3>\n            </div>\n            <div class=\"module-body\">\n               ";
     // line 15
     echo get_flashdata("lupa_password");
     echo "\n                <div class=\"control-group\">\n                    <div class=\"controls row-fluid\">\n                        <input class=\"span12\" name=\"email\" type=\"text\" placeholder=\"Masukkan username (Email)\" value=\"";
     // line 18
     echo twig_escape_filter($this->env, set_value("email"), "html", null, true);
     echo "\" autofocus>\n                        ";
     // line 19
     echo form_error("email");
     echo "\n                    </div>\n                </div>\n            </div>\n            <div class=\"module-foot\">\n                <div class=\"control-group\">\n                    <div class=\"controls clearfix\">\n                        <button type=\"submit\" class=\"btn btn-large btn-primary pull-right\">Kirim</button>\n                    </div>\n                </div>\n            </div>\n        ";
     // line 30
     echo isset($context["form_close"]) ? $context["form_close"] : null;
     echo "\n    </div>\n</div>\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 4
     echo "<div class=\"btn-group pull-right\">\n    <a class=\"btn btn-primary btn-small\" href=\"";
     // line 5
     echo twig_escape_filter($this->env, site_url("tugas/tambah_pilihan/" . $this->getAttribute(isset($context["tugas"]) ? $context["tugas"] : null, "id") . "/" . $this->getAttribute(isset($context["pertanyaan"]) ? $context["pertanyaan"] : null, "id")), "html", null, true);
     echo "\">Tambah Pilihan</a>\n</div>\n\n<h4>Edit Pilihan</h4>\n";
     // line 9
     echo get_flashdata("tugas");
     echo "\n\n";
     // line 11
     echo form_open("tugas/edit_pilihan/" . $this->getAttribute(isset($context["tugas"]) ? $context["tugas"] : null, "id") . "/" . $this->getAttribute(isset($context["pertanyaan"]) ? $context["pertanyaan"] : null, "id") . "/" . $this->getAttribute(isset($context["pilihan"]) ? $context["pilihan"] : null, "id"));
     echo "\n<table class=\"table table-striped\" style=\"margin-top:20px;\">\n    <tbody>\n        <tr>\n            <th width=\"15%\">Pilihan <span class=\"text-error\">*</span></th>\n            <td>\n                <select name=\"pilihan\" style=\"width:auto;\">\n                    <option value=\"\">--Pilih--</option>\n                    <option value=\"1\" ";
     // line 19
     echo twig_escape_filter($this->env, set_select("pilihan", "1", $this->getAttribute(isset($context["pilihan"]) ? $context["pilihan"] : null, "urutan") == 1 ? true : false), "html", null, true);
     echo ">A</option>\n                    <option value=\"2\" ";
     // line 20
     echo twig_escape_filter($this->env, set_select("pilihan", "2", $this->getAttribute(isset($context["pilihan"]) ? $context["pilihan"] : null, "urutan") == 2 ? true : false), "html", null, true);
     echo ">B</option>\n                    <option value=\"3\" ";
     // line 21
     echo twig_escape_filter($this->env, set_select("pilihan", "3", $this->getAttribute(isset($context["pilihan"]) ? $context["pilihan"] : null, "urutan") == 3 ? true : false), "html", null, true);
     echo ">C</option>\n                    <option value=\"4\" ";
     // line 22
     echo twig_escape_filter($this->env, set_select("pilihan", "4", $this->getAttribute(isset($context["pilihan"]) ? $context["pilihan"] : null, "urutan") == 4 ? true : false), "html", null, true);
     echo ">D</option>\n                    <option value=\"5\" ";
     // line 23
     echo twig_escape_filter($this->env, set_select("pilihan", "5", $this->getAttribute(isset($context["pilihan"]) ? $context["pilihan"] : null, "urutan") == 5 ? true : false), "html", null, true);
     echo ">E</option>\n                </select>\n                ";
     // line 25
     echo form_error("pilihan");
     echo "\n            </td>\n        </tr>\n        <tr>\n            <td colspan=\"2\">\n                <textarea name=\"konten\" id=\"konten\" style=\"height:350px;width:100%;\">";
     // line 30
     echo set_value("konten", html_entity_decode($this->getAttribute(isset($context["pilihan"]) ? $context["pilihan"] : null, "konten")));
     echo "</textarea>\n                ";
     // line 31
     echo form_error("konten");
     echo "\n            </td>\n        <tr>\n        <tr>\n            <td colspan=\"2\">\n                <button type=\"submit\" class=\"btn btn-primary\">Update</button>\n            </td>\n        </tr>\n    </tbody>\n</table>\n";
     // line 41
     echo form_close();
     echo "\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 4
     echo "<h4>Edit Username</h4>\n";
     // line 5
     echo get_flashdata("edit");
     echo "\n\n";
     // line 7
     if (is_demo_app() && $this->getAttribute(isset($context["login"]) ? $context["login"] : null, "is_admin") == true) {
         // line 8
         echo "    ";
         echo get_alert("warning", get_demo_msg());
         echo "\n";
     }
     // line 10
     echo "\n";
     // line 11
     echo form_open("pengajar/edit_username/" . (isset($context["status_id"]) ? $context["status_id"] : null) . "/" . (isset($context["pengajar_id"]) ? $context["pengajar_id"] : null));
     echo "\n<input type=\"hidden\" name=\"login_id\" value=\"";
     // line 12
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["login"]) ? $context["login"] : null, "id"), "html", null, true);
     echo "\">\n<table class=\"table table-striped\">\n    <tbody>\n        <tr>\n            <td>\n                <input type=\"text\" name=\"username\" value=\"";
     // line 17
     echo twig_escape_filter($this->env, set_value("username", $this->getAttribute(isset($context["login"]) ? $context["login"] : null, "username")), "html", null, true);
     echo "\">\n                <br>";
     // line 18
     echo form_error("username");
     echo "\n            </td>\n            ";
     // line 20
     if (is_demo_app() == false || $this->getAttribute(isset($context["login"]) ? $context["login"] : null, "is_admin") == false) {
         // line 21
         echo "            <td width=\"20%\">\n                <button type=\"submit\" class=\"btn btn-primary\">Update</button>\n            </td>\n            ";
     }
     // line 25
     echo "        </tr>\n    </tbody>\n</table>\n";
     // line 28
     echo form_close();
     echo "\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 4
     echo "<h4>Pertanyaan ke ";
     echo twig_escape_filter($this->env, isset($context["no_pertanyaan"]) ? $context["no_pertanyaan"] : null, "html", null, true);
     echo "</h4>\n";
     // line 5
     echo get_flashdata("tugas");
     echo "\n\n";
     // line 7
     echo form_open("tugas/tambah_soal/" . $this->getAttribute(isset($context["tugas"]) ? $context["tugas"] : null, "id"));
     echo "\n<table class=\"table table-striped\">\n    <tbody>\n        <tr>\n            <td>\n                <textarea name=\"pertanyaan\" id=\"pertanyaan\" style=\"height:400px;width:100%;\">";
     // line 12
     echo set_value("pertanyaan");
     echo "</textarea>\n                ";
     // line 13
     echo form_error("pertanyaan");
     echo "\n            </td>\n        <tr>\n        <tr>\n            <td colspan=\"2\">\n                <button type=\"submit\" class=\"btn btn-primary\">Simpan</button>\n            </td>\n        </tr>\n    </tbody>\n</table>\n";
     // line 23
     echo form_close();
     echo "\n";
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 1
     echo "\n<div class=\"content\">\n    <div class=\"module\">\n        <div class=\"module-head\">\n            <h3>";
     // line 5
     echo isset($context["module_title"]) ? $context["module_title"] : null;
     echo "</h3>\n        </div>\n        <div class=\"module-body\">\n            ";
     // line 8
     echo get_flashdata("kelas");
     echo "\n\n            ";
     // line 10
     $template = $this->env->resolveTemplate(isset($context["sub_content_file"]) ? $context["sub_content_file"] : null);
     $template->display($context);
     // line 11
     echo "\n            <p class=\"text-warning\"><b>NB:</b> Kelas tidak dapat di hapus namun dapat di ubah menjadi tidak aktif.</p>\n\n            ";
     // line 14
     echo isset($context["kelas_hirarki"]) ? $context["kelas_hirarki"] : null;
     echo "\n\n            <br>\n            <div id=\"response_update\"></div>\n            <button class=\"btn btn-primary\" id=\"update\">Update Hirarki</button>\n\n            <script type=\"text/javascript\">\n                \$(document).ready(function(){\n\n                    \$('ol.sortable').nestedSortable({\n                        forcePlaceholderSize: true,\n                        handle: 'div',\n                        helper: 'clone',\n                        items: 'li',\n                        opacity: .6,\n                        placeholder: 'placeholder',\n                        revert: 250,\n                        tabSize: 25,\n                        tolerance: 'pointer',\n                        toleranceElement: '> div',\n                        maxLevels: 2,\n                        isTree: true,\n                        expandOnHover: 700,\n                        startCollapsed: true\n                    });\n\n                });\n\n                \$('#update').click(function(){\n                    \$.ajax({\n                        type : \"POST\",\n                        url : \"";
     // line 45
     echo twig_escape_filter($this->env, site_url("admin/ajax_post/hirarki_kelas"), "html", null, true);
     echo "\",\n                        data : \$('ol.sortable').nestedSortable('serialize'),\n                        success : function(data){\n                            \$('#response_update').html('<span class=\"text-success pull-right\"><i class=\"icon icon-ok\"></i> Update hirarki kelas berhasil</span>');\n                            setTimeout(function(){\n                                \$('#response_update').html('');\n                            },3000);\n                        }\n                    });\n                });\n\n            </script>\n\n        </div>\n    </div>\n</div>\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 4
     echo "<h4>Tambah Pilihan</h4>\n";
     // line 5
     echo get_flashdata("tugas");
     echo "\n\n";
     // line 7
     echo form_open("tugas/tambah_pilihan/" . $this->getAttribute(isset($context["tugas"]) ? $context["tugas"] : null, "id") . "/" . $this->getAttribute(isset($context["pertanyaan"]) ? $context["pertanyaan"] : null, "id"));
     echo "\n<table class=\"table table-striped\">\n    <tbody>\n        <tr>\n            <th width=\"15%\">Pilihan <span class=\"text-error\">*</span></th>\n            <td>\n                <select name=\"pilihan\" style=\"width:auto;\">\n                    <option value=\"\">--Pilih--</option>\n                    <option value=\"1\" ";
     // line 15
     echo twig_escape_filter($this->env, set_select("pilihan", "1"), "html", null, true);
     echo ">A</option>\n                    <option value=\"2\" ";
     // line 16
     echo twig_escape_filter($this->env, set_select("pilihan", "2"), "html", null, true);
     echo ">B</option>\n                    <option value=\"3\" ";
     // line 17
     echo twig_escape_filter($this->env, set_select("pilihan", "3"), "html", null, true);
     echo ">C</option>\n                    <option value=\"4\" ";
     // line 18
     echo twig_escape_filter($this->env, set_select("pilihan", "4"), "html", null, true);
     echo ">D</option>\n                    <option value=\"5\" ";
     // line 19
     echo twig_escape_filter($this->env, set_select("pilihan", "5"), "html", null, true);
     echo ">E</option>\n                </select>\n                ";
     // line 21
     echo form_error("pilihan");
     echo "\n            </td>\n        </tr>\n        <tr>\n            <td colspan=\"2\">\n                <textarea name=\"konten\" id=\"konten\" style=\"height:350px;width:100%;\">";
     // line 26
     echo set_value("konten");
     echo "</textarea>\n                ";
     // line 27
     echo form_error("konten");
     echo "\n            </td>\n        <tr>\n        <tr>\n            <td colspan=\"2\">\n                <button type=\"submit\" class=\"btn btn-primary\">Simpan</button>\n            </td>\n        </tr>\n    </tbody>\n</table>\n";
     // line 37
     echo form_close();
     echo "\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 4
     echo "<h4>Alasan laporan</h4>\n";
     // line 5
     echo get_flashdata("laporkan");
     echo "\n\n<p>Mengapa anda melaporkan komentar tersebut?</p>\n\n";
     // line 9
     echo form_open("materi/detail/" . $this->getAttribute(isset($context["materi"]) ? $context["materi"] : null, "id") . "/laporkan/" . $this->getAttribute(isset($context["komentar"]) ? $context["komentar"] : null, "id"));
     echo "\n";
     // line 10
     echo form_error("alasan");
     echo "\n<label class=\"radio\">\n  <input type=\"radio\" ";
     // line 12
     echo twig_escape_filter($this->env, set_radio("alasan", "SARA"), "html", null, true);
     echo " class=\"hide-lain\" name=\"alasan\" value=\"SARA\"> SARA\n</label>\n<label class=\"radio\">\n  <input type=\"radio\" ";
     // line 15
     echo twig_escape_filter($this->env, set_radio("alasan", "Pornografi"), "html", null, true);
     echo " class=\"hide-lain\" name=\"alasan\" value=\"Pornografi\"> Pornografi\n</label>\n<label class=\"radio\">\n  <input type=\"radio\" ";
     // line 18
     echo twig_escape_filter($this->env, set_radio("alasan", "Profokasi/Intimidasi"), "html", null, true);
     echo " class=\"hide-lain\" name=\"alasan\" value=\"Profokasi/Intimidasi\"> Profokasi/Intimidasi\n</label>\n<label class=\"radio\">\n  <input type=\"radio\" ";
     // line 21
     echo twig_escape_filter($this->env, set_radio("alasan", "tulis"), "html", null, true);
     echo " class=\"show-lain\" name=\"alasan\" value=\"tulis\"> Tulis alasan\n</label>\n<div class=\"form-lain ";
     // line 23
     echo twig_test_empty(get_post_data("alasan")) || get_post_data("alasan") != "tulis" ? "hide" : "";
     echo "\">\n    <textarea class=\"span12\" name=\"alasan_lain\" placeholder=\"Tulis alasan anda\">";
     // line 24
     echo twig_escape_filter($this->env, set_value("alasan_lain"), "html", null, true);
     echo "</textarea>\n    ";
     // line 25
     echo form_error("alasan_lain");
     echo "\n</div>\n<p><button type=\"submit\" class=\"btn btn-primary\">Submit</button></p>\n";
     // line 28
     echo form_close();
     echo "\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 4
     echo "<div class=\"module\">\n    <div class=\"module-head\">\n        <h3>";
     // line 6
     echo isset($context["module_title"]) ? $context["module_title"] : null;
     echo "</h3>\n    </div>\n    <div class=\"module-body\">\n        ";
     // line 9
     echo get_flashdata("akun");
     echo "\n\n        ";
     // line 11
     echo form_open("admin/ch_pass", array("class" => "form-horizontal row-fluid"));
     echo "\n            <div class=\"control-group\">\n                <label class=\"control-label\">Password Baru <span class=\"text-error\">*</span></label>\n                <div class=\"controls\">\n                    <input type=\"password\" name=\"password\" class=\"span5\">\n                    <br>";
     // line 16
     echo form_error("password");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Confirm Password <span class=\"text-error\">*</span></label>\n                <div class=\"controls\">\n                    <input type=\"password\" name=\"password2\" class=\"span5\">\n                    <br>";
     // line 23
     echo form_error("password2");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <div class=\"controls\">\n                    <button type=\"submit\" class=\"btn btn-primary\">Update</button>\n                </div>\n            </div>\n        ";
     // line 31
     echo form_close();
     echo "\n\n    </div>\n</div>\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 4
     echo "<strong>Edit Foto <span class=\"text-error\">*</span></strong>\n";
     // line 5
     echo get_flashdata("edit");
     echo "\n\n";
     // line 7
     echo form_open_multipart("admin/siswa/edit_picture/" . (isset($context["status_id"]) ? $context["status_id"] : null) . "/" . (isset($context["siswa_id"]) ? $context["siswa_id"] : null));
     echo "\n<table class=\"table table-striped\">\n    <tbody>\n        <tr>\n            <td>\n                <img class=\"img-polaroid\" src=\"";
     // line 12
     echo twig_escape_filter($this->env, get_url_image_siswa($this->getAttribute(isset($context["siswa"]) ? $context["siswa"] : null, "foto"), "medium", $this->getAttribute(isset($context["siswa"]) ? $context["siswa"] : null, "jenis_kelamin")), "html", null, true);
     echo "\">\n            </td>\n            <td>\n                <input type=\"file\" name=\"userfile\" class=\"btn btn-small\" style=\"max-width:190px;\">\n                ";
     // line 16
     echo !twig_test_empty(isset($context["error_upload"]) ? $context["error_upload"] : null) ? isset($context["error_upload"]) ? $context["error_upload"] : null : "";
     echo "\n            </td>\n        <tr>\n        <tr>\n            <td colspan=\"2\">\n                <button type=\"submit\" class=\"btn btn-primary\">Update</button>\n            </td>\n        </tr>\n    </tbody>\n</table>\n";
     // line 26
     echo form_close();
     echo "\n";
 }