forked from ZquaRe/SarkiSozuScripti
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathensonkayitlar.php
91 lines (77 loc) · 2.69 KB
/
ensonkayitlar.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<?php require_once('Sistem/fonksiyon.php'); ?>
<!-- ETIKET -->
<title><?php echo $siteadi; ?></title>
<meta name="application-name" content="<?php echo $siteadi; ?>" />
<meta name="author" content="<?php echo $siteadi; ?>" />
<meta name="robots" content="All" />
<meta name="description" content="<?php echo $siteaciklama; ?>" />
<meta name="keywords" content="<?php echo $siteetiket; ?>" />
<meta name="rating" content="General" />
<meta name="dcterms.title" content="<?php echo $siteadi; ?>" />
<meta name="dcterms.contributor" content="<?php echo $siteadi; ?>" />
<meta name="dcterms.creator" content="<?php echo $siteadi; ?>" />
<meta name="dcterms.publisher" content="<?php echo $siteadi; ?>" />
<meta name="dcterms.description" content="<?php echo $siteaciklama; ?>" />
<meta name="dcterms.rights" content="<?php echo $siteadi; ?>" />
<meta property="og:type" content="website" />
<meta property="og:title" content="<?php echo $siteadi; ?>" />
<meta property="og:description" content="<?php echo $siteaciklama; ?>" />
<meta property="twitter:title" content="<?php echo $siteadi; ?>" />
<meta property="twitter:description" content="<?php echo $siteaciklama; ?>" />
<!-- ETIKET BITIŞ -->
<br>
<div class="container">
<div class="row">
<div class="col-md-6" style="display: block;">
<h4 class="text-center">
En eklenen 10 şarkı sözü
</h4>
<ul class="list-group">
<?php
$sonuc = mysql_query("SELECT * from ".$onek."sarki ORDER BY sarki_id DESC limit 10");
if(mysql_num_rows($sonuc)!=0)
{
while($oku = mysql_fetch_assoc($sonuc))
{
?>
<a href="index.php?sarki=<?php echo $oku['sarki_id']; ?>">
<li class="list-group-item">
<?php echo $oku['sarki_sarkici']; ?> - <?php echo $oku['sarki_adi']; ?>
</li>
</a>
<br>
<?php
}
}
?>
</ul>
</div>
<div class="col-md-6" style="display: block;">
<h4 class="text-center">
En çok görüntülenen 10 şarkı sözü
</h4>
<ul class="list-group">
<?php
$sonuc = mysql_query("SELECT * from ".$onek."sarki ORDER BY sarki_goruntulenme DESC limit 10");
if(mysql_num_rows($sonuc)!=0)
{
while($oku = mysql_fetch_assoc($sonuc))
{
if($oku['sarki_goruntulenme'] == 0)
{
break;
}
?>
<a href="index.php?sarki=<?php echo $oku['sarki_id']; ?>">
<li class="list-group-item">
<span class="badge"><?php echo $oku['sarki_goruntulenme']; ?></span>
<?php echo $oku['sarki_sarkici']; ?> - <?php echo $oku['sarki_adi']; ?>
</li>
</a>
<br>
<?php
}
}
?>
</div>
</div>