cpu-simulator/build/editor/index.php

23 lines
726 B
PHP
Raw Normal View History

2023-12-15 19:43:36 +00:00
<html>
<head>
<title>Component editior</title>
<?php
if($_GET['item']){
echo("\n<script src='js/items/".$_GET['item'].".js'></script>\n");
}
if(!isset($_GET['edit'])) { echo("<script>var editDisabled = 1;</script>\n"); }
?>
<script type="text/javascript" src="js/chips.js"></script>
<script type="text/javascript" src="js/md5.js"></script>
<script type="text/javascript" src="js/components.js"></script>
<script type="text/javascript" src="js/index.js"></script>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="/cpu/css/stylesheet.css" />
</head>
<body>
<canvas id="logicsim">
</canvas>
</body>
</html>