<div class="bread semibold">
        <a href="/">
                <i class="fa fa-arrow-circle-right"></i>
                OIL
        </a>    
        <a href="<?php echo $this->url(['id' => $this->conference->conferencegroup_id, 'slug' => Eppe_Slugify::slugify($this->conference->groupname)], 'conference-gorup') ?>">
                <i class="fa fa-arrow-circle-right"></i>
                Konferencje, kursy, szkolenia 
        </a>
        <i class="fa fa-arrow-circle-right"></i>
	<?php echo mb_ucfirst($this->conference->title) ?>

</div>
<div class="static-content">
	<?php $locale = new Zend_Locale('pl_PL'); ?>
	<?php $date = new Zend_Date(strtotime($this->conference->dtpublished), false, $locale); ?>
	<h1><?php echo $this->conference->title ?></h1>
	<div class="date">
		dodano <span class="info-color-dark"><?php echo $date->toString('d MMMM YYYY') ?></span>
		w kategorii <span class="info-color-dark"><?php echo $this->conference->groupname ?></span>            
	</div>
	<?php if ($this->image): ?>
		<img src="<?php echo $this->image ?>" class="img-left" />
	<?php endif; ?>
	<?php echo $this->conference->body ?>
	<div class="clear"></div>
	<?php if($this->form ): ?>
		<h2><?= $this->form->name ?></h2>
		<?php if($this->form->description): ?>
			<?= $this->form->description ?>
		<?php endif; ?>
		<div id="formCustomMsgHolder"></div>
		<form class="custom-form" id="custom-form">
			<input type="hidden" value="<?= $this->form->id ?>" name="id">
			<?php foreach($this->fields as $filed): ?>
				<?php switch ($filed["inputname"]) {
					case 'fake': ?>
						<div class="label-input-required">
							<label><?= $filed["label"] ?>:</label>
							<input type="text" name="<?= $filed["id"] ?>;<?= $filed["required"] ?>;0" id="<?= $filed["fieldid"] ?>" value="" class="required">
						</div>
						<?php break;
					case 'text': ?>
						<div class="label-input">
							<label><?= $filed["label"] ?>:</label>
							<input type="text" name="<?= $filed["id"] ?>;<?= $filed["required"] ?>;0" id="<?= $filed["fieldid"] ?>" value="" class="">
						</div>
						<?php break;
					case 'textarea': ?>
						<div class="label-input">
							<label class="textarea-label"><?= $filed["label"] ?>:</label>
							<textarea name="<?= $filed["id"] ?>;<?= $filed["required"] ?>;0" id="<?= $filed["fieldid"] ?>" rows="24" cols="80" class=""></textarea>
						</div>
			
						<?php break;
					case 'checkbox': ?>
						<div class="label-input" style="margin-bottom: 20px">
							<input type="checkbox" name="<?= $filed["id"] ?>;<?= $filed["required"] ?>;1" id="<?= $filed["fieldid"] ?>" value="" class="checkbox-element <?= ($filed["required"])? 'req' : ''; ?>">
							<label style="width: 585px;"><?= $filed["label"] ?></label>
							<div class="val">Pole jest wymagane</div>
						</div>
						<?php break;
					case 'submit': ?>
						<div class="button semibold" id="submit-form">
							<?= $filed["label"]?>
						</div>
						<div class="clear"></div>
						<?php break;
					case 'file': ?>
						<div class="label-input">
							<label><?= $filed["label"] ?>:</label>
							<input type="file" name="<?= $filed["id"] ?>;<?= $filed["required"] ?>;0" id="FileInput" value="" class="<?= ($filed["required"])? 'req' : ''; ?>">
						</div>
						<div class="clear"></div>
						<?php break;
					}?>
			<?php endforeach; ?>
			
		</form>
	<?php endif; ?>
        <a href="<?php echo $this->url(['id' => $this->conference->conferencegroup_id, 'slug' => Eppe_Slugify::slugify($this->conference->groupname)], 'conference-gorup') ?>" class="ogl-back">‹ wróć do listy wszystkich ogłoszeń w tej kategorii</a>

</div>