-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnew.php
More file actions
162 lines (155 loc) · 6.88 KB
/
Copy pathnew.php
File metadata and controls
162 lines (155 loc) · 6.88 KB
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<?php
session_start();
if(!isset($_SESSION["user"])){
ob_start();
header("Location: index");
ob_end_flush();
exit();
}
require 'exec/misc.php';
require_once 'exec/config.php';
$zone = $_SESSION['time'];
?>
<!DOCTYPE html>
<html>
<head>
<title>New</title>
<link href="css/style.css" type="text/css" rel="stylesheet"/>
<link rel="shortcut icon" href="img/logo.png"/>
</head>
<body>
<div id="header">
<h1>New</h1>
<img src="img/exit.png" onClick="location.replace('exec/logout');" width="50px" height="50px">
</div>
<nav>
<ul id="top">
<li class="tops"><a href="home">Recent</a></li>
<li class="tops"><a>Students</a>
<ul>
<li class="others"><a href="countries">Countries</a></li>
<li class="others"><a href="courses">Majors and Minors</a></li>
<li class="others"><a href="years">Academic Years</a></li>
</ul>
</li>
<li class="tops"><a>Applications</a>
<ul>
<li class="others"><a href="ongoing">OnGoing</a></li>
<li class="others"><a href="documents">Files</a></li>
</ul>
</li>
<li class="tops"><a>New</a></li>
</ul>
</nav>
<div id="res">
<div id="mid">
<div id="f-side" class="flx">
<h3>Fill In | It's Quick and Easy</h3>
<div id="nmsg" class="msg"></div>
<form>
<table class="nwe">
<col width="30%">
<col width="65%">
<col width="5%">
<tr>
<td class="tp">First Name</td>
<td><input id="fname" type="text"></td>
<td>*</td>
</tr>
<tr>
<td class="tp">Middle Name</td>
<td><input id="mname" type="text"></td>
<td></td>
</tr>
<tr>
<td class="tp">Last Name</td>
<td><input id="lname" type="text"></td>
<td>*</td>
</tr>
<tr>
<td class="tp">Preferred Name</td>
<td><input id="pname" type="text"></td>
<td></td>
</tr>
<tr>
<td class="tp">Gender</td>
<td><select id="gender">
<option selected disabled>Select A Gender</option>
<option value="M">Male</option>
<option value="F">Female</option>
</select></td>
<td>*</td>
</tr>
<tr>
<td class="tp">Date of Birth</td>
<td><input id="dob" type="date"></td>
<td>*</td>
</tr>
<tr>
<td class="tp">Phone Number</td>
<td><input id="phone" value="(+0) " type="text"></td>
<td></td>
</tr>
<tr>
<td class="tp">E-mail</td>
<td><input id="email" type="text"></td>
<td></td>
</tr>
<tr>
<td class="tp">Country</td>
<?php
$fcouns = $con->query("SELECT id, name, code FROM countries ORDER BY name");
echo '
<td><select id="country" onchange="fCoun();">
<option selected disabled>Select A Country</option>';
while ($ct = $fcouns->fetch()){
if($ct["name"] == $r["coun"]) echo '
<option selected ';
else echo '
<option ';
echo 'value="'.$ct["id"].'">'.$ct["name"].' (+'.$ct["code"].')</option>';
}
echo '</select></td>';
?>
<td>*</td>
</tr>
<tr>
<td class="tp">State/Province</td>
<td><div class="autocomplete"><input id="state" type="text"></div></td>
<td>*</td>
</tr>
<tr>
<td class="tp">City/Town</td>
<td><div class="autocomplete"><input id="city" type="text"></div></td>
<td></td>
</tr>
<tr>
<td class="tp">ZIP Code</td>
<td><input id="zip" type="text"></td>
<td></td>
</tr>
<tr>
<td class="tp">Address</td>
<td><input id="address" id="address" type="text"></td>
<td></td>
</tr>
</table>
<div align="center"><div class="btn-out btn-hv" onClick="add();">Add</div></div>
</form>
</div>
<div id="b-side" class="flx" align="center">
<!--<div id="b-in">-->
<!-- <p>For Claflin<br>-By Claflin</p>-->
<!--</div>-->
<div>
<img src="img/claflin.png">
<h2>Claflin International Students</h2>
</div>
</div>
</div>
</div>
</body>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/script.js"></script>
<script type="text/javascript" src="js/new.js"></script>
</html>