-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcl_income.php
754 lines (705 loc) · 28.7 KB
/
cl_income.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
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
<!DOCTYPE HTML>
<html>
<?php
require_once 'config.php';
if ('Production' != constant('DEPLOY_MODE')) {
echo '<h3>Site is running in ' . constant('DEPLOY_MODE') . ': all warnings and errors will be displayed!</h3>';
echo "<pre>";
require 'dump-errors.php';
echo "</pre>";
}
require_once('functions.php');
LogPostValuesToLog($_POST['this_log'], 'cl_expenses');
$this_log = $_POST['this_log'];
?>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>
Circles USA CEPT
</title>
<style>
.header {
overflow: hidden;
}
.matchem {
background: red;
padding-bottom: 2000px;
margin-bottom: -2000px;
float: left;
width: 100px;
margin-right: 20px;
}
.nextbutton {
background-color: #069B54; /* GREEN */
border: none;
color: white;
padding: 5px 5px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 10px;
margin: 4px 2px;
cursor: pointer;
}
.donebutton {
background-color: #EF5F0A; /* ORANGE */
border: none;
color: white;
padding: 5px 5px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 10px;
margin: 4px 2px;
cursor: pointer;
}
.anotherbutton {
background-color: #008FD9; /* BLUE */
border: none;
color: white;
padding: 5px 5px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 10px;
margin: 4px 2px;
cursor: pointer;
}
.centered {
margin: auto;
width: 60%;
border: 6px ridge rgb(0, 159, 222);
color: rgb(0, 0, 0);
padding: 10px;
box-shadow: 5px 5px 5px #cccccc;
border-radius: 8px;
position: relative;
}
.h2 {
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
font-weight: bold;
color: rgb(0, 163, 222);
}
.h3 {
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
/ / font-weight: bold;
color: black;
}
.p1 {
display: inline;
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
font-weight: bold;
color: rgb(0, 163, 222);
font-size: 18px;
}
.p2 {
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
font-weight: bold;
color: rgb(0, 163, 222);
font-size: 16px;
}
.p3 {
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
font-weight: bold;
font-size: 16px;
}
.form-els {
display: inline;
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
font-weight: bold;
}
.button-text {
/ / display: inline;
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
font-size: 14px;
/ / font-weight: bold;
}
.org-hr {
width: 100%;
/ / border-style: outset;
border-width: 2px;
color: rgb(242, 117, 34);
}
a.tooltip {
outline: none;
}
a.tooltip strong {
line-height: 30px;
}
a.tooltip:hover {
text-decoration: none;
}
a.tooltip span {
z-index: 10;
display: none;
padding: 14px 20px;
margin-top: -30px;
margin-left: 28px;
width: 400px;
line-height: 16px;
text-align: left;
}
a.tooltip:hover span {
display: inline;
position: absolute;
color: #111;
border: 1px solid #DCA;
background: #fffAF0;
}
.callout {
z-index: 20;
position: absolute;
top: 30px;
border: 0;
left: -12px;
}
/*CSS3 extras*/
a.tooltip span {
border-radius: 4px;
box-shadow: 5px 5px 8px #CCC;
}
</style>
<script type="text/javascript" src="page_js/jquery.min.js"></script>
<script type="text/javascript" src="page_js/autoNumeric-1.9.41.js"></script>
<script type="text/javascript">
jQuery(function($) {
$('#GrossIncomeAmount').autoNumeric('init');
$('#NetBusinessAmount').autoNumeric('init');
$('#ArmedForcesAmount').autoNumeric('init');
$('#UnEarnedSSIEtc').autoNumeric('init');
$('#UnEmploymentEtc').autoNumeric('init');
$('#AlimonyReceived').autoNumeric('init');
$('#ChildSupportReceived').autoNumeric('init');
$('#TANFreceived').autoNumeric('init');
$('#MonthlyGifts').autoNumeric('init');
$('#InterestDividendsEtc').autoNumeric('init');
$('#CheckingAccountBal').autoNumeric('init');
$('#SavingsAccountBal').autoNumeric('init');
$('#EVvehicle1').autoNumeric('init');
$('#EVothervehicle').autoNumeric('init');
$('#EVpersonal').autoNumeric('init');
$('#EVnonResi').autoNumeric('init');
$('#EVallCountable').autoNumeric('init');
$('#TotalMonthlyExpenses').autoNumeric('init');
});
window.onload = function() {
document.getElementById("GrossIncomeAmount").focus();
document.getElementById("DoneButtonRow").style.display = "none";
}
function AddEarnedIncome() {
var total = 0;
var coll = document.getElementsByClassName("MonthlyEarned")
for(var i = 0; i < coll.length; i++) {
var ele = coll[i];
ele.value = ele.value.replace(',', '');
total += parseFloat(ele.value) || 0;
}
var Display = document.getElementById("MonthlyEarned");
//TotalHousing.innerHTML = total.toFixed(2).replace(/(\d)(?=(\d{3})+(?!\d))/g, "$1,");
document.getElementById('TotalEarned').value = total.toFixed(2).replace(/(\d)(?=(\d{3})+(?!\d))/g, "$1,");
this.AEI = total;
}
function AddUnEarned() {
var total = 0;
var coll = document.getElementsByClassName("MonthlyUnEarned")
for(var i = 0; i < coll.length; i++) {
var ele = coll[i];
ele.value = ele.value.replace(',', '');
total += parseFloat(ele.value) || 0;
}
var Display = document.getElementById("TotalUnEarned");
//TotalHousing.innerHTML = total.toFixed(2).replace(/(\d)(?=(\d{3})+(?!\d))/g, "$1,");
document.getElementById('TotalUnEarned').value = total.toFixed(2).replace(/(\d)(?=(\d{3})+(?!\d))/g, "$1,");
this.AUE = total;
}
function AddHouseholdAssets() {
var total = 0;
var coll = document.getElementsByClassName("HouseholdAssetAmount")
for(var i = 0; i < coll.length; i++) {
var ele = coll[i];
ele.value = ele.value.replace(',', '');
total += parseFloat(ele.value) || 0;
}
var Display = document.getElementById("TotalHouseholdAssets");
//TotalHousing.innerHTML = total.toFixed(2).replace(/(\d)(?=(\d{3})+(?!\d))/g, "$1,");
document.getElementById('TotalHouseholdAssets').value = total.toFixed(2).replace(/(\d)(?=(\d{3})+(?!\d))/g, "$1,");
this.AUE = total;
}
var UpdMonthTotal = setInterval(GetMonthlies, 100);
function GetMonthlies() {
var getAEI = new AddEarnedIncome();
var getAUE = new AddUnEarned();
var getEXP = document.getElementById("TotalMonthlyExpenses").value;
var getEXP = parseFloat(getEXP.replace(/,/g, ''));
var themonthtotal = getAEI.AEI + getAUE.AUE - getEXP;
var theincometotal = getAEI.AEI + getAUE.AUE;
//TotalMonthly.innerHTML = monthtotal.toFixed(2).replace(/(\d)(?=(\d{3})+(?!\d))/g, "$1,");
document.getElementById('CombineIncome').value = theincometotal.toFixed(2).replace(/(\d)(?=(\d{3})+(?!\d))/g, "$1,");
this.TINC = theincometotal;
//console.log(getEXP.replace(/,/g,''))
document.getElementById('NetIncome').value = themonthtotal.toFixed(2).replace(/(\d)(?=(\d{3})+(?!\d))/g, "$1,");
this.TEXP = themonthtotal;
}
</script>
</head>
<body>
<!-- BEGIN OUTSIDE FORM -->
<div id="MainDIV" class="centered">
<form id="cl_income_form" enctype="multipart/form-data" method="POST" action="cl_summary.php"
novalidate="novalidate" style="padding: 10px;" autocomplete="off">
<!-- START HEADER -->
<div style="float: left;">
<img alt="Circles USA" id="cusalogo" src="images/circles-usa-new.png" style="display: inline;"/>
</div>
<div style="text-align: center; float: right;">
<h2 class="h2">Cliff Effect Planning Tool</h2>
</div>
<div style="text-align: center; float: left; width: 100%;">
<p class="p1">
<br>Circle Leader Monthly Income and Assets
</p>
<hr class="org-hr">
</div>
<!-- END HEADER -->
<div id="LeftSideDiv" style="float: left; width: 50%;">
<div style="float: left; width: 100%;">
<div id="Div_MonthlyIncome"
style="float: left; border: 1px solid; border-color: #008FD9; width: 100%;">
<table width="90%">
<tr>
<td colspan="2" align="center" class="p2">MONTHLY INCOME</td>
<tr>
<tr>
<td colspan="2" align="center" class="p2">Work - Cash Income</td>
<tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">Gross Income:</td>
<td bgcolor="orange" width="20%"><input type="text" id="GrossIncomeAmount"
name="GrossIncomeAmount" maxlength="8" size="10"
placeholder="0.00" onkeyup="AddEarnedIncome();"
class="MonthlyEarned"/></td>
</tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">Net Business:</td>
<td bgcolor="orange"><input type="text" id="NetBusinessAmount" name="NetBusinessAmount"
maxlength="8" size="10" placeholder="0.00"
onkeyup="AddEarnedIncome();" class="MonthlyEarned"/></td>
</tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">Armed Forces:</td>
<td bgcolor="orange"><input type="text" id="ArmedForcesAmount" name="ArmedForcesAmount"
maxlength="8" size="10" placeholder="0.00"
onkeyup="AddEarnedIncome();" class="MonthlyEarned"/></td>
</tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">EARNED INCOME:</td>
<td style="font-weight:bold;"><input id="TotalEarned" name="TotalEarned" type="text" readonly
maxlength="12" size="6" class="p3"></td>
</tr>
<tr>
<td colspan="2" align="left" class="p2"> </td>
<tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">Unearned Income (SSI, SSDI,
Etc.):
</td>
<td bgcolor="orange"><input type="text" id="UnEarnedSSIEtc" name="UnEarnedSSIEtc"
maxlength="8" size="10" placeholder="0.00"
onkeyup="AddUnEarned();" class="MonthlyUnEarned"/></td>
</tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">Unemployment/Disability/Work
Comp/Etc.:
</td>
<td bgcolor="orange"><input type="text" id="UnEmploymentEtc" name="UnEmploymentEtc"
maxlength="8" size="10" placeholder="0.00"
onkeyup="AddUnEarned();" class="MonthlyUnEarned"
style="line-height: 28px;"/></td>
</tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">Alimony/Spousal Support
received:
</td>
<td bgcolor="orange"><input type="text" id="AlimonyReceived" name="AlimonyReceived"
maxlength="8" size="10" placeholder="0.00"
onkeyup="AddUnEarned();" class="MonthlyUnEarned"/></td>
</tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">Child Support received:</td>
<td bgcolor="orange"><input type="text" id="ChildSupportReceived" name="ChildSupportReceived"
maxlength="8" size="10" placeholder="0.00"
onkeyup="AddUnEarned();" class="MonthlyUnEarned"/></td>
</tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">TANF received:</td>
<td bgcolor="orange"><input type="text" id="TANFreceived" name="TANFreceived" maxlength="8"
size="10" placeholder="0.00" onkeyup="AddUnEarned();"
class="MonthlyUnEarned"/></td>
</tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">Monthly gifts:</td>
<td bgcolor="orange"><input type="text" id="MonthlyGifts" name="MonthlyGifts" maxlength="8"
size="10" placeholder="0.00" onkeyup="AddUnEarned();"
class="MonthlyUnEarned"/></td>
</tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">Interest, Dividends, other
income:
</td>
<td bgcolor="orange"><input type="text" id="InterestDividendsEtc" name="InterestDividendsEtc"
maxlength="8" size="10" placeholder="0.00"
onkeyup="AddUnEarned();" class="MonthlyUnEarned"/></td>
</tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">UNEARNED INCOME:</td>
<td style="font-weight:bold;"><input id="TotalUnEarned" name="TotalUnEarned" type="text"
readonly maxlength="12" size="6" class="p3"></td>
</tr>
<tr>
<td colspan="2" align="left" class="p2"> </td>
<tr>
</table>
</div>
<br><br>
</div><!--HOUSING EXPENSES-->
</div><!--LEFT SIDE COLUMNS-->
<div id="RightSideDiv" style="float: left; width: 50%;">
<div style="float: left; width: 100%;">
<div id="HousingExpenses" style="float: left; border: 1px solid; border-color: #008FD9; width: 100%;">
<table width="90%">
<tr>
<td colspan="2" align="center" class="p2">MONTHLY EXPENSES</td>
<tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">Housing:</td>
<td align="right" width="20%" class="button-text"><?php echo $_POST['TotalHousing']; ?></td>
</tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">Food:</td>
<td align="right" class="button-text"><?php echo $_POST['TotalFood']; ?></td>
</tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">Transportation:</td>
<td align="right" class="button-text"><?php echo $_POST['TotalTransport']; ?></td>
</tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">Entertainment:</td>
<td align="right" class="button-text"><?php echo $_POST['TotalEntertain']; ?></td>
</tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">Healthcare:</td>
<td align="right" class="button-text"><?php echo $_POST['TotalHealthcare']; ?></td>
</tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">Dependent Care/Support:</td>
<td align="right" class="button-text"><?php echo $_POST['TotalDependentExpense']; ?></td>
</tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">Personal Care:</td>
<td align="right" class="button-text"><?php echo $_POST['TotalPersonalCare']; ?></td>
</tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">Clothing/Shoes:</td>
<td align="right" class="button-text"><?php echo $_POST['TotalClothing']; ?></td>
</tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">Pets:</td>
<td align="right" class="button-text"><?php echo $_POST['TotalPets']; ?></td>
</tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">Debt:</td>
<td align="right" class="button-text"><?php echo $_POST['TotalDebt']; ?></td>
</tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">Household:</td>
<td align="right" class="button-text"><?php echo $_POST['TotalHousehold']; ?></td>
</tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">Gifts:</td>
<td align="right" class="button-text"><?php echo $_POST['TotalGifts']; ?></td>
</tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">Savings:</td>
<td align="right" class="button-text"><?php echo $_POST['TotalSavings']; ?></td>
</tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">Other:</td>
<td align="right" class="button-text"><?php echo $_POST['TotalOtherExpenses']; ?></td>
</tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">Total: $</td>
<td style="font-weight:bold;"
align="right"><?php echo "<input type=\"text\" id=\"TotalMonthlyExpenses\" name=\"TotalMonthlyExpenses\" value=\"" . $_POST['TotalMonthlyExpenses'] . "\" readonly maxlength=\"12\" size=\"10\" tabindex = \"-1\" class=\"p3\" style=\"text-align: right; \">";
echo "<input type=\"hidden\" id=\"PostMonthlyExpenses\" name=\"PostMonthlyExpenses\" value=\"" . intval(preg_replace('/[^\d.]/', '', $_POST['TotalMonthlyExpenses'])) . "\">"; ?></td>
</tr>
</table>
</div>
<br><br>
<div id="div_NetIncome" style="float: left; border: 1px solid; border-color: #008FD9; width: 100%;">
<table width="100%">
<tr>
<td colspan="2" align="center" class="p2">TOTAL INCOME</td>
<tr>
<tr>
<td align="right" width="20%" class="p2">$ <input id="CombineIncome" name="CombineIncome"
type="text" readonly maxlength="12"
size="10" class="p2"></td>
</tr>
</table>
<table width="100%">
<tr>
<td colspan="2" align="center" class="p2">NET MONTHLY INCOME</td>
<tr>
<tr>
<td align="right" width="20%" class="p2">$ <input id="NetIncome" name="NetIncome" type="text"
readonly maxlength="12" size="10"
class="p2"></td>
</tr>
</table>
</div>
</div><!--EXPENSES-->
</div><!--RIGHT SIDE COLUMNS-->
<div id="BottomSideDiv" style="float: left; width: 100%; border: solid 1px blue;">
<div style="float: left; width: 100%;">
<div id="HouseholdAssets" style="float: left; border: 1px solid; border-color: #008FD9; width: 100%;">
<table width="90%">
<tr>
<td colspan="2" align="center" class="p2">HOUSEHOLD ASSETS</td>
<tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">Checking Account Balance:</td>
<td width="5%" bgcolor="orange"><input type="text" id="CheckingAccountBal"
name="CheckingAccountBal" maxlength="8" size="11"
placeholder="0.00" onkeyup="AddHouseholdAssets();"
class="HouseholdAssetAmount"/></td>
</tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">Savings Account Balance:</td>
<td bgcolor="orange"><input type="text" id="SavingsAccountBal" name="SavingsAccountBal"
maxlength="8" size="11" placeholder="0.00"
onkeyup="AddHouseholdAssets();" class="HouseholdAssetAmount"/>
</td>
</tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">
<a href="#" class="tooltip">
<strong>Equity value</strong><img src="images/tiny_question.png"/>
<span>
<img class="callout" src="images/callout.gif"/>
To determine “Equity value” use this formula:<br><br>
Take the <i>Fair Market Value</i> of the item (how much can it be sold for), <strong><i>subtract</strong></i> how much you still <strong><i>owe on it</strong></i>
(if any)
and the result is the <strong><i>Equity Value</strong></i> of the item.<br><br><strong><i>Note: </strong></i> Use online resources to determine the Fair Market Value
such as Kelly Blue Book for vehicles, Craig’s List or eBay for other items.</span></a>
of vehicle #1 (Use fair market value if there is no loan):
</td>
<td bgcolor="orange"><input type="text" id="EVvehicle1" name="EVvehicle1" maxlength="8"
size="11" value="0.00" onkeyup="AddHouseholdAssets();"
class="HouseholdAssetAmount" style="line-height: 22px;"/></td>
</tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">Equity value of all other
vehicles (Use fair market value if there are no loans):
</td>
<td bgcolor="orange"><input type="text" id="EVothervehicle" name="EVothervehicle"
maxlength="8" size="11" placeholder="0.00"
onkeyup="AddHouseholdAssets();" class="HouseholdAssetAmount"/>
</td>
</tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">Equity value of personal
property (Use fair market value if there are no loans):
</td>
<td bgcolor="orange"><input type="text" id="EVpersonal" name="EVpersonal" maxlength="8"
size="11" placeholder="0.00" onkeyup="AddHouseholdAssets();"
class="HouseholdAssetAmount"/></td>
</tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">Equity value of Non-Resident
property (Use fair market value if there are no loans):
</td>
<td bgcolor="orange"><input type="text" id="EVnonResi" name="EVnonResi" maxlength="8"
size="11" placeholder="0.00" onkeyup="AddHouseholdAssets();"
class="HouseholdAssetAmount"/></td>
</tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">Equity of all countable assets
(Use fair market value if there are no loans):
</td>
<td bgcolor="orange"><input type="text" id="EVallCountable" name="EVallCountable"
maxlength="8" size="11" placeholder="0.00"
onkeyup="AddHouseholdAssets();" class="HouseholdAssetAmount"/>
</td>
</tr>
<tr>
<td class="button-text" align="right" style="font-weight:bold">Total Household Assets:</td>
<td style="font-weight:bold;"><input id="TotalHouseholdAssets" name="TotalHouseholdAssets"
type="text" readonly maxlength="12" size="7" class="p3"
placeholder="0.00"></td>
</tr>
<tr>
<td colspan="2" align="left" class="p2"> </td>
<tr>
</table>
</div>
<br><br>
<script>
function CheckButtons() {
var x1 = document.getElementById("Butt_Section8a").checked;
var x2 = document.getElementById("Butt_Section8b").checked;
var x3 = document.getElementById("EIupemp1").checked;
var x4 = document.getElementById("EIupemp2").checked;
var x5 = document.getElementById("EIupPart1").checked;
var x6 = document.getElementById("EIupPart2").checked;
var x7 = document.getElementById("IncomeUp1").checked;
var x8 = document.getElementById("IncomeUp2").checked;
if(x1 == true || x2 == true) {
if(x3 == true || x4 == true) {
if(x5 == true || x6 == true) {
if(x7 == true || x8 == true) {
document.getElementById("DoneButtonRow").style.display = "block";
}
}
}
}
}
</script>
</div><!--INCOME-->
<div style="float: left; width: 100%;">
<div id="HUDEID" style="float: left; border: 1px solid; border-color: #008FD9; width: 100%;">
<table width="90%" align="center">
<tr>
<td colspan="2" align="center" class="p2">HUD EARNED INCOME DISREGARD (EID)</td>
<tr>
<tr>
<td class="button-text" align="left" style="font-weight:bold;">A disabled family receiving
HOPWA, SUHP, HOME, Housing Choice Voucher (Section 8)
</td>
<td width="20%">
<fieldset id="Butt_Section8set" style="border:0;"><input type="radio" id="Butt_Section8a"
name="Butt_Section8" value="Yes"
onchange="CheckButtons();"/><span
class="p3">Yes</span>
<input type="radio" id="Butt_Section8b" name="Butt_Section8" value="No"
onchange="CheckButtons()" ;/><span class="p3">No</span></fieldset>
</td>
</tr>
<tr>
<td colspan="2" align="center" class="p2">
<hr class="org-hr">
</td>
<tr>
<tr>
<td class="button-text" align="left" style="font-weight:bold">A disabled family member's
earned income increases as a result of employment,
after a period of unemployment of one or more years prior to employment.
</td>
<td width="20%">
<fieldset id="Butt_EIupemp" style="border:0;"><input type="radio" id="EIupemp1"
name="EIupemp" value="Yes"
onchange="CheckButtons();"/><span
class="p3">Yes</span>
<input type="radio" id="EIupemp2" name="EIupemp" value="No"
onchange="CheckButtons();"/><span class="p3">No</span></fieldset>
</td>
</tr>
<tr>
<td colspan="2" align="center" class="p2">
<hr class="org-hr">
</td>
<tr>
<tr>
<td class="button-text" align="left" style="font-weight:bold">A disabled family member's
earned income increases as a result of participation in an
economic self-sufficiency program or other job-training program
</td>
<td width="20%">
<fieldset id="Butt_EIupPart" style="border:0;"><input type="radio" id="EIupPart1"
name="EIupPart" value="Yes"
onchange="CheckButtons();"/><span
class="p3">Yes</span>
<input type="radio" id="EIupPart2" name="EIupPart" value="No"
onchange="CheckButtons();"/><span class="p3">No</span></fieldset>
</td>
</tr>
<tr>
<td colspan="2" align="center" class="p2">
<hr class="org-hr">
</td>
<tr>
<tr>
<td class="button-text" align="left" style="font-weight:bold">A disabled family member's
income increases as a result of employment during or
within six (6) months after receiving assistance, benefits, or services under TANF or a
Welfare-to-Work program (including one time only cash assistance of at least $500.
</td>
<td width="20%">
<fieldset id="IncomeUp" style="border:0;"><input type="radio" id="IncomeUp1"
name="IncomeUp" value="Yes"
onchange="CheckButtons();"/><span
class="p3">Yes</span>
<input type="radio" id="IncomeUp2" name="IncomeUp" value="No"
onchange="CheckButtons();"/><span class="p3">No</span>
</td>
</tr>
<tr>
<td colspan="2" align="center" class="p2">
<hr class="org-hr">
</td>
<tr>
<tr id="DoneButtonRow">
<td colspan="2" align="center">
<button type="submit" class="donebutton" onclick="">Continue to Results --></button>
</td>
<tr>
</table>
</div>
<br><br>
</div><!--HUDEID-->
</div>
<!-- ALLWAYS KEEP NEXT DIV AT THE VERY BOTTOM! This makes sure that the blue border stays bigger than the content. -->
<div style="clear: both;"> </div>
<?php
foreach($_POST as $key => $value) {
if($value != "") {
echo "<input type=\"hidden\" name=\"" . $key . "\" value=\"" . $value . "\">";
}
}
echo "<input type=\"hidden\" name=\"this_log\" value=\"" . $this_log . "\">";
?>
</form>
</div>
<!-- END OUTSIDE FORM -->
<br>
<div align="center">
<table align="center" border="0" style="font-size: 11px;">
<tr>
<td colspan="3"><p align="center"><img alt="Copyleft Yo!" height="10" width="10"
src="images/Copyleft.png"/> 2017 CirclesUSA.org</p></td>
</tr>
<tr>
<td valign="middle" align="center">Powered with <img src="images/heart.png" height="10" width="10"
alt="Love is all that matters">
by VinceCo<br><br></td>
</tr>
<tr>
<td colspan="3" align="center">
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">
<img alt="Creative Commons License" style="border-width:0"
src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png"/>
</a>
<br/>This work is licensed under a
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons
Attribution-NonCommercial-ShareAlike 4.0 International License
</a>.<br><br>
HighCharts graphing is licensed separately from this work and is solely for use by Circles USA within
the scope of this work.<br>
Please contact HighCharts directly at <a href="http://www.highcharts.com/contact-email">http://www.highcharts.com/contact-email</a>
to obtain your own license.<br><br>
</td>
</tr>
</table>
</div>
<br><br>
</body>
</html>