Помощь по скриптам | На белую стр кидает (помогите исправить)
Тема закрыта by
НУБОкиллер
Причина: сам исправил
Причина: сам исправил
Привет_из_Крыма , ну, мы не экстасенсы, у автора проще спросить, где именно он накосячил.
AMADIS , помоги плиз.
если надо ру домен отдам
если надо ру домен отдам
Пропиши в шапке
error_reporting (E_ALL | E_STRICT ) ;
ini_set ( 'display_errors' ,
'On' );
error_reporting (E_ALL | E_STRICT ) ;
ini_set ( 'display_errors' ,
'On' );
AMADIS ,
теперь везде это
Notice: Use of undefined constant in_index - assumed 'in_index' in Z:\home\test1.ru\www\system\view\footer.php on line 19
теперь везде это
Notice: Use of undefined constant in_index - assumed 'in_index' in Z:\home\test1.ru\www\system\view\footer.php on line 19
19 строчку из footer.php сюда напиши. (код выше выводит ошибки).
AMADIS ,
if($locate == in_index) {
if($locate == in_index) {
Привет_из_Крыма , а что дальше? Все условие напиши.
AMADIS ,
<?
if(!file_exists(TPL.'/themes/'.$tpl->type.'/'. $stylen .'/footer'. $tpl->format)) {
?>
<div class="footer"><?=$stat->online();?></div>
<?= $stat->adsFooter(); ?>
<div class="foot">
<?= $stat->footer(); ?>
</div>
</div>
</body>
</html>
<? } else {
if($locate == in_index) {
if(isset($_COOKIE['lang'])) {
$lng = $_COOKIE['lang'];
}
if(isset($user)) {
} else {
}
} else {
}
$view = file_get_contents(TPL.'/themes/'.$tpl->type.'/'. $stylen .'/footer'. $tpl->format);
$view = str_replace('{ads=footer}', $stat->adsFooter(), $view);
$view = str_replace('{online}', $stat->online(), $view);
$view = str_replace('{footer}', $stat->footer(), $view);
echo $view;
}
<?
if(!file_exists(TPL.'/themes/'.$tpl->type.'/'. $stylen .'/footer'. $tpl->format)) {
?>
<div class="footer"><?=$stat->online();?></div>
<?= $stat->adsFooter(); ?>
<div class="foot">
<?= $stat->footer(); ?>
</div>
</div>
</body>
</html>
<? } else {
if($locate == in_index) {
if(isset($_COOKIE['lang'])) {
$lng = $_COOKIE['lang'];
}
if(isset($user)) {
} else {
}
} else {
}
$view = file_get_contents(TPL.'/themes/'.$tpl->type.'/'. $stylen .'/footer'. $tpl->format);
$view = str_replace('{ads=footer}', $stat->adsFooter(), $view);
$view = str_replace('{online}', $stat->online(), $view);
$view = str_replace('{footer}', $stat->footer(), $view);
echo $view;
}
Привет_из_Крыма , пробуй на стандартный из двига чистого заменить.
AMADIS , проблемы не решило