-
Notifications
You must be signed in to change notification settings - Fork 0
/
add.php
42 lines (41 loc) · 1.35 KB
/
add.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
<?php
session_start();
if(!isset($_SESSION['admin'])){
header("Location: index.php");
exit();
}
?>
<!DOCTYPE html>
<html lang="bg">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8">
<title>Онлайн бижутерия Diamonds</title>
<link href="css/resetcs.css" rel="stylesheet">
<link href="css/main.css" rel="stylesheet">
<link href="css/catalog.css" rel="stylesheet">
<link href="css/reg.css" rel="stylesheet">
<link href="css/admin.css" rel="stylesheet">
<script src="js/jquery.min.js"></script>
<script>
$(document).ready(function () {
$(".color").click(function () {
if (!$(this).hasClass("selected")) {
var selectedDivs = $(".selected");
selectedDivs.removeClass("selected");
$(this).addClass("selected");
$("#colorInput").val($(this).attr('id'));
}
});
});
</script>
</head>
<body>
<?php
include './templates/LoginUser.php';
include './templates/adminMenu.php';
include './templates/addingProduct.php';
include './templates/footer.php';
?>
</body>
</html>