- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
foreach ($news as $post) {
if (isset($post->important)) {
if($post->important == 1)
{
$import = $post;
break;
}
}
$import = 0;
}
if (!is_integer($import)) // ...
Комментарии (2) RSS