diff options
Diffstat (limited to 'template/admin/html/database.php')
-rw-r--r-- | template/admin/html/database.php | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/template/admin/html/database.php b/template/admin/html/database.php new file mode 100644 index 0000000..92c5103 --- /dev/null +++ b/template/admin/html/database.php @@ -0,0 +1,26 @@ +<h1><i class="fa fa-database"></i><?=$Language->template('overview_database_text')?></h1> +<p><?=$Language->template('overview_database_desc')?></p> + +<?php if(isset($FORM['INFO'])): ?> + <?php foreach($FORM['INFO'] as $message): ?> + <div class="red"><?=$message?></div> + <?php endforeach; ?> +<?php endif; ?> + +<form action="" method="POST"> + <input type="hidden" name="token" value="<?=$FORM['TOKEN']?>" /> + + <section class="flex flex-padding"> + <textarea id="content-editor" placeholder="<?=$Language->template('database_warning')?>" name="command"><?=escapeHTML($FORM['COMMAND'])?></textarea> + </section> + +<?php if(isset($FORM['RESULT'])): ?> + <section class="flex flex-padding background flex-direction-column"> + <pre id="database-result"><?=escapeHTML($FORM['RESULT'])?></pre> + </section> +<?php endif; ?> + + <section class="flex flex-padding background"> + <input type="submit" name="execute" value="Execute" /> + </section> +</form>
\ No newline at end of file |