<!-- Start right content -->
<div class="content-page">
    <!-- ============================================================== -->
    <!-- Start Content here -->
    <!-- ============================================================== -->
    <div class="content">
        <!-- Page Heading Start -->
        <?php /*<div class="page-heading">
            <h1><i class='fa fa-file'></i> <?php echo $viewTitle;?></h1>
            <h3><?php echo $viewTitle;?></h3>
        </div>*/?>
        <!-- Page Heading End-->

        <div class="row">

            <div class="col-sm-12 portlets">



                <div class="widget">
                    <div class="widget-header transparent">
                        <div class="data-table-toolbar">
                            <div class="row">
                                <div class="col-md-4">
                                    <h2><strong> <?php echo $item->baslik;?> Kaydını </strong> güncelliyorsunuz...</h2>
                                </div>
                                <div class="col-md-8">
                                    <div class="toolbar-btn-action">
                                        <a href="<?php echo base_url("kurumsal");?>" class="btn btn-red-1"><i class="fa fa-list"></i> Kurumsal Liste</a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="widget-content padding">

                        <div id="basic-form">

                            <form role="form" action="<?php echo base_url("kurumsal/guncellemeformKaydet/$item->id");?>" method="post">
                                <div class="form-group">
                                    <h4><strong>Başlık</strong> </h4>
                                    <input type="text" class="form-control" placeholder="Başlık" name="titlee" value="<?php echo $item->baslik;?>">
                                    <?php if (isset($form_hatasi)) {?>
                                        <small class="pull-right input-form-error"><?php echo form_error("titlee");?></small>
                                    <?php }?>
                                </div>

                                <div class="widget">
                                    <div class="widget-header">
                                        <h4>Açıklama</h4>
                                        <div class="additional-btn">
                                            <a href="#" class="hidden reload"><i class="icon-ccw-1"></i></a>
                                            <a href="#" class="widget-toggle"><i class="icon-down-open-2"></i></a>
                                            <a href="#" class="widget-close"><i class="icon-cancel-3"></i></a>
                                        </div>
                                    </div>
                                    <div class="widget-content">
                                        <textarea id="ckeditor" name="aciklama"><?php echo $item->aciklama;?></textarea>
                                    </div>
                                </div>


                                <div class="form-group">
                                    <h4><strong>Video (Varsa)</strong> </h4>
                                    <input type="text" class="form-control" placeholder="Video Adresi" name="video">
                                </div>

                                <div class="form-group">
                                    <h4><strong>Farklı Adres</strong> </h4>
                                    <input type="text" class="form-control" placeholder="Farklı Bir sayfaya yönlendirme yapmak istiyorsanız buraya adresi yapıştırın" name="farkliadres">
                                </div>

                                <br />

                                <div><hr /><h4><strong style="color:darkblue;">Seo Bilgileri</strong> </h4><hr /></div>

                                <div class="form-group">
                                    <h4><strong>Title</strong> </h4>
                                    <input type="text" class="form-control" placeholder="Başlık" name="pagetitle" value="<?php echo $item->pagetitle;?>">
                                </div>
                                <div class="form-group">
                                    <label><h4><strong>Meta Description</strong> </h4></label>
                                    <textarea class="form-control" name="metadesc" style="height: 140px; resize: none;" placeholder="Meta Description Açıklamaları"><?php echo $item->metadesc;?></textarea>
                                </div>
                                <div class="form-group">
                                    <label><h4><strong>Meta Keywords</strong> </h4></label>
                                    <textarea class="form-control" name="metakey" style="height: 140px; resize: none;" placeholder="Meta Keywords Kelimeler"><?php echo $item->metakey;?></textarea>
                                </div>

                                <div class="form-group">
                                    <button type="submit" class="btn btn-success">Değişiklikleri Kaydet</button>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>

            </div>

        </div>
        <?php $this->load->view("includes/footer");?>
    </div>
    <!-- ============================================================== -->
    <!-- End content here -->
    <!-- ============================================================== -->

</div>
<!-- End right content -->