X7ROOT File Manager
Current Path:
/home/jurarevi/beta.jurareview.ro/application/views/admin
home
/
jurarevi
/
beta.jurareview.ro
/
application
/
views
/
admin
/
📁
..
📄
admin_home.php
(48 B)
📄
admin_menu.php
(1.87 KB)
📄
announcement_edit.php
(2.27 KB)
📄
announcements_list.php
(1.01 KB)
📄
chapter_edit.php
(4.26 KB)
📄
chapters_edit.php
(1.38 KB)
📄
edit_pagina.php
(2.9 KB)
📄
headerFooter.php
(1.22 KB)
📄
lista_pagini.php
(1.25 KB)
📄
login.php
(655 B)
📄
menus_edit.php
(7.86 KB)
📄
miscconfig.php
(1.7 KB)
📄
sidebar_edit.php
(2.79 KB)
📄
volume_edit.php
(8.33 KB)
📄
volumes_list.php
(830 B)
Editing: chapter_edit.php
<div class="container main-content"> <h1>Editeaza capitol</h1> <form method="POST" id="chapters-form" action="" enctype="multipart/form-data"> <div class="row"> <div class="col-sm-2"> <label for="title" class="form-lable">Titlu:</label> </div> <div class="col-sm-10"> <input class="form-input" id="title" name="title" value="<?php echo !empty($chapter['Title']) ? $chapter['Title'] : ''; ?>"> </div> </div> <div class="row"> <div class="col-sm-2"> <label for="authors" class="form-lable">Autori:</label> </div> <div class="col-sm-10"> <input class="form-input" id="authors" name="authors" value="<?php echo !empty($chapter['Authors']) ? $chapter['Authors'] : ''; ?>"> </div> </div> <div class="row"> <div class="col-sm-2"> <label for="keywords" class="form-lable">Key Words:</label> </div> <div class="col-sm-10"> <input class="form-input" id="keywords" name="keywords" value="<?php echo !empty($chapter['KeyWords']) ? $chapter['KeyWords'] : ''; ?>"> </div> </div> <div class="row"> <div class="col-sm-2"> <label for="pdffile" class="form-lable">PDF:</label> </div> <?php if ($edit) { ?> <div class="col-sm-6"> <input class="form-input" id="pdffile_path" name="pdffile_path" value="<?php echo !empty($chapter['PdfFile']) ? $chapter['PdfFile'] : ''; ?>"> </div> <div class="col-sm-1"> <a href="<?php echo '/' . $chapter['PdfFile']; ?>" target="_blank"> <img src="/assets/pictures/icon_pdf_25x25.gif"> </a> </div> <div class="col-sm-3"> <input type="file" class="form-input" id="pdffile" name="pdffile"> </div> <?php } else { ?> <div class="col-sm-10"> <input type="file" class="form-input" id="pdffile" name="pdffile"> </div> <?php } ?> </div> <div class="row"> <div class="col-sm-2"> <label for="content" class="form-lable">Continut:</label> </div> <div class="col-sm-9"> <textarea class="form-input" id="content" name="content" value=""><?php echo !empty($chapter['Abstract']) ? $chapter['Abstract'] : ''; ?></textarea> </div> </div> <?php if ($edit) { ?> <button class="btn-danger add-button" onclick="event.preventDefault(); window.location.href = '/chapters/delete_chapter/<?php echo $chapter['Id']; ?>/<?php echo $volume_id; ?>';" style="margin:2px;"> Sterge </button> <button class="btn-success add-button" onclick="event.preventDefault(); $('#chapters-form').attr('action','/chapters/update_chapter/<?php echo $chapter['Id']; ?>/<?php echo $volume_id; ?>'); $('#chapters-form').submit();" style="margin:2px;"> Salveaza </button> <?php if (!empty($chapter['VolumeId']) && $chapter['VolumeId'] < 0) { ?> <button class="btn-success add-button" onclick="event.preventDefault(); $('#chapters-form').attr('action','/chapters/move_to_latest_volume/<?php echo $chapter['Id']; ?>/-1'); $('#chapters-form').submit();" style="margin:2px;"> Adauga la ultimul volum </button> <?php } ?> <?php } else { ?> <button class="btn-success add-button" onclick="event.preventDefault(); $('#chapters-form').attr('action','/chapters/insert_chapter/<?php echo $volume_id; ?>'); $('#chapters-form').submit();"> Salveaza </button> <?php } ?> </form> </div> <br/>
Upload File
Create Folder