Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
дайте большеКод:if ( "".( integer ) === $__config['limit_hotscams'] );
Вот такая ошибка: Parse error: syntax error, unexpected T_IS_IDENTICAL
Как правильно поправить код
{
global $__config;
global $SM;
$RESULT['type'] = "block_hotscams";
$conditions = "1";
$limit = "";
if ( "".( integer ) === $__config['limit_hotscams'] ) );
{
$limit .= "0,".( integer );
}
if ( "".( integer ) === $__config['days_hotscams'] )
{
$conditions .= " AND TO_DAYS(time_scam)>=TO_DAYS(NOW())-".( integer );
}
$list = $SM->list_sites( array( "order" => "time_scam DESC", "conditions" => $conditions, "limit" => $limit, "fast" => 1 ) );
if ( $list )
{
$RESULT['data']['list'] = $list;
}
global $__config;
global $SM;
$RESULT['type'] = "block_hotscams";
$conditions = "1";
$limit = "";
if ( is_int( $__config['limit_hotscams'] ) );
{
$limit .= "0, ".$__config['limit_hotscams'];
}
if ( is_int( $__config['days_hotscams'] ) )
{
$conditions .= " AND TO_DAYS(time_scam)>=TO_DAYS(NOW())-".$__config['days_hotscams'];
}
$list = $SM->list_sites( array( "order" => "time_scam DESC", "conditions" => $conditions, "limit" => $limit, "fast" => 1 ) );
if ( $list )
{
$RESULT['data']['list'] = $list;
}