public function getLoginForm() { $this->CI->lang->load('basic', 'english'); $this->CI->load->helper('form'); $form = '<div id="LoginForm">'; $form.= '<p>'.$this->CI->lang->line('login_text').'</p>'; $form.= form_open(site_url('login'), array( 'id' => 'Login' )); $form.= form_fieldset(); $form.= form_label('username'); $form.= form_input(array( 'maxlength' => 20, 'name' => 'username' )); $form.= form_label('password'); $form.= form_input(array( 'maxlength' => 20, 'name' => 'password', 'type' => 'password' )); $form.= form_submit('login_submit', $this->CI->lang->line('login_button')); $form.= form_fieldset_close(); $form.= form_close(); $form.= '</div>'; return $form; }
function display_field($data) { array_merge($this->settings, $this->settings_vars); $text_direction = $this->settings['field_text_direction'] == 'rtl' ? 'rtl' : 'ltr'; $field_options = $this->_get_field_options($data); // If they've selected something we'll make sure that it's a valid choice $selected = $data; //$this->EE->input->post($this->field_name); $r = form_fieldset(''); foreach ($field_options as $option) { $selected = $option == $data; $r .= '<label>' . form_radio($this->field_name, $option, $selected) . NBS . $option . '</label>'; } return $r . form_fieldset_close(); }
function form_persyaratan($caption, $persyaratan = array(), $syarats = '') { $values = $syarats != '' ? unserialize($syarats) : array(); if (is_array($persyaratan) && count($persyaratan) > 0) { $output = form_fieldset($caption); $output .= "<div id=\"control_input_syarat_pengajuan\" class=\"control-group\">\n\t"; $output .= form_hidden('total_syarat', count($persyaratan)); $output .= form_label('Persyaratan', 'input_syarat_pengajuan', array('class' => 'control-label')); $output .= "\n\t<div class=\"controls\">"; foreach ($persyaratan as $id => $syarat) { $output .= form_label(form_checkbox(array('name' => 'surat_syarat[]', 'id' => 'input_syarat_' . $id, 'value' => $id, 'checked' => in_array($id, $values))) . ' ' . $syarat, 'input_syarat_' . $id, array('class' => 'checkbox')); } $output .= "\n\t</div>\n</div>"; $output .= form_fieldset_close(); return $output; } }
function display_field($data) { array_merge($this->settings, $this->settings_vars); $values = decode_multi_field($data); if (is_string($data) && $data != '' && $data[0] == '<') { return $data; } if (isset($this->settings['string_override']) && $this->settings['string_override'] != '') { return $this->settings['string_override']; } $field_options = $this->_get_field_options($data); $values = decode_multi_field($data); $r = form_fieldset(''); foreach ($field_options as $option) { $checked = in_array(form_prep($option), $values) ? TRUE : FALSE; $r .= '<label>' . form_checkbox($this->field_name . '[]', $option, $checked) . NBS . $option . '</label>'; } return $r . form_fieldset_close(); }
private function _display_field($data, $container = 'fieldset') { array_merge($this->settings, $this->settings_vars); $text_direction = isset($this->settings['field_text_direction']) ? $this->settings['field_text_direction'] : 'ltr'; $field_options = $this->_get_field_options($data); $selected = $data; $r = ''; foreach ($field_options as $key => $value) { $selected = $key == $data; $r .= '<label>' . form_radio($this->field_name, $value, $selected) . NBS . $key . '</label>'; } switch ($container) { case 'grid': $r = $this->grid_padding_container($r); break; default: $r = form_fieldset('') . $r . form_fieldset_close(); break; } return $r; }
} .campo_obligatorio { color: #FF0000; float: left; font-size: 11px; margin-top: 20px; padding: 0 2px; } </style> </head> <body> <?php echo form_open(''); echo form_fieldset('Cambio de clave'); if (isset($mensaje)) { echo "<div class='frm_ok'>" . $mensaje . "</div>"; } $txt_usuario = array('name' => 'txt_usuario', 'id' => 'txt_usuario', 'maxlength' => '100', 'size' => '50', 'autofocus' => 'autofocus', 'autocomplete' => 'Off', 'list' => 'opciones', 'value' => set_value('txt_usuario')); echo form_label('Usuario:', 'txt_usuario'); echo form_input($txt_usuario) . "*<br>"; echo form_error('txt_usuario', '<div class="msn_error">', '</div>'); echo "<datalist id='opciones'>"; if ($personas) { foreach ($personas->result() as $row) { echo "<option value='{$row->nombre} {$row->apellido} {$row->documento}'>"; } } echo "</datalist>"; $clave_nueva = array('name' => 'txt_clave1', 'id' => 'txt_clave1', 'maxlength' => '15', 'size' => '15');
<div id="main"> <?php echo heading('Post an entry', 3); ?> <div id='errors'> <?php echo heading(validation_errors(), 2); ?> </div> <?php $form_open_attribs = array('class' => 'jNice'); echo form_fieldset(''); echo form_open('active/posted', $form_open_attribs); ?> <p><?php echo form_label('Date:', 'date'); echo form_input($date); ?> </p> <p><?php echo form_label('Title:', 'title'); echo form_input($title); ?> </p> <p><?php echo form_label('Catergory:', 'catergory');
} $array_ten[""] = "-- Select Tenant --"; foreach ($ten as $k => $v) { $array_ten[$k] = $v; } $array_period_m[""] = "-- Month --"; foreach ($this->M_npk->months as $k => $v) { $array_period_m[$k] = $v; } $array_period_y[""] = "-- Year --"; foreach ($this->M_npk->years as $k => $v) { $array_period_y[$k] = $v; } echo "<div id='filterform' style='width:800px'>"; echo form_open(site_url('/rpt/ndchurn')); echo form_fieldset("<span style='cursor:hand' onclick=\"toggleFieldset(document.getElementById('filtertable'));\">Filter</span>"); echo "<table id='filtertable'>"; echo "<tr><td>Pengelola</td><td>:</td>"; echo "<td>" . form_dropdown('f_pgl_id', $array_pgl, array(), "class='pgl_to_ten'") . "</td></tr>"; echo "<tr><td>Tenant</td><td>:</td>"; echo "<td><span class='ct_ten_of_pgl'>" . form_dropdown('ten_id', $array_ten, array(), "class='ten_of_pgl'") . "</span></td></tr>"; echo "<tr><td>Period</td><td>:</td><td>" . form_dropdown("f_period_m", $array_period_m, isset($_POST['f_period_m']) ? array($_POST['f_period_m']) : array(date("m"))) . " " . form_dropdown("f_period_y", $array_period_y, isset($_POST['f_period_y']) ? array($_POST['f_period_y']) : array(date("Y"))) . "</td></tr>"; echo "<tr><td colspan=3 align='right'>" . form_submit('filter', 'OK', '') . "</td></tr>"; echo "</table>"; echo form_fieldset_close(''); echo form_close(); echo "</div>"; if (count($dt) > 0) { echo "<div id='navigation'><ul>"; echo "<li><a href='" . site_url('/rpt/ndchurnsheet/' . $_POST['f_pgl_id'] . '/' . $_POST['ten_id'] . '/' . $_POST['f_period_y'] . $_POST['f_period_m']) . "'><img src='" . image_asset_url('xls.gif') . "' width=15 /></a></li>"; echo "</ul></div><br>";
break; case 2: $dados['ativo'] = 7; $this->load->view('admin2/navbar', $dados); break; case 3: $dados['ativo'] = 7; $this->load->view('admin3/navbar', $dados); break; } ?> <div class="row"> <div class="col-xs-12 col-sm-12 col-md-12"> <?php echo form_fieldset('Perguntas Frequentes'); ?> <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true"> <div class="panel panel-info"> <div class="panel-heading" role="tab" id="headingOne"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne"> O que é a Semana transdisciplinar? </a> </h4> </div> <div id="collapseOne" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne"> <div class="panel-body"> Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. </div>
<div id="form-login" > <?php /** * Formulário Login * Cap. 10 * Pag. 137 */ echo validation_errors(); echo form_open(base_url() . 'administracao/home/login'); echo form_fieldset("Efetuar Login"); echo form_label('Login', 'login'); echo form_input('login', set_value('login')); echo form_label('Senha', 'senha'); echo form_password('senha', set_value('senha')); echo form_submit('mysubmit', 'LOGIN'); echo form_reset('myreset', 'CANCELAR'); echo form_fieldset_close(); echo form_close(); ?> </div>
<?php $cont = 1; foreach ($membros as $m) { echo "\n\t\t\t\t\t\t\t\t<div class=\"linha\" style=\"justify-content: unset;\">\n\t\t\t\t\t\t\t\t\t<code style=\"float: left; width: 500px;\">" . $cont . "- " . $m->nome . "</code>" . "\n\t\t\t\t\t\t\t\t\t<div style=\"padding-top: 13px; padding-bottom: 13px;\">" . anchor("CtrlMembro/delete_membro/{$m->id}", "<input name=\"btnDeletar" . $cont . "\" value=\"Deletar\" type=\"button\" style=\"float: right;\">") . "\n\t\t\t\t\t\t\t\t\t\t<br>" . anchor("CtrlMembro/update_membro/{$m->id}", "<input name=\"btnAlterar" . $cont . "\" value=\"Alterar\" type=\"button\" style=\"float: right;\">") . "\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>"; $cont++; } ?> </div> </section> <br><br> <section id="textos" class="section"> <div id="container"> <h1>ATUALIZAÇÃO DE TEXTOS</h1> <?php echo form_open("CtrlTexto/update_texto"); echo form_fieldset("Preencha os campos abaixo "); echo "ID: "; echo form_input("id_texto"); echo "<br><br>"; echo "Titulo: "; echo form_input("titulo"); echo "<br><br>"; echo "Texto: "; echo form_input("texto"); echo "<br><br>"; echo form_submit("submit", "ENVIAR"); echo form_fieldset_close(); echo form_close(); ?> <h1>TABELA DE TEXTOS</h1>
<?php $img_si = '<img src="' . site_url('img/interfaz/vale.png') . '" alt="sí" />'; $img_no = '<img src="' . site_url('img/interfaz/cancelar.png') . '" alt="no" />'; echo form_fieldset('Previsión de permisos de acceso'); ?> <p> El fichero que va a subir podrá ser accedido en los siguientes casos: </p> <ul class="lista-permisos"> <li id="prevision-peor-caso"><?php echo $prevision == 0 ? $img_no : $img_si; ?> Usuarios anónimos conectados desde fuera de la red de la Universidad de Sevilla</li> <li><?php echo $img_si; ?> Usuarios anónimos conectados desde la red de la Universidad de Sevilla</li> <li><?php echo $img_si; ?> Usuarios autenticados desde cualquier ubicación</li> </ul> <?php echo form_fieldset_close();
<input type="text" placeholder="Required" required pattern="[0-9]+" id="cphone" name="cphone"> </label> <small class="error">A customer phone number is required.</small> </div> </div> <div class="small-12 medium-3 large-4 columns"> <div class="name-field"> <label>Delivery Date <input type="date" id="schd" name="schd"> </label> </div> </div> </div> <?php echo form_open('addCust', 'data-abide', "id = 'add_cust'"); echo form_fieldset('Enter details for new delivery'); ?> <div class="row"> <div class="small-12 medium-6 columns"> <div class="name-field"> <label>Customer Address <input type="text" placeholder="Required" required pattern="[a-zA-Z0-9]+" id="address" name="address"> </label> <small class="error">A customer address is required.</small> </div> </div> <div class="small-12 medium-6 columns"> <div class="name-field"> <label>City <input type="text" placeholder="Required" required pattern="[a-zA-Z]+" id="city" name="city">
<?php echo form_open('/post/test_create'); ?> <?php echo form_fieldset('Post-write'); ?> <?php echo form_textarea(array('name' => 'body', 'id' => 'body')); ?> <?php echo form_fieldset_close(); ?> <?php echo form_fieldset('Post-tag'); ?> <?php echo form_input(array('name' => 'tag', 'id' => 'tag')); ?> <?php echo form_fieldset_close(); ?> <?php echo form_submit('submit', 'write'); ?> </form> </body> </html>
</script> <?php echo heading(lang('participations'), 2); ?> <?php echo $this->session->flashdata('message'); ?> <?php echo form_open('participation/reschedule_submit/' . $participation->id, array('class' => 'pure-form')); ?> <?php echo form_fieldset(lang('reschedule')); ?> <p> <?php echo sprintf(lang('reschedule_info'), name($participant), $experiment->name, output_datetime($participation->appointment)); ?> </p> <p> <?php echo sprintf(lang('call_dates'), name($participant), $min_date, $max_date); ?> </p> <?php echo form_input('appointment', $appointment, 'id="appointment"'); ?>
private function _display_field($data, $container = 'fieldset') { array_merge($this->settings, $this->settings_vars); $values = decode_multi_field($data); if (is_string($data) && $data != '' && $data[0] == '<') { return $data; } if (isset($this->settings['string_override']) && $this->settings['string_override'] != '') { return $this->settings['string_override']; } $field_options = $this->_get_field_options($data); $values = decode_multi_field($data); $r = ''; foreach ($field_options as $option) { $checked = in_array(form_prep($option), $values) ? TRUE : FALSE; $r .= '<label>' . form_checkbox($this->field_name . '[]', $option, $checked) . NBS . $option . '</label>'; } switch ($container) { case 'grid': $r = $this->grid_padding_container($r); break; default: $r = form_fieldset('') . $r . form_fieldset_close(); break; } return $r; }
table.frm{ margin: 10px auto; } table.frm td{ padding: 3px; vertical-align: top; } </style> </head> <body> <?php echo form_open(''); echo form_fieldset('Creación de asignaturas'); //MENSAJE if ($msn) { echo "<div id=msn class=ok>{$msn}</div>"; } //FACULTAD if ($facultades) { $slc_facultad = array('' => '-----'); foreach ($facultades->result() as $row) { $slc_facultad[$row->id_facultad] = $row->facultad; } $this->table->add_row(array(form_label('Facultad:', 'slc_facultad'), form_dropdown('slc_facultad', $slc_facultad, set_value('slc_facultad'), 'id="slc_facultad"') . form_error('slc_facultad', '<div class="error">', '</div>'))); } //CARRERA $slc_carrera = array('' => '-----'); if ($carreras) {
</head> <body> <h1>Form</h1> <?php //$hidden = array('member_id' => '234'); echo form_open('hello/showform', '', array('hidden' => 'hidden')); $data = array('name' => 'username', 'id' => 'username', 'value' => 'johndoe', 'maxlength' => '100', 'size' => '50', 'style' => 'width:50%'); echo form_input($data) . '<br/>'; echo form_password('pass', '') . '<br/>'; echo form_textarea('textarea', 'default') . '<br/>'; $options = array('small' => 'Small Shirt', 'med' => 'Medium Shirt', 'large' => 'Large Shirt', 'xlarge' => 'Extra Large Shirt'); $shirts_on_sale = array('small', 'large'); echo form_dropdown('shirts', $options, 'large') . '<br/>'; // echo form_dropdown('shirts', $options, $shirts_on_sale); echo form_fieldset('Address Information'); echo "<p>fieldset content here</p>\n"; echo "<p>fieldset content here</p>\n"; echo form_fieldset_close(); ?> <p>First name: <input type="text" name="fname" /></p> <p>Last name: <input type="text" name="lname" /></p> <!-- <?php echo form_hidden('username', 'johndoe'); ?> --> <input type="submit" value="Submit" />
echo form_open($this->session->userdata('routeedit_submit') . '/save', $form); ?> <table> <tr> <td><button type='submit' name='route_submit' id='route_submit' class='button_gross'><span class='button_save'>CI Route speichern</span></button></td> <td><a href='<?php echo $this->session->userdata('routeliste_redirect'); ?> ' target='_top' class="button_gross"><span class="button_cancel">Zurück</span></a></td> </tr> </table> <br> <?php echo form_fieldset(' Routendaten: '); ?> <p> <table> <tr><td colspan="2"><?php echo validation_errors(); ?> </td></tr> <tr> <td> <table> <tr> <td class='form_label'><?php echo form_label('Bereich:', 'bereich'); ?> </td>
? Create routes will have to be ran again for this date.</h4> <?php echo form_open('deleteR', "id = 'deleteR'"); echo form_hidden('schd', $schd); echo form_submit('', 'Yes, I want to delete these routes', "class='button alert small radius'"); echo form_close(); ?> <h6>After routes are deleted you will be taken back to the Home page.</h6> <a class="close-reveal-modal">×</a> </div> </div> </div> <div class="row"> <?php echo form_open('edit_rts', "id = 'edit_rts'"); echo form_fieldset('Change the deliverer for any route'); echo form_input(array('name' => 'schd', 'type' => 'hidden', 'id' => 'schd', 'value' => $schd)); //loop through individual routes and display their maps and info foreach ($rquery->result() as $row) { $sql = "select * from delivery as d, customer as c where d.cid = c.cid and d.schd = ? and c\r\n .bname = ? and d.rid = ? order by d.position"; $dquery = $this->db->query($sql, array($schd, $biz->name, $row->rid)); if ($dquery->num_rows() != 0) { foreach ($dquery->result() as $drow) { $address = str_replace('%2C', ',', $drow->caddress); $waypoint[] = "{location:\"" . $address . "\"}"; } $waypoints = implode(",", $waypoint); } else { $waypoints = ""; } ?>
table.cabecera{ margin: 10px auto; } table.cabecera #detalles{ text-align: center; } </style> </head> <body> <?php echo form_open(''); echo form_fieldset('Habilitación de inscripcion semestral'); //MENSAJE if ($mensaje) { $this->table->add_row(array(array('data' => $mensaje, 'colspan' => 2, 'class' => 'ok'))); } /* *PERIODOS */ $slc_periodo = array('' => '-----'); if ($periodos) { foreach ($periodos->result() as $periodos_) { $slc_periodo[$periodos_->id_periodo] = $periodos_->id_periodo; } } $this->table->add_row(array(form_label('Periodo:', 'slc_periodo'), form_dropdown('slc_periodo', $slc_periodo, set_value('slc_periodo'), 'id=slc_periodo') . form_error('slc_periodo', '<div class="error">', '</div>'))); /*
set_msg('msgerro', 'Não foi informado um usuario valido.', 'aviso'); redirect('usuarios/gerenciar'); } if (is_admin() || $iduser == $this->session->userdata('user_id')) { $query = $this->usuarios->get_byid($iduser)->row(); echo bt_row(array(form_open(current_url(), array('role' => 'form')), form_fieldset(), bt_col(12, array(get_msg('msgok'), get_msg('msgerro'), erros_validacao())), bt_col(12, bt_input_disabled('Nome', 'nome', 4, $query->nome)), bt_col(12, array(bt_input_disabled('Login', 'loginoff', 2, $query->login), form_hidden('login', $query->login))), bt_col(12, bt_input_disabled('E-Mail', 'email', 4, $query->email)), bt_col(12, bt_password('Senha', 'senha', 2)), bt_col(12, bt_password('Repita Senha', 'senha2', 2)), bt_col(12, array(anchor('usuarios/gerenciar', 'Canselar', array('class' => 'btn btn-danger espaco')), bt_submit('Salvar', 'alterarsenha', 4, 3))), form_hidden('idusuario', $iduser), form_fieldset_close(), form_close())); } else { set_msg('msgerro', 'Não tem permição para alterar a senha.', 'aviso'); redirect('usuarios/gerenciar'); } break; case 'editar': $iduser = $this->uri->segment(3); if ($iduser == NULL) { set_msg('msgerro', 'Não foi informado um usuario valido.', 'aviso'); redirect('usuarios/gerenciar'); } if (is_admin() || $iduser == $this->session->userdata('user_id')) { $query = $this->usuarios->get_byid($iduser)->row(); echo bt_row(array(form_open(current_url(), array('role' => 'form')), form_fieldset(), bt_col(12, array(get_msg('msgok'), get_msg('msgerro'), erros_validacao())), bt_col(12, bt_input_cont('Nome', 'nome', 4, $query->nome)), bt_col(12, array(bt_input_disabled('Login', 'loginoff', 2, $query->login), form_hidden('login', $query->login))), bt_col(12, bt_input_disabled('E-Mail', 'email', 4, $query->email)), $iduser == 1 ? '<div class=col-md-12><br/> </div>' : bt_col(12, bt_form(6, array(bt_checkbox('ativo', '1', 'Ativa um usuario', $query->ativo == 1 ? TRUE : FALSE), is_admin() ? bt_checkbox('adm', '1', 'Dar porder de ADM', $query->adm == 1 ? TRUE : FALSE) : ''))), bt_col(12, array(anchor('usuarios/gerenciar', 'Canselar', array('class' => 'btn btn-danger espaco')), bt_submit('Salvar', 'alterarsenha', 4, 3))), form_hidden('idusuario', $iduser), form_fieldset_close(), form_close())); } else { set_msg('msgerro', 'Não tem permição para alterar este usuario.', 'aviso'); redirect('usuarios/gerenciar'); } break; default: echo '<div class="alert alert-warning"> <strong>Warning!</strong> A tela solicitada não foi encontrada!! </div>'; break; }
?> <span class="help-block"><?php echo $field['display_name']; ?> </span> <?php } ?> <?php if ($field['type'] == 'title') { if ($fieldsetNbr > 0) { echo form_fieldset_close(); } echo form_fieldset($field['display_name']); $fieldsetNbr++; } ?> <?php } ?> <?php if ($fieldsetNbr > 0) { form_fieldset_close(); } ?>
<?php echo form_label('Password:'******'password'); ?> <div class="input-group"> <span class="input-group-addon"><i class="fa fa-key"></i></span> <?php echo form_password(array('name' => 'password', 'required' => 'required', 'id' => 'password', 'size' => '24', 'class' => 'textfield form-control', 'placeholder' => '********')); ?> </div> </div> <div style="margin-top:1em;"> <?php echo form_fieldset_close(); ?> <?php echo form_fieldset('', array('class' => 'tblFooters')); ?> <?php echo form_submit('input_go', 'Go'); ?> <?php echo form_fieldset_close(); ?> <?php echo form_close(); ?> </div> <div class="span4" style="margin-top:1em;"> <h3>CDRR Templates <i><img class="img-rounded" style="height:30px;" src="<?php echo base_url() . 'assets/images/excel.jpg'; ?>
<td><?php echo $content['templateName']; ?> </td> </tr> </table> </td> </tr> </table> </p> <?php echo form_fieldset_close(); ?> <br/> <?php echo form_fieldset(' Layout Elemente: '); ?> <p> <table> <tr> <td> <table> <tr> <td class='form_label'>Bildbühne:</td> <td><?php echo form_dropdown('stageid', $stage_options, set_value('stageid', $page['stageID']), $stage_attr); ?> </td> </tr> </table> </td>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Please Login</title> </head> <body> <?php echo form_fieldset('Login'); ?> <?php echo validation_errors(); ?> <?php echo form_open('auth/login', array('id' => 'loginform')); ?> <?php $table = array(array('', ''), array(form_label('Username:'******'username'), form_input(array('name' => 'username', 'id' => 'username', 'class' => 'formfield'))), array(form_label('Password', 'password'), form_password(array('name' => 'password', 'id' => 'password', 'class' => 'formfield')))); echo $this->table->generate($table); ?> <?php echo form_label('Remember me', 'remember'); ?> <?php echo form_checkbox(array('name' => 'remember', 'id' => 'remember', 'value' => 1, 'checked' => FALSE, 'disabled' => TRUE)); ?> <br /> <?php echo form_submit('login', 'Login');
<div class="container conteudo"> <div class="row"> <div class="col-md-12" id='container_form_cadastra_receita'> <?php echo form_open('Receitas/salvarReceita'); echo form_fieldset('Cadastrar receita:'); echo form_label('Nome da receita?', 'nome'); echo form_input(array('name' => 'nome', 'id' => 'nome', 'required' => '', 'value' => set_value("nome"))); echo "<br>"; echo form_label('Quantos ingredientes a receita tem?', 'qtd_ingredientes'); echo form_input(array('name' => 'qtd_ingredientes', 'id' => 'qtd_ingredientes', 'required' => '')); echo form_fieldset_close(); echo form_close(); ?> </div> </div> </div> <script type="text/javascript" src="<?php echo base_url('front_end/js/manipula_form_cad_receita.js'); ?> "></script>
# Open-AudIT is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with Open-AudIT (most likely in a file named LICENSE). # If not, see <http://www.gnu.org/licenses/> # # For further information on Open-AudIT or for a license other than AGPL please see # www.opmantek.com or email contact@opmantek.com # # ***************************************************************************** /** * @author Mark Unwin <*****@*****.**> * * * @version 1.12.8 * * @copyright Copyright (c) 2014, Opmantek * @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3 */ echo form_open('admin_report/import_report')."\n"; echo form_fieldset( __('Insert XML Below') )."\n"; echo "<p>".form_submit(array('id' => 'submit', 'name' => 'submit'), __('Submit') )."</p>\n"; $textarea_data = array('name' => 'form_reportXML', 'rows' => '20', 'cols' => '150'); echo "<p>".form_textarea($textarea_data)."</p>\n"; echo form_fieldset_close(); echo form_close();
echo lang('connect_' . $openid_link->provider); ?> </strong><br/> <?php echo anchor($openid_link->openid, substr($openid_link->openid, 0, 30) . (strlen($openid_link->openid) > 30 ? '...' : ''), array('target' => '_blank', 'title' => $openid_link->openid)); ?> </div> <div class="span2"> <?php if ($num_of_linked_accounts >= 1 && isset($account->password)) { ?> <?php echo form_open(uri_string()); ?> <?php echo form_fieldset(); ?> <?php echo form_hidden('openid', $openid_link->openid); ?> <?php echo form_button(array('type' => 'submit', 'class' => 'btn', 'content' => '<i class="icon-trash"></i> ' . lang('linked_remove'))); ?> <?php echo form_fieldset_close(); ?> <?php echo form_close(); ?> <?php }
echo form_error('Address'); echo '<br/>'; echo form_label('Post-Code', 'Postal'); echo form_input('Postal', set_value('Postal'), 'id="postal"'); echo form_error('Postal'); echo '<br/>'; echo form_label('Telephone', 'Phone'); echo form_input('Phone', set_value('Phone'), 'id="phone"'); echo form_error('Phone'); echo '<br/>'; echo form_label('HEI', 'Hei', $attributes4); echo form_input('Hei', set_value('Hei'), $attributes4); echo form_error('Hei'); echo '<br/>'; echo form_fieldset_close(); echo form_fieldset('Login Details', $attributes2); echo form_label('Email', 'Email'); echo form_input('Email', set_value('Email'), 'id="email"'); echo form_error('Email'); echo '<br/>'; $newPass = random_string('alnum', 8); echo form_label('Password', 'Password'); echo form_password('Password', $newPass, 'id="password"'); echo form_error('Password'); $level = array('none' => 'Choose one', '1' => 'Level 1', '2' => 'Level 2', '3' => 'Level 3'); echo form_label('Level', 'Level'); echo form_dropdown('Level', $level, 'none', $attributes3); echo form_error('Level'); echo form_fieldset_close(); echo form_submit('submit', 'Create'); echo form_close();