-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreg_js.html~
38 lines (36 loc) · 1.08 KB
/
reg_js.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
33
34
35
36
37
<html>
<head> <link rel="stylesheet" type="text/css" href="style.css">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
</head>
<body>
<?php include('header.html'); ?>
<p>
<?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 METHOD='POST' id='myform'>
<?=t($lang,'login')?> <p>
<input id="login" type="text" name="login" >
<p>
<?=t($lang,'password')?><p><input id="password" type="password" name="password" ><p>
<?=t($lang,'password')?><p><input id="re_password" type="password" name="re_password" ><p>
<?=t($lang,'email')?><p><input id="email" type="text" name="email" ><p>
<?php echo' <button onclick="sform();" name="register">'.t($lang,'register').'</button>';?>
</form>
<script type="text/javascript" src="reg.js">
</script>
</div>
<?php include('rightside.php'); ?>
</body>
</html>