Вход Регистрация
Файл: adultscript-2.0.3-pro/files/templates/defboot/user_profile.tpl.php
Строк: 248
<?php defined('_VALID') or die('Restricted Access!'); ?>
    <?php echo $this->fetch('_user_header'); ?>
                    <form id="account-form" class="form-horizontal" method="post" action="<?php echo REL_URL?>/user/profile/">
                        <fieldset>
                            <legend><?php echo __('personal-information'); ?></legend>
                            <div class="form-group">
                                  <label for="name" class="col-sm-2 control-label"><?php echo __('name'); ?></label>
                                  <div class="col-sm-4">
                                      <input name="name" type="text" class="form-control" id="name" value="<?php echo e($this->user['name']); ?>">
                                  </div>
                              </div>
                            <div class="form-group">
                                  <label for="birth_date" class="col-sm-2 control-label"><?php echo __('birthdate'); ?></label>
                                  <div class="col-sm-9">
                                      <?php echo p('date'$this->user['birth_date'], 'Date_'truetruetrue' class="form-control"'); ?>
                                  </div>
                              </div>
                            <div class="form-group">
                                  <label for="gender" class="col-sm-2 control-label"><?php echo __('gender'); ?></label>
                                  <div class="col-sm-9">
                                      <label class="radio-inline"><input name="gender" type="radio" id="gender_hidden" value="hidden"<?php if ($this->user['gender'] == 'hidden'): echo ' checked="checked"'; endif; echo '> ',__('hidden'); ?></label>
                                      <label class="radio-inline"><input name="gender" type="radio" id="gender_male" value="male"<?php if ($this->user['gender'] == 'male'): echo ' checked="checked"'; endif; echo '> ',__('male'); ?></label>
                                      <label class="radio-inline"><input name="gender" type="radio" id="gender_female" value="female"<?php if ($this->user['gender'] == 'female'): echo ' checked="checked"'; endif; echo '> ',__('female'); ?></label>
                                  </div>
                              </div>
                            <div class="form-group">
                                  <label for="relation" class="col-sm-2 control-label"><?php echo __('relation'); ?></label>
                                  <div class="col-sm-9">
                                      <label class="radio-inline"><input name="relation" type="radio" id="relation_hidden" value="hidden"<?php if ($this->user['relation'] == 'hidden'): echo ' checked="checked"'; endif; echo '> ',__('hidden'); ?></label>
                                      <label class="radio-inline"><input name="relation" type="radio" id="relation_single" value="single"<?php if ($this->user['relation'] == 'single'): echo ' checked="checked"'; endif; echo '> ',__('single'); ?></label>
                                      <label class="radio-inline"><input name="relation" type="radio" id="relation_taken" value="taken"<?php if ($this->user['relation'] == 'taken'): echo ' checked="checked"'; endif; echo '> ',__('taken'); ?></label>
                                      <label class="radio-inline"><input name="relation" type="radio" id="relation_open" value="open"<?php if ($this->user['relation'] == 'open'): echo ' checked="checked"'; endif; echo '> ',__('open'); ?></label>
                                  </div>
                              </div>
                            <div class="form-group">
                                  <label for="interested" class="col-sm-2 control-label"><?php echo __('interested'); ?></label>
                                  <div class="col-sm-9">
                                      <label class="radio-inline"><input name="interested" type="radio" id="interested_hidden" value="hidden"<?php if ($this->user['interested'] == 'hidden'): echo ' checked="checked"'; endif; echo '> ',__('hidden'); ?></label>
                                      <label class="radio-inline"><input name="interested" type="radio" id="interested_boys" value="boys"<?php if ($this->user['interested'] == 'boys'): echo ' checked="checked"'; endif; echo '> ',__('guys'); ?></label>
                                      <label class="radio-inline"><input name="interested" type="radio" id="interested_girls" value="girls"<?php if ($this->user['interested'] == 'girls'): echo ' checked="checked"'; endif; echo '> ',__('girls'); ?></label>
                                      <label class="radio-inline"><input name="interested" type="radio" id="interested_boys+girls" value="boys+girls"<?php if ($this->user['interested'] == 'boys+girls'): echo ' checked="checked"'; endif; echo '> ',__('both'); ?></label>
                                  </div>
                              </div>
                            <div class="form-group">
                                  <label for="website" class="col-sm-2 control-label"><?php echo __('website'); ?></label>
                                  <div class="col-sm-6">
                                      <input name="website" type="text" class="form-control" id="website" value="<?php echo e($this->user['website']); ?>">
                                  </div>
                              </div>
                        </fieldset>
                        <fieldset>
                            <legend><?php echo __('location-information'); ?></legend>
                            <div class="form-group">
                                <label for="country" class="col-sm-2 control-label"><?php echo __('country'); ?></label>
                                <div class="col-sm-5">
                                    <select name="country" id="country" class="form-control">
                                        <option value=""><?php echo __('country'); ?></option>
                                        <?php foreach ($this->countries as $code => $name): ?>
                                        <option value="<?php echo e($code); ?>"<?php if ($name == $this->user['country']): ?> selected="selected"<?php endif; ?>><?php echo e($name); ?></option>
                                        <?php endforeach; ?>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                  <label for="city" class="col-sm-2 control-label"><?php echo __('city'); ?></label>
                                  <div class="col-sm-5">
                                      <input name="city" type="text" class="form-control" id="city" value="<?php echo e($this->user['city']); ?>">
                                  </div>
                              </div>
                            <div class="form-group">
                                  <label for="zip" class="col-sm-2 control-label"><?php echo __('zip'); ?></label>
                                  <div class="col-sm-3">
                                      <input name="zip" type="text" class="form-control" id="zip" value="<?php echo e($this->user['zip']); ?>">
                                  </div>
                              </div>
                        </fieldset>
                        <fieldset>
                            <legend><?php echo __('random-information'); ?></legend>
                            <div class="form-group">
                                  <label for="about" class="col-sm-2 control-label"><?php echo __('about'); ?></label>
                                  <div class="col-sm-8">
                                      <textarea name="about" id="about" class="form-control"><?php echo e($this->user['about']); ?></textarea>
                                  </div>
                              </div>
                            <div class="form-group">
                                  <label for="occupation" class="col-sm-2 control-label"><?php echo __('occupation'); ?></label>
                                  <div class="col-sm-5">
                                      <input name="occupation" type="text" class="form-control" id="occupation" value="<?php echo e($this->user['occupation']); ?>">
                                  </div>
                              </div>
                            <div class="form-group">
                                  <label for="school" class="col-sm-2 control-label"><?php echo __('school'); ?></label>
                                  <div class="col-sm-5">
                                      <input name="school" type="text" class="form-control" id="school" value="<?php echo e($this->user['school']); ?>">
                                  </div>
                              </div>
                            <div class="form-group">
                                  <label for="company" class="col-sm-2 control-label"><?php echo __('company'); ?></label>
                                  <div class="col-sm-5">
                                      <input name="company" type="text" class="form-control" id="company" value="<?php echo e($this->user['company']); ?>">
                                  </div>
                              </div>
                            <div class="form-group">
                                  <label for="hobbies" class="col-sm-2 control-label"><?php echo __('interests'); ?></label>
                                  <div class="col-sm-8">
                                      <textarea name="hobbies" id="hobbies" class="form-control"><?php echo e($this->user['hobbies']); ?></textarea>
                                  </div>
                              </div>
                            <div class="form-group">
                                  <label for="movies" class="col-sm-2 control-label"><?php echo __('movies'); ?></label>
                                  <div class="col-sm-8">
                                      <textarea name="movies" id="movies" class="form-control"><?php echo e($this->user['movies']); ?></textarea>
                                  </div>
                              </div>
                            <div class="form-group">
                                  <label for="music" class="col-sm-2 control-label"><?php echo __('music'); ?></label>
                                  <div class="col-sm-8">
                                      <textarea name="music" id="music" class="form-control"><?php echo e($this->user['music']); ?></textarea>
                                  </div>
                              </div>
                            <div class="form-group">
                                  <label for="books" class="col-sm-2 control-label"><?php echo __('books'); ?></label>
                                  <div class="col-sm-8">
                                      <textarea name="books" id="books" class="form-control"><?php echo e($this->user['books']); ?></textarea>
                                  </div>
                              </div>
                            <div class="form-group">
                                  <label for="turn_on" class="col-sm-2 control-label"><?php echo __('turn-ons'); ?></label>
                                  <div class="col-sm-8">
                                      <textarea name="turn_on" id="turn_on" class="form-control"><?php echo e($this->user['turn_on']); ?></textarea>
                                  </div>
                              </div>
                            <div class="form-group">
                                  <label for="turn_off" class="col-sm-2 control-label"><?php echo __('turn-offs'); ?></label>
                                  <div class="col-sm-8">
                                      <textarea name="turn_off" id="turn_off" class="form-control"><?php echo e($this->user['turn_off']); ?></textarea>
                                  </div>
                              </div>
                        </fieldset>
                        <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-10">
                                <button name="submit-profile-edit" id="submit-profile-edit" class="btn btn-lg btn-default"><?php echo __('profile-update'); ?></button>
                            </div>
                        </div>                        
                    </form>
    <?php echo $this->fetch('_user_footer'); ?>
Онлайн: 3
Реклама