This repository has been archived by the owner on Feb 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php~
269 lines (254 loc) · 25.2 KB
/
page.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php /* http://www.timeanddate.com/calendar/custom.html?year=2010&month=1&months=3&country=30&typ=2&display=3&cols=0&fdow=1&hol=0&ctf=4&ctc=2&holmark=1&cdt=6&ccc=9&holm=1&hid=1&df=1 */ ?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>ColourCal v. <?php echo $version_short; ?></title>
<style type="text/css">
.clo{background:#ccc;text-align:center;padding:2em}#prevf{height:11em;width:20em;overflow:auto}#prevf th{font-size:85%}#prevf td{font-size:70%;border:1px solid #000}#prevf table.cs0 td{width:1.5em}#prevf table.cs1 td{width:4em;height:3em}#prevf table.cs2 td{width:2em;height:10em}#prevf table.cs3 td{width:2em;height:1.5em}#prevf table{border:1px solid #999;background:#DDD;float:left;margin:2px}.cps input{margin:.5em 2em 0}.cmc{font-size:.7em;font-weight:700}.cprev{width:240px;height:200px;overflow:auto;display:none}.cprevt{overflow:scroll;overflow-y:hidden;width:100%;clear:both}.cpreva{float:left}.cprevd{width:240px;height:240px;overflow:hidden;text-align:center}.cprevdd{width:520px}.cpm{width:180px;height:180px;overflow:hidden}.popup{z-index:10;position:absolute;display:none;background:#EEE;border:#00c 1px solid}.cpb{background:#ccf;text-align:center;font-size:70%;margin:5px}.caln{width:750px;margin-top:1em}.caln ul{margin:0;padding:0}.caln li{list-style:none}.caln li ul{padding-left:1em}.caln li ul li{list-style:disc inside;margin:0;padding:0}pre{padding:.2em .1em .3em .3em}tr.chi,td.chi,.chi{background:#FF0}table.ct1 a{text-decoration:none;display:block}table.ct1 a:hover{text-decoration:underline}table.ca{border-collapse:collapse}.co1{color:red}.co2{color:#00c}.co3{color:#080}.co4{color:#444}.co5{color:olive}.co6{color:#8A2BE2}table{empty-cells:show}tr.ce{height:.5em}td.cz{width:.5em;padding:0}tr.ce td{font-size:.1em;padding:0}.ca3{width:13em}.ca3 td{border-bottom:#ccc 1px solid}.ct1,.ch1{font-family:Arial,Helvetica,Sans-serif}.ct1 th{font-size:1.28em;border:#00e 1px solid;border-bottom-style:none;padding:0}.ct1 .cmi{border:#00e 1px solid;border-top-style:none;border-bottom-style:none;padding:0}.ct1 .cbo{border:#00e 1px solid;border-top-style:none;padding:0}.ct1 table.ca1{width:100%}.ct1 .ca1 td{text-align:center;padding:.07em .2em}.ct1 .ca2 td{width:6em;height:5em;text-align:center;border:#ccc 1px solid;padding:.1em}.ct1 .ca2 tr.cl td{height:1em;font-size:1.2em;padding:.05em}.ct1 .ca2 td.ck{height:auto}.ct1 th.ca2{font-size:2em}.ct1 .ca3 td{vertical-align:top;height:1.2em;line-height:1.1em;padding:.07em .1em}.ct1 .ca3 .cn{text-align:right;width:1.2em}.ct1 .ca3 .cv{width:1.2em}.ct1 .ca3 span.cmw{font-size:.75em;padding-top:.09em;line-height:1em;display:block;float:right}.ct1 .ca3 span.cmo{font-size:.75em;padding-top:.09em;line-height:1em;display:block;float:left;margin-right:.2em}.ct1 .ca3 span.cmh{font-size:.75em;padding-top:.333em;line-height:1em;display:block;float:left}.ct1 .ccd{font-size:1.5em}table.ct1{border-collapse:collapse;border-spacing:0}.ct1 .ck{text-align:center}.ct1 div{border-style:none;border-width:1px}div.ck{font-size:.9em}.ct1 div.cq{padding:0 .2em}.ct1 td.cq table td{padding:0 .1em}table.ch1{margin-top:.5em}.ch1{border:#00e 1px solid}.ch1 .chh{font-size:1.28em;width:100%;padding:0}.ch1 .chb{border-right:#999 1px solid}.ch1 .cht td{vertical-align:top;font-size:.9em}.cli,.cprevb{float:right}.ctt,.cdn{display:none}.caln td,.ct1 td,.ct1 th{vertical-align:top}.ca td,.ca div{border-color:#000;border-style:none;border-width:1px}.cyd,.cyl,.ct1 .cch,.ct1 div.cqs{font-size:.8em}.ct1 .ca3 .cm,.ck img{vertical-align:baseline}
.cz1{font-size:20%}.cz1 img{width:2px;height:2px}.cz2{font-size:30%}.cz3{font-size:40%}.cz4{font-size:50%}.cz4 img{width:4px;height:4px}.cz5{font-size:60%}.cz5 img{width:5px;height:5px}.cz6{font-size:70%}.cz6 img{width:6px;height:6px}.cz7{font-size:80%}.cz7 img{width:7px;height:7px}.cz8{font-size:90%}.cz8 img{width:8px;height:8px}.cz9{font-size:110%}.cz10{font-size:120%}.cz11{font-size:135%}.cz12{font-size:150%}.cz13{font-size:175%}.cz14{font-size:200%}.cz15{font-size:250%}.cz16{font-size:300%}.cz17{font-size:400%}.cz10 img,.cz11 img,.cz12 img,.cz13 img,.cz14 img,.cz15 img,.cz16 img,.cz17 img{width:.7em;height:.7em}.cf1{font-family:Arial,Helvetica,sans-serif}.cf2{font-family:'Arial Black',Arial,Helvetica,sans-serif}.cf3{font-family:'Arial Narrow',Arial,Helvetica,sans-serif}.cf4{font-family:'Book Antiqua',serif}.cf5{font-family:'Bookman Old Style',serif}.cf6{font-family:'Century Gothic',AvantGarde,'Avant Garde',sans-serif}.cf7{font-family:'Comic Sans MS',sans-serif}.cf8{font-family:'Courier New',Courier,monospace}.cf9{font-family:Garamond,serif}.cf10{font-family:Georgia,serif}.cf11{font-family:Impact,sans-serif}.cf12{font-family:'Lucida Console',monospace}.cf13{font-family:'Lucida Sans Console',sans-serif}.cf14{font-family:Tahoma,sans-serif}.cf15{font-family:'Times New Roman',Times,serif}.cf16{font-family:'Trebuchet MS',sans-serif}.cf17{font-family:Verdana,sans-serif}table.cp1{border-collapse:collapse}.cp3 tr.ce{height:.2em}.cp3 td.cz{width:.2em}.cp4 tr.ce{height:.5em}.cp4 td.cz{width:.5em}.cp5 tr.ce{height:1em}.cp5 td.cz{width:1em}.cp6 tr.ce{height:1.5em}.cp6 td.cz{width:1.5em}.cp7 td.cz{width:2em}.cp8 td.cz{width:3em}.cc1 .ca1 td{width:1em;height:1em;padding:0}.cc1 .ca2 td{width:2em;height:2em}.cc1 .ca3{width:6em}.cc2 .ca1 td{width:1.3em;height:1.3em;padding:.03em .04em}.cc2 .ca2 td{width:3em;height:2em}.cc3 .ca1 td{width:1.5em;height:1.3em;padding:.06em .07em}.cc3 .ca2 td{width:4em;height:2em}.cc3 .ca3{width:10em}.cc4 .ca1 td{width:1.8em;height:1.3em;padding:.07em .1em}.cc4 .ca2 td{width:5em;height:2em}.cc5 .ca1 td{width:2.1em;height:1.3em}.cc5 .ca2 td{width:7em;height:2em}.cc6 .ca1 td{width:2.5em;height:1.3em}.cc6 .ca2 td{width:9em;height:2em}.cc7 .ca1 td{width:1.5em;height:1.5em;padding:.05em}.cc7 .ca2 td{width:3em;height:3em}.cc8 .ca1 td{width:1.8em;height:1.8em;padding:.05em}.cc8 .ca2 td{width:4.5em;height:4.5em}.cc9 .ca1 td{width:2.1em;height:2.1em;padding:.05em}.cc9 .ca2 td{width:6em;height:6em}.cc9 .ca3 td{height:4em}.cc10 .ca1 td{width:2.5em;height:2.5em;padding:.05em}.cc10 .ca2 td{width:8em;height:8em}.cc10 .ca3 td{height:5em}.cz2 img,.cz3 img{height:3px;width:3px}.cp1 tr.ce,.cp1 td.cz,.cp2 tr.ce,.cp2 td.cz{display:none}table.cp2,table.cp3,table.cp4,table.cp5,table.cp6,table.cp7,table.cp8{border-collapse:separate}.cp7 tr.ce,.cc7 .ca3 td{height:2em}.cp8 tr.ce,.cc8 .ca3 td{height:3em}.cc2 .ca3,.cc7 .ca3{width:8em}.cc4 .ca3,.cc8 .ca3{width:13em}.cc5 .ca3,.cc9 .ca3{width:17em}.cc6 .ca3,.cc10 .ca3{width:22em}
.cl1 .cl td,.cl1 .ct1 .cw,.cl1 .ck{background:silver}.cl3 a{color:#00549F}.cl3 th{background:#b7e6f9;border-color:#00549f}.cl3 .cl td{background:#82d4f4}.cl3h{border:2px solid #00549f;background:#fff}.cl3h .chh{color:#00549f;background:#82d4f4}.cl3h .chb{border-right:#00549f 2px solid}.cl4 a{color:#063}.cl4 th{background:#c7e3b1;border-color:#063}.cl4 .ca3 td{border-color:#036}.cl4h{background:#fff;border-color:#063}.cl4h .chh{color:#063;background:#c7e3b1}.cl4h .chb{border-right:#063 2px solid}.cl5 a{color:#930}.cl5 th{background:#fbd9c0;border-color:#f47c25}.cl5 .cw{background:#fbd9c0}.cl5h{border:2px solid #f47c25;background:#fff}.cl5h .chh{color:#930;background:#fbd9c0}.cl5h .chb{border-right:#f47c25 2px solid}.cl6 a{color:#069}.cl6 th{background:#acd2ff;border-color:#069}.cl6 .cba{background:#c6defc}.cl6 .cl td{background:#069;color:#fff;border-color:#fff}.cl6 .cw{background:#acd2ff}.cl6h{border:2px solid #069;background:#fff}.cl6h .chh{color:#FFF;background:#069}.cl6h .chb{border-right:#069 2px solid}.cl7 a{color:#333}.cl7 th{background:#ccc;border-color:#666}.cl7 .cl td{background:#333;color:#fff}.cl7 .cw{background:#999}.cl7h{border:2px solid #666;background:#fff}.cl7h .chh{color:#FFF;background:#666}.cl7h .chb{border-right:#666 2px solid}.cl8 a{color:#060}.cl8 th{background:#acd58c;border-color:#060}.cl8 .cl td{background:#060;color:#fff;border-color:#fff}.cl8h{border:2px solid #060;background:#fff}.cl8h .chh{color:#FFF;background:#060}.cl8h .chb{border-right:#060 2px solid}.cl9 a{color:#8b4513}.cl9 th{background:#f5deb3;border-color:#8b4513}.cl9 .cba{background:#f5deb3}.cl9 .cl td{background:#8b4513;color:#fff;border-color:#fff}.cl9h{border:2px solid #8b4513;background:#f5deb3}.cl9h .chh{color:#FFF;background:#8b4513}.cl9h .chb{border-right:#8b4513 2px solid}.cl10 a{color:#cd5c5c}.cl10 th{background:#ffe4e1;border-color:#cd5c5c}.cl10 .cba{background:#FFC0CB}.cl10 .cl td{background:#cd5c5c;color:#fff;border-color:#fff}.cl10h{border:1px solid #cd5c5c;background:#ffe4e1}.cl10h .chh{color:#FFF;background:#cd5c5c}.cl10h .chb{border-right:#cd5c5c 1px solid}.cl11 a{color:#20B2AA}.cl11 th{background:#E0FFFF;border-color:#20B2AA}.cl11 .cba{background:#9CC}.cl11 .cl td{background:#20B2AA;color:#fff;border-color:#fff}.cl11 .cw{background:#AFEEEE}.cl11 div.ck{background:#AFEEEE;border-color:#fff}.cl11h{border:2px solid #20B2AA;background:#fff}.cl11h .chh{color:#FFF;background:#20B2AA}.cl11h .chb{border-right:#20B2AA 2px solid}.cl12 a{color:#483D8B}.cl12 th{background:#b0c4de;border-color:#483D8B}.cl12 .cba{background:#b0c4de}.cl12 .cl td{background:#483D8B;color:#fff;border-color:#fff}.cl12 div.ck{background:#99F;border-color:#fff}.cl12h{border:2px solid #483D8B;background:#fff}.cl12h .chh{color:#FFF;background:#4B0082}.cl12h .chb{border-right:#483D8B 2px solid}.cl13 a{color:#ff6347}.cl13 th{background:#FFDAB9;border-color:#ff6347}.cl13 .cba{background:#FFDAB9}.cl13 .cl td{background:#ff6347;color:#fff;border-color:#fff}.cl13 div.ck{background:#ffa07a;border-color:#fff}.cl13h{border:2px solid #ff6347;background:#fff}.cl13h .chh{color:#FFF;background:#ff6347}.cl13h .chb{border-right:#ff6347 2px solid}.cl14 a{color:#CD5C5C}.cl14 th{background:#fff4c4;border-color:#CD5C5C}.cl14 .cbm{background:#d3d3d3}.cl14 .ca2 td{background:#d3d3d3;border-color:#CD5C5C}.cl14 .cl td{background:#CD5C5C}.cl14 .cw{background:#8fbc8f}.cl14h{border:2px solid #CD5C5C;background:#fff}.cl14h .chh{color:#CD5C5C;background:#c7e3b1}.cl14h .chb{border-right:#CD5C5C 2px solid}.cl15 a{color:#764445}.cl15 th{background:#d2c3ac;border-color:#a28e83}.cl15 .cbm{background:#e1d4c3}.cl15 .cl td{background:#a28e83;color:#fff;border-color:#fff}.cl15 .cw{background:#e1dac3}.cl15 div.ck{background:#d2c3ac;border-color:#fff}.cl15 .cbb{background:#d2c3ac}.cl15h{border:2px solid #a28e83;background:#fff}.cl15h .chh{color:#FFF;background:#a28e83}.cl15h .chb{border-right:#a28e83 2px solid}.cl16 a{color:#4682B4}.cl16 th{background:#C9D3Dc;border-color:#4682B4}.cl16 .cl td{background:#7b868f;color:#fff;border-color:#fff}.cl16 div.ck{background:#c9d3dc;border-color:#fff}.cl16h{border:2px solid #4682B4;background:#fff}.cl16h .chh{color:#FFF;background:#4682B4}.cl16h .chb{border-right:#4682B4 2px solid}.cl18 .ca2 tr.cl td{background:#e0e0e0;font-size:.9em;font-weight:700}.cl18 div.ck,.cl18 div.cq{background:#e0e0e0;text-align:left;font-size:.9em;padding:0 .2em}.cl1 th,.cl1 .cmi,.cl1 .cbo,.cl17 th,.cl17 .cmi,.cl17 .cbo,.cl18 th,.cl18 .cmi,.cl18 .cbo{border-color:#00e}.cl1 .cbm,.cl1 table.ca2,.cl1 .cbb,.cl17 .cbm,.cl17 table.ca2,.cl17 .cbb,.cl17 .ca3 .cv,.cl17 .ca3 .cn,.cl17 .cl td,.cl17 .ct1 .cw,.cl17 .ck,.cl18 .cbm,.cl18 table.ca2,.cl18 .cbb,.cl18 .ca3 .cv,.cl18 .ca3 .cn,.cl18 .cl td,.cl18 .ct1 .cw,.cl18 .ck{background:#f0f0f0}.cl1 th,.cl17 th,.cl17 .ca2 .cl,.cl18 th{background:#e0e0e0}.cl1 .ca3 .cv,.cl1 .ca3 .cn,.cl7 .cba{background:#ccc}.cl3 .cmi,.cl3 .cbo,.cl3 .ca2 td,.cl3 .ca3 td,.cl3 .cbp div{border-color:#00549f}.cl3 .cbm,.cl4 .cbm,.cl5 .cbm,.cl6 .ca3 .cm,.cl7 .ca3 .cm,.cl8 .ca3 .cm,.cl9 .ca3 .cm,.cl10 .ca3 .cm,.cl11 .ca3 .cm,.cl12 .ca3 .cm,.cl13 .ca3 .cm,.cl14 .ca3 .cm,.cl15 .ca3 .cm,.cl16 .ca3 .cm{background:#fff}.cl3 .cw,.cl3 .cbb{background:#b7e6f9}.cl4 .cmi,.cl4 .cbo,.cl4 .ca2 td,.cl4 .cbp div{border-color:#063}.cl4 .cl td,.cl4 .ck,.cl4 .cbb,.cl8 .cw,.cl14 div.ck,.cl14 .cbb,.cl16 .cw{background:#acd58c}.cl4 .cw,.cl8 .cba{background:#c7e3b1}.cl5 .cmi,.cl5 .cbo,.cl5 .ca2 td,.cl5 .ca3 td,.cl5 .cbp div{border-color:#f47c25}.cl5 .cl td,.cl5 .ck,.cl5 .cbb{background:#f8bc90}.cl6 .cmi,.cl6 .cbo{border-color:#069}.cl6 .ca1 td,.cl7 .ca1 td,.cl7 .ca2 td,.cl7 .cbp div,.cl7 div.ck,.cl8 .cbp div,.cl8 div.ck,.cl9 .cbp div,.cl9 div.ck,.cl10 .cbp div,.cl10 div.ck,.cl11 .cbp div,.cl15 .ca1 td,.cl16 .ca1 td{border-color:#fff}.cl6 .ca2 td,.cl6 .cbp div,.cl8 .ca1 td,.cl8 .ca2 td,.cl9 .ca1 td,.cl9 .ca2 td,.cl10 .ca1 td,.cl10 .ca2 td,.cl11 .ca1 td,.cl11 .ca2 td,.cl12 .ca1 td,.cl12 .ca2 td,.cl13 .ca1 td,.cl13 .ca2 td,.cl15 .ca2 td,.cl16 .ca2 td{border-color:#FFF}.cl7 .cmi,.cl7 .cbo{border-color:#666}.cl8 .cmi,.cl8 .cbo{border-color:#060}.cl9 td.cmi,.cl9 td.cbo{border-color:#8b4513}.cl10 td.cmi,.cl10 td.cbo{border-color:#cd5c5c}.cl11 .cmi,.cl11 .cbo{border-color:#20B2AA}.cl12 .cmi,.cl12 .cbo{border-color:#483D8B}.cl13 .cmi,.cl13 .cbo{border-color:#ff6347}.cl14 .cmi,.cl14 .cbo{border-color:#CD5C5C}.cl15 .cmi,.cl15 .cbo{border-color:#a28e83}.cl16 .cmi,.cl16 .cbo{border-color:#4682B4}.cl16 .cba,.cl16 div.cq{background:#c9d3dc}.cl17h .chh,.cl18h .chh{background:#A1BDEB}table.cl17h,table.cl18h{background:#E8E8E8;margin-top:1em}
.cd2 th,.cd2 td.cmi,.cd2 td.cbo{border-width:1px}.cd3 th,.cd3 td.cmi,.cd3 td.cbo{border-width:2px}.cd4 th,.cd4 td.cmi,.cd4 td.cbo{border-width:3px}.cd5 th,.cd5 td.cmi,.cd5 td.cbo{border-width:4px}.cg6 th,.cg6 td.cmi,.cg6 td.cbo{border-color:#8FBC8F}.cg7 th,.cg7 td.cmi,.cg7 td.cbo{border-color:olive}.cg8 th,.cg8 td.cmi,.cg8 td.cbo{border-color:#4169E1}.cg9 th,.cg9 td.cmi,.cg9 td.cbo{border-color:navy}.cg10 th,.cg10 td.cmi,.cg10 td.cbo{border-color:purple}.cg11 th,.cg11 td.cmi,.cg11 td.cbo{border-color:#C71585}.cg12 th,.cg12 td.cmi,.cg12 td.cbo{border-color:#4B0082}.cg13 th,.cg13 td.cmi,.cg13 td.cbo{border-color:#CD5C5C}.cg14 th,.cg14 td.cmi,.cg14 td.cbo{border-color:#40E0D0}.cg15 th,.cg15 td.cmi,.cg15 td.cbo{border-color:#556B2F}.cg16 th,.cg16 td.cmi,.cg16 td.cbo{border-color:#A52A2A}.cg17 th,.cg17 td.cmi,.cg17 td.cbo{border-color:#FFd700}.ci4 .ca3 .cv{border-left-style:solid;border-right-style:solid}.ci6 .ca td{border-right-style:solid;border-bottom-style:solid}.ci7 .ca td{border-left-style:none;border-right-style:solid;border-bottom-style:solid}.ci8 table.ca{border-collapse:collapse}.ci9 table.ca{border-collapse:separate;border-spacing:expression(cellSpacing=2)}.ci10 table.ca{border-collapse:separate;border-spacing:expression(cellSpacing=3)}.ci11 table.ca{border-collapse:separate;border-spacing:expression(cellSpacing=4)}.cu6 .ca td,.cu6 .cbp div{border-color:#fff}.cu7 .ca td,.cu7 .cbp div{border-color:#789}.cu8 .ca td,.cu8 .cbp div{border-color:#8B4513}.cu9 .ca td,.cu9 .cbp div{border-color:#5F9EA0}.cu10 .ca td,.cu10 .cbp div{border-color:#A9A9A9}.cu11 .ca td,.cu11 .cbp div{border-color:#BC8F8F}.cu12 .ca td,.cu12 .cbp div{border-color:#A0522D}.cu13 .ca td,.cu13 .cbp div{border-color:#008B8B}.cu14 .ca td,.cu14 .cbp div{border-color:#6B8E23}.cu15 .ca td,.cu15 .cbp div{border-color:#3CB371}.cj1 .ca td,.cj1 .cbp div{border-width:.02em}.cj2 .ca td,.cj2 .cbp div{border-width:.1em}.cj3 .ca td,.cj3 .cbp div{border-width:.2em}.cj4 .ca td,.cj4 .cbp div{border-width:.3em}.cj5 .ca td,.cj5 .cbp div{border-width:.4em}.cj6 .ca td,.cj6 .cbp div{border-width:.5em}.cd1 th,.cd1 td.cmi,.cd1 td.cbo,.ci1 .cl td,.ci1 .cw,.ci1 .cbp div,.ci1 .ca2 td,.ci2 .ca2 td,.ci3 .ca2 td,.ci4 .ca2 td,.ci5 .ca2 td{border-style:none}.cg1 th,.cg1 td.cmi,.cg1 td.cbo,.cu1 .ca td,.cu1 .cbp div{border-color:#000}.cg2 th,.cg2 td.cmi,.cg2 td.cbo,.cu2 .ca td,.cu2 .cbp div{border-color:#333}.cg3 th,.cg3 td.cmi,.cg3 td.cbo,.cu3 .ca td,.cu3 .cbp div{border-color:#666}.cg4 th,.cg4 td.cmi,.cg4 td.cbo,.cu4 .ca td,.cu4 .cbp div{border-color:#999}.cg5 th,.cg5 td.cmi,.cg5 td.cbo,.cu5 .ca td,.cu5 .cbp div{border-color:#ccc}.ci2 tr.cl td,.ci5 .cl td,.ci5 .ca3 .cv,.ci5 .ca3 .cn{border-bottom-style:solid}.ci2 .cbp div,.ci2 table.ca3,.ci3 table.ca3,.ci4 .cbp div,.ci4 table.ca3,.ci5 .cbp div,.ci5 table.ca3,.ci7 .cl td,.ci7 .cbp div{border-top-style:solid}.ci3 tr.cl td,.ci4 tr.cl td{border-bottom-style:solid;border-top-style:solid}.ci5 .cw,.ci5 .ca3 .cv{border-right-style:solid}.ci6 tr.cb td,.ci7 .ca tr.cb td{border-bottom-style:none}.ci6 td.cr,.ci7 .ca td.cr{border-right-style:none}.ci6 .ca3 td,.ci7 .ca3 td,.ci8 .ca3 td{border-style:solid none none}.ci8 .ca1 td,.ci8 .ca2 td,.ci9 table.ca td,.ci10 table.ca td,.ci11 table.ca td{border-style:solid}
.brown { background: #B59C63; }
<?php foreach ( $c['colors'] as $key => $color ) { ?>
.<?php echo $color[0]; ?> { background: #<?php echo $color[1]; ?>; }
<?php } ?>
.cr { font-weight: bold; }
.cl { font-weight: bold; font-size: larger; }
</style>
<script type="text/javascript"><?php echo $jquery; ?></script>
<script type="text/javascript">
var page_self = "<?php echo $_SERVER['PHP_SELF']; ?>";
var colors = Array();
var color_codes = Array();
<?php foreach ( $c['colors'] as $k => $col ) { ?>
colors[<?php echo $k; ?>] = "<?php echo $col[0]; ?>";
color_codes[<?php echo $k; ?>] = "<?php echo $col[1]; ?>";
<?php } ?>
$(function() {
$('#layout-center').append("<a onclick=\"loadEdit(); $(this).html(''); $(this).attr('onclick', '');\" style=\"color: #283939; font-size: x-small\">edit</a>");
});
function loadEdit()
{
$('#layout-center').append('<div id="login_form"><p>Enter password:</p><input type="password" name="pass" class="pass" /><br /><input type="button" value="Continue" onclick="loginCal()" /></div>');
$('.pass').focus();
}
function loginCal()
{
$.getScript(page_self+'?data=md5', function() {
var param = $.md5( $('#login_form input.pass').val() );
$.getScript(page_self+'?data=script&pass='+param, function() { editCal(); });
});
}
</script>
</head>
<body>
<div id="layout-page">
<div id="layout-center" style="text-align: left">
<br />
<!-- BEGIN CALENDAR -->
<table cellspacing="0" cellpadding="4" border="0" align="center" class="ct1 cl2 cp4 cc10 cd1 cf3 ci8 cu3 cj1" id="mct1">
<tbody>
<tr>
<th>
January
</th>
<td class="cz"/>
<th>
February
</th>
<td class="cz"/>
<th>
March
</th>
</tr>
<tr>
<td valign="top" align="center" class="cbm cba cbo">
<table cellspacing="0" cellpadding="2" border="0" class="ca ca1">
<tbody>
<tr class="cl">
<td class="brown">Mo</td>
<td class="brown">Tu</td>
<td class="brown">We</td>
<td class="brown">Th</td>
<td class="brown">Fr</td>
<td class="brown">Sa</td>
<td class="cr brown">Su</td>
</tr>
<tr>
<td class="brown"></td>
<td class="brown"></td>
<td class="brown"></td>
<td class="brown"></td>
<td class="<?php echo $c['day_0_1']; ?>">1</td>
<td class="<?php echo $c['day_0_2']; ?>">2</td>
<td class="cr <?php echo $c['day_0_3']; ?>">3</td>
</tr>
<tr>
<td class="<?php echo $c['day_0_4']; ?>">4</td>
<td class="<?php echo $c['day_0_5']; ?>">5</td>
<td class="<?php echo $c['day_0_6']; ?>">6</td>
<td class="<?php echo $c['day_0_7']; ?>">7</td>
<td class="<?php echo $c['day_0_8']; ?>">8</td>
<td class="<?php echo $c['day_0_9']; ?>">9</td>
<td class="cr <?php echo $c['day_0_10']; ?>">10</td>
</tr>
<tr>
<td class="<?php echo $c['day_0_11']; ?>">11</td>
<td class="<?php echo $c['day_0_12']; ?>">12</td>
<td class="<?php echo $c['day_0_13']; ?>">13</td>
<td class="<?php echo $c['day_0_14']; ?>">14</td>
<td class="<?php echo $c['day_0_15']; ?>">15</td>
<td class="<?php echo $c['day_0_16']; ?>">16</td>
<td class="cr <?php echo $c['day_0_17']; ?>">17</td>
</tr>
<tr>
<td class="<?php echo $c['day_0_18']; ?>">18</td>
<td class="<?php echo $c['day_0_19']; ?>">19</td>
<td class="<?php echo $c['day_0_20']; ?>">20</td>
<td class="<?php echo $c['day_0_21']; ?>">21</td>
<td class="<?php echo $c['day_0_22']; ?>">22</td>
<td class="<?php echo $c['day_0_23']; ?>">23</td>
<td class="cr <?php echo $c['day_0_24']; ?>">24</td>
</tr>
<tr class="cb">
<td class="<?php echo $c['day_0_25']; ?>">25</td>
<td class="<?php echo $c['day_0_26']; ?>">26</td>
<td class="<?php echo $c['day_0_27']; ?>">27</td>
<td class="<?php echo $c['day_0_28']; ?>">28</td>
<td class="<?php echo $c['day_0_29']; ?>">29</td>
<td class="<?php echo $c['day_0_30']; ?>">30</td>
<td class="cr <?php echo $c['day_0_31']; ?>">31</td>
</tr>
</tbody>
</table>
</td>
<td class="cz"/>
<td valign="top" align="center" class="cbm cba cbo">
<table cellspacing="0" cellpadding="2" border="0" class="ca ca1">
<tbody>
<tr class="cl">
<td class="brown">Mo</td>
<td class="brown">Tu</td>
<td class="brown">We</td>
<td class="brown">Th</td>
<td class="brown">Fr</td>
<td class="brown">Sa</td>
<td class="cr brown">Su</td>
</tr>
<tr>
<td class="<?php echo $c['day_1_1']; ?>">1</td>
<td class="<?php echo $c['day_1_2']; ?>">2</td>
<td class="<?php echo $c['day_1_3']; ?>">3</td>
<td class="<?php echo $c['day_1_4']; ?>">4</td>
<td class="<?php echo $c['day_1_5']; ?>">5</td>
<td class="<?php echo $c['day_1_6']; ?>">6</td>
<td class="cr <?php echo $c['day_1_7']; ?>">7</td>
</tr>
<tr>
<td class="<?php echo $c['day_1_8']; ?>">8</td>
<td class="<?php echo $c['day_1_9']; ?>">9</td>
<td class="<?php echo $c['day_1_10']; ?>">10</td>
<td class="<?php echo $c['day_1_11']; ?>">11</td>
<td class="<?php echo $c['day_1_12']; ?>">12</td>
<td class="<?php echo $c['day_1_13']; ?>">13</td>
<td class="cr <?php echo $c['day_1_14']; ?>">14</td>
</tr>
<tr>
<td class="<?php echo $c['day_1_15']; ?>">15</td>
<td class="<?php echo $c['day_1_16']; ?>">16</td>
<td class="<?php echo $c['day_1_17']; ?>">17</td>
<td class="<?php echo $c['day_1_18']; ?>">18</td>
<td class="<?php echo $c['day_1_19']; ?>">19</td>
<td class="<?php echo $c['day_1_20']; ?>">20</td>
<td class="cr <?php echo $c['day_1_21']; ?>">21</td>
</tr>
<tr>
<td class="<?php echo $c['day_1_22']; ?>">22</td>
<td class="<?php echo $c['day_1_23']; ?>">23</td>
<td class="<?php echo $c['day_1_24']; ?>">24</td>
<td class="<?php echo $c['day_1_25']; ?>">25</td>
<td class="<?php echo $c['day_1_26']; ?>">26</td>
<td class="<?php echo $c['day_1_27']; ?>">27</td>
<td class="cr <?php echo $c['day_1_28']; ?>">28</td>
</tr>
<tr class="cb">
<td class="brown"></td>
<td class="brown"></td>
<td class="brown"></td>
<td class="brown"></td>
<td class="brown"></td>
<td class="brown"></td>
<td class="cr brown"></td>
</tr>
</tbody>
</table>
</td>
<td class="cz"/>
<td valign="top" align="center" class="cbm cba cbo">
<table cellspacing="0" cellpadding="2" border="0" class="ca ca1">
<tbody>
<tr class="cl">
<td class="brown">Mo</td>
<td class="brown">Tu</td>
<td class="brown">We</td>
<td class="brown">Th</td>
<td class="brown">Fr</td>
<td class="brown">Sa</td>
<td class="cr brown">Su</td>
</tr>
<tr>
<td class="<?php echo $c['day_2_1']; ?>">1</td>
<td class="<?php echo $c['day_2_2']; ?>">2</td>
<td class="<?php echo $c['day_2_3']; ?>">3</td>
<td class="<?php echo $c['day_2_4']; ?>">4</td>
<td class="<?php echo $c['day_2_5']; ?>">5</td>
<td class="<?php echo $c['day_2_6']; ?>">6</td>
<td class="cr <?php echo $c['day_2_7']; ?>">7</td>
</tr>
<tr>
<td class="<?php echo $c['day_2_8']; ?>">8</td>
<td class="<?php echo $c['day_2_9']; ?>">9</td>
<td class="<?php echo $c['day_2_10']; ?>">10</td>
<td class="<?php echo $c['day_2_11']; ?>">11</td>
<td class="<?php echo $c['day_2_12']; ?>">12</td>
<td class="<?php echo $c['day_2_13']; ?>">13</td>
<td class="cr <?php echo $c['day_2_14']; ?>">14</td>
</tr>
<tr>
<td class="<?php echo $c['day_2_15']; ?>">15</td>
<td class="<?php echo $c['day_2_16']; ?>">16</td>
<td class="<?php echo $c['day_2_17']; ?>">17</td>
<td class="<?php echo $c['day_2_18']; ?>">18</td>
<td class="<?php echo $c['day_2_19']; ?>">19</td>
<td class="<?php echo $c['day_2_20']; ?>">20</td>
<td class="cr <?php echo $c['day_2_21']; ?>">21</td>
</tr>
<tr>
<td class="<?php echo $c['day_2_22']; ?>">22</td>
<td class="<?php echo $c['day_2_23']; ?>">23</td>
<td class="<?php echo $c['day_2_24']; ?>">24</td>
<td class="<?php echo $c['day_2_25']; ?>">25</td>
<td class="<?php echo $c['day_2_26']; ?>">26</td>
<td class="<?php echo $c['day_2_27']; ?>">27</td>
<td class="cr <?php echo $c['day_2_28']; ?>">28</td>
</tr>
<tr class="cb">
<td class="<?php echo $c['day_2_29']; ?>">29</td>
<td class="<?php echo $c['day_2_30']; ?>">30</td>
<td class="<?php echo $c['day_2_31']; ?>">31</td>
<td class="brown"></td>
<td class="brown"></td>
<td class="brown"></td>
<td class="cr brown"></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<!-- END CALENDAR -->
</div>
</div>
</body>
</html>