<!-- Left Sidebar Start -->
<?php
$user = get_active_user();
$ayar = get_settings();
?>
<div class="left side-menu">
    <div class="sidebar-inner slimscrollleft">
        <!-- Search form -->
        <form role="search" class="navbar-form">
            <div class="form-group">
                <input type="text" placeholder="Arama" class="form-control">
                <button type="submit" class="btn search-button"><i class="fa fa-search"></i></button>
            </div>
        </form>
        <div class="clearfix"></div>
        <!--- Profile -->
        <div class="profile-info">
            <div class="col-xs-12">
                <a href="<?php echo base_url("")?>" class="rounded-image profile-image"><img src="<?php echo base_url("uploads");?>/ayarlar_v/<?php echo $ayar->logo;?>" alt="<?php echo turkceYap($ayar->company_name);?>" title="<?php echo $ayar->company_name;?>"></a>
            </div>
            <div class="col-xs-12">
                <div class="profile-text"><b><?php echo $user->adsoyad;?></b></div>
                <div class="profile-buttons">
                    <a href="<?php echo base_url("backend/kullanicilar/guncellemeFormu/$user->id");?>" class="open-right"><i class="fa fa-cog"></i></a>
                    <a href="<?php echo base_url("backend/logout");?>" title="Sign Out"><i class="fa fa-power-off text-red-1"></i></a>
                </div>
            </div>
        </div>
        <!--- Divider -->
        <div class="clearfix"></div>
        <hr class="divider" />

        <!--- Divider -->
        <div id="sidebar-menu">
            <ul>
                <li><a href="<?php echo base_url("panel/dashboard")?>"><i class='icon-home-3'></i><span>Ana Sayfa</span> </a></li>
                <li><a href="<?php echo base_url("backend/ayarlar");?>"><i class='icon-cog-3'></i><span>Site Ayarları</span> <span class="pull-right"></span></a></li>
                <li><a href='<?php echo base_url("backend/emailsettings")?>'><i class='icon-mail-3'></i><span>E-Mail Ayarları</span> <span class="pull-right"></span></a></li>
                <li><a href="<?php echo base_url("backend/products");?>"><i class='icon-water'></i><span>Ürünler</span> <span class="pull-right"></span></a></li>
                <li><a href="<?php echo base_url("backend/markalar");?>"><i class='icon-water'></i><span>Müşteriler</span> <span class="pull-right"></span></a></li>
                <li><a href="<?php echo base_url("backend/kategoriler")?>"><i class='icon-flow-cascade'></i><span>Kategoriler</span> <span class="pull-right"></span></a></li>

                <li><a href="http://www.kalitefix.com/golden/panel/galeri/videoList/9"><i class='icon-flow-cascade'></i><span>Video</span> <span class="pull-right"></span></a></li>
                
                <li class='has_sub'><a href='javascript:void(0);'><i class='icon-feather'></i><span>Ekstra Sayfalar</span> <span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
                    <ul>
                        <li><a href='<?php echo base_url("backend/ekstrasayfalar")?>'><span>Sayfalar</span></a></li>
                        <li><a href='<?php echo base_url("backend/icerikturleri")?>'><span>İçerik Türleri</span></a></li>
                    </ul>
                </li>
                <li><a href="<?php echo base_url("backend/subeler");?>"><i class='icon-cog-3'></i><span>Şubeler</span> <span class="pull-right"></span></a></li>
                
                <li><a href="<?php echo base_url("backend/kullanicilar")?>"><i class='icon-user-3'></i><span>Panel Kullanıcıları</span> <span class="pull-right"></span></a></li>
                
                
            </ul>
            <div class="clearfix"></div>
        </div>
    </div>
</div>
<!-- Left Sidebar End -->

<?php /*
                <li class='has_sub'><a href='javascript:void(0);'><i class='icon-pencil-3'></i><span>Forms</span> <span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
                    <ul>
                        <li><a href='forms.html'><span>Form Elements</span></a></li>
                        <li><a href='advanced-forms.html'><span>Advanced Forms</span></a></li>
                        <li><a href='form-wizard.html'><span>Form Wizard</span></a></li>
                        <li><a href='form-validation.html'><span>Form Validation</span></a></li>
                        <li><a href='form-uploads.html'><span>File Uploads</span></a></li>
                    </ul>
                </li>
                <li class='has_sub'><a href='javascript:void(0);'><i class='fa fa-table'></i><span>Tables</span> <span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
                    <ul>
                        <li><a href='tables.html'><span>Basic Tables</span></a></li>
                        <li><a href='datatables.html'><span>Datatables</span></a></li>
                    </ul>
                </li>
                <li class='has_sub'><a href='javascript:void(0);'><i class='fa fa-map-marker'></i><span>Maps</span> <span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
                    <ul>
                        <li><a href='google-maps.html'><span>Google Maps</span></a></li>
                        <li><a href='vector-maps.html'><span>Vector Maps</span></a></li>
                    </ul>
                </li>
                <li class='has_sub'><a href='javascript:void(0);'><i class='fa fa-envelope'></i><span>Email</span> <span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
                    <ul>
                        <li><a href='inbox.html'><span>Inbox</span></a></li>
                        <li><a href='read-message.html'><span>View Email</span></a></li>
                        <li><a href='new-message.html'><span>New Message</span></a></li>
                    </ul>
                </li>
                <li class='has_sub'><a href='javascript:void(0);'><i class='icon-chart-line'></i><span>Charts</span> <span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
                    <ul>
                        <li><a href='sparkline-charts.html'><span>Sparkline Charts</span></a></li>
                        <li><a href='morris-charts.html'><span>Morris Charts</span></a></li>
                        <li><a href='rickshaw-charts.html'><span>Rickshaw Charts</span></a></li>
                        <li><a href='other-charts.html'><span>Other Charts</span></a></li>
                    </ul>
                </li>
                <li><a href='javascript:void(0);'><i class='icon-megaphone'></i><span>Extras</span> <span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
                    <ul>
                        <li><a href='blank.html' class='active'><span>Blank Page</span></a></li>
                        <li><a href='login.html'><span>Login</span></a></li>
                        <li><a href='register.html'><span>Register</span></a></li>
                        <li><a href='lockscreen.html'><span>Lock Screen</span></a></li>
                        <li><a href='404.html'><span>404 Error</span></a></li>
                        <li><a href='500.html'><span>500 Error</span></a></li>
                        <li><a href='profile.html'><span>User Profile</span></a></li>
                        <li><a href='invoice.html'><span>Invoice</span></a></li>
                        <li><a href='gallery.html'><span>Gallery</span></a></li>
                        <li><a href='maintenance.html'><span>Maintenance</span></a></li>
                        <li class='has_sub'><a href='javascript:void(0);'><span>3 Level menu</span> <span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
                            <ul>
                                <li><a href='javascript:void(0);'><span>Sub Item</span></a></li>
                            </ul>
                        </li>
                        <li class='has_sub'><a href='javascript:void(0);'><span>4 Level Menu</span> <span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
                            <ul>
                                <li class='has_sub'><a href='javascript:void(0);'><span>Sub Item - level 3</span> <span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
                                    <ul>
                                        <li><a href='javascript:void(0);'><span>Sub Item - level 4</span></a></li></ul></li>
                            </ul>
                        </li>
                        <li class='has_sub'><a href='javascript:void(0);'><span>Submenu with icons</span> <span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
                            <ul>
                                <li><a href='javascript:void(0);'><i class='fa fa-camera'></i><span>Item with icon</span></a></li>
                                <li><a href='javascript:void(0);'><i class='entypo entypo-users'></i><span>Another Item</span></a></li>
                            </ul>
                        </li>
                    </ul>
                </li>*/ ?>