aboutsummaryrefslogtreecommitdiff
path: root/blocks/tsviewer
diff options
context:
space:
mode:
authorjhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6>2009-12-21 16:32:16 -0500
committerjhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6>2009-12-21 16:32:16 -0500
commit027b405b1bdeb5bb7f3362ff1d570aa076846bc3 (patch)
tree9d3e02405eba84f4e3337f64943fe7ca89322dea /blocks/tsviewer
parent0713fd6c1cebe1b32f173af0ef447e7853cbaf70 (diff)
downloadbayonetcms-027b405b1bdeb5bb7f3362ff1d570aa076846bc3.tar.gz
(OC) added some jQuery stuff. Working dragable ui for newsreel
git-svn-id: http://svn.3rd-infantry-division.org/testing/branches/Bayonet CMS v2@389 c5b2fb0a-d05d-0410-98c8-828840a80ff6
Diffstat (limited to 'blocks/tsviewer')
-rw-r--r--blocks/tsviewer/index.php22
1 files changed, 8 insertions, 14 deletions
diff --git a/blocks/tsviewer/index.php b/blocks/tsviewer/index.php
index cee0be4..fd24fb3 100644
--- a/blocks/tsviewer/index.php
+++ b/blocks/tsviewer/index.php
@@ -1,18 +1,12 @@
<?php
-OpenBlock("Teamspeak Server");
-
-echo "<div style=\"margin: 5px;\">\n";
-////until it works again i'm going to have this here...
-//echo "TSViewer is not working.";
-//echo "</div>\n";
-//CloseBlock();
-//return; //die
+/**
+* The overlaying css div.content class is messing up the padding of the text.
+* Apparently I cannot override this...
+*/
+echo "<div style=\"padding:0px; margin: 5px;\">\n";
+$ts = implode('',file("http://www.tsviewer.com/ts_viewer_pur.php?ID=902437&bg=&type=8f8f8f&type_size=11&type_family=5&info=1&channels=1&users=1&type_s_color=000000&type_s_weight=bold&type_s_style=normal&type_s_variant=normal&type_s_decoration=none&type_s_color_h=525284&type_s_weight_h=bold&type_s_style_h=normal&type_s_variant_h=normal&type_s_decoration_h=underline&type_i_color=000000&type_i_weight=normal&type_i_style=normal&type_i_variant=normal&type_i_decoration=none&type_i_color_h=525284&type_i_weight_h=normal&type_i_style_h=normal&type_i_variant_h=normal&type_i_decoration_h=underline&type_c_color=000000&type_c_weight=normal&type_c_style=normal&type_c_variant=normal&type_c_decoration=none&type_c_color_h=525284&type_c_weight_h=normal&type_c_style_h=normal&type_c_variant_h=normal&type_c_decoration_h=underline&type_u_color=000000&type_u_weight=normal&type_u_style=normal&type_u_variant=normal&type_u_decoration=none&type_u_color_h=525284&type_u_weight_h=normal&type_u_style_h=normal&type_u_variant_h=normal&type_u_decoration_h=none"));
+echo $ts;
+echo "</div>\n";
?>
-
-<script language="javascript" type="text/javascript" src="http://www.tsviewer.com/ts_viewer_pur.php?ID=58659&bg=transparent&type=eeeeee&type_size=11&type_family=1&info=1&channels=0&users=1&js=1&type_s_weight=normal&type_s_style=normal&type_s_variant=normal&type_s_decoration=none&type_s_weight_h=normal&type_s_style_h=normal&type_s_variant_h=normal&type_s_decoration_h=none&type_i_weight=normal&type_i_style=normal&type_i_variant=normal&type_i_decoration=none&type_i_weight_h=normal&type_i_style_h=normal&type_i_variant_h=normal&type_i_decoration_h=none&type_c_weight=normal&type_c_style=normal&type_c_variant=normal&type_c_decoration=none&type_c_weight_h=normal&type_c_style_h=normal&type_c_variant_h=normal&type_c_decoration_h=none&type_u_weight=normal&type_u_style=normal&type_u_variant=normal&type_u_decoration=none&type_u_weight_h=normal&type_u_style_h=normal&type_u_variant_h=normal&type_u_decoration_h=none&cflags=0"></script><NOSCRIPT>Enable JavaScript to see TeamSpeak Viewer or click <a href="http://www.tsviewer.com/index.php?page=ts_viewer&ID=58659">here</a>.</NOSCRIPT>
-
-<?php
-echo "</div>\n";
-CloseBlock(); ?>