0byt3m1n1
Path:
/
var
/
www
/
listcrawler.app
/
public_html
/
admin
/
forms
/
[
Home
]
File: location_info_form.php
<fieldset> <div class="form-group"> <label for="Location">Location *</label> <?php echo $getLocation["location_name"]; ?> </div> <div class="form-group"> <label for="title">Title *</label> <input type="text" name="title" value="<?php echo htmlspecialchars($edit ? $location_info['title'] : '', ENT_QUOTES, 'UTF-8'); ?>" placeholder="Title" class="form-control" id="title" style="width: 70%;"> </div> <div class="form-group"> <label for="title">Detail *</label> <textarea name="detail" placeholder="Detail" class="form-control" id="detail" style="width: 70%;height: 500px;"><?php echo htmlspecialchars(($edit) ? $location_info['detail'] : '', ENT_QUOTES, 'UTF-8'); ?></textarea> </div> <div class="form-group"> <br><label for="subarea_name">Allow Custom Location Info on Ad Listing Page? *</label> <br><br> <input type="radio" id="is_active_y" name="is_active" value="Y" <?php if($edit && ($location_info['is_active'] == 'Y')) { echo "checked";} ?>> <label for="active">Yes</label><br> <input type="radio" id="is_active_n" name="is_active" value="N" <?php if($edit && ($location_info['is_active'] == 'N')) { echo "checked";} ?>> <label for="inactive">No</label><br> </div> <h3> Manage Custom Title & Meta on Ad Listing Pages</h3><br> <div class="form-group"> <label for="title_city">Page Title - Ad Listing Page</label> <input type="text" name="title_city" value="<?php echo htmlspecialchars($edit ? $location_info['title_city'] : '', ENT_QUOTES, 'UTF-8'); ?>" placeholder="Title for Ad Listing Page" class="form-control" id="title_city"> </div> <div class="form-group"> <label for="meta_desc_city">Meta Description - Ad Listing Page</label> <input type="text" name="meta_desc_city" value="<?php echo htmlspecialchars($edit ? $location_info['meta_desc_city'] : '', ENT_QUOTES, 'UTF-8'); ?>" placeholder="Meta Description for Ad Listing Page" class="form-control" id="meta_desc_city"> </div> <div class="form-group"> <label for="meta_key_city">Meta Keywords - Ad Listing Page</label> <input type="text" name="meta_key_city" value="<?php echo htmlspecialchars($edit ? $location_info['meta_key_city'] : '', ENT_QUOTES, 'UTF-8'); ?>" placeholder="Meta Keywords for Ad Listing Page" class="form-control" id="meta_key_city"> </div> <div class="form-group text-center" style="margin-top:50px;"> <label></label> <button type="submit" class="btn btn-warning" >Save <i class="glyphicon glyphicon-send"></i></button> </div> </fieldset>