Server IP : 172.16.15.8 / Your IP : 3.142.212.119 Web Server : Apache System : Linux zeus.vwu.edu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Wed Nov 6 14:29:02 UTC 2024 x86_64 User : apache ( 48) PHP Version : 7.2.24 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/tcritser/../ranicholson/public_html/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<!-- File name: iybfootS.php --> <html> <title>IN YOUR BAG</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css"> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Inconsolata"> <link rel="stylesheet" href="https://www.w3schools.com/lib/w3-theme-blue-grey.css"> <link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Open+Sans'> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <style> body, html { height: 100%; font-family: "Inconsolata", sans-serif; } .bgimg { background-position: center; background-image: url(https://static1.fashionbeans.com/wp-content/uploads/2018/08/basketballtop.jpg); min-height: 70%; } .menu { display: none; } </style> <BODY> <!-- Header with image --> <header class="bgimg w3-display-container w3-grayscale-min" id="home"> <div class="w3-display-middle w3-center"> <span class="w3-tag" style="font-size:50px">IN YOUR BAG</span> </div> </header> <!-- Add a background color and large text to the whole page --> <div class="w3-sand w3-grayscale w3-large"> <!-- Links (sit on top) --> <div class="w3-top"> <div class="w3-row w3-padding w3-black"> <div class="w3-col s2"> <a href="iyb.php" class="w3-button w3-block w3-black">HOME</a> </div> <div class="w3-col s2"> <a href="iybfoot.php" class="w3-button w3-block w3-black">FOOTWEAR</a> </div> <div class="w3-col s2"> <a href="iybapp.php" class="w3-button w3-block w3-black">APPAREL</a> </div> <div class="w3-col s2"> <a href="iybeqmt.php" class="w3-button w3-block w3-black">EQUIPMENT</a> </div> <div class="w3-col s2"> <a href="iybtips.php" class="w3-button w3-block w3-black">TIPS</a> </div> <a href="iyblogin.php" class="w3-bar-item w3-button w3-hide-small w3-right w3-padding-large w3-hover-white" title="Login"><i class="fa fa-user"></i></a> </div> </div> <center> <h5 class="w3-center w3-padding-65"><span class="w3-tag w3-wide">Basketball Footwear in Stock</span></h5> </center> <hr> <P> <Center> <?php $SZ = $_POST['SZ']; $host = 'localhost'; $user = 'ranicholson'; $passwd = 'cs480'; $database = 'ranicholson'; $connect = mysqli_connect($host, $user, $passwd); $query = "select * from FOOT3 where SIZE = '$SZ'"; mysqli_select_db($connect, $database); $result_id = mysqli_query($connect, $query); if(mysqli_query($connect, $query)) print "<P>Search successful.<P>"; else print "<P>There aren't any sizes in $SZ .<p>"; if($result_id) { print '<table border=1>'; print '<TH> ID <TH> SNEAKER TYPE <TH> GENDER <TH> NAME <TH> RAITING <TH> SIZE <TH> PIC'; while($row = mysqli_fetch_row($result_id)) { print '<TR>'; foreach ($row as $field) print "<TD> $field </TD> "; print '</TR>'; } print '</table>'; } else { print "Fail.<p>"; } mysqli_close($connect); ?> <P> <P> <P> </center>