-
Notifications
You must be signed in to change notification settings - Fork 0
/
reg.html~
32 lines (32 loc) · 908 Bytes
/
reg.html~
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<html>
<head> <link rel="stylesheet" type="text/css" href="style.css" > </head>
<body>
<?php include('header.html'); ?>
<br>
<?php include('leftside.html'); ?>
<?php include('translate.php'); ?>
<?php include('set_lang.php'); ?>
<div class="center">
<?php
session_start();
if (!empty($_SESSION['erreg']))
{
foreach ($_SESSION['erreg'] as $value) {
echo "<p><b>$value</b>";
}
$_SESSION['erreg'] = array();
}
?>
<FORM ACTION='reg.php' METHOD='POST'>
<?=t($lang,'login')?> <p>
<input type="text" name="login">
<p>
<?=t($lang,'password')?><p><input type="password" name="password" ><p>
<?=t($lang,'password')?><p><input type="password" name="re_password" ><p>
<?=t($lang,'email')?><p><input type="text" name="email" ><p>
<?php echo'<input type="submit" name="register" value='.t($lang,'register').'>';?>
</form>
</div>
<?php include('rightside.php'); ?>
</body>
</html>