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("siswa");
     echo "\n\n        ";
     // line 11
     echo form_open_multipart("admin/siswa/add/" . (isset($context["status_id"]) ? $context["status_id"] : null), array("class" => "form-horizontal row-fluid"));
     echo "\n            <div class=\"control-group\">\n                <label class=\"control-label\">NIS <span class=\"text-error\">*</span></label>\n                <div class=\"controls\">\n                    <input type=\"text\" id=\"nis\" name=\"nis\" class=\"span4\" value=\"";
     // line 15
     echo twig_escape_filter($this->env, set_value("nis"), "html", null, true);
     echo "\">\n                    <br>";
     // line 16
     echo form_error("nis");
     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=\"span8\" value=\"";
     // line 22
     echo twig_escape_filter($this->env, set_value("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\">Jenis Kelamin <span class=\"text-error\">*</span></label>\n                <div class=\"controls\">\n                    <label class=\"radio inline\"><input type=\"radio\" name=\"jenis_kelamin\" value=\"Laki-laki\" ";
     // line 29
     echo twig_escape_filter($this->env, set_radio("jenis_kelamin", "Laki-laki"), "html", null, true);
     echo "> Laki-laki</label>\n                    <label class=\"radio inline\"><input type=\"radio\" name=\"jenis_kelamin\" value=\"Perempuan\" ";
     // line 30
     echo twig_escape_filter($this->env, set_radio("jenis_kelamin", "Perempuan"), "html", null, true);
     echo "> Perempuan</label>\n                    <br>";
     // line 31
     echo form_error("jenis_kelamin");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Tahun Masuk <span class=\"text-error\">*</span></label>\n                <div class=\"controls\">\n                    <input type=\"text\" name=\"tahun_masuk\" class=\"span2\" maxlength=\"4\" value=\"";
     // line 37
     echo twig_escape_filter($this->env, set_value("tahun_masuk"), "html", null, true);
     echo "\">\n                    <br>";
     // line 38
     echo form_error("tahun_masuk");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Kelas <span class=\"text-error\">*</span></label>\n                <div class=\"controls\">\n                    <select class=\"span3\" name=\"kelas_id\">\n                        ";
     // line 45
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["kelas"]) ? $context["kelas"] : null);
     foreach ($context['_seq'] as $context["_key"] => $context["k"]) {
         // line 46
         echo "                            <option value=\"";
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["k"]) ? $context["k"] : null, "id"), "html", null, true);
         echo "\" ";
         echo twig_escape_filter($this->env, set_select("kelas_id", $this->getAttribute(isset($context["k"]) ? $context["k"] : null, "id")), "html", null, true);
         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 48
     echo "                    </select>\n                    <br>";
     // line 49
     echo form_error("kelas_id");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Tempat Lahir</label>\n                <div class=\"controls\">\n                    <input type=\"text\" name=\"tempat_lahir\" class=\"span5\" value=\"";
     // line 55
     echo twig_escape_filter($this->env, set_value("tempat_lahir"), "html", null, true);
     echo "\">\n                    <br>";
     // line 56
     echo form_error("tempat_lahir");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Tanggal Lahir</label>\n                <div class=\"controls\">\n                    <select class=\"span2\" style=\"width: 10%;\" name=\"tgl_lahir\">\n                        <option value=\"\">Tgl</option>\n                        ";
     // line 64
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(range(1, 31));
     foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
         // line 65
         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), "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 67
     echo "                    </select>\n                    <select class=\"span2\" style=\"width: 17%;\" name=\"bln_lahir\">\n                        <option value=\"\">Bulan</option>\n                        ";
     // line 70
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(range(1, 12));
     foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
         // line 71
         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), "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 73
     echo "                    </select>\n                    <input type=\"text\" name=\"thn_lahir\" class=\"span2\" maxlength=\"4\" value=\"";
     // line 74
     echo twig_escape_filter($this->env, set_value("thn_lahir"), "html", null, true);
     echo "\" placeholder=\"Tahun\">\n                    <br>";
     // line 75
     echo form_error("thn_lahir");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Agama</label>\n                <div class=\"controls\">\n                    <select name=\"agama\" class=\"span2\">\n                        <option value=\"\">--pilih--</option>\n                        <option value=\"ISLAM\" ";
     // line 83
     echo twig_escape_filter($this->env, set_select("agama", "ISLAM"), "html", null, true);
     echo ">ISLAM</option>\n                        <option value=\"KRISTEN\" ";
     // line 84
     echo twig_escape_filter($this->env, set_select("agama", "KRISTEN"), "html", null, true);
     echo ">KRISTEN</option>\n                        <option value=\"KATOLIK\" ";
     // line 85
     echo twig_escape_filter($this->env, set_select("agama", "KATOLIK"), "html", null, true);
     echo ">KATOLIK</option>\n                        <option value=\"HINDU\" ";
     // line 86
     echo twig_escape_filter($this->env, set_select("agama", "HINDU"), "html", null, true);
     echo ">HINDU</option>\n                        <option value=\"BUDHA\" ";
     // line 87
     echo twig_escape_filter($this->env, set_select("agama", "BUDHA"), "html", null, true);
     echo ">BUDHA</option>\n                    </select>\n                    <br>";
     // line 89
     echo form_error("agama");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Alamat</label>\n                <div class=\"controls\">\n                    <textarea name=\"alamat\" class=\"span8\">";
     // line 95
     echo twig_escape_filter($this->env, set_value("alamat"), "html", null, true);
     echo "</textarea>\n                    <br>";
     // line 96
     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                    <input type=\"file\" name=\"userfile\">\n                    ";
     // line 103
     echo !twig_test_empty(isset($context["error_upload"]) ? $context["error_upload"] : null) ? isset($context["error_upload"]) ? $context["error_upload"] : null : "";
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Username <span class=\"text-error\">*</span></label>\n                <div class=\"controls\">\n                    <input type=\"text\" id=\"username\" name=\"username\" class=\"span5\" value=\"";
     // line 109
     echo twig_escape_filter($this->env, set_value("username"), "html", null, true);
     echo "\" placeholder=\"example@example.sch.id\">\n\n                    <label class=\"checkbox inline\"><input type=\"checkbox\" name=\"default_username\" id=\"default_username\" onclick=\"username_default()\" value=\"1\" ";
     // line 111
     echo twig_escape_filter($this->env, set_checkbox("default_username", "1"), "html", null, true);
     echo "> Gunakan default username</label>\n                    <br>";
     // line 112
     echo form_error("username");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Password <span class=\"text-error\">*</span></label>\n                <div class=\"controls\">\n                    <input type=\"password\" name=\"password\" class=\"span5\" value=\"";
     // line 118
     echo twig_escape_filter($this->env, set_value("password"), "html", null, true);
     echo "\">\n                    <br>";
     // line 119
     echo form_error("password");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Ulangi Password <span class=\"text-error\">*</span></label>\n                <div class=\"controls\">\n                    <input type=\"password\" name=\"password2\" class=\"span5\" value=\"";
     // line 125
     echo twig_escape_filter($this->env, set_value("password2"), "html", null, true);
     echo "\">\n                    <br>";
     // line 126
     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\">Simpan</button>\n                    <a href=\"";
     // line 132
     echo twig_escape_filter($this->env, site_url("admin/siswa/list/" . (isset($context["status_id"]) ? $context["status_id"] : null)), "html", null, true);
     echo "\" class=\"btn\">Batal</a>\n                </div>\n            </div>\n        ";
     // line 135
     echo form_close();
     echo "\n\n    </div>\n</div>\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 4
     echo "<strong>Edit Profil</strong>\n";
     // line 5
     echo get_flashdata("edit");
     echo "\n\n";
     // line 7
     echo form_open("admin/siswa/edit_profile/" . (isset($context["status_id"]) ? $context["status_id"] : null) . "/" . (isset($context["siswa_id"]) ? $context["siswa_id"] : null));
     echo "\n<input type=\"hidden\" name=\"siswa_id\" value=\"";
     // line 8
     echo twig_escape_filter($this->env, isset($context["siswa_id"]) ? $context["siswa_id"] : null, "html", null, true);
     echo "\">\n<table class=\"table table-striped\">\n    <tbody>\n        <tr>\n            <th width=\"30%\">NIS <span class=\"text-error\">*</span></th>\n            <td>\n                <input type=\"text\" id=\"nis\" name=\"nis\" style=\"width:40%;\" value=\"";
     // line 14
     echo twig_escape_filter($this->env, set_value("nis", $this->getAttribute(isset($context["siswa"]) ? $context["siswa"] : null, "nis")), "html", null, true);
     echo "\">\n                <br>";
     // line 15
     echo form_error("nis");
     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 21
     echo twig_escape_filter($this->env, set_value("nama", $this->getAttribute(isset($context["siswa"]) ? $context["siswa"] : null, "nama")), "html", null, true);
     echo "\">\n                <br>";
     // line 22
     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 28
     echo twig_escape_filter($this->env, set_radio("jenis_kelamin", "Laki-laki", $this->getAttribute(isset($context["siswa"]) ? $context["siswa"] : 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 29
     echo twig_escape_filter($this->env, set_radio("jenis_kelamin", "Perempuan", $this->getAttribute(isset($context["siswa"]) ? $context["siswa"] : null, "jenis_kelamin") == "Perempuan" ? true : false), "html", null, true);
     echo "> Perempuan</label>\n                <br>";
     // line 30
     echo form_error("jenis_kelamin");
     echo "\n            </td>\n        <tr>\n        <tr>\n            <th>Tahun Masuk <span class=\"text-error\">*</span></th>\n            <td>\n                <input type=\"text\" name=\"tahun_masuk\" maxlength=\"4\" style=\"width:15%;\" value=\"";
     // line 36
     echo twig_escape_filter($this->env, set_value("tahun_masuk", $this->getAttribute(isset($context["siswa"]) ? $context["siswa"] : null, "tahun_masuk")), "html", null, true);
     echo "\">\n                <br>";
     // line 37
     echo form_error("tahun_masuk");
     echo "\n            </td>\n        <tr>\n        <tr>\n            <th>Tempat Lahir</th>\n            <td>\n                <input type=\"text\" name=\"tempat_lahir\" value=\"";
     // line 43
     echo twig_escape_filter($this->env, set_value("tempat_lahir", $this->getAttribute(isset($context["siswa"]) ? $context["siswa"] : null, "tempat_lahir")), "html", null, true);
     echo "\">\n                <br>";
     // line 44
     echo form_error("tempat_lahir");
     echo "\n            </td>\n        <tr>\n        <tr>\n            <th>Tanggal Lahir</th>\n            <td>\n                ";
     // line 50
     $context["tgl"] = !twig_test_empty($this->getAttribute(isset($context["siswa"]) ? $context["siswa"] : null, "tgl_lahir")) ? twig_date_format_filter($this->env, $this->getAttribute(isset($context["siswa"]) ? $context["siswa"] : null, "tgl_lahir"), "d") : "";
     // line 51
     echo "                ";
     $context["bln"] = !twig_test_empty($this->getAttribute(isset($context["siswa"]) ? $context["siswa"] : null, "tgl_lahir")) ? twig_date_format_filter($this->env, $this->getAttribute(isset($context["siswa"]) ? $context["siswa"] : null, "tgl_lahir"), "m") : "";
     // line 52
     echo "                ";
     $context["thn"] = !twig_test_empty($this->getAttribute(isset($context["siswa"]) ? $context["siswa"] : null, "tgl_lahir")) ? twig_date_format_filter($this->env, $this->getAttribute(isset($context["siswa"]) ? $context["siswa"] : null, "tgl_lahir"), "Y") : "";
     // line 53
     echo "                <select class=\"span2\" style=\"width: 20%;float:left;margin-right:5px;\" name=\"tgl_lahir\">\n                    <option value=\"\">--Tgl--</option>\n                    ";
     // line 55
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(range(1, 31));
     foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
         // line 56
         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 58
     echo "                </select>\n                <select class=\"span2\" style=\"width: 35%;float:left;margin-right:5px;\" name=\"bln_lahir\">\n                    <option value=\"\">--Bulan--</option>\n                    ";
     // line 61
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(range(1, 12));
     foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
         // line 62
         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 64
     echo "                </select>\n                <input type=\"text\" name=\"thn_lahir\" style=\"width:15%;float:left;\" maxlength=\"4\" value=\"";
     // line 65
     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 66
     echo form_error("thn_lahir");
     echo "\n            </td>\n        <tr>\n        <tr>\n            <th>Agama</th>\n            <td>\n                <select name=\"agama\" style=\"width:30%;\">\n                    <option value=\"\">--pilih--</option>\n                    <option value=\"ISLAM\" ";
     // line 74
     echo twig_escape_filter($this->env, set_select("agama", "ISLAM", $this->getAttribute(isset($context["siswa"]) ? $context["siswa"] : null, "agama") == "ISLAM" ? true : false), "html", null, true);
     echo ">ISLAM</option>\n                    <option value=\"KRISTEN\" ";
     // line 75
     echo twig_escape_filter($this->env, set_select("agama", "KRISTEN", $this->getAttribute(isset($context["siswa"]) ? $context["siswa"] : null, "agama") == "KRISTEN" ? true : false), "html", null, true);
     echo ">KRISTEN</option>\n                    <option value=\"KATOLIK\" ";
     // line 76
     echo twig_escape_filter($this->env, set_select("agama", "KATOLIK", $this->getAttribute(isset($context["siswa"]) ? $context["siswa"] : null, "agama") == "KATOLIK" ? true : false), "html", null, true);
     echo ">KATOLIK</option>\n                    <option value=\"HINDU\" ";
     // line 77
     echo twig_escape_filter($this->env, set_select("agama", "HINDU", $this->getAttribute(isset($context["siswa"]) ? $context["siswa"] : null, "agama") == "HINDU" ? true : false), "html", null, true);
     echo ">HINDU</option>\n                    <option value=\"BUDHA\" ";
     // line 78
     echo twig_escape_filter($this->env, set_select("agama", "BUDHA", $this->getAttribute(isset($context["siswa"]) ? $context["siswa"] : null, "agama") == "BUDHA" ? true : false), "html", null, true);
     echo ">BUDHA</option>\n                </select>\n                <br>";
     // line 80
     echo form_error("agama");
     echo "\n            </td>\n        <tr>\n        <tr>\n            <th>Alamat</th>\n            <td>\n                <textarea name=\"alamat\" style=\"width:90%;\">";
     // line 86
     echo twig_escape_filter($this->env, set_value("alamat", $this->getAttribute(isset($context["siswa"]) ? $context["siswa"] : null, "alamat")), "html", null, true);
     echo "</textarea>\n                <br>";
     // line 87
     echo form_error("alamat");
     echo "\n            </td>\n        <tr>\n        ";
     // line 90
     if ($this->getAttribute(isset($context["siswa"]) ? $context["siswa"] : null, "status_id") != 3) {
         // line 91
         echo "        <tr>\n            <th>Status <span class=\"text-error\">*</span></th>\n            <td>\n                <label class=\"radio inline\"><input type=\"radio\" name=\"status_id\" value=\"0\" ";
         // line 94
         echo twig_escape_filter($this->env, set_radio("status_id", "0", $this->getAttribute(isset($context["siswa"]) ? $context["siswa"] : null, "status_id") == "0" ? true : false), "html", null, true);
         echo "> Pending</label>\n                <label class=\"radio inline\"><input type=\"radio\" name=\"status_id\" value=\"1\" ";
         // line 95
         echo twig_escape_filter($this->env, set_radio("status_id", "1", $this->getAttribute(isset($context["siswa"]) ? $context["siswa"] : 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 96
         echo twig_escape_filter($this->env, set_radio("status_id", "2", $this->getAttribute(isset($context["siswa"]) ? $context["siswa"] : null, "status_id") == "2" ? true : false), "html", null, true);
         echo "> Blocking</label>\n                <label class=\"radio inline\"><input type=\"radio\" name=\"status_id\" value=\"3\" ";
         // line 97
         echo twig_escape_filter($this->env, set_radio("status_id", "3", $this->getAttribute(isset($context["siswa"]) ? $context["siswa"] : null, "status_id") == "3" ? true : false), "html", null, true);
         echo "> Alumni</label>\n                <br>";
         // line 98
         echo form_error("status_id");
         echo "\n            </td>\n        <tr>\n        ";
     } else {
         // line 102
         echo "            <input type=\"hidden\" name=\"status_id\" value=\"3\">\n        ";
     }
     // line 104
     echo "        <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 111
     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("pengajar");
     echo "\n\n        ";
     // line 11
     echo form_open_multipart("admin/pengajar/add/" . (isset($context["status_id"]) ? $context["status_id"] : null), array("class" => "form-horizontal row-fluid"));
     echo "\n            <div class=\"control-group\">\n                <label class=\"control-label\">NIP</label>\n                <div class=\"controls\">\n                    <input type=\"text\" id=\"nip\" name=\"nip\" class=\"span4\" value=\"";
     // line 15
     echo twig_escape_filter($this->env, set_value("nip"), "html", null, true);
     echo "\">\n                    <br>";
     // line 16
     echo form_error("nip");
     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=\"span8\" value=\"";
     // line 22
     echo twig_escape_filter($this->env, set_value("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\">Jenis Kelamin <span class=\"text-error\">*</span></label>\n                <div class=\"controls\">\n                    <label class=\"radio inline\"><input type=\"radio\" name=\"jenis_kelamin\" value=\"Laki-laki\" ";
     // line 29
     echo twig_escape_filter($this->env, set_radio("jenis_kelamin", "Laki-laki"), "html", null, true);
     echo "> Laki-laki</label>\n                    <label class=\"radio inline\"><input type=\"radio\" name=\"jenis_kelamin\" value=\"Perempuan\" ";
     // line 30
     echo twig_escape_filter($this->env, set_radio("jenis_kelamin", "Perempuan"), "html", null, true);
     echo "> Perempuan</label>\n                    <br>";
     // line 31
     echo form_error("jenis_kelamin");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Tempat Lahir</label>\n                <div class=\"controls\">\n                    <input type=\"text\" name=\"tempat_lahir\" class=\"span5\" value=\"";
     // line 37
     echo twig_escape_filter($this->env, set_value("tempat_lahir"), "html", null, true);
     echo "\">\n                    <br>";
     // line 38
     echo form_error("tempat_lahir");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Tanggal Lahir</label>\n                <div class=\"controls\">\n                    <select class=\"span2\" style=\"width: 10%;\" name=\"tgl_lahir\">\n                        <option value=\"\">Tgl</option>\n                        ";
     // line 46
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(range(1, 31));
     foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
         // line 47
         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), "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 49
     echo "                    </select>\n                    <select class=\"span2\" style=\"width: 17%;\" name=\"bln_lahir\">\n                        <option value=\"\">Bulan</option>\n                        ";
     // line 52
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(range(1, 12));
     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("bln_lahir", isset($context["i"]) ? $context["i"] : null), "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 55
     echo "                    </select>\n                    <input type=\"text\" name=\"thn_lahir\" class=\"span2\" maxlength=\"4\" value=\"";
     // line 56
     echo twig_escape_filter($this->env, set_value("thn_lahir"), "html", null, true);
     echo "\" placeholder=\"Tahun\">\n                    <br>";
     // line 57
     echo form_error("thn_lahir");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Alamat</label>\n                <div class=\"controls\">\n                    <textarea name=\"alamat\" class=\"span8\">";
     // line 63
     echo twig_escape_filter($this->env, set_value("alamat"), "html", null, true);
     echo "</textarea>\n                    <br>";
     // line 64
     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                    <input type=\"file\" name=\"userfile\">\n                    ";
     // line 71
     echo !twig_test_empty(isset($context["error_upload"]) ? $context["error_upload"] : null) ? isset($context["error_upload"]) ? $context["error_upload"] : null : "";
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Username <span class=\"text-error\">*</span></label>\n                <div class=\"controls\">\n                    <input type=\"text\" id=\"username\" name=\"username\" class=\"span5\" value=\"";
     // line 77
     echo twig_escape_filter($this->env, set_value("username"), "html", null, true);
     echo "\" placeholder=\"example@example.sch.id\">\n\n                    <label class=\"checkbox inline\"><input type=\"checkbox\" name=\"default_username\" id=\"default_username\" onclick=\"username_default()\" value=\"1\" ";
     // line 79
     echo twig_escape_filter($this->env, set_checkbox("default_username", "1"), "html", null, true);
     echo "> Gunakan default username</label>\n                    <br>";
     // line 80
     echo form_error("username");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Password <span class=\"text-error\">*</span></label>\n                <div class=\"controls\">\n                    <input type=\"password\" name=\"password\" class=\"span5\" value=\"";
     // line 86
     echo twig_escape_filter($this->env, set_value("password"), "html", null, true);
     echo "\">\n                    <br>";
     // line 87
     echo form_error("password");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Ulangi Password <span class=\"text-error\">*</span></label>\n                <div class=\"controls\">\n                    <input type=\"password\" name=\"password2\" class=\"span5\" value=\"";
     // line 93
     echo twig_escape_filter($this->env, set_value("password2"), "html", null, true);
     echo "\">\n                    <br>";
     // line 94
     echo form_error("password2");
     echo "\n                </div>\n            </div>\n            <div class=\"control-group\">\n                <label class=\"control-label\">Opsi</label>\n                <div class=\"controls\">\n                    <label class=\"checkbox\"><input type=\"checkbox\" name=\"is_admin\" value=\"1\" ";
     // line 100
     echo twig_escape_filter($this->env, set_checkbox("is_admin", "1"), "html", null, true);
     echo "> Jadikan pengajar admin website</label>\n                    <br>";
     // line 101
     echo form_error("is_admin");
     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 107
     echo twig_escape_filter($this->env, site_url("admin/pengajar/list/" . (isset($context["status_id"]) ? $context["status_id"] : null)), "html", null, true);
     echo "\" class=\"btn\">Batal</a>\n                </div>\n            </div>\n        ";
     // line 110
     echo form_close();
     echo "\n\n    </div>\n</div>\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 8
     echo "<div class=\"row\">\n    <div class=\"module span8 offset2\">\n            <div class=\"module-head\">\n                <span class=\"pull-right\"><b>Step 4 : </b>User administrator</span>\n                <h3>Install e-learning</h3>\n            </div>\n\n            <div class=\"module-body\">\n\n                ";
     // line 17
     if ((isset($context["success"]) ? $context["success"] : null) == false) {
         // line 18
         echo "                <div class=\"well well-small\" style=\"box-shadow: none;\">\n                    Buat pengajar yang bertindak sebagai administrator.\n                </div>\n                ";
         // line 21
         echo form_open_multipart("setup/index/4", array("class" => "form-horizontal row-fluid"));
         echo "\n                    <div class=\"control-group\">\n                        <label class=\"control-label\">NIP</label>\n                        <div class=\"controls\">\n                            <input type=\"text\" id=\"nip\" name=\"nip\" class=\"span4\" value=\"";
         // line 25
         echo twig_escape_filter($this->env, set_value("nip"), "html", null, true);
         echo "\">\n                            <br>";
         // line 26
         echo form_error("nip");
         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=\"span8\" value=\"";
         // line 32
         echo twig_escape_filter($this->env, set_value("nama"), "html", null, true);
         echo "\">\n                            <br>";
         // line 33
         echo form_error("nama");
         echo "\n                        </div>\n                    </div>\n                    <div class=\"control-group\">\n                        <label class=\"control-label\">Jenis Kelamin <span class=\"text-error\">*</span></label>\n                        <div class=\"controls\">\n                            <label class=\"radio inline\"><input type=\"radio\" name=\"jenis_kelamin\" value=\"Laki-laki\" ";
         // line 39
         echo twig_escape_filter($this->env, set_radio("jenis_kelamin", "Laki-laki"), "html", null, true);
         echo "> Laki-laki</label>\n                            <label class=\"radio inline\"><input type=\"radio\" name=\"jenis_kelamin\" value=\"Perempuan\" ";
         // line 40
         echo twig_escape_filter($this->env, set_radio("jenis_kelamin", "Perempuan"), "html", null, true);
         echo "> Perempuan</label>\n                            <br>";
         // line 41
         echo form_error("jenis_kelamin");
         echo "\n                        </div>\n                    </div>\n                    <div class=\"control-group\">\n                        <label class=\"control-label\">Tempat Lahir</label>\n                        <div class=\"controls\">\n                            <input type=\"text\" name=\"tempat_lahir\" class=\"span5\" value=\"";
         // line 47
         echo twig_escape_filter($this->env, set_value("tempat_lahir"), "html", null, true);
         echo "\">\n                            <br>";
         // line 48
         echo form_error("tempat_lahir");
         echo "\n                        </div>\n                    </div>\n                    <div class=\"control-group\">\n                        <label class=\"control-label\">Tanggal Lahir</label>\n                        <div class=\"controls\">\n                            <select class=\"span2\" style=\"width: 10%;\" name=\"tgl_lahir\">\n                                <option value=\"\">Tgl</option>\n                                ";
         // line 56
         $context['_parent'] = (array) $context;
         $context['_seq'] = twig_ensure_traversable(range(1, 31));
         foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
             // line 57
             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), "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 59
         echo "                            </select>\n                            <select class=\"span2\" style=\"width: 17%;\" name=\"bln_lahir\">\n                                <option value=\"\">Bulan</option>\n                                ";
         // line 62
         $context['_parent'] = (array) $context;
         $context['_seq'] = twig_ensure_traversable(range(1, 12));
         foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
             // line 63
             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), "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 65
         echo "                            </select>\n                            <input type=\"text\" name=\"thn_lahir\" class=\"span2\" maxlength=\"4\" value=\"";
         // line 66
         echo twig_escape_filter($this->env, set_value("thn_lahir"), "html", null, true);
         echo "\" placeholder=\"Tahun\">\n                            <br>";
         // line 67
         echo form_error("thn_lahir");
         echo "\n                        </div>\n                    </div>\n                    <div class=\"control-group\">\n                        <label class=\"control-label\">Alamat</label>\n                        <div class=\"controls\">\n                            <input type=\"text\" name=\"alamat\" class=\"span10\" value=\"";
         // line 73
         echo twig_escape_filter($this->env, set_value("alamat"), "html", null, true);
         echo "\">\n                            <br>";
         // line 74
         echo form_error("alamat");
         echo "\n                        </div>\n                    </div>\n                    <div class=\"control-group\">\n                        <label class=\"control-label\">Username <span class=\"text-error\">*</span></label>\n                        <div class=\"controls\">\n                            <input type=\"text\" id=\"username\" name=\"username\" class=\"span5\" value=\"";
         // line 80
         echo twig_escape_filter($this->env, set_value("username"), "html", null, true);
         echo "\" placeholder=\"alamat email\">\n                            <br>";
         // line 81
         echo form_error("username");
         echo "\n                        </div>\n                    </div>\n                    <div class=\"control-group\">\n                        <label class=\"control-label\">Password <span class=\"text-error\">*</span></label>\n                        <div class=\"controls\">\n                            <input type=\"password\" name=\"password\" class=\"span5\" value=\"";
         // line 87
         echo twig_escape_filter($this->env, set_value("password"), "html", null, true);
         echo "\">\n                            <br>";
         // line 88
         echo form_error("password");
         echo "\n                        </div>\n                    </div>\n                    <div class=\"control-group\">\n                        <label class=\"control-label\">Ulangi Password <span class=\"text-error\">*</span></label>\n                        <div class=\"controls\">\n                            <input type=\"password\" name=\"password2\" class=\"span5\" value=\"";
         // line 94
         echo twig_escape_filter($this->env, set_value("password2"), "html", null, true);
         echo "\">\n                            <br>";
         // line 95
         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\">Register</button>\n                        </div>\n                    </div>\n                ";
         // line 103
         echo form_close();
         echo "\n\n                ";
     } else {
         // line 106
         echo "\n                    <div class=\"well well-small\" style=\"box-shadow: none;\">\n                        Instalasi e-learning berhasil, <a href=\"";
         // line 108
         echo twig_escape_filter($this->env, site_url("login"), "html", null, true);
         echo "\">login administrator</a>.\n                    </div>\n\n                ";
     }
     // line 112
     echo "            </div>\n    </div>\n</div>\n";
 }
/**
 * Method untuk memformat tanggal ke indonesia
 *
 * @param  string $tgl
 * @return string
 */
function tgl_indo($tgl = '')
{
    if (!empty($tgl)) {
        $pisah = explode('-', $tgl);
        return $pisah[2] . ' ' . get_indo_bulan($pisah[1]) . ' ' . $pisah[0];
    }
}
 public function block_content($context, array $blocks = array())
 {
     // line 4
     echo "<strong>Edit Profil</strong>\n";
     // line 5
     echo get_flashdata("edit");
     echo "\n\n";
     // line 7
     echo form_open("admin/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 8
     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 14
     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 15
     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 21
     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 22
     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 28
     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 29
     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 30
     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 36
     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 37
     echo form_error("tempat_lahir");
     echo "\n            </td>\n        <tr>\n        <tr>\n            <th>Tanggal Lahir</th>\n            <td>\n                ";
     // line 43
     $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 44
     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 45
     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 46
     echo "                <select class=\"span2\" style=\"width: 20%;float:left;margin-right:5px;\" name=\"tgl_lahir\">\n                    <option value=\"\">--Tgl--</option>\n                    ";
     // line 48
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(range(1, 31));
     foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
         // line 49
         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 51
     echo "                </select>\n                <select class=\"span2\" style=\"width: 35%;float:left;margin-right:5px;\" name=\"bln_lahir\">\n                    <option value=\"\">--Bulan--</option>\n                    ";
     // line 54
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(range(1, 12));
     foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
         // line 55
         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 57
     echo "                </select>\n                <input type=\"text\" name=\"thn_lahir\" style=\"width:15%;float:left;\" maxlength=\"4\" value=\"";
     // line 58
     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 59
     echo form_error("thn_lahir");
     echo "\n            </td>\n        <tr>\n        <tr>\n            <th>Alamat</th>\n            <td>\n                <textarea name=\"alamat\" style=\"width:90%;\">";
     // line 65
     echo twig_escape_filter($this->env, set_value("alamat", $this->getAttribute(isset($context["pengajar"]) ? $context["pengajar"] : null, "alamat")), "html", null, true);
     echo "</textarea>\n                <br>";
     // line 66
     echo form_error("alamat");
     echo "\n            </td>\n        <tr>\n        <tr>\n            <th>Status <span class=\"text-error\">*</span></th>\n            <td>\n                ";
     // line 72
     if ($this->getAttribute(isset($context["pengajar"]) ? $context["pengajar"] : null, "status_id") == 0) {
         // line 73
         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 75
     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 76
     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 77
     echo form_error("status_id");
     echo "\n            </td>\n        <tr>\n        <tr>\n            <th>Opsi</th>\n            <td>\n                <label class=\"checkbox\"><input type=\"checkbox\" name=\"is_admin\" value=\"1\" ";
     // line 83
     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 84
     echo form_error("is_admin");
     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 94
     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>Filter Pengajar</h3>\n    </div>\n    <div class=\"module-body\">\n        ";
     // line 13
     echo get_flashdata("pengajar");
     echo "\n\n        ";
     // line 15
     if (is_admin() == true) {
         // line 16
         echo "        <div class=\"row-fluid\">\n            <div class=\"span8\">\n                <a href=\"";
         // line 18
         echo twig_escape_filter($this->env, site_url("pengajar/add/1"), "html", null, true);
         echo "\" class=\"btn btn-primary\">Tambah Pengajar</a>\n            </div>\n\n            <div class=\"span4\">\n                <div class=\"btn-group\">\n                    ";
         // line 23
         echo anchor("pengajar/index/1", "Aktif", array("class" => "btn btn-default"));
         echo "\n                    ";
         // line 24
         echo anchor("pengajar/index/0", "Pending", array("class" => "btn btn-default"));
         echo "\n                    ";
         // line 25
         echo anchor("pengajar/index/2", "Blocking", array("class" => "btn btn-default"));
         echo "\n                    ";
         // line 26
         echo anchor("pengajar/filter", "<i class=\"icon-search\" style=\"line-height: 0px;\"></i> Filter", array("class" => "btn btn-info"));
         echo "\n                </div>\n            </div>\n        </div>\n        <br>\n        ";
     }
     // line 32
     echo "\n        <div class=\"bs-callout bs-callout-info\">\n            <b><a id=\"button\" href=\"javascript:void(0)\"><i class=\"icon-search\" style=\"line-height: 0px;\"></i> PARAMETER PENCARIAN</a></b>\n            ";
     // line 35
     echo form_open("pengajar/filter");
     echo "\n            <table class=\"table table-condensed\" id=\"form-search\">\n                <tr>\n                    <th width=\"20%\">NIP</th>\n                    <td>\n                        <input type=\"text\" name=\"nip\" class=\"span2\" style=\"margin-bottom:0px;\" value=\"";
     // line 40
     echo twig_escape_filter($this->env, set_value("nip", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "nip", array(), "any", true, true) ? $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "nip") : ""), "html", null, true);
     echo "\">\n                    </td>\n                </tr>\n                <tr>\n                    <th>Nama</th>\n                    <td>\n                        <input type=\"text\" name=\"nama\" class=\"span4\" style=\"margin-bottom:0px;\" value=\"";
     // line 46
     echo twig_escape_filter($this->env, set_value("nama", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "nama", array(), "any", true, true) ? $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "nama") : ""), "html", null, true);
     echo "\">\n                    </td>\n                </tr>\n                <tr>\n                    <th>Jenis Kelamin</th>\n                    <td>\n                        <p style=\"margin-top:0px; margin-bottom:5px;\">\n                        <label class=\"checkbox inline\">\n                            <input type=\"checkbox\" name=\"jenis_kelamin[]\" value=\"Laki-laki\" ";
     // line 54
     echo twig_escape_filter($this->env, set_checkbox("jenis_kelamin[]", "Laki-laki", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "jenis_kelamin", array(), "any", true, true) && twig_in_filter("Laki-laki", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "jenis_kelamin")) ? true : false), "html", null, true);
     echo "> Laki-laki\n                        </label>\n                        <label class=\"checkbox inline\">\n                            <input type=\"checkbox\" name=\"jenis_kelamin[]\" value=\"Perempuan\" ";
     // line 57
     echo twig_escape_filter($this->env, set_checkbox("jenis_kelamin[]", "Perempuan", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "jenis_kelamin", array(), "any", true, true) && twig_in_filter("Perempuan", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "jenis_kelamin")) ? true : false), "html", null, true);
     echo "> Perempuan\n                        </label>\n                        </p>\n                    </td>\n                <tr>\n                <tr>\n                    <th>Tempat Lahir</th>\n                    <td>\n                        <input type=\"text\" name=\"tempat_lahir\" class=\"span3\" style=\"margin-bottom:0px;\" value=\"";
     // line 65
     echo twig_escape_filter($this->env, set_value("tempat_lahir", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "tempat_lahir", array(), "any", true, true) ? $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "tempat_lahir") : ""), "html", null, true);
     echo "\">\n                    </td>\n                <tr>\n                <tr>\n                    <th>Tanggal Lahir</th>\n                    <td>\n                        <select class=\"span2\" style=\"width: 10%;\" name=\"tgl_lahir\">\n                            <option value=\"\">Tgl</option>\n                            ";
     // line 73
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(range(1, 31));
     foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
         // line 74
         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, $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "tgl_lahir", array(), "any", true, true) && (isset($context["i"]) ? $context["i"] : null) == $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "tgl_lahir") ? 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 76
     echo "                        </select>\n                        <select class=\"span2\" style=\"width: 17%;\" name=\"bln_lahir\">\n                            <option value=\"\">Bulan</option>\n                            ";
     // line 79
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(range(1, 12));
     foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
         // line 80
         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, $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "bln_lahir", array(), "any", true, true) && (isset($context["i"]) ? $context["i"] : null) == $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "bln_lahir") ? 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 82
     echo "                        </select>\n                        <input type=\"text\" name=\"thn_lahir\" class=\"span1\" maxlength=\"4\" value=\"";
     // line 83
     echo twig_escape_filter($this->env, set_value("thn_lahir", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "thn_lahir", array(), "any", true, true) ? $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "thn_lahir") : ""), "html", null, true);
     echo "\" placeholder=\"Tahun\">\n                    </td>\n                <tr>\n                <tr>\n                    <th>Alamat</th>\n                    <td>\n                        <input type=\"text\" name=\"alamat\" class=\"span4\" style=\"margin-bottom:0px;\" value=\"";
     // line 89
     echo twig_escape_filter($this->env, set_value("alamat", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "alamat", array(), "any", true, true) ? $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "alamat") : ""), "html", null, true);
     echo "\">\n                    </td>\n                <tr>\n                ";
     // line 92
     if (is_admin() == true) {
         // line 93
         echo "                <tr>\n                    <th>Status</th>\n                    <td>\n                        <p style=\"margin-top:0px; margin-bottom:5px;\">\n                            <label class=\"checkbox inline\"><input type=\"checkbox\" name=\"status_id[]\" value=\"0\" ";
         // line 97
         echo twig_escape_filter($this->env, set_checkbox("status_id[]", "0", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "status_id", array(), "any", true, true) && twig_in_filter(0, $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "status_id")) ? true : false), "html", null, true);
         echo "> Pending</label>\n                            <label class=\"checkbox inline\"><input type=\"checkbox\" name=\"status_id[]\" value=\"1\" ";
         // line 98
         echo twig_escape_filter($this->env, set_checkbox("status_id[]", "1", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "status_id", array(), "any", true, true) && twig_in_filter(1, $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "status_id")) ? true : false), "html", null, true);
         echo "> Aktif</label>\n                            <label class=\"checkbox inline\"><input type=\"checkbox\" name=\"status_id[]\" value=\"2\" ";
         // line 99
         echo twig_escape_filter($this->env, set_checkbox("status_id[]", "2", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "status_id", array(), "any", true, true) && twig_in_filter(2, $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "status_id")) ? true : false), "html", null, true);
         echo "> Blocking</label>\n                        </p>\n                    </td>\n                <tr>\n                <tr>\n                    <th>Username</th>\n                    <td>\n                        <input type=\"text\" name=\"username\" class=\"span3\" style=\"margin-bottom:0px;\" value=\"";
         // line 106
         echo twig_escape_filter($this->env, set_value("username", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "username", array(), "any", true, true) ? $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "username") : ""), "html", null, true);
         echo "\">\n                    </td>\n                </tr>\n                ";
     }
     // line 110
     echo "                <tr>\n                    <th>Opsi</th>\n                    <td>\n                        <label><input type=\"checkbox\" name=\"is_admin\" value=\"1\" style=\"margin-top:-2px;\" ";
     // line 113
     echo twig_escape_filter($this->env, set_checkbox("is_admin", "1", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "is_admin", array(), "any", true, true) && $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "is_admin") == 1 ? true : false), "html", null, true);
     echo "> Administrator</label>\n                    </td>\n                </tr>\n                <tr>\n                    <td></td>\n                    <td>\n                        <button type=\"submit\" class=\"btn btn-primary\">Filter</button>\n                    </td>\n                </tr>\n            </table>\n            ";
     // line 123
     echo form_close();
     echo "\n        </div>\n\n        <br>\n\n        ";
     // line 128
     echo form_open("pengajar/filter_action");
     echo "\n        <table class=\"table table-striped\">\n            <thead>\n                <tr>\n                    <th width=\"7%\">\n                        ";
     // line 133
     if (is_admin() && ((isset($context["status_id"]) ? $context["status_id"] : null) == 0 || (isset($context["status_id"]) ? $context["status_id"] : null) == 2)) {
         // line 134
         echo "                            <input type=\"checkbox\" style=\"margin-top:-2px;\" onclick=\"ch_uch_checkbox(this)\">\n                        ";
     }
     // line 136
     echo "                        ID\n                    </th>\n                    <th>Informasi Pengajar</th>\n                    <th width=\"22%\"></th>\n                </tr>\n            </thead>\n            <tbody>\n                ";
     // line 143
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["pengajars"]) ? $context["pengajars"] : null);
     foreach ($context['_seq'] as $context["no"] => $context["v"]) {
         // line 144
         echo "                <tr>\n                    <td>\n                        ";
         // line 146
         if (is_admin() && ((isset($context["status_id"]) ? $context["status_id"] : null) == 0 || (isset($context["status_id"]) ? $context["status_id"] : null) == 2)) {
             // line 147
             echo "                            <input type=\"checkbox\" name=\"pengajar_id[]\" value=\"";
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "id"), "html", null, true);
             echo "\" style=\"margin-top:-2px;\">\n                        ";
         }
         // line 149
         echo "                        <b>";
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "id"), "html", null, true);
         echo "</b>\n                    </td>\n                    <td>\n                        <img style=\"height:40px;width:40px; margin-right: 10px;\" class=\"img-polaroid img-circle pull-left\" src=\"";
         // line 152
         echo twig_escape_filter($this->env, get_url_image_pengajar($this->getAttribute(isset($context["v"]) ? $context["v"] : null, "foto"), "medium", $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "jenis_kelamin")), "html", null, true);
         echo "\">\n                        <b>";
         // line 153
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "nama"), "html", null, true);
         echo " ";
         echo !twig_test_empty($this->getAttribute(isset($context["v"]) ? $context["v"] : null, "nip")) ? "<span class=\"text-muted\">(" . $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "nip") . ")</span>" : "";
         echo "</b>\n                        ";
         // line 154
         $context["is_admin"] = get_row_data("login_model", "retrieve", array(0 => null, 1 => null, 2 => null, 3 => null, 4 => $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "id")), "is_admin");
         // line 155
         echo "                        ";
         if ((isset($context["is_admin"]) ? $context["is_admin"] : null) == 1) {
             // line 156
             echo "                            <span class=\"label label-warning\">Administrator</span>\n                        ";
         }
         // line 158
         echo "                        <br><b>Alamat :</b> ";
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "alamat"), "html", null, true);
         echo "\n                    </td>\n                    <td>\n                        <ul class=\"nav nav-pills\" style=\"margin-bottom:0px;\">\n                            ";
         // line 162
         if (is_admin() == true) {
             // line 163
             echo "                            <li><a class=\"btn btn-default btn-small\" href=\"";
             echo twig_escape_filter($this->env, site_url("pengajar/detail/" . $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "status_id") . "/" . $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "id")), "html", null, true);
             echo "\"><i class=\"icon-zoom-in\"></i> Detail</a></li>\n                            <li class=\"dropdown\">\n                                <a class=\"btn btn-default btn-small\" href=\"#\" id=\"act-";
             // line 165
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "id"), "html", null, true);
             echo "\" class=\"dropdown-toggle\" data-toggle=\"dropdown\"><i class=\"icon-edit\"></i> Edit <b class=\"caret\" style=\"margin-top:5px;\"></b></a>\n                                <ul class=\"dropdown-menu\" role=\"menu\" aria-labelledby=\"act-";
             // line 166
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "id"), "html", null, true);
             echo "\">\n                                    <li>";
             // line 167
             echo anchor("pengajar/edit_profile/" . $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "status_id") . "/" . $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "id"), "Edit Profil", array("class" => "iframe-4", "title" => "Edit Profil Pengajar"));
             echo "</li>\n                                    <li>";
             // line 168
             echo anchor("pengajar/edit_picture/" . $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "status_id") . "/" . $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "id"), "Edit Foto", array("class" => "iframe-5", "title" => "Edit Foto Pengajar"));
             echo "</li>\n                                    <li>";
             // line 169
             echo anchor("pengajar/edit_username/" . $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "status_id") . "/" . $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "id"), "Edit Username", array("class" => "iframe-2", "title" => "Edit Username Pengajar"));
             echo "</li>\n                                    <li>";
             // line 170
             echo anchor("pengajar/edit_password/" . $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "status_id") . "/" . $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "id"), "Edit Password", array("class" => "iframe-3", "title" => "Edit Password Pengajar"));
             echo "</li>\n                                </ul>\n                            </li>\n                            ";
         } else {
             // line 174
             echo "                            <li><a class=\"btn btn-default btn-small\" href=\"";
             echo twig_escape_filter($this->env, site_url("pengajar/detail/" . $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "id")), "html", null, true);
             echo "\"><i class=\"icon-zoom-in\"></i> Detail</a></li>\n                            ";
         }
         // line 176
         echo "                        </ul>\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 180
     echo "            </tbody>\n        </table>\n\n        ";
     // line 183
     if (is_admin() && !twig_test_empty(isset($context["pengajars"]) ? $context["pengajars"] : null)) {
         // line 184
         echo "        <br>\n        <div class=\"row-fluid\">\n            <div class=\"span8\">\n                <table cellpadding=\"5\">\n                    <tr>\n                        <th valign=\"top\">Aksi Terpilih</th>\n                        <td valign=\"top\">\n                            <select name=\"status_id\" style=\"width:auto;\">\n                                <option value=\"\">--Update Status--</option>\n                                <option value=\"1\">Aktif</option>\n                                <option value=\"2\">Blocking</option>\n                            </select>\n                        </td>\n                        <td valign=\"top\">\n                            <button type=\"submit\" class=\"btn btn-primary\">Update</button>\n                        </td>\n                    </tr>\n                </table>\n            </div>\n        </div>\n        ";
     }
     // line 205
     echo "\n        ";
     // line 206
     echo form_close();
     echo "\n\n        <br>\n        ";
     // line 209
     echo isset($context["pagination"]) ? $context["pagination"] : null;
     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("siswa");
     echo "\n\n        <div class=\"row-fluid\">\n        <div class=\"span7\">\n            <a href=\"";
     // line 13
     echo twig_escape_filter($this->env, site_url("admin/siswa/add/1"), "html", null, true);
     echo "\" class=\"btn btn-primary\">Tambah Siswa</a>\n        </div>\n\n        <div class=\"span5\">\n            <div class=\"btn-group\">\n                ";
     // line 18
     echo anchor("admin/siswa/list/1", "Aktif", array("class" => "btn btn-default"));
     echo "\n                ";
     // line 19
     echo anchor("admin/siswa/list/0", "Pending", array("class" => "btn btn-default"));
     echo "\n                ";
     // line 20
     echo anchor("admin/siswa/list/2", "Blocking", array("class" => "btn btn-default"));
     echo "\n                ";
     // line 21
     echo anchor("admin/siswa/list/3", "Alumni", array("class" => "btn btn-default"));
     echo "\n                ";
     // line 22
     echo anchor("admin/siswa/filter", "<i class=\"icon-search\" style=\"line-height: 0px;\"></i> Filter", array("class" => "btn btn-info"));
     echo "\n            </div>\n        </div>\n        </div>\n\n        <br>\n\n        <div class=\"bs-callout bs-callout-info\">\n            <b><a id=\"button\" href=\"javascript:void(0)\">PARAMETER PENCARIAN</a></b>\n            ";
     // line 31
     echo form_open("admin/siswa/filter");
     echo "\n            <table class=\"table table-condensed\" id=\"form-search\">\n                <tr>\n                    <th width=\"20%\">NIS</th>\n                    <td>\n                        <input type=\"text\" name=\"nis\" class=\"span2\" style=\"margin-bottom:0px;\" value=\"";
     // line 36
     echo twig_escape_filter($this->env, set_value("nis", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "nis", array(), "any", true, true) ? $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "nis") : ""), "html", null, true);
     echo "\">\n                    </td>\n                </tr>\n                <tr>\n                    <th>Nama</th>\n                    <td>\n                        <input type=\"text\" name=\"nama\" class=\"span4\" style=\"margin-bottom:0px;\" value=\"";
     // line 42
     echo twig_escape_filter($this->env, set_value("nama", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "nama", array(), "any", true, true) ? $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "nama") : ""), "html", null, true);
     echo "\">\n                    </td>\n                </tr>\n                <tr>\n                    <th>Jenis Kelamin</th>\n                    <td>\n                        <p style=\"margin-top:0px; margin-bottom:5px;\">\n                        <label class=\"checkbox inline\">\n                            <input type=\"checkbox\" name=\"jenis_kelamin[]\" value=\"Laki-laki\" ";
     // line 50
     echo twig_escape_filter($this->env, set_checkbox("jenis_kelamin[]", "Laki-laki", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "jenis_kelamin", array(), "any", true, true) && twig_in_filter("Laki-laki", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "jenis_kelamin")) ? true : false), "html", null, true);
     echo "> Laki-laki\n                        </label>\n                        <label class=\"checkbox inline\">\n                            <input type=\"checkbox\" name=\"jenis_kelamin[]\" value=\"Perempuan\" ";
     // line 53
     echo twig_escape_filter($this->env, set_checkbox("jenis_kelamin[]", "Perempuan", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "jenis_kelamin", array(), "any", true, true) && twig_in_filter("Perempuan", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "jenis_kelamin")) ? true : false), "html", null, true);
     echo "> Perempuan\n                        </label>\n                        </p>\n                    </td>\n                <tr>\n                <tr>\n                    <th>Tahun Masuk</th>\n                    <td>\n                        <input type=\"text\" name=\"tahun_masuk\" maxlength=\"4\" style=\"width:15%;margin-bottom:0px;\" value=\"";
     // line 61
     echo twig_escape_filter($this->env, set_value("tahun_masuk", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "tahun_masuk", array(), "any", true, true) ? $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "tahun_masuk") : ""), "html", null, true);
     echo "\">\n                    </td>\n                <tr>\n                <tr>\n                    <th>Tempat Lahir</th>\n                    <td>\n                        <input type=\"text\" name=\"tempat_lahir\" class=\"span3\" style=\"margin-bottom:0px;\" value=\"";
     // line 67
     echo twig_escape_filter($this->env, set_value("tempat_lahir", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "tempat_lahir", array(), "any", true, true) ? $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "tempat_lahir") : ""), "html", null, true);
     echo "\">\n                    </td>\n                <tr>\n                <tr>\n                    <th>Tanggal Lahir</th>\n                    <td>\n                        <select class=\"span2\" style=\"width: 10%;\" name=\"tgl_lahir\">\n                            <option value=\"\">Tgl</option>\n                            ";
     // line 75
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(range(1, 31));
     foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
         // line 76
         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, $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "tgl_lahir", array(), "any", true, true) && (isset($context["i"]) ? $context["i"] : null) == $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "tgl_lahir") ? 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 78
     echo "                        </select>\n                        <select class=\"span2\" style=\"width: 17%;\" name=\"bln_lahir\">\n                            <option value=\"\">Bulan</option>\n                            ";
     // line 81
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(range(1, 12));
     foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
         // line 82
         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, $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "bln_lahir", array(), "any", true, true) && (isset($context["i"]) ? $context["i"] : null) == $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "bln_lahir") ? 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 84
     echo "                        </select>\n                        <input type=\"text\" name=\"thn_lahir\" class=\"span1\" maxlength=\"4\" value=\"";
     // line 85
     echo twig_escape_filter($this->env, set_value("thn_lahir", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "thn_lahir", array(), "any", true, true) ? $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "thn_lahir") : ""), "html", null, true);
     echo "\" placeholder=\"Tahun\">\n                    </td>\n                <tr>\n                <tr>\n                    <th>Alamat</th>\n                    <td>\n                        <input type=\"text\" name=\"alamat\" class=\"span4\" style=\"margin-bottom:0px;\" value=\"";
     // line 91
     echo twig_escape_filter($this->env, set_value("alamat", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "alamat", array(), "any", true, true) ? $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "alamat") : ""), "html", null, true);
     echo "\">\n                    </td>\n                <tr>\n                <tr>\n                    <th>Agama</th>\n                    <td>\n                        <p style=\"margin-top:0px; margin-bottom:5px;\">\n                            <label class=\"checkbox inline\"><input type=\"checkbox\" name=\"agama[]\" value=\"ISLAM\" ";
     // line 98
     echo twig_escape_filter($this->env, set_checkbox("agama[]", "ISLAM", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "agama", array(), "any", true, true) && twig_in_filter("ISLAM", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "agama")) ? true : false), "html", null, true);
     echo ">ISLAM</label>\n                            <label class=\"checkbox inline\"><input type=\"checkbox\" name=\"agama[]\" value=\"KRISTEN\" ";
     // line 99
     echo twig_escape_filter($this->env, set_checkbox("agama[]", "KRISTEN", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "agama", array(), "any", true, true) && twig_in_filter("KRISTEN", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "agama")) ? true : false), "html", null, true);
     echo ">KRISTEN</label>\n                            <label class=\"checkbox inline\"><input type=\"checkbox\" name=\"agama[]\" value=\"KATOLIK\" ";
     // line 100
     echo twig_escape_filter($this->env, set_checkbox("agama[]", "KATOLIK", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "agama", array(), "any", true, true) && twig_in_filter("KATOLIK", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "agama")) ? true : false), "html", null, true);
     echo ">KATOLIK</label>\n                            <label class=\"checkbox inline\"><input type=\"checkbox\" name=\"agama[]\" value=\"HINDU\" ";
     // line 101
     echo twig_escape_filter($this->env, set_checkbox("agama[]", "HINDU", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "agama", array(), "any", true, true) && twig_in_filter("HINDU", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "agama")) ? true : false), "html", null, true);
     echo ">HINDU</label>\n                            <label class=\"checkbox inline\"><input type=\"checkbox\" name=\"agama[]\" value=\"BUDHA\" ";
     // line 102
     echo twig_escape_filter($this->env, set_checkbox("agama[]", "BUDHA", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "agama", array(), "any", true, true) && twig_in_filter("BUDHA", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "agama")) ? true : false), "html", null, true);
     echo ">BUDHA</label>\n                        </p>\n                    </td>\n                <tr>\n                <tr>\n                    <th>Kelas</th>\n                    <td>\n                        <ul class=\"unstyled inline\" style=\"margin-left: -5px;\">\n                            ";
     // line 110
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["kelas_all"]) ? $context["kelas_all"] : null);
     foreach ($context['_seq'] as $context["_key"] => $context["k"]) {
         // line 111
         echo "                                <li><label class=\"checkbox inline\"><input type=\"checkbox\" name=\"kelas_id[]\" value=\"";
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["k"]) ? $context["k"] : null, "id"), "html", null, true);
         echo "\" ";
         echo twig_escape_filter($this->env, set_checkbox("kelas_id[]", $this->getAttribute(isset($context["k"]) ? $context["k"] : null, "id"), $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "kelas_id", array(), "any", true, true) && twig_in_filter($this->getAttribute(isset($context["k"]) ? $context["k"] : null, "id"), $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "kelas_id")) ? true : false), "html", null, true);
         echo ">";
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["k"]) ? $context["k"] : null, "nama"), "html", null, true);
         echo "</label></li>\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 113
     echo "                        </ul>\n                    </td>\n                <tr>\n                <tr>\n                    <th>Status</th>\n                    <td>\n                        <p style=\"margin-top:0px; margin-bottom:5px;\">\n                            <label class=\"checkbox inline\"><input type=\"checkbox\" name=\"status_id[]\" value=\"0\" ";
     // line 120
     echo twig_escape_filter($this->env, set_checkbox("status_id[]", "0", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "status_id", array(), "any", true, true) && twig_in_filter(0, $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "status_id")) ? true : false), "html", null, true);
     echo "> Pending</label>\n                            <label class=\"checkbox inline\"><input type=\"checkbox\" name=\"status_id[]\" value=\"1\" ";
     // line 121
     echo twig_escape_filter($this->env, set_checkbox("status_id[]", "1", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "status_id", array(), "any", true, true) && twig_in_filter(1, $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "status_id")) ? true : false), "html", null, true);
     echo "> Aktif</label>\n                            <label class=\"checkbox inline\"><input type=\"checkbox\" name=\"status_id[]\" value=\"2\" ";
     // line 122
     echo twig_escape_filter($this->env, set_checkbox("status_id[]", "2", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "status_id", array(), "any", true, true) && twig_in_filter(2, $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "status_id")) ? true : false), "html", null, true);
     echo "> Blocking</label>\n                            <label class=\"checkbox inline\"><input type=\"checkbox\" name=\"status_id[]\" value=\"3\" ";
     // line 123
     echo twig_escape_filter($this->env, set_checkbox("status_id[]", "3", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "status_id", array(), "any", true, true) && twig_in_filter(3, $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "status_id")) ? true : false), "html", null, true);
     echo "> Alumni</label>\n                        </p>\n                    </td>\n                <tr>\n                <tr>\n                    <th>Username</th>\n                    <td>\n                        <input type=\"text\" name=\"username\" class=\"span3\" style=\"margin-bottom:0px;\" value=\"";
     // line 130
     echo twig_escape_filter($this->env, set_value("username", $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "username", array(), "any", true, true) ? $this->getAttribute(isset($context["filter"]) ? $context["filter"] : null, "username") : ""), "html", null, true);
     echo "\">\n                    </td>\n                </tr>\n                <tr>\n                    <td></td>\n                    <td>\n                        <button type=\"submit\" class=\"btn btn-primary\">Filter</button>\n                    </td>\n                </tr>\n            </table>\n            ";
     // line 140
     echo form_close();
     echo "\n        </div>\n\n        <br>\n\n        ";
     // line 145
     echo form_open("admin/siswa/filter_action");
     echo "\n        <table class=\"table table-striped\">\n            <thead>\n                <tr>\n                    <th width=\"7%\">\n                        <input type=\"checkbox\" style=\"margin-top:-2px;\" onclick=\"ch_uch_checkbox(this)\">\n                        No\n                    </th>\n                    <th colspan=\"2\">Nis</th>\n                    <th>Nama</th>\n                    <th width=\"15%\">Kelas</th>\n                    <th width=\"10%\">Status</th>\n                    <th width=\"22%\"></th>\n                </tr>\n            </thead>\n            <tbody>\n                ";
     // line 161
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["siswas"]) ? $context["siswas"] : null);
     foreach ($context['_seq'] as $context["no"] => $context["v"]) {
         // line 162
         echo "                <tr>\n                    <td>\n                        <input type=\"checkbox\" name=\"siswa_id[]\" value=\"";
         // line 164
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "id"), "html", null, true);
         echo "\" style=\"margin-top:-2px;\" ";
         echo $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "status_id") == 3 ? "disabled" : "";
         echo ">\n                        ";
         // line 165
         echo twig_escape_filter($this->env, isset($context["no"]) ? $context["no"] : null, "html", null, true);
         echo ".\n                    </td>\n                    <td width=\"5%\">\n                        <img style=\"height:30px;width:27px;\" class=\"img-polaroid\" src=\"";
         // line 168
         echo twig_escape_filter($this->env, get_url_image_siswa($this->getAttribute(isset($context["v"]) ? $context["v"] : null, "foto"), "small", $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "jenis_kelamin")), "html", null, true);
         echo "\">\n                    </td>\n                    <td>\n                        ";
         // line 171
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "nis"), "html", null, true);
         echo "\n                    </td>\n                    <td>\n                        ";
         // line 174
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "nama"), "html", null, true);
         echo "\n                    </td>\n                    <td>\n                        ";
         // line 177
         $context["kelas_aktif"] = get_row_data("kelas_model", "retrieve_siswa", array(0 => null, 1 => array("siswa_id" => $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "id"), "aktif" => "1")));
         // line 178
         echo "                        ";
         echo twig_escape_filter($this->env, get_row_data("kelas_model", "retrieve", array(0 => $this->getAttribute(isset($context["kelas_aktif"]) ? $context["kelas_aktif"] : null, "kelas_id"), 1 => true), "nama"), "html", null, true);
         echo "\n                    </td>\n                    <td>\n                        ";
         // line 181
         if ($this->getAttribute(isset($context["v"]) ? $context["v"] : null, "status_id") == 0) {
             // line 182
             echo "                            Pending\n                        ";
         } elseif ($this->getAttribute(isset($context["v"]) ? $context["v"] : null, "status_id") == 1) {
             // line 184
             echo "                            Aktif\n                        ";
         } elseif ($this->getAttribute(isset($context["v"]) ? $context["v"] : null, "status_id") == 2) {
             // line 186
             echo "                            Blocking\n                        ";
         } elseif ($this->getAttribute(isset($context["v"]) ? $context["v"] : null, "status_id") == 3) {
             // line 188
             echo "                            Alumni\n                        ";
         }
         // line 190
         echo "                    </td>\n                    <td>\n                        <ul class=\"nav nav-pills\" style=\"margin-bottom:0px;\">\n                            <li><a class=\"btn btn-default btn-small\" href=\"";
         // line 193
         echo twig_escape_filter($this->env, site_url("admin/siswa/detail/" . $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "status_id") . "/" . $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "id")), "html", null, true);
         echo "\"><i class=\"icon-zoom-in\"></i> Detail</a></li>\n                            <li class=\"dropdown\">\n                                <a class=\"btn btn-default btn-small\" href=\"#\" id=\"act-";
         // line 195
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "id"), "html", null, true);
         echo "\" class=\"dropdown-toggle\" data-toggle=\"dropdown\"><i class=\"icon-edit\"></i> Edit <b class=\"caret\" style=\"margin-top:5px;\"></b></a>\n                                <ul class=\"dropdown-menu\" role=\"menu\" aria-labelledby=\"act-";
         // line 196
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "id"), "html", null, true);
         echo "\">\n                                    <li>";
         // line 197
         echo anchor("admin/siswa/edit_profile/" . $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "status_id") . "/" . $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "id"), "Edit Profil", array("class" => "iframe-4", "title" => "Edit Profil Siswa"));
         echo "</li>\n                                    <li>";
         // line 198
         echo anchor("admin/siswa/edit_picture/" . $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "status_id") . "/" . $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "id"), "Edit Foto", array("class" => "iframe-5", "title" => "Edit Foto Siswa"));
         echo "</li>\n                                    ";
         // line 199
         if ($this->getAttribute(isset($context["v"]) ? $context["v"] : null, "status_id") != 3) {
             // line 200
             echo "                                    <li>";
             echo anchor("admin/siswa/moved_class/" . $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "status_id") . "/" . $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "id"), "Edit Kelas Aktif", array("class" => "iframe", "title" => "Edit Kelas Aktif"));
             echo "</li>\n                                    ";
         }
         // line 202
         echo "                                    <li>";
         echo anchor("admin/siswa/edit_username/" . $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "status_id") . "/" . $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "id"), "Edit Username", array("class" => "iframe-2", "title" => "Edit Username Siswa"));
         echo "</li>\n                                    <li>";
         // line 203
         echo anchor("admin/siswa/edit_password/" . $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "status_id") . "/" . $this->getAttribute(isset($context["v"]) ? $context["v"] : null, "id"), "Edit Password", array("class" => "iframe-3", "title" => "Edit Password Siswa"));
         echo "</li>\n                                </ul>\n                            </li>\n                        </ul>\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 210
     echo "            </tbody>\n        </table>\n\n        ";
     // line 213
     if (!twig_test_empty(isset($context["siswas"]) ? $context["siswas"] : null)) {
         // line 214
         echo "        <br>\n        <div class=\"row-fluid\">\n            <div class=\"span8\">\n                <table cellpadding=\"5\">\n                    <tr>\n                        <th valign=\"top\">Aksi Terpilih</th>\n                        <td valign=\"top\">\n                            <select name=\"status_id\" style=\"width:auto;\">\n                                <option value=\"\">--Update Status--</option>\n                                <option value=\"1\">Aktif</option>\n                                <option value=\"2\">Blocking</option>\n                                <option value=\"3\">Alumni</option>\n                            </select>\n                        </td>\n                        <td valign=\"top\">\n                            <select name=\"kelas_id\" style=\"width:auto;\">\n                                <option value=\"\">--Pindah Kelas--</option>\n                                ";
         // line 231
         $context['_parent'] = (array) $context;
         $context['_seq'] = twig_ensure_traversable(isset($context["kelas"]) ? $context["kelas"] : null);
         foreach ($context['_seq'] as $context["_key"] => $context["k"]) {
             // line 232
             echo "                                    <option value=\"";
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["k"]) ? $context["k"] : null, "id"), "html", null, true);
             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 234
         echo "                            </select>\n                        </td>\n                        <td valign=\"top\">\n                            <button type=\"submit\" class=\"btn btn-primary\">Update</button>\n                        </td>\n                    </tr>\n                </table>\n            </div>\n        </div>\n        ";
     }
     // line 244
     echo "\n        ";
     // line 245
     echo form_close();
     echo "\n\n        <br>\n        ";
     // line 248
     echo isset($context["pagination"]) ? $context["pagination"] : null;
     echo "\n\n    </div>\n</div>\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 8
     echo "<div class=\"row\">\n    <div class=\"module span8 offset2\">\n            <div class=\"module-head\">\n                <h3>Register E-learning</h3>\n            </div>\n\n            <div class=\"module-body\">\n                ";
     // line 15
     echo get_flashdata("register");
     echo "\n\n                ";
     // line 17
     if (!twig_test_empty(get_pengaturan("info-registrasi", "value"))) {
         // line 18
         echo "                <div class=\"well well-small\" style=\"box-shadow: none;\">\n                    <b>Informasi : </b><br>\n                    ";
         // line 20
         echo get_pengaturan("info-registrasi", "value");
         echo "\n                </div>\n                ";
     }
     // line 23
     echo "\n                <ul class=\"nav nav-tabs\">\n                    ";
     // line 25
     if (get_pengaturan("registrasi-siswa", "value") == 1) {
         // line 26
         echo "                    <li ";
         echo (isset($context["sebagai"]) ? $context["sebagai"] : null) == "siswa" ? "class=\"active\"" : "";
         echo "><a href=\"#register-siswa\" data-toggle=\"tab\">Sebagai siswa</a></li>\n                    ";
     }
     // line 28
     echo "\n                    ";
     // line 29
     if (get_pengaturan("registrasi-pengajar", "value") == 1) {
         // line 30
         echo "                    <li ";
         echo (isset($context["sebagai"]) ? $context["sebagai"] : null) == "pengajar" ? "class=\"active\"" : "";
         echo "><a href=\"#register-pengajar\" data-toggle=\"tab\">Sebagai pengajar</a></li>\n                    ";
     }
     // line 32
     echo "                </ul>\n\n                <div class=\"tab-content\">\n                    ";
     // line 35
     if (get_pengaturan("registrasi-siswa", "value") == 1) {
         // line 36
         echo "                    <div class=\"tab-pane fade ";
         echo (isset($context["sebagai"]) ? $context["sebagai"] : null) == "siswa" ? "active" : "";
         echo " in\" id=\"register-siswa\">\n                        ";
         // line 37
         echo form_open_multipart("login/register/siswa", array("class" => "form-horizontal row-fluid"));
         echo "\n                            <div class=\"control-group\">\n                                <label class=\"control-label\">NIS</label>\n                                <div class=\"controls\">\n                                    <input type=\"text\" id=\"nis\" name=\"nis\" class=\"span4\" value=\"";
         // line 41
         echo twig_escape_filter($this->env, set_value("nis"), "html", null, true);
         echo "\">\n                                    <br>";
         // line 42
         echo form_error("nis");
         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=\"span8\" value=\"";
         // line 48
         echo twig_escape_filter($this->env, set_value("nama"), "html", null, true);
         echo "\">\n                                    <br>";
         // line 49
         echo form_error("nama");
         echo "\n                                </div>\n                            </div>\n                            <div class=\"control-group\">\n                                <label class=\"control-label\">Jenis Kelamin <span class=\"text-error\">*</span></label>\n                                <div class=\"controls\">\n                                    <label class=\"radio inline\"><input type=\"radio\" name=\"jenis_kelamin\" value=\"Laki-laki\" ";
         // line 55
         echo twig_escape_filter($this->env, set_radio("jenis_kelamin", "Laki-laki"), "html", null, true);
         echo "> Laki-laki</label>\n                                    <label class=\"radio inline\"><input type=\"radio\" name=\"jenis_kelamin\" value=\"Perempuan\" ";
         // line 56
         echo twig_escape_filter($this->env, set_radio("jenis_kelamin", "Perempuan"), "html", null, true);
         echo "> Perempuan</label>\n                                    <br>";
         // line 57
         echo form_error("jenis_kelamin");
         echo "\n                                </div>\n                            </div>\n                            <div class=\"control-group\">\n                                <label class=\"control-label\">Tahun Masuk <span class=\"text-error\">*</span></label>\n                                <div class=\"controls\">\n                                    <input type=\"text\" name=\"tahun_masuk\" class=\"span2\" maxlength=\"4\" value=\"";
         // line 63
         echo twig_escape_filter($this->env, set_value("tahun_masuk"), "html", null, true);
         echo "\">\n                                    <br>";
         // line 64
         echo form_error("tahun_masuk");
         echo "\n                                </div>\n                            </div>\n                            <div class=\"control-group\">\n                                <label class=\"control-label\">Kelas <span class=\"text-error\">*</span></label>\n                                <div class=\"controls\">\n                                    <select class=\"span3\" name=\"kelas_id\">\n                                        <option value=\"\">--pilih--</option>\n                                        ";
         // line 72
         $context['_parent'] = (array) $context;
         $context['_seq'] = twig_ensure_traversable(isset($context["kelas"]) ? $context["kelas"] : null);
         foreach ($context['_seq'] as $context["_key"] => $context["k"]) {
             // line 73
             echo "                                            <option value=\"";
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["k"]) ? $context["k"] : null, "id"), "html", null, true);
             echo "\" ";
             echo twig_escape_filter($this->env, set_select("kelas_id", $this->getAttribute(isset($context["k"]) ? $context["k"] : null, "id")), "html", null, true);
             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 75
         echo "                                    </select>\n                                    <br>";
         // line 76
         echo form_error("kelas_id");
         echo "\n                                </div>\n                            </div>\n                            <div class=\"control-group\">\n                                <label class=\"control-label\">Tempat Lahir</label>\n                                <div class=\"controls\">\n                                    <input type=\"text\" name=\"tempat_lahir\" class=\"span5\" value=\"";
         // line 82
         echo twig_escape_filter($this->env, set_value("tempat_lahir"), "html", null, true);
         echo "\">\n                                    <br>";
         // line 83
         echo form_error("tempat_lahir");
         echo "\n                                </div>\n                            </div>\n                            <div class=\"control-group\">\n                                <label class=\"control-label\">Tanggal Lahir</label>\n                                <div class=\"controls\">\n                                    <select class=\"span2\" style=\"width: 10%;\" name=\"tgl_lahir\">\n                                        <option value=\"\">Tgl</option>\n                                        ";
         // line 91
         $context['_parent'] = (array) $context;
         $context['_seq'] = twig_ensure_traversable(range(1, 31));
         foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
             // line 92
             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), "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 94
         echo "                                    </select>\n                                    <select class=\"span2\" style=\"width: 17%;\" name=\"bln_lahir\">\n                                        <option value=\"\">Bulan</option>\n                                        ";
         // line 97
         $context['_parent'] = (array) $context;
         $context['_seq'] = twig_ensure_traversable(range(1, 12));
         foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
             // line 98
             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), "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 100
         echo "                                    </select>\n                                    <input type=\"text\" name=\"thn_lahir\" class=\"span2\" maxlength=\"4\" value=\"";
         // line 101
         echo twig_escape_filter($this->env, set_value("thn_lahir"), "html", null, true);
         echo "\" placeholder=\"Tahun\">\n                                    <br>";
         // line 102
         echo form_error("thn_lahir");
         echo "\n                                </div>\n                            </div>\n                            <div class=\"control-group\">\n                                <label class=\"control-label\">Agama</label>\n                                <div class=\"controls\">\n                                    <select name=\"agama\" class=\"span2\">\n                                        <option value=\"\">--pilih--</option>\n                                        <option value=\"ISLAM\" ";
         // line 110
         echo twig_escape_filter($this->env, set_select("agama", "ISLAM"), "html", null, true);
         echo ">ISLAM</option>\n                                        <option value=\"KRISTEN\" ";
         // line 111
         echo twig_escape_filter($this->env, set_select("agama", "KRISTEN"), "html", null, true);
         echo ">KRISTEN</option>\n                                        <option value=\"KATOLIK\" ";
         // line 112
         echo twig_escape_filter($this->env, set_select("agama", "KATOLIK"), "html", null, true);
         echo ">KATOLIK</option>\n                                        <option value=\"HINDU\" ";
         // line 113
         echo twig_escape_filter($this->env, set_select("agama", "HINDU"), "html", null, true);
         echo ">HINDU</option>\n                                        <option value=\"BUDHA\" ";
         // line 114
         echo twig_escape_filter($this->env, set_select("agama", "BUDHA"), "html", null, true);
         echo ">BUDHA</option>\n                                    </select>\n                                    <br>";
         // line 116
         echo form_error("agama");
         echo "\n                                </div>\n                            </div>\n                            <div class=\"control-group\">\n                                <label class=\"control-label\">Alamat</label>\n                                <div class=\"controls\">\n                                    <input type=\"text\" name=\"alamat\" class=\"span8\" value=\"";
         // line 122
         echo twig_escape_filter($this->env, set_value("alamat"), "html", null, true);
         echo "\">\n                                    <br>";
         // line 123
         echo form_error("alamat");
         echo "\n                                </div>\n                            </div>\n                            <div class=\"control-group\">\n                                <label class=\"control-label\">Username <span class=\"text-error\">*</span></label>\n                                <div class=\"controls\">\n                                    <input type=\"text\" id=\"username\" name=\"username\" class=\"span5\" value=\"";
         // line 129
         echo twig_escape_filter($this->env, set_value("username"), "html", null, true);
         echo "\" placeholder=\"alamat email\">\n                                    <br>";
         // line 130
         echo form_error("username");
         echo "\n                                </div>\n                            </div>\n                            <div class=\"control-group\">\n                                <label class=\"control-label\">Password <span class=\"text-error\">*</span></label>\n                                <div class=\"controls\">\n                                    <input type=\"password\" name=\"password\" class=\"span5\" value=\"";
         // line 136
         echo twig_escape_filter($this->env, set_value("password"), "html", null, true);
         echo "\">\n                                    <br>";
         // line 137
         echo form_error("password");
         echo "\n                                </div>\n                            </div>\n                            <div class=\"control-group\">\n                                <label class=\"control-label\">Ulangi Password <span class=\"text-error\">*</span></label>\n                                <div class=\"controls\">\n                                    <input type=\"password\" name=\"password2\" class=\"span5\" value=\"";
         // line 143
         echo twig_escape_filter($this->env, set_value("password2"), "html", null, true);
         echo "\">\n                                    <br>";
         // line 144
         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\">Register</button>\n                                </div>\n                            </div>\n                        ";
         // line 152
         echo form_close();
         echo "\n                    </div>\n                    ";
     }
     // line 155
     echo "\n                    ";
     // line 156
     if (get_pengaturan("registrasi-pengajar", "value") == 1) {
         // line 157
         echo "                    <div class=\"tab-pane fade ";
         echo (isset($context["sebagai"]) ? $context["sebagai"] : null) == "pengajar" ? "active" : "";
         echo " in\" id=\"register-pengajar\">\n                        ";
         // line 158
         echo form_open_multipart("login/register/pengajar", array("class" => "form-horizontal row-fluid"));
         echo "\n                            <div class=\"control-group\">\n                                <label class=\"control-label\">NIP</label>\n                                <div class=\"controls\">\n                                    <input type=\"text\" id=\"nip\" name=\"nip\" class=\"span4\" value=\"";
         // line 162
         echo twig_escape_filter($this->env, set_value("nip"), "html", null, true);
         echo "\">\n                                    <br>";
         // line 163
         echo form_error("nip");
         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=\"span8\" value=\"";
         // line 169
         echo twig_escape_filter($this->env, set_value("nama"), "html", null, true);
         echo "\">\n                                    <br>";
         // line 170
         echo form_error("nama");
         echo "\n                                </div>\n                            </div>\n                            <div class=\"control-group\">\n                                <label class=\"control-label\">Jenis Kelamin <span class=\"text-error\">*</span></label>\n                                <div class=\"controls\">\n                                    <label class=\"radio inline\"><input type=\"radio\" name=\"jenis_kelamin\" value=\"Laki-laki\" ";
         // line 176
         echo twig_escape_filter($this->env, set_radio("jenis_kelamin", "Laki-laki"), "html", null, true);
         echo "> Laki-laki</label>\n                                    <label class=\"radio inline\"><input type=\"radio\" name=\"jenis_kelamin\" value=\"Perempuan\" ";
         // line 177
         echo twig_escape_filter($this->env, set_radio("jenis_kelamin", "Perempuan"), "html", null, true);
         echo "> Perempuan</label>\n                                    <br>";
         // line 178
         echo form_error("jenis_kelamin");
         echo "\n                                </div>\n                            </div>\n                            <div class=\"control-group\">\n                                <label class=\"control-label\">Tempat Lahir</label>\n                                <div class=\"controls\">\n                                    <input type=\"text\" name=\"tempat_lahir\" class=\"span5\" value=\"";
         // line 184
         echo twig_escape_filter($this->env, set_value("tempat_lahir"), "html", null, true);
         echo "\">\n                                    <br>";
         // line 185
         echo form_error("tempat_lahir");
         echo "\n                                </div>\n                            </div>\n                            <div class=\"control-group\">\n                                <label class=\"control-label\">Tanggal Lahir</label>\n                                <div class=\"controls\">\n                                    <select class=\"span2\" style=\"width: 10%;\" name=\"tgl_lahir\">\n                                        <option value=\"\">Tgl</option>\n                                        ";
         // line 193
         $context['_parent'] = (array) $context;
         $context['_seq'] = twig_ensure_traversable(range(1, 31));
         foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
             // line 194
             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), "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 196
         echo "                                    </select>\n                                    <select class=\"span2\" style=\"width: 17%;\" name=\"bln_lahir\">\n                                        <option value=\"\">Bulan</option>\n                                        ";
         // line 199
         $context['_parent'] = (array) $context;
         $context['_seq'] = twig_ensure_traversable(range(1, 12));
         foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
             // line 200
             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), "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 202
         echo "                                    </select>\n                                    <input type=\"text\" name=\"thn_lahir\" class=\"span2\" maxlength=\"4\" value=\"";
         // line 203
         echo twig_escape_filter($this->env, set_value("thn_lahir"), "html", null, true);
         echo "\" placeholder=\"Tahun\">\n                                    <br>";
         // line 204
         echo form_error("thn_lahir");
         echo "\n                                </div>\n                            </div>\n                            <div class=\"control-group\">\n                                <label class=\"control-label\">Alamat</label>\n                                <div class=\"controls\">\n                                    <input type=\"text\" name=\"alamat\" class=\"span10\" value=\"";
         // line 210
         echo twig_escape_filter($this->env, set_value("alamat"), "html", null, true);
         echo "\">\n                                    <br>";
         // line 211
         echo form_error("alamat");
         echo "\n                                </div>\n                            </div>\n                            <div class=\"control-group\">\n                                <label class=\"control-label\">Username <span class=\"text-error\">*</span></label>\n                                <div class=\"controls\">\n                                    <input type=\"text\" id=\"username\" name=\"username\" class=\"span5\" value=\"";
         // line 217
         echo twig_escape_filter($this->env, set_value("username"), "html", null, true);
         echo "\" placeholder=\"alamat email\">\n                                    <br>";
         // line 218
         echo form_error("username");
         echo "\n                                </div>\n                            </div>\n                            <div class=\"control-group\">\n                                <label class=\"control-label\">Password <span class=\"text-error\">*</span></label>\n                                <div class=\"controls\">\n                                    <input type=\"password\" name=\"password\" class=\"span5\" value=\"";
         // line 224
         echo twig_escape_filter($this->env, set_value("password"), "html", null, true);
         echo "\">\n                                    <br>";
         // line 225
         echo form_error("password");
         echo "\n                                </div>\n                            </div>\n                            <div class=\"control-group\">\n                                <label class=\"control-label\">Ulangi Password <span class=\"text-error\">*</span></label>\n                                <div class=\"controls\">\n                                    <input type=\"password\" name=\"password2\" class=\"span5\" value=\"";
         // line 231
         echo twig_escape_filter($this->env, set_value("password2"), "html", null, true);
         echo "\">\n                                    <br>";
         // line 232
         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\">Register</button>\n                                </div>\n                            </div>\n                        ";
         // line 240
         echo form_close();
         echo "\n                    </div>\n                    ";
     }
     // line 243
     echo "\n                </div>\n            </div>\n    </div>\n</div>\n";
 }