File "gallery-create.php"
Full path: /home/fsibplc/public_html/admin/gallery-create.php
File
size: 3.73 B (3.73 KB bytes)
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Editor Back
<?php
include('config/dbcon.php');
include('authentication.php');
//session_start();
include('include/header.php');
?>
<div class="container-fluid px-4">
<div class="row mt-4">
<div class="col-md-12">
<?php include('message.php'); ?>
<div class="card">
<div class="card-header">
<h4>Create Gallery<a href="all-gallery.php" class="btn btn-danger float-end">Back</a></h4>
</div>
<div class="card-body">
<form action="code.php" method="POST">
<div class="row">
<div class="col-md-6 md-3">
<label for="">Name</label>
<input type="text" name="name" required class="form-control">
</div>
<!-- <div class="col-md-6 md-3">
<label for="">Slug (URL)</label>
<input type="text" name="slug" required class="form-control">
</div>-->
<!--<div class="col-md-12 md-3">
<label for="">Description</label>
<textarea name="description" required class="form-control" rows="4"></textarea>
</div>-->
<input type="hidden" name="category_type" value="gallery">
<div class="col-md-12 md-3">
<label for="">Meta Title</label>
<input type="text" name="meta_title" max="191" required class="form-control">
</div>
<div class="col-md-6 md-3">
<label for="">Meta Description</label>
<textarea name="meta_description" required class="form-control" rows="4"></textarea>
</div>
<div class="col-md-6 md-3">
<label for="">Meta Keyword</label>
<textarea name="meta_keyword" required class="form-control" rows="4"></textarea>
</div>
<div class="col-md-6 md-3">
<label for="Status">Navbar Status</label>
<input type="checkbox" name="navbar_status" width="70px" height="70px" />
Checked = Hidden In Menubar, Unchecked = Visible In Menubar
</div>
<div class="col-md-6 md-3">
<label for="Status">Status</label>
<input type="checkbox" name="status" width="70px" height="70px" />
Checked = Hidden, Unchecked = Visible
</div>
<div class="col-md-6 md-3">
<button type="submit" class="btn btn-primary" name="category_add">Save Category</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<?php
include('include/footer.php');
include('include/script.php');
?>