<commit_before><?php
/*
 * Centreon is developped with GPL Licence 2.0 :
 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
 * Developped by : <NAME> - <NAME> 
 * 
 * The Software is provided to you AS IS and WITH ALL FAULTS.
 * Centreon makes no representation and gives no warranty whatsoever,
 * whether express or implied, and without limitation, with regard to the quality,
 * any particular or intended purpose of the Software found on the Centreon web site.
 * In no event will Centreon be liable for any direct, indirect, punitive, special,
 * incidental or consequential damages however they may arise and even if Centreon has
 * been previously advised of the possibility of such damages.
 * 
 * For information : <EMAIL>
 */

function Connexion ($pNom, $pMotPasse, $pServeur)	{
	$msg = '';
	$connexion = @mysql_pconnect($pServeur, $pNom, $pMotPasse) or ($msg = mysql_error());
	return array ($connexion, $msg);
}

function aff_header($str, $str2, $nb){
?>
<html>
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   <meta http-equiv="Content-Style-Type" content="text/css">
   <title><?php print $str; ?></title>
   <link rel="shortcut icon" href="../img/favicon.ico">
   <link rel="stylesheet" href="./install.css" type="text/css">
   <SCRIPT language='javascript'>
		function LicenceAccepted(){
			var theForm     = document.forms[0];
			var nextButton  = document.getElementById("button_next");
	
			if( theForm.setup_license_accept.checked ){
				nextButton.disabled = '';
				nextButton.focus();
			}
			else {
				nextButton.disabled = "disabled";
			}
		}
		
		function LicenceAcceptedByLink(){
			var theForm     = document.forms[0];
			var nextButton  = document.getElementById("button_next");
	
			theForm.setup_license_accept.checked = true;			
			nextButton.disabled = '';
			nextButton.focus();
		}
	</SCRIPT>
</head>
<body rightmargin="0" topmargin="0" leftmargin="0">
<table cellspacing="0" cellpadding="0" border="0" align="center" class="shell">
<tr height="83" style=" background-image: url('../img/bg_banner.gif');">
  <th width="400" height="83"><?php print $nb . ". " . $str2; ?></th>
  <th width="200" height="83" style="text-align: right; padding: 0px;">
		<a href="http://www.centreon.com" target="_blank"><IMG src="../img/centreon.gif" alt="Centreon" border="0"></a>
  </th>
</tr>
<tr>
  <td colspan="2" width="600" style="background-position : right; background-color: #DDDDDD; background-repeat : no-repeat;">
	<form action="setup.php" method="post" name="theForm" id="theForm">
	<input type="hidden" name="step" value="<?php print $nb; ?>">
<?php
}

function aff_middle(){
?>
  </td>
</tr>
<tr>
  <td align="right" colspan="2" height="20">
	<hr>
	<table cellspacing="0" cellpadding="0" border="0" class="stdTable">
	  <tr>
		<td>
<?php
}
<commit_msg>add padding around centreon logo<commit_after><?php
/*
 * Centreon is developped with GPL Licence 2.0 :
 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
 * Developped by : <NAME> - <NAME> 
 * 
 * The Software is provided to you AS IS and WITH ALL FAULTS.
 * Centreon makes no representation and gives no warranty whatsoever,
 * whether express or implied, and without limitation, with regard to the quality,
 * any particular or intended purpose of the Software found on the Centreon web site.
 * In no event will Centreon be liable for any direct, indirect, punitive, special,
 * incidental or consequential damages however they may arise and even if Centreon has
 * been previously advised of the possibility of such damages.
 * 
 * For information : <EMAIL>
 */

function Connexion ($pNom, $pMotPasse, $pServeur)	{
	$msg = '';
	$connexion = @mysql_pconnect($pServeur, $pNom, $pMotPasse) or ($msg = mysql_error());
	return array ($connexion, $msg);
}

function aff_header($str, $str2, $nb){
?>
<html>
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   <meta http-equiv="Content-Style-Type" content="text/css">
   <title><?php print $str; ?></title>
   <link rel="shortcut icon" href="../img/favicon.ico">
   <link rel="stylesheet" href="./install.css" type="text/css">
   <SCRIPT language='javascript'>
		function LicenceAccepted(){
			var theForm     = document.forms[0];
			var nextButton  = document.getElementById("button_next");
	
			if( theForm.setup_license_accept.checked ){
				nextButton.disabled = '';
				nextButton.focus();
			}
			else {
				nextButton.disabled = "disabled";
			}
		}
		
		function LicenceAcceptedByLink(){
			var theForm     = document.forms[0];
			var nextButton  = document.getElementById("button_next");
	
			theForm.setup_license_accept.checked = true;			
			nextButton.disabled = '';
			nextButton.focus();
		}
	</SCRIPT>
</head>
<body rightmargin="0" topmargin="0" leftmargin="0">
<table cellspacing="0" cellpadding="0" border="0" align="center" class="shell">
<tr height="83" style=" background-image: url('../img/bg_banner.gif');">
  <th width="400" height="83"><?php print $nb . ". " . $str2; ?></th>
  <th width="200" height="83" style="text-align: right; padding: 0px;">
		<a href="http://www.centreon.com" target="_blank"><IMG src="../img/centreon.gif" alt="Centreon" border="0" style='padding-right:15px;padding-top:10px;'></a>
  </th>
</tr>
<tr>
  <td colspan="2" width="600" style="background-position : right; background-color: #DDDDDD; background-repeat : no-repeat;">
	<form action="setup.php" method="post" name="theForm" id="theForm">
	<input type="hidden" name="step" value="<?php print $nb; ?>">
<?php
}

function aff_middle(){
?>
  </td>
</tr>
<tr>
  <td align="right" colspan="2" height="20">
	<hr>
	<table cellspacing="0" cellpadding="0" border="0" class="stdTable">
	  <tr>
		<td>
<?php
}

{'fraction_non_alphanumeric': 0.17011212333566925, 'fraction_numerical': 0.014365802382620883, 'mean_word_length': 4.457934990439771, 'pattern_counts': {'":': 0, '<': 89, '<?xml version=': 0, '>': 87, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2247235', 'n_tokens_mistral': 2034, 'n_tokens_neox': 1883, 'n_words': 501}