-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsignup.php
More file actions
308 lines (261 loc) · 13.3 KB
/
signup.php
File metadata and controls
308 lines (261 loc) · 13.3 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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
<?php session_start();
include('config.php');
$cid = $_SESSION['cid'];
$key = $_SESSION['key'];
$query = mysql_query("SELECT * FROM calendar_setting1 WHERE z_key = '$key'");
while($rw = mysql_fetch_array($query))
{
// $cid = $rw['client_id'];
// $_SESSION['cid'] = $cid;
$img = $rw['img'];
$title = $rw['cname'];
$subtitle = $rw['cname2'];
$col = $rw['header_color'];
}
?>
<!DOCTYPE html>
<!--
Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.0
Version: 1.5
Author: KeenThemes
Website: http://www.keenthemes.com/
Purchase: http://themeforest.net/item/metronic-responsive-admin-dashboard-template/4021469?ref=keenthemes
-->
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
<meta charset="utf-8" />
<title>Add Account</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<meta content="" name="description" />
<meta content="" name="author" />
<meta name="MobileOptimized" content="320">
<!-- BEGIN GLOBAL MANDATORY STYLES -->
<link href="assets/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
<link href="assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="assets/plugins/uniform/css/uniform.default.css" rel="stylesheet" type="text/css"/>
<!-- END GLOBAL MANDATORY STYLES -->
<!-- BEGIN PAGE LEVEL STYLES -->
<link rel="stylesheet" type="text/css" href="assets/plugins/select2/select2_metro.css" />
<!-- END PAGE LEVEL SCRIPTS -->
<!-- BEGIN THEME STYLES -->
<link href="assets/css/style-metronic.css" rel="stylesheet" type="text/css"/>
<link href="assets/css/style.css" rel="stylesheet" type="text/css"/>
<link href="assets/css/style-responsive.css" rel="stylesheet" type="text/css"/>
<link href="assets/css/plugins.css" rel="stylesheet" type="text/css"/>
<link href="assets/css/themes/default.css" rel="stylesheet" type="text/css" id="style_color"/>
<link href="assets/css/custom.css" rel="stylesheet" type="text/css"/>
<!-- END THEME STYLES -->
<link rel="shortcut icon" href="favicon.ico" />
<style>
img.avatar {
height: 100px;
width: 100px;
webkit-border-radius: 50% !important; */
-moz-border-radius: 50% !important;
border-radius: 50% !important; */
}
}
</style>
<style>
.page-sidebar-closed .page-content {
margin-left: 0px !important;
}
</style>
</head>
<!-- END HEAD -->
<!-- BEGIN BODY -->
<body class="page-header-fixed">
<div class="page-content" style="margin-left:0px;">
<!-- END PAGE HEADER-->
<!-- BEGIN PAGE CONTENT-->
<div class="row">
<div class="col-md-6 col-xs-12">
<!--<div id="info"><div class="alert alert-warning">You Already Have Configured Account</div></div>-->
<div class="">
<div id="">
<div class="">
<div class="">
<!-- BEGIN FORM-->
<form action="insertzoho2.php" class="form-horizontal" method="post">
<div class="">
<div class="row">
<div class="col-md-8 col-xs-12">
<img class="avatar pull-left" src="uploads/<?php echo $img;?>" style="margin-left:2%;" >
<!-- BEGIN PAGE TITLE & BREADCRUMB-->
<h3 class="page-title" style="background-color:<?php echo $col;?>; color:#FFFFFF; height:100px;">
<span><br> <b><?php echo $title; ?></b><br> <font size="+1"><?php echo $subtitle; ?></font></span>
</h3>
</div>
</div><div class="row">
<div class="col-md-12 col-xs-12">
<div class="form-group">
<label class="control-label col-md-2 col-xs-3"> Name</label>
<div class="col-md-3 col-xs-11" >
<input type="text" class="form-control" id="fname" name="fname" value="" required placeholder="Firstname" >
</div>
<div class="col-md-3 col-xs-11">
<input type="text" class="form-control" id="fname" name="lname" value="" required placeholder="Lastname">
</div>
</div>
</div>
<!--/span-->
</div>
<!--/span-->
<div class="row">
<div class="col-md-12">
<div class="form-group">
<label class="control-label col-md-2 col-xs-3">E-mail</label>
<div class="col-md-6 col-xs-11">
<input type="email" class="form-control" required id="email" name="email">
</div>
</div>
</div>
<!--/span-->
</div>
<div class="row">
<div class="col-md-12">
<div class="form-group">
<label class="control-label col-md-2 col-xs-3">Phone</label>
<div class="col-md-6 col-xs-11">
<input type="text" class="form-control" required name="phone">
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="form-group">
<label class="control-label col-md-2 col-xs-3">Notes</label>
<div class="col-md-6 col-xs-11">
<textarea name="desc" class="form-control" required style="height:100px;"></textarea>
</div>
</div>
</div>
</div>
<!--/span-->
<div class="row">
<div class="col-md-12">
<div class="form-group">
<label class="control-label col-md-2 col-xs-3">Date</label>
<div class="col-md-6 col-xs-11">
<input type="text" class="form-control" name="startdate" id="startdate1" value="<?php echo $_POST['startdate'];?>" disabled="disabled" >
<input type="text" class="form-control" name="startdate" id="startdate" value="<?php echo $_POST['startdate'];?>" style="display:none;">
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="form-group">
<label class="control-label col-md-2 col-xs-3">Preferred Time</label>
<div class="col-md-6 col-xs-11">
<input type="text" class="form-control" name="times" value="<?php echo $_POST['times'];?>" id="times1" disabled="disabled">
<?php //$query = mysql_query("SELECT * FROM calendar_setting1 where client_id = '$cid'");
//while($row = mysql_fetch_array($query))
//{ ?>
<span class="help-block" id="tzn1">Time Zone: <?php echo $_POST['tzn1']; ?></span>
<!--<input type="text" class="form-control" name="times" id="times2" disabled="disabled">
<input type="text" class="form-control" name="times" id="times3" disabled="disabled">-->
<input type="text" class="form-control" name="times" id="times" value="<?php echo $_POST['times'];?>" style="display:none;" >
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-8 col-xs-12">
<div class="form-actions fluid" >
<div class="col-md-offset-4 col-xs-12">
<button type="submit" class="btn green">Submit</button>
<button type="button" class="btn default" onClick="self.close()">Cancel</button>
</div>
</div>
</div>
</div>
</form>
<!-- END FORM-->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- END PAGE CONTENT-->
<!-- END PAGE -->
</div>
<!-- END CONTAINER -->
<!-- BEGIN FOOTER -->
<div class="footer">
<div class="footer-inner">
2014 © Efax.
</div>
<div class="footer-tools">
<span class="go-top">
<i class="icon-angle-up"></i>
</span>
</div>
</div>
<!-- END FOOTER -->
<!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->
<!-- BEGIN CORE PLUGINS -->
<!--[if lt IE 9]>
<script src="assets/plugins/respond.min.js"></script>
<script src="assets/plugins/excanvas.min.js"></script>
<![endif]-->
<script src="assets/plugins/jquery-1.10.2.min.js" type="text/javascript"></script>
<script src="assets/plugins/jquery-migrate-1.2.1.min.js" type="text/javascript"></script>
<!-- IMPORTANT! Load jquery-ui-1.10.1.custom.min.js before bootstrap.min.js to fix bootstrap tooltip conflict with jquery ui tooltip -->
<script src="assets/plugins/jquery-ui/jquery-ui-1.10.1.custom.min.js" type="text/javascript"></script>
<script src="assets/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<script src="assets/plugins/bootstrap-hover-dropdown/twitter-bootstrap-hover-dropdown.min.js" type="text/javascript" ></script>
<script src="assets/plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script>
<script src="assets/plugins/jquery.blockui.min.js" type="text/javascript"></script>
<script src="assets/plugins/jquery.cookie.min.js" type="text/javascript"></script>
<script src="assets/plugins/uniform/jquery.uniform.min.js" type="text/javascript" ></script>
<!-- END CORE PLUGINS -->
<!-- BEGIN PAGE LEVEL PLUGINS -->
<script type="text/javascript" src="assets/plugins/select2/select2.min.js"></script>
<!-- END PAGE LEVEL PLUGINS -->
<!-- BEGIN PAGE LEVEL SCRIPTS -->
<script src="assets/scripts/app.js"></script>
<script src="assets/scripts/form-samples.js"></script>
<!-- END PAGE LEVEL SCRIPTS -->
<script>
jQuery(document).ready(function() {
// initiate layout and plugins
App.init();
FormSamples.init();
$("#country").on('click', function() {
data1 = $(this).val();
var dataString = 'name1='+data1;
$.ajax({
type:'POST',
data:dataString,
url:'country.php',
success:function(data) {
$( "#city" ).html(data);
}
});
});
$("#city").on('change', function() {
data2 = $(this).val();
var dataString1 = 'name2='+data2;
$.ajax({
type:'POST',
data:dataString1,
url:'number.php',
success:function(data) {
$( "#number" ).html(data);
}
});
});
});
</script>
<!-- END JAVASCRIPTS -->
</body>
<!-- END BODY -->
</html>