PHP Classes

File: uploady/admin/roles/new.php

Recommend this page to a friend!
  Classes of Faris AL-Otabi   Uploady PHP Upload File to MySQL   uploady/admin/roles/new.php   Download  
File: uploady/admin/roles/new.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Uploady PHP Upload File to MySQL
Store file upload details in a MySQL database
Author: By
Last change: Code refactor
Date: 5 months ago
Size: 2,070 bytes
 

Contents

Class file image Download
<?php
include_once '../session.php';
include_once
'logic/addLogic.php';
?>
<!DOCTYPE html>
<html lang="en">

<head>
    <?php include_once '../components/meta.php'; ?>
<title>Add role - <?= $st['website_name'] ?></title>
    <?php include_once '../components/css.php'; ?>
</head>

<body class="sb-nav-fixed">
    <?php include_once '../components/navbar.php' ?>
<div id="layoutSidenav">
        <?php include_once '../components/sidebar.php'; ?>
<div id="layoutSidenav_content">
            <main>
                <div class="container-fluid">
                    <h1 class="mt-4">Dashboard</h1>
                    <ol class="breadcrumb mb-4">
                        <li class="breadcrumb-item active">Dashboard</li>
                    </ol>
                    <div class="card mb-4">
                        <div class="card-header">
                            <i class="fas fa-user-tag mr-1"></i>
                            Edit Role
                        </div>
                        <div class="card-body">
                            <form method="POST">

                                <?= $utils->input('csrf', $_SESSION['csrf']); ?>

                                <div class="form-group">
                                    <input type="text" class="form-control" name="role_name" placeholder="Enter Role Name">
                                </div>
                                <div class="form-group">
                                    <input type="text" class="form-control" name="size_limit" placeholder="Enter Size Limit">
                                </div>

                                <button type="submit" class="btn btn-primary">
                                    Edit Role
                                </button>
                            </form>
                        </div>
                    </div>
                </div>
            </main>
            <?php include_once '../components/footer.php'; ?>
</div>
    </div>
    <?php include_once '../components/js.php'; ?>
</body>

</html>