<?php $fleet_description = unserialize($val->description); ?> <?php if ($fleet_description == false) { $fleet_description['gb'] = $val->description; } ?> <?php $lang = isset($_SESSION['carrental_language']) && !empty($_SESSION['carrental_language']) ? $_SESSION['carrental_language'] : 'en_GB'; ?> <?php $lang = end(explode('_', $lang)); ?> <?php echo isset($fleet_description[strtolower($lang)]) ? CarRental::removeslashes($fleet_description[strtolower($lang)]) : CarRental::removeslashes($fleet_description['gb']); ?> <?php $additional_parameters = unserialize($val->additional_parameters); ?> <?php $lang = isset($_SESSION['carrental_language']) && !empty($_SESSION['carrental_language']) ? $_SESSION['carrental_language'] : 'en_GB'; ?> <?php $lang = strtolower(end(explode('_', $lang))); ?> <?php if ($additional_parameters && isset($additional_parameters[$lang]) && !empty($additional_parameters[$lang])) { ?> <?php foreach ($additional_parameters[$lang] as $p) {
<label for="email_status_pending_other_subject">Status pending other email subject</label> <input class="form-control" type="text" id="email_status_pending_other_subject" name="email_status_pending_other_subject" value="<?php if (!empty($email_subject)) { echo $email_subject; } else { ?> Reservation #[ReservationNumber] is pending <?php } ?> "> <label for="email_status_pending_other">Pending other e-mail</label> <textarea class="form-control" rows="20" id="email_status_pending_other" name="email_status_pending_other"> <?php if (!empty($email_body)) { echo CarRental::removeslashes(stripslashes(str_replace('\\\\', '', $email_body))); } else { ?> Dear [CustomerName], thank you for your reservation. We have received it and one of our agents will review it momentarily. At this moment, your reservation is pending. One we have confirmed your reservation, we will inform you via email. Thank you, reservation team @ website url <?php } ?> </textarea>
} ?> <textarea class="form-control fleet_description fleet_description_<?php echo strtolower($val['country-www']); ?> " name="description[<?php echo strtolower($val['country-www']); ?> ]" rows="3" placeholder="Brief description of cars in <?php echo $val['lang']; ?> (<?php echo strtoupper($val['country-www']); ?> )."><?php echo isset($fleet_description[strtolower($val['country-www'])]) && !empty($fleet_description[strtolower($val['country-www'])]) ? CarRental::removeslashes($fleet_description[strtolower($val['country-www'])]) : ''; ?> </textarea> <?php } } ?> <p class="help-block">This is shown under "show more info".</p> </div> </div> <!-- Deposit //--> <div class="form-group"> <label for="carrental-deposit" class="col-sm-3 control-label">Deposit</label> <div class="col-sm-9"> <input type="text" name="deposit" class="form-control" id="carrental-deposit" placeholder="How much the deposit on the car will be." value="<?php
<?php } ?> <?php } ?> </div> </div> <!-- Description //--> <div class="form-group"> <label for="carrental-description" class="col-sm-3 control-label">Description</label> <div class="col-sm-9"> <div class="carrental_extras_translations" data-lng="gb"> <textarea class="form-control" name="description" id="carrental-description" rows="3"><?php echo $edit == true ? CarRental::removeslashes($detail->description) : ''; ?> </textarea> </div> <?php if ($edit == true) { ?> <?php $description_translations = unserialize($detail->description_translations); ?> <?php if (empty($description_translations)) { $description_translations = array(); } ?> <?php