Tul xxx Tul
User / IP
:
216.73.216.217
Host / Server
:
45.84.207.204 / aircan.me
System
:
Linux lt-bnk-web1726.main-hosting.eu 5.14.0-611.36.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 3 11:23:52 EST 2026 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
u931257429
/
domains
/
aircan.me
/
public_html
/
trabajostoremaylor
/
views
/
admin
/
Viewing: employers_form.php
<?php require $partials . '/header.php'; ?> <?php $panelAdmin = require __DIR__ . '/../panel/admin.php'; $navbarConfig = $panelAdmin['navbar'](); $sidebarMenu = $panelAdmin['menu']([ 'active' => 'employers', ]); $currentLogo = $employer['logo'] ?? ''; $currentLogoUrl = ''; if (!empty($currentLogo)) { $isAbsoluteLogo = str_starts_with($currentLogo, 'http://') || str_starts_with($currentLogo, 'https://'); $currentLogoUrl = $isAbsoluteLogo ? $currentLogo : App\Helpers\Url::to($currentLogo); } $logoModalId = 'logoPreviewModal' . ($employer['id'] ?? 'new'); ?> <div class="panel-shell"> <?php require $partials . '/sidebar.php'; ?> <div class="panel-main"> <?php require $partials . '/navbar.php'; ?> <div class="panel-content"> <main class="container-fluid py-4"> <section class="panel-card"> <div class="d-flex flex-column flex-md-row justify-content-between align-items-md-center mb-4 gap-3"> <div> <p class="text-muted text-uppercase small mb-1">Empleadores</p> <h2 class="fw-semibold mb-1"><?= $pageTitle ?></h2> <p class="text-muted mb-0">Completa la información de contacto de cada empresa.</p> </div> <a href="<?= App\Helpers\Url::to('/admin/employers') ?>" class="btn btn-outline-secondary"><i class="bi bi-arrow-left"></i> Volver</a> </div> <form action="<?= $formAction ?>" method="POST" class="row g-3" enctype="multipart/form-data"> <?php if (!empty($employer['id'])): ?> <input type="hidden" name="id" value="<?= $employer['id'] ?>"> <?php endif; ?> <div class="col-md-6"> <label class="form-label">Nombre de la empresa</label> <input type="text" name="company" class="form-control" value="<?= htmlspecialchars($employer['company'] ?? $employer['name']) ?>" required> </div> <div class="col-md-6"> <label class="form-label">Persona de contacto</label> <input type="text" name="name" class="form-control" value="<?= htmlspecialchars($employer['name']) ?>" placeholder="Nombre del responsable" required> </div> <div class="col-md-6"> <label class="form-label">Correo de acceso</label> <input type="email" name="email" class="form-control" value="<?= htmlspecialchars($employer['email']) ?>" required> </div> <div class="col-md-6"> <label class="form-label">Contraseña</label> <input type="text" name="password" class="form-control" value="<?= htmlspecialchars($employer['password'] ?? '') ?>" <?= empty($employer['id']) ? 'required' : '' ?> placeholder="Clave para el empleador"> </div> <div class="col-md-6"> <label class="form-label">NIT / Identificación fiscal</label> <input type="text" name="nit" class="form-control" value="<?= htmlspecialchars($employer['nit'] ?? '') ?>" placeholder="Número tributario"> </div> <div class="col-md-6"> <label class="form-label">Tipo de empresa</label> <input type="text" name="company_type" class="form-control" value="<?= htmlspecialchars($employer['company_type'] ?? '') ?>" placeholder="Startup, agencia, corporativo…"> </div> <div class="col-md-6"> <label class="form-label">Tamaño de la empresa</label> <input type="text" name="company_size" class="form-control" value="<?= htmlspecialchars($employer['company_size'] ?? '') ?>" placeholder="Pequeña, mediana, grande"> </div> <div class="col-md-6"> <label class="form-label">Sector / Industria</label> <input type="text" name="industry" class="form-control" value="<?= htmlspecialchars($employer['industry'] ?? '') ?>" placeholder="Tecnología, Banca…"> </div> <div class="col-12"> <label class="form-label">Descripción de la empresa</label> <textarea name="description" class="form-control" rows="3" placeholder="Cuenta quiénes son y qué ofrecen."><?= htmlspecialchars($employer['description'] ?? '') ?></textarea> </div> <div class="col-md-6"> <label class="form-label">Página web</label> <input type="text" name="website" class="form-control" value="<?= htmlspecialchars($employer['website'] ?? '') ?>" placeholder="https://empresa.com"> </div> <div class="col-md-3"> <label class="form-label">País</label> <select name="country" class="form-select" required> <option value="">Selecciona un país</option> <?php foreach (($countries ?? []) as $country): ?> <option value="<?= htmlspecialchars($country) ?>" <?= ($employer['country'] ?? '') === $country ? 'selected' : '' ?>> <?= htmlspecialchars($country) ?> </option> <?php endforeach; ?> </select> </div> <div class="col-md-3"> <label class="form-label">Fecha de registro</label> <input type="date" name="registration_date" class="form-control" value="<?= htmlspecialchars($employer['registration_date'] ?? '') ?>"> </div> <div class="col-md-6"> <label class="form-label">Dirección física</label> <input type="text" name="address" class="form-control" value="<?= htmlspecialchars($employer['address'] ?? '') ?>" placeholder="Calle, ciudad"> </div> <div class="col-md-6"> <label class="form-label">Correo corporativo</label> <input type="email" name="corporate_email" class="form-control" value="<?= htmlspecialchars($employer['corporate_email'] ?? '') ?>" placeholder="contacto@empresa.com"> </div> <div class="col-md-6"> <label class="form-label">Teléfono fijo</label> <input type="text" name="landline" class="form-control" value="<?= htmlspecialchars($employer['landline'] ?? '') ?>"> </div> <div class="col-md-6"> <label class="form-label">Rango salarial promedio</label> <input type="text" name="average_salary_range" class="form-control" value="<?= htmlspecialchars($employer['average_salary_range'] ?? '') ?>" placeholder="<?= htmlspecialchars($currencySymbol ?? '$') ?>3M - <?= htmlspecialchars($currencySymbol ?? '$') ?>5M"> </div> <div class="col-md-6"> <label class="form-label">Beneficios</label> <input type="text" name="benefits" class="form-control" value="<?= htmlspecialchars($employer['benefits'] ?? '') ?>" placeholder="Bonos, salud, etc."> </div> <div class="col-md-6"> <label class="form-label">Plan asignado</label> <select name="plan_id" class="form-select"> <option value="">Sin plan</option> <?php foreach ($plans as $plan): ?> <option value="<?= $plan['id'] ?>" <?= (int)($employer['plan_id'] ?? 0) === (int)$plan['id'] ? 'selected' : '' ?>> <?= htmlspecialchars($plan['name']) ?> - <?= App\Services\SiteSettings::formatPrice((float)$plan['price']) ?> </option> <?php endforeach; ?> </select> </div> <div class="col-md-6"> <label class="form-label">Logo de la empresa</label> <input type="file" name="logo" class="form-control" accept="image/*"> <?php if ($currentLogoUrl): ?> <small class="text-muted d-block mt-1">Actual: <button type="button" class="btn btn-link p-0 align-baseline" data-bs-toggle="modal" data-bs-target="#<?= $logoModalId ?>"> Ver logo </button> </small> <?php endif; ?> </div> <div class="col-md-6"> <label class="form-label">WhatsApp</label> <input type="text" name="whatsapp" class="form-control" value="<?= htmlspecialchars($employer['whatsapp']) ?>" placeholder="+573001234567" pattern="^\+\d{7,15}$" title="Incluye el código de país, ejemplo: +573001234567" required> </div> <div class="col-md-6 d-flex align-items-end"> <div class="form-check form-switch"> <input class="form-check-input" type="checkbox" name="status" id="statusSwitch" <?= $employer['status'] ? 'checked' : '' ?>> <label class="form-check-label" for="statusSwitch">Habilitar acceso</label> </div> </div> <div class="col-12 d-flex justify-content-end gap-3"> <a href="<?= App\Helpers\Url::to('/admin/employers') ?>" class="btn btn-outline-secondary">Cancelar</a> <button type="submit" class="btn btn-primary">Guardar</button> </div> </form> <?php if ($currentLogoUrl): ?> <div class="modal fade" id="<?= $logoModalId ?>" tabindex="-1" aria-hidden="true"> <div class="modal-dialog modal-dialog-centered modal-sm"> <div class="modal-content"> <div class="modal-header py-2"> <h6 class="modal-title mb-0">Logo actual</h6> <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Cerrar"></button> </div> <div class="modal-body text-center"> <img src="<?= htmlspecialchars($currentLogoUrl) ?>" alt="Logo actual" class="img-fluid rounded"> </div> </div> </div> </div> <?php endif; ?> </section> </main> </div> </div> </div> <?php require $partials . '/footer.php'; ?>
Coded With 💗 by
0x6ick