add viewentry.php for Entry.
add a input form for viewentry.php;