{% else-1 %}
(12 янв 2015, 12:57) (0/0) [0]
Тема закрыта для обсуждения! *
(12 янв 2015, 12:44) (0/0) [0]
Цαρь Цαρей, не нужно под 664 , я все нужные мне модули с социала переписал на 664 а тут не могу понять что не так
Добавлено 12.01.15 в 12:57:19:
Уже сам разобрался
(12 янв 2015, 12:39) (0/0) [0]
Цαρь Цαρей, http://profiwm.com/zc/file5820
(12 янв 2015, 12:36) (0/0) [0]
Цαρь Цαρей, да foot.php spaces не работает на ветке 664
(12 янв 2015, 12:34) (0/0) [0]
Lorinz, у меня так и есть
}
else $per=$user['panel_style'];
?><style>
(12 янв 2015, 12:32) (0/0) [0]
Lorinz, else ничего не меняет!
(12 янв 2015, 12:28) (0/0) [0]
Lorinz, фэйспалм , в этом коде ошибка
(12 янв 2015, 12:21) (0/0) [0]
Lorinz, else $per=$user['panel_style'];
(12 янв 2015, 12:15) (0/1) [-1]
<?
list($msec, $sec) = explode(chr(32), microtime());

// навигация
if (isset($user) && $_SERVER['PHP_SELF']!='/index.php') {
$FootNav = mysql_query("SELECT `link`, `name` FROM `foot_links` WHERE `user` = '$user[id]' ORDER BY `sort` ASC"*;
global $user,$set;
$test=array
(
array('d67c7c','8e5252','ce8686','a36161'),
array('d69a7c','8e6652','ce9e86','a37761'),
array('d6b87c','8e7a52','ceb686','a38d61'),
array('d6d67c','8e8e52','cece86','a3a361'),
array('b8d67c','7a8e52','b6ce86','8da361'),
array('9ad67c','668e52','9ece86','77a361'),
array('7cd67c','528e52','86ce86','61a361'),
array('7cd69a','528e66','86ce9e','61a377'),
array('7cd6b8','528e7a','86ceb6','61a38d'),
array('7cd6d6','528e8e','86cece','61a3a3'),
array('7cb8d6','527a8e','86b6ce','618da3'),
array('7c9ad6','52668e','869ece','6177a3'),
array('7c7cd6','52528e','8686ce','6161a3'),
array('9a7cd6','66528e','9e86ce','7761a3'),
array('b87cd6','7a528e','b686ce','8d61a3'),
array('d67cd6','8e528e','ce86ce','a361a3'),
array('d67cb8','8e527a','ce86b6','a3618d'),
array('d67c9a','8e5266','ce869e','a36177'),
array('b2b2b2','4c4c4c','afafaf','939393'),
array('cccccc','666666','c9c9c9','adadad'),
array('e5e5e5','7f7f7f','e2e2e2','c6c6c6'),
array('995858','512f2f','825454','5b3737'),
array('996e58','513a2f','826354','5b4337'),
array('998358','51462f','827254','5b4f37'),
array('999958','51512f','828254','5b5b37'),
array('839958','46512f','728254','4f5b37'),
array('6e9958','3a512f','638254','435b37'),
array('589958','2f512f','548254','375b37'),
array('58996e','2f513a','548263','375b43'),
array('589983','2f5146','548272','375b4f'),
array('589999','2f5151','548282','375b5b'),
array('588399','2f4651','547282','374f5b'),
array('586e99','2f3a51','546382','37435b'),
array('585899','2f2f51','545482','37375b'),
array('635482','43375b','6e5899','3a2f51'),
array('835899','462f51','725482','4f375b'),
array('995899','512f51','825482','5b375b'),
array('995883','512f46','825472','5b374f'),
array('99586e','512f3a','825463','5b3743'),
array('666666','000000','636363','474747'),
array('7f7f7f','191919','7c7c7c','606060'),
array('999999','333333','969696','7a7a7a'),
);
if (!isset($user))
{
$test[$user['panel']][0]='7c9ad6';
$test[$user['panel']][1]='52668e';
$test[$user['panel']][2]='869ece';
$test[$user['panel']][3]='6177a3';
$per='6780b2';
}
else $per=$user['panel_style'];
?><style>
.panelD {
position: relative;
background: #<?echo $per;?>;
background: -webkit-gradient(linear,left top,left bottom,from(#<?echo $test[$user['panel']][0].'),to(#'.$test[$user['panel']][1];?>*);
background: -moz-linear-gradient(top,#<?echo $test[$user['panel']][0].',#'.$test[$user['panel']][1];?>*;
background: -o-linear-gradient(top,#<?echo $test[$user['panel']][0].',#'.$test[$user['panel']][1];?>*;
background: -ms-linear-gradient(top,#<?echo $test[$user['panel']][0].',#'.$test[$user['panel']][1];?>*;
filter: progid*XImageTransform.Microsoft.gradient(startColorstr='#<?echo $test[$user['panel']][0]." ',endColorstr='# ".$test[$user['panel']][1];?>');
zoom: 1;}
.panel_m {
border-left: 1px solid #<?echo $test[$user['panel']][2];?>;
border-right: 1px solid #<?echo $test[$user['panel']][3];?>;
border-bottom: 1px solid #<?echo $test[$user['panel']][3];?>;
border-top: 1px solid #<?echo $test[$user['panel']][3];?>;}
background: #<?echo $per;?>;
background: -webkit-gradient(linear,left top,left bottom,from(#<?echo $test[$user['panel']][0].'),to(#'.$test[$user['panel']][1];?>*);
background: -moz-linear-gradient(top,#<?echo $test[$user['panel']][0].',#'.$test[$user['panel']][1];?>*;
background: -o-linear-gradient(top,#<?echo $test[$user['panel']][0].',#'.$test[$user['panel']][1];?>*;
background: -ms-linear-gradient(top,#<?echo $test[$user['panel']][0].',#'.$test[$user['panel']][1];?>*;
filter: progid*XImageTransform.Microsoft.gradient(startColorstr='#<?echo $test[$user['panel']][0]." ',endColorstr='# ".$test[$user['panel']][1];?>');
}
.text {
text-decoration: none;
font-size: medium;
}
.text a{color: #ffffff;}
.razdpanel {
color: #<?echo $test[$user['panel']][2];?>;
}
.ncount {
color: #ffff00;
font-size: medium;
vertical-align: bottom;}
</style>
<?
if ($set['web']==false){
echo '<div id="panel_m" class="panel_m"><div class="panelD"><table style="width:100%" cellspacing="0" cellpadding="0">';
while($FootLink = mysql_fetch_assoc($FootNav)) {
echo '<span class="text"> <a href="'.$FootLink['link'].'">'.$FootLink['name'].'</a></span> <span class="razdpanel">|</span> ';
}
echo ' <a href="/foot_set.php"><span class="text">+</span></a>';
}
echo '</table></div></div>';
} elseif ($_SERVER['PHP_SELF']!='/index.php') {
//Для гостей
echo '<span class="ncount"><div id="panel_m" class="panel_m"><div class="panelD"><table style="width:100%" cellspacing="0" cellpadding="0">';
echo ' <a href="/index.php?"><font color="white">Глав</font></a> | <a href="/user/love/index.php?"><font color="white">Знак</font></a> | <a href="/chat/index.php?"><font color="white">Чат</font></a> | <a href="/forum/index.php?"><font color="white">Фор</font></a> | <a href="/obmen/index.php?"><font color="white">ЗО</font></a> | <a href="/plugins/rules/index.php?"><font color="white">Помощь</font></a>';
echo '</span></table></div></div>';
}
//end

echo '<div class="start">';
echo '<center>© <font style="text-transform: capitalize;">' . htmlspecialchars($_SERVER['HTTP_HOST']) . '</font> - 2013г</center>';
echo '</div>';



exit;

?>

где здесь ошибка не могу понять код тупо не отображается
  • 1 из 1