langInLang2.php
Language: PHP Hypertext Preprocessor
Last Modified: 2020-06-27 1:58:14 PM UTC
File Size: 3848 bytes
Last Modified: 2020-06-27 1:58:14 PM UTC
File Size: 3848 bytes
http://www.penguinstew.ca/example/langInLang2.php
<!DOCTYPEhtml>
<htmllang=enCA>
<head>
<!--LayoutHead>
<title>PenguinStew<title>
<metacharset=utf8>
<metahttpequiv=ContentTypecontent=texthtml;charset=utf8>
<metaname=authorcontent=Wearwolf>
<linkhref=http:wwwpenguinstewcafaviconicorel=shortcuticon>
<linkhref=http:wwwpenguinstewcafaviconicorel=icon>
<linkrel=stylesheettype=textcsshref=stylestylecss>
<linkrel=image_srchref=http:wwwpenguinstewcaimagesLogoSpng>
<linkhref=http:wwwpenguinstewcaRSSxmlrel=alternatetype=applicationrssxmltitle=PenguinStew>
<style>
langInLang{
color:1eee89;
fontweight:bold;
fontsize:42px;
border:3pxdashedef7c16;
padding:5px5px5px5px;
margin:30px30px30px30px;
textalign:center;
}
langInLang2{
color:ef7c16;
fontweight:bold;
fontsize:42px;
border:3pxdashed1eee89;
padding:5px5px5px5px;
margin:30px30px30px30px;
textalign:center;
}
<style>
<script>
vartest=true;
functiontoggle{
iftest{
test=false;
documentgetElementByIdlangInLang<?=2?>innerHTML=false;
}else{
test=true;
documentgetElementByIdlangInLang<?=2?>innerHTML=true;
}
}
<script>
<head>
<body>
<Layoutbody>
<divid=logo>
<Logosection>
<ahref=indexphp>
<imgstyle=border:0src=imagesLogopngalt=logoheight=200width=800>
<a>
<div>
<divid=mainclass=left>
<MainsectionMaincontentsection>
<divid=leftmenu>
<LeftsectionNavigationsidebar>
<ahref=indexphp>
<imgstyle=border:0;width:125px;height:25px
src=imagesButtonshomepng
alt=home>
<a>
<ahref=comicsphp>
<imgstyle=border:0;width:125px;height:25px
src=imagesButtonscomicspng
alt=comics>
<a>
<ahref=writingsphp>
<imgstyle=border:0;width:125px;height:25px
src=imagesButtonswritingpng
alt=writing>
<a>
<ahref=picturesphp>
<imgstyle=border:0;width:125px;height:25px
src=imagesButtonspicturespng
alt=pictures>
<a>
<ahref=archivephp>
<imgstyle=border:0;width:125px;height:25px
src=imagesButtonsarchivepng
alt=archive>
<a>
<ahref=pagephp?name=about>
<imgstyle=border:0;width:125px;height:25px
src=imagesButtonsaboutpng
alt=about>
<a>
<div>
<divid=rightText><RightsectionFilledbyscripts>
<divid=langInLang<?=2?>>
true
<div>
<?=dater<br>\n?>
<?php
fori=0;i<5;i{
printi;
}
print<br>\n;
?>
<inputtype=Buttonvalue=Toggleonclick=toggle>
<div>
<divid=clear><Fillsthebackground><div>
<div>
<divid=footer>
<footersectionValidationpagesandcopyrightnotice>
<ahref=http:jigsaww3orgcssvalidatorcheckreferer>
<imgstyle=border:0;width:88px;height:31px;
src=imagesvcsspngalt=ValidCSSclass=vcenter>
<a>
<ahref=http:feedvalidatororgcheckcgi?url=http3AwwwpenguinstewcaRSSxml>
<imgstyle=border:0;width:88px;height:31px;
src=imagesvalidrssrogerspngalt=[ValidRSS]class=vcenter>
<a>
<ahref=http:validatorw3orgcheckreferer>
<imgstyle=border:0;width:46px;height:31px;
src=imageshtmlpngalt=HTMLvalidatorclass=vcenter>
<a>
Copyright��20062013KyleBrown
<div>
<body>
<html>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128