

<?php $__env->startSection('content'); ?>
<div class="container-fluid">
                <div class="row ">
                    <div class="col-lg-12">
                        <div class="card">
                            <div class="card-header d-flex align-items-center justify-content-between">
                                <h5 class="card-title mb-0"> <i class="fa fa-book"></i> &nbsp; Add New Article </h5>
                                <div class="card-tools">
                                    <button type="button" class="btn btn-tool" data-card-widget="collapse"
                                        title="Collapse">
                                        <i class="fas fa-minus"></i>
                                    </button>
                                    <button type="button" class="btn btn-tool">
                                        <a href="./page.html" class="btn btn-info btn-sm"><i class="mdi mdi-plus"></i>
                                            <i class="fa fa-arrow-left"></i> Back</a>
                                    </button>
                                </div>
                            </div>
                            <div class="card-body">
                                <div class="col-md-11">
                                    <input type="hidden" value="" id="id" name="id">

                                    <!-- Article Title -->
                                    <div class="form-group row">
                                        <label class="col-sm-2 col-form-label">Article Title <code>*</code></label>
                                        <div class="col-sm-5">
                                            <input type="text" value="" id="article_title" name="article_title"
                                                class="form-control mb-3">
                                        </div>
                                    </div>

                                    <!-- Article Alias -->
                                    <div class="form-group row">
                                        <label for="" class="col-sm-2 col-form-label">Article Alias
                                            <code>*</code></label>
                                        <div class="col-sm-5">
                                            <input type="text" value="" id="article_alias" name="article_alias"
                                                class="form-control mb-3">
                                        </div>
                                    </div>

                                    <!-- Category -->
                                    <div class="form-group row">
                                        <label for="" class="col-sm-2 col-form-label">Category <code>*</code></label>
                                        <div class="col-sm-5">
                                            <select id="category" name="category" class="form-control mb-3">
                                                <option value="">Select Category</option>

                                            </select>
                                        </div>
                                    </div>

                                    <!-- Featured Image -->
                                    <div class="form-group row">
                                        <label for="featured_image" class="col-sm-2 col-form-label">Featured
                                            Image</label>
                                        <div class="col-sm-5">
                                            <div class="input-group">
                                                <input type="file" accept="image/*" name="featured_image"
                                                    id="featured_image" class="form-control"
                                                    onchange="previewImage(event)">
                                                <div class="input-group-text">
                                                    <span class="fa fa-image"></span>
                                                </div>
                                            </div>

                                            <!-- Image Preview with Delete Icon -->
                                            <div class="img-area mb-3 mt-1"
                                                style="position: relative; display: inline-block;">
                                                <img id="imagePreview" src="#" alt="Preview Image"
                                                    class="img-fluid border" style="display:none; max-width: 100px;"
                                                    onclick="openLightbox(this.src)">

                                                <!-- Delete Icon -->
                                                <span class="delete-icon" onclick="removeImage()"><i
                                                        class="fas fa-times"></i></span>
                                            </div>

                                        </div>
                                    </div>

                                    <!-- Lightbox Modal -->
                                    <div id="lightbox" class="lightbox">
                                        <span class="lightbox-close" onclick="closeLightbox()">&times;</span>
                                        <img class="lightbox-content" id="lightboxImage">
                                    </div>

                                    <!-- Related Articles -->
                                    <div class="form-group row">
                                        <label class="col-sm-2 col-form-label">Related Articles</label>
                                        <div class="col-sm-5">
                                            <select id="related_articles" name="related_articles"
                                                class="form-control mb-3">
                                                <option value="">Select Related Articles</option>

                                            </select>
                                        </div>
                                    </div>

                                    <!-- Tag -->
                                    <div class="form-group row">
                                        <label class="col-sm-2 col-form-label">Tag</label>
                                        <div class="col-sm-5">
                                            <select id="tag" name="tag" class="form-control mb-3">
                                                <option value="">Select Tag</option>
                                            </select>
                                        </div>
                                    </div>

                                    <!-- Meta Description -->
                                    <div class="form-group row">
                                        <label class="col-sm-2 col-form-label">Meta Description</label>
                                        <div class="col-sm-5">
                                            <textarea name="meta_description" id="meta_description"
                                                class="form-control mb-3" rows="3"></textarea>
                                        </div>
                                    </div>

                                    <!-- Keywords -->
                                    <div class="form-group row">
                                        <label class="col-sm-2 col-form-label">Keywords</label>
                                        <div class="col-sm-5">
                                            <input type="text" value="" name="keywords" id="keywords"
                                                class="form-control mb-3">
                                        </div>
                                    </div>

                                    <!-- Canonical URL -->
                                    <div class="form-group row">
                                        <label class="col-sm-2 col-form-label">Canonical URL</label>
                                        <div class="col-sm-5">
                                            <input type="text" value="" name="canonical_url" id="canonical_url"
                                                class="form-control mb-3">
                                        </div>
                                    </div>

                                    <!-- Status -->
                                    <div class="form-group row">
                                        <label class="col-sm-2 col-form-label">Status <code>*</code></label>
                                        <div class="col-sm-5">
                                            <select id="status" name="status" class="form-control mb-3">
                                                <option value="1">Active</option>
                                                <option value="0">Inactive</option>
                                            </select>
                                        </div>
                                    </div>

                                    <!-- Access -->
                                    <div class="form-group row">
                                        <label class="col-sm-2 col-form-label">Access <code>*</code></label>
                                        <div class="col-sm-5">
                                            <select id="access" name="access" class="form-control mb-3">
                                                <option value="public">Public</option>
                                                <option value="private">Private</option>
                                            </select>
                                        </div>
                                    </div>
                                </div>
                            </div>

                            <div class="card-footer">
                                <div class="offset-md-3 col-sm-9">
                                    <button type="submit" name="submit" class="btn btn-success">Save </button>
                                    &nbsp;&nbsp;
                                    <button name="submit" value="save-n-exit" type="submit" class="btn btn-primary">Save
                                        &amp; Exit</button>
                                    &nbsp;&nbsp;
                                    <a href="#" class="btn btn-warning">Cancel</a>
                                </div>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin_html.layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\techuno\testing-laravel\resources\views/admin_html/pages/othersPages/add-page.blade.php ENDPATH**/ ?>