Skip to content

Commit

Permalink
Index page
Browse files Browse the repository at this point in the history
  • Loading branch information
enderimen committed May 26, 2018
1 parent fcbffdc commit 3597873
Show file tree
Hide file tree
Showing 2 changed files with 88 additions and 60 deletions.
58 changes: 58 additions & 0 deletions admin/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<?php include '../config.php'; if ($_SESSION['session_control'] == true) {

include 'header.php'; include 'menuler.php';

/*Kullanıcı bilgilerini çekiyoruz*/
$users_info_sql = mysqli_query( $connection , "SELECT id , user_name, full_name, user_mail , joined_date FROM kullanicilar");


?>
<div id="page-wrapper">
<div id="page-inner">
<div class="row">
<div class="col-md-12">
<h1 class="page-head-line">Tüm Kullanıcılar</h1>
</div>
</div>
<hr />
<div class="row">
<div class="col-md-12">
<div class="table-responsive">
<table class="table">
<thead>
<tr>
<th>#</th>
<th>Kullanıcı Adı</th>
<th>Tam Adı</th>
<th>E-Posta</th>
<th>Katıldığı Tarih</th>
<th>Düzenle</th>
</tr>
</thead>
<tbody>
<?php while ($users_data = mysqli_fetch_array($users_info_sql)) { ?>
<tr>
<td><?=$users_data['id']?></td>
<td><?=$users_data['user_name']?></td>
<td><?=$users_data['full_name']?></td>
<td><?=$users_data['user_mail']?></td>
<td><?=$users_data['joined_date']?></td>
<td><a href="kullanici-detay.php?uid=<?=$users_data['id']?>" class="btn btn-sm btn-primary">Detayları Gör</a></td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
</div>
<!--/.Row-->
<hr />
</div>
<!-- /. PAGE INNER -->
</div>
<!-- /. PAGE WRAPPER -->
</div>
<!-- /. WRAPPER -->
<?php include 'footer.php'; } else {
header("refresh:0.02; url=login.php");
}?>
90 changes: 30 additions & 60 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
/*Menu*/
body{
font-family: Tahoma;
font-weight: bold;
}

header{
Expand All @@ -15,66 +14,10 @@ header{
background-color: #F89B33;
}

/*-------------*/

/* The Modal (background) */
.container .modal {
display: none;
position: fixed;
z-index: 1;
padding-top: 100px;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgb(0,0,0);
background-color: rgba(0,0,0,0.5);
}

.container .myBtn:hover {
text-decoration: underline;
cursor: pointer;
}

/* Modal Content */
.container .modal-content {
height: 340px;
width: 450px;
background-color: #fefefe;
margin: auto;
padding: 10px;
border: 1px solid #888;
}

.container .modal-content .modal-image-details,.modal-story-details {
height: 350px;
width: 225px;
margin-top: 5px;
float: left;
font-weight: normal;
}

.container .modal-content .modal-story-details form a{
text-decoration: none;
}

/* The Close Button */
.container .close {
color: #aaaaaa;
float: right;
font-size: 28px;
font-weight: bold;
}

.container .close:hover,
.container .close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
.input {
height: 40px;
width: 250px;
}
/*--------------*/


.story-cover { /*Story-Write.php kapak resmi*/
margin-top: 85px;
Expand Down Expand Up @@ -274,4 +217,31 @@ header{

.setting a{
color: #fff;
}

/*Yukarı çık buton*/
.up{
width: 40px;
height: 40px;
position:fixed;
right: 50px;
bottom: 50px;
display: none;
transition: all .2s ease-in-out;
animation: ani--easeout 1.3s infinite;
}

@keyframes ani--easeout {
0% {
transform: translateY(0);
animation-timing-function: ease-out;
}
50% {
transform: translateY(-15px);
animation-timing-function: ease-in;
}
100% {
transform: translateY(0);
animation-timing-function: ease-out;
}
}

0 comments on commit 3597873

Please sign in to comment.