С помощью этого модуля вы сможете показать всем каманда вашего сайта
В шаблоне wteam.tpl доступны теги :
{member} - логин пользователя
(photo} - аватарка пользователя
{email} - Email пользователя
{news-count} - кол-во новостей пользователя
{comm-count} - Кол-во комментариев пользователя
{uid} - ID пользователя
{function} - Должнасть пользователя
{about} - информация о пользователе
{date} - дата регистрации пользователя
Установка "DLE WTeam" v1.0
Загрузить все файлы по папках. Выполнить запрос в БД
INSERT INTO `dle_admin_sections` (`id`, `name`, `title`, `descr`, `icon`, `allow_groups`) VALUES
(1, 'wteam', 'WTeam v 1.0', 'Команда Сайта', 'wteam.png', '1,2,3');
CREATE TABLE `dle_wteam` (
`id` int(11) UNSIGNED NOT NULL,
`user_id` varchar(255) NOT NULL,
`namee` varchar(255) NOT NULL,
`function` varchar(255) NOT NULL,
`about` text NOT NULL,
`date` date NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
В файле engine/engine.php Найти:
case "changemail" :
include ENGINE_DIR . '/modules/changemail.php';
break;
После добавить:
case "wteam" :
include ENGINE_DIR . '/modules/wteam/wteam.php';
break;
Найти:
elseif ($do == 'stats') $nam_e = $lang['title_stats'];
После добавить:
elseif ($do == 'wteam') $nam_e = "Команда Сайта";
В конец ваших стилей добавить:
.line_relise {padding: 15px 0; border-bottom: 1px solid #e5e5e5; position: relative;}
.date_relise, .img_relise, .three_relise, .four_relise { float: left;
margin-right: 10px;}
.four_relise { float: left;
width: 475px;
margin-left: 41px;
margin-top: 10px;
text-align: justify;}
.row_wteam {
margin-top: -30px;
}
.wteam_title {
margin-bottom: 5px;
}
.wteam_descc {
width: 800px;
margin: 0 auto;
margin-bottom: 20px;
}
.line_relise:hover {
background: rgba(153, 153, 153, 0.15);
}
.date_relise, .inner_relise_one {font: 500 30px/28px 'Roboto Condensed', sans-serif; text-transform: uppercase; text-align: center; margin-top: 20px; width: 80px;}
.date_relise span, .four_relise span{ display: block;
font-size: 14px;
font-weight: 300;
margin-left: 3px;}
.img_relise img {border-radius:15%; -webkit-transition: border-radius 200ms ease 0ms; transition: border-radius 200ms ease 0ms;}
.three_relise { margin-top: 4px;float:left;}
.three_relise h4 {font: 400 18px 'Roboto Condensed', sans-serif; text-transform: uppercase;}
.inner_relise_one, .inner_relise_two {float: right;}
.inner_relise_two span, .inner_relise_two a {position: relative; z-index:2; display: inline-block; opacity: 0.3; margin: 30px 5px; -webkit-transition: opacity 200ms ease 0ms; transition: opacity 200ms ease 0ms; width: 30px; height: 30px; border-radius: 10%; font-size: 22px; text-align: center; line-height: 27px; color: #FFF;}
.inner_relise_two span {background: #ccc;}
.inner_relise_two a {opacity: 1;}
.inner_relise_two {margin-right: 30px;}
.inner_relise_two .phone_relise i {position: relative; top: 1px;}
.inner_relise_two .tablet_relise i {position: relative; top: 2px;}
.phone_relise {background: #EF7583;}
.tablet_relise {background: #7CB3EC;}
.android_relise {background: #68BE65;}
.inner_relise_two a:hover {opacity: 0.6; color: #FFF;}
.relise_search {position: absolute; top:0; bottom:0; left:0; right:0; z-index:1;}
.line_relise:hover .img_relise img{border-radius:10%;}
.relise_held {color: #68BE65;}
.relise_held span {color: #000;}
.fa-mobile {
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAA60lEQVR4nO2WTQqCUBSFvycNG1nQOKE9RMuoZQTtrR20jEyoDVTDRulp4AtMRC9iFOWBh1w93s/3fD/XSeITCj5C/UvwwOiLgBngajwCEuBoyiipqW0kpbIplbQ25MQZZvUFCAtxBpwK8ZTXX3YFRk1JLUMdluIbsCvEE2BY46+UpcdtFnrdXADss3rrva6mBd5nkhV8prnn8r5OwZ2rB/fgHtyD3w4e07zxO+8zqe3plJKfyRHVH9/Z6VTWkrwUWrV83wROKu49RyGreBabyIb6aCEpLtVWd0kHfy1qL2neVc31Fn39cvod8AO8vPATAlW/agAAAABJRU5ErkJggg==');
}
.fa-tablet {
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAA2UlEQVR4nO2WPQoCMRCFvxV/EAsLWTttxENo4WntbcVKwSPsBQSx0VZFC5+FWyyaEDeLrLB5EFLMZL6ZkMCLJFGGaqVQywTXHfEB0PGoewN2wMOaIcm0xpISFdNe0tRSn8jyuDbAzGPSd+2BIfAJsXR0T7ue2Dp2rDgz+dCUY3tcjXQ/ek6aPdc0JVTvOwVwAAdwAAfw/4Nd1mcEnDzqxkXBSw/oV7Jd9dVxbgt0gfkXjEse8MpRrAX0gLYjLwEOxojFM/UlLSSdPR3mTdJaL7eay2X+XNX7x0/6Gkvg3WY/4QAAAABJRU5ErkJggg==');
}
.fa-android {
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAABoElEQVR4nO2WzStEURjGf742NpRigSyQ7LC0Iks7WU1TSlZsxF/hPxErsvIRFpKFrwVRSrFSgygWPuaxmDs5jrl33pl7LcRTt/NxT8/vnqd73g6SMDy9kuoM6waNflRi0zUwWWRNF9Bp9KPauC4DvABpYAjoA5qAR+ASWAE6gFkr2BSLpBZJ24rWnaQRa9SWRW2SbopAXU0lAa6RdBAYzkuaC4GdSEoF/RdJ/XHB4475qaSdEPC9pAVnvBsXvBYCsqg9yrvYceox/6Xf1Rf10j9ONcAAcA5cATNAVZngI8fvjFwt+JQXwVIQ05OkbkmZGFGnC/iFRj0ctLXkCkVchfr5YDdWa1WLUqiftVYnrn/w3wO/O/3XBPxD/XzwctA+AxsJgPN+T8D6lzde5apW7t7UEozjVq68X7PH+VYk3oBNZ3wHNJS529sCfqE79p9RSbcl7vRV0qKkqihv650Lz3w6mKv35iesfqUcJ5UZeUH9CnC2QN//mCxGlQLed/oHQfsAXDgfcWg1q5DMCTYCY8AxsOrMtwIpYA/Y+glwovoA0rMoouGgwY8AAAAASUVORK5CYII=');
}
.all_review_platform {font-size: 16px; padding: 15px 20px; cursor: pointer; text-transform: uppercase; text-align: right; width: 192px; margin: -5px -10px;}
.all_review_platform span {display: block; color: #7AACDF; font-weight: 600;}
.all_review_platform ul {width: 190px; position: absolute; border: 1px solid #ccc; margin: 15px -20px 0px -20px; padding: 15px 20px 15px 20px; background: #FFF; display: none; z-index: 99999;list-style: none;}
.all_review_platform li a {display: block; font: 300 18px/2 "Roboto Condensed", sans-serif !important; color: #8a8a8a; text-transform: none;text-decoration: none;}
.all_review_platform li a:hover {color: #7AACDF;}
.activ_platform {background: #7AACDF;}
.google_saleapp .all_review_platform span {color:#59B673;}
.google_saleapp .activ_platform {background:#59B673;}
.activ_platform span, .google_saleapp .activ_platform span {color:#FFF;}
.game_saleapp .all_review_platform {text-align: left;}
@media screen and (max-width: 947px) {
.all_review_platform, .single_sidebar {display: none;}
}
.gamejanr{
margin-bottom: 12px;height: 35px;
}
.img_relise img {
margin-left:10px;
}
@media screen and (max-width: 470px) {
.gamejanr .all_review_platform {float: none !important; text-align: left; margin:-5px -20px !important;}
}
.clearfixx:after {content: " "; clear: both; display: table;}
в .htaccess добавить После RewriteEngine On:
RewriteRule ^team.html$ index.php?do=wteam [L]