-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.php
110 lines (97 loc) · 11.6 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<?php
/**
* Plugin Name: Doge-state for WordPress
* Description: Viewstate, eehr Doge-state!
* Author: Earth People
* Version: 0.1
* Author URI: http://earthpeople.se
* License: GPL2
*/
// No direct access to file
if (!defined("ABSPATH"))
die();
// Class for all our doge things
class ep_doge {
// This is the wonderful source
private $hjalles_gist = "https://gist.github.com/hagglund/8861536";
// Public variable with the doge-state, so other plugins can use it too!
public $doge_state = '
.......................................................................................................................................,,,,,,,,,,,,,,,,,,,,,,,,,
......................................................................................................................................,,,,,,,,,,,,,,,,,,,,,,,,,,
.....................................................................................................................................,,,,,,,,,,,,,,,,,,,,,,,,,,,
.....................................................................................................................................,,,,,,,,,,,,,,,,,,,,,,,,,,,
................................................,...................................................................................,,,,,,,,,,,,,,,,,,,,,,,,,,,,
............+...+...+...++,,.=,..+...+.........:??....................................................................................,,,,,,,,,,,,,,,,,,,,,,,,,,
............+=.++..?+,?+..I=.??.~+:.??.........=I$~...................................................................................,,,,,,,,,,,,,,,,,,,,,,,,,,
............+?,+=+,+.,+...,?.:+.?~?,?,.........~7Z7:..................................................................................,,,,,,,,,,,,,,,,,,,,,,,,,,
.............+?+,???.,+,..=?..+:?.+,+..........~7$$7..............................................................................,.,,...,,,,,,,,,,,,,,,,,,,,,,,
.............++..++:..=+??+...++..++=..........=7Z$$+.......................................................:.........,..,....,,...,.,..,,.,,,,,,,,,,,,,,,,,,,,,
...............,.......,.......,...,...........+7OZZ7~..........................................=::=~+++=,,==::=~====~=:=+++:+===+~=~?:,.,.,,,,,,,,,,,,,,,,,,,,,
..............................................~?$ZO$77=..........................................~:+~:.,:..==::+:+=~+~,,==~=:::~~=~,~=,.,,,,,,,,,,,,,,,,,,,,,,,,
.............................................,=?ZOO8OZ$I.............................................,,,............,........,...,......,,,,,,,,,,,,,,,,,,,,,,,,
.............................................~?78877IIIII?+,..............~+I$$7=..............................................,....,,,,,,,,,,,,,,,,,,,,,,,,,,,,
............................................:?I$$$$$777II???+:.........=I77????7I.................................................,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
........................................,:=+===+??I7$$$$77II?++??+,,+77$I??????I=.................................................,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
......................................:~~~==+==+?II7$$$$7$$777I??II7ZOZI???II7??:...................................................,,,,,,,,,,,,,,,,,,,,,,,,,,,,
.....................................:~+++++++??III77$7$$$$$$77777$DO$7I7$ZO$I++..................................................,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
....................................,~++++??+??I?II$$$$$ZZ7777III7$$8$I7ZOO$7?=:..................................................,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
..................................,,~++????II??II77$77$ZZ$7777?I77$$7$$IOZ$7?+~,...,,..,...,,.,,.,..,,,,..,,...,,...............,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
..................................,~=+??777I?=+?7777$ZZO$$Z7$ZI7III7IZ?Z?Z??+++:?.I~?=?:?,?:?~=:I+,.?+?:+:+,:=~~?,................,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
.................................,~=???II$Z$ZOZZ$777$Z8ZO$$$7$I$?IIIII?+??77I,=,?,=..?~,?::,I+:,I+:,+?~,?+,,,+:,~.................,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
................................,,~===?++??IDNMZO$$$ZZOZZ77$7$II7I??III$ZI$$I,+~,,:...~~..:,~.~=..~~~~:.~,~=,,~~:,.........,,.....,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
................................,:==~~:==+??ZNONNO$ZZZZZ$7$$Z7$$$7IIIIII7$$=.,~...................................................,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
...............................,:=?=~~+=+?II7$8DZ$7$ZZ$$7I??7II?I777I77?II?.....................................................,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
...............................,~=++=++=?I7$$$$7?I$ZZ$$$Z8NMIMZ777777III???,....................................................,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
..............................,~~=+?===++==++??+?I7$77I$ONMDO8N8$7777III++?:.............................................,.,.,,,..,,,.,,,,,,,,,,,,,,,,,,,,,,,,,,
..............................:~===+?==+=:~~====?II?II7Z$$Z8D$???7I7II???++~,...........................................,:==:=.~==~,~,,,,,,,,,,,,,,,,,,,,,,,,,,,
..............................,~+~=+??==~=:==+=+I????I7ZIIII?????++?+??++++~,.............................................,,,..,,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
..............................:=++==+??+==~:~~=+III7I77$7IIII??+==~+===++++~,..................................................,..,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,
.............................,~+?+==+++=+~~+ZO=I7I++?IIII?+======~~~~==++==++II??+===~~::,:,,,,......................................,,,,,,,,,,,,,,,,,,,,,,,,,,,
............................,:~???+=++?+==~Z8NNNDNZ==?I?=~~~~~~~~~~~~~===?+=+?I????++++++++===~~~~:...............................,,..,,,,,,,,,,,,,,,,,,,,,,,,,,
............................,:=?7I+==++?++?OMNNNMDO?=???~~::~~~~~~~~~===??+++?II??+++?+========~~~~~~~:,..............................,,,,,,,,,,,,,,,,,,,,,,,,,,
............................,~+I7I?+=++?=?7$ODD8DO+==+?=::::~~~~~~~~===+?+??++?II+?++++=+====++=====~~=~~:............................,,,,,,,,,,,,,,,,,,,,,,,,,,
...........................,:=?7$III+=+++7I$$ZOZ$?===~=~=~~:~~~~~~~~==++?II+?=+?I?++++++=+=~==+==========~~,..........................,,,,,,,,,,,,,,,,,,,,,,,,,,
...........................,:=?I$7I77+++?++?7O8$$?+==~I+~:~~~~~~~~~==+???I7I+==+?I?++===++====++============~:............................,,,,,,,,,,,,,,,,,,,,,,
...........................,:=?I$$$777I++++==+?++$IIII=~~~~~~~~~~===+??7I?II?+++??I++===+++===++=~========+==~:...........................,,,,,,,,,,,,,,,,,,,,,,
...........................,~=+?7$$$7$$7???+=====~====~~~~~~~~~~==+??III?I77I?=++???======+?==+===~=======++==~=:............................,,,,,,,,,,,,,,,,,,,
...........................:~=+?I7$Z$$$$77??++====~==~~~~~~~~~~=+?I77I??I7777?+=+??+======++++============+++=~~~~~,......,....,....,,.,,...,.,,,,,,,,,,,,,,,,,,
...........................::~=+?I$$$Z$$777I??+====~~~~~==++=+?I7$7??+++IZ7III++=+++====+==+++=++==========++==~~~=I==~,?~=?.,?.:+=~I:~+?I.??..,,,,,,,,,,,,,,,,,
...........................,~~==+?III77$77III?+++======+IIIIIII777?++++?$$IIII?+++++=~======++==++=====+===+=+==~~~====?.,~+,.?.:.?,+::??,=~,,...,,,,,,,,,,,,,,,
...........................,~=====+??I7III?+?+=+++++++???III?II?????++I777IIII?++=++====++==++==?==~~====++==+?+=~~~~~,,.........,.......,...........,,,,,,,,,,,
..........................,~+=~=~====+???++++++===+=+++????+?+++++++?7$77I?III?++==+=====+===++=++~~:=~==++++?+++=~=~~~:,,.............................,,,,,,,,,
.......................?,,=7+?I?=+=7I++I=??I?++I===++=++++++++++==+I7IIIIII???I?+++==========+===+=~~~~~==+=+++=+=====~~:,,.................................,,,,
.......................II.I??II?==I=II=I=I7?+=?=====+++++=+=++++?III???III?I??I???+====~==+=======+~:::~==+??+++===+++++=:,,................................,,,,
..........................=++III?======+======?====+==++===+++++?II????????I????+====~~~=+==~+===??=~::::~==+???I++???????=:,...................................
.........................,==+?????===++==========+==+===+=++++??++++++???I?II??I++==~========+===+I=~::::::~==++?+++++++????=,..................................
........................,=+++??????+=+============+++++++++??+++++++++?I??IIII??+===~~====~=======7?==~:::::~~~=====+?++??I??=,.................................
........................:+?II?????????+++=====+==++=+++++??++?++++++??I777777???+=~==~==~~~~======$7+=~~~~~~~~=~==~~=++=++??+?++:...............................
........................~I7777IIII???I???++++++=+++++++??????+++I???I7$Z$$Z$$$7I?+===~~~~=~~======7$7?==~~~~~===~~~~~~~~~==++++++=:,............................
........................+$OO8D8Z$77I7IIII??++++++++++???I?????????I7ZZOOODZ8DZ$8?8IZO?8IO$+======+?$O$$+?++++?+===~~~~~~~~~~=+=~==~~=++~,.......................
........................+?II7$$O8$777I7IIIII???????+??IIIII?IIIII7$ZOOZZ$$$7II$II+?8~~~~~O~=====++++?I7IZ$I==?$Z?===~~~~~~:~~~~=~~~~~~===~:::,,,,...............
.......................:?+=?I7$$Z8$$7IIIIIIII????????II7II777$ZZOOOOOZZZ$$7I7II???+?+~~~~~=====+++++??I7::=OO??+$7I?+====~~~~~~===+++++=~~~::,,,::?,............
.......................~?==II$ZZ$O8$777777IIII???I??II7777OOZZZZOZ$$$$$Z$777IIIIII?++=~=~=+=++?+?I????I?::=$ZII8I$7I?++==~~::,,,..+7I++~=~=::::~:~+8,...........
.......................,=~+?I7$$$$DDZ$$777IIIIIII7III$I7OOZZ$7$$$7$7$$77I7IIIIII7I???+~=+??+??777$ZO8DDZ::8888=$IIII??+===========+?I7ZI=~====~=+$ZZ............
........................=?+I77I$Z77$8OZZ$$$77777I77I7$$$Z$7777777777$7IIII?II?IIIIIII+=+++==~~::,,,..,..:+I$OO7?+:,,.,,..,..........,...~$+?++ZZIDI:............
.......................~++?IIIII7III$O8ZZZZZ$$$77$$77$$$7I7III7$7III?I????????IIIIIII=~~:,,,............+?7$O$I=,.............................:~++=~,...........
....................,::~=++???II7I?I$8DD888888OZI+=?I77I??+???7$777?IIIIIII??????I?I++:,........................................................................
..................,:,~+~~~=+=+?+?IIII77777$$$$++==+++++=+++++I$$$???+?????I??I??III7I+~,........................................................................
.................,,,:+=::~+:~=?O++++?????????=~~I?=~++=~~=++?I77I???+?+???I?II?+=:,,,...........................................................................
................:I::=+,,:~7=++??+~::~~~===++?::==~~=~+:~~=+?77$77I?+++==~:::,,,,,,,,............................................................................
.................=7III++=+++8+?=:,,:::::~~=O+==7===~I$?==+7I??+=:::,,,,,,,,,,,..................................................................................
................:IOO$7D8OZ$8O=,,,,,,,,,::~~=7II$$Z77?O8Z++:,,,,,,,,,,,,.........................................................................................
..................::,~=~:,....,,,,,,,,,,,,,:=7ZO8DD8$?~,,,,,....................................................................................................
....................................,,,....,,,,...,..,..........................................................................................................
................................................................................................................................................................
................................................................................................................................................................
..............................................................................................................................................................,,
';
function __construct() {
add_action("wp_head", array($this, "add_doge_state"));
}
function add_doge_state() {
echo "\n";
printf('<meta name="__DOGESTATE" id="__DOGESTATE" content="%1$s">', $this->doge_state);
echo "\n";
}
}
$_GLOBALS["ep_doge"] = new ep_doge();