/
source.php
105 lines (100 loc) · 2.17 KB
/
source.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="icon" type="img/ico" href="image/favicon.ico">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>PANDA PUSTAKA</title>
<meta name="description" content="Panda Pustaka, di bangun dan di rancang menggunakan aplikasi Microsoft Visual Basic 6.0 dan database MySQL menggunakan connector ODBC ( Open Data Base Conectivity ). Seluruh pengalihan hak cipta berupa source code, penggandaan dan penyalahgunaan program akan di kenakan hukuman yang sesuai dengan hukum yang berlaku." />
<meta name="keywords" content="Download Panda Pustaka" />
<meta name="keywords" content="Aplikasi Perpustakaan Gratis" />
<meta name="keywords" content="Free Library Application" />
</head>
<body>
<center>
<table width="80%" height="100%" cellpading="0" cellspacing="0" border="0" bordercolor="white">
<tr>
<td>
<?php
require("header.php");
?>
</td>
</tr>
<tr>
<td>
<hr color="white">
</td>
</tr>
<tr>
<td>
<font color="white" face="tahoma">
<center>
<div style="text-align:center">
<table width="100%" height="50%" cellpading="0" cellspacing="0" border="0" bordercolor="white">
<tr>
<td width="20%"></td>
<td width="50%">
<table class="scrollbar" width="100%" height="100%" cellpading="0" cellspacing="0" border="1" bordercolor="white">
<thead>
<tr>
<th width="30%">
Release Date
</th>
<th width="30%">
Size
</th>
<th width="20%">
Download
</th>
<th width="20%">
Hit
</th>
</tr>
</thead>
<tbody>
<?php
require("connection.php");
$qry = "SELECT * FROM tb_source_code ORDER BY source_release_date DESC";
$sql = mysql_query($qry);
while(list($id, $date, $size, $link, $hit) = mysql_fetch_row($sql)) {
echo"
<tr>
<td width=31%>
$date
</td>
<td width=30.5%>
$size
</td>
<td width=20.5%>
<a href=source_download.php?id=$id target=_blank>Download</a>
</td>
<td width=17.5%>
$hit
</td>
</tr>
";
}
mysql_close ();
?>
</tbody>
</table>
</td>
<td width="20%"></td>
</tr>
</table>
</div>
</center>
</font>
<hr color="white">
</td>
<tr>
<td>
<font color="white">
<?php
require("footer.php");
?>
</font>
</td>
</tr>
</body>
</center>
</html>