public function block_content($context, array $blocks = array()) { // line 4 echo "<div class=\"module\">\n <div class=\"module-head\">\n <h3>"; // line 6 echo isset($context["module_title"]) ? $context["module_title"] : null; echo "</h3>\n </div>\n <div class=\"module-body\">\n "; // line 9 echo get_flashdata("mapel"); echo "\n\n "; // line 11 echo form_open("admin/mapel/edit/" . $this->getAttribute(isset($context["mapel"]) ? $context["mapel"] : null, "id") . "/" . enurl_redirect(isset($context["uri_back"]) ? $context["uri_back"] : null), array("class" => "form-horizontal row-fluid")); echo "\n <div class=\"control-group\">\n <label class=\"control-label\">Nama <span class=\"text-error\">*</span></label>\n <div class=\"controls\">\n <input type=\"text\" name=\"nama\" class=\"span8\" value=\""; // line 15 echo twig_escape_filter($this->env, set_value("nama", $this->getAttribute(isset($context["mapel"]) ? $context["mapel"] : null, "nama")), "html", null, true); echo "\">\n <br>"; // line 16 echo form_error("nama"); echo "\n </div>\n </div>\n <div class=\"control-group\">\n <label class=\"control-label\">Deskripsi</label>\n <div class=\"controls\">\n <textarea name=\"info\" class=\"span12\" rows=\"5\">"; // line 22 echo set_value("info", $this->getAttribute(isset($context["mapel"]) ? $context["mapel"] : null, "info")); echo "</textarea>\n </div>\n </div>\n <div class=\"control-group\">\n <label class=\"control-label\">Status</label>\n <div class=\"controls\">\n <label class=\"checkbox inline\">\n <input type=\"checkbox\" value=\"1\" name=\"status\" "; // line 29 echo twig_escape_filter($this->env, set_checkbox("status", "1", $this->getAttribute(isset($context["mapel"]) ? $context["mapel"] : null, "aktif") == 1 ? true : false), "html", null, true); echo ">\n Aktif\n </label>\n </div>\n </div>\n <div class=\"control-group\">\n <div class=\"controls\">\n <button type=\"submit\" class=\"btn btn-primary\">Update</button>\n <a href=\""; // line 37 echo twig_escape_filter($this->env, isset($context["uri_back"]) ? $context["uri_back"] : null, "html", null, true); echo "\" class=\"btn\">Batal</a>\n </div>\n </div>\n "; // line 40 echo form_close(); echo "\n\n </div>\n</div>\n"; }
function preset_checkbox($field = '', $value = '', $preset_value = '') { if ($value == $preset_value) { return set_checkbox($field, $preset_value, TRUE); } else { return set_checkbox($field, $value); } }
public function block_content($context, array $blocks = array()) { // line 8 echo "<div class=\"module\">\n <div class=\"module-head\">\n <h3>Manajemen Kelas</h3>\n </div>\n <div class=\"module-body\">\n "; // line 13 echo get_flashdata("kelas"); echo "\n\n "; // line 15 if (is_demo_app()) { // line 16 echo " "; echo get_alert("warning", get_demo_msg()); echo "\n "; } // line 18 echo "\n <div class=\"panel panel-info\">\n <div class=\"panel-heading\">\n Edit Kelas\n </div>\n <div class=\"panel-body\">\n "; // line 24 echo form_open("kelas/edit/" . $this->getAttribute(isset($context["kelas"]) ? $context["kelas"] : null, "id"), array("class" => "form-horizontal row-fluid")); echo "\n <div class=\"control-group\">\n <label class=\"control-label\">Nama Kelas <span class=\"text-error\">*</span></label>\n <div class=\"controls\">\n <input type=\"text\" name=\"nama\" class=\"span5\" placeholder=\"Nama Kelas\" value=\""; // line 28 echo twig_escape_filter($this->env, set_value("nama", $this->getAttribute(isset($context["kelas"]) ? $context["kelas"] : null, "nama")), "html", null, true); echo "\">\n "; // line 29 echo form_error("nama"); echo "\n </div>\n </div>\n "; // line 32 if (!(null === $this->getAttribute(isset($context["kelas"]) ? $context["kelas"] : null, "parent_id"))) { // line 33 echo " <div class=\"control-group\">\n <label class=\"control-label\">Status</label>\n <div class=\"controls\">\n <label class=\"checkbox inline\">\n <input type=\"checkbox\" value=\"1\" name=\"status\" "; // line 37 echo twig_escape_filter($this->env, set_checkbox("status", "1", $this->getAttribute(isset($context["kelas"]) ? $context["kelas"] : null, "aktif") == 1 ? true : false), "html", null, true); echo ">\n Aktif\n </label>\n </div>\n </div>\n "; } // line 43 echo " <div class=\"control-group\">\n <div class=\"controls\">\n "; // line 45 if (is_demo_app() == false) { // line 46 echo " <button type=\"submit\" class=\"btn btn-primary\">Simpan</button>\n "; } // line 48 echo " <a href=\""; echo twig_escape_filter($this->env, site_url("kelas"), "html", null, true); echo "\" class=\"btn\">Batal</a>\n </div>\n </div>\n "; // line 51 echo form_close(); echo "\n </div>\n </div>\n\n <p class=\"text-warning\"><b>NB:</b> Kelas tidak dapat di hapus namun dapat di ubah menjadi tidak aktif.</p>\n\n "; // line 57 echo isset($context["kelas_hirarki"]) ? $context["kelas_hirarki"] : null; echo "\n\n <br>\n <div id=\"response_update\"></div>\n <button class=\"btn btn-primary\" id=\"update-hirarki\">Update Hirarki</button>\n </div>\n</div>\n"; }
function generaCheck($metas) { echo "<ul>"; foreach ($metas as $meta) { $openTag = '<'; $type = 'input type="checkbox"'; $name = ' name="' . str_replace(' ', '_', strtolower($meta['nombreTipo'])) . '[]"'; $value = ' value="' . $meta['idMetaKey'] . '" '; $setValue = set_checkbox(str_replace(' ', '_', strtolower($meta['nombreTipo'])) . '[]', $meta['idMetaKey'], isset($meta['dato']) ? TRUE : FALSE); $closeTag = '/>'; $nombreField = ucwords(str_replace('_', ' ', $meta['nombreMeta'])); echo '<li>' . $openTag . $type . $name . $value . $setValue . $closeTag . $nombreField . '</li>'; } echo "</ul>"; }
public function getFrmPrivilegios($id_submenu = 0, $firs = true, $tipo = null, $showp = false) { $txt = ""; $bande = true; $res = $this->db->select("p.id_privilegio, p.nombre, p.id_padre, p.url_accion, p.url_icono, p.target_blank, \n\t\t\t\t(SELECT count(id_privilegio) FROM empleados_privilegios WHERE id_empleado = '" . $_SESSION['id_empleado'] . "' \n\t\t\t\t\tAND id_privilegio = p.id_privilegio) as tiene_p")->from('privilegios AS p')->where("p.id_padre = '" . $id_submenu . "'")->order_by('p.nombre', 'asc')->get(); $txt .= $firs ? '<ul class="treeview">' : '<ul>'; foreach ($res->result() as $data) { $res1 = $this->db->select('Count(p.id_privilegio) AS num')->from('privilegios AS p')->where("p.id_padre = '" . $data->id_privilegio . "'")->get(); $data1 = $res1->row(); if ($tipo != null && !is_array($tipo)) { $set_nombre = 'dprivilegios'; $set_val = set_radio($set_nombre, $data->id_privilegio, $tipo == $data->id_privilegio ? true : false); $tipo_obj = 'radio'; } else { $set_nombre = 'dprivilegios[]'; if (is_array($tipo)) { $set_val = set_checkbox($set_nombre, $data->id_privilegio, array_search($data->id_privilegio, $tipo) !== false ? true : false); } else { $set_val = set_checkbox($set_nombre, $data->id_privilegio); } $tipo_obj = 'checkbox'; } if ($bande == true && $firs == true && $showp == true) { $txt .= '<li><label> <input type="' . $tipo_obj . '" name="' . $set_nombre . '" value="0" ' . $set_val . '> Padre</label> </li>'; $bande = false; } if ($data1->num > 0) { $txt .= '<li><label> <input type="' . $tipo_obj . '" name="' . $set_nombre . '" value="' . $data->id_privilegio . '" ' . $set_val . '> ' . $data->nombre . '</label> ' . $this->getFrmPrivilegios($data->id_privilegio, false, $tipo) . ' </li>'; } else { $txt .= '<li><label> <input type="' . $tipo_obj . '" name="' . $set_nombre . '" value="' . $data->id_privilegio . '" ' . $set_val . '> ' . $data->nombre . '</label> </li>'; } $res1->free_result(); } $txt .= '</ul>'; $res->free_result(); return $txt; }
<label class=""> <input type="checkbox" value="5" <?php echo set_checkbox('dropshipCentre[]', 5); ?> name="dropshipCentre[]" class="check1"> <span class="fa fa-check"> </span> OREGUN </label> </div> </div> <div class="col-sm-6" style="margin-bottom:10px;"> <div class="checkbox c-checkbox pull-left" style="padding-bottom:10px;"> <label class=""> <input type="checkbox" value="6" <?php echo set_checkbox('dropshipCentre[]', 6); ?> name="dropshipCentre[]" class="check1"> <span class="fa fa-check"> </span> ADESUWA1 </label> </div> </div>
<form action="" method="post" class="reg_form form-horizontal"> <div class="col-md-6"> <div class="controls"> <div class="h2h"> <div class="label_title"><h3>Head to Head Settings *</h3></div> <label class="radio h2hblock"><input type="radio" name="h2hblock" value="0" <?=set_checkbox('h2hblock', '0', ((isset($h2hblock) && $h2hblock==0) || !isset($h2hblock)));?> /> <?=vlang('accountsettings_h2hblock_unrestricted');?></label> <label class="radio h2hblock"><input type="radio" name="h2hblock" value="1" <?=set_checkbox('h2hblock', '1', (isset($h2hblock) && $h2hblock==1));?> /> <?=vlang('accountsettings_h2hblock_protected');?></label> <label class="radio h2hblock"><input type="radio" name="h2hblock" value="2" <?=set_checkbox('h2hblock', '2', (isset($h2hblock) && $h2hblock==2));?> /> <?=vlang('accountsettings_h2hblock_restricted');?></label> </div> </div> </div> <div class="col-md-6"> <div class="controls"> <div class="h2h"> <div class="label_title"><h3>Privacy Settings</h3></div> <label class="checkbox"><input type="checkbox" name="private" value="1" <?=set_checkbox('private', '1', (isset($private) && $private==1));?> /> <?=vlang('accountsettings_privacy');?></label> </div> </div> </div> <div class="col-md-12"> <div class="controls"> <div class="h2h"> <p class="h2hblock"><?=vlang('accountsettings_h2hblock_disclaimer');?></p> </div> </div> </div> <div class="clearfix"></div> <input type="hidden" name="lang" value="english" />
</div> </div> <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3"> <div class="form-group"> <div class="controls"> <?php echo form_checkbox('is_jrnl', set_checkbox('is_jrnl', isset($default['is_jrnl']) ? $default['is_jrnl'] : ''), 'id="is_jrnl" style="margin-left:20px" class="form-control" placeholder="Masukkan is_jrnl"'); ?> <?php echo form_label('Jurnal', 'is_jrnl', array('class' => 'control-label', 'style' => 'margin:10px')); ?> <br> <?php echo form_checkbox('is_trx', set_checkbox('is_trx', isset($default['is_trx']) ? $default['is_trx'] : ''), 'id="is_trx" style="margin-left:20px" class="form-control" placeholder="Masukkan is_trx"'); ?> <?php echo form_label('Transaksi', 'is_trx', array('class' => 'control-label', 'style' => 'margin:10px')); ?> </div> </div> </div> <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12"> <div class="panel panel-success"> <div class="panel-heading panel-body"> <div class="row"> <div class="col-xs-12 col-sm-12 col-md-4 col-lg-4"> <div class="form-group">
<legend>Contact Details</legend> <ul> <li class="info_req"> <label for="phone_number">Phone Number:</label> <input type="text" id="phone_number" name="update_phone_number" value="<?php echo set_value('update_phone_number', $user['upro_phone']); ?> "/> </li> <li> <?php $newsletter = $user['upro_newsletter'] == 1; ?> <label for="newsletter">Subscribe to Newsletter:</label> <input type="checkbox" id="newsletter" name="update_newsletter" value="1" <?php echo set_checkbox('update_newsletter', '1', $newsletter); ?> /> </li> </ul> </fieldset> <fieldset> <legend>Login Details</legend> <ul> <li class="info_req"> <label for="email_address">Email Address:</label> <input type="text" id="email_address" name="update_email_address" value="<?php echo set_value('update_email_address', $user[$this->flexi_auth->db_column('user_acc', 'email')]); ?> " class="tooltip_trigger"
<option value="<?php echo $categories_id; ?> "><?php echo $categories_name; ?> </option> <?php } ?> </select> </div> <div class="control-group"> <label class="control-label checkbox" for="recursive"><input type="checkbox" name="recursive" id="recursive" value="1" <?php echo set_checkbox('recursive', '1', TRUE); ?> /> <?php echo lang('field_search_recursive'); ?> </label> </div> </div> </div> <div class="span6"> <div class="control-group"> <label class="control-label" for="manufacturers"><?php echo lang('field_search_manufacturers'); ?> <em>*</em></label> <div class="controls">
<div id="preview"></div> </div> </div><!-- /.box --> <div class="box"> <div class="box-header"> <h3 class="box-title"> <strong>Page Attributes</strong> </h3> </div><!-- /.box-header --> <div class="box-body"> <div class="form-group"> <div class="col-sm-12"> <input type="checkbox" id="showComments" name="showComments" value="1" <?php echo set_checkbox('showComments', 1); ?> <?php echo $page->getShowComments() ? 'checked="checked"' : ''; ?> >  <label for="showComments">Manage comments</label> </div> </div> </div> </div><!-- /.box --> </div><!-- /.col --> </div><!-- /.row --> </div>
</label> <div class="controls"> <input type="checkbox" id="inputCanUpload" name="inputCanUpload" value="1" <?php echo set_checkbox('inputCanUpload', '1', $details->userCanUpload == '1' ? true : false); ?> /> </div> </div> <div class="control-group hidden useUser"> <label class="control-label" for="inputCanDownload"><?php echo __('user_lbl_candownload'); ?> </label> <div class="controls"> <input type="checkbox" id="inputCanDownload" name="inputCanDownload" value="1" <?php echo set_checkbox('inputCanDownload', '1', $details->userCanDownload == '1' ? true : false); ?> /> </div> </div> <div class="control-group hidden useUser"> <label class="control-label" for="inputMaxSize"><?php echo __('user_lbl_maxsize'); ?> </label> <div class="controls"> <input type="text" id="inputMaxSize" name="inputMaxSize" value="<?php echo set_value('inputMaxSize', $details->userMaxFileSize); ?> " class="span1" /> in Bytes ( <strong>php.ini:</strong> <?php echo roundsize(convertBytes(ini_get('upload_max_filesize')));
?> </p> <?php $heading[] = form_checkbox('select_all', 'true', set_checkbox('select_all', 'true'), 'class="toggle_all" id="select_all"') . NBS . lang('create', 'select_all'); $heading[] = '<span class="notice">*</span>' . lang('field_name', 'm_field_name'); $heading[] = '<span class="notice">*</span>' . lang('field_label', 'm_field_label'); $heading[] = lang('is_required'); $heading[] = lang('is_public'); $heading[] = lang('is_reg_form'); $heading[] = lang('order'); $this->table->set_template($cp_pad_table_template); $this->table->set_heading($heading); $i = 0; foreach ($new_fields as $key => $value) { $this->table->add_row(form_checkbox('create_ids[' . $i . ']', 'y', '', ' class="toggle" id="create_box_' . $i . '"'), form_input(array('id' => $i . '_m_field_name', 'name' => 'm_field_name[' . $i . ']', 'class' => 'field', 'value' => set_value('m_field_name[' . $i . ']', $value))) . form_error('m_field_name[' . $i . ']'), form_input(array('id' => $i . '_m_field_name', 'name' => 'm_field_label[' . $i . ']', 'class' => 'field', 'value' => set_value('m_field_name[' . $i . ']', $value))), form_checkbox('required[' . $i . ']', 'y', set_checkbox('required[' . $i . ']', 'y')), form_checkbox('public[' . $i . ']', 'y', set_checkbox('public[' . $i . ']', 'y')), form_checkbox('reg_form[' . $i . ']', 'y', set_checkbox('reg_form[' . $i . ']', 'y')), form_input(array('id' => $i . '_m_field_order', 'name' => 'm_field_order[' . $i . ']', 'size' => '3', 'class' => 'field', 'value' => set_value('m_field_order[' . $i . ']', $order_start + $i)))); $i++; } ?> <?php echo $this->table->generate(); ?> <p><?php echo form_submit('import_from_xml', lang('create'), 'class="submit"'); ?> </p> <?php
/* math_captcha Example # To activate math_captcha, ensure the 'if' statement immediately below is uncommented and then comment out the reCAPTCHA 'if' statement just above. # You will also need to enable the math_captcha examples in 'controllers/auth.php', and 'models/demo_auth_model.php'. if (isset($captcha)) { echo "<li>\n"; echo "<label for=\"captcha\">Captcha Question:</label>\n"; echo $captcha.' = <input type="text" id="captcha" name="login_captcha" class="width_50"/>'."\n"; echo "</li>\n"; } #*/ ?> <li> <label for="remember_me">Remember Me:</label> <input type="checkbox" id="remember_me" name="remember_me" value="1" <?php echo set_checkbox('remember_me', 1); ?> /> </li> <li> <label for="submit">Login:</label> <input type="submit" name="login_user" id="submit" value="Submit" class="link_button large"/> </li> <li> <small>Note: On this demo, 3 failed login attempts will raise security on the account, activating a 10 second time limit ban per login attempt (20 secs after 9+ attempts), and activation of a captcha that must be completed to login.</small> </li> <li> <hr/> <a href="<?php echo $base_url; ?>
<div class="controls" aria-labelledby="roles_label" role="group"> <?php foreach ($roles as $role) { ?> <label class="checkbox" for="roles_<?php echo $role->role_id; ?> "> <input type="checkbox" name="roles[]" id="roles_<?php echo $role->role_id; ?> " value="<?php echo $role->role_id; ?> " <?php echo set_checkbox('roles[]', $role->role_id); ?> /> <?php echo $role->role_name; ?> </label> <?php } ?> </div> </div> <?php } ?> <?php
</div> <div id="categories-tab"> <div class="form"> <?php if (!empty($categories)) { ?> <?php foreach ($categories as $category) { ?> <div class="field_spacing"> <?php echo form_label($category['name']); ?> <?php echo form_checkbox(array('class' => 'category', 'name' => 'categories[]', 'checked' => set_checkbox('categories[]', $category['id'], in_array($category['id'], $relation) ? TRUE : FALSE)), $category['id'], in_array($category['id'], $relation) ? TRUE : FALSE); ?> </div> <?php } ?> <?php } else { ?> <p>No categories found.</p> <?php } ?> </div> </div>
<?php echo form_error('sta_job_title_kh'); ?> </div> </div> <div class="form-group"> <label for="sta_job_description" class="col-sm-2 control-label">Description</label> <div class="col-sm-10"> <input type="text" class="form-control" name="sta_job_description" id="sta_job_description" value="<?php echo set_value('sta_job_description', $data['sta_job_description']); ?> " pattern=".{1,250}" title="Allow enter from 1 to 250 characters" /> </div> </div> <div class="form-group"> <label for="sta_job_status" class="col-sm-2 control-label">Enable</label> <div class="col-sm-10"> <div class="checkbox"> <label><input type="checkbox" name="sta_job_status" id="sta_job_status" value="1" <?php echo set_checkbox('sta_job_status', 1, $data['sta_job_status'] == 1 ? TRUE : FALSE); ?> > Check to enable this staff position</label> </div> </div> </div> </div> </div> </div> </div> </div> </form>
<?php echo lang('dst_enabled'); ?> </label></td> </tr> <tr class="odd"> <td><?php echo lang('auto_custom_field', 'auto_custom_field'); ?> </td> <td><?php echo lang('auto_custom_field_blurb'); ?> <br /> <label for="auto_custom_field"><input type="checkbox" name="auto_custom_field" value="y" <?php echo set_checkbox('auto_custom_field', 'y'); ?> /> <?php echo lang('auto_custom_field'); ?> </label></td> </tr> </tbody> </table> <p><?php echo form_submit('convert_from_delimited', lang('submit'), 'class="submit"'); ?> </p>
<div class="col-sm-10"> <input type="text" class="form-control" id="mod_foldername" placeholder="Enter folder name of module" name="mod_foldername" value="<?php echo set_value('mod_foldername', $data['mod_foldername']); ?> " pattern=".{2,50}" required title="Allow enter from 2 to 50 characters"> <?php echo form_error('mod_foldername'); ?> </div> </div> <div class="form-group"> <label for="mod_status" class="col-sm-2 control-label">Enable</label> <div class="col-sm-10"> <div class="checkbox"> <label><input type="checkbox" name="mod_status" id="mod_status" value="1" <?php echo set_checkbox('mod_status', 1, $data['mod_status'] == 1 ? TRUE : FALSE); ?> > Check to enable this group</label> </div> </div> </div> <div class="form-group"> <label for="mod_description" class="col-sm-2 control-label">Description</label> <div class="col-sm-10"> <textarea class="form-control" rows="5" name="mod_description" id="mod_description"><?php echo set_value('mod_description'); ?> </textarea> </div> </div>
?> " <?php echo set_checkbox('daily_days[]', $key, TRUE); ?> ><?php echo $value; ?> </label> <?php } else { ?> <label class="btn btn-default"><input type="checkbox" name="daily_days[]" value="<?php echo $key; ?> " <?php echo set_checkbox('daily_days[]', $key); ?> ><?php echo $value; ?> </label> <?php } ?> <?php } ?> </div> <?php echo form_error('daily_days[]', '<span class="text-danger">', '</span>'); ?>
?> /> </td> <td class="align_ctr"> <?php $status = (bool) $row[$this->flexi_cart_admin->db_column('item_shipping', 'status')]; ?> <input type="hidden" name="update[<?php echo $item_shipping_id; ?> ][status]" value="0"/> <input type="checkbox" name="update[<?php echo $item_shipping_id; ?> ][status]" value="1" <?php echo set_checkbox('update[' . $item_shipping_id . '][status]', '1', $status); ?> /> </td> <td class="align_ctr"> <input type="hidden" name="update[<?php echo $item_shipping_id; ?> ][delete]" value="0"/> <input type="checkbox" name="update[<?php echo $item_shipping_id; ?> ][delete]" value="1"/> </td> </tr> <?php
Status </th> </tr> </thead> <tbody> <tr> <td> <input type="text" name="insert_group[name]" value="<?php echo set_value('insert_group[name]'); ?> " class="width_250"/> </td> <td class="align_ctr"> <input type="hidden" name="insert_group[status]" value="0"/> <input type="checkbox" name="insert_group[status]" value="1" <?php echo set_checkbox('insert_group[status]', '1', TRUE); ?> /> </td> </tr> </tbody> </table> <table> <caption> Insert Items to Group <small> Note: The demo contains 5 demo items with the ids: 1, 2, 3, 4 and 5, with demo category ids of 1 and 2. <a href="<?php echo $base_url; ?>
echo br(); ?> <div class="description">This is usually 3306</div> <div class="label required">Database Name:</div> <?php $data = array('name' => 'db_name', 'size' => '30', 'class' => 'input'); echo form_input($data, set_value('db_name')); ?> <?php echo br(); ?> <div class="label">Create Database:</div> <div class="input"><input type="checkbox" name="create_database" value="1" <?php echo set_checkbox('create_database', '1'); ?> /> (You might need to do this yourself)</div> <div class="label required">Database Username:</div> <?php $data = array('name' => 'db_username', 'size' => '30', 'class' => 'input'); echo form_input($data, set_value('db_username')); ?> <?php echo br(); ?> <div class="label">Database Password:</div> <?php $data = array('name' => 'db_password', 'size' => '30', 'class' => 'input');
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"; }
</div> </div> <div class="control-group"> <div class="req-div1">Дата відвідування*</div> <div class="req-div2"> <input type="text" id="date_from" name="date_from" class="input-xlarge" value="<?php echo set_value('date_from'); ?> "> </div> </div> <div class="control-group"> <div class="req-div1">Заявка на декілька днів</div> <div class="req-div2"> <input type="checkbox" id="show_date" name="show_date" value="1" <?php echo set_checkbox('show_date', 1, FALSE); ?> > <div id="show_date_check" style="color: red"></div> </div> </div> <div id="datepickers" style="display: none"> <div class="control-group"> <div class="req-div1">Дата по (включно)*</div> <div class="req-div2"> <input onchange="ShowReason($('#date_from').val(), this.value)" type="text" id="date_to" name="date_to" class="input-xlarge" value="<?php echo set_value('date_to', ''); ?> "> </div> </div>
echo form_label('Jurnal', 'is_jrnl', array('class' => 'control-label', 'style' => 'margin:10px')); ?> </div> <div class="controls"> <?php echo form_checkbox('is_void', set_checkbox('is_void', isset($default['is_void']) ? $default['is_void'] : ''), 'id="is_void" class="form-control" placeholder="Masukkan is_void"'); ?> <?php echo form_label('Void', 'is_void', array('class' => 'control-label', 'style' => 'margin:10px')); ?> </div> <div class="controls"> <?php echo form_checkbox('from_trx', set_checkbox('from_trx', isset($default['from_trx']) ? $default['from_trx'] : ''), 'id="from_trx" class="form-control" placeholder="Masukkan from_trx"'); ?> <?php echo form_label('Transaksi', 'from_trx', array('class' => 'control-label', 'style' => 'margin:10px')); ?> </div> </div> </div> <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12"> <table id="data" class="table table-bordered table-condensed table-striped" style=""> <thead class=""> <tr>
?> </label> <input type="text" name="end_date" id="end_date" value="<?php echo set_value('end_date'); ?> "> <?php echo form_error('end_date'); ?> </div> </div> <div class="da-form-row"> <div class="da-form-col-8-8"> <label id="check_expiry"> <input type="checkbox" name="if_check" id="if_check" <?php echo set_checkbox('if_check', 1); ?> value="1"> <?php echo lang('does_course_has_expiry_date'); ?> </label> <input type="text" style="width:150px;" name="expiry_date" id="expiry_date" disabled value="<?php echo set_value('expiry_date'); ?> "> <br/> <?php echo form_error('expiry_date'); ?>
</div> <?php $error = form_error('kiyaku1'); if ($error != '') { echo '<div class="f_error_kiyaku_box">' . $error . '</div>'; } ?> </div> <!--/q_right--> </div> <!--/q_box--> <div class="q_hint_box" id="q_hint_kiyaku1"></div> <div id="kiyaku2" class="q_box"> <div class="q_left"> <input type="checkbox" name="kiyaku2" value="Yes" id="kiyaku2" <?php echo set_checkbox('kiyaku2', 'Yes'); ?> /> <label for="kiyaku2">同意する</label> </div> <!--/q_left--> <div class="q_right">規約2.当Webサイトに掲示されている下記の内容について同意しますか? <div class="kiyaku_text"> <p>ESTA Online Centerの利用者は、このサイト内で規定している個人情報保護方針を順守します。 個人情報保護方針で、当サイトという言葉はESTA Online Centerを指します。 個人情報保護方針で、申請者・利用者・お客様と第三者を表現する言葉や文章は、<br /> 当サイトを通して契約する人を指します。 当サイトの利用者はサイト内に記載されている規約及び規定に同意します。 当サイトとはサイト内で使用されているすべての情報・デザイン・システムを含みます。 当サイトの利用者は、不法な目的で利用しない事に同意します。 当サイトの利用者は、著作権、特許権、知的財産権を侵害しない事に同意します。
<?php echo form_password('password_confirm', '', 'class="form-control"'); ?> </div> </div> <div class="form-group"> <?php echo form_label('Groups', 'groups[]', array('class' => 'col-sm-2 control-label')); ?> <div class="col-sm-10"> <?php if (isset($groups)) { foreach ($groups as $group) { echo '<div class="checkbox">'; echo '<label>'; echo form_checkbox('groups[]', $group->id, set_checkbox('groups[]', $group->id)); echo ' ' . $group->name; echo '</label>'; echo '</div>'; } } ?> </div> </div> <div class="form-group"> <div class="col-sm-offset-2 col-sm-10"> <?php echo form_submit('submit', 'Создать пользователя', 'class="btn btn-primary"'); ?> </div>
} ?> </div> </div> <div class="form-group"> <label class="col-md-2 control-label">Is Active: </label> <div class="col-md-10"> <input type="checkbox" class="" name="is_active" id="is_active" value="1" <?php echo set_checkbox('is_active', 1, isset($form_data['is_active']) && $form_data['is_active'] == 1 ? true : false); ?> /> </div> </div> <div class="form-group"> <label class="col-md-2 control-label"> <span class="required"> </span> </label> <div class="col-md-2"> <input type="submit" class="form-control btn btn-primary" style="font-weight: bold; font-size:17px;" name="submit" id="submit" value="SAVE" /> </div> </div>