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: 2 months ago
Size: 1,864 bytes


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

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

<body class="sb-nav-fixed">
    <?php include_once '../components/navbar.php' ?>
<div id="layoutSidenav">
        <?php include_once '../components/sidebar.php'; ?>
<div id="layoutSidenav_content">
                <div class="container-fluid">
                    <h1 class="mt-4">Dashboard</h1>
                    <ol class="breadcrumb mb-4">
                        <li class="breadcrumb-item active">Dashboard</li>
                    <div class="card mb-4">
                        <div class="card-header">
                            <i class="fas fa-table mr-1"></i>
                            Add page
                        <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">

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