-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdetails.php
More file actions
42 lines (36 loc) · 799 Bytes
/
details.php
File metadata and controls
42 lines (36 loc) · 799 Bytes
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
<?php
include("inc/functions.php");
$catalog = all_paints_array();
if (isset($_GET["id"])){
$id = $_GET["id"];
if (isset($catalog[$id])){
$item = $catalog[$id];
}
}
if (!isset($item)){
header("location:scuddha.php");
//exit;
}
$pageTitle = $item["title"];
$section = null;
include("inc/header.php");
?>
<div class="detailspage">
<div class="wrapper">
<div class="mediaimage">
<span class"row">
<div class="col-md-6">
<img src="<?php echo $item["img"]; ?>" alt="<?php echo $item["title"];?>"/>
</div>
<div id="itemdetails" class="col-md-6">
</br></br>
<h1><?php echo $item["title"]; ?></h1>
<?php echo get_item_details_html($id,$item);?>
</div>
</span>
</div>
</div>
</div>
<div class="row">
</div>
<?php include("inc/footer.php"); ?>