virt2/api/mod/user.html

113 lines
6.9 KiB
HTML
Raw Permalink Normal View History

{* Шаблон модуля профиль пользователя *}
{include file=$header h1="Профиль" title="Профиль" description="тут надо что-то написать, но не суть, все равно поисковые роботы не в силах здесь прочесть..." css="<link rel='stylesheet' href='/api/jquery/jquery-ui/jquery-ui-1.12.1/jquery-ui.css'>
<link rel='stylesheet' href='/api/jquery/jquery-ui/jquery-ui-1.12.1/jquery-ui.theme.min.css'>
"}
<div id="tabs" class="mb-20">
<ul>
<li><a href="#tabs-1">{$user[0].login}</a></li>
<li><a href="#tabs-2">Фотографии</a></li>
<li><a href="#tabs-3">Блоги</a></li>
</ul>
<div id="tabs-1">
{* Основная информация профиля *}
<div class="row">
<div class="col-xs col-sm col-md-3 col-lg-3" style="text-align:center;">
<img src="/img/ava/300/{$user[0].ava|default:"1305605.png"}" class="img_ava_mod_user img-thumbnail">
<div class="alert alert-info" title="Репутация">{$user[0].repa}</div>
<button type="button" class="btn btn-outline-dark">Дружить</button>
</div>
<div class="col-xs col-sm col-md col-lg">
<h3>{$user[0].fam} {$user[0].imya}</h3>
<h5>{$user[0].dr}</h5>
<h5>{$user[0].gorod} - {$user[0].rayon}</h5>
</div>
</div>
</div>
<div id="tabs-2">
<p>Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.</p>
</div>
<div id="tabs-3">
<p>Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.</p>
<p>Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.</p>
</div>
</div>
{*
<div id="wr-tabs">
<div class="tabs">
<div class="tab active">{$user[0].login}</div>
<div class="tab">Интересы</div>
<div class="tab">Знакомства</div>
<div class="tab">Записи</div>
</div>
<div class="content">
<div class="tab-cont active">
<div class="row">
<div class="col-xs col-sm col-md-3 col-lg-3" style="text-align:center;">
<img src="/img/ava/300/{$user[0].ava|default:"1305605.png"}" class="img_ava_mod_user img-thumbnail">
<form id="upload-image" enctype="multipart/form-data">
<a href="#" class="text-center" id="a_select_img" style="font-size: 9pt;">Сменить аватар</a>
<input type="file" id="image" name="image" class="hidden" style="margin-top:5px;" title="Обложка">
<input type="hidden" name="act" value="update_ava">
</form>
<div class="alert alert-info" title="Репутация">{$user[0].repa}</div>
</div>
<div class="col-xs col-sm col-md col-lg">
<form role="form" id="form_save_os_data">
<div class="form-group">
<label for="imya">Имя</label>
<input type="text" class="form-control" name="imya" value="{$user[0].imya}" placeholder="">
<input type="hidden" name="act" value="save_os_data">
</div>
<div class="form-group">
<label for="pass">Фамилия</label>
<input type="text" class="form-control" name="fam" value="{$user[0].fam}" placeholder="">
</div>
<div class="form-group">
<label for="pass">Дата рождения</label>
<input type="text" class="form-control" name="dr" value="{$user[0].dr}" placeholder="01.01.1974">
</div>
<div class="form-group">
<label for="pass">Город</label>
<input type="text" class="form-control" name="gorod" value="{$user[0].gorod}" placeholder="Нижний Тагил">
</div>
<div class="form-group">
<label for="pass">Район</label>
<input type="text" class="form-control" name="rayon" value="{$user[0].rayon}" placeholder="">
</div>
<input type="submit" name="ok" class="btn btn-outline-success" value="Сохранить">
</form>
</div>
</div>
</div>
<div class="tab-cont">
<!-- Интересы -->
<form role="form" id="form_save_int">
<div class="form-group">
<label for="imya">Любимая музыка (жанры, исполнители, песни)</label>
<textarea class="form-control h-250" name="muz">{$usersubdata[0].muz}</textarea>
</div>
<div class="form-group">
<label for="imya">Любимые фильмы</label>
<textarea class="form-control h-250" name="films">{$usersubdata[0].films}</textarea>
</div>
<div class="form-group">
<label for="imya">Любимые игры</label>
<textarea class="form-control h-250" name="games">{$usersubdata[0].games}</textarea>
</div>
<div class="form-group">
<label for="imya">Любимые цитаты</label>
<textarea class="form-control h-250" name="citata">{$usersubdata[0].citata}</textarea>
</div>
<input type="submit" name="ok" class="btn btn-outline-success" value="Сохранить">
</form>
<!-- END Интересы -->
</div>
<div class="tab-cont">
Контент №3
</div>
<div class="tab-cont">
Контент №4
</div>
</div>
</div>*}
{include file=$footer}