Файл: adultscript-2.0.3-pro/files/mobile/templates/default/user_profile.tpl.php
Строк: 208
<?php defined('_VALID') or die('Restricted Access!'); ?>
<div data-role="content">
<?php echo $this->fetch('user_menu'); ?>
<div class="ui-bar ui-bar-b">
<h3><?php echo __('edit-profile'); ?></h3>
</div>
<div class="ui-body ui-body-b">
<p>
<form method="post" action="<?php echo MOBILE_REL; ?>/user/dashboard/">
<h4><?php echo __('personal-information'); ?></h4>
<div class="ui-body ui-body-c">
<div data-role="fieldcontain">
<label for="name"><?php echo __('name'); ?>:</label>
<input name="name" type="text" id="name" value="<?php echo e($this->profile['name']); ?>" />
</div>
<div data-role="fieldcontain">
<fieldset data-role="controlgroup" data-type="horizontal">
<legend><?php echo __('birthdate'); ?>:</legend>
<?php echo p('date', $this->profile['birth_date'], '', true, true, true, '', ' id="month"', ' id="day"', ' id="year"'); ?>
</fieldset>
</div>
<div data-role="fieldcontain">
<label for="gender"><?php echo __('gender'); ?>:</label>
<select name="gender" id="gender">
<option value="hidden"<?php if ($this->profile['gender'] == 'hidden'): echo ' selected="selected"'; endif; ?>><?php echo __('hidden'); ?></option>
<option value="male"<?php if ($this->profile['gender'] == 'male'): echo ' selected="selected"'; endif; ?>><?php echo __('male'); ?></option>
<option value="female"<?php if ($this->profile['gender'] == 'female'): echo ' selected="selected"'; endif; ?>><?php echo __('female'); ?></option>
</select>
</div>
<div data-role="fieldcontain">
<label for="relation"><?php echo __('relation'); ?>:</label>
<select name="relation" id="relation">
<option value="hidden"<?php if ($this->profile['relation'] == 'hidden'): echo ' selected="selected"'; endif; ?>><?php echo __('hidden'); ?></option>
<option value="single"<?php if ($this->profile['relation'] == 'single'): echo ' selected="selected"'; endif; ?>><?php echo __('single'); ?></option>
<option value="taken"<?php if ($this->profile['relation'] == 'taken'): echo ' selected="selected"'; endif; ?>><?php echo __('taken'); ?></option>
<option value="open"<?php if ($this->profile['relation'] == 'open'): echo ' selected="selected"'; endif; ?>><?php echo __('open'); ?></option>
</select>
</div>
<div data-role="fieldcontain">
<label for="interested"><?php echo __('interested'); ?>:</label>
<select name="interested" id="interested">
<option value="hidden"<?php if ($this->profile['interested'] == 'hidden'): echo ' selected="selected"'; endif; ?>><?php echo __('hidden'); ?></option>
<option value="boys"<?php if ($this->profile['interested'] == 'boys'): echo ' selected="selected"'; endif; ?>><?php echo __('boys'); ?></option>
<option value="girls"<?php if ($this->profile['interested'] == 'girls'): echo ' selected="selected"'; endif; ?>><?php echo __('girls'); ?></option>
<option value="boys+girls"<?php if ($this->profile['interested'] == 'boys+girls'): echo ' selected="selected"'; endif; ?>><?php echo ('boys-girls'); ?></option>
</select>
</div>
<div data-role="fieldcontain">
<label for="website"><?php echo __('website'); ?>:</label>
<input name="website" type="text" id="website" class="mega" value="<?php echo e($this->profile['website']); ?>" />
</div>
</div>
<h4><?php echo __('location-information'); ?></h4>
<div class="ui-body ui-body-c">
<div data-role="fieldcontain">
<label for="country"><?php echo __('country'); ?>:</label>
<select name="country" id="country">
<option value="">Select Country</option>
<?php foreach ($this->countries as $code => $name): ?>
<option value="<?php echo e($code); ?>"<?php if ($name == $this->profile['country']): ?> selected="selected"<?php endif; ?>><?php echo e($name); ?></option>
<?php endforeach; ?>
</select>
</div>
<div data-role="fieldcontain">
<label for="city"><?php echo __('city'); ?>:</label>
<input name="city" type="text" id="city" class="large" value="<?php echo e($this->profile['city']); ?>" />
</div>
<div data-role="fieldcontain">
<label for="zip"><?php echo __('zip'); ?>:</label>
<input name="zip" type="text" id="zip" class="small" maxlength="15" value="<?php echo e($this->profile['zip']); ?>" />
</div>
</div>
<h4><?php echo __('random-information'); ?></h4>
<div class="ui-body ui-body-c">
<div data-role="fieldcontain">
<label for="about"><?php echo __('about'); ?>:</label>
<textarea name="about" id="about" class="mega" rows="4" cols="60"><?php echo e($this->profile['about']); ?></textarea>
</div>
<div data-role="fieldcontain">
<label for="occupation"><?php echo __('occupation'); ?>:</label>
<input name="occupation" type="text" id="occupation" class="large" value="<?php echo e($this->profile['occupation']); ?>" />
</div>
<div data-role="fieldcontain">
<label for="school"><?php echo __('school'); ?>:</label>
<input name="school" type="text" id="school" class="large" value="<?php echo e($this->profile['school']); ?>" />
</div>
<div data-role="fieldcontain">
<label for="company"><?php echo __('company'); ?>:</label>
<input name="company" type="text" id="company" class="large" value="<?php echo e($this->profile['company']); ?>" />
</div>
<div data-role="fieldcontain">
<label for="hobbies"><?php echo __('interests'); ?>:</label>
<textarea name="hobbies" id="hobbies" class="mega" rows="4" cols="60"><?php echo e($this->profile['hobbies']); ?></textarea>
</div>
<div data-role="fieldcontain">
<label for="movies"><?php echo __('movies'); ?>:</label>
<textarea name="movies" id="movies" class="mega" rows="4" cols="60"><?php echo e($this->profile['movies']); ?></textarea>
</div>
<div data-role="fieldcontain">
<label for="music"><?php echo __('music'); ?>:</label>
<textarea name="music" id="music" class="mega" rows="4" cols="60"><?php echo e($this->profile['music']); ?></textarea>
</div>
<div data-role="fieldcontain">
<label for="books"><?php echo __('books'); ?>:</label>
<textarea name="books" id="books" class="mega" rows="4" cols="60"><?php echo e($this->profile['books']); ?></textarea>
</div>
<div data-role="fieldcontain">
<label for="turn_on"><?php echo __('turn-ons'); ?>:</label>
<textarea name="turn_on" id="turn_on" class="mega" rows="4" cols="60"><?php echo e($this->profile['turn_on']); ?></textarea>
</div>
<div data-role="fieldcontain">
<label for="turn_off"><?php echo __('turn-offs'); ?></label>
<textarea name="turn_off" id="turn_off" class="mega" rows="4" cols="60"><?php echo e($this->profile['turn_off']); ?></textarea>
</div>
</div>
<button type="submit" data-theme="b" name="submit-profile">Edit Profile</button>
</form>
</p>
</div>
</div>