* Sunda Cyber Army 2k17 *
Indonesia Defacer ~
<?php
if(empty($_REQUEST['recordid'])) {
echo "Please visit the <a href='search.php'>search</a> page.";
exit();
}
$host = "webdev.iyaserver.com";
$user = "dent";
$userpw = "";
$db="dent_dvdimages";
include "../pdloginvariables.php";
$db="dent_dvdimages";
$mysql = new mysqli(
$host,
$userid,
$userpw,
$db
);
if($mysql->connect_errno) {
echo "db connection error : " . $mysql->connect_error;
exit();
}
?>
<html>
<head>
<title>Movie search</title>
<style>
body {
background-color: burlywood;
margin: 0 200px;
text-align: center;
}
#container {
padding: 30px;
background-color: olive;
width: 400px;
text-align: left;
color:white;
}
.label {
float:left;
clear:left;
width: 70px;
font-style: italic;
}
</style>
</head>
<body>
<div id="container">
<?php
$sql = "SELECT * FROM movieView2 WHERE dvd_title_id = " .
$_REQUEST['recordid'] ;
$results = $mysql->query($sql);
if(!$results) {
echo "Your SQL: " . $sql . "<br><br>";
echo "SQL Error: " . mysqli_error($conn);
exit();
}
while($currentrow = $results->fetch_assoc()) {
?>
<div style="float:right; width: 220px;">
<img src="<?php echo $currentrow["imageurl"] ?>" style="width: 200px; float:right;">
</div>
<h1>Detailed Record<hr></h1>
<div class="label">Title:</div>
<?php echo $currentrow['title'] ?>
<br style="clear:left">
<div class="label">Rating:</div>
<?php echo $currentrow['rating']; ?>
<br style="clear:left">
<div class="label">Genre:</div>
<?php echo $currentrow['genre']; ?>
<br style="clear:left">
<div class="label">Studio:</div>
<?php echo $currentrow['label']; ?>
<br style="clear:left">
<div class="label">Sound:</div>
<?php echo $currentrow['sound']; ?>
<br style="clear:left">
<div class="label">Screen:</div>
<?php echo $currentrow['format']; ?>
<br style="clear:left">
<?php
}
?>
<br style="clear:both">
</div>
</body></html>