<?php
if (isset($_POST['atnaujint']))
{
$daryti = dbquery("UPDATE ".$db_prefix."users SET user_stat='Pro' WHERE user_id='".$userdata['user_id']."'");
echo "<b>Atnaujinta!</b>";
}
echo "<form action='' method='post'>";
echo "<input type='submit' name='atnaujint' value='GO Pro!' class='button'><br>";
echo "</form>";
?>