Ejemplo n.º 1
0
	<div class="form-element one-liner">
		<label for="advert-description"><?php 
echo Translate::string("create_ad_form.description_label");
?>
 *</label>
		<textarea name="description" id="advert-description" required="required" rows="7" maxlength="1000" ></textarea>
	</div>

	<div class="form-element one-liner">
		<label for="advert-lang"><?php 
echo Translate::string("create_ad_form.language_label");
?>
 *</label>
		<select  class="btn" id="advert-lang" name="languageID">
			<?php 
$Langs = FormElement::getLanguages();
if ($Langs) {
    foreach ($Langs as $lang) {
        echo '<option value="' . $lang['id'] . '">' . $lang['eng_name'] . ' (' . $lang['native_name'] . ')</option>';
    }
}
?>
		</select>
	</div>
<!-- 
	<div class="form-element one-liner">
		<label for="advert-img-input">Upload photos *</label>
		<input id="advert-img-input" type="file" multiple name="photos[]" class="btn">
	</div>
 -->
</section>