%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
<script src="<?= base_url('assets/ckeditor/ckeditor.js') ?>"></script> <div id="content-wrapper"> <div class="container-fluid"> <!-- Breadcrumbs--> <ol class="breadcrumb"> <li class="breadcrumb-item"> <a href="<?php echo site_url('admin/home'); ?>">Dashboard</a> </li> <li class="breadcrumb-item active">Manage SEO</li> </ol> <!-- DataTables Example --> <div class="card mb-3 fomr-news"> <div class="card-header card-header-new"><h3> <i class="fas fa-table"></i> Manage SEO </h3> <a href="javascript:void(0);" data-toggle="modal" data-target="#add_edit_regulatory_module" class="btn btn-primary btn-xs pull-right linkstylebox" style="margin-bottom:10px;"><b>+</b> Add SEO</a> </div> </div> <div class="card-body"> <div class="table-responsive"> <!---- Success Message ----> <?php if ($this->session->flashdata('success')) { ?> <p style="color:green; font-size:18px;"><?php echo $this->session->flashdata('success'); ?></p> </div> <?php } ?> <div class="clearfix"></div> <?php if ($overviewDetails) { ?> <table class="table table-bordered" id="dataTable" width="100%" cellspacing="0"> <thead> <tr> <th>#ID</th> <th>Title</th> <th>Keywords</th> <th>Description</th> <th>Key</th> <th>Status</th> <th class="text-center">Action</th> </tr> </thead> <?php $count= 1; foreach ($overviewDetails as $details) { ?> <tr> <td><?= $count++ ?></td> <td><?= $details['title'] ?></td> <td><?= $details['keywords'] ?></td> <td><?= $details['description'] ?></td> <td><?= $details['slug'] ?></td> <td><?= $details['status']=='1' ? 'Active' : 'Inactive' ?></td> <td class="text-center"> <div> <a href="?delete=<?= $details['id'] ?>" class="confirm-delete" onclick="return confirm('Are you sure you want to delete this record?');"><i class="fa fa-times" aria-hidden="true"></i></a> <a href="?edit=<?= $details['id'] ?>"><span class="glyphicon glyphicon-edit"></span>Edit</a> </div> </td> </tr> <?php } ?> </tbody> </table> <?php } else { ?> <div class="clearfix"></div><hr> <div class="alert alert-info">No record found!</div> <?php } ?> </div> </div> </div> <!-- /.container-fluid --> <!-- Sticky Footer --> <!-- add edit users --> <div class="modal fade" id="add_edit_regulatory_module" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"> <div class="modal-dialog" role="document"> <div class="modal-content"> <form action="" method="POST" enctype="multipart/form-data"> <div class="modal-header"> <button type="button" class="close" <?php if(isset($_GET['edit'])) { ?> onClick="history.go(-1)" <?php } else { ?> data-dismiss="modal" aria-label="Close" <?php } ?>><span aria-hidden="true">×</span></button> <h4 class="modal-title" id="myModalLabel"><?php if(isset($_GET['edit'])) { ?> Edit <?php } else { ?> Add New<?php } ?> SEO</h4> </div> <?php if (validation_errors()) { ?> <div class="alert alert-danger"><?= validation_errors() ?></div> <?php } ?> <div class="modal-body"> <input type="hidden" name="edit" value="<?= isset($_GET['edit']) ? $_GET['edit'] : '0' ?>"> <div class="form-group"> <label for="email">Title<span class="error_msg">*</span></label> <input type="text" name="title" placeholder = 'SEO Title' class="form-control" value="<?= isset($_POST['title']) ? $_POST['title'] : '' ?>" id="title" required> </div> <div class="form-group"> <label for="email">Slug<span class="error_msg">*</span></label> <input type="text" name="slug" placeholder = 'Slug' class="form-control" value="<?= isset($_POST['slug']) ? $_POST['slug'] : '' ?>" id="slug" required> </div> <div class="form-group"> <label for="desc">Keywords</label> <textarea name="keywords" id="keywords" rows="5" col ="10" class="form-control" ><?= isset($_POST['keywords']) ? $_POST['keywords'] : '' ?></textarea> </div> <div class="form-group"> <label for="desc">Description</label> <textarea name="description" id="description" rows="5" col ="10" class="form-control" ><?= isset($_POST['description']) ? $_POST['description'] : '' ?></textarea> </div> <div class="form-group"> <label for="email">H1</label> <input type="text" name="h1_tag" placeholder = 'H1' class="form-control" value="<?= isset($_POST['h1_tag']) ? $_POST['h1_tag'] : '' ?>" id="h1_tag"> </div> <div class="form-group"> <label for="author">Author Tags</label> <input type="text" name="author" placeholder = 'Sharda Hospital' class="form-control" value="<?= isset($_POST['author']) ? $_POST['author'] : '' ?>" id="author"> </div> <div class="form-group"> <label for="copyright">Copyright Tags</label> <input type="text" name="copyright" placeholder = 'https://shardahospital.org/' class="form-control" value="<?= isset($_POST['copyright']) ? $_POST['copyright'] : '' ?>" id="copyright"> </div> <div class="form-group"> <label for="robots">Robots Tags</label> <input type="text" name="robots" placeholder = 'index, follow' class="form-control" value="<?= isset($_POST['robots']) ? $_POST['robots'] : '' ?>" id="robots"> </div> <div class="form-group"> <label for="open_meta">Open Meta Tags</label> <textarea placeholder="<meta property='og:url' content='https://shardahospital.org/'>" name="open_meta" id="open_meta" rows="5" col ="10" class="form-control" ><?= isset($_POST['open_meta']) ? base64_decode($_POST['open_meta']) : '' ?></textarea> </div> <div class="form-group"> <label for="display_order">Display Order</label> <input type="text" name="display_order" class="form-control" value="<?= isset($_POST['display_order']) ? $_POST['display_order'] : '1' ?>" id="Display Order"> </div> <?php //$_POST['status'] = $_POST['status']=='' ? '1' : '0' ?> <div class="form-group"> <label for="assign_role">Status<span class="error_msg">*</span></label> <select class="form-control" name="status" id="status" required> <option value=""> -- Select Status -- </option> <option value="1" <?php if(@$_POST['status']=='1') { echo 'selected = "selected"'; }?>>Active</option> <option value="0" <?php if(@$_POST['status']=='0') { echo 'selected = "selected"'; }?>>Inactive</option> </select> </div> <div class="modal-footer"> <button type="button" class="btn btn-default" <?php if(isset($_GET['edit'])) { ?> onClick="history.go(-1)" <?php } else { ?> data-dismiss="modal" <?php } ?>>Cancel</button> <input type="submit" class="btn btn-primary" value="Save"> </div> </form> </div> </div> </div> </div> <script> <?php if (isset($_GET['edit'])) { ?> $(document).ready(function () { $("#add_edit_regulatory_module").modal('show'); }); <?php } ?> </script>