images & path fix
[mirrors/Kyberia-bloodline.git] / data / templates / own_templates / 1918532.tpl
diff --git a/data/templates/own_templates/1918532.tpl b/data/templates/own_templates/1918532.tpl
new file mode 100644 (file)
index 0000000..07e09c3
--- /dev/null
@@ -0,0 +1,23 @@
+{literal}
+<script language='javascript' type='text/javascript'>
+function ajax() {
+       var browser = navigator.appName;
+       if(browser == "Microsoft Internet Explorer") {
+               xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
+       }
+       else {
+               xmlhttp = new XMLHttpRequest();
+       }
+       url = '/ajax/get_moods.php?user_id=2334';
+       xmlhttp.open("GET", url);
+       xmlhttp.onreadystatechange = function() {
+               if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
+                       document.getElementById("ajax").innerHTML = xmlhttp.responseText);
+               }
+       }
+       xmlhttp.send(null);
+}
+</script>
+{/literal}
+<a href='#' onClick='ajax();'>ajax</a>
+<div id='ajax'></div>
\ No newline at end of file
This page took 0.104092 seconds and 4 git commands to generate.