-
Notifications
You must be signed in to change notification settings - Fork 0
/
sidebar.php
executable file
·109 lines (106 loc) · 2.37 KB
/
sidebar.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
<div id="sidebar">
<?php if(basename($_SERVER['PHP_SELF'],'.php') == "main" && !($_SERVER['QUERY_STRING'])) { ?>
<?php include "suggestionbox.php"; ?>
<?php } ?>
<?php
if(basename($_SERVER['PHP_SELF'],'.php') == "faq") { ?>
<?php } else if(basename($_SERVER['PHP_SELF'],'.php') == "main" && !($_SERVER['QUERY_STRING'])) { ?>
<h2 class="twitter">Twitter</h2>
<script type="text/javascript">
new TWTR.Widget({
version: 2,
type: 'profile',
rpp: 4,
interval: 6000,
width: 'auto',
height: 350,
theme: {
shell: {
background: '#ffffff',
color: '#6e6e6e'
},
tweets: {
background: '#ffffff',
color: '#8c8c8c',
links: '#eb8db6'
}
},
features: {
scrollbar: false,
loop: false,
live: false,
hashtags: true,
timestamp: true,
avatars: false,
behavior: 'all'
}
}).render().setUser('mathorientation').start();
</script>
<?php } elseif(basename($_SERVER['PHP_SELF'],'.php') == "teams" && ($_SERVER['QUERY_STRING'] == 'team_rocket')) { ?>
<h2 class="twitter">Twitter Feed</h2>
<script language="javascript">
new TWTR.Widget({
version: 2,
type: 'profile',
rpp: 6,
interval: 6000,
width: 250,
height: 300,
theme: {
shell: {
background: '#ffffff',
color: '#e678ad'
},
tweets: {
background: '#ffffff',
color: '#525252',
links: '#d95f96'
}
},
features: {
scrollbar: false,
loop: false,
live: true,
hashtags: true,
timestamp: true,
avatars: false,
behavior: 'all'
}
}).render().setUser('uwteamsters').start();
</script>
<?php } elseif(basename($_SERVER['PHP_SELF'],'.php') == "teams" && ($_SERVER['QUERY_STRING'] == 'elite_four')) { ?>
<h2 class="twitter">Twitter Feed</h2>
<script language="javascript">
new TWTR.Widget({
version: 2,
type: 'profile',
rpp: 4,
interval: 6000,
width: 250,
height: 300,
theme: {
shell: {
background: '#ffffff',
color: '#e678ad'
},
tweets: {
background: '#ffffff',
color: '#525252',
links: '#d95f96'
}
},
features: {
scrollbar: false,
loop: false,
live: false,
hashtags: true,
timestamp: true,
avatars: false,
behavior: 'all'
}
}).render().setUser('tie_guard').start();
</script>
<?php }
if(!(basename($_SERVER['PHP_SELF'],'.php') == "main" && !($_SERVER['QUERY_STRING']))) {
} ?>
</div>