<commit_before><?php
// The source code packaged with this file is Free Software, Copyright (C) 2005 by
// <NAME> <gallir at uib dot es>.
// It's licensed under the AFFERO GENERAL PUBLIC LICENSE unless stated otherwise.
// You can get copies of the licenses here:
//		http://www.affero.org/oagpl.html
// AFFERO GENERAL PUBLIC LICENSE is also included in the file called "COPYING".

include('config.php');
include(mnminclude.'html1.php');

$globals['ads'] = false;
promote_style();
do_header(_('promote') . ' | ' . _('menéame'));
echo '<div id="singlewrap">'."\n";

$site_id = SitesMgr::my_id();

$annotation = new Annotation("promote-$site_id");
$annotation->text = $output;
if($annotation->read()) {
	echo $annotation->text;
}

echo '</div>'."\n";

do_footer_menu();
do_footer();


function promote_style() {
	global $globals;
	$globals['extra_head'] = '
<style type="text/css">
p {
	font-family: Bitstream Vera Sans, Arial, Helvetica, sans-serif;
	font-size: 0.9em;
	
}
table {
	margin: 0px;
	padding-top: 20px;
}
th {
	padding: 3px 8px;
	text-align: center;
}
td {
	margin: 0px;
	padding: 20px;
}
.thead {
	text-transform: uppercase;
	color: #FFFFFF;
	background-color: #a7cbff;
	padding: 6px;
}
.tdata0 {
	background-color: #fff;
}
.tdata1 {
	background-color: #ffebce;
}
.tnumber0 {
	text-align: center;
}
.tnumber1 {
	text-align: center;
	background-color: #ffebce;
}
</style>
';
}
<commit_msg>Cosmetic fixes - promote background color.<commit_after><?php
// The source code packaged with this file is Free Software, Copyright (C) 2005 by
// <NAME> <gallir at uib dot es>.
// It's licensed under the AFFERO GENERAL PUBLIC LICENSE unless stated otherwise.
// You can get copies of the licenses here:
//		http://www.affero.org/oagpl.html
// AFFERO GENERAL PUBLIC LICENSE is also included in the file called "COPYING".

include('config.php');
include(mnminclude.'html1.php');

$globals['ads'] = false;
promote_style();
do_header(_('promote') . ' | ' . _('menéame'));
echo '<div id="singlewrap">'."\n";

$site_id = SitesMgr::my_id();

$annotation = new Annotation("promote-$site_id");
$annotation->text = $output;
if($annotation->read()) {
	echo $annotation->text;
}

echo '</div>'."\n";

do_footer_menu();
do_footer();


function promote_style() {
	global $globals;
	$globals['extra_head'] = '
<style type="text/css">
p {
	font-family: Bitstream Vera Sans, Arial, Helvetica, sans-serif;
	font-size: 0.9em;
}
table {
	margin: 0px;
	padding-top: 20px;
}
th {
	padding: 3px 8px;
	text-align: center;
}
td {
	margin: 0px;
	padding: 20px;
}
.thead {
	text-transform: uppercase;
	color: #FFFFFF;
	background-color: #a7cbff;
	padding: 6px;
}
.tdata0 {
	background-color: #fff;
}
.tdata1 {
	background-color: #e2eeff;
}
.tnumber0 {
	text-align: center;
}
.tnumber1 {
	text-align: center;
	background-color: #e2eeff;
}
</style>
';
}

{'fraction_non_alphanumeric': 0.17191368942341706, 'fraction_numerical': 0.01556420233463035, 'mean_word_length': 4.376425855513308, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '5776998', 'n_tokens_mistral': 1125, 'n_tokens_neox': 1064, 'n_words': 272}