Current File : /home/users/barii/public_html/finansenl.com.pl/wodki/application/views/admin/award_edit.php
	<div id="page">
	
		
			<!--  start message-blue -->
			<?php if (isset($message_ok)):?>
			<div id="message-blue">
					<table border="0" width="100%" cellpadding="0" cellspacing="0">
						<tr>
							<td class="blue-left"><?php echo $message_ok; ?>  </td>
							<td class="blue-right"><a class="close-blue"><?php echo HTML::image('static/images/table/icon_close_blue.gif');?></a></td>
						</tr>
					</table>
				</div>
			<!--  end message-blue -->
			<?php endif;?>	
			<!--  start message-red -->
			<?php if (isset($message)):?>
			<div id="message-red">
				<table border="0" width="100%" cellpadding="0" cellspacing="0">
					<tr>
						<td class="red-left">
							<?php echo $message;?>
						</td>
						<td class="red-right"><a class="close-red"><?php echo HTML::image('static_back/images/table/icon_close_red.gif');?></a></td>
					</tr>
				</table>
			</div>
			<?php endif;?>

			<div id="content">

				<?php echo aurora::partial('admin_sider', $user); ?>
		
				<div class="main">
				
					<div class="head"><h1>Nagrody</h1></div>
					
					<div class="main_content">
				
						<form action="/admin/award/edit/<?php echo $id; ?>" method="post" enctype="multipart/form-data">
							<fieldset class="register">
							
							<span class="col1" style="margin-left: 20px;">
							
								<label for="account">Tytuł:</label>
								<input type="text" name="register_title" style="width: 400px;" value="<?php echo !empty( $data->title ) ? $data->title : ''; ?>" /><br clear="both"/>
								<label for="account">Punkty:</label>
								<input type="text" name="register_points" style="width: 400px;" value="<?php echo !empty( $data->points ) ? $data->points : ''; ?>" /><br clear="both"/>
								<label for="account">Treść:</label>
								<textarea class="article" type="text" name="register_description"><?php echo !empty( $data->description ) ? $data->description : ''; ?></textarea><br clear="both"/>
								<label for="account">Zdjęcie:</label>
								<input type="file" name="obraz" /><br clear="both"/>
							
								<br clear="both"/><br clear="both"/>
								<input type="submit" value="Zapisz"/>
							</span>
							
							<br clear="both"/>
							
							</fieldset>
							</form>
					
				
					</div>
				
				</div>
				
				

			</div>
			
		</div>