<?php

include_once("common.php");


if (isset($_POST['checkisneededphoto'])) { // ellenorizzuk, hogy minden felulethez, amihez szukseges, toltott-e fel fotot

  $userId = $_SESSION["user"]["user_id"];

  $db = GetFeluletDbIsNeedPhotoByUser($userId);

  if ($db == 0)
    echo "1";
  else
    echo "0";

  return;

}

?>
