Current File : /home/users/barii/public_html/finansenl.com.pl/wodki/application/views/backend/location/edit.php
<?php echo Message::render(); ?>
<form id="mainform" action="" method="post" enctype="multipart/form-data" >
<table border="0" width="100%" cellpadding="0" cellspacing="0">
	<tr valign="top">
	<td>
		<!--  start step-holder -->
		<div id="step-holder">
			<div class="step-no">1</div>
			<div class="step-dark-left"><a href="">Neue Location</a></div>
			<div class="step-dark-right">&nbsp;</div>
			<div class="step-no-off">2</div>
			<div class="step-light-left">Speichern</div>
			<div class="step-light-right">&nbsp;</div>
		
			<div class="clear"></div>
		</div>
		<!--  end step-holder -->
	
		<!-- start id-form -->
		<table border="0" cellpadding="0" cellspacing="0"  id="id-form">
		<tr>
			<?php ac_form::field_Text('Name', 'p_club_name' , !empty($data->club_name) ? $data->club_name : '', $errors); ?>
		</tr>
		<tr>
			<?php ac_form::field_Select('Stadt', 'p_city_id' , !empty($data->city_id) ? $data->city_id : '', $errors, $options); ?>
		</tr>

		<tr>
			<?php ac_form::field_Text('Strasse', 'p_club_street' , !empty($data->club_street) ? $data->club_street : '', $errors); ?>
		</tr>
		<tr>
			<?php ac_form::field_Text('Postleitzahl', 'p_club_postCode' , !empty($data->club_postCode) ? $data->club_postCode : '', $errors); ?>
		</tr>
		<tr>
			<?php ac_form::field_Text('Telefon', 'p_club_tel' , !empty($data->club_tel) ? $data->club_tel : '', $errors); ?>
		</tr>
		<tr>
			<?php ac_form::field_Text('E-mail', 'p_club_email' , !empty($data->club_email) ? $data->club_email : '', $errors); ?>
		</tr>
		<tr>
			<?php ac_form::field_Text('Webseite', 'p_club_weburl' , !empty($data->club_weburl) ? $data->club_weburl : '', $errors); ?>
		</tr>
		<tr>
			<?php ac_form::field_Text('GPS X', 'p_latitude' , !empty($data->latitude ) ? $data->latitude  : '', $errors); ?>
		</tr>
		<tr>
			<?php ac_form::field_Text('GPS Y', 'p_longitude' , !empty($data->longitude ) ? $data->longitude  : '', $errors); ?>
		</tr>
		<tr>
			<?php ac_form::field_Text('Facebook Profile', 'p_fb_id' , !empty($data->fb_id ) ? $data->fb_id  : 'http://www.facebook.com/inparty', $errors); ?>
		</tr>
		<tr>
			<?php ac_form::field_Checkbox('Icons', NULL , NULL, $errors, $options3); ?>
		</tr>
	
		<tr>
			<?php ac_form::field_Textarea('Beschreibung', 'p_club_content' , !empty($data->club_content) ? $data->club_content : '', $errors); ?>
		</tr>
		<tr>
			<?php ac_form::field_File('Logo (Webseite):', 'file_1' , 'JPEG, GIF 5MB max per image', $errors); ?>
			
		</tr>
		<?php if( !empty( $data->club_image ) ) : ?>
		<tr>
		
			<td>&nbsp;</td><td><img src="media/images/table/image.png" alt=""/> <a href="../<?php echo $data->club_image; ?>" class="group4"><?php echo $data->club_image; ?></a></td>
		</tr>
		<?php endif; ?>
		<tr>
			<?php ac_form::field_File2('Logo (Mobile):', 'file_1' , 'JPEG, GIF 5MB max per image', $errors); ?>
		</tr>
		
		
		<?php if( !empty( $data->club_image_mobile ) ) : ?>
		<tr>
			<td>&nbsp;</td><td><img src="media/images/table/image.png" alt=""/> <a href="../<?php echo $data->club_image_mobile; ?>" class="group4"><?php echo $data->club_image_mobile; ?></a></td>
		</tr>
		<?php endif; ?>	
			
		<tr>
			<td><strong>Bild 1 <?=$data->club_image1; ?></strong></td>
			<td><input type="file" name="attach_1" class="file_1"/><?php if( !empty( $data->club_image1 ) ) : echo ' <img src="media/images/table/image.png" alt=""/> '.$data->club_image1; endif; ?></td>
		</tr>
		<tr>
			<td><strong>Bild 2</strong></td>
			<td><input type="file" name="attach_2" class="file_1"/><?php if( !empty( $data->club_image2 ) ) : echo ' <img src="media/images/table/image.png" alt=""/> '.$data->club_image2; endif; ?></td>
		</tr>
		<tr>
			<td><strong>Bild 3</strong></td>
			<td><input type="file" name="attach_3" class="file_1"/><?php if( !empty( $data->club_image3 ) ) : echo ' <img src="media/images/table/image.png" alt=""/> '.$data->club_image3; endif; ?></td>
		</tr>
		<tr>
			<td><strong>Bild 4</strong></td>
			<td><input type="file" name="attach_4" class="file_1"/><?php if( !empty( $data->club_image4 ) ) : echo ' <img src="media/images/table/image.png" alt=""/> '.$data->club_image4; endif; ?></td>
		</tr>		
			
		

	<tr>
		<th>&nbsp;</th>
		<td valign="top">
			<input type="submit" value="" class="form-submit" />
			<input type="reset" value="" class="form-reset"  />
		</td>
		<td></td>
	</tr>
	</table>
	<!-- end id-form  -->

	</td>
	<td>

		<?php echo cms::right_menu(); ?>

	</td>
</tr>
<tr>
<td><img src="./media/images/shared/blank.gif" width="695" height="1" alt="blank" /></td>
<td></td>
</tr>
</table>
</form>