<?php
require_once "maincore.php";
require_once THEMES."templates/header.php";
echo "<form action='' method='POST' />
<input type='text' name='ipas' />
<input type='submit' name='tikrinti' value='tikrinti' />
</form>";
if (isset($_POST['tikrinti'])) {
echo dbrows(dbquery("SELECT * FROM ".DB_USERS." WHERE user_ip = '".$_POST['ipas']."' "));
}
require_once THEMES."templates/footer.php";
?>