]> git.mxchange.org Git - friendica.git/blob - view/theme/diabook/style.php
Vier: The line-height seems to make problems with windows
[friendica.git] / view / theme / diabook / style.php
1 <?php
2         $line_height=false;
3         $diabook_font_size=false;
4         $resolution=false;
5         $color=false;
6         $site_line_height = get_config("diabook","line_height");
7         $site_diabook_font_size = get_config("diabook", "font_size" );
8         $site_resolution = get_config("diabook", "resolution" );
9         $site_color = get_config("diabook", "color" );
10         
11         
12         if (local_user()) {
13                 $line_height = get_pconfig(local_user(), "diabook","line_height");
14                 $diabook_font_size = get_pconfig(local_user(), "diabook", "font_size");
15                 $resolution = get_pconfig(local_user(), "diabook", "resolution");
16                 $color = get_pconfig(local_user(), "diabook", "color");
17         }
18         
19         if ($line_height===false) $line_height=$site_line_height;
20         if ($line_height===false) $line_height="1.3";
21         if ($diabook_font_size===false) $diabook_font_size=$site_diabook_font_size;
22         if ($diabook_font_size===false) $diabook_font_size="13";
23         if ($resolution===false) $resolution=$site_resolution;
24         if ($resolution===false) $resolution="normal";
25         if ($color===false) $color=$site_color;
26         if ($color===false) $color="diabook";
27         
28         if($color == "diabook") {
29         if($resolution == "normal") {   
30         if (file_exists("$THEMEPATH/style.css")){
31                 echo file_get_contents("$THEMEPATH/style.css");
32         }
33
34         if($diabook_font_size == "16"){
35                 echo "
36                         .wall-item-container .wall-item-content {
37                                         font-size: 16px;
38                                         }
39                                         
40                         .wall-item-photo-container .wall-item-content {
41                                         font-size: 16px;
42                                         }
43                 ";  
44    }
45    if($diabook_font_size == "15"){
46                 echo "
47                         .wall-item-container .wall-item-content {
48                                         font-size: 15px;
49                                         }
50                                         
51                         .wall-item-photo-container .wall-item-content {
52                                         font-size: 15px;
53                                         }
54                 ";
55         }       
56         if($diabook_font_size == "14"){
57                 echo "
58                         .wall-item-container .wall-item-content {
59                                         font-size: 14px;
60                                         }
61                                         
62                         .wall-item-photo-container .wall-item-content {
63                                         font-size: 14px;
64                                         }
65                 ";
66         }
67         if($diabook_font_size == "13.5"){
68                 echo "
69                         .wall-item-container .wall-item-content {
70                                         font-size: 13.5px;
71                                         }
72                                         
73                         .wall-item-photo-container .wall-item-content {
74                                         font-size: 13.5px;
75                                         }
76                 ";
77         }
78         if($diabook_font_size == "13"){
79                 echo "
80                         .wall-item-container .wall-item-content {
81                                         font-size: 13px;
82                                         }
83                                         
84                         .wall-item-photo-container .wall-item-content {
85                                         font-size: 13px;
86                                         }
87                 ";
88         }
89         if($diabook_font_size == "12.5"){
90                 echo "
91                         .wall-item-container .wall-item-content {
92                                         font-size: 12.5px;
93                                         }
94                                         
95                         .wall-item-photo-container .wall-item-content {
96                                         font-size: 12.5px;
97                                         }
98                 ";
99         }
100         if($diabook_font_size == "12"){
101                 echo "
102                         .wall-item-container .wall-item-content {
103                                         font-size: 12px;
104                                         }
105                                         
106                         .wall-item-photo-container .wall-item-content {
107                                         font-size: 12px;
108                                         }
109                 ";
110         }
111         if($line_height == "1.5"){
112                 echo "
113                         .wall-item-container .wall-item-content {
114                                         line-height: 1.5;
115                                         }
116                                         
117                         .wall-item-photo-container .wall-item-content {
118                                         line-height: 1.5;
119                                         }
120                 ";
121         }       
122         if($line_height == "1.4"){
123                 echo "
124                         .wall-item-container .wall-item-content {
125                                         line-height: 1.4;
126                                         }
127                                         
128                         .wall-item-photo-container .wall-item-content {
129                                         line-height: 1.4;
130                                         }
131                 ";
132         }
133         if($line_height == "1.3"){
134                 echo "
135                         .wall-item-container .wall-item-content {
136                                         line-height: 1.3;
137                                         }
138                                         
139                         .wall-item-photo-container .wall-item-content {
140                                         line-height: 1.3;
141                                         }
142                 ";
143         }
144         if($line_height == "1.2"){
145                 echo "
146                         .wall-item-container .wall-item-content {
147                                         line-height: 1.2;
148                                         }
149                                         
150                         .wall-item-photo-container .wall-item-content {
151                                         line-height: 1.2;
152                                         }
153                 ";
154         }
155         if($line_height == "1.1"){
156                 echo "
157                         .wall-item-container .wall-item-content {
158                                         line-height: 1.1;
159                                         }
160                                         
161                         .wall-item-photo-container .wall-item-content {
162                                         line-height: 1.1;
163                                         }
164                 ";
165         }
166         }
167         
168         if($resolution == "wide") {     
169         if (file_exists("$THEMEPATH/style-wide.css")){
170                 echo file_get_contents("$THEMEPATH/style-wide.css");
171         }
172         if($diabook_font_size == "16"){
173                 echo "
174                         .wall-item-container .wall-item-content {
175                                         font-size: 16px;
176                                         }
177                                         
178                         .wall-item-photo-container .wall-item-content {
179                                         font-size: 16px;
180                                         }
181                 ";  
182    }
183    
184         if($diabook_font_size == "15"){
185                 echo "
186                         .wall-item-container .wall-item-content {
187                                         font-size: 15px;
188                                         }
189                                         
190                         .wall-item-photo-container .wall-item-content {
191                                         font-size: 15px;
192                                         }
193                 ";
194         }
195         if($diabook_font_size == "14"){
196                 echo "
197                         .wall-item-container .wall-item-content {
198                                         font-size: 14px;
199                                         }
200                                         
201                         .wall-item-photo-container .wall-item-content {
202                                         font-size: 14px;
203                                         }
204                 ";
205         }
206         if($diabook_font_size == "13.5"){
207                 echo "
208                         .wall-item-container .wall-item-content {
209                                         font-size: 13.5px;
210                                         }
211                                         
212                         .wall-item-photo-container .wall-item-content {
213                                         font-size: 13.5px;
214                                         }
215                 ";
216         }
217         if($diabook_font_size == "13"){
218                 echo "
219                         .wall-item-container .wall-item-content {
220                                         font-size: 13px;
221                                         }
222                                         
223                         .wall-item-photo-container .wall-item-content {
224                                         font-size: 13px;
225                                         }
226                 ";
227         }
228         if($diabook_font_size == "12.5"){
229                 echo "
230                         .wall-item-container .wall-item-content {
231                                         font-size: 12.5px;
232                                         }
233                                         
234                         .wall-item-photo-container .wall-item-content {
235                                         font-size: 12.5px;
236                                         }
237                 ";
238         }
239         if($diabook_font_size == "12"){
240                 echo "
241                         .wall-item-container .wall-item-content {
242                                         font-size: 12px;
243                                         }
244                                         
245                         .wall-item-photo-container .wall-item-content {
246                                         font-size: 12px;
247                                         }
248                 ";
249         }
250         if($line_height == "1.5"){
251                 echo "
252                         .wall-item-container .wall-item-content {
253                                         line-height: 1.5;
254                                         }
255                                         
256                         .wall-item-photo-container .wall-item-content {
257                                         line-height: 1.5;
258                                         }
259                 ";
260         }       
261         if($line_height == "1.4"){
262                 echo "
263                         .wall-item-container .wall-item-content {
264                                         line-height: 1.4;
265                                         }
266                                         
267                         .wall-item-photo-container .wall-item-content {
268                                         line-height: 1.4;
269                                         }
270                 ";
271         }
272         if($line_height == "1.3"){
273                 echo "
274                         .wall-item-container .wall-item-content {
275                                         line-height: 1.3;
276                                         }
277                                         
278                         .wall-item-photo-container .wall-item-content {
279                                         line-height: 1.3;
280                                         }
281                 ";
282         }
283         if($line_height == "1.2"){
284                 echo "
285                         .wall-item-container .wall-item-content {
286                                         line-height: 1.2;
287                                         }
288                                         
289                         .wall-item-photo-container .wall-item-content {
290                                         line-height: 1.2;
291                                         }
292                 ";
293         }
294         if($line_height == "1.1"){
295                 echo "
296                         .wall-item-container .wall-item-content {
297                                         line-height: 1.1;
298                                         }
299                                         
300                         .wall-item-photo-container .wall-item-content {
301                                         line-height: 1.1;
302                                         }
303                 ";
304         }
305         }
306         }
307         
308         if($color == "aerith") {
309         if($resolution == "normal") {   
310         if (file_exists("$THEMEPATH/diabook-aerith/style.css")){
311                 echo file_get_contents("$THEMEPATH/diabook-aerith/style.css");
312         }
313         if($diabook_font_size == "16"){
314                 echo "
315                         .wall-item-container .wall-item-content {
316                                         font-size: 16px;
317                                         }
318                                         
319                         .wall-item-photo-container .wall-item-content {
320                                         font-size: 16px;
321                                         }
322                 ";  
323    }
324    if($diabook_font_size == "15"){
325                 echo "
326                         .wall-item-container .wall-item-content {
327                                         font-size: 15px;
328                                         }
329                                         
330                         .wall-item-photo-container .wall-item-content {
331                                         font-size: 15px;
332                                         }
333                 ";
334         }       
335         if($diabook_font_size == "14"){
336                 echo "
337                         .wall-item-container .wall-item-content {
338                                         font-size: 14px;
339                                         }
340                                         
341                         .wall-item-photo-container .wall-item-content {
342                                         font-size: 14px;
343                                         }
344                 ";
345         }
346         if($diabook_font_size == "13.5"){
347                 echo "
348                         .wall-item-container .wall-item-content {
349                                         font-size: 13.5px;
350                                         }
351                                         
352                         .wall-item-photo-container .wall-item-content {
353                                         font-size: 13.5px;
354                                         }
355                 ";
356         }
357         if($diabook_font_size == "13"){
358                 echo "
359                         .wall-item-container .wall-item-content {
360                                         font-size: 13px;
361                                         }
362                                         
363                         .wall-item-photo-container .wall-item-content {
364                                         font-size: 13px;
365                                         }
366                 ";
367         }
368         if($diabook_font_size == "12.5"){
369                 echo "
370                         .wall-item-container .wall-item-content {
371                                         font-size: 12.5px;
372                                         }
373                                         
374                         .wall-item-photo-container .wall-item-content {
375                                         font-size: 12.5px;
376                                         }
377                 ";
378         }
379         if($diabook_font_size == "12"){
380                 echo "
381                         .wall-item-container .wall-item-content {
382                                         font-size: 12px;
383                                         }
384                                         
385                         .wall-item-photo-container .wall-item-content {
386                                         font-size: 12px;
387                                         }
388                 ";
389         }
390         if($line_height == "1.5"){
391                 echo "
392                         .wall-item-container .wall-item-content {
393                                         line-height: 1.5;
394                                         }
395                                         
396                         .wall-item-photo-container .wall-item-content {
397                                         line-height: 1.5;
398                                         }
399                 ";
400         }       
401         if($line_height == "1.4"){
402                 echo "
403                         .wall-item-container .wall-item-content {
404                                         line-height: 1.4;
405                                         }
406                                         
407                         .wall-item-photo-container .wall-item-content {
408                                         line-height: 1.4;
409                                         }
410                 ";
411         }
412         if($line_height == "1.3"){
413                 echo "
414                         .wall-item-container .wall-item-content {
415                                         line-height: 1.3;
416                                         }
417                                         
418                         .wall-item-photo-container .wall-item-content {
419                                         line-height: 1.3;
420                                         }
421                 ";
422         }
423         if($line_height == "1.2"){
424                 echo "
425                         .wall-item-container .wall-item-content {
426                                         line-height: 1.2;
427                                         }
428                                         
429                         .wall-item-photo-container .wall-item-content {
430                                         line-height: 1.2;
431                                         }
432                 ";
433         }
434         if($line_height == "1.1"){
435                 echo "
436                         .wall-item-container .wall-item-content {
437                                         line-height: 1.1;
438                                         }
439                                         
440                         .wall-item-photo-container .wall-item-content {
441                                         line-height: 1.1;
442                                         }
443                 ";
444         }
445         }
446         
447         if($resolution == "wide") {     
448         if (file_exists("$THEMEPATH/diabook-aerith/style-wide.css")){
449                 echo file_get_contents("$THEMEPATH/diabook-aerith/style-wide.css");
450         }
451         if($diabook_font_size == "16"){
452                 echo "
453                         .wall-item-container .wall-item-content {
454                                         font-size: 16px;
455                                         }
456                                         
457                         .wall-item-photo-container .wall-item-content {
458                                         font-size: 16px;
459                                         }
460                 ";  
461    }
462         if($diabook_font_size == "15"){
463                 echo "
464                         .wall-item-container .wall-item-content {
465                                         font-size: 15px;
466                                         }
467                                         
468                         .wall-item-photo-container .wall-item-content {
469                                         font-size: 15px;
470                                         }
471                 ";
472         }
473         if($diabook_font_size == "14"){
474                 echo "
475                         .wall-item-container .wall-item-content {
476                                         font-size: 14px;
477                                         }
478                                         
479                         .wall-item-photo-container .wall-item-content {
480                                         font-size: 14px;
481                                         }
482                 ";
483         }
484         if($diabook_font_size == "13.5"){
485                 echo "
486                         .wall-item-container .wall-item-content {
487                                         font-size: 13.5px;
488                                         }
489                                         
490                         .wall-item-photo-container .wall-item-content {
491                                         font-size: 13.5px;
492                                         }
493                 ";
494         }
495         if($diabook_font_size == "13"){
496                 echo "
497                         .wall-item-container .wall-item-content {
498                                         font-size: 13px;
499                                         }
500                                         
501                         .wall-item-photo-container .wall-item-content {
502                                         font-size: 13px;
503                                         }
504                 ";
505         }
506         if($diabook_font_size == "12.5"){
507                 echo "
508                         .wall-item-container .wall-item-content {
509                                         font-size: 12.5px;
510                                         }
511                                         
512                         .wall-item-photo-container .wall-item-content {
513                                         font-size: 12.5px;
514                                         }
515                 ";
516         }
517         if($diabook_font_size == "12"){
518                 echo "
519                         .wall-item-container .wall-item-content {
520                                         font-size: 12px;
521                                         }
522                                         
523                         .wall-item-photo-container .wall-item-content {
524                                         font-size: 12px;
525                                         }
526                 ";
527         }
528         if($line_height == "1.5"){
529                 echo "
530                         .wall-item-container .wall-item-content {
531                                         line-height: 1.5;
532                                         }
533                                         
534                         .wall-item-photo-container .wall-item-content {
535                                         line-height: 1.5;
536                                         }
537                 ";
538         }       
539         if($line_height == "1.4"){
540                 echo "
541                         .wall-item-container .wall-item-content {
542                                         line-height: 1.4;
543                                         }
544                                         
545                         .wall-item-photo-container .wall-item-content {
546                                         line-height: 1.4;
547                                         }
548                 ";
549         }
550         if($line_height == "1.3"){
551                 echo "
552                         .wall-item-container .wall-item-content {
553                                         line-height: 1.3;
554                                         }
555                                         
556                         .wall-item-photo-container .wall-item-content {
557                                         line-height: 1.3;
558                                         }
559                 ";
560         }
561         if($line_height == "1.2"){
562                 echo "
563                         .wall-item-container .wall-item-content {
564                                         line-height: 1.2;
565                                         }
566                                         
567                         .wall-item-photo-container .wall-item-content {
568                                         line-height: 1.2;
569                                         }
570                 ";
571         }
572         if($line_height == "1.1"){
573                 echo "
574                         .wall-item-container .wall-item-content {
575                                         line-height: 1.1;
576                                         }
577                                         
578                         .wall-item-photo-container .wall-item-content {
579                                         line-height: 1.1;
580                                         }
581                 ";
582         }
583         }
584         }
585         
586         if($color== "blue") {
587         if($resolution == "normal") {   
588         if (file_exists("$THEMEPATH/diabook-blue/style.css")){
589                 echo file_get_contents("$THEMEPATH/diabook-blue/style.css");
590         }
591         if($diabook_font_size == "16"){
592                 echo "
593                         .wall-item-container .wall-item-content {
594                                         font-size: 16px;
595                                         }
596                                         
597                         .wall-item-photo-container .wall-item-content {
598                                         font-size: 16px;
599                                         }
600                 ";  
601    }
602    if($diabook_font_size == "15"){
603                 echo "
604                         .wall-item-container .wall-item-content {
605                                         font-size: 15px;
606                                         }
607                                         
608                         .wall-item-photo-container .wall-item-content {
609                                         font-size: 15px;
610                                         }
611                 ";
612         }       
613         if($diabook_font_size == "14"){
614                 echo "
615                         .wall-item-container .wall-item-content {
616                                         font-size: 14px;
617                                         }
618                                         
619                         .wall-item-photo-container .wall-item-content {
620                                         font-size: 14px;
621                                         }
622                 ";
623         }
624         if($diabook_font_size == "13.5"){
625                 echo "
626                         .wall-item-container .wall-item-content {
627                                         font-size: 13.5px;
628                                         }
629                                         
630                         .wall-item-photo-container .wall-item-content {
631                                         font-size: 13.5px;
632                                         }
633                 ";
634         }
635         if($diabook_font_size == "13"){
636                 echo "
637                         .wall-item-container .wall-item-content {
638                                         font-size: 13px;
639                                         }
640                                         
641                         .wall-item-photo-container .wall-item-content {
642                                         font-size: 13px;
643                                         }
644                 ";
645         }
646         if($diabook_font_size == "12.5"){
647                 echo "
648                         .wall-item-container .wall-item-content {
649                                         font-size: 12.5px;
650                                         }
651                                         
652                         .wall-item-photo-container .wall-item-content {
653                                         font-size: 12.5px;
654                                         }
655                 ";
656         }
657         if($diabook_font_size == "12"){
658                 echo "
659                         .wall-item-container .wall-item-content {
660                                         font-size: 12px;
661                                         }
662                                         
663                         .wall-item-photo-container .wall-item-content {
664                                         font-size: 12px;
665                                         }
666                 ";
667         }
668         if($line_height == "1.5"){
669                 echo "
670                         .wall-item-container .wall-item-content {
671                                         line-height: 1.5;
672                                         }
673                                         
674                         .wall-item-photo-container .wall-item-content {
675                                         line-height: 1.5;
676                                         }
677                 ";
678         }       
679         if($line_height == "1.4"){
680                 echo "
681                         .wall-item-container .wall-item-content {
682                                         line-height: 1.4;
683                                         }
684                                         
685                         .wall-item-photo-container .wall-item-content {
686                                         line-height: 1.4;
687                                         }
688                 ";
689         }
690         if($line_height == "1.3"){
691                 echo "
692                         .wall-item-container .wall-item-content {
693                                         line-height: 1.3;
694                                         }
695                                         
696                         .wall-item-photo-container .wall-item-content {
697                                         line-height: 1.3;
698                                         }
699                 ";
700         }
701         if($line_height == "1.2"){
702                 echo "
703                         .wall-item-container .wall-item-content {
704                                         line-height: 1.2;
705                                         }
706                                         
707                         .wall-item-photo-container .wall-item-content {
708                                         line-height: 1.2;
709                                         }
710                 ";
711         }
712         if($line_height == "1.1"){
713                 echo "
714                         .wall-item-container .wall-item-content {
715                                         line-height: 1.1;
716                                         }
717                                         
718                         .wall-item-photo-container .wall-item-content {
719                                         line-height: 1.1;
720                                         }
721                 ";
722         }
723         }
724         
725         if($resolution == "wide") {     
726         if (file_exists("$THEMEPATH/diabook-blue/style-wide.css")){
727                 echo file_get_contents("$THEMEPATH/diabook-blue/style-wide.css");
728         }
729         if($diabook_font_size == "16"){
730                 echo "
731                         .wall-item-container .wall-item-content {
732                                         font-size: 16px;
733                                         }
734                                         
735                         .wall-item-photo-container .wall-item-content {
736                                         font-size: 16px;
737                                         }
738                 ";  
739    }
740         if($diabook_font_size == "15"){
741                 echo "
742                         .wall-item-container .wall-item-content {
743                                         font-size: 15px;
744                                         }
745                                         
746                         .wall-item-photo-container .wall-item-content {
747                                         font-size: 15px;
748                                         }
749                 ";
750         }
751         if($diabook_font_size == "14"){
752                 echo "
753                         .wall-item-container .wall-item-content {
754                                         font-size: 14px;
755                                         }
756                                         
757                         .wall-item-photo-container .wall-item-content {
758                                         font-size: 14px;
759                                         }
760                 ";
761         }
762         if($diabook_font_size == "13.5"){
763                 echo "
764                         .wall-item-container .wall-item-content {
765                                         font-size: 13.5px;
766                                         }
767                                         
768                         .wall-item-photo-container .wall-item-content {
769                                         font-size: 13.5px;
770                                         }
771                 ";
772         }
773         if($diabook_font_size == "13"){
774                 echo "
775                         .wall-item-container .wall-item-content {
776                                         font-size: 13px;
777                                         }
778                                         
779                         .wall-item-photo-container .wall-item-content {
780                                         font-size: 13px;
781                                         }
782                 ";
783         }
784         if($diabook_font_size == "12.5"){
785                 echo "
786                         .wall-item-container .wall-item-content {
787                                         font-size: 12.5px;
788                                         }
789                                         
790                         .wall-item-photo-container .wall-item-content {
791                                         font-size: 12.5px;
792                                         }
793                 ";
794         }
795         if($diabook_font_size == "12"){
796                 echo "
797                         .wall-item-container .wall-item-content {
798                                         font-size: 12px;
799                                         }
800                                         
801                         .wall-item-photo-container .wall-item-content {
802                                         font-size: 12px;
803                                         }
804                 ";
805         }
806         if($line_height == "1.5"){
807                 echo "
808                         .wall-item-container .wall-item-content {
809                                         line-height: 1.5;
810                                         }
811                                         
812                         .wall-item-photo-container .wall-item-content {
813                                         line-height: 1.5;
814                                         }
815                 ";
816         }       
817         if($line_height == "1.4"){
818                 echo "
819                         .wall-item-container .wall-item-content {
820                                         line-height: 1.4;
821                                         }
822                                         
823                         .wall-item-photo-container .wall-item-content {
824                                         line-height: 1.4;
825                                         }
826                 ";
827         }
828         if($line_height == "1.3"){
829                 echo "
830                         .wall-item-container .wall-item-content {
831                                         line-height: 1.3;
832                                         }
833                                         
834                         .wall-item-photo-container .wall-item-content {
835                                         line-height: 1.3;
836                                         }
837                 ";
838         }
839         if($line_height == "1.2"){
840                 echo "
841                         .wall-item-container .wall-item-content {
842                                         line-height: 1.2;
843                                         }
844                                         
845                         .wall-item-photo-container .wall-item-content {
846                                         line-height: 1.2;
847                                         }
848                 ";
849         }
850         if($line_height == "1.1"){
851                 echo "
852                         .wall-item-container .wall-item-content {
853                                         line-height: 1.1;
854                                         }
855                                         
856                         .wall-item-photo-container .wall-item-content {
857                                         line-height: 1.1;
858                                         }
859                 ";
860         }
861         }
862         }
863         
864         if($color== "red") {
865         if($resolution == "normal") {   
866         if (file_exists("$THEMEPATH/diabook-red/style.css")){
867                 echo file_get_contents("$THEMEPATH/diabook-red/style.css");
868         }
869         if($diabook_font_size == "16"){
870                 echo "
871                         .wall-item-container .wall-item-content {
872                                         font-size: 16px;
873                                         }
874                                         
875                         .wall-item-photo-container .wall-item-content {
876                                         font-size: 16px;
877                                         }
878                 ";  
879    }
880    if($diabook_font_size == "15"){
881                 echo "
882                         .wall-item-container .wall-item-content {
883                                         font-size: 15px;
884                                         }
885                                         
886                         .wall-item-photo-container .wall-item-content {
887                                         font-size: 15px;
888                                         }
889                 ";
890         }       
891         if($diabook_font_size == "14"){
892                 echo "
893                         .wall-item-container .wall-item-content {
894                                         font-size: 14px;
895                                         }
896                                         
897                         .wall-item-photo-container .wall-item-content {
898                                         font-size: 14px;
899                                         }
900                 ";
901         }
902         if($diabook_font_size == "13.5"){
903                 echo "
904                         .wall-item-container .wall-item-content {
905                                         font-size: 13.5px;
906                                         }
907                                         
908                         .wall-item-photo-container .wall-item-content {
909                                         font-size: 13.5px;
910                                         }
911                 ";
912         }
913         if($diabook_font_size == "13"){
914                 echo "
915                         .wall-item-container .wall-item-content {
916                                         font-size: 13px;
917                                         }
918                                         
919                         .wall-item-photo-container .wall-item-content {
920                                         font-size: 13px;
921                                         }
922                 ";
923         }
924         if($diabook_font_size == "12.5"){
925                 echo "
926                         .wall-item-container .wall-item-content {
927                                         font-size: 12.5px;
928                                         }
929                                         
930                         .wall-item-photo-container .wall-item-content {
931                                         font-size: 12.5px;
932                                         }
933                 ";
934         }
935         if($diabook_font_size == "12"){
936                 echo "
937                         .wall-item-container .wall-item-content {
938                                         font-size: 12px;
939                                         }
940                                         
941                         .wall-item-photo-container .wall-item-content {
942                                         font-size: 12px;
943                                         }
944                 ";
945         }
946         if($line_height == "1.5"){
947                 echo "
948                         .wall-item-container .wall-item-content {
949                                         line-height: 1.5;
950                                         }
951                                         
952                         .wall-item-photo-container .wall-item-content {
953                                         line-height: 1.5;
954                                         }
955                 ";
956         }       
957         if($line_height == "1.4"){
958                 echo "
959                         .wall-item-container .wall-item-content {
960                                         line-height: 1.4;
961                                         }
962                                         
963                         .wall-item-photo-container .wall-item-content {
964                                         line-height: 1.4;
965                                         }
966                 ";
967         }
968         if($line_height == "1.3"){
969                 echo "
970                         .wall-item-container .wall-item-content {
971                                         line-height: 1.3;
972                                         }
973                                         
974                         .wall-item-photo-container .wall-item-content {
975                                         line-height: 1.3;
976                                         }
977                 ";
978         }
979         if($line_height == "1.2"){
980                 echo "
981                         .wall-item-container .wall-item-content {
982                                         line-height: 1.2;
983                                         }
984                                         
985                         .wall-item-photo-container .wall-item-content {
986                                         line-height: 1.2;
987                                         }
988                 ";
989         }
990         if($line_height == "1.1"){
991                 echo "
992                         .wall-item-container .wall-item-content {
993                                         line-height: 1.1;
994                                         }
995                                         
996                         .wall-item-photo-container .wall-item-content {
997                                         line-height: 1.1;
998                                         }
999                 ";
1000         }
1001         }
1002         
1003         if($resolution == "wide") {     
1004         if (file_exists("$THEMEPATH/diabook-red/style-wide.css")){
1005                 echo file_get_contents("$THEMEPATH/diabook-red/style-wide.css");
1006         }
1007         if($diabook_font_size == "16"){
1008                 echo "
1009                         .wall-item-container .wall-item-content {
1010                                         font-size: 16px;
1011                                         }
1012                                         
1013                         .wall-item-photo-container .wall-item-content {
1014                                         font-size: 16px;
1015                                         }
1016                 ";  
1017    }
1018         if($diabook_font_size == "15"){
1019                 echo "
1020                         .wall-item-container .wall-item-content {
1021                                         font-size: 15px;
1022                                         }
1023                                         
1024                         .wall-item-photo-container .wall-item-content {
1025                                         font-size: 15px;
1026                                         }
1027                 ";
1028         }
1029         if($diabook_font_size == "14"){
1030                 echo "
1031                         .wall-item-container .wall-item-content {
1032                                         font-size: 14px;
1033                                         }
1034                                         
1035                         .wall-item-photo-container .wall-item-content {
1036                                         font-size: 14px;
1037                                         }
1038                 ";
1039         }
1040         if($diabook_font_size == "13.5"){
1041                 echo "
1042                         .wall-item-container .wall-item-content {
1043                                         font-size: 13.5px;
1044                                         }
1045                                         
1046                         .wall-item-photo-container .wall-item-content {
1047                                         font-size: 13.5px;
1048                                         }
1049                 ";
1050         }
1051         if($diabook_font_size == "13"){
1052                 echo "
1053                         .wall-item-container .wall-item-content {
1054                                         font-size: 13px;
1055                                         }
1056                                         
1057                         .wall-item-photo-container .wall-item-content {
1058                                         font-size: 13px;
1059                                         }
1060                 ";
1061         }
1062         if($diabook_font_size == "12.5"){
1063                 echo "
1064                         .wall-item-container .wall-item-content {
1065                                         font-size: 12.5px;
1066                                         }
1067                                         
1068                         .wall-item-photo-container .wall-item-content {
1069                                         font-size: 12.5px;
1070                                         }
1071                 ";
1072         }
1073         if($diabook_font_size == "12"){
1074                 echo "
1075                         .wall-item-container .wall-item-content {
1076                                         font-size: 12px;
1077                                         }
1078                                         
1079                         .wall-item-photo-container .wall-item-content {
1080                                         font-size: 12px;
1081                                         }
1082                 ";
1083         }
1084         if($line_height == "1.5"){
1085                 echo "
1086                         .wall-item-container .wall-item-content {
1087                                         line-height: 1.5;
1088                                         }
1089                                         
1090                         .wall-item-photo-container .wall-item-content {
1091                                         line-height: 1.5;
1092                                         }
1093                 ";
1094         }       
1095         if($line_height == "1.4"){
1096                 echo "
1097                         .wall-item-container .wall-item-content {
1098                                         line-height: 1.4;
1099                                         }
1100                                         
1101                         .wall-item-photo-container .wall-item-content {
1102                                         line-height: 1.4;
1103                                         }
1104                 ";
1105         }
1106         if($line_height == "1.3"){
1107                 echo "
1108                         .wall-item-container .wall-item-content {
1109                                         line-height: 1.3;
1110                                         }
1111                                         
1112                         .wall-item-photo-container .wall-item-content {
1113                                         line-height: 1.3;
1114                                         }
1115                 ";
1116         }
1117         if($line_height == "1.2"){
1118                 echo "
1119                         .wall-item-container .wall-item-content {
1120                                         line-height: 1.2;
1121                                         }
1122                                         
1123                         .wall-item-photo-container .wall-item-content {
1124                                         line-height: 1.2;
1125                                         }
1126                 ";
1127         }
1128         if($line_height == "1.1"){
1129                 echo "
1130                         .wall-item-container .wall-item-content {
1131                                         line-height: 1.1;
1132                                         }
1133                                         
1134                         .wall-item-photo-container .wall-item-content {
1135                                         line-height: 1.1;
1136                                         }
1137                 ";
1138         }
1139         }
1140         }
1141         
1142         if($color== "pink") {
1143         if($resolution == "normal") {   
1144         if (file_exists("$THEMEPATH/diabook-pink/style.css")){
1145                 echo file_get_contents("$THEMEPATH/diabook-pink/style.css");
1146         }
1147         if($diabook_font_size == "16"){
1148                 echo "
1149                         .wall-item-container .wall-item-content {
1150                                         font-size: 16px;
1151                                         }
1152                                         
1153                         .wall-item-photo-container .wall-item-content {
1154                                         font-size: 16px;
1155                                         }
1156                 ";  
1157    }
1158    if($diabook_font_size == "15"){
1159                 echo "
1160                         .wall-item-container .wall-item-content {
1161                                         font-size: 15px;
1162                                         }
1163                                         
1164                         .wall-item-photo-container .wall-item-content {
1165                                         font-size: 15px;
1166                                         }
1167                 ";
1168         }       
1169         if($diabook_font_size == "14"){
1170                 echo "
1171                         .wall-item-container .wall-item-content {
1172                                         font-size: 14px;
1173                                         }
1174                                         
1175                         .wall-item-photo-container .wall-item-content {
1176                                         font-size: 14px;
1177                                         }
1178                 ";
1179         }
1180         if($diabook_font_size == "13.5"){
1181                 echo "
1182                         .wall-item-container .wall-item-content {
1183                                         font-size: 13.5px;
1184                                         }
1185                                         
1186                         .wall-item-photo-container .wall-item-content {
1187                                         font-size: 13.5px;
1188                                         }
1189                 ";
1190         }
1191         if($diabook_font_size == "13"){
1192                 echo "
1193                         .wall-item-container .wall-item-content {
1194                                         font-size: 13px;
1195                                         }
1196                                         
1197                         .wall-item-photo-container .wall-item-content {
1198                                         font-size: 13px;
1199                                         }
1200                 ";
1201         }
1202         if($diabook_font_size == "12.5"){
1203                 echo "
1204                         .wall-item-container .wall-item-content {
1205                                         font-size: 12.5px;
1206                                         }
1207                                         
1208                         .wall-item-photo-container .wall-item-content {
1209                                         font-size: 12.5px;
1210                                         }
1211                 ";
1212         }
1213         if($diabook_font_size == "12"){
1214                 echo "
1215                         .wall-item-container .wall-item-content {
1216                                         font-size: 12px;
1217                                         }
1218                                         
1219                         .wall-item-photo-container .wall-item-content {
1220                                         font-size: 12px;
1221                                         }
1222                 ";
1223         }
1224         if($line_height == "1.5"){
1225                 echo "
1226                         .wall-item-container .wall-item-content {
1227                                         line-height: 1.5;
1228                                         }
1229                                         
1230                         .wall-item-photo-container .wall-item-content {
1231                                         line-height: 1.5;
1232                                         }
1233                 ";
1234         }       
1235         if($line_height == "1.4"){
1236                 echo "
1237                         .wall-item-container .wall-item-content {
1238                                         line-height: 1.4;
1239                                         }
1240                                         
1241                         .wall-item-photo-container .wall-item-content {
1242                                         line-height: 1.4;
1243                                         }
1244                 ";
1245         }
1246         if($line_height == "1.3"){
1247                 echo "
1248                         .wall-item-container .wall-item-content {
1249                                         line-height: 1.3;
1250                                         }
1251                                         
1252                         .wall-item-photo-container .wall-item-content {
1253                                         line-height: 1.3;
1254                                         }
1255                 ";
1256         }
1257         if($line_height == "1.2"){
1258                 echo "
1259                         .wall-item-container .wall-item-content {
1260                                         line-height: 1.2;
1261                                         }
1262                                         
1263                         .wall-item-photo-container .wall-item-content {
1264                                         line-height: 1.2;
1265                                         }
1266                 ";
1267         }
1268         if($line_height == "1.1"){
1269                 echo "
1270                         .wall-item-container .wall-item-content {
1271                                         line-height: 1.1;
1272                                         }
1273                                         
1274                         .wall-item-photo-container .wall-item-content {
1275                                         line-height: 1.1;
1276                                         }
1277                 ";
1278         }
1279         }
1280         
1281         if($resolution == "wide") {     
1282         if (file_exists("$THEMEPATH/diabook-pink/style-wide.css")){
1283                 echo file_get_contents("$THEMEPATH/diabook-pink/style-wide.css");
1284         }
1285         if($diabook_font_size == "16"){
1286                 echo "
1287                         .wall-item-container .wall-item-content {
1288                                         font-size: 16px;
1289                                         }
1290                                         
1291                         .wall-item-photo-container .wall-item-content {
1292                                         font-size: 16px;
1293                                         }
1294                 ";  
1295    }
1296         if($diabook_font_size == "15"){
1297                 echo "
1298                         .wall-item-container .wall-item-content {
1299                                         font-size: 15px;
1300                                         }
1301                                         
1302                         .wall-item-photo-container .wall-item-content {
1303                                         font-size: 15px;
1304                                         }
1305                 ";
1306         }
1307         if($diabook_font_size == "14"){
1308                 echo "
1309                         .wall-item-container .wall-item-content {
1310                                         font-size: 14px;
1311                                         }
1312                                         
1313                         .wall-item-photo-container .wall-item-content {
1314                                         font-size: 14px;
1315                                         }
1316                 ";
1317         }
1318         if($diabook_font_size == "13.5"){
1319                 echo "
1320                         .wall-item-container .wall-item-content {
1321                                         font-size: 13.5px;
1322                                         }
1323                                         
1324                         .wall-item-photo-container .wall-item-content {
1325                                         font-size: 13.5px;
1326                                         }
1327                 ";
1328         }
1329         if($diabook_font_size == "13"){
1330                 echo "
1331                         .wall-item-container .wall-item-content {
1332                                         font-size: 13px;
1333                                         }
1334                                         
1335                         .wall-item-photo-container .wall-item-content {
1336                                         font-size: 13px;
1337                                         }
1338                 ";
1339         }
1340         if($diabook_font_size == "12.5"){
1341                 echo "
1342                         .wall-item-container .wall-item-content {
1343                                         font-size: 12.5px;
1344                                         }
1345                                         
1346                         .wall-item-photo-container .wall-item-content {
1347                                         font-size: 12.5px;
1348                                         }
1349                 ";
1350         }
1351         if($diabook_font_size == "12"){
1352                 echo "
1353                         .wall-item-container .wall-item-content {
1354                                         font-size: 12px;
1355                                         }
1356                                         
1357                         .wall-item-photo-container .wall-item-content {
1358                                         font-size: 12px;
1359                                         }
1360                 ";
1361         }
1362         if($line_height == "1.5"){
1363                 echo "
1364                         .wall-item-container .wall-item-content {
1365                                         line-height: 1.5;
1366                                         }
1367                                         
1368                         .wall-item-photo-container .wall-item-content {
1369                                         line-height: 1.5;
1370                                         }
1371                 ";
1372         }       
1373         if($line_height == "1.4"){
1374                 echo "
1375                         .wall-item-container .wall-item-content {
1376                                         line-height: 1.4;
1377                                         }
1378                                         
1379                         .wall-item-photo-container .wall-item-content {
1380                                         line-height: 1.4;
1381                                         }
1382                 ";
1383         }
1384         if($line_height == "1.3"){
1385                 echo "
1386                         .wall-item-container .wall-item-content {
1387                                         line-height: 1.3;
1388                                         }
1389                                         
1390                         .wall-item-photo-container .wall-item-content {
1391                                         line-height: 1.3;
1392                                         }
1393                 ";
1394         }
1395         if($line_height == "1.2"){
1396                 echo "
1397                         .wall-item-container .wall-item-content {
1398                                         line-height: 1.2;
1399                                         }
1400                                         
1401                         .wall-item-photo-container .wall-item-content {
1402                                         line-height: 1.2;
1403                                         }
1404                 ";
1405         }
1406         if($line_height == "1.1"){
1407                 echo "
1408                         .wall-item-container .wall-item-content {
1409                                         line-height: 1.1;
1410                                         }
1411                                         
1412                         .wall-item-photo-container .wall-item-content {
1413                                         line-height: 1.1;
1414                                         }
1415                 ";
1416         }
1417         }
1418         }
1419         
1420         if($color== "green") {
1421         if($resolution == "normal") {   
1422         if (file_exists("$THEMEPATH/diabook-green/style.css")){
1423                 echo file_get_contents("$THEMEPATH/diabook-green/style.css");
1424         }
1425         if($diabook_font_size == "16"){
1426                 echo "
1427                         .wall-item-container .wall-item-content {
1428                                         font-size: 16px;
1429                                         }
1430                                         
1431                         .wall-item-photo-container .wall-item-content {
1432                                         font-size: 16px;
1433                                         }
1434                 ";  
1435    }
1436    if($diabook_font_size == "15"){
1437                 echo "
1438                         .wall-item-container .wall-item-content {
1439                                         font-size: 15px;
1440                                         }
1441                                         
1442                         .wall-item-photo-container .wall-item-content {
1443                                         font-size: 15px;
1444                                         }
1445                 ";
1446         }       
1447         if($diabook_font_size == "14"){
1448                 echo "
1449                         .wall-item-container .wall-item-content {
1450                                         font-size: 14px;
1451                                         }
1452                                         
1453                         .wall-item-photo-container .wall-item-content {
1454                                         font-size: 14px;
1455                                         }
1456                 ";
1457         }
1458         if($diabook_font_size == "13.5"){
1459                 echo "
1460                         .wall-item-container .wall-item-content {
1461                                         font-size: 13.5px;
1462                                         }
1463                                         
1464                         .wall-item-photo-container .wall-item-content {
1465                                         font-size: 13.5px;
1466                                         }
1467                 ";
1468         }
1469         if($diabook_font_size == "13"){
1470                 echo "
1471                         .wall-item-container .wall-item-content {
1472                                         font-size: 13px;
1473                                         }
1474                                         
1475                         .wall-item-photo-container .wall-item-content {
1476                                         font-size: 13px;
1477                                         }
1478                 ";
1479         }
1480         if($diabook_font_size == "12.5"){
1481                 echo "
1482                         .wall-item-container .wall-item-content {
1483                                         font-size: 12.5px;
1484                                         }
1485                                         
1486                         .wall-item-photo-container .wall-item-content {
1487                                         font-size: 12.5px;
1488                                         }
1489                 ";
1490         }
1491         if($diabook_font_size == "12"){
1492                 echo "
1493                         .wall-item-container .wall-item-content {
1494                                         font-size: 12px;
1495                                         }
1496                                         
1497                         .wall-item-photo-container .wall-item-content {
1498                                         font-size: 12px;
1499                                         }
1500                 ";
1501         }
1502         if($line_height == "1.5"){
1503                 echo "
1504                         .wall-item-container .wall-item-content {
1505                                         line-height: 1.5;
1506                                         }
1507                                         
1508                         .wall-item-photo-container .wall-item-content {
1509                                         line-height: 1.5;
1510                                         }
1511                 ";
1512         }       
1513         if($line_height == "1.4"){
1514                 echo "
1515                         .wall-item-container .wall-item-content {
1516                                         line-height: 1.4;
1517                                         }
1518                                         
1519                         .wall-item-photo-container .wall-item-content {
1520                                         line-height: 1.4;
1521                                         }
1522                 ";
1523         }
1524         if($line_height == "1.3"){
1525                 echo "
1526                         .wall-item-container .wall-item-content {
1527                                         line-height: 1.3;
1528                                         }
1529                                         
1530                         .wall-item-photo-container .wall-item-content {
1531                                         line-height: 1.3;
1532                                         }
1533                 ";
1534         }
1535         if($line_height == "1.2"){
1536                 echo "
1537                         .wall-item-container .wall-item-content {
1538                                         line-height: 1.2;
1539                                         }
1540                                         
1541                         .wall-item-photo-container .wall-item-content {
1542                                         line-height: 1.2;
1543                                         }
1544                 ";
1545         }
1546         if($line_height == "1.1"){
1547                 echo "
1548                         .wall-item-container .wall-item-content {
1549                                         line-height: 1.1;
1550                                         }
1551                                         
1552                         .wall-item-photo-container .wall-item-content {
1553                                         line-height: 1.1;
1554                                         }
1555                 ";
1556         }
1557         }
1558         
1559         if($resolution == "wide") {     
1560         if (file_exists("$THEMEPATH/diabook-green/style-wide.css")){
1561                 echo file_get_contents("$THEMEPATH/diabook-green/style-wide.css");
1562         }
1563         if($diabook_font_size == "16"){
1564                 echo "
1565                         .wall-item-container .wall-item-content {
1566                                         font-size: 16px;
1567                                         }
1568                                         
1569                         .wall-item-photo-container .wall-item-content {
1570                                         font-size: 16px;
1571                                         }
1572                 ";  
1573    }
1574         if($diabook_font_size == "15"){
1575                 echo "
1576                         .wall-item-container .wall-item-content {
1577                                         font-size: 15px;
1578                                         }
1579                                         
1580                         .wall-item-photo-container .wall-item-content {
1581                                         font-size: 15px;
1582                                         }
1583                 ";
1584         }
1585         if($diabook_font_size == "14"){
1586                 echo "
1587                         .wall-item-container .wall-item-content {
1588                                         font-size: 14px;
1589                                         }
1590                                         
1591                         .wall-item-photo-container .wall-item-content {
1592                                         font-size: 14px;
1593                                         }
1594                 ";
1595         }
1596         if($diabook_font_size == "13.5"){
1597                 echo "
1598                         .wall-item-container .wall-item-content {
1599                                         font-size: 13.5px;
1600                                         }
1601                                         
1602                         .wall-item-photo-container .wall-item-content {
1603                                         font-size: 13.5px;
1604                                         }
1605                 ";
1606         }
1607         if($diabook_font_size == "13"){
1608                 echo "
1609                         .wall-item-container .wall-item-content {
1610                                         font-size: 13px;
1611                                         }
1612                                         
1613                         .wall-item-photo-container .wall-item-content {
1614                                         font-size: 13px;
1615                                         }
1616                 ";
1617         }
1618         if($diabook_font_size == "12.5"){
1619                 echo "
1620                         .wall-item-container .wall-item-content {
1621                                         font-size: 12.5px;
1622                                         }
1623                                         
1624                         .wall-item-photo-container .wall-item-content {
1625                                         font-size: 12.5px;
1626                                         }
1627                 ";
1628         }
1629         if($diabook_font_size == "12"){
1630                 echo "
1631                         .wall-item-container .wall-item-content {
1632                                         font-size: 12px;
1633                                         }
1634                                         
1635                         .wall-item-photo-container .wall-item-content {
1636                                         font-size: 12px;
1637                                         }
1638                 ";
1639         }
1640         if($line_height == "1.5"){
1641                 echo "
1642                         .wall-item-container .wall-item-content {
1643                                         line-height: 1.5;
1644                                         }
1645                                         
1646                         .wall-item-photo-container .wall-item-content {
1647                                         line-height: 1.5;
1648                                         }
1649                 ";
1650         }       
1651         if($line_height == "1.4"){
1652                 echo "
1653                         .wall-item-container .wall-item-content {
1654                                         line-height: 1.4;
1655                                         }
1656                                         
1657                         .wall-item-photo-container .wall-item-content {
1658                                         line-height: 1.4;
1659                                         }
1660                 ";
1661         }
1662         if($line_height == "1.3"){
1663                 echo "
1664                         .wall-item-container .wall-item-content {
1665                                         line-height: 1.3;
1666                                         }
1667                                         
1668                         .wall-item-photo-container .wall-item-content {
1669                                         line-height: 1.3;
1670                                         }
1671                 ";
1672         }
1673         if($line_height == "1.2"){
1674                 echo "
1675                         .wall-item-container .wall-item-content {
1676                                         line-height: 1.2;
1677                                         }
1678                                         
1679                         .wall-item-photo-container .wall-item-content {
1680                                         line-height: 1.2;
1681                                         }
1682                 ";
1683         }
1684         if($line_height == "1.1"){
1685                 echo "
1686                         .wall-item-container .wall-item-content {
1687                                         line-height: 1.1;
1688                                         }
1689                                         
1690                         .wall-item-photo-container .wall-item-content {
1691                                         line-height: 1.1;
1692                                         }
1693                 ";
1694         }
1695         }
1696         }
1697         
1698         if($color== "dark") {
1699         if($resolution == "normal") {   
1700         if (file_exists("$THEMEPATH/diabook-dark/style.css")){
1701                 echo file_get_contents("$THEMEPATH/diabook-dark/style.css");
1702         }
1703         if($diabook_font_size == "16"){
1704                 echo "
1705                         .wall-item-container .wall-item-content {
1706                                         font-size: 16px;
1707                                         }
1708                                         
1709                         .wall-item-photo-container .wall-item-content {
1710                                         font-size: 16px;
1711                                         }
1712                 ";  
1713    }
1714    if($diabook_font_size == "15"){
1715                 echo "
1716                         .wall-item-container .wall-item-content {
1717                                         font-size: 15px;
1718                                         }
1719                                         
1720                         .wall-item-photo-container .wall-item-content {
1721                                         font-size: 15px;
1722                                         }
1723                 ";
1724         }       
1725         if($diabook_font_size == "14"){
1726                 echo "
1727                         .wall-item-container .wall-item-content {
1728                                         font-size: 14px;
1729                                         }
1730                                         
1731                         .wall-item-photo-container .wall-item-content {
1732                                         font-size: 14px;
1733                                         }
1734                 ";
1735         }
1736         if($diabook_font_size == "13.5"){
1737                 echo "
1738                         .wall-item-container .wall-item-content {
1739                                         font-size: 13.5px;
1740                                         }
1741                                         
1742                         .wall-item-photo-container .wall-item-content {
1743                                         font-size: 13.5px;
1744                                         }
1745                 ";
1746         }
1747         if($diabook_font_size == "13"){
1748                 echo "
1749                         .wall-item-container .wall-item-content {
1750                                         font-size: 13px;
1751                                         }
1752                                         
1753                         .wall-item-photo-container .wall-item-content {
1754                                         font-size: 13px;
1755                                         }
1756                 ";
1757         }
1758         if($diabook_font_size == "12.5"){
1759                 echo "
1760                         .wall-item-container .wall-item-content {
1761                                         font-size: 12.5px;
1762                                         }
1763                                         
1764                         .wall-item-photo-container .wall-item-content {
1765                                         font-size: 12.5px;
1766                                         }
1767                 ";
1768         }
1769         if($diabook_font_size == "12"){
1770                 echo "
1771                         .wall-item-container .wall-item-content {
1772                                         font-size: 12px;
1773                                         }
1774                                         
1775                         .wall-item-photo-container .wall-item-content {
1776                                         font-size: 12px;
1777                                         }
1778                 ";
1779         }
1780         if($line_height == "1.5"){
1781                 echo "
1782                         .wall-item-container .wall-item-content {
1783                                         line-height: 1.5;
1784                                         }
1785                                         
1786                         .wall-item-photo-container .wall-item-content {
1787                                         line-height: 1.5;
1788                                         }
1789                 ";
1790         }       
1791         if($line_height == "1.4"){
1792                 echo "
1793                         .wall-item-container .wall-item-content {
1794                                         line-height: 1.4;
1795                                         }
1796                                         
1797                         .wall-item-photo-container .wall-item-content {
1798                                         line-height: 1.4;
1799                                         }
1800                 ";
1801         }
1802         if($line_height == "1.3"){
1803                 echo "
1804                         .wall-item-container .wall-item-content {
1805                                         line-height: 1.3;
1806                                         }
1807                                         
1808                         .wall-item-photo-container .wall-item-content {
1809                                         line-height: 1.3;
1810                                         }
1811                 ";
1812         }
1813         if($line_height == "1.2"){
1814                 echo "
1815                         .wall-item-container .wall-item-content {
1816                                         line-height: 1.2;
1817                                         }
1818                                         
1819                         .wall-item-photo-container .wall-item-content {
1820                                         line-height: 1.2;
1821                                         }
1822                 ";
1823         }
1824         if($line_height == "1.1"){
1825                 echo "
1826                         .wall-item-container .wall-item-content {
1827                                         line-height: 1.1;
1828                                         }
1829                                         
1830                         .wall-item-photo-container .wall-item-content {
1831                                         line-height: 1.1;
1832                                         }
1833                 ";
1834         }
1835         }
1836         
1837         if($resolution == "wide") {     
1838         if (file_exists("$THEMEPATH/diabook-dark/style-wide.css")){
1839                 echo file_get_contents("$THEMEPATH/diabook-dark/style-wide.css");
1840         }
1841         if($diabook_font_size == "16"){
1842                 echo "
1843                         .wall-item-container .wall-item-content {
1844                                         font-size: 16px;
1845                                         }
1846                                         
1847                         .wall-item-photo-container .wall-item-content {
1848                                         font-size: 16px;
1849                                         }
1850                 ";  
1851    }
1852         if($diabook_font_size == "15"){
1853                 echo "
1854                         .wall-item-container .wall-item-content {
1855                                         font-size: 15px;
1856                                         }
1857                                         
1858                         .wall-item-photo-container .wall-item-content {
1859                                         font-size: 15px;
1860                                         }
1861                 ";
1862         }
1863         if($diabook_font_size == "14"){
1864                 echo "
1865                         .wall-item-container .wall-item-content {
1866                                         font-size: 14px;
1867                                         }
1868                                         
1869                         .wall-item-photo-container .wall-item-content {
1870                                         font-size: 14px;
1871                                         }
1872                 ";
1873         }
1874         if($diabook_font_size == "13.5"){
1875                 echo "
1876                         .wall-item-container .wall-item-content {
1877                                         font-size: 13.5px;
1878                                         }
1879                                         
1880                         .wall-item-photo-container .wall-item-content {
1881                                         font-size: 13.5px;
1882                                         }
1883                 ";
1884         }
1885         if($diabook_font_size == "13"){
1886                 echo "
1887                         .wall-item-container .wall-item-content {
1888                                         font-size: 13px;
1889                                         }
1890                                         
1891                         .wall-item-photo-container .wall-item-content {
1892                                         font-size: 13px;
1893                                         }
1894                 ";
1895         }
1896         if($diabook_font_size == "12.5"){
1897                 echo "
1898                         .wall-item-container .wall-item-content {
1899                                         font-size: 12.5px;
1900                                         }
1901                                         
1902                         .wall-item-photo-container .wall-item-content {
1903                                         font-size: 12.5px;
1904                                         }
1905                 ";
1906         }
1907         if($diabook_font_size == "12"){
1908                 echo "
1909                         .wall-item-container .wall-item-content {
1910                                         font-size: 12px;
1911                                         }
1912                                         
1913                         .wall-item-photo-container .wall-item-content {
1914                                         font-size: 12px;
1915                                         }
1916                 ";
1917         }
1918         if($line_height == "1.5"){
1919                 echo "
1920                         .wall-item-container .wall-item-content {
1921                                         line-height: 1.5;
1922                                         }
1923                                         
1924                         .wall-item-photo-container .wall-item-content {
1925                                         line-height: 1.5;
1926                                         }
1927                 ";
1928         }       
1929         if($line_height == "1.4"){
1930                 echo "
1931                         .wall-item-container .wall-item-content {
1932                                         line-height: 1.4;
1933                                         }
1934                                         
1935                         .wall-item-photo-container .wall-item-content {
1936                                         line-height: 1.4;
1937                                         }
1938                 ";
1939         }
1940         if($line_height == "1.3"){
1941                 echo "
1942                         .wall-item-container .wall-item-content {
1943                                         line-height: 1.3;
1944                                         }
1945                                         
1946                         .wall-item-photo-container .wall-item-content {
1947                                         line-height: 1.3;
1948                                         }
1949                 ";
1950         }
1951         if($line_height == "1.2"){
1952                 echo "
1953                         .wall-item-container .wall-item-content {
1954                                         line-height: 1.2;
1955                                         }
1956                                         
1957                         .wall-item-photo-container .wall-item-content {
1958                                         line-height: 1.2;
1959                                         }
1960                 ";
1961         }
1962         if($line_height == "1.1"){
1963                 echo "
1964                         .wall-item-container .wall-item-content {
1965                                         line-height: 1.1;
1966                                         }
1967                                         
1968                         .wall-item-photo-container .wall-item-content {
1969                                         line-height: 1.1;
1970                                         }
1971                 ";
1972         }
1973         }
1974         }