Browse Source

cleanup some files

Jan Behrens 4 years ago
parent
commit
a193e0b3fe

+ 0 - 91
Example.php

@@ -1,91 +0,0 @@
-<!DOCTYPE html>
-<html>
-    <head>
-        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-        <title></title>
-    </head>
-    <body>
-
-<?php
-if(@$_GET["action"]=="getTime"){
-  $time1 = Time()+13000;  
-  $date1 = date("H:i:s  T",$time1);  
-
-echo '<font size="5" color="#000000">'.$date1.'</font><br>';
-
-  die();  
-}
-?>
-
-<div id="qwe">test</div>
-
-<script type="text/javascript">   
-  window.onload = startInterval;  
-  function startInterval() {  
-    setInterval("startTime();",1000);  
-  }
-  function startTime() {
-    AX = new ajaxObject("?action=getTime", showTime)
-    AX.update(); // start Ajax Request   
-  } 
-  // CallBack 
-  function showTime( data ){
-    document.getElementById('qwe').innerHTML = data;
-  }  
-</script>  
-
-
-
-<script type="text/javascript">
-// Ajax Object - Constructor
-function ajaxObject(url, callbackFunction) {
-  var that=this;
-  this.updating = false;
-  this.abort = function() {
-    if (that.updating) {
-      that.updating=false;
-      that.AJAX.abort();
-      that.AJAX=null;
-    }
-  };
-  this.update =
-  function(passData,postMethod) {
-    if (that.updating) { return false; }
-    that.AJAX = null;
-    if (window.XMLHttpRequest) {
-      that.AJAX=new XMLHttpRequest();
-    }else{
-      that.AJAX=new ActiveXObject("Microsoft.XMLHTTP");
-    }
-    if (that.AJAX==null) {
-      return false;
-    }else{
-      that.AJAX.onreadystatechange = function() {
-        if (that.AJAX.readyState==4) {
-          that.updating=false;
-          that.callback( that.AJAX.responseText, that.AJAX.status, that.AJAX.responseXML, that.AJAX.getAllResponseHeaders() );
-          that.AJAX=null;
-        }
-      };
-      that.updating = new Date();
-      if (/post/i.test(postMethod)) {
-        var uri=urlCall+(/\?/i.test(urlCall)?'&':'?')+'timestamp='+that.updating.getTime();
-        that.AJAX.open("POST", uri, true);
-        that.AJAX.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
-        that.AJAX.setRequestHeader("Content-Length", passData.length);
-        that.AJAX.send(passData);
-      }else{
-        var uri=urlCall+(/\?/i.test(urlCall)?'&':'?')+passData+'&timestamp='+(that.updating.getTime());
-        that.AJAX.open("GET", uri, true);
-        that.AJAX.send(null);
-      }
-      return true;
-    }
-  };
-  var urlCall = url;
-  this.callback = callbackFunction || function (){};
-}
-</script>
-
-    </body>
-</html>

+ 0 - 54
bla.php

@@ -1,54 +0,0 @@
-<html>
-<head>
-</head>
-<body>
-
-<div style="position:absolute; top:150px; left:0px">
-<img src="pics/beamline.png">
-
-<div style="position:absolute; top:0px; left:0px">
-
-<canvas id="myCanvas" width="1900px" height="661px"></canvas>
-<script>
-	var canvas = document.getElementById('myCanvas');
-
-	var context = canvas.getContext('2d');
-	context.fillStyle = 'rgba(0, 127, 70, 0.2)';
-
-	context.beginPath();
-	context.moveTo(1530, 318);
-
-<?php
-
-	$handle = fopen ("text.txt", "r");
-	while (!feof($handle)) {
-    		$buffer = fgets($handle);
-		$values = explode(" ", $buffer);
-		if (trim($values[0]) == "---")
-		{
-			if ($lastR > 5.0 || $lastR < -5.0) echo 'context.lineTo(310, ' . $lastR . '); context.lineTo(310, 318);';
-			echo 'context.lineTo(' . $lastZ . ', 318);';
-			echo 'context.fill();';
-			echo 'context.beginPath();';
-			echo 'context.moveTo(1530, 318);';
-		}
-		else
-		{
-			$z = ($values[0] * 46.833) + 876.68;
-			$r = (-$values[1] * 46) + 318;
-			echo 'context.lineTo(' . $z . ', ' . $r . ');';
-			$lastZ = $z;
-			$lastR = $r;
-		}
-	}
-	fclose ($handle);
-?>
-
-</script>
-
-</div>
-
-</div>
-
-</body>
-</html>

+ 0 - 0
getDAQDataOld.php → oldfiles/getDAQDataOld.php


+ 0 - 0
index_GD.php → oldfiles/index_GD.php


+ 0 - 0
index_GD_old.php → oldfiles/index_GD_old.php


+ 0 - 0
index_cw.php → oldfiles/index_cw.php


+ 0 - 0
index_cw_old.php → oldfiles/index_cw_old.php


+ 0 - 0
index_old.php → oldfiles/index_old.php


+ 0 - 0
poll_HV_data_old.php → oldfiles/poll_HV_data_old.php


+ 0 - 0
test single read.php → oldfiles/test single read.php


+ 0 - 0
testit.php → oldfiles/testit.php


+ 0 - 0
testit_read.php → oldfiles/testit_read.php