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 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("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\">\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 8
     echo "<div class=\"module\">\n    <div class=\"module-head\">\n        <h3>";
     // line 10
     echo anchor(isset($context["uri_back"]) ? $context["uri_back"] : null, "Manajemen Matapelajaran");
     echo " / Edit</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/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 23
     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 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", $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 37
     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                    ";
     // line 44
     if (is_demo_app() == false) {
         // line 45
         echo "                    <button type=\"submit\" class=\"btn btn-primary\">Update</button>\n                    ";
     }
     // line 47
     echo "                    <a href=\"";
     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 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 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-default\">\n            <div class=\"panel-heading\">\n                Tambah Kelas\n            </div>\n            <div class=\"panel-body\">\n                ";
     // line 24
     echo form_open("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 28
     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 30
     echo form_error("nama");
     echo "\n                        </div>\n                    </div>\n                ";
     // line 33
     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 39
     echo isset($context["kelas_hirarki"]) ? $context["kelas_hirarki"] : null;
     echo "\n\n        ";
     // line 41
     if (is_demo_app() == false) {
         // line 42
         echo "        <br>\n        <div id=\"response_update\"></div>\n        <button class=\"btn btn-primary\" id=\"update-hirarki\">Update Hirarki</button>\n        ";
     }
     // line 46
     echo "    </div>\n</div>\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>Edit Password</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_password/" . (isset($context["status_id"]) ? $context["status_id"] : null) . "/" . (isset($context["pengajar_id"]) ? $context["pengajar_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 18
     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 25
     echo form_error("password2");
     echo "\n            </td>\n        <tr>\n        ";
     // line 28
     if (is_demo_app() == false || $this->getAttribute(isset($context["login"]) ? $context["login"] : null, "is_admin") == false) {
         // line 29
         echo "        <tr>\n            <td colspan=\"2\">\n                <button type=\"submit\" class=\"btn btn-primary\">Update</button>\n            </td>\n        </tr>\n        ";
     }
     // line 35
     echo "    </tbody>\n</table>\n";
     // line 37
     echo form_close();
     echo "\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 4
     echo "<h4>Edit Foto</h4>\n";
     // line 5
     echo get_flashdata("edit");
     echo "\n\n";
     // line 7
     if (is_demo_app() && $this->getAttribute(isset($context["pengajar"]) ? $context["pengajar"] : 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_multipart("pengajar/edit_picture/" . (isset($context["status_id"]) ? $context["status_id"] : null) . "/" . (isset($context["pengajar_id"]) ? $context["pengajar_id"] : null));
     echo "\n<table class=\"table table-striped\">\n    <tbody>\n        <tr>\n            <td>\n                <img class=\"img-polaroid\" src=\"";
     // line 16
     echo twig_escape_filter($this->env, get_url_image_pengajar($this->getAttribute(isset($context["pengajar"]) ? $context["pengajar"] : null, "foto"), "medium", $this->getAttribute(isset($context["pengajar"]) ? $context["pengajar"] : 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 20
     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        ";
     // line 23
     if (is_demo_app() == false || $this->getAttribute(isset($context["pengajar"]) ? $context["pengajar"] : null, "is_admin") == false) {
         // line 24
         echo "        <tr>\n            <td colspan=\"2\">\n                <button type=\"submit\" class=\"btn btn-primary\">Update</button>\n            </td>\n        </tr>\n        ";
     }
     // line 30
     echo "    </tbody>\n</table>\n";
     // line 32
     echo form_close();
     echo "\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 8
     echo "<div class=\"module\">\n    <div class=\"module-head\">\n        <h3>Matapelajaran Kelas</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=\"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 27
     echo twig_escape_filter($this->env, site_url("kelas/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 34
     $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 35
         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 37
     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 45
     if (!twig_test_empty(isset($context["sub_kelas"]) ? $context["sub_kelas"] : null)) {
         // line 46
         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 47
             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 49
         echo "                                                ";
     }
     // line 50
     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 70
     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>";
     // line 10
     echo anchor(isset($context["uri_back"]) ? $context["uri_back"] : null, "Matapelajaran Kelas");
     echo " / Atur 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=\"bs-callout bs-callout-info\">\n        <p>\n            Pilih matapelajaran yang ingin di masukkan pada <b>";
     // line 21
     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 26
     echo form_open("kelas/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 29
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["mapels"]) ? $context["mapels"] : null);
     foreach ($context['_seq'] as $context["_key"] => $context["m"]) {
         // line 30
         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 31
         echo "            <tr>\n                <td>\n                    <label><input type=\"checkbox\" name=\"mapel[]\" value=\"";
         // line 33
         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) || $this->getAttribute(isset($context["checked"]) ? $context["checked"] : null, "aktif") == 0 ? "" : "checked";
         echo "> <b>";
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["m"]) ? $context["m"] : null, "nama"), "html", null, true);
         echo "</b></label>\n                    <small>";
         // line 34
         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 38
     echo "        </tbody>\n        </table>\n        <br>\n        ";
     // line 41
     if (is_demo_app() == false) {
         // line 42
         echo "        <button type=\"submit\" class=\"btn btn-primary\">Simpan</button>\n        ";
     }
     // line 44
     echo "        <a href=\"";
     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 45
     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
     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_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 23
     echo twig_escape_filter($this->env, set_value("nama-sekolah", get_pengaturan("nama-sekolah", "value")), "html", null, true);
     echo "\">\n                    <br>";
     // line 24
     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 30
     echo twig_escape_filter($this->env, set_value("alamat", get_pengaturan("alamat", "value")), "html", null, true);
     echo "\">\n                    <br>";
     // line 31
     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 37
     echo twig_escape_filter($this->env, set_value("telp", get_pengaturan("telp", "value")), "html", null, true);
     echo "\">\n                    <br>";
     // line 38
     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 45
     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 48
     echo twig_escape_filter($this->env, set_radio("registrasi-siswa", "0", get_pengaturan("registrasi-siswa", "value") == "0" ? true : ""), "html", null, true);
     echo "> Sembunyikan\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 56
     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 59
     echo twig_escape_filter($this->env, set_radio("registrasi-pengajar", "0", get_pengaturan("registrasi-pengajar", "value") == "0" ? true : ""), "html", null, true);
     echo "> Sembunyikan\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 66
     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 72
     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 78
     echo twig_escape_filter($this->env, set_value("email-server", get_pengaturan("email-server", "value")), "html", null, true);
     echo "\">\n                    <br>";
     // line 79
     echo form_error("email-server");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">SMTP host</label>\n                <div class=\"controls\">\n                    <input type=\"text\" name=\"smtp-host\" class=\"span5\" value=\"";
     // line 85
     echo twig_escape_filter($this->env, set_value("smtp-host", get_pengaturan("smtp-host", "value")), "html", null, true);
     echo "\">\n                    <br>";
     // line 86
     echo form_error("smtp-host");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">SMTP username</label>\n                <div class=\"controls\">\n                    <input type=\"text\" name=\"smtp-username\" class=\"span5\" value=\"";
     // line 92
     echo twig_escape_filter($this->env, set_value("smtp-username", get_pengaturan("smtp-username", "value")), "html", null, true);
     echo "\">\n                    <br>";
     // line 93
     echo form_error("smtp-username");
     echo "\n                </div>\n            </div>\n            ";
     // line 96
     if (is_demo_app() == false) {
         // line 97
         echo "            <div class=\"control-group\">\n                <label class=\"control-label\">SMTP password</label>\n                <div class=\"controls\">\n                    <input type=\"text\" name=\"smtp-pass\" class=\"span5\" value=\"";
         // line 100
         echo twig_escape_filter($this->env, set_value("smtp-pass", get_pengaturan("smtp-pass", "value")), "html", null, true);
         echo "\">\n                    <br>";
         // line 101
         echo form_error("smtp-pass");
         echo "\n                </div>\n            </div>\n            ";
     }
     // line 105
     echo "            <div class=\"control-group\">\n                <label class=\"control-label\">SMTP port</label>\n                <div class=\"controls\">\n                    <input type=\"text\" name=\"smtp-port\" class=\"span5\" value=\"";
     // line 108
     echo twig_escape_filter($this->env, set_value("smtp-port", get_pengaturan("smtp-port", "value")), "html", null, true);
     echo "\">\n                    <br>";
     // line 109
     echo form_error("smtp-port");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Slider halaman login</label>\n                <div class=\"controls\" style=\"background-color: #FBFBFB; padding: 10px;border-radius: 5px;\">\n                    <table class=\"table table-condensed\">\n                        <tr>\n                            <td style=\"border-top: none;\">\n                                <div class=\"row-fluid\">\n                                    <div class=\"span2\" style=\"margin-bottom: 10px;\">\n                                        Gambar 1\n                                    </div>\n                                    <div class=\"span10\">\n                                        ";
     // line 123
     if (get_pengaturan("img-slide-1", "value")) {
         // line 124
         echo "                                        <a href=\"";
         echo twig_escape_filter($this->env, site_url("welcome/pengaturan/?delete-img=1"), "html", null, true);
         echo "\" class=\"pull-right\" title=\"Hapus gambar\"><i class=\"icon-trash\"></i></a>\n                                        <img src=\"";
         // line 125
         echo twig_escape_filter($this->env, get_url_image(get_pengaturan("img-slide-1", "value")), "html", null, true);
         echo "\" class=\"img-polaroid\" style=\"max-height: 150px;margin-bottom:10px;\">\n                                        <br>Ganti gambar :\n                                        ";
     }
     // line 128
     echo "                                        <input type=\"file\" name=\"img-slide-1\">\n                                    </div>\n                                </div>\n                                <div class=\"row-fluid\" style=\"margin-bottom: 10px;margin-top: 10px;\">\n                                    <div class=\"span2\">\n                                        Info gambar 1\n                                    </div>\n                                    <div class=\"span10\">\n                                        <textarea name=\"info-slide-1\" class=\"span12\" placeholder=\"text atau html\">";
     // line 136
     echo set_value("info-slide-1", get_pengaturan("info-slide-1", "value"));
     echo "</textarea>\n                                    </div>\n                                </div>\n                            </td>\n                        </tr>\n                        <tr>\n                            <td style=\"border-top:1px dashed #fbfbfb;\">\n                                <div class=\"row-fluid\">\n                                    <div class=\"span2\" style=\"margin-bottom: 10px;\">\n                                        Gambar 2\n                                    </div>\n                                    <div class=\"span10\">\n                                        ";
     // line 148
     if (get_pengaturan("img-slide-2", "value")) {
         // line 149
         echo "                                        <a href=\"";
         echo twig_escape_filter($this->env, site_url("welcome/pengaturan/?delete-img=2"), "html", null, true);
         echo "\" class=\"pull-right\" title=\"Hapus gambar\"><i class=\"icon-trash\"></i></a>\n                                        <img src=\"";
         // line 150
         echo twig_escape_filter($this->env, get_url_image(get_pengaturan("img-slide-2", "value")), "html", null, true);
         echo "\" class=\"img-polaroid\" style=\"max-height: 150px;margin-bottom:10px;\">\n                                        <br>Ganti gambar :\n                                        ";
     }
     // line 153
     echo "                                        <input type=\"file\" name=\"img-slide-2\">\n                                    </div>\n                                </div>\n                                <div class=\"row-fluid\" style=\"margin-bottom: 10px;margin-top: 10px;\">\n                                    <div class=\"span2\">\n                                        Info gambar 2\n                                    </div>\n                                    <div class=\"span10\">\n                                        <textarea name=\"info-slide-2\" class=\"span12\" placeholder=\"text atau html\">";
     // line 161
     echo set_value("info-slide-2", get_pengaturan("info-slide-2", "value"));
     echo "</textarea>\n                                    </div>\n                                </div>\n                            </td>\n                        </tr>\n                        <tr>\n                            <td style=\"border-top:1px dashed #fbfbfb;\">\n                                <div class=\"row-fluid\">\n                                    <div class=\"span2\" style=\"margin-bottom: 10px;\">\n                                        Gambar 3\n                                    </div>\n                                    <div class=\"span10\">\n                                        ";
     // line 173
     if (get_pengaturan("img-slide-3", "value")) {
         // line 174
         echo "                                        <a href=\"";
         echo twig_escape_filter($this->env, site_url("welcome/pengaturan/?delete-img=3"), "html", null, true);
         echo "\" class=\"pull-right\" title=\"Hapus gambar\"><i class=\"icon-trash\"></i></a>\n                                        <img src=\"";
         // line 175
         echo twig_escape_filter($this->env, get_url_image(get_pengaturan("img-slide-3", "value")), "html", null, true);
         echo "\" class=\"img-polaroid\" style=\"max-height: 150px;margin-bottom:10px;\">\n                                        <br>Ganti gambar :\n                                        ";
     }
     // line 178
     echo "                                        <input type=\"file\" name=\"img-slide-3\">\n                                    </div>\n                                </div>\n                                <div class=\"row-fluid\" style=\"margin-bottom: 10px;margin-top: 10px;\">\n                                    <div class=\"span2\">\n                                        Info gambar 3\n                                    </div>\n                                    <div class=\"span10\">\n                                        <textarea name=\"info-slide-3\" class=\"span12\" placeholder=\"text atau html\">";
     // line 186
     echo set_value("info-slide-3", get_pengaturan("info-slide-3", "value"));
     echo "</textarea>\n                                    </div>\n                                </div>\n                            </td>\n                        </tr>\n                        <tr>\n                            <td style=\"border-top:1px dashed #fbfbfb;\">\n                                <div class=\"row-fluid\">\n                                    <div class=\"span2\" style=\"margin-bottom: 10px;\">\n                                        Gambar 4\n                                    </div>\n                                    <div class=\"span10\">\n                                        ";
     // line 198
     if (get_pengaturan("img-slide-4", "value")) {
         // line 199
         echo "                                        <a href=\"";
         echo twig_escape_filter($this->env, site_url("welcome/pengaturan/?delete-img=4"), "html", null, true);
         echo "\" class=\"pull-right\" title=\"Hapus gambar\"><i class=\"icon-trash\"></i></a>\n                                        <img src=\"";
         // line 200
         echo twig_escape_filter($this->env, get_url_image(get_pengaturan("img-slide-4", "value")), "html", null, true);
         echo "\" class=\"img-polaroid\" style=\"max-height: 150px;margin-bottom:10px;\">\n                                        <br>Ganti gambar :\n                                        ";
     }
     // line 203
     echo "                                        <input type=\"file\" name=\"img-slide-4\">\n                                    </div>\n                                </div>\n                                <div class=\"row-fluid\" style=\"margin-bottom: 10px;margin-top: 10px;\">\n                                    <div class=\"span2\">\n                                        Info gambar 4\n                                    </div>\n                                    <div class=\"span10\">\n                                        <textarea name=\"info-slide-4\" class=\"span12\" placeholder=\"text atau html\">";
     // line 211
     echo set_value("info-slide-4", get_pengaturan("info-slide-4", "value"));
     echo "</textarea>\n                                    </div>\n                                </div>\n                            </td>\n                        </tr>\n                    </table>\n                </div>\n            </div>\n\n            ";
     // line 220
     if (is_demo_app() == false) {
         // line 221
         echo "            <div class=\"control-group\">\n                <div class=\"controls\">\n                    <button type=\"submit\" class=\"btn btn-primary\">Update</button>\n                </div>\n            </div>\n            ";
     }
     // line 227
     echo "        ";
     echo form_close();
     echo "\n\n    </div>\n</div>\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 4
     echo "<h4>Edit Profil</h4>\n";
     // line 5
     echo get_flashdata("edit");
     echo "\n\n";
     // line 7
     if (is_demo_app() && $this->getAttribute(isset($context["pengajar"]) ? $context["pengajar"] : 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_profile/" . (isset($context["status_id"]) ? $context["status_id"] : null) . "/" . (isset($context["pengajar_id"]) ? $context["pengajar_id"] : null));
     echo "\n<input type=\"hidden\" name=\"pengajar_id\" value=\"";
     // line 12
     echo twig_escape_filter($this->env, isset($context["pengajar_id"]) ? $context["pengajar_id"] : null, "html", null, true);
     echo "\">\n<table class=\"table table-striped\">\n    <tbody>\n        <tr>\n            <th width=\"30%\">NIP</th>\n            <td>\n                <input type=\"text\" id=\"nip\" name=\"nip\" style=\"width:40%;\" value=\"";
     // line 18
     echo twig_escape_filter($this->env, set_value("nip", $this->getAttribute(isset($context["pengajar"]) ? $context["pengajar"] : null, "nip")), "html", null, true);
     echo "\">\n                <br>";
     // line 19
     echo form_error("nip");
     echo "\n            </td>\n        <tr>\n        <tr>\n            <th>Nama <span class=\"text-error\">*</span></th>\n            <td>\n                <input type=\"text\" name=\"nama\" style=\"width:90%;\" value=\"";
     // line 25
     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 26
     echo form_error("nama");
     echo "\n            </td>\n        <tr>\n        <tr>\n            <th>Jenis Kelamin <span class=\"text-error\">*</span></th>\n            <td>\n                <label class=\"radio inline\"><input type=\"radio\" name=\"jenis_kelamin\" value=\"Laki-laki\" ";
     // line 32
     echo twig_escape_filter($this->env, set_radio("jenis_kelamin", "Laki-laki", $this->getAttribute(isset($context["pengajar"]) ? $context["pengajar"] : null, "jenis_kelamin") == "Laki-laki" ? true : false), "html", null, true);
     echo "> Laki-laki</label>\n                <label class=\"radio inline\"><input type=\"radio\" name=\"jenis_kelamin\" value=\"Perempuan\" ";
     // line 33
     echo twig_escape_filter($this->env, set_radio("jenis_kelamin", "Perempuan", $this->getAttribute(isset($context["pengajar"]) ? $context["pengajar"] : null, "jenis_kelamin") == "Perempuan" ? true : false), "html", null, true);
     echo "> Perempuan</label>\n                <br>";
     // line 34
     echo form_error("jenis_kelamin");
     echo "\n            </td>\n        <tr>\n        <tr>\n            <th>Tempat Lahir</th>\n            <td>\n                <input type=\"text\" name=\"tempat_lahir\" value=\"";
     // line 40
     echo twig_escape_filter($this->env, set_value("tempat_lahir", $this->getAttribute(isset($context["pengajar"]) ? $context["pengajar"] : null, "tempat_lahir")), "html", null, true);
     echo "\">\n                <br>";
     // line 41
     echo form_error("tempat_lahir");
     echo "\n            </td>\n        <tr>\n        <tr>\n            <th>Tanggal Lahir</th>\n            <td>\n                ";
     // line 47
     $context["tgl"] = !twig_test_empty($this->getAttribute(isset($context["pengajar"]) ? $context["pengajar"] : null, "tgl_lahir")) ? twig_date_format_filter($this->env, $this->getAttribute(isset($context["pengajar"]) ? $context["pengajar"] : null, "tgl_lahir"), "d") : "";
     // line 48
     echo "                ";
     $context["bln"] = !twig_test_empty($this->getAttribute(isset($context["pengajar"]) ? $context["pengajar"] : null, "tgl_lahir")) ? twig_date_format_filter($this->env, $this->getAttribute(isset($context["pengajar"]) ? $context["pengajar"] : null, "tgl_lahir"), "m") : "";
     // line 49
     echo "                ";
     $context["thn"] = !twig_test_empty($this->getAttribute(isset($context["pengajar"]) ? $context["pengajar"] : null, "tgl_lahir")) ? twig_date_format_filter($this->env, $this->getAttribute(isset($context["pengajar"]) ? $context["pengajar"] : null, "tgl_lahir"), "Y") : "";
     // line 50
     echo "                <select class=\"span2\" style=\"width: 20%;float:left;margin-right:5px;\" name=\"tgl_lahir\">\n                    <option value=\"\">--Tgl--</option>\n                    ";
     // line 52
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(range(1, 31));
     foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
         // line 53
         echo "                        <option value=\"";
         echo twig_escape_filter($this->env, isset($context["i"]) ? $context["i"] : null, "html", null, true);
         echo "\" ";
         echo twig_escape_filter($this->env, set_select("tgl_lahir", isset($context["i"]) ? $context["i"] : null, (isset($context["i"]) ? $context["i"] : null) == (isset($context["tgl"]) ? $context["tgl"] : null) ? true : false), "html", null, true);
         echo ">";
         echo twig_escape_filter($this->env, isset($context["i"]) ? $context["i"] : null, "html", null, true);
         echo "</option>\n                    ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 55
     echo "                </select>\n                <select class=\"span2\" style=\"width: 35%;float:left;margin-right:5px;\" name=\"bln_lahir\">\n                    <option value=\"\">--Bulan--</option>\n                    ";
     // line 58
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(range(1, 12));
     foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
         // line 59
         echo "                        <option value=\"";
         echo twig_escape_filter($this->env, isset($context["i"]) ? $context["i"] : null, "html", null, true);
         echo "\" ";
         echo twig_escape_filter($this->env, set_select("bln_lahir", isset($context["i"]) ? $context["i"] : null, (isset($context["i"]) ? $context["i"] : null) == (isset($context["bln"]) ? $context["bln"] : null) ? true : false), "html", null, true);
         echo ">";
         echo twig_escape_filter($this->env, get_indo_bulan(isset($context["i"]) ? $context["i"] : null), "html", null, true);
         echo "</option>\n                    ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 61
     echo "                </select>\n                <input type=\"text\" name=\"thn_lahir\" style=\"width:15%;float:left;\" maxlength=\"4\" value=\"";
     // line 62
     echo twig_escape_filter($this->env, set_value("thn_lahir", isset($context["thn"]) ? $context["thn"] : null), "html", null, true);
     echo "\" placeholder=\"Tahun\">\n                <br>";
     // line 63
     echo form_error("thn_lahir");
     echo "\n            </td>\n        <tr>\n        <tr>\n            <th>Alamat</th>\n            <td>\n                <input type=\"text\" name=\"alamat\" style=\"width:90%;\" value=\"";
     // line 69
     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 70
     echo form_error("alamat");
     echo "\n            </td>\n        <tr>\n        ";
     // line 73
     if (is_admin()) {
         // line 74
         echo "        <tr>\n            <th>Status <span class=\"text-error\">*</span></th>\n            <td>\n                ";
         // line 77
         if ($this->getAttribute(isset($context["pengajar"]) ? $context["pengajar"] : null, "status_id") == 0) {
             // line 78
             echo "                <label class=\"radio inline\"><input type=\"radio\" name=\"status_id\" value=\"0\" ";
             echo twig_escape_filter($this->env, set_radio("status_id", "0", $this->getAttribute(isset($context["pengajar"]) ? $context["pengajar"] : null, "status_id") == "0" ? true : false), "html", null, true);
             echo "> Pending</label>\n                ";
         }
         // line 80
         echo "                <label class=\"radio inline\"><input type=\"radio\" name=\"status_id\" value=\"1\" ";
         echo twig_escape_filter($this->env, set_radio("status_id", "1", $this->getAttribute(isset($context["pengajar"]) ? $context["pengajar"] : null, "status_id") == "1" ? true : false), "html", null, true);
         echo "> Aktif</label>\n                <label class=\"radio inline\"><input type=\"radio\" name=\"status_id\" value=\"2\" ";
         // line 81
         echo twig_escape_filter($this->env, set_radio("status_id", "2", $this->getAttribute(isset($context["pengajar"]) ? $context["pengajar"] : null, "status_id") == "2" ? true : false), "html", null, true);
         echo "> Blocking</label>\n                <br>";
         // line 82
         echo form_error("status_id");
         echo "\n            </td>\n        <tr>\n        <tr>\n            <th>Opsi</th>\n            <td>\n                <label class=\"checkbox text-warning\"><input type=\"checkbox\" name=\"is_admin\" value=\"1\" ";
         // line 88
         echo twig_escape_filter($this->env, set_checkbox("is_admin", "1", $this->getAttribute(isset($context["pengajar"]) ? $context["pengajar"] : null, "is_admin") == 1 ? true : false), "html", null, true);
         echo "> Jadikan pengajar admin website</label>\n                <br>";
         // line 89
         echo form_error("is_admin");
         echo "\n            </td>\n        <tr>\n        ";
     }
     // line 93
     echo "\n        ";
     // line 94
     if (is_demo_app() == false || $this->getAttribute(isset($context["pengajar"]) ? $context["pengajar"] : null, "is_admin") == false) {
         // line 95
         echo "        <tr>\n            <td colspan=\"2\">\n                <button type=\"submit\" class=\"btn btn-primary\">Update</button>\n            </td>\n        </tr>\n        ";
     }
     // line 101
     echo "    </tbody>\n</table>\n";
     // line 103
     echo form_close();
     echo "\n";
 }