File size: 639B
<?php
include("include/head.php");
echo '<u>Search site\'s user:</u><br><br>';
echo '<form action="search.php?name='.$name.'&pass='.$pass.'" method="post">Username:<br />
<input name="search" type="text" /><br/>
<input type="submit" value="search" /></form>';
if(file_exists('users/'.$search.'.class'))
{
echo 'Found user:<br>';
echo ''.$search.' <a href="sendmess.php?name='.$name.'&pass='.$pass.'&value_user='.$search.'">(write)</a><br/><br/>';
}
echo '- <a href="index.php?name='.$name.'&pass='.$pass.'">Cabinet</a> / <a href="users.php?name='.$name.'&pass='.$pass.'">Users</a>';
include("include/foot.php");
?>