Subversion Repositories ALCASAR

Rev

Rev 2317 | Rev 2818 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2317 Rev 2527
Line 2... Line 2...
2
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
3
<TITLE>ALCASAR Report</TITLE>
3
<TITLE>ALCASAR Report</TITLE>
4
<link rel="stylesheet" type="text/css" href="../../../css/bootstrap.min.css">
4
<link rel="stylesheet" type="text/css" href="../../../css/bootstrap.min.css">
5
<script src="../../../js/jquery.min.js"></script>
5
<script src="../../../js/jquery.min.js"></script>
6
<script src="../../../js/bootstrap.min.js"></script>
6
<script src="../../../js/bootstrap.min.js"></script>
-
 
7
<link rel="stylesheet" href="../manager/htdocs/style.css">
7
<style>
8
<style>
8
body{
9
body{
9
	background-color: #EFEFEF;
10
	background-color: #EFEFEF;
10
}
11
}
11
</style>
12
</style>
Line 80... Line 81...
80
if(isset($_POST['submit']))
81
if(isset($_POST['submit']))
81
{
82
{
82
	$password=$_POST['password'];
83
	$password=$_POST['password'];
83
	$demandeur=$_POST['demandeur'];
84
	$demandeur=$_POST['demandeur'];
84
	$raison=$_POST['comment'];
85
	$raison=$_POST['comment'];
85
 
-
 
86
	#si le mot de passe est vide ou si il contient des espaces
86
	#si le mot de passe est vide ou si il contient des espaces
87
	if($password != "" && $demandeur != "" && $raison != "")
87
	if($password != "" && $demandeur != "" && $raison != "")
88
	{
88
	{
89
		#Génération de log
89
		#Génération de log
90
		$text=date("Y-m-d H:i:s")."|||".$demandeur."|||".$raison."|||".$_SERVER['REMOTE_ADDR'];
90
		$text=date("Y-m-d H:i:s")."|||".$demandeur."|||".$raison."|||".$_SERVER['REMOTE_ADDR'];
Line 129... Line 129...
129
	}
129
	}
130
}
130
}
131
else
131
else
132
{
132
{
133
	#Interface permettant de configurer la génération des journaux d'imputabilité.
133
	#Interface permettant de configurer la génération des journaux d'imputabilité.
-
 
134
	
-
 
135
	echo "<table class=\"tableTop\" border='0' cellspacing='0' cellpadding='0'>";
-
 
136
	echo "<tbody >";	
134
	echo "<div>";
137
	echo "	<tr>";
-
 
138
			echo "<th class='thBasicACC'>";
-
 
139
				echo "ALCASAR Report";
-
 
140
			echo "</th>";
-
 
141
			echo "</tr>";
-
 
142
	echo	"</tbody>";
-
 
143
	echo "<tr bgcolor='#FFCC66'><td class=\"tdSizeACC\">
-
 
144
						<img src='/images/pix.gif' width='1' height='2'></td></tr>";
-
 
145
	echo "</table>";
-
 
146
	echo "<div class =\"frameBorderACC\">";
135
	echo "	<div style=\"margin-top:20px\">";
147
	echo "	<div style=\"margin-top:16px;margin-left:15px;\">";
136
	echo "		<div>";
148
	echo "		<div>";
137
	
149
	
138
	echo "				<fieldset>";
150
	echo "				<fieldset>";
139
	echo "					<h3>$l_info</h3>";
151
	echo "					<h3>$l_info</h3>";
140
	echo "					<p>$l_log_info</p>";
152
	echo "					<p>$l_log_info</p>";
141
	echo "				</fieldset>";
153
	echo "				</fieldset>";
142
 
154
 
143
	echo "<h4> $l_options_info  </h4>";
155
	echo "<h4> $l_options_info  </h4>";
144
	echo "<div class=\"radio\">";
156
	echo "<div class=\"radio\">";
145
	echo "<label><input type=\"radio\" name=\"optradio\" onclick=\"radio_interact1()\" checked> $l_options_1 </label>";
157
	echo "<label><input type=\"radio\" name=\"optradio\" onclick=\"radio_interact1()\"  style=\"margin-top: -1px;\" checked> $l_options_1 </label>";
146
	echo "</div>";
158
	echo "</div>";
147
	echo "<div class=\"radio\">";
159
	echo "<div class=\"radio\">";
148
	echo "<label><input type=\"radio\" name=\"optradio\" onclick=\"radio_interact2()\"> $l_options_2 </label>";
160
	echo "<label><input type=\"radio\" name=\"optradio\" onclick=\"radio_interact2()\" style=\"margin-top: -1px;\" > $l_options_2 </label>";
149
	echo "</div>";
161
	echo "</div>";
150
	echo "<div class=\"radio\">";
162
	echo "<div class=\"radio\">";
151
	echo "<label><input type=\"radio\" name=\"optradio\" onclick=\"radio_interact3()\"> $l_options_3 </label>";
163
	echo "<label><input type=\"radio\" name=\"optradio\" onclick=\"radio_interact3()\" style=\"margin-top: -1px;\"> $l_options_3 </label>";
152
	echo "</div>";
164
	echo "</div>";
153
	echo "<form name=\"form_log\" method=\"post\" action=\"log_generation.php\" role=\"form\">";
165
	echo "<form name=\"form_log\" method=\"post\" action=\"log_generation.php\" role=\"form\">";
154
	echo "<p> $l_password </p><input name=\"password\" type=\"password\" size=\"25\">";
166
	echo "<p> $l_password </p><input name=\"password\" type=\"password\" size=\"25\">";
155
	echo "<h2>$l_info_form</h2>";
167
	echo "<h2>$l_info_form</h2>";
156
	echo "<p>$l_demandeur</p><textarea name='demandeur' style=\"height:25px;\"></textarea>";
168
	echo "<p>$l_demandeur</p><textarea name='demandeur' style=\"height:25px;\"></textarea>";