2 |
|
|
3 |
include("news_sif.inc"); |
include("news_sif.inc"); |
4 |
|
|
5 |
$sql_where="where visible is true"; |
$sql_where="where $visible_is_true"; |
6 |
|
|
7 |
if (file_exists(find_html_file("more",$more))) { |
if (file_exists(find_html_file("more",$more))) { |
8 |
|
|
23 |
$title.=" : Dogotki"; |
$title.=" : Dogotki"; |
24 |
} elseif (strlen($type) == 3) { |
} elseif (strlen($type) == 3) { |
25 |
$sql_where .= " and type='$type'"; |
$sql_where .= " and type='$type'"; |
26 |
|
if ($type=="mp_") { |
27 |
|
$title.=" : PLIVA Magazin"; |
28 |
|
$smarty->assign("mtext","PLIVA Magazin"); |
29 |
|
} |
30 |
} |
} |
31 |
} |
} |
32 |
|
|
98 |
if (isset($id) && find_html_file("more",$data[0][more])) { |
if (isset($id) && find_html_file("more",$data[0][more])) { |
99 |
$main=join('',file(find_html_file("more",$data[0][more]))); |
$main=join('',file(find_html_file("more",$data[0][more]))); |
100 |
} else { |
} else { |
101 |
|
if (! isset($p)) $p="novosti"; |
102 |
$logo="p/${p}_".$data[0][type].".jpg"; |
$logo="p/${p}_".$data[0][type].".jpg"; |
103 |
if (file_exists($logo)) { |
if (file_exists($logo)) { |
104 |
$smarty->assign("logo",$logo); |
$smarty->assign("logo",$logo); |