PHP Classes

File: uploady/admin/pages/add.php

Recommend this page to a friend!
  Classes of Faris AL-Otabi   Uploady PHP Upload File to MySQL   uploady/admin/pages/add.php   Download  
File: uploady/admin/pages/add.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Uploady PHP Upload File to MySQL
Store file upload details in a MySQL database
Author: By
Last change: Add Whoops error handler and bug fixes
Date: 3 months ago
Size: 1,864 bytes
 

Contents

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

<head>
    <?php include_once '../components/meta.php'; ?>
<title>Dashboard - <?= $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-table mr-1"></i>
                            Add page
                        </div>
                        <div class="card-body">
                            <form action="actions/add.php" method="post">
                                <?= $utils->input('csrf', $_SESSION['csrf']); ?>

                                <div class="form-group">
                                    <label for="slug">Page Slug</label>
                                    <input type="text" class="form-control" name="slug" id="slug" aria-describedby="slug" placeholder="Enter page slug">
                                </div>

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

</html>