			
				
					<div style="text-align:center">
					<?php foreach ($content->result() as $video) { ?>
							<?php if($video->videos_type == "outsidelink") echo $video->videos_name; 
									else if($video->videos_type == "file") { ?>
										<object id="MediaPlayer1"
											width="<?php echo $rozmiar->x; ?>" height="<?php echo $rozmiar->y; ?>"
											classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
											codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,02,902"
											standby="Loading Microsoft® Windows® Media Player components..."
											type="application/x-oleobject">		
											<param name="FileName" value="<?php echo $main_url.'video/'.$video->videos_name; ?>" />
											<param name="animationatStart" value="true" />
											<param name="transparentatStart" value="true" />
											<param name="autoStart" value="false" />
											<param name="showControls" value="true" />
											<param name="Volume" value="0" />
											<embed type="application/x-mplayer2"
												pluginspage="http://www.microsoft.com/Windows/MediaPlayer/"
												src="<?php echo $main_url.'video/'.$video->videos_name; ?>"
												name="MediaPlayer1"
												width="<?php echo $rozmiar->x; ?>" height="<?php echo $rozmiar->y; ?>"
												autostart="false">
												
											</embed>
										</object>
									<?php } ?>
							</div>
                            <div class="photoHeader">
							<strong><?php echo $video->videos_header; ?></strong><br>
                            <?php echo $video->videos_description; ?>
							</div>
                            <hr/>
						
					<?php } ?>
				
				
				<div class="clear"></div>
				<br/>