<commit_before><?php
session_start();
ob_start();
ini_set('display_errors', 0);

/*** Includes ***/
require_once "configs/dbinfo.php";

if( !class_exists('SystemComponent') )
	header('Location: install.php');

require_once "includes/dbconnector.class.php";
require_once "includes/smarty/Smarty.class.php";
require_once "includes/function.php";
require_once "includes/solvemedialib.php";
require_once "includes/recaptchalib.php";
require_once "includes/antibotlinks.php";
require_once "configs/configs.php";
require_once "configs/prizes.php";
/*** Includes ***/
$now=time();
$ver='1.1.5';
$apiurl='http://api.epay.info/?wsdl';
if(isset($_SERVER['HTTP_CF_CONNECTING_IP'])){
	$ip=sprintf("%u",ip2long($_SERVER['HTTP_CF_CONNECTING_IP'])); // Only if using cloudflare
}else{
	$ipAddress = $_SERVER['REMOTE_ADDR'];
	if (array_key_exists('HTTP_X_FORWARDED_FOR', $_SERVER))
		$ipAddress = array_pop(explode(',', $_SERVER['HTTP_X_FORWARDED_FOR']));
	$ip=sprintf("%u",ip2long($ipAddress));
}

/***** ADS ****/
$ads_left=file_get_contents('ads/left.php');
$ads_main_top=file_get_contents('ads/top.php');
$ads_right=file_get_contents('ads/right.php');
$ads_1=file_get_contents('ads/ad1.php');
$ads_2=file_get_contents('ads/ad2.php');
$ads_3=file_get_contents('ads/ad3.php');
$ads_main_bottom=file_get_contents('ads/bottom.php');
/***** ADS ****/
$smarty->assign('footer',$footer);<commit_msg>- Optimize<commit_after><?php
session_start();
ob_start();
ini_set('display_errors', 0);

/*** Includes ***/
require_once "configs/dbinfo.php";

if( !class_exists('SystemComponent') )
	header('Location: install.php');

require_once "includes/dbconnector.class.php";
require_once "includes/smarty/Smarty.class.php";
require_once "includes/function.php";
require_once "includes/solvemedialib.php";
require_once "includes/recaptchalib.php";
require_once "includes/antibotlinks.php";
require_once "configs/configs.php";
require_once "configs/prizes.php";
/*** Includes ***/

$db=new DbConnector;
$db2=new DbConnector;
$db3=new DbConnector;


$now=time();
$ver='1.1.5';
$apiurl='http://api.epay.info/?wsdl';
if(isset($_SERVER['HTTP_CF_CONNECTING_IP'])){
	$ip=sprintf("%u",ip2long($_SERVER['HTTP_CF_CONNECTING_IP'])); // Only if using cloudflare
}else{
	$ipAddress = $_SERVER['REMOTE_ADDR'];
	if (array_key_exists('HTTP_X_FORWARDED_FOR', $_SERVER))
		$ipAddress = array_pop(explode(',', $_SERVER['HTTP_X_FORWARDED_FOR']));
	$ip=sprintf("%u",ip2long($ipAddress));
}

/***** ADS ****/
$ads_left=file_get_contents('ads/left.php');
$ads_main_top=file_get_contents('ads/top.php');
$ads_right=file_get_contents('ads/right.php');
$ads_1=file_get_contents('ads/ad1.php');
$ads_2=file_get_contents('ads/ad2.php');
$ads_3=file_get_contents('ads/ad3.php');
$ads_main_bottom=file_get_contents('ads/bottom.php');
/***** ADS ****/
$smarty->assign('footer',$footer);
{'fraction_non_alphanumeric': 0.20814159292035397, 'fraction_numerical': 0.009203539823008849, 'mean_word_length': 9.02127659574468, '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': '1717937', 'n_tokens_mistral': 1107, 'n_tokens_neox': 1084, 'n_words': 122}