-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
1 lines (1 loc) · 3.72 KB
/
index.php
1
<?php session_start(); if(isset($_SESSION['logged']) && $_SESSION['logged']){ header("Location: ./shopping.php"); } $title="CS634 - Midterm Project | Sign-in / Sign-up page";?><!DOCTYPE html><html lang="en"><head> <!-- Metadata --> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="CS634 Midterm Project on Frequent Item set generation. This project highlight the use of Brute-force algorithm for frequent itemset generation and improvizes the frequent itemset generation by the use of Apriori frequent itemset generation algorithm. This also showcases the time taken by both versions, where in both algorithm generates same set of association mining rules after the frequent-itemlist generation."> <meta name="keywords" content="cs634, 634, data mining, jason wang, midterm project, apriori algorithm, frequent itemset, Brute-force frequent itemset"> <meta name="author" content="Rahul Gautham Putcha"> <title><?php echo $title;?></title> <!-- Styles: External (opensource) --> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous"> <link rel="preconnect" href="https://fonts.gstatic.com"> <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap" rel="stylesheet"> <!-- Styles: Rahul Gautham Putcha --> <link href="./res/styles/style.css" rel="stylesheet" type="text/css"></head><body id="index"><!-- Sign-in / Signup page --> <header class="navbar-dark bg-dark"> <nav class="p-2 col-6 col-lg navbar-brand"><h1>NJIT Mart</h1></nav> </header> <main> <div class="row m-5"> <div class="col-12"> <h2 class="p-2 text-center text-white">Welcome to NJIT Mart</h2> </div> </div> <div class="row m-5"> <div id="signin-form" class="p-2 p-md-5 col-12 offset-md-2 col-md-4 reg-form"> <form method="post" action="./signin.php"> <fieldset> <legend>Sign in</legend> <div> <label for="si_username">Username</label> <input type="text" id="si_username" name="si_username" placeholder="Username..."/> <label for="si_password">Password</label> <input type="password" id="si_password" name="si_password" placeholder="Password..." /> </div> <div class="text-center w-100"><input type="submit" name="sign_in" value="Sign in" /></div> </fieldset> </form> </div> <div id="signup-form" class="p-2 p-md-3 col-12 offset-md-1 col-md-4 reg-form"> <form method="post" action="./signup.php"> <fieldset> <legend>Sign up</legend> <div> <label for="su_username">Username</label> <input type="text" id="su_username" name="su_username" placeholder="Username..."/> <label for="su_password">Password</label> <input type="password" id="su_password" name="su_password" placeholder="Password..." /> <label for="su_retyped_password">Retype Password</label> <input type="password" id="su_retyped_password" name="su_retyped_password" placeholder="Retype Password..." /> </div> <div class="text-center w-100"><input type="submit" id="sign_up" name="sign_up" value="Sign up" /></div> </fieldset> </form> </div> </div> </main> <footer class='text-center'><div><h6>© Copyright 2021-2022 | By Rahul Gautham Putcha<h6></div></footer> <!-- Scripts: External (opensource) --> <script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js" integrity="sha384-gtEjrD/SeCtmISkJkNUaaKMoLD0//ElJ19smozuHV6z3Iehds+3Ulb9Bn9Plx0x4" crossorigin="anonymous"></script> <!-- Styles: Rahul Gautham Putcha --> <script src="./res/script/script.js"></script></body></html>