link); print mysql_error(); if( mysql_num_rows( $data ) == 0 ) Header('index.php'); $row = mysql_fetch_object( $data ); $this->text = '

' . stripslashes( $row->nazev ) . '

'; if( substr( $row->text, 0, 7 ) == 'http://'){ $url = strip_tags( stripslashes( $row->text )); if( ereg("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]", $url) ) Header('Location: ' . $url . ''); } $this->text .= '

' . stripslashes( $row->text ) . '

'; return 1; } } $use = new h_menu; require_once './head.php'; ?>
text ) ; ?>