Вёрстку на сайте переделаешь?Привет, я занимаюсь сборками ла2 4 года, имею свой сервер: 2lineage.ru. Если вам нужен кодер по ла2, пишите, я знаком с датапаком, кодом и клиентом. Сделаю любые хотелки и напишу новвоведение (эвенты, или другие фишки которые вы захотите).
Еще знаю php, html, css, я к тому что могу отредактировать твой сайт или написать с нуля.
Беру не дорого и только после выполнение задачи.
Ну судя по тому как у тебя сайт сделан верстальщик ты еще тот) про форум молчу там вообще вырви глаза.Привет, я занимаюсь сборками ла2 4 года, имею свой сервер: 2lineage.ru. Если вам нужен кодер по ла2, пишите, я знаком с датапаком, кодом и клиентом. Сделаю любые хотелки и напишу новвоведение (эвенты, или другие фишки которые вы захотите).
Еще знаю php, html, css, я к тому что могу отредактировать твой сайт или написать с нуля.
Беру не дорого и только после выполнение задачи.
Вот ты пока не написал про сайт, я даже не заходил туда.Ну судя по тому как у тебя сайт сделан верстальщик ты еще тот) про форум молчу там вообще вырви глаза.
Чтобы как-то оценить твои знания по java, ты бы пример кода - часть своего эвента бы например любого выложил бы чтобы люди могли видеть, что они будут заказывать
Ну вставь туда модуль вывода смс с форума, вместо топ 5 пивипи.Вёрстку на сайте переделаешь?
Нужно в окне топ5 пвп сделать вывод тем с форума.
Вот так поворот)Знаю автора с 2018 года.
Да, временами пишет странные словосочетания, но исключительно из-за того, что русский не родной.
За эти годы Gotik научился многому, от установки сборки до написания ботов, которые бегают, дерутся, берут профу, летят на место фарма и т.д.
Никто же не заставляет делать точно такой же дизайн сайта или форума. Но факт в том, что сайт самопис от автора, а это уже чего-то стоит.
Как показывает практика, люди охотнее отдадут свои деньги красноречивому кидале- новорегу, чем сделают заказ у чела, который странно пишет.
Автор старается развиваться в программировании, и на мой взгляд, у него отлично получается.
Заверните, куда писатьПривет, я занимаюсь сборками ла2 4 года, имею свой сервер: 2lineage.ru. Если вам нужен кодер по ла2, пишите, я знаком с датапаком, кодом и клиентом. Сделаю любые хотелки и напишу новвоведение (эвенты, или другие фишки которые вы захотите).
Еще знаю php, html, css, я к тому что могу отредактировать твой сайт или написать с нуля.
Беру не дорого и только после выполнение задачи.
Подозреваю что это так не работает) ссылки на темы то должны быть кликкабельны, поэтому тупо вставить модуль думаю не получится.Ну вставь туда модуль вывода смс с форума, вместо топ 5 пивипи.
Это должно быть реализовано в модуле.Подозреваю что это так не работает) ссылки на темы то должны быть кликкабельны, поэтому тупо вставить модуль думаю не получится.
<?php
/**
* STRESS WEB
* @author S.T.R.E.S.S.
* @copyright 2008 - 2012 STRESS WEB
* @version 13
* @web http://stressweb.ru
* @Fix - http://L2Banners.ru
*/
if ( !defined("STRESSWEB") )
die( "Access denied..." );
if ( !$l2cfg["forum"]["enable"] ) {
$tpl->SetResult( 'forum' );
} else {
$mod_forum = $controller->GetCache( 'mod_forum' );
if ( $mod_forum )
$tpl->SetResult( 'forum', $mod_forum );
else {
if ( empty($l2cfg["forum"]["deny"]) )
$l2cfg["forum"]["deny"] = "0";
$fdb = new db( $l2cfg["forum"]["dbhost"], $l2cfg["forum"]["dbuser"], $l2cfg["forum"]["dbpass"], $l2cfg["forum"]["dbname"], $l2cfg["mysql"]["debug"] );
$fdb->query( "SET NAMES '{$l2cfg["forum"]["dbcoll"]}'" );
/**
* =================
* IPS
* =================
*/
if ( $l2cfg["forum"]["version"] == "ips" ) {
$fsql = "
SELECT tid,title,state,last_post,last_poster_id,last_poster_name, approved
FROM {$l2cfg["forum"]["prefix"]}forums_topics
WHERE forum_id NOT IN ({$l2cfg["forum"]["deny"]})
AND approved = 1
ORDER BY last_post DESC
LIMIT {$l2cfg["forum"]["count"]}";
$furl_user = "index.php?showuser=";
$furl_link = "index.php?showtopic={topic_id}' title='{desc_id}'";
}
/**
* =================
* IPB
* =================
*/
if ( $l2cfg["forum"]["version"] == "ipb" ) {
$fsql = "
SELECT tid,title,description,last_post,last_poster_id,last_poster_name
FROM {$l2cfg["forum"]["prefix"]}topics
WHERE forum_id NOT IN ({$l2cfg["forum"]["deny"]})
ORDER BY last_post DESC
LIMIT {$l2cfg["forum"]["count"]}";
$furl_user = "index.php?showuser=";
$furl_link = "index.php?showtopic={topic_id}' title='{desc_id}'";
}
/**
* =================
* phpBB
* =================
*/
if ( $l2cfg["forum"]["version"] == "phpbb" ) {
$fsql = "
SELECT topic_id,topic_title,forum_id,topic_last_post_time,topic_last_poster_id,topic_last_poster_name
FROM {$l2cfg["forum"]["prefix"]}topics
WHERE forum_id NOT IN ({$l2cfg["forum"]["deny"]})
ORDER BY topic_last_post_time DESC
LIMIT {$l2cfg["forum"]["count"]}";
$furl_user = "memberlist.php?mode=viewprofile&u=";
$furl_link = "viewtopic.php?f={desc_id}&t={topic_id}'";
}
/**
* =================
* smf
* =================
*/
if ( $l2cfg["forum"]["version"] == "smf" ) {
$fsql = "
SELECT id_topic,subject,id_board,poster_time,id_member,poster_name
FROM {$l2cfg["forum"]["prefix"]}messages
WHERE id_board NOT IN ({$l2cfg["forum"]["deny"]})
ORDER BY poster_time DESC
LIMIT {$l2cfg["forum"]["count"]}";
$furl_user = "index.php?action=profile;u=";
$furl_link = "index.php?topic={topic_id}'";
}
/**
* =================
* vBulletin
* =================
*/
if ( $l2cfg["forum"]["version"] == "vbulletin" ) {
$fsql = "
SELECT t.threadid,t.title,t.forumid,t.lastpost,u.userid,t.lastposter
FROM {$l2cfg["forum"]["prefix"]}thread t
LEFT JOIN {$l2cfg["forum"]["prefix"]}user u ON t.lastposter = u.username
WHERE t.forumid NOT IN ({$l2cfg["forum"]["deny"]})
ORDER BY t.lastpost DESC
LIMIT {$l2cfg["forum"]["count"]}";
$furl_user = "member.php?u=";
$furl_link = "showthread.php?t={topic_id}'";
}
/**
* =================
* XenFoRo
* © thx Ream
* =================
*/
if ( $l2cfg["forum"]["version"] == "xenforo" ) {
$fsql = "
SELECT thread_id,title,node_id,last_post_date,user_id,last_post_username
FROM {$l2cfg["forum"]["prefix"]}thread
WHERE node_id NOT IN ({$l2cfg["forum"]["deny"]})
ORDER BY last_post_date DESC
LIMIT {$l2cfg["forum"]["count"]}";
$furl_user = "members/";
$furl_link = "threads/{topic_id}'";
}
/**
* ----------------------------------------------------------------------------------------
*/
$fquery = $fdb->query( $fsql );
while ( list($ftid, $ftitle, $fdesc_id, $flast_post, $flast_poster_id, $flast_poster_name) = $fdb->fetch($fquery) ) {
if ( strlen($ftitle) > $l2cfg["forum"]["length"] ) {
$ftitle = iconv( 'UTF-8', 'windows-1251', $ftitle );
$ftitle = substr( $ftitle, 0, $l2cfg["forum"]["length"] - 3 )."...";
$ftitle = iconv( 'windows-1251', 'UTF-8', $ftitle );
}
$flast_post = date( $l2cfg["forum"]["date"], $flast_post );
$flast_poster = "<a href='{$l2cfg["forum"]["url"]}/{$furl_user}{$flast_poster_id}' target='_blank'>{$flast_poster_name}</a>";
$flast_link = "<a href='{$l2cfg["forum"]["url"]}/".$controller->buildString( $furl_link, array("topic_id" => $ftid, "desc_id" => $fdesc_id) )." target='_blank'>{$ftitle}</a>";
$tpl->LoadView( 'forum' );
$tpl->Block( 'main', false );
$tpl->Block( 'item' );
$tpl->Set( 'date', $flast_post );
$tpl->Set( 'author', $flast_poster );
$tpl->Set( 'link', $flast_link );
$tpl->Build( 'forum_item' );
}
$fdb->close();
$tpl->LoadView( 'forum' );
$tpl->Block( 'main' );
$tpl->Block( 'item', false );
$tpl->Set( 'item', $tpl->GetResult('forum_item', true) );
$tpl->Build( "forum" );
if ( $l2cfg['cache']['enable'] and $l2cfg['cache']['forum'] ) {
$controller->SetCache( 'mod_forum', $tpl->GetResult('forum'), $l2cfg['cache']['forum'] );
}
}
}
?>
Наверное проблема, что я на этом "любимом дерьме" не сижуЭто должно быть реализовано в модуле.
Вот собственно сам модуль вашего любимого дерьма:
Указываешь вместо модуля топ5пвп, модуль форума. Как выше и написал.PHP:<?php /** * STRESS WEB * @author S.T.R.E.S.S. * @copyright 2008 - 2012 STRESS WEB * @version 13 * @web http://stressweb.ru * @Fix - http://L2Banners.ru */ if ( !defined("STRESSWEB") ) die( "Access denied..." ); if ( !$l2cfg["forum"]["enable"] ) { $tpl->SetResult( 'forum' ); } else { $mod_forum = $controller->GetCache( 'mod_forum' ); if ( $mod_forum ) $tpl->SetResult( 'forum', $mod_forum ); else { if ( empty($l2cfg["forum"]["deny"]) ) $l2cfg["forum"]["deny"] = "0"; $fdb = new db( $l2cfg["forum"]["dbhost"], $l2cfg["forum"]["dbuser"], $l2cfg["forum"]["dbpass"], $l2cfg["forum"]["dbname"], $l2cfg["mysql"]["debug"] ); $fdb->query( "SET NAMES '{$l2cfg["forum"]["dbcoll"]}'" ); /** * ================= * IPS * ================= */ if ( $l2cfg["forum"]["version"] == "ips" ) { $fsql = " SELECT tid,title,state,last_post,last_poster_id,last_poster_name, approved FROM {$l2cfg["forum"]["prefix"]}forums_topics WHERE forum_id NOT IN ({$l2cfg["forum"]["deny"]}) AND approved = 1 ORDER BY last_post DESC LIMIT {$l2cfg["forum"]["count"]}"; $furl_user = "index.php?showuser="; $furl_link = "index.php?showtopic={topic_id}' title='{desc_id}'"; } /** * ================= * IPB * ================= */ if ( $l2cfg["forum"]["version"] == "ipb" ) { $fsql = " SELECT tid,title,description,last_post,last_poster_id,last_poster_name FROM {$l2cfg["forum"]["prefix"]}topics WHERE forum_id NOT IN ({$l2cfg["forum"]["deny"]}) ORDER BY last_post DESC LIMIT {$l2cfg["forum"]["count"]}"; $furl_user = "index.php?showuser="; $furl_link = "index.php?showtopic={topic_id}' title='{desc_id}'"; } /** * ================= * phpBB * ================= */ if ( $l2cfg["forum"]["version"] == "phpbb" ) { $fsql = " SELECT topic_id,topic_title,forum_id,topic_last_post_time,topic_last_poster_id,topic_last_poster_name FROM {$l2cfg["forum"]["prefix"]}topics WHERE forum_id NOT IN ({$l2cfg["forum"]["deny"]}) ORDER BY topic_last_post_time DESC LIMIT {$l2cfg["forum"]["count"]}"; $furl_user = "memberlist.php?mode=viewprofile&u="; $furl_link = "viewtopic.php?f={desc_id}&t={topic_id}'"; } /** * ================= * smf * ================= */ if ( $l2cfg["forum"]["version"] == "smf" ) { $fsql = " SELECT id_topic,subject,id_board,poster_time,id_member,poster_name FROM {$l2cfg["forum"]["prefix"]}messages WHERE id_board NOT IN ({$l2cfg["forum"]["deny"]}) ORDER BY poster_time DESC LIMIT {$l2cfg["forum"]["count"]}"; $furl_user = "index.php?action=profile;u="; $furl_link = "index.php?topic={topic_id}'"; } /** * ================= * vBulletin * ================= */ if ( $l2cfg["forum"]["version"] == "vbulletin" ) { $fsql = " SELECT t.threadid,t.title,t.forumid,t.lastpost,u.userid,t.lastposter FROM {$l2cfg["forum"]["prefix"]}thread t LEFT JOIN {$l2cfg["forum"]["prefix"]}user u ON t.lastposter = u.username WHERE t.forumid NOT IN ({$l2cfg["forum"]["deny"]}) ORDER BY t.lastpost DESC LIMIT {$l2cfg["forum"]["count"]}"; $furl_user = "member.php?u="; $furl_link = "showthread.php?t={topic_id}'"; } /** * ================= * XenFoRo * © thx Ream * ================= */ if ( $l2cfg["forum"]["version"] == "xenforo" ) { $fsql = " SELECT thread_id,title,node_id,last_post_date,user_id,last_post_username FROM {$l2cfg["forum"]["prefix"]}thread WHERE node_id NOT IN ({$l2cfg["forum"]["deny"]}) ORDER BY last_post_date DESC LIMIT {$l2cfg["forum"]["count"]}"; $furl_user = "members/"; $furl_link = "threads/{topic_id}'"; } /** * ---------------------------------------------------------------------------------------- */ $fquery = $fdb->query( $fsql ); while ( list($ftid, $ftitle, $fdesc_id, $flast_post, $flast_poster_id, $flast_poster_name) = $fdb->fetch($fquery) ) { if ( strlen($ftitle) > $l2cfg["forum"]["length"] ) { $ftitle = iconv( 'UTF-8', 'windows-1251', $ftitle ); $ftitle = substr( $ftitle, 0, $l2cfg["forum"]["length"] - 3 )."..."; $ftitle = iconv( 'windows-1251', 'UTF-8', $ftitle ); } $flast_post = date( $l2cfg["forum"]["date"], $flast_post ); $flast_poster = "<a href='{$l2cfg["forum"]["url"]}/{$furl_user}{$flast_poster_id}' target='_blank'>{$flast_poster_name}</a>"; $flast_link = "<a href='{$l2cfg["forum"]["url"]}/".$controller->buildString( $furl_link, array("topic_id" => $ftid, "desc_id" => $fdesc_id) )." target='_blank'>{$ftitle}</a>"; $tpl->LoadView( 'forum' ); $tpl->Block( 'main', false ); $tpl->Block( 'item' ); $tpl->Set( 'date', $flast_post ); $tpl->Set( 'author', $flast_poster ); $tpl->Set( 'link', $flast_link ); $tpl->Build( 'forum_item' ); } $fdb->close(); $tpl->LoadView( 'forum' ); $tpl->Block( 'main' ); $tpl->Block( 'item', false ); $tpl->Set( 'item', $tpl->GetResult('forum_item', true) ); $tpl->Build( "forum" ); if ( $l2cfg['cache']['enable'] and $l2cfg['cache']['forum'] ) { $controller->SetCache( 'mod_forum', $tpl->GetResult('forum'), $l2cfg['cache']['forum'] ); } } } ?>
Да без разницы на каком.Наверное проблема, что я на этом "любимом дерьме" не сижу
Мысль понял, благодарю.Да без разницы на каком.
Молодец, но выглядит так, будто он пережил апокалипсис.Вот еще 1 сайт который написал с нуля:Вы не можете просматривать ссылку пожалуйста воспользуйтесь следующими ссылками Вход или Регистрация
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?