-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReg.php
92 lines (71 loc) · 2.5 KB
/
Reg.php
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php
include("conff.php");
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>THE Blog</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<?php
if(isset($_SESSION['theme']))
{
if($_SESSION['theme']=='1')
{echo'<link rel="stylesheet" type="text/css" href="index.css" />';
echo'<!--[if IE 6]>
<link type="text/css" rel="stylesheet" type="text/css" href="index.css" />
#repeated_back{position:absolute;}
</style>
<![endif]-->';}
if ($_SESSION['theme']=='2')
{echo'<link rel="stylesheet" type="text/css" href="index2.css" />';
echo'<!--[if IE 6]>
<link type="text/css" rel="stylesheet" type="text/css" href="index2.css" />
#repeated_back{position:absolute;}
</style>
<![endif]-->';}
if ($_SESSION['theme']=='3')
{echo'<link rel="stylesheet" type="text/css" href="index3.css" />';
echo'<!--[if IE 6]>
<link type="text/css" rel="stylesheet" type="text/css" href="index3.css" />
#repeated_back{position:absolute;}
</style>
<![endif]-->';
}
}
else
{echo'<link rel="stylesheet" type="text/css" href="index.css" />';}
?>
</head>
<body>
<div id="repeated_back"></div>
<div id="center">
<div id="logo"></div>
<div id="head"></div>
<div id="log">
</div>
<a href="index.php"><div id="b_home"></div></a>
<a href="blog.php"><div id="b_blogs"></div></a>
<a href="info.php"><div id="b_info"></div></a>
<div id="post_cont">
<div id="post">
<div id="posthead"></div>
<div id="postbody">
<form name ="form" method="post" action="registernext.php">
<fieldset style="width:200px;padding-left:170px;padding-right:160px">
<legend><b>Registration form</b></legend>
<p>Username:<br/><input type="text" name="user" size="15" maxlength="20" value=""></p>
<p>Password:<br/><input type="password" name="pass" size="15" maxlength="10" value=""></p>
<p>Confirm Password:<br/><input type="password" name="pass2" size="15" maxlength="10" value=""></p>
<p>Email:<br/><input type="text" name="email" size="15" maxlength="60" value=""></p>
<p>Confirm Email:<br/><input type="text" name="email2" size="15" maxlength="60" value=""></p>
<br/>
<p><input type="image" src="pics/b_register.jpg" name="image" width="74" height="35" name="submit" value="register"></p>
</fieldset>
</form>
</div>
<div id="postfoot"></div>
</div>
</div>
</div>
</body>
</html>