DEV: Рефакторинг css и шаблонов
This commit is contained in:
parent
c230755d57
commit
223e85e4c3
43 changed files with 1250 additions and 1369 deletions
|
@ -37,6 +37,7 @@ class InfoController extends \MainController
|
|||
'post_num' => $post_num,
|
||||
'comm_num' => $comm_num,
|
||||
'vote_comm_num' => $vote_comm_num,
|
||||
'vote_post_num' => $vote_post_num,
|
||||
];
|
||||
|
||||
return view('info/stats', ['data' => $data, 'uid' => $uid]);
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<?php
|
||||
return [
|
||||
'My' => 'My',
|
||||
'AreaDev' => 'AreaDev',
|
||||
'Home' => 'Главная',
|
||||
'TOP' => 'TOP',
|
||||
|
@ -18,4 +17,5 @@ return [
|
|||
'Statistics' => 'Статистика',
|
||||
'Privacy' => 'Конфедициальность',
|
||||
'About' => 'О нас',
|
||||
'Info' => 'Информация',
|
||||
];
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
.admin {
|
||||
grid-column-start: 1;
|
||||
grid-column-end: 4;
|
||||
background: #fff;
|
||||
padding: 0.4rem 0.5rem;
|
||||
}
|
||||
|
||||
/* tables */
|
||||
.t-table {
|
||||
display: table;
|
||||
|
|
|
@ -1,25 +1,4 @@
|
|||
.info .telo {
|
||||
padding: 1px 16px 16px 20px;
|
||||
}
|
||||
.info-nav {
|
||||
margin: 20px 0 10px 0;
|
||||
overflow: hidden;
|
||||
clear: both;
|
||||
}
|
||||
.info-nav-right {
|
||||
float: right;
|
||||
}
|
||||
.info-nav-left {
|
||||
float: left;
|
||||
}
|
||||
.info-nav-right .md-icon, .info-nav-left .md-icon {
|
||||
width: 54px;
|
||||
height: 54px;
|
||||
stroke: #919191;
|
||||
}
|
||||
.info-nav-right .md-icon:hover, .info-nav-left .md-icon:hover {
|
||||
stroke: #666;
|
||||
}
|
||||
|
||||
.time-cont {
|
||||
width: 100%;
|
||||
max-width: 830px;
|
||||
|
|
|
@ -25,6 +25,61 @@ html, body {
|
|||
*, *:before, *:after {
|
||||
box-sizing: inherit;
|
||||
}
|
||||
article, aside, footer, header, section {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* основная сетка, подвал и sidebar */
|
||||
header {
|
||||
z-index: 10;
|
||||
display: flex;
|
||||
grid-area: header;
|
||||
}
|
||||
body > main {
|
||||
grid-area: main;
|
||||
}
|
||||
body {
|
||||
display: grid;
|
||||
grid-template-rows: auto 1fr auto;
|
||||
grid-template-columns: 1fr minmax(auto, 1110px) 1fr;
|
||||
grid-template-areas:
|
||||
". header ."
|
||||
". main ."
|
||||
". footer .";
|
||||
grid-row-gap: 0.2rem;
|
||||
max-width: 1110px;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
}
|
||||
footer {
|
||||
grid-area: footer;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
footer a {
|
||||
color: var(--color-gray-1);
|
||||
padding-right: 0.75em;
|
||||
font-size: 14px;
|
||||
}
|
||||
footer a:hover {
|
||||
color: var(--color-gray-2);
|
||||
}
|
||||
main {
|
||||
overflow: hidden;
|
||||
float: left;
|
||||
}
|
||||
#sidebar {
|
||||
display: none;
|
||||
padding: 0.4rem;
|
||||
margin-top: 40px;
|
||||
}
|
||||
#sidebar h3 {
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
font-size:11px;
|
||||
margin: 2px 0;
|
||||
}
|
||||
/* end */
|
||||
|
||||
a {
|
||||
color: #2562dc;
|
||||
cursor: pointer;
|
||||
|
@ -36,25 +91,29 @@ a:hover, a:focus{
|
|||
.right {
|
||||
float:right;
|
||||
}
|
||||
.w-100, .w-50, .w-66, .w-33 {
|
||||
float: left;
|
||||
}
|
||||
.w-100 {
|
||||
width: 100%;
|
||||
}
|
||||
.w-66 {
|
||||
width: 66%;
|
||||
}
|
||||
.w-50 {
|
||||
width: 50%;
|
||||
}
|
||||
.w-33 {
|
||||
width: 33%;
|
||||
}
|
||||
|
||||
.w-100, .w-50, .w-66, .w-33 {float: left;}
|
||||
.w-100 {width: 100%;}
|
||||
.w-66 {width: 66%;}
|
||||
.w-50 {width: 50%;}
|
||||
.w-33 {width: 33%;}
|
||||
|
||||
h1 {
|
||||
font-weight: 300;
|
||||
font-size: 1.2rem;
|
||||
margin: 0 0 20px 0;
|
||||
}
|
||||
h1.top.banner {
|
||||
font-size: 13px;
|
||||
color: var(--color-gray-1);
|
||||
margin-left: 16px;
|
||||
}
|
||||
h1.head {
|
||||
font-size: 21px;
|
||||
font-weight: normal;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
pre code {
|
||||
background: #272822;
|
||||
color: var(--color-white);
|
||||
|
@ -62,37 +121,51 @@ pre code {
|
|||
border-radius: 3px;
|
||||
display: inline-block;
|
||||
}
|
||||
h1.top {
|
||||
padding: 0 0 0 17px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
h1.top.banner {
|
||||
font-size: 13px;
|
||||
color: var(--color-gray-1);
|
||||
}
|
||||
code {
|
||||
color: #b63e56;
|
||||
background: #f5f2f0;
|
||||
padding: 1px 4px;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
.telo.detail .post a, .comm-telo-body a {
|
||||
|
||||
/* Хлебные крошки */
|
||||
ul.breadcrumb {
|
||||
padding: 0;
|
||||
font-family: sans-serif;
|
||||
font-size: 0.8rem;
|
||||
line-height: 0.8rem;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.breadcrumb .breadcrumb-item:not(:last-child) {
|
||||
margin-right: 0.2rem;
|
||||
}
|
||||
.breadcrumb .breadcrumb-item {
|
||||
color: var(--color-gray-1);
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
padding: 0.2rem 0;
|
||||
}
|
||||
.breadcrumb .breadcrumb-item:not(:last-child) a {
|
||||
color: var(--color-gray-1);
|
||||
}
|
||||
.breadcrumb .breadcrumb-item:not(:first-child)::before {
|
||||
color: var(--color-gray-1);
|
||||
content: "/";
|
||||
padding-right: 0.4rem;
|
||||
}
|
||||
.comm-telo-body a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.telo-profile, .telo-info, .box-users{
|
||||
margin-left: 5px;
|
||||
}
|
||||
.left-ots, p.info {
|
||||
margin-left: 15px;
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
.telo.comments h2 {
|
||||
.comments h2 {
|
||||
margin: 20px 0 1px 14px;
|
||||
font-weight: 300;
|
||||
}
|
||||
blockquote {
|
||||
font-style: italic;
|
||||
margin: 0.25em 0 0 0.5em;
|
||||
padding: 0 0 0 1em;
|
||||
border-left: 2px solid gray;
|
||||
}
|
||||
.logo {
|
||||
|
@ -101,10 +174,9 @@ blockquote {
|
|||
width: 26px;
|
||||
height: 26px;
|
||||
padding: 1px;
|
||||
margin: 0 11px 0 6px;
|
||||
color: var(--color-white);
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
@ -114,58 +186,23 @@ blockquote {
|
|||
.logo:hover, .logo:focus {
|
||||
color: var(--color-white);
|
||||
}
|
||||
|
||||
header {
|
||||
height: 45px;
|
||||
width: 100%;
|
||||
z-index: 10;
|
||||
display: flex;
|
||||
margin-bottom: 10px;
|
||||
.info-n {
|
||||
margin: 5px 0 10px 25px;
|
||||
overflow: hidden;
|
||||
clear: both;
|
||||
display: block;
|
||||
font-size: 15px;
|
||||
}
|
||||
footer {
|
||||
color: #999;
|
||||
padding: 0 0 20px 0;
|
||||
float: right;
|
||||
}
|
||||
footer a {
|
||||
color: #666;
|
||||
padding-right: 0.75em;
|
||||
}
|
||||
footer a:hover {
|
||||
color: #999;
|
||||
}
|
||||
.wrap {
|
||||
max-width: 1010px;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
padding: 0 3px;
|
||||
}
|
||||
header .wrap {
|
||||
display: flex;
|
||||
width: calc(100% - 6px);
|
||||
}
|
||||
.telo {
|
||||
width: 75%;
|
||||
max-width: 750px;
|
||||
float: left;
|
||||
}
|
||||
.sidebar {
|
||||
width: 25%;
|
||||
float: right;
|
||||
margin: 10px 0;
|
||||
}
|
||||
.sidebar h3 {
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
font-size:11px;
|
||||
margin: 2px 0;
|
||||
.info-n.active {
|
||||
color: #333;
|
||||
}
|
||||
.site-header {
|
||||
padding: 0.4rem 0.5rem;
|
||||
}
|
||||
.sb-telo {
|
||||
margin-bottom: 15px;
|
||||
border-left: 3px solid #a1a8ae;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.sb-telo .ava {
|
||||
border-radius: 8px;
|
||||
height: 16px;
|
||||
|
@ -188,13 +225,10 @@ header .wrap {
|
|||
.sb-telo a:hover {
|
||||
color: var(--color-gray-1);
|
||||
}
|
||||
.title, .menu {
|
||||
margin-top: 8px;
|
||||
}
|
||||
.menu-left {
|
||||
|
||||
.menu-left {
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
.menu-left ul > li {
|
||||
float: left;
|
||||
margin-right: 20px;
|
||||
|
@ -203,6 +237,7 @@ header .wrap {
|
|||
position: relative;
|
||||
margin-left: auto;
|
||||
align-items: center;
|
||||
margin-top: 2px;
|
||||
}
|
||||
.menu ul, .menu-left ul{
|
||||
margin: 0 0 0 5px;
|
||||
|
@ -216,7 +251,7 @@ header .wrap {
|
|||
margin-top: 2px;
|
||||
}
|
||||
.menu-lf {
|
||||
margin-left: 20px;
|
||||
margin-left: 20px;
|
||||
}
|
||||
.nav a {
|
||||
color: var(--color-gray-1);
|
||||
|
@ -425,12 +460,7 @@ input.form-about {width: 250px;}
|
|||
.box.setting textarea, .box.setting input {
|
||||
width: 300px;
|
||||
}
|
||||
.head {
|
||||
font-size: 21px;
|
||||
font-weight: normal;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
.md-icon {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
|
@ -622,9 +652,6 @@ ol.comment-telo {
|
|||
.comm-telo-body, .telo-detail_post{
|
||||
max-width: 750px;
|
||||
}
|
||||
.telo.comments .cm_add_link {
|
||||
margin-left: 40px;
|
||||
}
|
||||
.comm-telo-body p {
|
||||
margin: 5px 0;
|
||||
}
|
||||
|
@ -655,7 +682,7 @@ ol.comment-telo {
|
|||
.otst {
|
||||
margin: 0 1px;
|
||||
}
|
||||
.cm_addentry {
|
||||
.cm_addentry, .comments .cm_add_link, .comm-deletes {
|
||||
margin-left: 40px;
|
||||
}
|
||||
.addcomm, .delcomm, .editcomm {
|
||||
|
@ -683,15 +710,8 @@ ol.comment-telo {
|
|||
.fl.active .md-icon {
|
||||
stroke: #f56400;
|
||||
}
|
||||
.messages {
|
||||
margin: 0 15px;
|
||||
}
|
||||
.messages textarea.mess {
|
||||
width: 100%;
|
||||
}
|
||||
.msg-telo {
|
||||
margin: 10px;
|
||||
padding: 10px;
|
||||
textarea.mess {
|
||||
width: 96%;
|
||||
}
|
||||
.msg-ava {
|
||||
width: 18px;
|
||||
|
@ -702,6 +722,12 @@ ol.comment-telo {
|
|||
}
|
||||
|
||||
/* Profile */
|
||||
.profile {
|
||||
grid-column-start: 1;
|
||||
grid-column-end: 4;
|
||||
padding: 0.4rem 0.5rem;
|
||||
}
|
||||
|
||||
.avatar-user .md-icon {
|
||||
width: 104px;
|
||||
height: 104px;
|
||||
|
@ -722,7 +748,7 @@ ol.comment-telo {
|
|||
height: 100px;
|
||||
width: 100px;
|
||||
}
|
||||
.telo-profile, .telo-post {
|
||||
.telo-post {
|
||||
margin-left: 5px;
|
||||
}
|
||||
.box .boxline {
|
||||
|
@ -730,9 +756,9 @@ ol.comment-telo {
|
|||
margin-bottom: 0.9em;
|
||||
}
|
||||
.box_h {
|
||||
font-size: 12px;
|
||||
color: var(--color-gray-1);
|
||||
margin-top: -5px;
|
||||
font-size: 12px;
|
||||
color: var(--color-gray-1);
|
||||
margin-top: -5px;
|
||||
}
|
||||
.box label, .box .label_holder {
|
||||
display: block;
|
||||
|
@ -923,11 +949,26 @@ details > summary:focus { outline: none }
|
|||
/* Учтем Chrome, Safari. */
|
||||
details > summary::-webkit-details-marker { display: none }
|
||||
|
||||
|
||||
@media (min-width: 840px) {
|
||||
body {
|
||||
grid-template-columns: 1fr minmax(auto, 1110px) 220px 1fr;
|
||||
grid-template-areas:
|
||||
". header header ."
|
||||
". main sidebar ."
|
||||
". footer footer .";
|
||||
grid-gap: 0.4rem;
|
||||
}
|
||||
#sidebar {
|
||||
display: block;
|
||||
grid-area: sidebar;
|
||||
}
|
||||
main {
|
||||
max-width: calc(100vw - 220px - 1.2rem);
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 720px) {
|
||||
.no-mob {display: none;}
|
||||
.telo, .sidebar {width: 98%;}
|
||||
.sb-telo {margin-left: 0;}
|
||||
#sidebar, .no-mob {display: none;}
|
||||
main {max-width: 100vw;}
|
||||
.user_card .column {padding: 10px;}
|
||||
.user_card .gravatar {height: 55px;width: 55px;}
|
||||
}
|
||||
|
|
|
@ -4,136 +4,40 @@
|
|||
<path d="M7 5h6a3.5 3.5 0 0 1 0 7h-6z" />
|
||||
<path d="M13 12h1a3.5 3.5 0 0 1 0 7h-7v-7" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="strikethrough" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<line x1="5" y1="12" x2="19" y2="12" />
|
||||
<path d="M16 6.5a4 2 0 0 0 -4 -1.5h-1a3.5 3.5 0 0 0 0 7" />
|
||||
<path d="M16.5 16a3.5 3.5 0 0 1 -3.5 3h-1.5a4 2 0 0 1 -4 -1.5" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="italic" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<line x1="11" y1="5" x2="17" y2="5" />
|
||||
<line x1="7" y1="19" x2="13" y2="19" />
|
||||
<line x1="14" y1="5" x2="10" y2="19" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="h3" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<line x1="3" y1="5" x2="3" y2="19" />
|
||||
<line x1="3" y1="12" x2="12" y2="12" />
|
||||
<line x1="12" y1="5" x2="12" y2="19" />
|
||||
<path d="M16 11.5a2.5 2.5 0 1 1 2.5 2.5a2.5 2.5 0 1 1 -2.5 2.5" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="quota" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<path d="M4 21v-13a3 3 0 0 1 3 -3h10a3 3 0 0 1 3 3v6a3 3 0 0 1 -3 3h-9l-4 4" />
|
||||
<line x1="8" y1="9" x2="16" y2="9" />
|
||||
<line x1="8" y1="13" x2="14" y2="13" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="code" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<polyline points="7 8 3 12 7 16" />
|
||||
<polyline points="17 8 21 12 17 16" />
|
||||
<line x1="14" y1="4" x2="10" y2="20" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="cut" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<circle cx="7" cy="17" r="3" />
|
||||
<circle cx="17" cy="17" r="3" />
|
||||
<line x1="9.15" y1="14.85" x2="18" y2="4" />
|
||||
<line x1="6" y1="4" x2="14.85" y2="14.85" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="photo" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<line x1="15" y1="8" x2="15.01" y2="8" />
|
||||
<rect x="4" y="4" width="16" height="16" rx="3" />
|
||||
<path d="M4 15l4 -4a3 5 0 0 1 3 0l5 5" />
|
||||
<path d="M14 14l1 -1a3 5 0 0 1 3 0l2 2" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="plus" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<line x1="12" y1="5" x2="12" y2="19" />
|
||||
<line x1="5" y1="12" x2="19" y2="12" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="bell" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<path d="M10 5a2 2 0 0 1 4 0a7 7 0 0 1 4 6v3a4 4 0 0 0 2 3h-16a4 4 0 0 0 2 -3v-3a7 7 0 0 1 4 -6" />
|
||||
<path d="M9 17v1a3 3 0 0 0 6 0v-1" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="star" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<symbol id="star" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<path d="M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873z" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="eye" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<circle cx="12" cy="12" r="2" />
|
||||
<path d="M22 12c-2.667 4.667 -6 7 -10 7s-7.333 -2.333 -10 -7c2.667 -4.667 6 -7 10 -7s7.333 2.333 10 7" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="message" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<path d="M4 21v-13a3 3 0 0 1 3 -3h10a3 3 0 0 1 3 3v6a3 3 0 0 1 -3 3h-9l-4 4" />
|
||||
<line x1="8" y1="9" x2="16" y2="9" />
|
||||
<line x1="8" y1="13" x2="14" y2="13" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="arrow-up" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<line x1="12" y1="5" x2="12" y2="19" />
|
||||
<line x1="18" y1="11" x2="12" y2="5" />
|
||||
<line x1="6" y1="11" x2="12" y2="5" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="arrow-down" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<line x1="12" y1="5" x2="12" y2="19" />
|
||||
<line x1="18" y1="13" x2="12" y2="19" />
|
||||
<line x1="6" y1="13" x2="12" y2="19" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="chevrons-down" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<polyline points="6 9 12 15 18 9" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="chevrons-right" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<polyline points="7 7 12 12 7 17" />
|
||||
<polyline points="13 7 18 12 13 17" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="chevron-left" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<polyline points="15 6 9 12 15 18" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="chevron-right" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<polyline points="9 6 15 12 9 18" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="settings" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<path d="M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065z" />
|
||||
<circle cx="12" cy="12" r="3" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="user" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<circle cx="12" cy="7" r="4" />
|
||||
<path d="M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="ad" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<rect x="3" y="5" width="18" height="14" rx="2" />
|
||||
|
@ -141,14 +45,12 @@
|
|||
<line x1="7" y1="13" x2="11" y2="13" />
|
||||
<path d="M17 9v6h-1.5a1.5 1.5 0 1 1 1.5 -1.5" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="devices" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<rect x="13" y="8" width="8" height="12" rx="1" />
|
||||
<path d="M18 8v-3a1 1 0 0 0 -1 -1h-13a1 1 0 0 0 -1 1v12a1 1 0 0 0 1 1h9" />
|
||||
<line x1="16" y1="9" x2="18" y2="9" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="arrow-bar-to-right" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<line x1="14" y1="12" x2="4" y2="12" />
|
||||
|
@ -156,21 +58,6 @@
|
|||
<line x1="14" y1="12" x2="10" y2="8" />
|
||||
<line x1="20" y1="4" x2="20" y2="20" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="lock-open" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<rect x="5" y="11" width="14" height="10" rx="2" />
|
||||
<circle cx="12" cy="16" r="1" />
|
||||
<path d="M8 11v-5a4 4 0 0 1 8 0" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="lock-off" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<line x1="3" y1="3" x2="21" y2="21" />
|
||||
<path d="M19 19a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-6a2 2 0 0 1 2 -2h4m4 0h2a2 2 0 0 1 2 2v2" />
|
||||
<circle cx="12" cy="16" r="1" />
|
||||
<path d="M8 11v-3m.712 -3.278a4 4 0 0 1 7.288 2.278v4" />
|
||||
</symbol>
|
||||
<symbol id="lock" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<rect x="5" y="11" width="14" height="10" rx="2" />
|
||||
|
@ -185,63 +72,32 @@
|
|||
<line x1="12" y1="6" x2="12" y2="19" />
|
||||
<line x1="21" y1="6" x2="21" y2="19" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="chart-line" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<line x1="4" y1="19" x2="20" y2="19" />
|
||||
<polyline points="4 15 8 9 12 11 16 6 20 10" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="layers-intersect" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<rect x="8" y="4" width="12" height="12" rx="2" />
|
||||
<rect x="4" y="8" width="12" height="12" rx="2" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="artboard" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<rect x="8" y="8" width="8" height="8" rx="1" />
|
||||
<line x1="3" y1="8" x2="4" y2="8" />
|
||||
<line x1="3" y1="16" x2="4" y2="16" />
|
||||
<line x1="8" y1="3" x2="8" y2="4" />
|
||||
<line x1="16" y1="3" x2="16" y2="4" />
|
||||
<line x1="20" y1="8" x2="21" y2="8" />
|
||||
<line x1="20" y1="16" x2="21" y2="16" />
|
||||
<line x1="8" y1="20" x2="8" y2="21" />
|
||||
<line x1="16" y1="20" x2="16" y2="21" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="bulb" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<path d="M3 12h1m8 -9v1m8 8h1m-15.4 -6.4l.7 .7m12.1 -.7l-.7 .7" />
|
||||
<path d="M9 16a5 5 0 1 1 6 0a3.5 3.5 0 0 0 -1 3a2 2 0 0 1 -4 0a3.5 3.5 0 0 0 -1 -3" />
|
||||
<line x1="9.7" y1="17" x2="14.3" y2="17" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="bulb-off" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<path d="M9 16a5 5 0 1 1 6 0a3.5 3.5 0 0 0 -1 3a2 2 0 0 1 -4 0a3.5 3.5 0 0 0 -1 -3" />
|
||||
<line x1="9.7" y1="17" x2="14.3" y2="17" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="moon" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<path d="M12 3c0.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454z" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="sun" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<circle cx="12" cy="12" r="4" />
|
||||
<path d="M3 12h1m8 -9v1m8 8h1m-9 8v1m-6.4 -15.4l.7 .7m12.1 -.7l-.7 .7m0 11.4l.7 .7m-12.1 -.7l-.7 .7" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="edit" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<path d="M9 7h-3a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-3" />
|
||||
<path d="M9 15h3l8.5 -8.5a1.5 1.5 0 0 0 -3 -3l-8.5 8.5v3" />
|
||||
<line x1="16" y1="5" x2="19" y2="8" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="trash" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<line x1="4" y1="7" x2="20" y2="7" />
|
||||
|
@ -250,7 +106,6 @@
|
|||
<path d="M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12" />
|
||||
<path d="M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="discord" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<circle cx="9" cy="12" r="1" />
|
||||
|
@ -260,33 +115,24 @@
|
|||
<path d="M15.5 17c0 1 1.5 3 2 3c1.5 0 2.833 -1.667 3.5 -3c.667 -1.667 .5 -5.833 -1.5 -11.5c-1.457 -1.015 -3 -1.34 -4.5 -1.5l-1 2.5" />
|
||||
<path d="M8.5 17c0 1 -1.356 3 -1.832 3c-1.429 0 -2.698 -1.667 -3.333 -3c-.635 -1.667 -.476 -5.833 1.428 -11.5c1.388 -1.015 2.782 -1.34 4.237 -1.5l1 2.5" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="bookmark" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<path d="M9 4h6a2 2 0 0 1 2 2v14l-5-3l-5 3v-14a2 2 0 0 1 2 -2" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="bookmark-off" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<line x1="3" y1="3" x2="21" y2="21" />
|
||||
<path d="M17 17v3l-5 -3l-5 3v-13m1.178 -2.818c.252 -.113 .53 -.176 .822 -.176h6a2 2 0 0 1 2 2v7" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="vk" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<path d="M10 6h2v12c-4.5 -1 -8 -6.5 -9 -12" />
|
||||
<path d="M20 6c-1 2 -3 5 -5 6h-3" />
|
||||
<path d="M20 18c-1 -2 -3 -5 -5 -6" />
|
||||
</symbol>
|
||||
|
||||
<symbol id="mail" viewBox="0 0 32 32" stroke-width="1.4">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<rect x="3" y="5" width="18" height="14" rx="2" />
|
||||
<polyline points="3 7 12 13 21 7" />
|
||||
</symbol>
|
||||
</svg>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</svg>
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 7.4 KiB |
|
@ -19,106 +19,104 @@
|
|||
</head>
|
||||
<body class="bd">
|
||||
<header>
|
||||
<div class="wrap">
|
||||
<div class="title">
|
||||
<a title="На главную" class="logo" href="/">My</a>
|
||||
<div class="menu-left">
|
||||
<ul>
|
||||
<li class="nav no-mob">
|
||||
<a title="Админка" class="home" href="/admin">Админка</a>
|
||||
</li>
|
||||
<li class="nav no-mob">
|
||||
<a title="Участники" class="home" href="#">
|
||||
<div class="title">
|
||||
<a title="На главную" class="logo" href="/">My</a>
|
||||
<div class="menu-left">
|
||||
<ul>
|
||||
<li class="nav no-mob">
|
||||
<a title="Админка" class="home" href="/admin">Админка</a>
|
||||
</li>
|
||||
<li class="nav no-mob">
|
||||
<a title="Участники" class="home" href="#">
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#user"></use>
|
||||
</svg>
|
||||
Участники
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav no-mob">
|
||||
<a title="Посты" class="home" href="#">
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#devices"></use>
|
||||
</svg>
|
||||
Посты
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav no-mob">
|
||||
<a title="Комментарии" class="home" href="#">
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#message"></use>
|
||||
</svg>
|
||||
Комментарии
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="menu">
|
||||
<ul>
|
||||
|
||||
<?php if(!$uid['id']) { ?>
|
||||
<li class="nav">
|
||||
<a class="login" href="/login">Войти</a>
|
||||
</li>
|
||||
<li class="nav">
|
||||
<a class="register" href="/register">Регистрация</a>
|
||||
</li>
|
||||
<?php } else { ?>
|
||||
<?php if($uid['notif']) { ?>
|
||||
<li class="nav notif">
|
||||
<a class="nav" href="/notifications">
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#mail"></use>
|
||||
</svg>
|
||||
</a>
|
||||
</li>
|
||||
<?php } ?>
|
||||
<li class="dropbtn nav">
|
||||
<a class="b-my" href="#" title=""><span><?= $uid['login']; ?></span>
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#chevrons-down"></use>
|
||||
</svg>
|
||||
</a>
|
||||
<span class="dropdown-menu">
|
||||
<span class="st"></span>
|
||||
<a href="/u/<?= $uid['login']; ?>">
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#user"></use>
|
||||
</svg>
|
||||
Участники
|
||||
Профиль
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav no-mob">
|
||||
<a title="Посты" class="home" href="#">
|
||||
<a href="/users/setting">
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#settings"></use>
|
||||
</svg>
|
||||
Настройки
|
||||
</a>
|
||||
<a href="/threads/<?= $uid['login']; ?>">
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#devices"></use>
|
||||
</svg>
|
||||
Посты
|
||||
Мои ответы
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav no-mob">
|
||||
<a title="Комментарии" class="home" href="#">
|
||||
<a href="/admin" target="_black">
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#message"></use>
|
||||
<use xlink:href="/assets/svg/icons.svg#ad"></use>
|
||||
</svg>
|
||||
Админка
|
||||
</a>
|
||||
<hr>
|
||||
<a href="/logout" class="logout" target="_self" title="Выход">
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#arrow-bar-to-right"></use>
|
||||
</svg>
|
||||
Комментарии
|
||||
Выход
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="menu">
|
||||
<ul>
|
||||
|
||||
<?php if(!$uid['id']) { ?>
|
||||
<li class="nav">
|
||||
<a class="login" href="/login">Войти</a>
|
||||
</li>
|
||||
<li class="nav">
|
||||
<a class="register" href="/register">Регистрация</a>
|
||||
</li>
|
||||
<?php } else { ?>
|
||||
<?php if($uid['notif']) { ?>
|
||||
<li class="nav notif">
|
||||
<a class="nav" href="/notifications">
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#mail"></use>
|
||||
</svg>
|
||||
</a>
|
||||
</li>
|
||||
<?php } ?>
|
||||
<li class="dropbtn nav">
|
||||
<a class="b-my" href="#" title=""><span><?= $uid['login']; ?></span>
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#chevrons-down"></use>
|
||||
</svg>
|
||||
</a>
|
||||
<span class="dropdown-menu">
|
||||
<span class="st"></span>
|
||||
<a href="/u/<?= $uid['login']; ?>">
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#user"></use>
|
||||
</svg>
|
||||
Профиль
|
||||
</a>
|
||||
<a href="/users/setting">
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#settings"></use>
|
||||
</svg>
|
||||
Настройки
|
||||
</a>
|
||||
<a href="/threads/<?= $uid['login']; ?>">
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#devices"></use>
|
||||
</svg>
|
||||
Мои ответы
|
||||
</a>
|
||||
<a href="/admin" target="_black">
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#ad"></use>
|
||||
</svg>
|
||||
Админка
|
||||
</a>
|
||||
<hr>
|
||||
<a href="/logout" class="logout" target="_self" title="Выход">
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#arrow-bar-to-right"></use>
|
||||
</svg>
|
||||
Выход
|
||||
</a>
|
||||
</span>
|
||||
</li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</span>
|
||||
</li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<?php if ($uid['msg']) { ?>
|
||||
|
|
|
@ -1,67 +1,63 @@
|
|||
<?php include TEMPLATE_DIR . '/admin/header_admin.php'; ?>
|
||||
<section>
|
||||
<div class="wrap">
|
||||
<div class="telo-admin">
|
||||
<h1><?= $data['title']?></h1>
|
||||
|
||||
<div class="t-table">
|
||||
<div class="t-th">
|
||||
<span class="t-td center">N</span>
|
||||
<span class="t-td">Данные</span>
|
||||
<span class="t-td">E-mail</span>
|
||||
<span class="t-td">IP регистрации</span>
|
||||
<span class="t-td">Создан</span>
|
||||
<span class="t-td center">Удален? / Забанен</span>
|
||||
<span class="t-td center">Действие</span>
|
||||
</div>
|
||||
|
||||
|
||||
<?php foreach($data['users'] as $ind => $user) { ?>
|
||||
|
||||
<div class="t-tr">
|
||||
<span class="t-td w-30 center">
|
||||
<?= $user['id']; ?>
|
||||
</span>
|
||||
<span class="t-td">
|
||||
<img class="ava" src="/uploads/avatar/small/<?= $user['avatar']; ?>">
|
||||
<a href="/u/<?= $user['login']; ?>"><?= $user['login']; ?></a>
|
||||
<?php if($user['name']) { ?>
|
||||
(<?= $user['name']; ?>)
|
||||
<?php } ?>
|
||||
<sup class="red">TL:<?= $user['trust_level']; ?></sup><br>
|
||||
</span>
|
||||
<span class="t-td">
|
||||
<span class="date"><?= $user['email']; ?></span>
|
||||
</span>
|
||||
<span class="t-td">
|
||||
<?= $user['reg_ip']; ?> <?php if($user['replayIp'] > 1) { ?>
|
||||
<sup class="red">(<?= $user['replayIp']; ?>)</sup>
|
||||
<?php } ?>
|
||||
</span>
|
||||
<span class="t-td">
|
||||
<?= $user['created_at']; ?>
|
||||
</span>
|
||||
<span class="t-td center">
|
||||
<?php if($user['deleted'] == 0) { ?>Нет<?php }else{ ?><span class="red">Да</span><?php } ?>
|
||||
/
|
||||
<?php if($user['ban_list'] == 0) { ?>Нет<?php }else{ ?><span class="red">Да</span><?php } ?>
|
||||
</span>
|
||||
<span class="t-td center">
|
||||
<?php if($user['isBan']) { ?>
|
||||
<span class="user-ban" data-id="<?= $user['id']; ?>">
|
||||
<span class="red">разбанить</span>
|
||||
<span>
|
||||
<?php } else { ?>
|
||||
<span class="user-ban" data-id="<?= $user['id']; ?>">забанить<span>
|
||||
<?php } ?>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
||||
<?php } ?>
|
||||
<div class="admin">
|
||||
<div class="left-ots">
|
||||
|
||||
<h1><?= $data['title']?></h1>
|
||||
|
||||
<div class="t-table">
|
||||
<div class="t-th">
|
||||
<span class="t-td center">N</span>
|
||||
<span class="t-td">Данные</span>
|
||||
<span class="t-td">E-mail</span>
|
||||
<span class="t-td">IP регистрации</span>
|
||||
<span class="t-td">Создан</span>
|
||||
<span class="t-td center">Удален? / Забанен</span>
|
||||
<span class="t-td center">Действие</span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<?php foreach($data['users'] as $ind => $user) { ?>
|
||||
|
||||
<div class="t-tr">
|
||||
<span class="t-td w-30 center">
|
||||
<?= $user['id']; ?>
|
||||
</span>
|
||||
<span class="t-td">
|
||||
<img class="ava" src="/uploads/avatar/small/<?= $user['avatar']; ?>">
|
||||
<a href="/u/<?= $user['login']; ?>"><?= $user['login']; ?></a>
|
||||
<?php if($user['name']) { ?>
|
||||
(<?= $user['name']; ?>)
|
||||
<?php } ?>
|
||||
<sup class="red">TL:<?= $user['trust_level']; ?></sup><br>
|
||||
</span>
|
||||
<span class="t-td">
|
||||
<span class="date"><?= $user['email']; ?></span>
|
||||
</span>
|
||||
<span class="t-td">
|
||||
<?= $user['reg_ip']; ?> <?php if($user['replayIp'] > 1) { ?>
|
||||
<sup class="red">(<?= $user['replayIp']; ?>)</sup>
|
||||
<?php } ?>
|
||||
</span>
|
||||
<span class="t-td">
|
||||
<?= $user['created_at']; ?>
|
||||
</span>
|
||||
<span class="t-td center">
|
||||
<?php if($user['deleted'] == 0) { ?>Нет<?php }else{ ?><span class="red">Да</span><?php } ?>
|
||||
/
|
||||
<?php if($user['ban_list'] == 0) { ?>Нет<?php }else{ ?><span class="red">Да</span><?php } ?>
|
||||
</span>
|
||||
<span class="t-td center">
|
||||
<?php if($user['isBan']) { ?>
|
||||
<span class="user-ban" data-id="<?= $user['id']; ?>">
|
||||
<span class="red">разбанить</span>
|
||||
<span>
|
||||
<?php } else { ?>
|
||||
<span class="user-ban" data-id="<?= $user['id']; ?>">забанить<span>
|
||||
<?php } ?>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</section> <br>
|
||||
</div>
|
||||
<?php include TEMPLATE_DIR . '/footer.php'; ?>
|
|
@ -1,38 +1,36 @@
|
|||
<?php include TEMPLATE_DIR . '/header.php'; ?>
|
||||
<section>
|
||||
<div class="wrap">
|
||||
<div class="left-ots">
|
||||
<h1 class="head">Вход</h1>
|
||||
<div class="box wide">
|
||||
<form class="" action="/login" method="post">
|
||||
<?php csrf_field(); ?>
|
||||
<div class="boxline">
|
||||
<label for="email">Email</label>
|
||||
<input type="text" name="email" id="email" value="ss@sdf.ru">
|
||||
</div>
|
||||
<div class="boxline">
|
||||
<label for="password">Пароль</label>
|
||||
<input type="password" name="password" id="password" value="">
|
||||
<small>qwer14qwer14</small>
|
||||
</div>
|
||||
<main>
|
||||
<div class="left-ots">
|
||||
<h1 class="head">Вход</h1>
|
||||
<div class="box wide">
|
||||
<form class="" action="/login" method="post">
|
||||
<?php csrf_field(); ?>
|
||||
<div class="boxline">
|
||||
<label for="email">Email</label>
|
||||
<input type="text" name="email" id="email" value="ss@sdf.ru">
|
||||
</div>
|
||||
<div class="boxline">
|
||||
<label for="password">Пароль</label>
|
||||
<input type="password" name="password" id="password" value="">
|
||||
<small>qwer14qwer14</small>
|
||||
</div>
|
||||
|
||||
<div class="boxline">
|
||||
<input type="checkbox" id="rememberme" name="rememberme" value="1">
|
||||
<label class="form-check-label" for="rememberme">Запомнить меня</label>
|
||||
</div>
|
||||
<div class="boxline">
|
||||
<input type="checkbox" id="rememberme" name="rememberme" value="1">
|
||||
<label class="form-check-label" for="rememberme">Запомнить меня</label>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="boxline">
|
||||
<button type="submit" class="button-primary">Войти</button>
|
||||
<small>
|
||||
<span class="left-ots"><a href="/register">Регистрация</a></span>
|
||||
<span class="left-ots"><a href="/recover">Забыли пароль?</a></span>
|
||||
</small>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="boxline">
|
||||
<button type="submit" class="button-primary">Войти</button>
|
||||
<small>
|
||||
<span class="left-ots"><a href="/register">Регистрация</a></span>
|
||||
<span class="left-ots"><a href="/recover">Забыли пароль?</a></span>
|
||||
</small>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<?php include TEMPLATE_DIR . '/footer.php'; ?>
|
||||
|
|
|
@ -1,29 +1,27 @@
|
|||
<?php include TEMPLATE_DIR . '/header.php'; ?>
|
||||
<section>
|
||||
<div class="wrap">
|
||||
<div class="left-ots">
|
||||
<h1 class="head"><?= $data['title']; ?></h1>
|
||||
<div class="box wide">
|
||||
<form class="" action="/recover/send/pass" method="post">
|
||||
<?php csrf_field(); ?>
|
||||
<main>
|
||||
<div class="left-ots">
|
||||
<h1 class="head"><?= $data['title']; ?></h1>
|
||||
<div class="box wide">
|
||||
<form class="" action="/recover/send/pass" method="post">
|
||||
<?php csrf_field(); ?>
|
||||
<div class="boxline">
|
||||
<label for="password">Новый пароль</label>
|
||||
<input type="text" name="password" id="password">
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="boxline">
|
||||
<label for="password">Новый пароль</label>
|
||||
<input type="text" name="password" id="password">
|
||||
<input type="hidden" name="code" id="code" value="<?= $data['code']; ?>">
|
||||
<input type="hidden" name="user_id" id="user_id" value="<?= $data['user_id']; ?>">
|
||||
<button type="submit" class="button-primary">Сбросить</button>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="boxline">
|
||||
<input type="hidden" name="code" id="code" value="<?= $data['code']; ?>">
|
||||
<input type="hidden" name="user_id" id="user_id" value="<?= $data['user_id']; ?>">
|
||||
<button type="submit" class="button-primary">Сбросить</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<div class="boxline">
|
||||
<a href="/register">Регистрация</a>  
|
||||
<a href="/login">Войти</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<div class="boxline">
|
||||
<a href="/register">Регистрация</a>  
|
||||
<a href="/login">Войти</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<?php include TEMPLATE_DIR . '/footer.php'; ?>
|
||||
|
|
|
@ -1,35 +1,33 @@
|
|||
<?php include TEMPLATE_DIR . '/header.php'; ?>
|
||||
<section>
|
||||
<div class="wrap">
|
||||
<div class="left-ots">
|
||||
<h1 class="head"><?= $data['title']; ?></h1>
|
||||
<div class="box wide">
|
||||
<form class="" action="/recover/send" method="post">
|
||||
<?php csrf_field(); ?>
|
||||
<div class="boxline">
|
||||
<label for="email">Email</label>
|
||||
<input type="text" name="email" id="email">
|
||||
</div>
|
||||
<?php if ($GLOBALS['conf']['captcha']) { ?>
|
||||
<div class="captcha_data">
|
||||
<div class="captcha_wrap">
|
||||
<div class="g-recaptcha" data-theme="light" data-size="normal" data-callback="captcha_ready" data-sitekey="<?php echo $GLOBALS['conf']['public_key']; ?>"></div>
|
||||
<script async defer nonce="" src="https://www.google.com/recaptcha/api.js?hl=ru"></script>
|
||||
</div>
|
||||
</div> <br />
|
||||
<?php } ?>
|
||||
<div class="row">
|
||||
<div class="boxline">
|
||||
<button type="submit" class="button-primary">Сбросить</button>
|
||||
<small>
|
||||
<span class="left-ots"><a href="/register">Регистрация</a></span>
|
||||
<span class="left-ots"><a href="/login">Войти</a></span>
|
||||
</small>
|
||||
<main>
|
||||
<div class="left-ots">
|
||||
<h1 class="head"><?= $data['title']; ?></h1>
|
||||
<div class="box wide">
|
||||
<form class="" action="/recover/send" method="post">
|
||||
<?php csrf_field(); ?>
|
||||
<div class="boxline">
|
||||
<label for="email">Email</label>
|
||||
<input type="text" name="email" id="email">
|
||||
</div>
|
||||
<?php if ($GLOBALS['conf']['captcha']) { ?>
|
||||
<div class="captcha_data">
|
||||
<div class="captcha_wrap">
|
||||
<div class="g-recaptcha" data-theme="light" data-size="normal" data-callback="captcha_ready" data-sitekey="<?php echo $GLOBALS['conf']['public_key']; ?>"></div>
|
||||
<script async defer nonce="" src="https://www.google.com/recaptcha/api.js?hl=ru"></script>
|
||||
</div>
|
||||
</div> <br />
|
||||
<?php } ?>
|
||||
<div class="row">
|
||||
<div class="boxline">
|
||||
<button type="submit" class="button-primary">Сбросить</button>
|
||||
<small>
|
||||
<span class="left-ots"><a href="/register">Регистрация</a></span>
|
||||
<span class="left-ots"><a href="/login">Войти</a></span>
|
||||
</small>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<?php include TEMPLATE_DIR . '/footer.php'; ?>
|
||||
|
|
|
@ -1,48 +1,46 @@
|
|||
<?php include TEMPLATE_DIR . '/header.php'; ?>
|
||||
<section>
|
||||
<div class="wrap">
|
||||
<div class="left-ots">
|
||||
<h1 class="head">Регистрация</h1>
|
||||
<div class="box wide">
|
||||
<form class="" action="/register/add" method="post">
|
||||
<?php csrf_field(); ?>
|
||||
<div class="boxline">
|
||||
<label for="login">Никнейм</label>
|
||||
<input type="text" name="login" id="login">
|
||||
|
||||
</div>
|
||||
<div class="boxline">
|
||||
<label for="email">Email</label>
|
||||
<input type="text" name="email" id="email">
|
||||
</div>
|
||||
<div class="boxline">
|
||||
<label for="password">Пароль</label>
|
||||
<input type="password" name="password" id="password">
|
||||
</div>
|
||||
<div class="boxline">
|
||||
<label for="password_confirm">Повторите пароль</label>
|
||||
<input type="password" name="password_confirm" id="password_confirm">
|
||||
</div>
|
||||
<?php if ($GLOBALS['conf']['captcha']) { ?>
|
||||
<div class="captcha_data">
|
||||
<div class="captcha_wrap">
|
||||
<div class="g-recaptcha" data-theme="light" data-size="normal" data-callback="captcha_ready" data-sitekey="<?php echo $GLOBALS['conf']['public_key']; ?>"></div>
|
||||
<script async defer nonce="" src="https://www.google.com/recaptcha/api.js?hl=ru"></script>
|
||||
</div>
|
||||
</div> <br />
|
||||
<?php } ?>
|
||||
<div class="boxline">
|
||||
<div class="boxline">
|
||||
<button type="submit" class="button-primary">Регистрация</button>
|
||||
<small>
|
||||
<span class="left-ots"><a href="/login">Войти</a></span>
|
||||
</small>
|
||||
<main>
|
||||
<div class="left-ots">
|
||||
<h1 class="head">Регистрация</h1>
|
||||
<div class="box wide">
|
||||
<form class="" action="/register/add" method="post">
|
||||
<?php csrf_field(); ?>
|
||||
<div class="boxline">
|
||||
<label for="login">Никнейм</label>
|
||||
<input type="text" name="login" id="login">
|
||||
|
||||
</div>
|
||||
<div class="boxline">
|
||||
<label for="email">Email</label>
|
||||
<input type="text" name="email" id="email">
|
||||
</div>
|
||||
<div class="boxline">
|
||||
<label for="password">Пароль</label>
|
||||
<input type="password" name="password" id="password">
|
||||
</div>
|
||||
<div class="boxline">
|
||||
<label for="password_confirm">Повторите пароль</label>
|
||||
<input type="password" name="password_confirm" id="password_confirm">
|
||||
</div>
|
||||
<?php if ($GLOBALS['conf']['captcha']) { ?>
|
||||
<div class="captcha_data">
|
||||
<div class="captcha_wrap">
|
||||
<div class="g-recaptcha" data-theme="light" data-size="normal" data-callback="captcha_ready" data-sitekey="<?php echo $GLOBALS['conf']['public_key']; ?>"></div>
|
||||
<script async defer nonce="" src="https://www.google.com/recaptcha/api.js?hl=ru"></script>
|
||||
</div>
|
||||
|
||||
</div> <br />
|
||||
<?php } ?>
|
||||
<div class="boxline">
|
||||
<div class="boxline">
|
||||
<button type="submit" class="button-primary">Регистрация</button>
|
||||
<small>
|
||||
<span class="left-ots"><a href="/login">Войти</a></span>
|
||||
</small>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<?php include TEMPLATE_DIR . '/footer.php'; ?>
|
|
@ -1,11 +1,7 @@
|
|||
<?php include TEMPLATE_DIR . '/header.php'; ?>
|
||||
<section>
|
||||
<div class="wrap">
|
||||
<main>
|
||||
<div class="left-ots">
|
||||
|
||||
<a title="Участники" class="avatar-user right" href="/users">
|
||||
Учасники
|
||||
</a>
|
||||
|
||||
<h1 class="top"><?php echo $data['h1']; ?></h1>
|
||||
|
||||
<div class="telo comments">
|
||||
|
@ -59,5 +55,5 @@
|
|||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<?php include TEMPLATE_DIR . '/footer.php'; ?>
|
|
@ -1,14 +1,9 @@
|
|||
<?php include TEMPLATE_DIR . '/header.php'; ?>
|
||||
<section>
|
||||
<div class="wrap">
|
||||
<main>
|
||||
<div class="left-ots">
|
||||
|
||||
<a title="Участники" class="avatar-user right" href="/users">
|
||||
Участники
|
||||
</a>
|
||||
<h1 class="top"><?php echo $data['h1']; ?></h1>
|
||||
|
||||
<h1 class="top"><?php echo $data['h1']; ?></h1>
|
||||
|
||||
<div class="telo comments">
|
||||
<?php if (!empty($comments)) { ?>
|
||||
|
||||
<?php foreach ($comments as $comm) { ?>
|
||||
|
@ -55,5 +50,6 @@
|
|||
<p>К сожалению комментариев нет...</p>
|
||||
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<?php include TEMPLATE_DIR . '/footer.php'; ?>
|
|
@ -1,13 +1,16 @@
|
|||
<div class="wrap">
|
||||
<footer>
|
||||
<footer>
|
||||
<div class="right">
|
||||
<a title="<?= lang('Help'); ?>" href="/info"><?= lang('Help'); ?></a>
|
||||
<a title="<?= lang('Statistics'); ?>" href="/info/stats"><?= lang('Statistics'); ?></a>
|
||||
<a class="no-mob" title="<?= lang('Privacy'); ?>" href="/info/privacy"><?= lang('Privacy'); ?></a>
|
||||
<a title="<?= lang('About us'); ?>" href="/info/about"><?= lang('About'); ?></a>
|
||||
</footer>
|
||||
</div>
|
||||
<script src="/assets/js/common.js"></script>
|
||||
<?php if($uid['id']) { ?>
|
||||
<script src="/assets/js/app.js"></script>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script async src="/assets/js/common.js"></script>
|
||||
|
||||
<?php if($uid['id']) { ?>
|
||||
<script src="/assets/js/app.js"></script>
|
||||
<?php } ?>
|
||||
|
||||
</html>
|
|
@ -17,136 +17,134 @@
|
|||
|
||||
</head>
|
||||
<body class="bd<?php if(Request::getCookie('dayNight') == 'dark') {?> dark<?php } ?>">
|
||||
<header>
|
||||
<div class="wrap">
|
||||
<div class="title">
|
||||
<a title="<?= lang('Home'); ?>" class="logo" href="/"><?= lang('My'); ?></a>
|
||||
<div class="menu-left">
|
||||
<ul>
|
||||
<li class="nav no-mob">
|
||||
<?php if(Request::getUri() == '/') { ?>
|
||||
<a title="<?= lang('Home'); ?>" class="home" href="/"><?= lang('AreaDev'); ?></a>
|
||||
<?php } else { ?>
|
||||
<a title="<?= lang('Home'); ?>" class="home" href="/"><?= lang('Home'); ?></a>
|
||||
<?php } ?>
|
||||
</li>
|
||||
<li class="nav no-mob<?php if(Request::getUri() == '/top') { ?> active<?php } ?>">
|
||||
<a title="<?= lang('TOP'); ?>" class="home" href="/top">
|
||||
<?= lang('TOP'); ?>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav no-mob-two<?php if(Request::getUri() == '/comments') { ?> active<?php } ?>">
|
||||
<a title="<?= lang('Comments'); ?>" class="comments" href="/comments">
|
||||
<?= lang('Comments'); ?>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav no-mob-two<?php if(Request::getUri() == '/space') { ?> active<?php } ?>">
|
||||
<a title="<?= lang('Space'); ?>" class="sp" href="/space">~</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="menu">
|
||||
<ul>
|
||||
<li class="nav">
|
||||
<span id="toggledark" class="my-color-m">
|
||||
<svg class="md-icon moon">
|
||||
<use xlink:href="/assets/svg/icons.svg#moon"></use>
|
||||
</svg>
|
||||
</span>
|
||||
<header class="site-header">
|
||||
<div class="title">
|
||||
<a title="<?= lang('Home'); ?>" class="logo" href="/">M</a>
|
||||
<div class="menu-left">
|
||||
<ul>
|
||||
<li class="nav no-mob">
|
||||
<?php if(Request::getUri() == '/') { ?>
|
||||
<a title="<?= lang('Home'); ?>" class="home" href="/"><?= lang('AreaDev'); ?></a>
|
||||
<?php } else { ?>
|
||||
<a title="<?= lang('Home'); ?>" class="home" href="/"><?= lang('Home'); ?></a>
|
||||
<?php } ?>
|
||||
</li>
|
||||
<?php if(!$uid['id']) { ?>
|
||||
<li class="nav">
|
||||
<a class="login" title="<?= lang('Sign in'); ?>" href="/login"><?= lang('Sign in'); ?></a>
|
||||
</li>
|
||||
<li class="nav">
|
||||
<a class="register" title="<?= lang('Sign up'); ?>" href="/register"><?= lang('Sign up'); ?></a>
|
||||
</li>
|
||||
<?php } else { ?>
|
||||
<li class="nav create">
|
||||
<a class="nav" href="/post/add">
|
||||
<li class="nav no-mob<?php if(Request::getUri() == '/top') { ?> active<?php } ?>">
|
||||
<a title="<?= lang('TOP'); ?>" class="home" href="/top">
|
||||
<?= lang('TOP'); ?>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav no-mob-two<?php if(Request::getUri() == '/comments') { ?> active<?php } ?>">
|
||||
<a title="<?= lang('Comments'); ?>" class="comments" href="/comments">
|
||||
<?= lang('Comments'); ?>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav no-mob-two<?php if(Request::getUri() == '/space') { ?> active<?php } ?>">
|
||||
<a title="<?= lang('Space'); ?>" class="sp" href="/space">~</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="menu">
|
||||
<ul>
|
||||
<li class="nav">
|
||||
<span id="toggledark" class="my-color-m">
|
||||
<svg class="md-icon moon">
|
||||
<use xlink:href="/assets/svg/icons.svg#moon"></use>
|
||||
</svg>
|
||||
</span>
|
||||
</li>
|
||||
<?php if(!$uid['id']) { ?>
|
||||
<li class="nav">
|
||||
<a class="login" title="<?= lang('Sign in'); ?>" href="/login"><?= lang('Sign in'); ?></a>
|
||||
</li>
|
||||
<li class="nav">
|
||||
<a class="register" title="<?= lang('Sign up'); ?>" href="/register"><?= lang('Sign up'); ?></a>
|
||||
</li>
|
||||
<?php } else { ?>
|
||||
<li class="nav create">
|
||||
<a class="nav" href="/post/add">
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#plus"></use>
|
||||
</svg>
|
||||
</a>
|
||||
</li>
|
||||
<?php if($uid['notif']) { ?>
|
||||
<li class="nav notif">
|
||||
<a class="nav" href="/notifications">
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#plus"></use>
|
||||
<use xlink:href="/assets/svg/icons.svg#mail"></use>
|
||||
</svg>
|
||||
</a>
|
||||
</li>
|
||||
<?php if($uid['notif']) { ?>
|
||||
<li class="nav notif">
|
||||
<a class="nav" href="/notifications">
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#mail"></use>
|
||||
</svg>
|
||||
</a>
|
||||
</li>
|
||||
<?php } ?>
|
||||
<li class="dropbtn nav">
|
||||
<a class="b-my" href="#" title=""><span><?= $uid['login']; ?></span>
|
||||
<img class="ava" alt="<?= $uid['login']; ?>" src="/uploads/avatar/small/<?= $uid['avatar']; ?>">
|
||||
</li>
|
||||
<?php } ?>
|
||||
<li class="dropbtn nav">
|
||||
<a class="b-my" href="#" title=""><span><?= $uid['login']; ?></span>
|
||||
<img class="ava" alt="<?= $uid['login']; ?>" src="/uploads/avatar/small/<?= $uid['avatar']; ?>">
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#chevrons-down"></use>
|
||||
</svg>
|
||||
</a>
|
||||
<span class="dropdown-menu">
|
||||
<span class="st"></span>
|
||||
<a href="/u/<?= $uid['login']; ?>">
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#chevrons-down"></use>
|
||||
</svg>
|
||||
<use xlink:href="/assets/svg/icons.svg#user"></use>
|
||||
</svg>
|
||||
<?= lang('Profile'); ?>
|
||||
</a>
|
||||
<span class="dropdown-menu">
|
||||
<span class="st"></span>
|
||||
<a href="/u/<?= $uid['login']; ?>">
|
||||
<a href="/users/setting">
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#settings"></use>
|
||||
</svg>
|
||||
<?= lang('Settings'); ?>
|
||||
</a>
|
||||
<a href="/messages">
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#mail"></use>
|
||||
</svg>
|
||||
<?= lang('Messages'); ?>
|
||||
</a>
|
||||
<a href="/threads/<?= $uid['login']; ?>">
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#message"></use>
|
||||
</svg>
|
||||
<?= lang('Comments'); ?>
|
||||
</a>
|
||||
<a href="/favorite/<?= $uid['login']; ?>">
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#bookmark"></use>
|
||||
</svg>
|
||||
<?= lang('Favorites'); ?>
|
||||
</a>
|
||||
<?php if($uid['trust_level'] == 5) { ?>
|
||||
<a href="/admin" target="_black">
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#user"></use>
|
||||
</svg>
|
||||
<?= lang('Profile'); ?>
|
||||
</a>
|
||||
<a href="/users/setting">
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#settings"></use>
|
||||
</svg>
|
||||
<?= lang('Settings'); ?>
|
||||
</a>
|
||||
<a href="/messages">
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#mail"></use>
|
||||
</svg>
|
||||
<?= lang('Messages'); ?>
|
||||
</a>
|
||||
<a href="/threads/<?= $uid['login']; ?>">
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#message"></use>
|
||||
</svg>
|
||||
<?= lang('Comments'); ?>
|
||||
</a>
|
||||
<a href="/favorite/<?= $uid['login']; ?>">
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#bookmark"></use>
|
||||
</svg>
|
||||
<?= lang('Favorites'); ?>
|
||||
</a>
|
||||
<?php if($uid['trust_level'] == 5) { ?>
|
||||
<a href="/admin" target="_black">
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#ad"></use>
|
||||
</svg>
|
||||
<?= lang('Admin'); ?>
|
||||
</a>
|
||||
<?php } ?>
|
||||
<hr>
|
||||
<a href="/logout" class="logout" target="_self" title="<?= lang('Sign out'); ?>">
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#arrow-bar-to-right"></use>
|
||||
</svg>
|
||||
<?= lang('Sign out'); ?>
|
||||
</a>
|
||||
</span>
|
||||
</li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<use xlink:href="/assets/svg/icons.svg#ad"></use>
|
||||
</svg>
|
||||
<?= lang('Admin'); ?>
|
||||
</a>
|
||||
<?php } ?>
|
||||
<hr>
|
||||
<a href="/logout" class="logout" target="_self" title="<?= lang('Sign out'); ?>">
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#arrow-bar-to-right"></use>
|
||||
</svg>
|
||||
<?= lang('Sign out'); ?>
|
||||
</a>
|
||||
</span>
|
||||
</li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<?php if ($uid['msg']) { ?>
|
||||
<div class="wrap">
|
||||
<div class="msg">
|
||||
<?php foreach($uid['msg'] as $message){ ?>
|
||||
<?= $message; ?>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<div class="msg">
|
||||
<?php foreach($uid['msg'] as $message){ ?>
|
||||
<?= $message; ?>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<?php } ?>
|
||||
|
|
|
@ -1,132 +1,127 @@
|
|||
<?php include TEMPLATE_DIR . '/header.php'; ?>
|
||||
<div class="wrap">
|
||||
<main class="telo">
|
||||
|
||||
<?php if (!$uid['id']) { ?>
|
||||
<h1 class="top banner">Сайт в стадии разработке. Читать - <a href="/info/about">о нас</a>...</h1>
|
||||
<?php } ?>
|
||||
|
||||
<div class="telo">
|
||||
<?php if (!empty($posts)) { ?>
|
||||
|
||||
<?php foreach ($posts as $post) { ?>
|
||||
<div class="post-telo">
|
||||
<?php if (!$uid['id']) { ?>
|
||||
<div id="vot<?= $post['post_id']; ?>" class="voters">
|
||||
<a rel="nofollow" href="/login"><div class="post-up-id"></div></a>
|
||||
<div class="score"><?= $post['post_votes']; ?></div>
|
||||
</div>
|
||||
<?php } else { ?>
|
||||
<?php if ($post['votes_post_user_id'] || $uid['id'] == $post['post_user_id']) { ?>
|
||||
<div class="voters active">
|
||||
<div class="post-up-id"></div>
|
||||
<div class="score"><?= $post['post_votes']; ?></div>
|
||||
</div>
|
||||
<?php } else { ?>
|
||||
<div id="up<?= $post['post_id']; ?>" class="voters">
|
||||
<div data-id="<?= $post['post_id']; ?>" class="post-up-id"></div>
|
||||
<div class="score"><?= $post['post_votes']; ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
||||
<div class="post-body">
|
||||
<a class="u-url" href="/posts/<?= $post['post_slug']; ?>">
|
||||
<h2 class="titl"><?= $post['post_title']; ?></h2>
|
||||
<?php if ($post['post_is_delete'] == 1) { ?>
|
||||
<svg class="md-icon delete">
|
||||
<use xlink:href="/assets/svg/icons.svg#trash"></use>
|
||||
</svg>
|
||||
<?php } ?>
|
||||
<?php if($post['post_closed'] == 1) { ?>
|
||||
<svg class="md-icon closed">
|
||||
<use xlink:href="/assets/svg/icons.svg#lock"></use>
|
||||
</svg>
|
||||
<?php } ?>
|
||||
<?php if($post['post_top'] == 1) { ?>
|
||||
<svg class="md-icon top">
|
||||
<use xlink:href="/assets/svg/icons.svg#bulb-off"></use>
|
||||
</svg>
|
||||
<?php } ?>
|
||||
</a>
|
||||
<a class="space space_<?= $post['space_tip'] ?>" href="/s/<?= $post['space_slug']; ?>" title="<?= $post['space_name']; ?>">
|
||||
<?= $post['space_name']; ?>
|
||||
</a>
|
||||
|
||||
<?php if($post['post_url']) { ?>
|
||||
<span class="post_url"> <?= $post['post_url']; ?></span>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($post['post_content_preview']) { ?>
|
||||
<div class="post-prev"><?= $post['post_content_preview']; ?>...</div>
|
||||
<?php } ?>
|
||||
|
||||
<div class="footer">
|
||||
<img class="ava" alt="<?= $post['login']; ?>" src="/uploads/avatar/small/<?= $post['avatar']; ?>">
|
||||
<span class="user">
|
||||
<a href="/u/<?= $post['login']; ?>">
|
||||
<?= $post['login']; ?>
|
||||
</a>
|
||||
</span>
|
||||
<span class="date">
|
||||
<?= $post['post_date'] ?>
|
||||
</span>
|
||||
<?php if($post['post_comments'] !=0) { ?>
|
||||
<span class="otst"> | </span>
|
||||
<a class="u-url" href="/posts/<?= $post['post_slug']; ?>">
|
||||
<?= $post['post_comments']; ?> <?= $post['num_comments']; ?>
|
||||
</a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php if (!$uid['id']) { ?>
|
||||
<h1 class="top banner">Сайт в стадии разработке. Читать - <a href="/info/about">о нас</a>...</h1>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (!empty($posts)) { ?>
|
||||
|
||||
<?php foreach ($posts as $post) { ?>
|
||||
<div class="post-telo">
|
||||
<?php if (!$uid['id']) { ?>
|
||||
<div id="vot<?= $post['post_id']; ?>" class="voters">
|
||||
<a rel="nofollow" href="/login"><div class="post-up-id"></div></a>
|
||||
<div class="score"><?= $post['post_votes']; ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php } else { ?>
|
||||
<?php if ($post['votes_post_user_id'] || $uid['id'] == $post['post_user_id']) { ?>
|
||||
<div class="voters active">
|
||||
<div class="post-up-id"></div>
|
||||
<div class="score"><?= $post['post_votes']; ?></div>
|
||||
</div>
|
||||
<?php } else { ?>
|
||||
<div id="up<?= $post['post_id']; ?>" class="voters">
|
||||
<div data-id="<?= $post['post_id']; ?>" class="post-up-id"></div>
|
||||
<div class="score"><?= $post['post_votes']; ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
||||
<?php } else { ?>
|
||||
|
||||
<h3>Нет постов</h3>
|
||||
|
||||
<p>К сожалению постов нет...</p>
|
||||
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<?php if($data['space_hide']) { ?>
|
||||
<div class="sidebar no-mob">
|
||||
<h3>Отписан</h3>
|
||||
<?php foreach ($data['space_hide'] as $hide) { ?>
|
||||
<a class="space space_<?= $hide['space_tip'] ?>" href="/s/<?= $hide['space_slug']; ?>" title="<?= $hide['space_name']; ?>">
|
||||
<?= $hide['space_name']; ?>
|
||||
<div class="post-body">
|
||||
<a class="u-url" href="/posts/<?= $post['post_slug']; ?>">
|
||||
<h2 class="titl"><?= $post['post_title']; ?></h2>
|
||||
<?php if ($post['post_is_delete'] == 1) { ?>
|
||||
<svg class="md-icon delete">
|
||||
<use xlink:href="/assets/svg/icons.svg#trash"></use>
|
||||
</svg>
|
||||
<?php } ?>
|
||||
<?php if($post['post_closed'] == 1) { ?>
|
||||
<svg class="md-icon closed">
|
||||
<use xlink:href="/assets/svg/icons.svg#lock"></use>
|
||||
</svg>
|
||||
<?php } ?>
|
||||
<?php if($post['post_top'] == 1) { ?>
|
||||
<svg class="md-icon top">
|
||||
<use xlink:href="/assets/svg/icons.svg#bulb-off"></use>
|
||||
</svg>
|
||||
<?php } ?>
|
||||
</a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($data['latest_comments']) { ?>
|
||||
<div class="sidebar no-mob">
|
||||
<?php foreach ($data['latest_comments'] as $comm) { ?>
|
||||
<div class="sb-telo">
|
||||
<div class="sb-date">
|
||||
<img class="ava" alt="<?= $comm['login']; ?>" src="/uploads/avatar/small/<?= $comm['comment_avatar']; ?>">
|
||||
<?= $comm['comment_date']; ?>
|
||||
</div>
|
||||
<a href="/posts/<?= $comm['post_slug']; ?>#comm_<?= $comm['comment_id']; ?>">
|
||||
<?= $comm['comment_content']; ?>...
|
||||
</a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<a class="space space_<?= $post['space_tip'] ?>" href="/s/<?= $post['space_slug']; ?>" title="<?= $post['space_name']; ?>">
|
||||
<?= $post['space_name']; ?>
|
||||
</a>
|
||||
|
||||
<?php if($post['post_url']) { ?>
|
||||
<span class="post_url"> <?= $post['post_url']; ?></span>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($post['post_content_preview']) { ?>
|
||||
<div class="post-prev"><?= $post['post_content_preview']; ?>...</div>
|
||||
<?php } ?>
|
||||
|
||||
<div class="footer">
|
||||
<img class="ava" alt="<?= $post['login']; ?>" src="/uploads/avatar/small/<?= $post['avatar']; ?>">
|
||||
<span class="user">
|
||||
<a href="/u/<?= $post['login']; ?>">
|
||||
<?= $post['login']; ?>
|
||||
</a>
|
||||
</span>
|
||||
<span class="date">
|
||||
<?= $post['post_date'] ?>
|
||||
</span>
|
||||
<?php if($post['post_comments'] !=0) { ?>
|
||||
<span class="otst"> | </span>
|
||||
<a class="u-url" href="/posts/<?= $post['post_slug']; ?>">
|
||||
<?= $post['post_comments']; ?> <?= $post['num_comments']; ?>
|
||||
</a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<div class="pagination">
|
||||
<?php for ($pageNum = 1; $pageNum <= $data['pagesCount']; $pageNum++) { ?>
|
||||
<?php if ($data['pNum'] == $pageNum || !$data['pNum'] == 1) { ?>
|
||||
<span class="page"><?= $pageNum; ?></span>
|
||||
<?php } else { ?>
|
||||
<a href="/<?= $pageNum == 1 ? '' : $pageNum ?>"><?= $pageNum; ?></a>
|
||||
<?php } ?>
|
||||
<?php } else { ?>
|
||||
|
||||
<h3>Нет постов</h3>
|
||||
|
||||
<p>К сожалению постов нет...</p>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
<div class="pagination">
|
||||
<?php for ($pageNum = 1; $pageNum <= $data['pagesCount']; $pageNum++) { ?>
|
||||
<?php if ($data['pNum'] == $pageNum || !$data['pNum'] == 1) { ?>
|
||||
<span class="page"><?= $pageNum; ?></span>
|
||||
<?php } else { ?>
|
||||
<a href="/<?= $pageNum == 1 ? '' : $pageNum ?>"><?= $pageNum; ?></a>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
<aside id="sidebar">
|
||||
<?php if($data['space_hide']) { ?>
|
||||
<div class="sidebar no-mob">
|
||||
<h3>Отписан</h3>
|
||||
<?php foreach ($data['space_hide'] as $hide) { ?>
|
||||
<a class="space space_<?= $hide['space_tip'] ?>" href="/s/<?= $hide['space_slug']; ?>" title="<?= $hide['space_name']; ?>">
|
||||
<?= $hide['space_name']; ?>
|
||||
</a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php foreach ($data['latest_comments'] as $comm) { ?>
|
||||
<div class="sb-telo">
|
||||
<div class="sb-date">
|
||||
<img class="ava" alt="<?= $comm['login']; ?>" src="/uploads/avatar/small/<?= $comm['comment_avatar']; ?>">
|
||||
<?= $comm['comment_date']; ?>
|
||||
</div>
|
||||
<a href="/posts/<?= $comm['post_slug']; ?>#comm_<?= $comm['comment_id']; ?>">
|
||||
<?= $comm['comment_content']; ?>...
|
||||
</a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</aside>
|
||||
<?php include TEMPLATE_DIR . '/footer.php'; ?>
|
|
@ -1,37 +1,44 @@
|
|||
<?php include TEMPLATE_DIR . '/header.php'; ?>
|
||||
<section>
|
||||
<div class="wrap">
|
||||
<div class="telo-info">
|
||||
<h1>О нас</h1>
|
||||
<main class="info">
|
||||
<div class="left-ots">
|
||||
<ul class="breadcrumb">
|
||||
<li class="breadcrumb-item">
|
||||
<a title="<?= lang('Home'); ?>" href="/"><?= lang('Home'); ?></a>
|
||||
</li>
|
||||
<li class="breadcrumb-item">
|
||||
<a title="<?= lang('Info'); ?>" href="/info"><?= lang('Info'); ?></a>
|
||||
</li>
|
||||
</ul>
|
||||
<h1>О нас</h1>
|
||||
|
||||
<b>Задача 1</b> — изучить <a rel="nofollow noreferrer" target="_blank" href="https://phphleb.ru/"><i>PHP Микрофреймворк HLEB</i></a>: routes, get / post, ajax, csrf и т.д.
|
||||
<br><br>
|
||||
<center>
|
||||
<img width="90%" alt="PHP Микрофреймворк HLEB - профилирование" src="/assets/images/HLEB.jpg"> <br><small>на слабой win машине... </small>
|
||||
</center>
|
||||
<br>
|
||||
<b>Задача 2</b> — построить систему авторизации, администрирование и систему документации с обратной связью. Которую (как базу) можно использовать далее.
|
||||
|
||||
<br><br>
|
||||
<b>Задача 3</b> — посмотрим... Главное изучить всё.
|
||||
|
||||
<br><br>
|
||||
<b>HLEB</b> — это PHP-фреймворк с очень маленьким размером, созданный для разработчиков, которым нужен простой и элегантный инструментарий для создания полнофункциональных веб-приложений.
|
||||
|
||||
<b>Задача 1</b> — изучить <a rel="nofollow noreferrer" target="_blank" href="https://phphleb.ru/"><i>PHP Микрофреймворк HLEB</i></a>: routes, get / post, ajax, csrf и т.д.
|
||||
<br><br>
|
||||
<center>
|
||||
<img width="90%" alt="PHP Микрофреймворк HLEB - профилирование" src="/assets/images/HLEB.jpg"> <br><small>на слабой win машине... </small>
|
||||
</center>
|
||||
<br>
|
||||
<b>Задача 2</b> — построить систему авторизации, администрирование и систему документации с обратной связью. Которую (как базу) можно использовать далее.
|
||||
|
||||
<br><br>
|
||||
<b>Задача 3</b> — посмотрим... Главное изучить всё.
|
||||
<h3>Правила</h3>
|
||||
|
||||
<br><br>
|
||||
<b>HLEB</b> — это PHP-фреймворк с очень маленьким размером, созданный для разработчиков, которым нужен простой и элегантный инструментарий для создания полнофункциональных веб-приложений.
|
||||
|
||||
|
||||
<h3>Правила</h3>
|
||||
|
||||
<p>Пожалуйста, относитесь к этому сайту с таким же уважением, как относитесь к собственному дому. </p>
|
||||
<ul>
|
||||
<li>Нет нарушений законодательства РФ.</li>
|
||||
<li>Нет нападкам.</li>
|
||||
<li>Нет спаму.</li>
|
||||
</ul>
|
||||
|
||||
<br>
|
||||
<i>AreaDev на GitHub:</i> <a rel="nofollow noreferrer" target="_blank" href="https://github.com/Toxu-ru/AreaDev">AreaDev</a>
|
||||
</div>
|
||||
<p>Пожалуйста, относитесь к этому сайту с таким же уважением, как относитесь к собственному дому. </p>
|
||||
<ul>
|
||||
<li>Нет нарушений законодательства РФ.</li>
|
||||
<li>Нет нападкам.</li>
|
||||
<li>Нет спаму.</li>
|
||||
</ul>
|
||||
|
||||
<br>
|
||||
<i>AreaDev на GitHub:</i> <a rel="nofollow noreferrer" target="_blank" href="https://github.com/Toxu-ru/AreaDev">AreaDev</a>
|
||||
</div>
|
||||
<section>
|
||||
</main>
|
||||
<?php include 'menu.php'; ?>
|
||||
<?php include TEMPLATE_DIR . '/footer.php'; ?>
|
||||
|
|
@ -1,32 +1,39 @@
|
|||
<?php include TEMPLATE_DIR . '/header.php'; ?>
|
||||
<section>
|
||||
<div class="wrap">
|
||||
<div class="telo-info">
|
||||
<h1>Информация</h1>
|
||||
|
||||
<p>Сайт работает на <a rel="nofollow noreferrer" target="_blank" href="https://phphleb.ru/">Микрофреймворке HLEB</a></p>
|
||||
|
||||
<img src="/assets/svg/logoHLEB.svg" width="200" height="200" class="hl-block" alt="HL">
|
||||
|
||||
<p><b>HLEB</b> — это PHP-фреймворк с очень маленьким размером, созданный для разработчиков, которым нужен простой и элегантный инструментарий для создания полнофункциональных веб-приложений.</p>
|
||||
|
||||
<p><i>HLEB на GitHub:</i> <a rel="nofollow noreferrer" target="_blank" href="https://github.com/phphleb/hleb">PHP Micro-Framework HLEB</a></p>
|
||||
|
||||
--------
|
||||
|
||||
<p>Страница, на которую вы смотрите, генерируется динамически.</p>
|
||||
<main class="info">
|
||||
<div class="left-ots">
|
||||
<ul class="breadcrumb">
|
||||
<li class="breadcrumb-item">
|
||||
<a title="<?= lang('Home'); ?>" href="/"><?= lang('Home'); ?></a>
|
||||
</li>
|
||||
<li class="breadcrumb-item">
|
||||
<a title="<?= lang('Info'); ?>" href="/info"><?= lang('Info'); ?></a>
|
||||
</li>
|
||||
</ul>
|
||||
<h1>Информация</h1>
|
||||
|
||||
<p>Сайт работает на <a rel="nofollow noreferrer" target="_blank" href="https://phphleb.ru/">Микрофреймворке HLEB</a></p>
|
||||
|
||||
<img src="/assets/svg/logoHLEB.svg" width="200" height="200" class="hl-block" alt="HL">
|
||||
|
||||
<p><b>HLEB</b> — это PHP-фреймворк с очень маленьким размером, созданный для разработчиков, которым нужен простой и элегантный инструментарий для создания полнофункциональных веб-приложений.</p>
|
||||
|
||||
<p><i>HLEB на GitHub:</i> <a rel="nofollow noreferrer" target="_blank" href="https://github.com/phphleb/hleb">PHP Micro-Framework HLEB</a></p>
|
||||
|
||||
--------
|
||||
|
||||
<p>Страница, на которую вы смотрите, генерируется динамически.</p>
|
||||
|
||||
<p>Если вы хотите отредактировать эту страницу, вы найдете ее по адресу:</p>
|
||||
<p>Если вы хотите отредактировать эту страницу, вы найдете ее по адресу:</p>
|
||||
|
||||
<pre><code>resources/views/info/index.php</code></pre>
|
||||
<pre><code>resources/views/info/index.php</code></pre>
|
||||
|
||||
<p>Соответствующий контроллер для этой страницы можно найти по адресу:</p>
|
||||
<p>Соответствующий контроллер для этой страницы можно найти по адресу:</p>
|
||||
|
||||
<pre><code>app/Controllers/InfoControllers.php</code></pre>
|
||||
|
||||
<br>
|
||||
<i>AreaDev на GitHub:</i> <a rel="nofollow noreferrer" target="_blank" href="https://github.com/Toxu-ru/AreaDev">AreaDev</a>
|
||||
</div>
|
||||
<pre><code>app/Controllers/InfoControllers.php</code></pre>
|
||||
|
||||
<br>
|
||||
<i>AreaDev на GitHub:</i> <a rel="nofollow noreferrer" target="_blank" href="https://github.com/Toxu-ru/AreaDev">AreaDev</a>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<?php include 'menu.php'; ?>
|
||||
<?php include TEMPLATE_DIR . '/footer.php'; ?>
|
7
resources/views/info/menu.php
Normal file
7
resources/views/info/menu.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?php $uri = Request::getUri(); ?>
|
||||
<aside id="sidebar">
|
||||
<a class="info-n<?php if($uri == '/info') { ?> active<?php } ?>" href="/info"><?= lang('Info'); ?></a>
|
||||
<a class="info-n<?php if($uri == '/info/stats') { ?> active<?php } ?>" href="/info/stats"><?= lang('Statistics'); ?></a>
|
||||
<a class="info-n<?php if($uri == '/info/privacy') { ?> active<?php } ?>" href="/info/privacy"><?= lang('Privacy'); ?></a>
|
||||
<a class="info-n<?php if($uri == '/info/about') { ?> active<?php } ?>" href="/info/about"><?= lang('About'); ?></a>
|
||||
</aside>
|
|
@ -1,17 +1,25 @@
|
|||
<?php include TEMPLATE_DIR . '/header.php'; ?>
|
||||
<section>
|
||||
<div class="wrap">
|
||||
<div class="telo-info">
|
||||
<h1>Политика конфиденциальности</h1>
|
||||
<main class="info">
|
||||
<div class="left-ots">
|
||||
<ul class="breadcrumb">
|
||||
<li class="breadcrumb-item">
|
||||
<a title="<?= lang('Home'); ?>" href="/"><?= lang('Home'); ?></a>
|
||||
</li>
|
||||
<li class="breadcrumb-item">
|
||||
<a title="<?= lang('Info'); ?>" href="/info"><?= lang('Info'); ?></a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<p>Это Интернет, у вас нет конфиденциальности.</p>
|
||||
<h1>Политика конфиденциальности</h1>
|
||||
|
||||
<p>Если вам <a rel="noopener nofollow ugc" href="https://ru.wikipedia.org/wiki/%D0%A4%D0%B5%D0%B4%D0%B5%D1%80%D0%B0%D0%BB%D1%8C%D0%BD%D1%8B%D0%B9_%D0%B7%D0%B0%D0%BA%D0%BE%D0%BD_%E2%84%96_139-%D0%A4%D0%97_2012_%D0%B3%D0%BE%D0%B4%D0%B0">
|
||||
не исполнилось 13 лет</a>, то в этом случае вам сюда не разрешено.
|
||||
</p>
|
||||
</div>
|
||||
<p>Это Интернет, у вас нет конфиденциальности.</p>
|
||||
|
||||
<p>Если вам <a rel="noopener nofollow ugc" href="https://ru.wikipedia.org/wiki/%D0%A4%D0%B5%D0%B4%D0%B5%D1%80%D0%B0%D0%BB%D1%8C%D0%BD%D1%8B%D0%B9_%D0%B7%D0%B0%D0%BA%D0%BE%D0%BD_%E2%84%96_139-%D0%A4%D0%97_2012_%D0%B3%D0%BE%D0%B4%D0%B0">
|
||||
не исполнилось 13 лет</a>, то в этом случае вам сюда не разрешено.
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<?php include 'menu.php'; ?>
|
||||
<?php include TEMPLATE_DIR . '/footer.php'; ?>
|
||||
|
||||
|
||||
|
|
|
@ -1,11 +1,17 @@
|
|||
<?php include TEMPLATE_DIR . '/header.php'; ?>
|
||||
<section>
|
||||
<div class="wrap">
|
||||
<div class="telo-info">
|
||||
<h1>Информация</h1>
|
||||
<main class="info">
|
||||
<div class="left-ots">
|
||||
<ul class="breadcrumb">
|
||||
<li class="breadcrumb-item">
|
||||
<a title="<?= lang('Home'); ?>" href="/"><?= lang('Home'); ?></a>
|
||||
</li>
|
||||
<li class="breadcrumb-item">
|
||||
<a title="<?= lang('Info'); ?>" href="/info"><?= lang('Info'); ?></a>
|
||||
</li>
|
||||
</ul>
|
||||
<h1>Доступ ограничен</h1>
|
||||
|
||||
<p><i>Ваш профиль находится на рассмотрении...</p>
|
||||
</div>
|
||||
<p><i>Ваш профиль находится на рассмотрении...</p>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<?php include TEMPLATE_DIR . '/footer.php'; ?>
|
|
@ -1,17 +1,24 @@
|
|||
<?php include TEMPLATE_DIR . '/header.php'; ?>
|
||||
<section>
|
||||
<div class="wrap">
|
||||
<div class="telo-info">
|
||||
<h1>Правила</h1>
|
||||
<main class="info">
|
||||
<div class="left-ots">
|
||||
<ul class="breadcrumb">
|
||||
<li class="breadcrumb-item">
|
||||
<a title="<?= lang('Home'); ?>" href="/"><?= lang('Home'); ?></a>
|
||||
</li>
|
||||
<li class="breadcrumb-item">
|
||||
<a title="<?= lang('Info'); ?>" href="/info"><?= lang('Info'); ?></a>
|
||||
</li>
|
||||
</ul>
|
||||
<h1>Правила</h1>
|
||||
|
||||
<p>Пожалуйста, относитесь к этому сайту с таким же уважением, как относитесь к собственному дому. </p>
|
||||
<p>
|
||||
Нет нарушений законодательства РФ. <br>
|
||||
Нет нападкам.<br>
|
||||
Нет спаму.
|
||||
</p>
|
||||
<p><i>В стадии разработки...</p>
|
||||
</div>
|
||||
<p>Пожалуйста, относитесь к этому сайту с таким же уважением, как относитесь к собственному дому. </p>
|
||||
<p>
|
||||
Нет нарушений законодательства РФ. <br>
|
||||
Нет нападкам.<br>
|
||||
Нет спаму.
|
||||
</p>
|
||||
<p><i>В стадии разработки...</i></p>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<?php include 'menu.php'; ?>
|
||||
<?php include TEMPLATE_DIR . '/footer.php'; ?>
|
|
@ -1,60 +1,67 @@
|
|||
<?php include TEMPLATE_DIR . '/header.php'; ?>
|
||||
<link rel="stylesheet" href="/assets/css/info.css">
|
||||
<section>
|
||||
<div class="wrap">
|
||||
<div class="telo-info">
|
||||
<h1>Статистика</h1>
|
||||
|
||||
<center>
|
||||
<div class="time-cont">
|
||||
<div class="prof-blog">
|
||||
<div class="prof-num-u"><?= $data['comm_num']; ?></div>
|
||||
<div class="prof-txt">комментариев</div>
|
||||
</div>
|
||||
<div class="prof-blog">
|
||||
<div class="prof-num-u"><span class="number"> <?= $data['user_num']; ?></span></div>
|
||||
<div class="prof-txt">участников</div>
|
||||
</div>
|
||||
<div class="prof-blog">
|
||||
<div class="prof-num-u"><?= $data['post_num']; ?></div>
|
||||
<div class="prof-txt">постов</div>
|
||||
</div>
|
||||
<main class="info">
|
||||
<div class="left-ots">
|
||||
<ul class="breadcrumb">
|
||||
<li class="breadcrumb-item">
|
||||
<a title="<?= lang('Home'); ?>" href="/"><?= lang('Home'); ?></a>
|
||||
</li>
|
||||
<li class="breadcrumb-item">
|
||||
<a title="<?= lang('Info'); ?>" href="/info"><?= lang('Info'); ?></a>
|
||||
</li>
|
||||
</ul>
|
||||
<h1>Статистика</h1>
|
||||
|
||||
<center>
|
||||
<div class="time-cont">
|
||||
<div class="prof-blog">
|
||||
<div class="prof-num-u"><?= $data['comm_num']; ?></div>
|
||||
<div class="prof-txt">комментариев</div>
|
||||
</div>
|
||||
|
||||
<div class="bord-3 new-str"></div>
|
||||
</center>
|
||||
|
||||
<section class="time-cont">
|
||||
<ol class="time">
|
||||
<li class="-period">
|
||||
<span class="-time">'21</span>
|
||||
<ol class="-vrs">
|
||||
<li class="-vr"> Разработка сообщества... </li>
|
||||
</ol>
|
||||
</li>
|
||||
<li class="-period">
|
||||
<span class="-time">'21</span>
|
||||
<ol class="-vrs">
|
||||
<li class="-vr"> Начало работы. Изучаем HLEB. </li>
|
||||
</ol>
|
||||
</li>
|
||||
<li class="-period">
|
||||
<span class="-time">'20</span>
|
||||
<ol class="-vrs">
|
||||
<li class="-vr">
|
||||
Тестовая запись...
|
||||
</li>
|
||||
</ol>
|
||||
</li>
|
||||
</ol>
|
||||
</section>
|
||||
<div class="prof-blog">
|
||||
<div class="prof-num-u"><span class="number"> <?= $data['user_num']; ?></span></div>
|
||||
<div class="prof-txt">участников</div>
|
||||
</div>
|
||||
<div class="prof-blog">
|
||||
<div class="prof-num-u"><?= $data['post_num']; ?></div>
|
||||
<div class="prof-txt">постов</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="bord-3 new-str"></div>
|
||||
</center>
|
||||
|
||||
<section class="time-cont">
|
||||
<ol class="time">
|
||||
<li class="-period">
|
||||
<span class="-time">'21</span>
|
||||
<ol class="-vrs">
|
||||
<li class="-vr"> Разработка сообщества... </li>
|
||||
</ol>
|
||||
</li>
|
||||
<li class="-period">
|
||||
<span class="-time">'21</span>
|
||||
<ol class="-vrs">
|
||||
<li class="-vr"> Начало работы. Изучаем HLEB. </li>
|
||||
</ol>
|
||||
</li>
|
||||
<li class="-period">
|
||||
<span class="-time">'20</span>
|
||||
<ol class="-vrs">
|
||||
<li class="-vr">
|
||||
Тестовая запись...
|
||||
</li>
|
||||
</ol>
|
||||
</li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<p>Голосов: <br>
|
||||
- комментарии <b><?= $data['vote_comm_num']; ?></b> <br>
|
||||
- посты <b><?= $data['vote_post_num']; ?></b></p>
|
||||
<p>Голосов: <br>
|
||||
- комментарии <b><?= $data['vote_comm_num']; ?></b> <br>
|
||||
- посты <b><?= $data['vote_post_num']; ?></b></p>
|
||||
|
||||
<p><i>В стадии разработки...</i></p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<p><i>В стадии разработки...</i></p>
|
||||
</div>
|
||||
</main>
|
||||
<?php include 'menu.php'; ?>
|
||||
<?php include TEMPLATE_DIR . '/footer.php'; ?>
|
|
@ -1,25 +1,32 @@
|
|||
<?php include TEMPLATE_DIR . '/header.php'; ?>
|
||||
<section>
|
||||
<div class="wrap">
|
||||
<div class="telo-info">
|
||||
<h1>Уровень доверия (TL)</h1>
|
||||
|
||||
Система доверия пользователей является краеугольным камнем. Уровни доверия - это способ... <br>
|
||||
<ul>
|
||||
<li>Изолирование новых пользователей в вашем сообществе, чтобы они не могли случайно навредить себе или другим пользователям, пока они учатся, что делать.</li>
|
||||
<li>Предоставление опытным пользователям со временем большего количества прав, чтобы они могли помочь каждому поддерживать и модерировать сообщество, которому они щедро вкладывают так много своего времени. </li>
|
||||
</ul>
|
||||
|
||||
<b>TL0</b> = поситетель<br>
|
||||
<b>TL1</b> = пользователь<br>
|
||||
<b>TL2</b> = участник<br>
|
||||
<b>TL3</b> = постоялец<br>
|
||||
<b>TL4</b> = лидер<br>
|
||||
<b>Персонал</b><br>
|
||||
<b>Админ</b><br>
|
||||
|
||||
<p><i>В стадии разработки...</p>
|
||||
</div>
|
||||
<main class="info">
|
||||
<div class="left-ots">
|
||||
<ul class="breadcrumb">
|
||||
<li class="breadcrumb-item">
|
||||
<a title="<?= lang('Home'); ?>" href="/"><?= lang('Home'); ?></a>
|
||||
</li>
|
||||
<li class="breadcrumb-item">
|
||||
<a title="<?= lang('Info'); ?>" href="/info"><?= lang('Info'); ?></a>
|
||||
</li>
|
||||
</ul>
|
||||
<h1>Уровень доверия (TL)</h1>
|
||||
|
||||
Система доверия пользователей является краеугольным камнем. Уровни доверия - это способ... <br>
|
||||
<ul>
|
||||
<li>Изолирование новых пользователей в вашем сообществе, чтобы они не могли случайно навредить себе или другим пользователям, пока они учатся, что делать.</li>
|
||||
<li>Предоставление опытным пользователям со временем большего количества прав, чтобы они могли помочь каждому поддерживать и модерировать сообщество, которому они щедро вкладывают так много своего времени. </li>
|
||||
</ul>
|
||||
|
||||
<b>TL0</b> = поситетель<br>
|
||||
<b>TL1</b> = пользователь<br>
|
||||
<b>TL2</b> = участник<br>
|
||||
<b>TL3</b> = постоялец<br>
|
||||
<b>TL4</b> = лидер<br>
|
||||
<b>Персонал</b><br>
|
||||
<b>Админ</b><br>
|
||||
|
||||
<p><i>В стадии разработки...</i></p>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<?php include 'menu.php'; ?>
|
||||
<?php include TEMPLATE_DIR . '/footer.php'; ?>
|
|
@ -1,57 +1,55 @@
|
|||
<?php include TEMPLATE_DIR . '/header.php'; ?>
|
||||
<section>
|
||||
<div class="wrap">
|
||||
<div class="messages dialog">
|
||||
<main>
|
||||
<div class="left-ots">
|
||||
<h1><a href="/messages">Все сообщения</a> / <?= $data['title']; ?> </h1>
|
||||
|
||||
<form action="/messages/send" method="post">
|
||||
<?= csrf_field() ?>
|
||||
<input type="hidden" name="recipient" value="<?= $data['recipient_user']['id']; ?>" />
|
||||
|
||||
Для <img src="/uploads/avatar/small/<?= $data['recipient_user']['avatar']; ?>" class="msg-ava">
|
||||
<a href="/users/<?= $data['recipient_user']['login']; ?>" class="msg-user">
|
||||
<?= $data['recipient_user']['login']; ?>
|
||||
</a><br>
|
||||
|
||||
<textarea rows="3" id="message" class="mess" placeholder="Напишите..." type="text" name="message" /></textarea>
|
||||
<p>
|
||||
<input type="submit" name="submit" value="Ответить" class="submit">
|
||||
</p>
|
||||
</form>
|
||||
|
||||
|
||||
<?php if ($data['list']) { ?>
|
||||
<?php foreach($data['list'] AS $key => $val) { ?>
|
||||
|
||||
<div <?php if ($val['uid'] == $uid['id']) { ?> class="active"<?php } ?>>
|
||||
<div class="msg-telo">
|
||||
<?php if ($val['uid'] == $uid['id']) { ?>
|
||||
Я | <?php echo $val['add_time']; ?>
|
||||
<?php } else { ?>
|
||||
<a href="/u/<?= $val['login']; ?>">
|
||||
<?= $val['login']; ?>
|
||||
</a> | <?php echo $val['add_time']; ?>
|
||||
<?php } ?></a>
|
||||
<br>
|
||||
|
||||
<?= $val['message']; ?>
|
||||
|
||||
<div class="footer">
|
||||
<?php if ($val['receipt'] AND $val['uid'] == $uid['id']) { ?>
|
||||
|
||||
Было прочитанно - (<?= $val['receipt']; ?>)
|
||||
<form action="/messages/send" method="post">
|
||||
<?= csrf_field() ?>
|
||||
<input type="hidden" name="recipient" value="<?= $data['recipient_user']['id']; ?>" />
|
||||
|
||||
Для <img src="/uploads/avatar/small/<?= $data['recipient_user']['avatar']; ?>" class="msg-ava">
|
||||
<a href="/u/<?= $data['recipient_user']['login']; ?>" class="msg-user">
|
||||
<?= $data['recipient_user']['login']; ?>
|
||||
</a><br>
|
||||
|
||||
<textarea rows="3" id="message" class="mess" placeholder="Напишите..." type="text" name="message" /></textarea>
|
||||
<p>
|
||||
<input type="submit" name="submit" value="Ответить" class="submit">
|
||||
</p>
|
||||
</form>
|
||||
|
||||
|
||||
<?php if ($data['list']) { ?>
|
||||
<?php foreach($data['list'] AS $key => $val) { ?>
|
||||
|
||||
<div class="msg-telo<?php if ($val['uid'] == $uid['id']) { ?> class="active"<?php } ?>">
|
||||
|
||||
<?php if ($val['uid'] == $uid['id']) { ?>
|
||||
Я | <?php echo $val['add_time']; ?>
|
||||
<?php } else { ?>
|
||||
<a href="/u/<?= $val['login']; ?>">
|
||||
<?= $val['login']; ?>
|
||||
</a> | <?php echo $val['add_time']; ?>
|
||||
<?php } ?></a>
|
||||
<br>
|
||||
|
||||
<?php } else { ?>
|
||||
<!-- Отправлено на e-mail, возможно -->
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
<?= $val['message']; ?>
|
||||
|
||||
<div class="footer">
|
||||
<?php if ($val['receipt'] AND $val['uid'] == $uid['id']) { ?>
|
||||
|
||||
Было прочитанно - (<?= $val['receipt']; ?>)
|
||||
|
||||
<?php } else { ?>
|
||||
<!-- Отправлено на e-mail, возможно -->
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</main>
|
||||
<?php include TEMPLATE_DIR . '/footer.php'; ?>
|
|
@ -1,6 +1,6 @@
|
|||
<?php include TEMPLATE_DIR . '/header.php'; ?>
|
||||
<section>
|
||||
<div class="wrap">
|
||||
<main>
|
||||
<div class="left-ots">
|
||||
<div class="messages">
|
||||
<h1><?= $data['title'] ?></h1>
|
||||
<?php if (!empty($data['messages'])) { ?>
|
||||
|
@ -40,5 +40,5 @@
|
|||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<?php include TEMPLATE_DIR . '/footer.php'; ?>
|
|
@ -1,20 +1,18 @@
|
|||
<?php include TEMPLATE_DIR . '/header.php'; ?>
|
||||
<section>
|
||||
<div class="wrap">
|
||||
<div class="messages">
|
||||
<a class="right" href="/messages">Все сообщения</a>
|
||||
<h2><?= $data['title']; ?></h2>
|
||||
|
||||
<form action="/messages/send" method="post">
|
||||
<?= csrf_field() ?>
|
||||
<input type="hidden" name="recipient" value="<?= $data['recipient_uid']; ?>" />
|
||||
|
||||
<textarea rows="3" id="message" class="mess" placeholder="Сообщение..." type="text" name="message" /></textarea>
|
||||
<p>
|
||||
<input type="submit" name="submit" value="Отправить" class="submit">
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
<main>
|
||||
<div class="left-ots">
|
||||
<a class="right" href="/messages">Все сообщения</a>
|
||||
<h2><?= $data['title']; ?></h2>
|
||||
|
||||
<form action="/messages/send" method="post">
|
||||
<?= csrf_field() ?>
|
||||
<input type="hidden" name="recipient" value="<?= $data['recipient_uid']; ?>" />
|
||||
|
||||
<textarea rows="3" id="message" class="mess" placeholder="Сообщение..." type="text" name="message" /></textarea>
|
||||
<p>
|
||||
<input type="submit" name="submit" value="Отправить" class="submit">
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<?php include TEMPLATE_DIR . '/footer.php'; ?>
|
|
@ -1,31 +1,31 @@
|
|||
<?php include TEMPLATE_DIR . '/header.php'; ?>
|
||||
<section>
|
||||
<div class="wrap">
|
||||
<main>
|
||||
<div class="left-ots">
|
||||
<h1><?= $data['title'] ?></h1>
|
||||
<?php if (!empty($data['list'])) { ?>
|
||||
|
||||
<?php foreach ($data['list'] as $notif) { ?>
|
||||
<div class="fl<?php if($notif['read_flag'] == 0) { ?> active<?php } ?>">
|
||||
<?php if($notif['action_type'] == 1) { ?>
|
||||
<svg class="md-icon moon">
|
||||
<use xlink:href="/assets/svg/icons.svg#mail"></use>
|
||||
</svg>
|
||||
|
||||
<a href="/u/<?= $notif['login'] ?>"><?= $notif['login'] ?></a>
|
||||
написал вам
|
||||
<a href="/messages/read/<?= $notif['connection_type'] ?>">сообщение</a>
|
||||
|
||||
| <?= $notif['add_time']; ?>
|
||||
|
||||
<?php if($notif['read_flag'] == 0) { ?><sup class="red">✔</sup><?php } ?>
|
||||
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php } else { ?>
|
||||
Уведомлений пока нет...
|
||||
<?php if (!empty($data['list'])) { ?>
|
||||
|
||||
<?php foreach ($data['list'] as $notif) { ?>
|
||||
<div class="fl<?php if($notif['read_flag'] == 0) { ?> active<?php } ?>">
|
||||
<?php if($notif['action_type'] == 1) { ?>
|
||||
<svg class="md-icon moon">
|
||||
<use xlink:href="/assets/svg/icons.svg#mail"></use>
|
||||
</svg>
|
||||
|
||||
<a href="/u/<?= $notif['login'] ?>"><?= $notif['login'] ?></a>
|
||||
написал вам
|
||||
<a href="/messages/read/<?= $notif['connection_type'] ?>">сообщение</a>
|
||||
|
||||
| <?= $notif['add_time']; ?>
|
||||
|
||||
<?php if($notif['read_flag'] == 0) { ?><sup class="red">✔</sup><?php } ?>
|
||||
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php } else { ?>
|
||||
Уведомлений пока нет...
|
||||
<?php } ?>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<?php include TEMPLATE_DIR . '/footer.php'; ?>
|
|
@ -1,8 +1,8 @@
|
|||
<?php include TEMPLATE_DIR . '/header.php'; ?>
|
||||
<section>
|
||||
<div class="wrap">
|
||||
<main>
|
||||
<div class="left-ots">
|
||||
|
||||
<h2><?php echo $data['h1']; ?></h2>
|
||||
<h1><?php echo $data['h1']; ?></h1>
|
||||
|
||||
<div class="box create">
|
||||
<form action="/post/create" method="post">
|
||||
|
@ -95,5 +95,5 @@
|
|||
</div>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<?php include TEMPLATE_DIR . '/footer.php'; ?>
|
|
@ -1,6 +1,6 @@
|
|||
<?php include TEMPLATE_DIR . '/header.php'; ?>
|
||||
<section>
|
||||
<div class="wrap">
|
||||
<main>
|
||||
<div class="left-ots">
|
||||
|
||||
<h1><?= $data['h1']; ?></h1>
|
||||
|
||||
|
@ -108,5 +108,5 @@
|
|||
</div>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<?php include TEMPLATE_DIR . '/footer.php'; ?>
|
|
@ -1,10 +1,7 @@
|
|||
<?php include TEMPLATE_DIR . '/header.php'; ?>
|
||||
<section>
|
||||
<div class="wrap">
|
||||
<main>
|
||||
<div class="left-ots">
|
||||
|
||||
<a title="Участники" class="avatar-user right" href="/users">
|
||||
Участники
|
||||
</a>
|
||||
<h1 class="top"><?php echo $data['h1']; ?></h1>
|
||||
|
||||
<div class="telo posts">
|
||||
|
@ -67,5 +64,5 @@
|
|||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<?php include TEMPLATE_DIR . '/footer.php'; ?>
|
|
@ -1,12 +1,12 @@
|
|||
<?php include TEMPLATE_DIR . '/header.php'; ?>
|
||||
<section>
|
||||
<div class="wrap">
|
||||
<main>
|
||||
<article class="post-full">
|
||||
<!--header-->
|
||||
|
||||
<?php if($post['post_is_delete'] == 0 || $uid['trust_level'] == 5) { ?>
|
||||
|
||||
<div class="telo-detail_post<?php if($post['post_is_delete'] == 1) { ?> dell<?php } ?>">
|
||||
|
||||
|
||||
|
||||
<?php if (!$uid['id']) { ?>
|
||||
<div id="vot<?= $post['post_id']; ?>" class="voters">
|
||||
<a rel="nofollow" href="/login"><div class="post-up-id"></div></a>
|
||||
|
@ -135,10 +135,8 @@
|
|||
</div>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
|
||||
<?php if (!empty($comms)) { ?>
|
||||
<div class="telo comments">
|
||||
<div class="comments">
|
||||
<h2><?= $post['post_comments'] ?> <?= $post['num_comments'] ?></h2>
|
||||
|
||||
<?php foreach ($comms as $comm) { ?>
|
||||
|
@ -228,11 +226,10 @@
|
|||
</li>
|
||||
</ol>
|
||||
|
||||
|
||||
<?php } else { ?>
|
||||
<ol class="dell comment-telo<?php if ($comm['level'] == 0) { ?> one<?php } ?><?php if ($comm['level'] == 2) { ?> two<?php } ?><?php if ($comm['level'] > 2) { ?> three<?php } ?>">
|
||||
<li class="comments_subtree" id="comm_<?= $comm['comment_id']; ?>">
|
||||
~ Комментарий удален
|
||||
<span class="comm-deletes">~ Комментарий удален</span>
|
||||
</li>
|
||||
</ol>
|
||||
<?php } ?>
|
||||
|
@ -251,6 +248,7 @@
|
|||
<p class="info">Пост закрыт...</p>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</article>
|
||||
</main>
|
||||
<?php include TEMPLATE_DIR . '/footer.php'; ?>
|
|
@ -1,13 +1,10 @@
|
|||
<?php include TEMPLATE_DIR . '/header.php'; ?>
|
||||
<section>
|
||||
<div class="wrap">
|
||||
<div class="search">
|
||||
<h1>Поиск</h1>
|
||||
<main>
|
||||
<div class="left-ots">
|
||||
<h1>Поиск</h1>
|
||||
|
||||
|
||||
<p>В стадии разработки</p>
|
||||
<p>В стадии разработки</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<?php include TEMPLATE_DIR . '/footer.php'; ?>
|
|
@ -1,34 +1,32 @@
|
|||
<?php include TEMPLATE_DIR . '/header.php'; ?>
|
||||
<section>
|
||||
<div class="wrap">
|
||||
<div class="telo detail">
|
||||
<h1><?= $data['h1']; ?></h1>
|
||||
<p>Cимвол (~) используется для обозначения разделов сайта: ~ cms, ~ флуд, ~ вопросы и т.д.</p>
|
||||
<div class="telo space">
|
||||
<?php if (!empty($space)) { ?>
|
||||
|
||||
<?php foreach ($space as $sp) { ?>
|
||||
<div class="space-telo">
|
||||
<span class="date">
|
||||
~ <a title="<?= $sp['space_name']; ?>" class="space space_<?= $sp['space_tip']; ?>" href="/s/<?= $sp['space_slug']; ?>">
|
||||
<?= $sp['space_name']; ?>
|
||||
</a>
|
||||
</span>
|
||||
<span class="date space-des">
|
||||
<?= $sp['space_description']; ?>
|
||||
</span>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<main>
|
||||
<div class="left-ots">
|
||||
<h1><?= $data['h1']; ?></h1>
|
||||
<p>Cимвол (~) используется для обозначения разделов сайта: ~ cms, ~ флуд, ~ вопросы и т.д.</p>
|
||||
|
||||
<?php if (!empty($space)) { ?>
|
||||
|
||||
<?php foreach ($space as $sp) { ?>
|
||||
<div class="space-telo">
|
||||
<span class="date">
|
||||
~ <a title="<?= $sp['space_name']; ?>" class="space space_<?= $sp['space_tip']; ?>" href="/s/<?= $sp['space_slug']; ?>">
|
||||
<?= $sp['space_name']; ?>
|
||||
</a>
|
||||
</span>
|
||||
<span class="date space-des">
|
||||
<?= $sp['space_description']; ?>
|
||||
</span>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php } else { ?>
|
||||
<?php } else { ?>
|
||||
|
||||
<h3>Нет тегов</h3>
|
||||
<h3>Нет тегов</h3>
|
||||
|
||||
<p>К сожалению тегов нет...</p>
|
||||
<p>К сожалению тегов нет...</p>
|
||||
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<?php include TEMPLATE_DIR . '/footer.php'; ?>
|
|
@ -1,6 +1,6 @@
|
|||
<?php include TEMPLATE_DIR . '/header.php'; ?>
|
||||
<section>
|
||||
<div class="wrap">
|
||||
<main>
|
||||
<div class="left-ots">
|
||||
|
||||
<h1><?= $data['h1']; ?></h1>
|
||||
|
||||
|
@ -43,5 +43,5 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<?php include TEMPLATE_DIR . '/footer.php'; ?>
|
|
@ -1,6 +1,6 @@
|
|||
<?php include TEMPLATE_DIR . '/header.php'; ?>
|
||||
<section>
|
||||
<div class="wrap">
|
||||
<main>
|
||||
<div class="left-ots">
|
||||
<div class="w-100">
|
||||
<div class="w-50">
|
||||
<h1 class="left-ots"><span>~</span> <?= $data['h1']; ?></h1>
|
||||
|
@ -96,5 +96,5 @@
|
|||
|
||||
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<?php include TEMPLATE_DIR . '/footer.php'; ?>
|
|
@ -1,33 +1,32 @@
|
|||
<?php include TEMPLATE_DIR . '/header.php'; ?>
|
||||
<section>
|
||||
<div class="wrap">
|
||||
<div class="box-users">
|
||||
<h1><?= $data['h1']; ?></h1>
|
||||
<div class="all-users">
|
||||
<?php foreach($users as $ind => $user) { ?>
|
||||
<div class="column">
|
||||
<div class="user_card">
|
||||
<div>
|
||||
<a href="/u/<?= $user['login']; ?>">
|
||||
<img class="gravatar" alt="<?= $user['login']; ?>" src="/uploads/avatar/<?php echo $user['avatar']; ?>">
|
||||
</a>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<a href="/u/<?= $user['login']; ?>"><?= $user['login']; ?></a>
|
||||
<br>
|
||||
|
||||
id:<?php echo $user['id']; ?>
|
||||
|
||||
<?php if($user['name']) { ?>
|
||||
(<?= $user['name']; ?>)
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
<main>
|
||||
<div class="left-ots">
|
||||
<div class="box-users">
|
||||
<h1><?= $data['h1']; ?></h1>
|
||||
<div class="all-users">
|
||||
<?php foreach($users as $ind => $user) { ?>
|
||||
<div class="column">
|
||||
<div class="user_card">
|
||||
<div>
|
||||
<a href="/u/<?= $user['login']; ?>">
|
||||
<img class="gravatar" alt="<?= $user['login']; ?>" src="/uploads/avatar/<?php echo $user['avatar']; ?>">
|
||||
</a>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<a href="/u/<?= $user['login']; ?>"><?= $user['login']; ?></a>
|
||||
<br>
|
||||
|
||||
id:<?php echo $user['id']; ?>
|
||||
|
||||
<?php if($user['name']) { ?>
|
||||
(<?= $user['name']; ?>)
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<br>
|
||||
</div>
|
||||
</main>
|
||||
<?php include TEMPLATE_DIR . '/footer.php'; ?>
|
|
@ -1,10 +1,7 @@
|
|||
<?php include TEMPLATE_DIR . '/header.php'; ?>
|
||||
<section>
|
||||
<div class="wrap">
|
||||
<main>
|
||||
<div class="left-ots">
|
||||
|
||||
<a title="Участники" class="avatar-user right" href="/users">
|
||||
Участники
|
||||
</a>
|
||||
<h1><?= $data['h1']; ?></h1>
|
||||
|
||||
<div class="favorite">
|
||||
|
@ -62,5 +59,5 @@
|
|||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<?php include TEMPLATE_DIR . '/footer.php'; ?>
|
|
@ -1,123 +1,122 @@
|
|||
<?php include TEMPLATE_DIR . '/header.php'; ?>
|
||||
<section>
|
||||
<div class="wrap">
|
||||
<div class="telo-profile">
|
||||
<div class="gravatar right">
|
||||
<img alt="<?= $user['login']; ?>" src="/uploads/avatar/<?= $user['avatar']; ?>">
|
||||
</div>
|
||||
|
||||
<h1>
|
||||
<?= $user['login']; ?>
|
||||
|
||||
<?php if($user['name']) { ?> / <?= $user['name']; ?><?php } ?>
|
||||
|
||||
<?php if($uid['id']) { ?>
|
||||
<?php if($uid['login'] != $user['login']) { ?>
|
||||
<a href="/u/<?= $user['login']; ?>/messages">
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#mail"></use>
|
||||
</svg>
|
||||
</a>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</h1>
|
||||
|
||||
<div class="box wide">
|
||||
<label class="required">ID:</label>
|
||||
<span class="d"><?= $user['id']; ?></span>
|
||||
|
||||
<br>
|
||||
<div class="profile">
|
||||
<div class="left-ots">
|
||||
|
||||
<label class="required">TL:</label>
|
||||
<div class="gravatar right">
|
||||
<img alt="<?= $user['login']; ?>" src="/uploads/avatar/<?= $user['avatar']; ?>">
|
||||
</div>
|
||||
|
||||
<h1>
|
||||
<?= $user['login']; ?>
|
||||
|
||||
<?php if($user['name']) { ?> / <?= $user['name']; ?><?php } ?>
|
||||
|
||||
<?php if($uid['id']) { ?>
|
||||
<?php if($uid['login'] != $user['login']) { ?>
|
||||
<a href="/u/<?= $user['login']; ?>/messages">
|
||||
<svg class="md-icon">
|
||||
<use xlink:href="/assets/svg/icons.svg#mail"></use>
|
||||
</svg>
|
||||
</a>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</h1>
|
||||
|
||||
<div class="box wide">
|
||||
<label class="required">ID:</label>
|
||||
<span class="d"><?= $user['id']; ?></span>
|
||||
|
||||
<br>
|
||||
|
||||
<label class="required">TL:</label>
|
||||
<span class="d">
|
||||
<a title="Уровень доверия" href="/info/trust-level"><?= $data['trust_level']['trust_name']; ?></a>
|
||||
</span>
|
||||
|
||||
<br>
|
||||
|
||||
<label class="required">Присоединился:</label>
|
||||
<span class="d"><?= $user['created_at']; ?></span>
|
||||
|
||||
<br>
|
||||
|
||||
<?php if($data['post_num_user'] != 0) { ?>
|
||||
<label class="required">Постов:</label>
|
||||
<span class="d">
|
||||
<a title="Уровень доверия" href="/info/trust-level"><?= $data['trust_level']['trust_name']; ?></a>
|
||||
</span>
|
||||
<a title="Всего постов <?= $user['login']; ?>" href="/newest/<?= $user['login']; ?>">
|
||||
<?= $data['post_num_user']; ?>
|
||||
</a>
|
||||
</span> <br>
|
||||
<?php } ?>
|
||||
|
||||
<br>
|
||||
|
||||
<label class="required">Присоединился:</label>
|
||||
<span class="d"><?= $user['created_at']; ?></span>
|
||||
|
||||
<br>
|
||||
|
||||
<?php if($data['post_num_user'] != 0) { ?>
|
||||
<label class="required">Постов:</label>
|
||||
<span class="d">
|
||||
<a title="Всего постов <?= $user['login']; ?>" href="/newest/<?= $user['login']; ?>">
|
||||
<?= $data['post_num_user']; ?>
|
||||
</a>
|
||||
</span> <br>
|
||||
<?php if($data['comm_num_user'] != 0) { ?>
|
||||
<label class="required">Комментариев:</label>
|
||||
<span class="d">
|
||||
<a title="Все комментарии <?= $user['login']; ?>" href="/threads/<?= $user['login']; ?>">
|
||||
<?= $data['comm_num_user']; ?>
|
||||
</a>
|
||||
</span> <br>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($data['fav_num_user'] != 0) { ?>
|
||||
<label class="required">Избранные:</label>
|
||||
<span class="d">
|
||||
<a title="Избранное <?= $user['login']; ?>" href="/favorite/<?= $user['login']; ?>">
|
||||
<?= $data['fav_num_user']; ?>
|
||||
</a>
|
||||
</span> <br>
|
||||
<?php } ?>
|
||||
|
||||
<label class="required">О себе:</label>
|
||||
<span class="na about">
|
||||
<?php if($user['about']) { ?>
|
||||
<?= $user['about']; ?>
|
||||
<?php } else { ?>
|
||||
Загадка...
|
||||
<?php } ?>
|
||||
</span>
|
||||
<br>
|
||||
|
||||
<?php if($data['comm_num_user'] != 0) { ?>
|
||||
<label class="required">Комментариев:</label>
|
||||
<span class="d">
|
||||
<a title="Все комментарии <?= $user['login']; ?>" href="/threads/<?= $user['login']; ?>">
|
||||
<?= $data['comm_num_user']; ?>
|
||||
</a>
|
||||
</span> <br>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($data['fav_num_user'] != 0) { ?>
|
||||
<label class="required">Избранные:</label>
|
||||
<span class="d">
|
||||
<a title="Избранное <?= $user['login']; ?>" href="/favorite/<?= $user['login']; ?>">
|
||||
<?= $data['fav_num_user']; ?>
|
||||
</a>
|
||||
</span> <br>
|
||||
<?php } ?>
|
||||
|
||||
<label class="required">О себе:</label>
|
||||
<span class="na about">
|
||||
<?php if($user['about']) { ?>
|
||||
<?= $user['about']; ?>
|
||||
<?php } else { ?>
|
||||
Загадка...
|
||||
<?php } ?>
|
||||
</span>
|
||||
<br>
|
||||
<?php if($user['my_post'] != 0) { ?>
|
||||
<h4>Избранный пост:</h4>
|
||||
|
||||
|
||||
<?php if($user['my_post'] != 0) { ?>
|
||||
<h4>Избранный пост:</h4>
|
||||
|
||||
<div class="post-telo">
|
||||
<div id="vot<?= $post['post_id']; ?>" class="voters">
|
||||
<div data-id="<?= $post['post_id']; ?>" class="post-up-id"></div>
|
||||
<div class="score"><?= $post['post_votes']; ?></div>
|
||||
</div>
|
||||
<div class="post-body">
|
||||
<a class="u-url" href="/posts/<?= $post['post_slug']; ?>">
|
||||
<h2 class="titl"><?= $post['post_title']; ?></h2>
|
||||
</a>
|
||||
|
||||
<a class="space space_<?= $post['space_tip'] ?>" href="/s/<?= $post['space_slug']; ?>" title="<?= $post['space_name']; ?>">
|
||||
<?= $post['space_name']; ?>
|
||||
</a>
|
||||
|
||||
<div class="footer">
|
||||
<img class="ava" alt="<?= $user['login']; ?>" src="/uploads/avatar/small/<?= $user['avatar']; ?>">
|
||||
<span class="user">
|
||||
<a href="/u/<?= $user['login']; ?>">
|
||||
<?= $user['login']; ?>
|
||||
</a>
|
||||
</span>
|
||||
<span class="date">
|
||||
<?= $post['post_date'] ?>
|
||||
</span>
|
||||
<?php if($post['post_comments'] !=0) { ?>
|
||||
<span class="otst"> | </span>
|
||||
<a class="u-url" href="/posts/<?= $post['post_slug']; ?>">
|
||||
<?= $post['post_comments']; ?> комментариев
|
||||
</a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="post-telo">
|
||||
<div id="vot<?= $post['post_id']; ?>" class="voters">
|
||||
<div data-id="<?= $post['post_id']; ?>" class="post-up-id"></div>
|
||||
<div class="score"><?= $post['post_votes']; ?></div>
|
||||
</div>
|
||||
<br>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<div class="post-body">
|
||||
<a class="u-url" href="/posts/<?= $post['post_slug']; ?>">
|
||||
<h2 class="titl"><?= $post['post_title']; ?></h2>
|
||||
</a>
|
||||
|
||||
<a class="space space_<?= $post['space_tip'] ?>" href="/s/<?= $post['space_slug']; ?>" title="<?= $post['space_name']; ?>">
|
||||
<?= $post['space_name']; ?>
|
||||
</a>
|
||||
|
||||
<div class="footer">
|
||||
<img class="ava" alt="<?= $user['login']; ?>" src="/uploads/avatar/small/<?= $user['avatar']; ?>">
|
||||
<span class="user">
|
||||
<a href="/u/<?= $user['login']; ?>">
|
||||
<?= $user['login']; ?>
|
||||
</a>
|
||||
</span>
|
||||
<span class="date">
|
||||
<?= $post['post_date'] ?>
|
||||
</span>
|
||||
<?php if($post['post_comments'] !=0) { ?>
|
||||
<span class="otst"> | </span>
|
||||
<a class="u-url" href="/posts/<?= $post['post_slug']; ?>">
|
||||
<?= $post['post_comments']; ?> комментариев
|
||||
</a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<?php include TEMPLATE_DIR . '/footer.php'; ?>
|
||||
|
|
|
@ -1,24 +1,22 @@
|
|||
<?php include TEMPLATE_DIR . '/header.php'; ?>
|
||||
<section>
|
||||
<div class="wrap">
|
||||
<div class="left-ots">
|
||||
<a class="right" href="/u/<?php echo $uid['login']; ?>">Посмотреть профиль</a>
|
||||
<ul class="nav-tabs">
|
||||
<li><a href="/users/setting"><span>Настройка профиля</span></a></li>
|
||||
<li class="active"><span>Аватар</span></li>
|
||||
<li><a href="/users/setting/security"><span>Пароль</span></a></li>
|
||||
</ul>
|
||||
<div class="box setting">
|
||||
<img width="110" height="110" src="/uploads/avatar/<?= $uid['avatar']; ?>">
|
||||
|
||||
<form method="POST" action="/users/setting/avatar/edit" enctype="multipart/form-data">
|
||||
<?= csrf_field() ?>
|
||||
<input type="file" name="image" accept="image/*"/>
|
||||
<p>Выберите файл для загрузки 120x120px (jpg, jpeg, png)</p>
|
||||
<p><input type="submit" value="Загрузить"/></p>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<main>
|
||||
<div class="left-ots">
|
||||
<a class="right" href="/u/<?php echo $uid['login']; ?>">Посмотреть профиль</a>
|
||||
<ul class="nav-tabs">
|
||||
<li><a href="/users/setting"><span>Настройка профиля</span></a></li>
|
||||
<li class="active"><span>Аватар</span></li>
|
||||
<li><a href="/users/setting/security"><span>Пароль</span></a></li>
|
||||
</ul>
|
||||
<div class="box setting">
|
||||
<img width="110" height="110" src="/uploads/avatar/<?= $uid['avatar']; ?>">
|
||||
|
||||
<form method="POST" action="/users/setting/avatar/edit" enctype="multipart/form-data">
|
||||
<?= csrf_field() ?>
|
||||
<input type="file" name="image" accept="image/*"/>
|
||||
<p>Выберите файл для загрузки 120x120px (jpg, jpeg, png)</p>
|
||||
<p><input type="submit" value="Загрузить"/></p>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<?php include TEMPLATE_DIR . '/footer.php'; ?>
|
|
@ -1,6 +1,6 @@
|
|||
<?php include TEMPLATE_DIR . '/header.php'; ?>
|
||||
<section>
|
||||
<div class="wrap">
|
||||
<main>
|
||||
<div class="left-ots">
|
||||
<a class="right" href="/u/<?= $data['login']; ?>">Посмотреть профиль</a>
|
||||
<ul class="nav-tabs">
|
||||
<li><a href="/users/setting"><span>Настройка профиля</span></a></li>
|
||||
|
@ -30,5 +30,5 @@
|
|||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<?php include TEMPLATE_DIR . '/footer.php'; ?>
|
|
@ -1,46 +1,44 @@
|
|||
<?php include TEMPLATE_DIR . '/header.php'; ?>
|
||||
<section>
|
||||
<div class="wrap">
|
||||
<div class="telo-profile">
|
||||
<a class="right" href="/u/<?php echo $data['login']; ?>">Посмотреть профиль</a>
|
||||
|
||||
<ul class="nav-tabs">
|
||||
<li class="active"><span>Настройка профиля</span></li>
|
||||
<li><a href="/users/setting/avatar"><span>Аватар</span></a></li>
|
||||
<li><a href="/users/setting/security"><span>Пароль</span></a></li>
|
||||
</ul>
|
||||
<main>
|
||||
<div class="left-ots">
|
||||
<a class="right" href="/u/<?php echo $data['login']; ?>">Посмотреть профиль</a>
|
||||
|
||||
<ul class="nav-tabs">
|
||||
<li class="active"><span>Настройка профиля</span></li>
|
||||
<li><a href="/users/setting/avatar"><span>Аватар</span></a></li>
|
||||
<li><a href="/users/setting/security"><span>Пароль</span></a></li>
|
||||
</ul>
|
||||
|
||||
<div class="box setting">
|
||||
<form action="/users/setting/edit" method="post" enctype="multipart/form-data">
|
||||
<?php csrf_field(); ?>
|
||||
<div class="boxline">
|
||||
<label for="name">Никнейм</label>
|
||||
<img class="mini ava" src="/uploads/avatar/small/<?php echo $data['avatar']; ?>">
|
||||
<?php echo $data['login']; ?>
|
||||
</div>
|
||||
<div class="boxline">
|
||||
<label for="name">E-mail</label>
|
||||
<?php echo $data['email']; ?>
|
||||
</div>
|
||||
<div class="box setting">
|
||||
<form action="/users/setting/edit" method="post" enctype="multipart/form-data">
|
||||
<?php csrf_field(); ?>
|
||||
<div class="boxline">
|
||||
<label for="name">Никнейм</label>
|
||||
<img class="mini ava" src="/uploads/avatar/small/<?php echo $data['avatar']; ?>">
|
||||
<?php echo $data['login']; ?>
|
||||
</div>
|
||||
<div class="boxline">
|
||||
<label for="name">E-mail</label>
|
||||
<?php echo $data['email']; ?>
|
||||
</div>
|
||||
|
||||
<div class="boxline">
|
||||
<label for="name">Имя</label>
|
||||
<input type="text" class="form-control" name="name" id="name" value="<?php echo $data['name']; ?>">
|
||||
</div>
|
||||
|
||||
<div class="boxline">
|
||||
<label for="about">О себе</label>
|
||||
<textarea type="text" class="form-about" name="about" id="about"><?php echo $data['about']; ?></textarea>
|
||||
</div>
|
||||
|
||||
<div class="boxline">
|
||||
<input type="hidden" name="nickname" id="nickname" value="">
|
||||
<button type="submit" class="btn btn-primary">Изменить</button>
|
||||
</div>
|
||||
|
||||
<div class="boxline">
|
||||
<label for="name">Имя</label>
|
||||
<input type="text" class="form-control" name="name" id="name" value="<?php echo $data['name']; ?>">
|
||||
</div>
|
||||
|
||||
<div class="boxline">
|
||||
<label for="about">О себе</label>
|
||||
<textarea type="text" class="form-about" name="about" id="about"><?php echo $data['about']; ?></textarea>
|
||||
</div>
|
||||
|
||||
<div class="boxline">
|
||||
<input type="hidden" name="nickname" id="nickname" value="">
|
||||
<button type="submit" class="btn btn-primary">Изменить</button>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<?php include TEMPLATE_DIR . '/footer.php'; ?>
|
Loading…
Reference in a new issue