27 |
$lpic="new"; $lext=".jpg"; |
$lpic="new"; $lext=".jpg"; |
28 |
$mpic="new.gif"; |
$mpic="new.gif"; |
29 |
$back_url="index.php"; |
$back_url="index.php"; |
30 |
$sql_where.=" and (type='a' or type='c' or type='e' or type='i' or type='n' or type='p' or type='r')"; // don't show company profile |
$sql_where.=" and (type='a' or type='c' or type='e' or type='f' or type='i' or type='n' or type='p' or type='r')"; // don't show company profile |
31 |
} |
} |
32 |
|
|
33 |
$smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, ) ); |
$smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, ) ); |
48 |
if (isset($type)) { |
if (isset($type)) { |
49 |
if ($type == "n") { |
if ($type == "n") { |
50 |
$sql_where .= " and (type='n' or type='i')"; |
$sql_where .= " and (type='n' or type='i')"; |
51 |
} elseif ($type == "e" || $type == "c") { |
} elseif ($type == "e" || $type == "f" || $type == "c") { |
52 |
$sql_where .= " and type='".$type."'"; |
$sql_where .= " and type='".$type."'"; |
53 |
} |
} |
54 |
$title.=" : ".$news_type[$type]; |
$title.=" : ".$news_type[$type]; |