шаблон
Сообщений 1 страница 3 из 3
Поделиться12020-08-20 16:46:38
topic=new
[input topic-name=Гость]
[html]<script>function viewDiv(){
document.getElementsByClassName("swppg")[0].style.display = "block";
};
function closeDiv(){
document.getElementsByClassName("swppg")[0].style.display = "none";
};
</script>
<style>
.swppg{
display: none;
background: url(https://forumstatic.ru/files/001a/e1/ae/22886.png);
height:391px;
width:593px;
margin: -391px 0 0;
z-index:10;
position: relative;
}
.swank #swopen{
position:relative;
top:-103px;
left:215px;
}
.swppg #swclose{
position:relative;
top:371px;
left:235px;
}
.swank #swopen, .swppg #swclose {
background: #bf7785!important;
border: 1px solid #bf7785;
box-shadow: inset 0 0 5px #a75565;
font-size:9px;
height:9x;
padding:1px 5px 2px;
text-transform:uppercase;
font-family:roboto condensed;
letter-spacing:2px;
font-weight:bold;
color:#fff;
}
</style>[/html]
[input width=230]*имя персонажа на англ.[/input]
[input width=70]*дата р-я[/input]
[input width=47]*возраст[/input]
[input width=188]*профессия[/input]
[input width=188]*место рождения[/input]
[html]<img class=imgpic src="https://via.placeholder.com/100" onload="if(!$(this).hasClass('set')&&$(this).next().text().match(/(?:png|gif|jpg|gifv)$/i)){$(this).addClass('set');this.src=$(this).next().hide().text()}"><pre class=picpre>[input width=100]*ссылка на картинку[/input]</pre>[/html]
[select]liker|gamer|flooder[/select]
[input width=188]*имя, фамилия на русском [/input]
[input width=188]*внешность[/input]
[input width=188]*ориентация[/input]
[input width=188]*семейное положение[/input]
[textarea width=540 height=160]*описание персонажа в свободной форме[/textarea]
[html]<input type="button" value="открыть личную страницу" onmousedown="viewDiv()" id=swopen>[/html]
[html]<input type="button" value="вернуться к анкете" onmousedown="closeDiv()" id=swclose>[/html]
***QUESTIONARY***
%[%input topic-name=[you%]%]
%[%html%]%<script>function viewDiv(){
document.getElementsByClassName("swppg")%[%0%]%.style.display = "block";
};
function closeDiv(){
document.getElementsByClassName("swppg")%[%0%]%.style.display = "none";
};
</script>
<style>
.swppg{
display: none;
background: url(https://forumstatic.ru/files/001a/e1/ae/22886.png);
height:391px;
width:593px;
margin: -391px 0 0;
z-index:10;
position: relative;
}
.swank #swopen{
position:relative;
top:-103px;
left:215px;
}
.swppg #swclose{
position:relative;
top:371px;
left:235px;
}
.swank #swopen, .swppg #swclose {
background: #bf7785!important;
border: 1px solid #bf7785;
box-shadow: inset 0 0 5px #a75565;
font-size:9px;
height:9x;
padding:1px 5px 2px;
text-transform:uppercase;
font-family:roboto condensed;
letter-spacing:2px;
font-weight:bold;
color:#fff;
}
</style>%[%/html%]%
%[%block=swank%]%
%[%block=name%]%%[%input width=230%]%*имя персонажа на англ.%[%/input%]%%[%/block%]%
%[%block=age%]%%[%input width=70%]%*дата р-я%[%/input%]%%[%/block%]%
%[%block=age2%]%%[%input width=47%]%*возраст%[%/input%]%%[%/block%]%
%[%block=job%]%%[%input width=188%]%*профессия%[%/input%]%%[%/block%]%
%[%block=born%]%%[%input width=188%]%*место рождения%[%/input%]%%[%/block%]%
%[%block=pic%]%%[%html%]%<img class=imgpic src="https://via.placeholder.com/100" onload="if(!$(this).hasClass('set')&&$(this).next().text().match(/(?:png|gif|jpg|gifv)$/i)){$(this).addClass('set');this.src=$(this).next().hide().text()}"><pre class=picpre>%[%input width=100%]%*ссылка на картинку%[%/input%]%</pre>%[%/html%]%%[%/block%]%
%[%block=group%]%%[%select%]%liker|gamer|flooder%[%/select%]%%[%/block%]%
%[%block=runame%]%%[%input width=188%]%*имя, фамилия на русском %[%/input%]%%[%/block%]%
%[%block=faceclaim%]%%[%input width=188%]%*внешность%[%/input%]%%[%/block%]%
%[%block=sex%]%%[%input width=188%]%*ориентация%[%/input%]%%[%/block%]%
%[%block=rel%]%%[%input width=188%]%*семейное положение%[%/input%]%%[%/block%]%
%[%block=info%]%%[%textarea width=540 height=160%]%*описание персонажа в свободной форме%[%/textarea%]%%[%/block%]%
%[%html%]%<input type="button" value="открыть личную страницу" onmousedown="viewDiv()" id=swopen>%[%/html%]%
%[%/block%]%
%[%block=swppg%]%%[%html%]%<input type="button" value="вернуться к анкете" onmousedown="closeDiv()" id=swclose>%[%/html%]%%[%/block%]%

