<commit_before><?php
/*----------------------------------------------------------------------*

	REPEATERRRR
	http://repeaterrrr.com/
	https://github.com/thomhines/repeaterrrr
	
	The clean and easy repeating timer.

	Copyright 2014, <NAME>
	MIT License
	
*----------------------------------------------------------------------*/


if($_GET['set']) {
	// LOAD JSON FROM SERVER
	include_once('db.php');
	$set_result = sql("SELECT * FROM `sets` WHERE `slug` = '".$_GET['set']."';");
	// CONVERT JSON INTO PHP ARRAY
	$set = json_decode($set_result['json'], true);
} else {
	// FOR THE SAKE OF GIVING A BLANK STEP ROW ON NEW TIMERS
	$set['steps'] = array('name' => '');
}
?>
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>repeaterrrr | Edit Timer</title>
<meta charset="utf-8" />
<meta name="description" content="The clean and easy repeating timer." />
<meta name="viewport" content="user-scalable=no, width=500">

<link rel="apple-touch-icon" sizes="57x57" href="img/favicons/apple-touch-icon-57x57.png" />
<link rel="apple-touch-icon" sizes="114x114" href="img/favicons/apple-touch-icon-114x114.png" />
<link rel="apple-touch-icon" sizes="72x72" href="img/favicons/apple-touch-icon-72x72.png" />
<link rel="apple-touch-icon" sizes="144x144" href="img/favicons/apple-touch-icon-144x144.png" />
<link rel="apple-touch-icon" sizes="60x60" href="img/favicons/apple-touch-icon-60x60.png" />
<link rel="apple-touch-icon" sizes="120x120" href="img/favicons/apple-touch-icon-120x120.png" />
<link rel="apple-touch-icon" sizes="76x76" href="img/favicons/apple-touch-icon-76x76.png" />
<link rel="apple-touch-icon" sizes="152x152" href="img/favicons/apple-touch-icon-152x152.png" />
<link rel="icon" type="image/png" href="img/favicons/favicon-196x196.png" sizes="196x196" />
<link rel="icon" type="image/png" href="img/favicons/favicon-160x160.png" sizes="160x160" />
<link rel="icon" type="image/png" href="img/favicons/favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/png" href="img/favicons/favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="img/favicons/favicon-16x16.png" sizes="16x16" />
<meta name="msapplication-TileColor" content="#b91d47" />
<meta name="msapplication-TileImage" content="img/favicons/mstile-144x144.png" />

<link rel="Stylesheet" href="/cinch/?files=/css/fonts.css,/css/style.scss" type="text/css" media="all" /><commit_msg>Fixed favicons on edit page<commit_after><?php
/*----------------------------------------------------------------------*

	REPEATERRRR
	http://repeaterrrr.com/
	https://github.com/thomhines/repeaterrrr
	
	The clean and easy repeating timer.

	Copyright 2014, <NAME>
	MIT License
	
*----------------------------------------------------------------------*/


if($_GET['set']) {
	// LOAD JSON FROM SERVER
	include_once('db.php');
	$set_result = sql("SELECT * FROM `sets` WHERE `slug` = '".$_GET['set']."';");
	// CONVERT JSON INTO PHP ARRAY
	$set = json_decode($set_result['json'], true);
} else {
	// FOR THE SAKE OF GIVING A BLANK STEP ROW ON NEW TIMERS
	$set['steps'] = array('name' => '');
}
?>
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>repeaterrrr | Edit Timer</title>
<meta charset="utf-8" />
<meta name="description" content="The clean and easy repeating timer." />
<meta name="viewport" content="user-scalable=no, width=500">

<link rel="apple-touch-icon" sizes="57x57" href="/img/favicons/apple-touch-icon-57x57.png" />
<link rel="apple-touch-icon" sizes="114x114" href="/img/favicons/apple-touch-icon-114x114.png" />
<link rel="apple-touch-icon" sizes="72x72" href="/img/favicons/apple-touch-icon-72x72.png" />
<link rel="apple-touch-icon" sizes="144x144" href="/img/favicons/apple-touch-icon-144x144.png" />
<link rel="apple-touch-icon" sizes="60x60" href="/img/favicons/apple-touch-icon-60x60.png" />
<link rel="apple-touch-icon" sizes="120x120" href="/img/favicons/apple-touch-icon-120x120.png" />
<link rel="apple-touch-icon" sizes="76x76" href="/img/favicons/apple-touch-icon-76x76.png" />
<link rel="apple-touch-icon" sizes="152x152" href="/img/favicons/apple-touch-icon-152x152.png" />
<link rel="icon" type="image/png" href="/img/favicons/favicon-196x196.png" sizes="196x196" />
<link rel="icon" type="image/png" href="/img/favicons/favicon-160x160.png" sizes="160x160" />
<link rel="icon" type="image/png" href="/img/favicons/favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/png" href="/img/favicons/favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="/img/favicons/favicon-16x16.png" sizes="16x16" />
<meta name="msapplication-TileColor" content="#b91d47" />
<meta name="msapplication-TileImage" content="/img/favicons/mstile-144x144.png" />

<link rel="Stylesheet" href="/cinch/?files=/css/fonts.css,/css/style.scss" type="text/css" media="all" />
{'fraction_non_alphanumeric': 0.25302209253855773, 'fraction_numerical': 0.06085869112130054, 'mean_word_length': 3.8328298086606245, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 57, 'https://': 2, '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': '6280266', 'n_tokens_mistral': 1950, 'n_tokens_neox': 1712, 'n_words': 286}