<!-- 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_tr;?> Kaydını </strong> güncelliyorsunuz...</h2>
                                </div>
                                <div class="col-md-8">
                                    <div class="toolbar-btn-action">
                                        <a href="<?php echo base_url("backend/kategoriler");?>" class="btn btn-red-1"><i class="fa fa-list"></i> <?php echo $viewTitle;?> Liste</a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!-- include summernote css/js -->
                    <script src="https://cdn.ckeditor.com/4.7.3/standard/ckeditor.js"></script>
                    
                    <div class="widget-content padding">
                        <div id="basic-form">

                            <form role="form" action="<?php echo base_url("backend/kategoriler/guncellemeformKaydet/$item->id");?>" method="post">

                                <h4><strong>Üst Kategori</strong> </h4>
                                <select class="form-control" name="kategori" style="font-size: 13pt;">
                                    <?php
                                    if ($item->ustid == 0) 
                                    {
                                    ?>
                                        <option value="">.... Üst Kategori Seçiniz ...</option>
                                    <?php 
                                    }
                                    if ($item->ustid <> 0) {
                                    ?>
                                        <option value="<?php echo $item->ustid;?>"><?php echo get_full_name("backend/kategori",$item->ustid,"id","baslik_tr");?></option>
                                    <?php
                                    }
                                    ?>

                                    <?php get_category();?>
                                </select>

                               <div class="form-group">
                                    <h4><strong>Başlık - TR</strong> </h4>
                                    <input type="text" class="form-control" name="title_tr" value="<?php echo $item->baslik_tr;?>">
                                    <?php if (isset($form_hatasi)) {?>
                                        <small class="pull-right input-form-error"><?php echo form_error("title_tr");?></small>
                                    <?php }?>
                                </div>                                

                                <div class="form-group">
                                    <h4><strong>Başlık - EN</strong> </h4>
                                    <input type="text" class="form-control" name="title_en" value="<?php echo $item->baslik_en;?>">
                                    <?php if (isset($form_hatasi)) {?>
                                        <small class="pull-right input-form-error"><?php echo form_error("title_en");?></small>
                                    <?php }?>
                                </div>                                
                                
								<div class="form-group">
                                    <h4><strong>Başlık - AR</strong> </h4>
                                    <input type="text" class="form-control" name="title_ar" value="<?php echo $item->baslik_ar;?>">
                                    <?php if (isset($form_hatasi)) {?>
                                        <small class="pull-right input-form-error"><?php echo form_error("title_ar");?></small>
                                    <?php }?>
                                </div>                                
								
                                <div class="form-group">
                                    <h4><strong>Başlık - FR</strong> </h4>
                                    <input type="text" class="form-control" name="title_fr" value="<?php echo $item->baslik_fr;?>">
                                    <?php if (isset($form_hatasi)) {?>
                                        <small class="pull-right input-form-error"><?php echo form_error("title_fr");?></small>
                                    <?php }?>
                                </div>                                

                                <div class="form-group">
                                    <h4><strong>Başlık - RU</strong> </h4>
                                    <input type="text" class="form-control" name="title_ru" value="<?php echo $item->baslik_ru;?>">
                                    <?php if (isset($form_hatasi)) {?>
                                        <small class="pull-right input-form-error"><?php echo form_error("title_ru");?></small>
                                    <?php }?>
                                </div>                                



                                <?php /*
                                <div class="form-group">
                                    <h4><strong>Başlık - RU</strong> </h4>
                                    <input type="text" class="form-control" name="title_ru" value="<?php echo $item->baslik_ru;?>">
                                    <?php if (isset($form_hatasi)) {?>
                                        <small class="pull-right input-form-error"><?php echo form_error("title_ru");?></small>
                                    <?php }?>
                                </div>                                
                                <div class="form-group">
                                    <h4><strong>Açıklama</strong></h4>
                                    <textarea name="aciklama_ru"><?php echo $item->aciklama_ru;?></textarea>
                                    <script>
                                    CKEDITOR.replace('aciklama_ru');
                                    </script>
                                </div>
                                <br /><br />










                                <div class="form-group">
                                    <h4><strong>Başlık - FR</strong> </h4>
                                    <input type="text" class="form-control" name="title_fr" value="<?php echo $item->baslik_fr;?>">
                                    <?php if (isset($form_hatasi)) {?>
                                        <small class="pull-right input-form-error"><?php echo form_error("title_fr");?></small>
                                    <?php }?>
                                </div>                                
                                <div class="form-group">
                                    <h4><strong>Açıklama</strong></h4>
                                    <textarea name="aciklama_fr"><?php echo $item->aciklama_fr;?></textarea>
                                    <script>
                                    CKEDITOR.replace('aciklama_fr');
                                    </script>
                                </div>
                                <br /><br />





                                <div class="form-group">
                                    <h4><strong>Başlık - DL</strong> </h4>
                                    <input type="text" class="form-control" name="title_dl" value="<?php echo $item->baslik_dl;?>">
                                    <?php if (isset($form_hatasi)) {?>
                                        <small class="pull-right input-form-error"><?php echo form_error("title_dl");?></small>
                                    <?php }?>
                                </div>                                
                                <div class="form-group">
                                    <h4><strong>Açıklama</strong></h4>
                                    <textarea name="aciklama_dl"><?php echo $item->aciklama_dl;?></textarea>
                                    <script>
                                    CKEDITOR.replace('aciklama_dl');
                                    </script>
                                </div>
                                <br /><br />




                                <div class="form-group">
                                    <h4><strong>Başlık - ES</strong> </h4>
                                    <input type="text" class="form-control" name="title_es" value="<?php echo $item->baslik_es;?>">
                                    <?php if (isset($form_hatasi)) {?>
                                        <small class="pull-right input-form-error"><?php echo form_error("title_es");?></small>
                                    <?php }?>
                                </div>                                
                                <div class="form-group">
                                    <h4><strong>Açıklama</strong></h4>
                                    <textarea name="aciklama_es"><?php echo $item->aciklama_es;?></textarea>
                                    <script>
                                    CKEDITOR.replace('aciklama_es');
                                    </script>
                                </div>
                                <br /><br />*/?>
                                <br />

                                <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">Kaydet</button>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>

            </div>

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

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