<commit_before><?php

function studentska_plan(){
	global $userid,$user_siteadmin,$user_studentska;

	// Provjera privilegija
	if (!$user_studentska && !$user_siteadmin) {
		zamgerlog("nije studentska",3); // 3: error
		biguglyerror("Pristup nije dozvoljen.");
		return;
	}

	if (isset($_REQUEST['studij'])) 
		$studij = intval($_REQUEST['studij']);
	else
		$studij = 0;
	if (isset($_REQUEST['plan'])) 
		$plan = intval($_REQUEST['plan']);
	else
		$plan = 0;
	if (isset($_REQUEST['predmet'])) 
		$predmet = intval($_REQUEST['predmet']);
	else
		$predmet = 0;
	if (isset($_REQUEST['akcija'])) 
		$akcija = $_REQUEST['akcija'];
	else
		$akcija = "";

	?><commit_msg>studentska/plan: Prihvatanje plana nije radilo<commit_after><?php

function studentska_plan(){
	require("lib/formgen.php"); // Zbog db_dropdown

	global $userid,$user_siteadmin,$user_studentska;

	// Provjera privilegija
	if (!$user_studentska && !$user_siteadmin) {
		zamgerlog("nije studentska",3); // 3: error
		biguglyerror("Pristup nije dozvoljen.");
		return;
	}

	if (isset($_REQUEST['studij'])) 
		$studij = intval($_REQUEST['studij']);
	else
		$studij = 0;
	if (isset($_REQUEST['plan'])) 
		$plan = intval($_REQUEST['plan']);
	else
		$plan = 0;
	if (isset($_REQUEST['predmet'])) 
		$predmet = intval($_REQUEST['predmet']);
	else
		$predmet = 0;
	if (isset($_REQUEST['akcija'])) 
		$akcija = $_REQUEST['akcija'];
	else
		$akcija = "";

	?>
{'fraction_non_alphanumeric': 0.19489723600283487, 'fraction_numerical': 0.007087172218284904, 'mean_word_length': 5.139130434782609, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3582433', 'n_tokens_mistral': 576, 'n_tokens_neox': 534, 'n_words': 97}