| Server IP : 101.53.144.229 / Your IP : 216.73.216.104 Web Server : Apache System : Linux host.gdigitalindia.in 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : digitalshiksha ( 1179) PHP Version : 5.6.40 Disable Function : eval,show_source,system,shell_exec,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,dl,show_source,curl_multi_exechellcmd, ini_restore,apache_get_modules,get_cfg_var,passthru, exec ,proc_get_status,fpassthru,c999_buff_prepare,c999_sess_put,c99_buff_prepare,c99_sess_put,proc_close,ini_alter,dl,symlink,link,proc_close,ini_alter,dl,symlink,link,mail MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/digitalshiksha/www/application/views/admin/ |
Upload File : |
<?php $this->load->view('admin/head'); ?>
<?php $this->load->view('admin/header'); ?>
<div class="container-fluid py-4 mt-5">
<div class="card">
<div class="card-header p-0 position-relative mt-n5 mx-3 z-index-2">
<div class="bg-gradient-primary shadow-primary border-radius-lg pt-4 pb-3">
<center>
<h5 class="font-weight-bolder text-white">Category Information</h5>
</center>
</div>
</div>
<div class="card-body">
<form class="multisteps-form__form" method="post" action="addcategory" enctype="multipart/form-data">
<div class="pt-3 border-radius-xl bg-white" data-animation="FadeIn">
<input type="hidden" name="link" value="<?=$cat['link'] ?>">
<div class="multisteps-form__content">
<div class="row mt-3">
<div class="col-12 col-sm-6">
<div class="input-group input-group-static m-2">
<label for="name">Category Title *</label>
<input class="form-control" type="text" name="name" id="name" value="<?=$cat['name'] ?>" required>
</div>
</div>
</div>
<button type="submit" name="submit" class="btn btn-primary w-20 mt-5">Submit</button>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</main>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
CKEDITOR.replace('description');
dropContainer.ondragover = dropContainer.ondragenter = function(evt) {
evt.preventDefault();
};
dropContainer.ondrop = function(evt) {
// pretty simple -- but not for IE :(
images.files = evt.dataTransfer.files;
// If you want to use some of the dropped files
const dT = new DataTransfer();
dT.items.add(evt.dataTransfer.files[0]);
dT.items.add(evt.dataTransfer.files[3]);
images.files = dT.files;
evt.preventDefault();
};
function removeimg() {
<?php $link = $cat['link']; ?>
$.ajax({
url: "removeimg/<?=$link?>", //the page containing php script
type: "post", //request type,
success: function(result) {
if(result == "done"){
location.reload();
}
}
});
}
</script>
<?php $this->load->view('admin/footer'); ?>