• DONATE to NULLED!
    Форуму и его команде можно помочь, мотивировать модераторов разделов.
    Помогите модератору этого раздела killoff лично.

Софт Социальная сеть [версия 4.0]

Статус
В этой теме нельзя размещать новые ответы.
1. Ты щас не на licenzed.ws, а на нуледе и значит версия нуленая!
2. Хайд - клуб, ты юзер с 3-мя постами, которого врятли возьмут в клуб, тебе делать нечего? или пофлудить пришел?
 
у кого то есть хороший сайт на этой сборке? проста я кроме демо сайтов автора, других не встречал.
хочется заценить работу движка с небольшой нагрузкой.
 
если я проавльно понял, разработчики данного модуля из Екатеринбурга?
 
Нужна помощь

Нужна у меня не работает блок прогноза погоды не выводит данные

версия социалки 4.0

прикреплю код скрипта pogodaload.php

<?php

include ("engine/data/config_weather.php");
//Погода сейчас
$textrr = file_get_contents("http://gismeteo.ua/city/hourly/".$idcity2."/#tab_0");
$textr = str_replace('<img src="/images/ico/wind/', '<img src="{THEME}/fastheme/images/weather/', $textrr);
$textz = str_replace('class="c12">', 'style="padding: 5px;5px;5px;5px; background: none;">', $textr);
$textzz = str_replace('class="c3">', 'style="padding: 5px;5px;5px;5px; background: none;">', $textz);
$textzzz = str_replace('class="c4">', 'style="padding: 5px;5px;5px;5px; background: none;">', $textzz);
$textzzzz = str_replace('class="c5">', 'style="padding: 5px;5px;5px;5px; background: none;">', $textzzz);
$textzzzzz = str_replace('class="c6">', 'style="padding: 5px;5px;5px;5px; background: none;">', $textzzzz);
$textzzzzzz = str_replace('class="c7">', 'style="padding: 5px;5px;5px;5px; background: none;">', $textzzzzz);
$textzzzzzzz = str_replace('<tr class="head lines">', '<tr style="font-size: 12px;font-style:bold;">', $textzzzzzz);
$textzzzzzzzz = str_replace('<tr class="decor First"><td colspan="8">.</td></tr>', '', $textzzzzzzz);
$textzzzzzzzzz = str_replace('<tr class="decor Last"><td colspan="8">.</td></tr>', '', $textzzzzzzzz);
$text = str_replace('<img class="png" src="http://i.gismeteo.com/images/icons/new/', '<img class="png" src="{THEME}/fastheme/images/weather/', $textzzzzzzzzz);
// Ищем начало вхождения таблицы
$pos_begin = strpos($text,'<tbody class="tabsTable tab_0 select" >');
$text = substr($text,$pos_begin);
// Ищем конец таблицы
$pos_end = strpos($text,'<tbody class="tabsTable tab_2 " >');
$pogoda = substr($text, 0, $pos_end + 0);
if(file_exists("uploads/pogoda/weathernow.html"))
{
unlink("uploads/pogoda/weathernow.html");
}
$f=fopen("uploads/pogoda/weathernow.html","a");
fwrite($f, iconv("UTF-8", "WINDOWS-1251", $pogoda));
//Погода на пару дней
$textrr = file_get_contents("http://gismeteo.ua/city/hourly/".$idcity2."/2/");
$textr = str_replace('<img src="/images/ico/wind/', '<img src="{THEME}/fastheme/images/weather/', $textrr);
$textz = str_replace('class="c12">', 'style="padding: 5px;5px;5px;5px; background: none;">', $textr);
$textzz = str_replace('class="c3">', 'style="padding: 5px;5px;5px;5px; background: none;">', $textz);
$textzzz = str_replace('class="c4">', 'style="padding: 5px;5px;5px;5px; background: none;">', $textzz);
$textzzzz = str_replace('class="c5">', 'style="padding: 5px;5px;5px;5px; background: none;">', $textzzz);
$textzzzzz = str_replace('class="c6">', 'style="padding: 5px;5px;5px;5px; background: none;">', $textzzzz);
$textzzzzzz = str_replace('class="c7">', 'style="padding: 5px;5px;5px;5px; background: none;">', $textzzzzz);
$textzzzzzzz = str_replace('<tr class="head lines">', '<tr style="font-size: 12px;font-style:bold;">', $textzzzzzz);
$textzzzzzzzz = str_replace('<tr class="decor First"><td colspan="8">.</td></tr>', '', $textzzzzzzz);
$textzzzzzzzzz = str_replace('<tr class="decor Last"><td colspan="8">.</td></tr>', '', $textzzzzzzzz);
$text = str_replace('<img class="png" src="http://i.gismeteo.com/images/icons/new/', '<img class="png" src="{THEME}/fastheme/images/weather/', $textzzzzzzzzz);
// Ищем начало вхождения таблицы
$pos_begin = strpos($text,'<tbody class="tabsTable tab_0 select" >');
$text = substr($text,$pos_begin);
// Ищем конец таблицы
$pos_end = strpos($text,'</table>
</div></div>
');
$pogoda2 .= substr($text, 0, $pos_end + 0);
if(file_exists("uploads/pogoda/weather.html"))
{
unlink("uploads/pogoda/weather.html");
}
$f=fopen("uploads/pogoda/weather.html","a");
fwrite($f, iconv("UTF-8", "WINDOWS-1251", $pogoda2));
//погода на 3 дня
$textrr = file_get_contents("http://gismeteo.ua/city/hourly/".$idcity2."/4/");
$textr = str_replace('<img src="/images/ico/wind/', '<img src="{THEME}/fastheme/images/weather/', $textrr);
$textz = str_replace('class="c12">', 'style="padding: 5px;5px;5px;5px; background: none;">', $textr);
$textzz = str_replace('class="c3">', 'style="padding: 5px;5px;5px;5px; background: none;">', $textz);
$textzzz = str_replace('class="c4">', 'style="padding: 5px;5px;5px;5px; background: none;">', $textzz);
$textzzzz = str_replace('class="c5">', 'style="padding: 5px;5px;5px;5px; background: none;">', $textzzz);
$textzzzzz = str_replace('class="c6">', 'style="padding: 5px;5px;5px;5px; background: none;">', $textzzzz);
$textzzzzzz = str_replace('class="c7">', 'style="padding: 5px;5px;5px;5px; background: none;">', $textzzzzz);
$textzzzzzzz = str_replace('<tr class="head lines">', '<tr style="font-size: 12px;font-style:bold;">', $textzzzzzz);
$textzzzzzzzz = str_replace('<tr class="decor First"><td colspan="8">.</td></tr>', '', $textzzzzzzz);
$textzzzzzzzzz = str_replace('<tr class="decor Last"><td colspan="8">.</td></tr>', '', $textzzzzzzzz);
$text = str_replace('<img class="png" src="http://i.gismeteo.com/images/icons/new/', '<img class="png" src="{THEME}/fastheme/images/weather/', $textzzzzzzzzz);
// Ищем начало вхождения таблицы
$pos_begin = strpos($text,'<tbody class="tabsTable tab_0 select" >');
$text = substr($text,$pos_begin);
// Ищем конец таблицы
$pos_end = strpos($text,'</table>
</div></div>
');
$pogoda3 .= substr($text, 0, $pos_end + 0);
if(file_exists("uploads/pogoda/weather3.html"))
{
unlink("uploads/pogoda/weather3.html");
}
$f=fopen("uploads/pogoda/weather3.html","a");
fwrite($f, iconv("UTF-8", "WINDOWS-1251", $pogoda3));
//погода на 7 дней
$textrr = file_get_contents("http://gismeteo.ua/city/weekly/".$idcity2."/");
$textr = str_replace('<img src="/images/ico/wind/', '<img src="{THEME}/fastheme/images/weather/', $textrr);
$textz = str_replace('class="c12">', 'style="padding: 5px;5px;5px;5px; background: none;">', $textr);
$textzz = str_replace('class="c3">', 'style="padding: 5px;5px;5px;5px; background: none;">', $textz);
$textzzz = str_replace('class="c4">', 'style="padding: 5px;5px;5px;5px; background: none;">', $textzz);
$textzzzz = str_replace('class="c5">', 'style="padding: 5px;5px;5px;5px; background: none;">', $textzzz);
$textzzzzz = str_replace('class="c6">', 'style="padding: 5px;5px;5px;5px; background: none;">', $textzzzz);
$textzzzzzz = str_replace('class="c7">', 'style="padding: 5px;5px;5px;5px; background: none;">', $textzzzzz);
$textzzzzzzz = str_replace('<tr class="head lines workday">', '<tr style="font-size: 12px;font-style:bold;">', $textzzzzzz);
$textzzzzzzzz = str_replace('<tr class="decor First"><td colspan="8">.</td></tr>', '', $textzzzzzzz);
$textzzzzzzzzz = str_replace('<tr class="decor Last"><td colspan="8">.</td></tr>', '', $textzzzzzzzz);
$textzzzzzzzzzz = str_replace('<td class="c0 day">', '<td style="font-size: 12px;font-color:#469BD3; color:#469BD3;">', $textzzzzzzzzz);
$text = str_replace('<img class="png" src="http://i.gismeteo.com/images/icons/new/', '<img class="png" src="{THEME}/fastheme/images/weather/', $textzzzzzzzzzz);
// Ищем начало вхождения таблицы
$pos_begin = strpos($text,'<div class="full">');
$text = substr($text,$pos_begin);
// Ищем конец таблицы
$pos_end = strpos($text,'</table>
</div></div>
');
$pogoda4 .= substr($text, 0, $pos_end + 0);
if(file_exists("uploads/pogoda/weather5.html"))
{
unlink("uploads/pogoda/weather5.html");
}
$f=fopen("uploads/pogoda/weather5.html","a");
fwrite($f, iconv("UTF-8", "WINDOWS-1251", $pogoda4));
?>
если кто сможет бросте мне правельный код или файл pogodaload.php на мыло bunja777@mail.ru
 
Статус
В этой теме нельзя размещать новые ответы.
Назад
Сверху