Current File : /home/users/barii/public_html/finansenl.com.pl/wodki/application/views/plan/ankietaOLD.php
			<div class="content">
			<?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;?>	
			
			<?php echo Message::render(); ?>
				<form action="" method="post">
				
				<fieldset class="poll">
				<legend>Aby nasz dietetyk mógł przygotować plan dobrany do Twoich potrzeb, musisz podać nam kilka informacji o sobie:</legend>
				<br style="clear: both;"/>
					<img src="template/images/znany_trener_tp_100.png" alt="" />
					<br style="clear: both;"/>
					<div style="float: left; margin-top: -70px; position: relative;">
					<label for="f1" style="width: 510px;">Imię i nazwisko</label>
					<label for="f1" style="width: 90px; margin-left: 10px;">Wiek</label>
					<label for="f1" style="width: 90px; margin-left: 10px;">Waga</label>
					<label for="f1" style="width: 90px; margin-left: 10px;">Wzrost</label>
					<br style="clear: both;"/>
					<input type="hidden" name="option" value="<?php echo $option; ?>"/>
					<input type="text"  name="name" value="<?php echo !empty( $_POST['name'] ) ? $_POST['name'] : ''; ?>"/>
					<input type="text" style="width: 90px; margin-left: 10px;"  name="age" value="<?php echo !empty( $_POST['age'] ) ? $_POST['age'] : ''; ?>"/>
					<input type="text" style="width: 90px; margin-left: 10px;" name="weight" value="<?php echo !empty( $_POST['weight'] ) ? $_POST['weight'] : ''; ?>"/>
					<input type="text" style="width: 90px; margin-left: 10px;" name="height" value="<?php echo !empty( $_POST['height'] ) ? $_POST['height'] : ''; ?>"/>
					<br style="clear: both;"/>
					
					<label for="f1" style="width: 90px; margin-left: 0px;">Adres e-mail</label>
					<input type="text" style="float: left; width: 380px; margin: 10px 0px 0px 10px" name="email" value="<?php echo !empty( $_POST['email'] ) ? $_POST['email'] : ''; ?>"/>
					<br style="clear: both;"/>
					<label for="f1">Kilka słów o sobie (zawód, tryb życia, jakie dyscypliny sportu uprawiasz itp.)</label><br style="clear: both;"/>
					<textarea type="textarea" name="about"><?php echo !empty( $_POST['about'] ) ? $_POST['about'] : ''; ?></textarea>
					</div>
					<legend>Składniki Twojej diety</legend>
					
					<img src="template/images/znany_trener_tp_100.png" alt="" />
					<br style="clear: both;"/>
					<div style="float: left; margin-top: -90px;">
					<label for="f1">Co lubisz jeść? Wymień od 6 do 12 przykładów.</label><br style="clear: both;"/>
					<textarea type="textarea" name="favorite_foot" style="height: 50px;"><?php echo !empty( $_POST['favorite_foot'] ) ? $_POST['favorite_foot'] : ''; ?></textarea>
					
					<label for="f1">Czego nie lubisz jeść? Wymień od 6 do 12 przykładów.</label><br style="clear: both;"/>
					<textarea type="textarea" name="hate_foot" style="height: 50px;"><?php echo !empty( $_POST['hate_foot'] ) ? $_POST['hate_foot'] : ''; ?></textarea>
					</div>
					<legend>Jaki efekt chcesz osiągnąć?</legend>
					
					<img src="template/images/znany_trener_tp_100.png" alt="" />
					<br style="clear: both;"/>
					<div style="float: left; margin-top: -40px; position: relative; width: 100%">
					<input type="radio" name="what_do" value="1" <?php if( !empty( $_POST['what_do_text_1'] ) OR ( empty( $_POST['what_do_text_2'] ) AND empty( $_POST['what_do_text_3'] ) AND empty( $_POST['body_party'] )  ) ) echo 'checked'; ?> />
					<label for="f1" style="width: 210px;">Chcę schudnąć</label>
					<span class="float: left;">
					<font style="float: left; margin-left: 20px;">Jak dużo?</font><br/>
					<input type="text" style="width: 90px; margin-left: 10px; margin-top: 0px;" name="what_do_text_1" value="<?php echo !empty( $_POST['how_slim'] ) ? $_POST['how_slim'] : '10 kg'; ?>"/>
					</span>
					<br style="clear: both;"/>
					<input type="radio" name="what_do" value="2" <?php if( !empty( $_POST['how_fat'] ) ) echo 'checked'; ?> />
					<label for="f1" style="width: 210px;">Chcę przytyć</label>
					<span class="float: left;">
					<font style="float: left; margin-left: 20px;">Jak dużo?</font><br/>
					<input type="text" style="width: 90px; margin-left: 10px; margin-top: 0px;" name="what_do_text_2" value="<?php echo !empty( $_POST['how_fat'] ) ? $_POST['how_fat'] : '10 kg'; ?>"/>
					</span>
					<br style="clear: both;"/>
					<input type="radio" name="what_do" value="3" <?php if( !empty( $_POST['body_part'] ) ) echo 'checked'; ?> />
					<label for="f1" style="width: 210px;">Chcę poprawić rzeźbę</label>
					<span class="float: left;">
					<font style="float: left; margin-left: 20px;">W jakich partiach ciała ?</font><br/>
					<input type="text" style="width: 190px; margin-left: 10px;" name="what_do_text_3" value="<?php echo !empty( $_POST['body_part'] ) ? $_POST['body_part'] : 'klatka piersiowa, ramiona'; ?>"/><br style="clear: both;"/>
					</span><br style="clear: both;"/><br style="clear: both;"/>
					<span class="float: left;">
					<input type="checkbox" style="float: left; margin-left: 60px;" name="accept" value="1" CHECKED /><label style="width: 300px; margin-left: 4px; margin-top: -5px;" for="f1">Akceptuję <a target="_blank" style="text-decoration: underline;" href="infosite/plan_regulamin">regulamin</a></label>
					</span>
					
					</div>
					
					<br style="clear: both;"/><br style="clear: both;"/>
					<img src="template/images/znany_trener_tp_100.png" alt="" />
					
					
					<br style="clear: both;"/>
					<input type="submit" value="wyślij ankietę"/>	
				</fieldset>
				</form>
			</div>