[eluser]solid9[/eluser]
this is not tested but try this view codes below,
Code:
<?PHP
if( $this->mesaj->error_view() ): echo $this->mesaj->error_view(); else: echo $this->mesaj->success_view(); endif;
echo form_open('sayfalar/kaydet', array ('class' => 'form has-validation'));
?>
<label class="form-label">Sayfa Adi <em>*</em></label>
<div class="form-input">
<input type="text" name="adi" required="required" minlength="2" maxlength="255" value="<?PHP echo set_value('adi',''); ?>" />
</div>
<label class="form-label">Üst<small>Bos ise gövdede yer alir</small></label>
<div class="form-input"><?PHP echo form_dropdown('ust', $sayfalar, echo set_value('ust',''); ?>, 'type="number"'); ?></div>
<label class="form-label">Fonksiyon<small>Kodlama ile olusturulan içerik</small></label>
<div class="form-input"><?PHP echo form_dropdown('fonksiyon', $fonksiyon, echo set_value('fonksiyon','')); ?></div>
<label class="form-label">Içerik</label>
<div class="form-input form-textarea">
<textarea name="icerik" id="ajaxfilemanager" rows="20"><?PHP echo set_value('icerik',''); ?></textarea>
</div>
<label class="form-label">Bloklar<small>Sitenin sag ve solunda yer alir</small></label>
<div class="form-input clearfix">
<?PHP foreach($bloklar as $id => $adi): ?>
<div>
<input type="checkbox" name="bloklar[]" value="<?PHP echo $id; ?>" <?PHP echo set_radio('bloklar[]', $id); ?> /><?PHP echo $adi; ?>
</div>
<?PHP endforeach; ?>
</div>
<label class="form-label">Sayfanin Durumu</label>
<div class="form-input">
<label><input type="radio" name="mdurum" value="ustmenu" <?PHP echo set_radio('mdurum', 'ustmenu', TRUE); ?>/> Üst Menüde Göster</label>
<label><input type="radio" name="mdurum" value="altmenu" <?PHP echo set_radio('mdurum', 'altmenu'); ?>/> Alt Menüde Göster</label>
<label><input type="radio" name="mdurum" value="gosterme" <?PHP echo set_radio('mdurum', 'gosterme'); ?>/> Menüde Gösterme</label>
</div>
<?PHP echo form_close(); ?>