sports-arena-website / create1.html
create1.html
Raw
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">



<head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
    <link rel="shortcut icon" href="images/logo.png" type="image/x-icon" />
    <title>Create New Item</title>

    <style>
        .button {
            background-color: Grey;
            border: none;
            color: white;
            padding: 15px 32px;
            text-align: center;
            text-decoration: none;
            display: inline-block;
            font-size: 16px;
            margin: 4px 2px;
            cursor: pointer;
        }

        .table {
            font-size: 30;
        }
    </style>
</head>
<button class="button" onclick="window.location.href = 'staff_page.php';">Back</button>

<body style="background-color: black;">


    <font color="White">
        <h3 align="center">Add new item</h3>
    </font>


    <form method="post" action="create.php" enctype="multipart/form-data">
        <center>
            <table class="table">
                <tr>
                    <td><label style="color:White; font-size:18px;">Item Name :</label></td>
                    <td width="30"></td>
                    <td><input type="text" name="itemname" required /></td>
                </tr>
                <tr>
                    <td><label style="color:White; font-size:18px;">Item Description :</label></td>
                    <td width="30"></td>
                    <td><input type="text" name="itemdesc" required /></td>
                </tr>
                <tr>
                    <td><label style="color:White; font-size:18px;">Item Category :</label></td>
                    <td width="30"></td>
                    <td><input type="text" name="itemcat" required /></td>
                </tr>
                <tr>
                    <td><label style="color:White; font-size:18px;">Item Image :</label></td>
                    <td width="30"></td>
                    <td><input type="file" name="image" /></td>
                </tr>s

                <tr>
                    <td><label style="color:White; font-size:18px;">Item Stock:</label></td>
                    <td width="30"></td>
                    <td><input type="text" name="itemstock" required /></td>
                </tr>
                <tr>
                    <td><label style="color:White; font-size:18px;">Item Price :</label></td>
                    <td width="30"></td>
                    <td><input type="text" name="itemprice" required /></td>
                </tr>

                <tr>
                    <th colspan="3"><br /><input
                            style="background-color: Green; border: none; color: white; padding: 15px 32px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 4px 2px; cursor: pointer;"
                            id="add" type="submit" value="Create" />
                        &nbsp; &nbsp; <input
                            style="background-color: Red; border: none; color: white; padding: 15px 32px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 4px 2px; cursor: pointer;"
                            type="reset" value="Reset" />
                    </th>
                </tr>

            </table>
        </center>

    </form>

</body>

</html>