Sindbad~EG File Manager

Current Path : /home/beghelic/www/admin/pages/
Upload File :
Current File : /home/beghelic/www/admin/pages/ayarlar.php

<?php
include "../kod/baglan.php";
session_start();
if(@$_SESSION["oturum"] == 1){
?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <title>Yönetim Paneli</title>
    <!-- Favicon-->
    <link rel="icon" href="" type="image/x-icon">

    <!-- Google Fonts -->
    <link href="https://fonts.googleapis.com/css?family=Roboto:400,700&subset=latin,cyrillic-ext" rel="stylesheet" type="text/css">
    <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" type="text/css">

    <!-- Bootstrap Core Css -->
    <link href="../plugins/bootstrap/css/bootstrap.css" rel="stylesheet">

    <!-- Waves Effect Css -->
    <link href="../plugins/node-waves/waves.css" rel="stylesheet" />

    <!-- Animation Css -->
    <link href="../plugins/animate-css/animate.css" rel="stylesheet" />

    <!-- Sweet Alert Css -->
    <link href="../plugins/sweetalert/sweetalert.css" rel="stylesheet" />

    <!-- Custom Css -->
    <link href="../css/style.css" rel="stylesheet">

    <!-- AdminBSB Themes. You can choose a theme from css/themes instead of get all themes -->
    <link href="../css/themes/all-themes.css" rel="stylesheet" />

    <script type="text/javascript" src="../editor/ckeditor/ckeditor.js"></script>
<script type="text/javascript" src="../editor/ckfinder/ckfinder.js"></script>
</head>

<body class="theme-red">

    <!-- Overlay For Sidebars -->
    <div class="overlay"></div>
    <!-- #END# Overlay For Sidebars -->

    <!-- Top Bar -->
    <nav class="navbar">
        <div class="container-fluid">
            <div class="navbar-header">
                <a href="javascript:void(0);" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse" aria-expanded="false"></a>
                <a href="javascript:void(0);" class="bars"></a>
                <a class="navbar-brand" href="javascript:void(0);">YÖNETİM PANELİ</a>
            </div>
            <div class="collapse navbar-collapse" id="navbar-collapse">
                <ul class="nav navbar-nav navbar-right">

                    <!-- #END# Tasks -->
                    <li class="pull-right"><a href="javascript:void(0);" class="js-right-sidebar" data-close="true"><i class="material-icons">more_vert</i></a></li>
                </ul>
            </div>
        </div>
    </nav>
    <!-- #Top Bar -->
    <section>
        <!-- Left Sidebar -->
        <aside id="leftsidebar" class="sidebar">
            <!-- User Info -->

            <!-- #User Info -->
            <!-- Menu -->
            <div class="menu">
                <ul class="list">
                    <li class="header">MENÜ</li>
                    <?php include "menu.php"; ?>
                </ul>
            </div>
            <!-- #Menu -->
            <!-- Footer -->
            <div class="legal">
                <div class="version">
                    <b>Version: </b> 1.0.0
                </div>
            </div>
            <!-- #Footer -->
        </aside>
        <!-- #END# Left Sidebar -->
        <!-- Right Sidebar -->

        <!-- #END# Right Sidebar -->
    </section>

    <section class="content">
        <div class="container-fluid">
            <div class="block-header">
                <h2>SAYFA YÖNETİMİ</h2>
            </div>

            <!-- Vertical Layout -->
            <div class="row clearfix">
                <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                    <div class="card">
                        <div class="header">
                          <h2>
                            <a href="ayarlar.php?s=1" class="btn btn-default waves-effect">TÜRKÇE</a>
                            <a href="ayarlar.php?s=2" class="btn btn-default waves-effect">İNGİLİZCE</a>
                            <a href="ayarlar.php?s=3" class="btn btn-default waves-effect">ALMANCA</a>
                          </h2>
                        </div>
                        <div class="body">
                          <?php
                          $id = $_GET["s"];
                          $anasayfa = $db->query('SELECT * FROM ayarlar where id = "'.$id.'"');
                          $ucek = $anasayfa->fetch(PDO::FETCH_OBJ);
                          ?>
                          <form action="../kod/ayarlarguncelle.php?s=<?php echo $id; ?>" method="post">
                              <label for="email_address">Telefon</label>
                              <div class="form-group">
                                  <div class="form-line">
                                      <input type="text" name="telefon" class="form-control" value="<?php echo $ucek->telefon ?>">
                                  </div>
                              </div>
                              <label for="password">Eposta</label>
                              <div class="form-group">
                                  <div class="form-line">
                                      <input type="text" name="eposta" class="form-control" value="<?php echo $ucek->eposta ?>">
                                  </div>
                              </div>
                              <label for="email_address">Adres</label>
                              <div class="form-group">
                                  <div class="form-line">
                                      <input type="text" name="adres" class="form-control" value="<?php echo $ucek->adres ?>">
                                  </div>
                              </div>
                              <label for="password">Facebook</label>
                              <div class="form-group">
                                  <div class="form-line">
                                      <input type="text" name="facebook" class="form-control" value="<?php echo $ucek->facebook ?>">
                                  </div>
                              </div>

                              <label for="password">İnstagram</label>
                              <div class="form-group">
                                  <div class="form-line">
                                      <input type="text" name="instagram" class="form-control" value="<?php echo $ucek->instagram ?>">
                                  </div>
                              </div>
                              <label for="password" style="display:none;">Twitter</label>
                              <div class="form-group" style="display:none;">
                                  <div class="form-line">
                                      <input type="text" name="twitter" class="form-control" value="<?php echo $ucek->twitter ?>">
                                  </div>
                              </div>
                              <label for="password">Youtube</label>
                              <div class="form-group">
                                  <div class="form-line">
                                      <input type="text" name="youtube" class="form-control" value="<?php echo $ucek->youtube ?>">
                                  </div>
                              </div>
                              <label for="password">Linkedin</label>
                              <div class="form-group">
                                  <div class="form-line">
                                      <input type="text" name="linkedin" class="form-control" value="<?php echo $ucek->linkedin ?>">
                                  </div>
                              </div>
                              <label for="password">Whatsapp Numara</label>
                              <div class="form-group">
                                  <div class="form-line">
                                      <input type="text" name="whatsapp" class="form-control" value="<?php echo $ucek->whatsapp ?>">
                                  </div>
                              </div>
                              <label for="password">Yazı</label>
                              <div class="form-group">
                                  <div class="form-line">
                                      <input type="text" name="text" class="form-control" value="<?php echo $ucek->text ?>">
                                  </div>
                              </div>
                              <label for="password">Copyright</label>
                              <div class="form-group">
                                  <div class="form-line">
                                      <input type="text" name="copyright" class="form-control" value="<?php echo $ucek->copyright ?>">
                                  </div>
                              </div>

                              <button type="submit" class="btn btn-primary m-t-15 waves-effect">Güncelle</button>
                          </form>
                        </div>
                    </div>
                </div>
            </div>
            <!-- #END# Vertical Layout -->



        </div>
    </section>

    <!-- Jquery Core Js -->
    <script src="../plugins/jquery/jquery.min.js"></script>

    <!-- Bootstrap Core Js -->
    <script src="../plugins/bootstrap/js/bootstrap.js"></script>

    <!-- Select Plugin Js -->
    <script src="../plugins/bootstrap-select/js/bootstrap-select.js"></script>

    <!-- Slimscroll Plugin Js -->
    <script src="../plugins/jquery-slimscroll/jquery.slimscroll.js"></script>

    <!-- Waves Effect Plugin Js -->
    <script src="../plugins/node-waves/waves.js"></script>

    <!-- Custom Js -->
    <script src="../js/admin.js"></script>

    <!-- Demo Js -->
    <script src="../js/demo.js"></script>
    <script language="javascript" type="text/javascript">
	var editor = CKEDITOR.replace( 'icerik' );
	CKFinder.setupCKEditor( editor, '../editor/ckfinder/' ) ;
	</script>
</body>
 <?php }else{ header('Location: ../index.php'); } ?>
</html>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists