-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbook.php
More file actions
90 lines (84 loc) · 2.13 KB
/
Copy pathbook.php
File metadata and controls
90 lines (84 loc) · 2.13 KB
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
<?php
include "core.php";
include_once "user/core.inc.php";
$ids=@$_GET['ref'];
$ids=htmlentities($ids);
if (loggedin()!=1)
{
header('location: index');
}
else
{
if ((isset($ids)) && !empty($ids))
{
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--page for individual unverified books basic page-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<meta name="keywords" content="PDFs Books" />
<meta name="description" content="Free Pdfs to download" />
<link href="http://fonts.googleapis.com/css?family=Varela" rel="stylesheet" />
<link href="default.css" rel="stylesheet" type="text/css" media="all" />
<link href="fonts.css" rel="stylesheet" type="text/css" media="all" />
<!--out of main stream by admin / 12:55 PM 03-Jul-15 ist
in main stream by admin / 20:05 PM 22-Jul-15 ist
-->
</head>
<body>
<div id="wrapper">
<div id="header-wrapper">
<?php include "header.php";?>
</div>
<?php
$resultb=$connection->query("SELECT * FROM `upload_books` WHERE `upload_id`='$ids'");
$rows=$resultb->fetch_array();
$id=$rows[0];
$booktitle=$rows[1];
$author=$rows[2];
$publisher=$rows[3];
$size=$rows[4];
$bookbrefdesc=$rows[5];
$bookdesc=$rows[6];
$durl=$rows[7];
$ilink=$rows[8];
$uploader=$rows[11];
?>
<div id="featured">
<div class="container">
<div class="title">
<h2><?php echo"$booktitle";?></h2>
<span class="byline">
<?php echo"A Book by $author";?></br>
<?php echo"Published by $publisher";?></br></br>
<?php echo"Size=$size MB";?></br></br>
<?php echo"$bookdesc";?></br></span>
</div>
<p><?php echo"$bookdesc";?></p>
</div>
<ul class="actions">
<li><a href=<?php echo"#";?> class="button">Download Not Available</a></li>
</ul>
</div>
<div id="page" class="container">
<div class="title">
<h2></h2>
<span class="byline">this book is under verification process.</span>
</div>
</div>
</div>
<?php
}
else
{
include "header.php";
include"error.php";
}
include "footer.php";?>
</body>
</html>
<?php
}
?>