-
Notifications
You must be signed in to change notification settings - Fork 3
/
edit_reseller.php
646 lines (553 loc) · 29 KB
/
edit_reseller.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
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
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
<?php
include 'header.php';
?>
<?php
include 'sidebar.php';
?>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>Dashboard</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-home"></i> Home</a></li>
<li class="active"> Edit Reseller</li>
</ol>
</section>
<!-- Main content -->
<section class="content container-fluid">
<div class="row">
<div class="col-md-12">
<header role="heading">
<ul class="nav nav-tabs pull-left in">
<li class="active" id="accountinfo1">
<a data-toggle="tab" href="#accountinfo" aria-expanded="true"> <i class="fa fa-lg fa-user"></i> <span class="hidden-mobile hidden-tablet"> User Account </span> </a>
</li>
<li id="personalinfo1" class="">
<a data-toggle="tab" href="#personalinfo" aria-expanded="false"> <i class="fa fa-lg fa-info-circle"></i> <span class="hidden-mobile hidden-tablet"> User Info </span> </a>
</li>
<li id="otherinfo1">
<a data-toggle="tab" href="#otherinfo" aria-expanded="true"> <i class="fa fa-lg fa-indent"></i> <span class="hidden-mobile hidden-tablet"> Other </span> </a>
</li>
</ul>
</header>
</div>
<div class="col-md-12">
<div class="chart-box">
<form action="" method="post" id="contact-form" novalidate="novalidate" onsubmit="verify();">
<div class="tab-content">
<div class="tab-pane active" id="accountinfo">
<div class="tabbable tabs-below">
<div class="tab-content padding-10">
<div class="tab-pane active" id="AA">
<div class="smart-form">
<div class="fieldset">
<div class="row">
<section class="col col-md-3">
<label class="label">User ID</label>
<label class="input">
<i class="icon-append fa fa-info-circle"></i>
<input type="text" name="smppUserId" value="" id="smppUserId" placeholder="User ID" maxlength="19">
<input type="hidden" value="UserIdField" name="field" id="UserField">
<div style="color: #FF0000;"></div>
</label>
</section>
<section class="col col-md-3">
<label class="label">Password</label>
<label class="input">
<i class="icon-append fa fa-lock" data-container="body" rel="popover-hover" data-placement="top" data-original-title=" Password Generator " data-content="Auto generate password, click here." onclick="getPasswordGenerator();"></i>
<input type="password" name="password" value="Arun2255" placeholder="Password" id="txtpassword" maxlength="90">
<div style="color: #FF0000;"></div>
</label>
</section>
<section class="col col-md-3">
<label class="label">Account Type</label>
<label class="select">
<select name="acctype">
<option value="0">Select Account Type</option>
<option value="Promo">Promo</option>
<option value="Trans">Trans</option>
<option value="TransPromo">TransPromo</option>
</select>
<i></i>
<div style="color: #FF0000;"></div>
</label>
</section>
<section class="col col-md-3">
<label class="label">Balance</label>
<div class="input-group">
<span class="input-group-addon"><i class="fa fa-inr"></i></span>
<label class="input">
<input name="balance" value="100" id="balance" type="text" placeholder="Account Balance" maxlength="18">
</label>
<span class="input-group-addon">.00</span>
</div>
<div style="color: #FF0000;"></div>
</section>
</div>
<div class="row">
<section class="col col-md-3">
<label class="label">Validity</label>
<div class="input-group">
<label class="input">
<i class="icon-append fa fa-calendar"></i>
<input type="text" name="validity" class="form-control datepicker hasDatepicker" id="validity" value="2017-02-18" placeholder="Account Validity" style="z-index: 100;" data-dateformat="yy-mm-dd">
</label>
</div>
<div style="color: #FF0000;"></div>
</section>
<section class="col col-md-3">
<label class="label">Gateway</label>
<label class="select">
<select name="gateway">
<option value="0">None</option>
<option value="HB-IDEA">HB-IDEA</option>
<option value="HB-BSNLOTP">HB-BSNLOTP</option>
</select>
<i></i>
</label>
</section>
<section class="col col-md-3">
<label class="label">Limit Sms Per Day</label>
<label class="input">
<i class="icon-append fa fa-history"></i>
<input type="text" name="limitSmsPerDay" value="-1" id="limitSmsPerDay" placeholder="N/A" maxlength="10">
<div style="color: #FF0000;"></div>
</label>
</section>
<section class="col col-md-3">
<label class="label">Limit Sms Per Hour</label>
<label class="input">
<i class="icon-append fa fa-history"></i>
<input type="text" name="LimitSmsPerHour" value="-1" id="LimitSmsPerHour" placeholder="N/A" maxlength="10">
<div style="color: #FF0000;"></div>
</label>
</section>
</div>
</div>
<div class="fieldset">
<div class="col-sm-12 col-md-12 col-lg-6">
<div class="well1">
<header>TPS</header>
<div class="row">
<div class="col-md-12"> </div>
<label class="label col col-md-3">
<span>Total TPS</span>
</label>
<div class="col col-md-8">
<div class="input" id="totalTps">
<i class="icon-append fa fa-exchange"></i>
<input placeholder="Total TPS" type="text" name="totalTps" value="100" readonly="readonly">
</div>
</div>
</div>
<div class="col-md-12"> </div>
</div>
</div>
<div class="col-sm-12 col-md-12 col-lg-6">
<div class="well1">
<header>Session</header>
<div class="row">
<div class="col-md-12"> </div>
<label class="label col col-md-5">
<span>Any(TX/RX/TRX)</span>
</label>
<div class="col col-md-7">
<div class="input" id="totalTps">
<i class="icon-append fa fa-exchange"></i>
<input placeholder="Bind Any" type="text" name="bindAny" value="4" readonly="readonly">
</div>
</div>
</div>
<div class="col-md-12"> </div>
</div>
</div>
</div>
<div class="fieldset">
<div class="col-sm-12 col-md-12 col-lg-6">
<div class="well1">
<header>Sender</header>
<div class="row">
<div class="col-md-11"> </div>
<label class="label col col-12 col-md-12">
<input type="radio" class="radiobox style-0" name="Sender" id="fxdSender" disabled="disabled">
<span>Fixed Sender</span>
</label>
<label class="label col col-12 col-md-12">
<input type="radio" class="radiobox style-0" name="Sender" id="dynamicSender" disabled="disabled">
<span>Dynamic</span>
</label>
<label class="label col col-12 col-md-12">
<input type="radio" class="radiobox style-0" name="Sender" id="approvedSender" value="" checked="checked">
<span>Approved</span>
</label>
<label class="label col col-12 col-md-12">
<input type="checkbox" class="checkbox style-0" name="checkDnd" id="CheckDnd">
<span>DND Filter</span>
</label>
<div class="col-md-7"> </div>
<div class="col-md-7"> </div>
</div>
</div>
</div>
<div class="col-sm-12 col-md-12 col-lg-6">
<div class="well1">
<header>Validation</header>
<div>
<div class="col-md-11"> </div>
<div class="row">
<label class="label col col-md-6">
<input type="checkbox" class="checkbox style-0" name="senderIdAlphaAllow" id="senderIdAlphaAllow" disabled="disabled" checked="checked">
<span>Allow Alpha Sender</span>
</label>
<section class="col-md-6 col" id="senderIdAlphaAlength">
<label class="select">
<select name="senderIdAlphaAlength" disabled="disabled">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6" selected="selected">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
</select>
<i></i>
<span>Alpha Length </span>
</label>
</section>
</div>
<div class="row">
<label class="label col col-md-6">
<input type="checkbox" class="checkbox style-0" name="senderIdAlNumAllow" id="senderIdAlNumAllow" disabled="disabled" checked="checked">
<span>Allow Numeric Sender</span>
</label>
<section class="col-md-6 col" id="senderIdANumLength">
<label class="select">
<select name="senderIdANumLength" disabled="disabled">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6" selected="selected">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
</select>
<i></i>
<span>Numeric Length </span>
</label>
</section>
</div>
<div class="row">
<label class="label col col-md-6">
<input type="checkbox" class="checkbox style-0" name="senderIdAlphaNumAllow" id="senderIdAlphaNumAllow" disabled="disabled" checked="checked">
<span>Allow AlphaNumeric Sender</span>
</label>
<section class="col-md-6 col" id="senderIdAlphaNumLength">
<label class="select">
<select name="senderIdAlphaNumLength" disabled="disabled">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6" selected="selected">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
</select>
<i></i>
<span>AlphaNumeric Length </span>
</label>
</section>
</div>
<div class="col-md-7"> </div>
</div>
</div>
</div>
</div>
<div class="fieldset">
<div class="row">
<div class="col-md-12"><header>Error Code</header> </div>
<div class="row"> </div>
<section class="col col-md-4">
<label class="label">DND ErrorCode</label>
<label class="input">
<i class="icon-append fa fa-warning"></i>
<input type="text" name="dndErrorCode" value="900" id="dndErrorCode" placeholder="DND ErrorCode" readonly="readonly">
<div style="color: #FF0000;"></div>
</label>
</section>
<section class="col col-md-4">
<label class="label">Day Balance Error Code</label>
<label class="input">
<i class="icon-append fa fa-dollar"></i>
<input type="text" name="dayBalErrorCode" value="88" id="dayBalErrorCode" placeholder="Day Balance Error Code" readonly="readonly">
<div style="color: #FF0000;"></div>
</label>
</section>
<section class="col col-md-4">
<label class="label">Hour Balance Error Code</label>
<label class="input">
<i class="icon-append fa fa-dollar"></i>
<input type="text" name="hourBalErrorCode" value="88" id="hourBalErrorCode" placeholder="Hour Balance Error Code" readonly="readonly">
<div style="color: #FF0000;"></div>
</label>
</section>
</div>
</div>
<div class="fieldset">
<div class="row">
<section class="col col-md-4">
<label class="label">No Balance Error Code</label>
<label class="input">
<i class="icon-append fa fa-dollar"></i>
<input type="text" name="nobalErrorCode" value="1035" id="nobalErrorCode" placeholder="No Balance Error Code" readonly="readonly">
<div style="color: #FF0000;"></div>
</label>
</section>
<section class="col col-md-4">
<label class="label">Blocked Content Error Code</label>
<label class="input">
<i class="icon-append fa fa-filter"></i>
<input type="text" name="blockContentErrorCode" value="102" id="blockContentErrorCode" placeholder="Blocked Content Error Code" readonly="readonly">
<div style="color: #FF0000;"></div>
</label>
</section>
<section class="col col-md-4">
<label class="label">Blocked Sender ID Error Code</label>
<label class="input">
<i class="icon-append fa fa-info-circle"></i>
<input type="text" name="blocSenderIderrorCode" value="10" id="blocSenderIderrorCode" placeholder="Blocked Sender ID Error Code" readonly="readonly">
<div style="color: #FF0000;"></div>
</label>
</section>
</div>
</div>
<div class="fieldset">
<div class="row">
<div class="col-md-12 text-right">
<div class="col-lg-12">
<a data-toggle="tab" href="#personalinfo" class="btn btn-danger btn-sm" onclick="getTab('personalinfo1');" aria-expanded="true"> Next </a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="tab-pane" id="personalinfo">
<div class="tabbable tabs-below">
<div class="tab-content padding-10">
<div class="tab-pane active" id="AA11">
<div class="smart-form">
<div class="fieldset">
<div class="row">
<section class="col col-md-6">
<label class="label">Name</label>
<label class="input">
<i class="icon-append fa fa-user"></i>
<input type="text" name="name" value="Arun" id="name" placeholder="Name" maxlength="49">
<div style="color: #FF0000;"></div>
</label>
</section>
<section class="col col-md-6">
<label class="label">Company Name</label>
<label class="input">
<i class="icon-append fa fa-briefcase"></i>
<input type="text" name="companyName" value="Arun verma Company ltd" id="companyName" placeholder="Company Name" maxlength="49">
</label>
<div style="color: #FF0000;"></div>
</section>
</div>
</div>
<div class="fieldset">
<div class="row">
<section class="col col-md-6">
<label class="label">Email ID</label>
<label class="input">
<i class="icon-append fa fa-envelope"></i>
<input type="text" name="email" value="[email protected]" id="email" placeholder="User Email ID" maxlength="50">
</label>
<div style="color: #FF0000;"></div>
</section>
<section class="col col-md-6">
<label class="label">Domain/Host</label>
<label class="input">
<i class="icon-append fa fa-globe"></i>
<input type="text" name="web" value="sanchika.co.in" id="web" placeholder="Domain/Host" maxlength="49">
</label>
<div style="color: #FF0000;"></div>
</section>
</div>
</div>
<div class="fieldset">
<div class="row">
<section class="col col-md-6">
<label class="label">Mobile Number</label>
<div class="input">
<span class="icon-prepend">+91</span>
<input type="text" class="form-control" name="mobileNo" value="" id="mobileNo" placeholder="Mobile Number">
<i class="icon-append fa fa-phone"></i>
<div style="color: #FF0000;"></div>
</div>
</section>
<section class="col col-md-6">
<label class="label">Other Number</label>
<div class="col-sm-12">
<div class="input-group1">
<div class="col-md-3">
<div class="input-group-btn">
<label class="input">
<input type="text" name="code" value="" id="code" data-mask="999" aria-required="true" aria-invalid="true" placeholder="Std Code">
</label>
</div>
</div>
<div class="col-md-1"> </div>
<div class="col-md-8">
<label class="input">
<i class="icon-append fa fa-phone"></i>
<input type="text" name="otherNo" value="" id="otherNo" placeholder="Phone No">
</label>
<div style="color: #FF0000;"></div>
</div>
</div>
<div style="color: #FF0000;"></div>
</div>
</section>
</div>
</div>
<div class="fieldset">
<div class="row">
<section class="col col-md-6">
<label class="label">Support Name</label>
<label class="input">
<i class="icon-append fa fa-user"></i>
<input type="text" name="supportname" value="" id="email" placeholder="Support Name" maxlength="90">
</label>
<div style="color: #FF0000;"></div>
</section>
<section class="col col-md-6">
<label class="label">Support Email ID</label>
<label class="input">
<i class="icon-append fa fa-envelope"></i>
<input type="text" name="supportemail" value="" id="supportemail" placeholder="Support Email ID" maxlength="90">
</label>
<div style="color: #FF0000;"></div>
</section>
</div>
</div>
<div class="fieldset">
<div class="row">
<section class="col col-md-6">
<label class="label">Support Number</label>
<label class="input">
<span class="icon-prepend">+91</span>
<input type="text" name="supportnumber" value="" id="web" placeholder="Support Number">
<i class="icon-append fa fa-phone"></i>
</label>
<div style="color: #FF0000;"></div>
</section>
<section class="col col-6">
<label class="label"> </label>
<label>
<input type="checkbox" class="checkbox style-0" name="checkIsDownload" id="checkIsDownload">
<span>Report Via Mail </span>
</label>
</section>
</div>
</div>
<!-- <div class="fieldset">
<div class="row">
<section class="col col-6">
<label class="label">Logo</label>
<div class="input input-file">
<span class="button"><input id="txtlogofile" type="file" name="txtlogofile" onchange="this.parentNode.nextSibling.value = this.value">Browse</span><input type="text" placeholder="Include logo" readonly="">
</div>
</section>
</div>
</div> -->
<footer>
<button type="submit" name="submit" class="btn btn-danger">Cancel</button>
<button type="submit" name="submit" class="btn btn-primary" id="updatereseller">Update</button>
<!-- <button type="button" class="btn btn-primary" id="processAdd" style="display: none;">
<i class="fa fa-spinner fa-spin"></i> Processing</button> -->
</footer>
</div>
</div>
</div>
</div>
</div>
<div class="tab-pane" id="otherinfo">
<div class="tabbable tabs-below">
<div class="tab-content padding-10">
<div class="tab-pane active" id="AA21">
<form action="dosmppresuserupdatelogoprocess" method="post" enctype="multipart/form-data" id="contact-form" class="smart-form" novalidate="novalidate">
<div class="smart-form">
<div class="fieldset">
<div class="row">
<section class="col col-md-6">
<label class="label">Logo</label>
<div class="well well-lg product-image" style="min-height: 300px;">
<img alt="" src="image?txtUserId=222208" class="img-responsive">
</div>
</section>
<section class="col col-md-6">
<label class="label">Logo</label>
<div class="input input-file">
<span class="button"><input id="txtlogofile" type="file" name="txtlogofile" onchange="this.parentNode.nextSibling.value = this.value">Browse</span><input type="text" placeholder="Upload logo" readonly="">
</div>
<footer>
<button type="submit" name="submit" class="btn btn-primary" data-loading-text="<i class='fa fa-spinner fa-spin' ></i> Processing">Update</button>
</footer>
<input type="hidden" name="txtaction" value="OtherInfoTab">
<input type="hidden" name="editUserId" value="222208">
</section>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
</section>
<!-- content -->
</div>
<!-- content-wrapper -->
<!-- Main Footer -->
<footer class="main-footer dark-bg">
<div class="pull-right hidden-xs"> Version 1.0</div>
Copyright © 2019 SMPP Admin. All rights reserved. </footer>
</div>
<!-- wrapper -->
<?php
include 'footer.php';
?>