We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d96031e commit 38cc3b3Copy full SHA for 38cc3b3
img2.jpg
548 KB
index.php
@@ -1,4 +1,6 @@
1
+<?php
2
require 'db.php';
3
+require 'backend.php';
4
session_start();
5
?>
6
<!DOCTYPE html>
@@ -7,6 +9,25 @@
7
9
<title>Avanture.rs</title>
8
10
<?php include 'css.html';?>
11
</head>
12
13
+
14
+ $object1=new UserInterface();
15
+ if($_SERVER['REQUEST_METHOD']=='POST')
16
+ {
17
+ if(isset($_POST['login'])){
18
+ $object1->login();
19
+ }
20
+ elseif (isset($_POST['register'])) {
21
+ $object1->register();
22
23
+ elseif (isset($_POST['subscribe'])) {
24
+ $object1->subscribe();
25
26
+ elseif (isset($_POST['unsubscribe'])) {
27
+ $object1->unsubscribe();
28
29
30
+?>
31
<body>
32
<div class="form">
33
<ul class="tab-group">
0 commit comments