<script type="text/javascript">

$(document).ready(function(){
//$('.ckeditorContener').ckeditor();
});
</script>
				<!--<p style="margin-bottom: 10px;"><?php foreach($parents as $node){
					echo '<img src="'.base_url().'images/icon_arrow.png" align="baseline" style=" position:relative; top:4px;" /><a href="'.base_url().'admin/wyswietl/'.$node->id.'">'.$node->nodeData['name'].'</a>';
				 } 
				echo '<img src="'.base_url().'images/icon_arrow.png" align="baseline" style=" position:relative; top:4px;" /><a href="'.base_url().'admin/module/'.$this->uri->segment(3).'">'.$module->modules_name; ?></a> </p>
				
				-->
                <div class="breadcrumb ui-corner-tl ui-corner-tr">
                <div style="float:left; position:relative;"><img class="breadcrumbIcon" align="absmiddle"  src="<?php echo base_url();?>images/homePage.png" /><a href="<?php echo base_url(); ?>">Strona WWW</a><img src="<?php echo base_url(); ?>images/breadcrumbSeparator.png" align="absmiddle" style="" /></div>
                <?php
				$counter = count($parents);
				$count = 1;
				$lastNode = null;
				 foreach($parents as $node){
					 
					echo '<div class="contenerNodeBreadcrumb"><img src='.base_url().'images/newspaper.png align="absmiddle" class="breadcrumbIcon"><a href="'.base_url().'admin/wyswietl/'.$node->id.'">'.truncate($node->nodeData['name']).'</a>';
				//	if($counter==$count) echo '<img style="position:absolute; left:40%; top:32px;" src='.base_url().'images/pointer_breadcrumb.png /> ';
				
					echo '</div><img src="'.base_url().'images/breadcrumbSeparator.png"  align="absmiddle"  class="separatorBreadcrumb" />'; 
				 $count++;
				 $lastNode = $node;
				 } 
				 echo '<div class="contenerNodeBreadcrumb"><img src="'.base_url().'images/brick_mini.png" align="absmiddle" class="breadcrumbIcon" /><a  href="'.base_url().'admin/module/'.$this->uri->segment(3).'">'.truncate($module->modules_name).'</a> <img class="pointerBreadcrumb" src='.base_url().'images/pointer_breadcrumb.png /></div>';
				?>
                <a href="<?php echo base_url()?>admin/wyswietl/<?php echo $lastNode->id ?>"><img src="<?=base_url(); ?>images/back_cms_main.png" border="0" style="float:right;"></a>
                </div>
                
                
	<?php /*?>			<div id="navigationContener">
				<p ><img src="<?php echo base_url(); ?>images/navigation_head_icon.png" align="absmiddle" style="" /> <?php foreach($parents as $node){
					echo '<img src="'.base_url().'images/next_navigation.png" align="absmiddle" style="" /><a href="'.base_url().'admin/wyswietl/'.$node->id.'">'.$node->nodeData['name'].'</a>';
				 } 
				 echo '<img src="'.base_url().'images/next_navigation.png" align="absmiddle"  /><img src="'.base_url().'images/brick_mini.png" align="absmiddle" style="margin-left:7px;" /><a style="margin-left:4px;" href="'.base_url().'admin/module/'.$this->uri->segment(3).'">'.$module->modules_name.'</a>';
				?> </p>
                </div><?php */?>
                
				
				
							
				
<?php /*?>				<?php if($text && $text->num_rows()>0) { 
					$row = $text->row();
				?>
					<form action="<?php echo base_url(); ?>admin/edittextmodule" method="post">
						<br />
						<span id="texttoedit"><?php echo $row->text_content; ?></span><br />
						<input type="hidden" name="module_id" value="<?php echo $this->uri->segment(3); ?>" />
						<input type="hidden" name="id" value="<?php echo $row->ID_text; ?>" />
						<p><button id="edytujModulTekst" style="width: 200px;">Edytuj tekst</button></p>
						<p id="submitEdytujModul" style="display: none;"><input type="submit" value="Zapisz" style="width: 200px;" /></p>
					</form>
				<?php }  else  { ?><?php */?>
                
              	<form action="<?php echo base_url(); ?>admin/editformmail" method="post">
				<table border="0" cellpadding="0" cellspacing="0"  id="id-form">
					
					<tr>
					
						<th valign="top">Adres e-mail dla kontaktu:</th>
						<td><table><tr id="input-mail">
							<td><input type="text" class="inp-form" name="mail" value="<?php echo $mail; ?>"/></td>
							<td class="error-td">
							
							</td>
						</tr></table></td>
						
					
					</tr>
					<tr><td>
					<input type="hidden" name="module_id" value="<?php echo $this->uri->segment(3); ?>" />
								
					<!--<input type="submit" value="Zapisz" style="width: 200px;"/>
					-->
					<a  class="submit button buttonBlack "><img src="<?php echo base_url(); ?>images/buttons/disc.png" />Zapisz</a>
					</td></tr>
				</table>
				</form>	
						
			
						
				