content_type

This commit is contained in:
Devdatt Bhatt 2026-05-20 20:52:08 +00:00
parent 500f3a7041
commit 6ed9904c3d
1 changed files with 15 additions and 1 deletions

View File

@ -243,11 +243,25 @@ include 'header.php';
</select>
</div>
</div>
<br>
<div class="dropdown-container">
<span class="dropdown-label">Content Type</span>
<div class="dropdown">
<select name="content_type" id="content_type">
<?php
$ratings = [];
foreach ($ratings as $desc) {
$selected = (getValue($saved_data, 'content_type') === $code) ? 'selected' : '';
echo "<option value=\"$code\" $selected>$desc</option>";
}
?>
</select>
</div>
</div>
<div class="input-group">
<input type="text" name="content_type" placeholder=" " value="<?php echo htmlspecialchars(getValue($saved_data, 'content_type')); ?>" required>
<label>Content Type</label>
</div>
<br>
<div class="input-group">
<input type="text" name="content_language" placeholder=" " value="<?php echo htmlspecialchars(getValue($saved_data, 'content_language')); ?>" required>
<label>Content Language</label>