<commit_before><?php 
	$title = "Solutions";
	
	$css = "<link rel='stylesheet' type='text/css' href='css/index.css'>";
	
	$js = "<script type='text/javascript' src='js/index.js'></script>";
	
	require($_SERVER['DOCUMENT_ROOT']."/manager/header.php");
?>
<div id='main'>
	
	<h1>Solutions</h1>
	<p class='intro'>Choose a solution below to begin a demo.</p>
	
	<div id='accordion'>
		<h3>Gallerize</h3>
		<div>
			<p>Add this program to a folder on a website that has images then navigate to said folder to see the gallery auto-generated!</p>
			<a href='/manager/solutions/gallerize/gallerize.zip'><button>Gallerize</button></a>
			<a href='/manager/solutions/gallerize/'><button>View Demo</button></a>
			<button class='raw-activate'>View Code Snippet</button>
			<div class='raw-documentation display-none'>
				<?php 
				
					$file = $_SERVER['REQUEST_URI']."gallerize/index.php";
				
					outputImportantDocs($file);
				?>
			</div>
		</div>
	</div>
</div>

<?php 

	function outputImportantDocs ($pathToFile) {
		
		$fileContents = file_get_contents($_SERVER['DOCUMENT_ROOT'].$pathToFile);<commit_msg>solution sections created for specific users<commit_after><?php 
	$title = "Solutions";
	
	$css = "<link rel='stylesheet' type='text/css' href='css/index.css'>";
	
	$js = "<script type='text/javascript' src='js/index.js'></script>";
	
	require($_SERVER['DOCUMENT_ROOT']."/manager/header.php");
?>
<div id='main'>
	
	<h1>Solutions</h1>
	<p class='intro'>Choose a solution below to begin a demo.</p>
	
	<div id='accordion'>
		<h3>Gallerize</h3>
		<div>
			<p>Add this program to a folder on a website that has images then navigate to said folder to see the gallery auto-generated!</p>
			<a href='/manager/solutions/gallerize/gallerize.zip'><button>Gallerize</button></a>
			<a href='/manager/solutions/gallerize/'><button>View Demo</button></a>
			<button class='raw-activate'>View Code Snippet</button>
			<div class='raw-documentation display-none'>
				<?php 
				
					$file = $_SERVER['REQUEST_URI']."gallerize/index.php";
				
					outputImportantDocs($file);
				?>
			</div>
		</div>
		
		<h3>Nate's First Solution</h3>
		<div>
			<p>These buttons don't do anything yet! This will be a place to keep track of your solutions (programs) you build.</p>
			<a href='/manager/solutions/'><button>Solution Link</button></a>
			<a href='/manager/solutions/'><button>Solution Demo</button></a>
			<button class='raw-activate'>View Code Snippet</button>
			<div class='raw-documentation display-none'>
				<?php 
				
					//$file = $_SERVER['REQUEST_URI']."gallerize/index.php";
				
					//outputImportantDocs($file);
				?>
			</div>
		</div>
		
		<h3>Travis's First Solution</h3>
		<div>
			<p>These buttons don't do anything yet! This will be a place to keep track of your solutions (programs) you build.</p>
			<a href='/manager/solutions/'><button>Solution Link</button></a>
			<a href='/manager/solutions/'><button>Solution Demo</button></a>
			<button class='raw-activate'>View Code Snippet</button>
			<div class='raw-documentation display-none'>
				<?php 
				
					//$file = $_SERVER['REQUEST_URI']."gallerize/index.php";
				
					//outputImportantDocs($file);
				?>
			</div>
		</div>
		
		<h3>Kevin's First Solution</h3>
		<div>
			<p>These buttons don't do anything yet! This will be a place to keep track of your solutions (programs) you build.</p>
			<a href='/manager/solutions/'><button>Solution Link</button></a>
			<a href='/manager/solutions/'><button>Solution Demo</button></a>
			<button class='raw-activate'>View Code Snippet</button>
			<div class='raw-documentation display-none'>
				<?php 
				
					//$file = $_SERVER['REQUEST_URI']."gallerize/index.php";
				
					//outputImportantDocs($file);
				?>
			</div>
		</div>
	</div>
</div>

<?php 

	function outputImportantDocs ($pathToFile) {
		
		$fileContents = file_get_contents($_SERVER['DOCUMENT_ROOT'].$pathToFile);
{'fraction_non_alphanumeric': 0.17881811204911743, 'fraction_numerical': 0.003581478639038117, 'mean_word_length': 3.881398252184769, 'pattern_counts': {'":': 0, '<': 124, '<?xml version=': 0, '>': 122, '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': '4850608', 'n_tokens_mistral': 1563, 'n_tokens_neox': 1308, 'n_words': 287}