Current File : /home/users/barii/public_html/finansenl.com.pl/wodki/application/views/admin/user_edit.php
<div id="page">
	
		
			<!--  start message-blue -->
			<?php if (isset($message_ok)):?>
			<div class="n_ok"><p><?php echo $message_ok;?></div>
			<?php endif;?>	
			<!--  start message-red -->
			<?php if (isset($message)):?>
			<div class="n_error"><p><?php echo $message;?></div>
					
			<?php endif;?>
	

			<div id="content">

			
		
				<div class="main">
				
				<div class="full_w">
				<div class="h_title">Zarządzaj</div>
				<h2>Edycja licencji</h2>
				
				
				<div class="entry">
					<div class="sep"></div>
				</div>
				<form method="post" action="" name="form_edit">
						<div>
							<label>Login:</label><input type="text" id="username" name="username" value="<?php echo @$data->username; ?>"/>
							<p class="clear"></p>
							<small>Podaj login</small>
							<p class="clear"></p>
						</div>
						<div>
							<label>E-mail:</label><input type="text" id="email" name="email" value="<?php echo @$data->email; ?>"/>
							<p class="clear"></p>
							<small>Wpisz e-mail</small>
							<p class="clear"></p>
						</div>
					
					
						
						
							<div>
								<label>Imię:</label><input type="text" id="firstname" name="firstname" value="<?php echo @$data->firstname; ?>"/>
								<p class="clear"></p>
								<small>Wypełnij imię</small>
								<p class="clear"></p>
							</div>
							<div>
								<label>Nazwisko:</label><input type="text" id="lastname" name="lastname" value="<?php echo @$data->lastname; ?>"/>
								<p class="clear"></p>
								<small>Wypełnij nazwisko </small>
								<p class="clear"></p>
							</div>
							<div>
								<label>Nazwa firmy:</label><input type="text" id="company" name="company" value="<?php echo @$data->company; ?>"/>
								<p class="clear"></p>
								<small>Wypełnij nazwę firmy</small>
								<p class="clear"></p>
							</div>
							<div>
								<label>Ulica:</label><input type="text" id="street" name="street" value="<?php echo @$data->street; ?>"/>
								<p class="clear"></p>
								<small>Wypełnij ulice</small>
								<p class="clear"></p>
							</div>
							<div>
								<label>Kod pocztowy:</label><input type="text" id="postcode" name="postcode" value="<?php echo @$data->postcode; ?>"/>
								<p class="clear"></p>
								<small>Wypełnij kod pocztowy</small>
								<p class="clear"></p>
							</div>
							<div>
								<label>Miejscowość:</label><input type="text" id="city" name="city" value="<?php echo @$data->city; ?>"/>
								<p class="clear"></p>
								<small>Wypełnij miejscowość</small>
								<p class="clear"></p>
							</div>
							<div>
								<label>Kraj:</label><select id="country_id" name="country_id">
								<?php foreach( ORM::Factory('language')->order_by('id','asc')->find_all() as $lang ) : ?>
								<option value="<?php echo $lang->id; ?>" <?php if( !empty( $data->country_id ) and $data->country_id == $lang->id ) echo 'SELECTED="SELECTED"'; ?>><?php echo $lang->name; ?></option>
								<?php endforeach; ?>
								</select>
								<p class="clear"></p>
								<small>Wybierz kraj</small>
								<p class="clear"></p>
							</div>
							<div>
								<label>NIP:</label><input type="text" id="nip" name="nip" value="<?php echo @$data->nip; ?>"/>
								<p class="clear"></p>
								<small>Wypełnij NIP</small>	
								<p class="clear"></p>
							</div>
					
					
						<div>
							<div class="free_reg_btn">
								<input type="submit"id="register_button" value="Zmień"/>
							</div>
							<p class="clear"></p>
						</div>
					</form>
					
				
					</div>
				
				</div>
				
				

			</div>
			
		</div>