update
This commit is contained in:
parent
51388255cc
commit
9afdd245d2
|
|
@ -2,7 +2,7 @@
|
|||
/*
|
||||
Urmi you happy me happy licence
|
||||
|
||||
Copyright (/c) 2026 shreebhattji
|
||||
Copyright (c) 2026 shreebhattji
|
||||
|
||||
License text:
|
||||
https://github.com/shreebhattji/Urmi/blob/main/licence.md
|
||||
|
|
@ -26,74 +26,75 @@ function getValue($data, $key) {
|
|||
<div class="containerindex">
|
||||
<h2 style="text-align: center; color: white; margin-bottom: 20px;">Company Information Entry</h2>
|
||||
|
||||
<form action="" method="POST" enctype="multipart/mask" class="shadow p-4 bg-dark rounded" style="max-width: 900px; margin: 0 auto; color: white; border: 1px solid #333;">
|
||||
<div class="grid" style="display: grid; grid-template-columns: 1fr 1fr; gap: 20px;">
|
||||
<form action="" method="POST" enctype="multipart/form-data" class="card" style="max-width: 1000px; margin: 0 auto; border: none;">
|
||||
<div class="grid">
|
||||
|
||||
<!-- Channel Details -->
|
||||
<div class="card" style="background: #111827; padding: 15px; border-radius: 8px; border: 1px solid #333;">
|
||||
<div class="card" style="background: rgba(255,255,255,0.03); margin-bottom: 0;">
|
||||
<label class="form-label">Channel Name</label>
|
||||
<input type="text" name="channel_name" class="form-control bg-dark text-white border-secondary" value="<?php echo htmlspecialchars(getValue($saved_data, 'channel_name')); ?>" required>
|
||||
</div>
|
||||
|
||||
<div class="card" style="background: #111827; padding: 15px; border-radius: 8px; border: 1px solid #333;">
|
||||
<div class="card" style="background: rgba(255,255,255,0.03); margin-bottom: 0;">
|
||||
<label class="form-label">Office Address</label>
|
||||
<textarea name="office_address" class="form-control bg-dark text-white border-secondary" rows="1" required><?php echo htmlspecialchars(getValue($saved_data, 'office_address')); ?></textarea>
|
||||
</div>
|
||||
|
||||
<!-- Contact Details -->
|
||||
<div class="card" style="background: #111827; padding: 15px; border-radius: 8px; border: 1px solid #333;">
|
||||
<div class="card" style="background: rgba(255,255,255,0.03); margin-bottom: 0;">
|
||||
<label class="form-label">Contact Details</label>
|
||||
<input type="text" name="contact_details" class="form-control bg-dark text-white border-secondary" value="<?php echo htmlspecialchars(getValue($saved_data, 'contact_details')); ?>" required>
|
||||
</div>
|
||||
|
||||
<!-- Enforcement Officer Details -->
|
||||
<div class="card" style="background: #111827; padding: 15px; border-radius: 8px; border: 1px solid #333;">
|
||||
<div class="card" style="background: rgba(255,255,255,0.03); margin-bottom: 0;">
|
||||
<label class="form-label">Enforcement Officer</label>
|
||||
<input type="text" name="enforcement_officer" class="form-control bg-dark text-white border-secondary" value="<?php echo htmlspecialchars(getValue($saved_data, 'enforcement_officer')); ?>" required>
|
||||
</div>
|
||||
|
||||
<div class="card" style="background: #111827; padding: 15px; border-radius: 8px; border: 1px solid #333;">
|
||||
<div class="card" style="background: rgba(255,255,255,0.03); margin-bottom: 0;">
|
||||
<label class="form-label">EO Contact Details</label>
|
||||
<input type="text" name="eo_contact_details" class="form-control bg-dark text-white border-secondary" value="<?php echo htmlspecialchars(getValue($saved_data, 'eo_contact_details')); ?>" required>
|
||||
</div>
|
||||
|
||||
<!-- Company Details -->
|
||||
<div class="card" style="background: #111827; padding: 15px; border-radius: 8px; border: 1px solid #333;">
|
||||
<div class="card" style="background: rgba(255,255,255,0.03); margin-bottom: 0;">
|
||||
<label class="form-label">Company Name</label>
|
||||
<input type="text" name="company_name" class="form-control bg-dark text-white border-secondary" value="<?php echo htmlspecialchars(getValue($saved_data, 'company_name')); ?>" required>
|
||||
</div>
|
||||
|
||||
<div class="card" style="background: #111827; padding: 15px; border-radius: 8px; border: 1px solid #333;">
|
||||
<div class="card" style="background: rgba(255,255,255,0.03); margin-bottom: 0;">
|
||||
<label class="form-label">CIN Number</label>
|
||||
<input type="text" name="cin_number" class="form-control bg-dark text-white border-secondary" value="<?php echo htmlspecialchars(getValue($saved_data, 'cin_number')); ?>" required>
|
||||
</div>
|
||||
|
||||
<div class="card" style="background: #111827; padding: 15px; border-radius: 8px; border: 1px solid #333;">
|
||||
<div class="card" style="background: rgba(255,255,255,0.03); margin-bottom: 0;">
|
||||
<label class="form-label">GSTIN Number</label>
|
||||
<input type="text" name="gstin_number" class="form-control bg-dark text-white border-secondary" value="<?php echo htmlspecialchars(getValue($saved_data, 'gstin_number')); ?>" required>
|
||||
</div>
|
||||
|
||||
<!-- File Uploads -->
|
||||
<div class="card" style="background: #111827; padding: 15px; border-radius: 8px; border: 1px solid #333;">
|
||||
<div class="card" style="background: rgba(255,255,255,0.03); margin-bottom: 0;">
|
||||
<label class="form-label">Upload Ad (PNG)</label>
|
||||
<input type="file" name="app_ad" class="form-control bg-dark text-white border-secondary" accept="image/png">
|
||||
<?php if (file_exists('/var/www/html/app_ad.png')): ?>
|
||||
<img src="/var/www/html/app_ad.png" class="mt-2 img-thumbnail" style="max-height: 60px;">
|
||||
<div class="mt-2"><small class="text-muted">Current:</small><br><img src="/var/www/html/app_ad.png" class="img-thumbnail" style="max-height: 60px;"></div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<div class="card" style="background: #111827; padding: 15px; border-radius: 8px; border: 1px solid #333;">
|
||||
<div class="card" style="background: rgba(255,255,255,0.03); margin-bottom: 0;">
|
||||
<label class="form-label">Upload Logo (PNG)</label>
|
||||
<input type="file" name="app_logo" class="form-control bg-dark text-white border-secondary" accept="image/png">
|
||||
<?php if (file_exists('/var/www/html/app_logo.png')): ?>
|
||||
<img src="/var/www/html/app_logo.png" class="mt-2 img-thumbnail" style="max-height: 60px;">
|
||||
<div class="mt-2"><small class="text-muted">Current:</small><br><img src="/var/www/html/app_logo.png" class="img-thumbnail" style="max-height: 60px;"></div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mt-4 text-center">
|
||||
<button type="submit" name="submit" class="green-btn" style="padding: 10px 40px;">Save All Details</button>
|
||||
<button type="submit" name="submit" class="green-btn" style="padding: 12px 40px;">Save All Details</button>
|
||||
</div>
|
||||
</control>
|
||||
</form>
|
||||
|
||||
<div class="mt-4">
|
||||
|
|
|
|||
Loading…
Reference in New Issue