Current File : /home/users/barii/public_html/finansenl.com.pl/wodki/application/views/account/comment_edit.php
			<?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/images/table/icon_close_red.gif');?></a></td>
							</tr>
						</table>
					</div>
			<?php endif;?>	
			<?php echo Message::render(); ?>
			
			<div class="container">
			<?php echo aurora::partial('frontend_sider'); ?>
		
				<div id="content">
				<h2><?php echo __t('Zarządzanie <span>profilem</span>'); ?>
				</h2>
				
					<p><?php echo __t('Witaj w strefie dostępnej dla użytkowników systemu'); ?></p>
		
					
				<h2><?php echo __t('Edit <span>comment</span>'); ?></h2>		
					<form method="post" action="" name="form_edit_data">
					<fieldset class="forms small_fields">
					<input type="hidden" name="action" value="edit_data"/>
							
							
							<div style="width: 100%;">
								<label><?php echo __t('Treść'); ?>:</label><br style="clear: both;"/><textarea type="textarea" id="description" name="description"><?php echo @$comment->description; ?></textarea>
							</div>
							
							<div style="width: 100%;">
							
								<a href="http://<?php echo $_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; ?>" class="button_black"><?php echo __t('Anuluj'); ?></a>
								<input type="submit" onclick="validateForm_Data(); return false;" id="register_buttonData" value="<?php echo __t('Zastosuj'); ?>"/>
							
							
							</div>
						</fieldset>
					</form>
			
				
					
				</div>
				
			</div>

</div>
		<script>

	function validateForm_Data() {

		var error = 0;
		var form = document.forms['form_edit_data'];

	
		if( 1 == 1 ) {

			
			f = "#description";
			$(f).removeClass('input_error');
			$('.input_error_text').remove();
			
			if( $(f).val() == "" ) {

				$(f).addClass('input_error');
				error++;
			} 
			
			
			
			
		} 

		if( error === 0 ) {
			form.submit();
		} else {
			alert('<?php echo __t('Błędnie wypełniony formularz'); ?>');
		}
	}
</script></script>