Помощь по скриптам | Вопрос по меню в dcms social
Как редачить без админки?
Допустим я хочю вставить виджет войны полов после ссылки новостей. В каком файле можно это сделать?
Допустим я хочю вставить виджет войны полов после ссылки новостей. В каком файле можно это сделать?
style/themes/саматема/и тут файлик php посмотри там их не много
oneday , ищи инклюды, какие там файлы подключены смотри и проверяй .
element , Всеравно не могу найти...
в индекс
ARHILES[RU] (17.02.2017 в 01:30)
в индекс
в индекс
<?
include_once 'sys/inc/start.php';
include_once 'sys/inc/compress.php';
include_once 'sys/inc/sess.php';
include_once 'sys/inc/home.php';
include_once 'sys/inc/settings.php';
include_once 'sys/inc/db_connect.php';
include_once 'sys/inc/ipua.php';
include_once 'sys/inc/fnc.php';
include_once 'sys/inc/user.php';
include_once 'sys/inc/icons.php'; // Иконки главного меню
include_once 'sys/inc/thead.php';
title();
err();
if (!$set['web'])
{
?>
<div class="title">
<center>
<a href="/online.php" title="онлайн" style="color:#cdcecf; text-decoration: none">
<font color="#fee300" size="2">Онлайн </font>
<font color="#ffffff"><?=mysql_result(mysql_query("SELECT COUNT(*) FROM `user` WHERE `date_last` > ".(time()-600).""), 0)?></font>
</a>
<font color="#fee300" size="2"> (</font>
<font color="#ffffff">+<?=mysql_result(mysql_query("SELECT COUNT(*) FROM `guests` WHERE `date_last` > ".(time()-600)." AND `pereh` > '0'"), 0)?></font>
<font color="#fee300" size="2"> гостей )</font>
</center>
</div>
<div class='main_menu'>
<?
if (isset($user))
{
?>
<div align="right">
<img src="/style/icons/icon_stranica.gif" alt="DS" />
<?=user::nick($user['id'])?> | <a href="exit.php"><font color="#ff0000">Выход</font></a>
</div>
<?
}
else
{
?>
<div align="right">
<a href="/aut.php">Вход</a> | <a href="/reg.php">Регистрация</a>
</div>
<?
}
?></div><?
// новости
include_once 'sys/inc/news_main.php';
// главное меню
include_once 'sys/inc/main_menu.php';
include_once H.'sys/inc/main_notes.php';
}
else
{
// главная web темы
include_once 'style/themes/' . $set['set_them'] . '/index.php';
}
include_once 'sys/inc/tfoot.php';
?>
Где????
oneday ,
//новости
include_once 'sys/inc/news_main.php';
тут
// главное меню
include_once 'sys/inc/main_menu.php';
include_once H.'sys/inc/main_notes.php'
//новости
include_once 'sys/inc/news_main.php';
тут
// главное меню
include_once 'sys/inc/main_menu.php';
include_once H.'sys/inc/main_notes.php'
ARHILES[RU] ,
<?
$q_menu = mysql_query("SELECT * FROM `menu` ORDER BY `pos` ASC");
while ($post_menu = mysql_fetch_assoc($q_menu))
{
if ($post_menu['type'] == 'link')
echo '<div class="main_menu">';
if ($post_menu['type'] == 'link')
echo '<img src="/style/icons/' . $post_menu['icon'] . '" alt="*" /> ';
if ($post_menu['type'] == 'link')
echo '<a href="' . $post_menu['url'] . '">';
else
echo '<div class="menu_razd">';
echo $post_menu['name'];
if ($post_menu['type'] == 'link')
echo '</a> ';
if ($post_menu['counter'] != NULL && is_file(H . $post_menu['counter']))
{
@include H . $post_menu['counter'];
}
echo '</div>';
}
if (user_access('adm_panel_show'))
{
?>
<div class="main2">
<img src="/style/icons/adm.gif" alt="DS" /> <a href="/plugins/admin/">Админ кабинет</a>
<?
include_once H.'plugins/admin/count.php';
?>
</div>
<?
}
?>
Нету
<?
$q_menu = mysql_query("SELECT * FROM `menu` ORDER BY `pos` ASC");
while ($post_menu = mysql_fetch_assoc($q_menu))
{
if ($post_menu['type'] == 'link')
echo '<div class="main_menu">';
if ($post_menu['type'] == 'link')
echo '<img src="/style/icons/' . $post_menu['icon'] . '" alt="*" /> ';
if ($post_menu['type'] == 'link')
echo '<a href="' . $post_menu['url'] . '">';
else
echo '<div class="menu_razd">';
echo $post_menu['name'];
if ($post_menu['type'] == 'link')
echo '</a> ';
if ($post_menu['counter'] != NULL && is_file(H . $post_menu['counter']))
{
@include H . $post_menu['counter'];
}
echo '</div>';
}
if (user_access('adm_panel_show'))
{
?>
<div class="main2">
<img src="/style/icons/adm.gif" alt="DS" /> <a href="/plugins/admin/">Админ кабинет</a>
<?
include_once H.'plugins/admin/count.php';
?>
</div>
<?
}
?>
Нету
oneday (17.02.2017 в 01:35)
ARHILES[RU] ,
<?
$q_menu = mysql_query("SELECT * FROM `menu` ORDER BY `pos` ASC");
while ($post_menu = mysql_fetch_assoc($q_menu))
{
if ($post_menu['type'] == 'link')
echo '<div class="main_menu">';
if ($post_menu['type'] == 'link')
echo '<img src="/style/icons/' . $post_menu['icon'] . '" alt="*" /> ';
if ($post_menu['type'] == 'link')
echo '<a href="' . $post_menu['url'] . '">';
else
echo '<div class="menu_razd">';
echo $post_menu['name'];
if ($post_menu['type'] == 'link')
echo '</a> ';
if ($post_menu['counter'] != NULL && is_file(H . $post_menu['counter']))
{
@include H . $post_menu['counter'];
}
echo '</div>';
}
if (user_access('adm_panel_show'))
{
?>
<div class="main2">
<img src="/style/icons/adm.gif" alt="DS" /> <a href="/plugins/admin/">Админ кабинет</a>
<?
include_once H.'plugins/admin/count.php';
?>
</div>
<?
}
?>
Нету
ARHILES[RU] ,
<?
$q_menu = mysql_query("SELECT * FROM `menu` ORDER BY `pos` ASC");
while ($post_menu = mysql_fetch_assoc($q_menu))
{
if ($post_menu['type'] == 'link')
echo '<div class="main_menu">';
if ($post_menu['type'] == 'link')
echo '<img src="/style/icons/' . $post_menu['icon'] . '" alt="*" /> ';
if ($post_menu['type'] == 'link')
echo '<a href="' . $post_menu['url'] . '">';
else
echo '<div class="menu_razd">';
echo $post_menu['name'];
if ($post_menu['type'] == 'link')
echo '</a> ';
if ($post_menu['counter'] != NULL && is_file(H . $post_menu['counter']))
{
@include H . $post_menu['counter'];
}
echo '</div>';
}
if (user_access('adm_panel_show'))
{
?>
<div class="main2">
<img src="/style/icons/adm.gif" alt="DS" /> <a href="/plugins/admin/">Админ кабинет</a>
<?
include_once H.'plugins/admin/count.php';
?>
</div>
<?
}
?>
Нету
давай код и index.php
Стр.: 1, 2