Go to the documentation of this file.00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113
00114
00115
00116
00117
00118
00119
00120
00121
00122
00123
00124
00125
00126
00127
00128 if ( ! file_exists('..'.DIRECTORY_SEPARATOR.'include'.DIRECTORY_SEPARATOR.'config.inc.php'))
00129 {
00130 $p_string='admin/setup.php';
00131 echo '<HTML><head><META HTTP-EQUIV="REFRESH" content="0;url='.$p_string.'"></head><body> Connecting... </body></html>';
00132 exit(0);
00133 }
00134
00135 echo '<!doctype html><HTML>
00136 <head>
00137 <TITLE> NOALYSS </TITLE>
00138 <link rel="shortcut icon" type="image/ico" href="favicon.ico" />
00139 <style>
00140 BODY {
00141 background-color:white;
00142 font-size:14px;
00143 font-family:sans-serif,arial;
00144 color:blue;
00145 }
00146 .remark {
00147 border: solid black 1px;
00148 font-family:sans-serif;
00149 font-size: 9px;
00150 color:blue;
00151 width:200px;
00152 padding:3px;
00153 }
00154 .gras {
00155 font-size:12px;
00156 font-family:sans-serif,arial;
00157 color:red;
00158
00159 }
00160 .input_text {
00161 border:1px solid blue;
00162 margin:1px;
00163 }
00164 .button {
00165 font-size:12px;
00166 color:white;
00167 font-weight: bold;
00168 border:0px;
00169 text-decoration:none;
00170 font-family: helvetica,arial,sans-serif;
00171 background-image: url("image/bg-submit2.gif");
00172 background-repeat: repeat-x;
00173 background-position: left;
00174 text-decoration:none;
00175 font-family: helvetica,arial,sans-serif;
00176 border-width:0px;
00177 padding:2px 4px 2px 4px;
00178 cursor:pointer;
00179 margin:1px 2px 1px 2px;
00180 -moz-border-radius:2px 2px;
00181 border-radius:2px 2px;
00182
00183 }
00184 .button:hover {
00185 cursor:pointer;
00186 background-color:white;
00187 border-style: solid;
00188 border-width: 0px;
00189 font-color:blue;
00190 margin:1px 2px 1px 2px;
00191 }
00192 </style>
00193 <script src="js/scripts.js" type="text/javascript"></script>
00194 </head>
00195 <BODY>';
00196 $my_domain="";
00197 require_once '../include/constant.php';
00198 require_once ('config.inc.php');
00199 if ( strlen(domaine) > 0 )
00200 {
00201 $my_domain="Domaine : ".domaine;
00202 }
00203
00204 echo '
00205 <span style="background-color:#879ed4;color:white;padding-left:4px;padding-right:4px;">
00206 version 6.7.2.0 - '.$my_domain.'
00207 </span>
00208 <BR>
00209 <BR>
00210 <BR>
00211 <BR>
00212 <center>
00213 <IMG SRC="image/logo6720.png" alt="NOALYSS">
00214 <BR>
00215 <BR>
00216 <BR>
00217
00218 <form action="login.php" method="post" name="loginform">
00219 <TABLE><TR><TD>
00220 <TABLE BORDER=0 CELLSPACING=0>
00221 <TR>
00222 <TD class="cell">utilisateur</TD>
00223 <TD><input type="text" class="input_text" value="" id="p_user" name="p_user" tabindex="1"></TD>
00224 </TR>
00225 <TR>
00226 <TD> mot de passe </TD>
00227 <TD><INPUT TYPE="PASSWORD" class="input_text" value="" NAME="p_pass" tabindex="2"></TD>
00228 </TR>';
00229
00230 require_once('constant.php');
00231 require_once('ac_common.php');
00232
00233 if ( $g_captcha == true )
00234 {
00235 echo '<tr ><td colspan="2" style="width:auto">';
00236 echo "<table style=\"border:1px solid black\">";
00237 echo '<tr>';
00238 echo '<td colspan="2" style="with:auto;font-size:12px;text-align:center">';
00239 echo "Indiquer le code que vous lisez dans l'image";
00240 echo '</td>';
00241 echo '</tr>';
00242 echo '<tr>';
00243 echo td('<img id="captcha" src="securimage/securimage_show.php" alt="CAPTCHA Image" border=1/>','colspan="2" style="width:auto;text-align:center"');
00244 echo '</tr>';
00245 echo '<tr>';
00246
00247 echo td('<input type="text" class="input_text" name="captcha_code" size="10" maxlength="6" autocomplete="off"/>'.
00248 '<a href="#" onclick="document.getElementById(\'captcha\').src = \'securimage/securimage_show.php?\' + Math.random(); return false">Reload Image</a>','colspan="2" style="width:auto;text-align:center"');
00249 echo '</tr>';
00250 echo '</table>';
00251 echo '</td>';
00252 echo '<tr>';
00253 }
00254 echo '
00255 <TR style="height:50px;vertical-align:bottom">
00256 <TD style="width:auto;text-align:center" colspan="2">
00257 <INPUT TYPE="SUBMIT" style="width:60%;height:32px;-moz-border-radius:10px;border-radius:10px" class="button" NAME="login" value="Se connecter">
00258 </TD>
00259 </TR>
00260 </table>
00261 </TD></TR>';
00262
00263 ?>
00264 </table>
00265
00266 </form>
00267 </Center>
00268 <div style="position:absolute;bottom:0em;border:1px solid red;text-align:right;width:20em;">
00269 <span style="display:block">Pour une meilleure expérience web, nous vous conseillons <a href="http://www.mozilla.com/fr/">firefox</a></span>
00270 <span style="display:block">For a better web experience, we recommend you <a href="http://www.mozilla.com/en/">firefox</a></span>
00271 </div>
00272 <script> SetFocus('p_user'); </script>
00273 </body>
00274 </html>
00275