<link rel="stylesheet" href="<?php echo base_url(); ?>css/modules/aktualnosciModule.css" type="text/css" media="screen" title="default" />
				<link rel="stylesheet" href="<?php echo base_url() ?>css/jquery.fileupload-ui.css">
				<script type="text/javascript">
					$(document).ready(function(){
						$('#tabs').tabs();
					});
				</script>
				
				<br/>
                <div class="breadcrumb ui-corner-tl ui-corner-tr" style="">
                <div  class="contenerNodeBreadcrumb"><img class="breadcrumbIcon" align="absmiddle"  src='<?php echo base_url();?>images/homePage.png' /> <a href="<?php echo base_url(); ?>">Administracja</a>
                </div>
                <img src="<?php echo base_url(); ?>images/breadcrumbSeparator.png" align="absmiddle" class="separatorBreadcrumb"  />
                <div class="contenerNodeBreadcrumb"><img class="breadcrumbIcon" align="absmiddle"  src='<?php echo base_url();?>images/asterisk_orange.png' /> <a href="<?php echo base_url(); ?>admin/news_glowny">Aktualności</a>
                <img class="pointerBreadcrumb" src='<?php echo base_url();?>images/pointer_breadcrumb.png' /> 
                </div>
                
                
     
                </div>
                
				<div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs" >
						<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
	
							<li class="ui-state-default ui-corner-top"><a href="#news">Aktualności</a></li>
							
						</ul>
						
						<div class="ui-tabs-panel ui-widget-content ui-corner-bottom" id="news">
							
							<form id="editNewsForm" method="post" action="<?php echo base_url(); ?>admin/editnewsglowny">
								<table border="0" cellpadding="0" cellspacing="0"  id="id-form">
									<tr>
										<th valign="top">Tytuł:</th>
										<td><table><tr id="input-title">
											<td><input type="text" class="inp-form" name="title" value="<?php echo $singlenews->news_title ?>" /></td>
											<td class="error-td">
										
											</td>
										</tr></table></td>
									</tr>
									<tr>
										<th valign="top">Data ważności:</th>
										<td><table><tr id="input-expiration_date">
											<td><input id="date-pick" type="text" class="inp-form" name="expiration_date" value="<?php 
											$exp_date = explode('-', $singlenews->news_expiration_date);
											echo $exp_date[2].'/'.$exp_date[1].'/'.$exp_date[0];
											?>"/></td>
											<td class="error-td">
										
											</td>
										</tr></table></td>
									</tr>
									<tr>
										<th valign="top">Treść skrócona:</th>
										<td><table><tr id="input-text_short">
											<td><!--<textarea name="text_short" class="inp-form ckeditorContener"><?php echo $singlenews->news_text_short ?></textarea>-->
											<?php echo $this->ckeditor->editor("text_short", $singlenews->news_text_short, 'class="inp-form ckeditorContener"'); ?>
											</td>
											<td class="error-td">
										
											</td>
										</tr></table></td>
									</tr>
									<tr>
										<th valign="top">Treść pełna:</th>
										<td><table><tr id="input-text">
											<td><!--<textarea name="text" class="inp-form ckeditorContener"><?php echo $singlenews->news_text ?></textarea>-->
											<?php echo $this->ckeditor->editor("text", $singlenews->news_text, 'class="inp-form ckeditorContener"'); ?>
											</td>
											<td class="error-td">
										
											</td>
										</tr></table></td>
									</tr>
									<tr>
									  <th valign="top">&nbsp;</th>
									 
									  <input type="hidden" name="news_id" value="<?php echo $this->uri->segment(3)?>" />
									  <td align="left">  <a  style="margin-left:10px;" class=" button buttonBlack submit" ><img src="<?php echo base_url(); ?>images/add.png" />Zapisz</a>
									  
									  </td>
									</tr>
								</table>
							</form>
							
						</div>
						
						
					
					
					
				</div>
				

				
			