--- wap.php 2001/03/17 16:40:55 1.8 +++ wap.php 2001/07/13 12:27:08 1.10 @@ -24,7 +24,7 @@ $on_page=5; - $sql_where="where visible is true"; + $sql_where="where visible is true and type<>'p'"; if (!isset($s)) { $sql_limit="limit $on_page"; @@ -52,7 +52,8 @@ } else { $tmp=$html; } - return utf8_encode(htmlspecialchars($tmp)); + $tmp=str_replace('$','$$',$tmp); + return utf8_encode(htmlentities($tmp)); }