]> git.r.bdr.sh - rbdr/r.bdr.sh/blame - jekyll/gaby/index.php
Wording
[rbdr/r.bdr.sh] / jekyll / gaby / index.php
CommitLineData
b157bf19
BB
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4 <title>:) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :)</title>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
7 <script type="text/javascript" src="http://www.google.com/jsapi?key=ABQIAAAA1B1-bxPhCe7u4Ba7aYKUTBTYEM4E4N0vns0MLUjR2DwB0E_9RRQgU6-MNsJCdkd1daX-Mv1HUnibjw"></script>
8
9 <style type="text/css">
10
11 body{
12 background-color: <?php if($_GET['act'] == 'duerme'){ echo "#222"; }else{ echo "#fff"; } ?>
13 }
14
15 #message{
16 font-weight: bold;
17 font-size: 72pt;
18 font-family: Helvetica, Arial, sans-serif;
19 color: <?php if($_GET['act'] == 'duerme'){ echo "#fff"; }else{ echo "#222"; } ?>
20 }
21
22 #message span{
23 color: #ccc;
24 }
25 </style>
26 <script language="Javascript" type="text/javascript">
27 //<![CDATA[
28 google.load("jquery", "1.4.2");
29 //]]>
30 </script>
31
32
33 <script type="text/javascript">
34 //<![CDATA[
35 var speed = 400;
36
37 function doMsg(){
38
39 var msg;
40
41 <?php
42 if($_GET['act'] == 'duerme'){ ?>
43 var n = (Math.floor(Math.random()*15));
44 switch(n){
45 case 0:
46 msg = ":)";
47 break;
48 case 1:
49 case 2:
50 case 3:
51 msg = "duerme";
52 break;
53 case 4:
54 case 5:
55 case 6:
56 msg = "pequeñina";
57 break;
58 case 7:
59 msg = ":3";
60 break;
61 case 8:
62 msg = "con cerditos";
63 break;
64 case 9:
65 msg = "con gatitos";
66 break;
67 case 10:
68 msg = "&lt;3";
69 break;
70 case 11:
71 msg = "sueña bonito";
72 break;
73 case 12:
74 msg = "&oline;u&oline; ~ ZzzZzz";
75 break;
76 case 13:
77 msg ="c:";
78 break;
79 case 14:
80 msg ="andale";
81 break;
82 default:
83 msg = ":o"
84 }
85 <?php
86 }else if($_GET['act'] == 'estudia'){ ?>
87 var n = (Math.floor(Math.random()*15));
88 switch(n){
89 case 0:
90 msg = ":)";
91 break;
92 case 1:
93 case 2:
94 case 3:
95 msg = "estudia";
96 break;
97 case 4:
98 case 5:
99 case 6:
100 msg = "pequeñina";
101 break;
102 case 7:
103 msg = ":3";
104 break;
105 case 8:
106 msg = "porfavor";
107 break;
108 case 9:
109 msg = "modo nerdillo";
110 break;
111 case 10:
112 msg = "&lt;3";
113 break;
114 case 11:
115 msg = "tu puedes";
116 break;
117 case 12:
118 msg = "DO IT!";
119 break;
120 case 13:
121 msg ="c:";
122 break;
123 case 14:
124 msg ="andale";
125 break;
126 default:
127 msg = ":o"
128 }
129 <?php
130 }else{
131 ?>
132 var n = (Math.floor(Math.random()*15));
133 switch(n){
134 case 0:
135 msg = ":)";
136 break;
137 case 1:
138 case 2:
139 case 3:
140 msg = "sonríe";
141 break;
142 case 4:
143 case 5:
144 case 6:
145 msg = "pequeñina";
146 break;
147 case 7:
148 msg = ":3";
149 break;
150 case 8:
151 msg = "cerditos";
152 break;
153 case 9:
154 msg = "gatitos";
155 break;
156 case 10:
157 msg = "&lt;3";
158 break;
159 case 11:
160 msg = "panza";
161 break;
162 case 12:
163 msg = "bosques";
164 break;
165 case 13:
166 msg ="c:";
167 break;
168 case 14:
169 msg ="andale";
170 break;
171 default:
172 msg = ":o"
173 }
174<?php } ?>
175
176 document.getElementById("message").innerHTML= "<span>¡</span>"+msg+"<span>!</span>";
177 $('#message').animate({
178 opacity: 1
179 }, (speed/2), function() {
180 // Animation complete.
181 });
182 window.setTimeout("doClear()",speed)
183 }
184
185 function doClear(){
186 $('#message').animate({
187 opacity: 0
188 }, (speed/4), function() {
189 // Animation complete.
190 });
191 window.setTimeout("doMsg()",(speed/4));
192 }
193
194 //]]>
195 </script>
196</head>
197
198<body style="text-align: center; padding-top: 200px;" onload="doMsg()" >
199
200 <div id="message">!</div>
201</body>
202</html>