<!-- 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/products");?>" 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/products/guncellemeformKaydet/$item->id");?>" method="post">

                                 <div class="form-group">
                                    <h4><strong>Ürün Kategorisi</strong> </h4>
                                    <select class="form-control" name="kategori" style="font-size: 13pt;">
                                        <option value="<?php echo $item->kategori;?>"><?php echo get_full_name("kategori",$item->kategori,"id","baslik_tr");?></option>
                                    <?php get_category();?>
                                </select>
                                 </div>

                                


                                <br />
                            
                                <div class="form-group">
                                    <h4><strong>Başlık</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>Yapılan İş</strong></h4>
                                    <textarea name="aciklama_tr"><?php echo $item->aciklama_tr;?></textarea>
                                    <script>
                                    CKEDITOR.replace('aciklama_tr');
                                    </script>
                                </div>
                                <br /><br />




                               <?php /* <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>Açıklama</strong></h4>
                                    <textarea name="aciklama_en"><?php echo $item->aciklama_en;?></textarea>
                                    <script>
                                    CKEDITOR.replace('aciklama_en');
                                    </script>
                                </div>
                                <br /><br />


                                <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>Açıklama</strong></h4>
                                    <textarea name="aciklama_ar"><?php echo $item->aciklama_ar;?></textarea>
                                    <script>
                                    CKEDITOR.replace('aciklama_ar');
                                    </script>
                                </div>
                                <br /><br />

                                <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 />







                                <?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 />*/?>



                                <div class="form-group">
                                    <h4><strong>Fiyat</strong> </h4>
                                    <input type="text" class="form-control" name="fiyat" value="<?php echo $item->fiyat;?>">
                                    <?php if (isset($form_hatasi)) {?>
                                        <small class="pull-right input-form-error"><?php echo form_error("fiyat");?></small>
                                    <?php }?>
                                </div>


                                 <div class="form-group">
                                    <h4><strong>Ağırlık</strong> </h4>
                                    <input type="text" class="form-control" name="agirlik" value="<?php echo $item->agirlik;?>">
                                    <?php if (isset($form_hatasi)) {?>
                                        <small class="pull-right input-form-error"><?php echo form_error("agirlik");?></small>
                                    <?php }?>
                                </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">Kaydet</button>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>

            </div>

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

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