<commit_before><?php
include "config.php";
$id_asset = addslashes(strip_tags($_GET['id']));
	$query = "INSERT INTO shop VALUES('', '$id_asset')";
	if (!$link) {
   		die('Could not connect: ' . mysql_error());
	}else{
		$result = mysql_query($query);
		if (!$result) {
    			die('Invalid query: ' . mysql_error());
		}
	}
	mysql_close($link);
	
?>
<!DOCTYPE html> 
<html lang="it"> 
	<head> 
		<meta charset=utf-8> 
		<meta HTTP-EQUIV="Refresh" content="<?php echo rand(1,5); ?>; url=index.php">
		<title><?php echo $title; ?></title></head>
		<link rel="stylesheet" type="text/css" media="screen" href="style.css" />
	</head>
<body>
	<section>
		<article>
			<div class="titolo">
				<?php include("menu.php"); ?>
			</div>
		</article>
		<article>
			<p>
				Aggiunto alla lista degli ordini.	
				<img src="img/ok.png" alt="Aggiunto alla lista degli ordini" />
			</p>
		</article>
	</section>
</body>
</html><commit_msg>sistemata la ridirezione nella pagina di quando si aggiungono le robe nel robo<commit_after><?php
include "config.php";
$id_asset = addslashes(strip_tags($_GET['id']));
	$query = "INSERT INTO shop VALUES('', '$id_asset')";
	if (!$link) {
   		die('Could not connect: ' . mysql_error());
	}else{
		$result = mysql_query($query);
		if (!$result) {
    			die('Invalid query: ' . mysql_error());
		}
	}
	mysql_close($link);
	
?>
<!DOCTYPE html> 
<html lang="it"> 
	<head> 
		<meta charset=utf-8> 
		<meta HTTP-EQUIV="Refresh" content="<?php echo rand(1,3); ?>; url=<?php echo $_SERVER['HTTP_REFERER']; ?>">
		<title><?php echo $title; ?></title></head>
		<link rel="stylesheet" type="text/css" media="screen" href="style.css" />
	</head>
<body>
	<section>
		<article>
			<div class="titolo">
				<?php include("menu.php"); ?>
			</div>
		</article>
		<article>
			<p>
				Aggiunto alla lista degli ordini.	
				<img src="img/ok.png" alt="Aggiunto alla lista degli ordini" />
			</p>
		</article>
	</section>
</body>
</html>
{'fraction_non_alphanumeric': 0.21439588688946015, 'fraction_numerical': 0.003084832904884319, 'mean_word_length': 3.9265822784810127, 'pattern_counts': {'":': 0, '<': 60, '<?xml version=': 0, '>': 60, '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': '2163632', 'n_tokens_mistral': 804, 'n_tokens_neox': 739, 'n_words': 167}