0.9.0 - the ZapV version updated to current php standards. Brave search used, while Bing and Google search api are deprecated
This commit is contained in:
parent
3d4298fe8b
commit
4ddaddda3d
31 changed files with 1778 additions and 1 deletions
24
tpl/display.tpl
Executable file
24
tpl/display.tpl
Executable file
|
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Zap Machine <?php echo $ver; ?></title>
|
||||
<link rel="stylesheet" media="screen" href="css/style.css">
|
||||
<script src="js/display.js"></script>
|
||||
</head>
|
||||
<body onload="go(this,['img1','img2'],5000);">
|
||||
<table style="width:100%; height:100%;">
|
||||
<tr>
|
||||
<td style="text-align:center; vertical-align:middle;">
|
||||
<img src="images/downloading.gif" id="img1" alt="">
|
||||
<img src="images/downloading.gif" id="img2" style="display:none;" alt="">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div id="ready"></div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
46
tpl/index.tpl
Executable file
46
tpl/index.tpl
Executable file
|
|
@ -0,0 +1,46 @@
|
|||
<?php $status = isset($_GET['stat']) ? $_GET['stat'] : ''; ?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Zap ZapMachine <?php echo $ver; ?></title>
|
||||
<link rel="stylesheet" media="screen" href="css/style.css">
|
||||
<script src="js/main.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Zap Machine <?php echo $ver; ?></h1>
|
||||
<!--input modus: words-->
|
||||
<div id="inpWords" class="inpSection">
|
||||
<h2>Input words</h2>
|
||||
<form id="form1" action="index.php?mode=display" method="post">
|
||||
<?php for ($i = 1; $i <= MAX_WORDS; $i++) : ?>
|
||||
<?php $nr = sprintf("%02d", $i); ?>
|
||||
<div class="inp">
|
||||
word <?php echo $nr; ?><input type="text" name="word<?php echo $nr; ?>" id="word<?php echo $nr; ?>" size="30" maxlength="30" value="">
|
||||
</div>
|
||||
<?php endfor; ?>
|
||||
<div class="inp">
|
||||
# Zaps
|
||||
<select name="collages">
|
||||
<?php for ($j = 1; $j <= MAX_ZAPS; $j++) : ?>
|
||||
<option <?php echo $j == 4 ? 'selected' : ''; ?>><?php echo $j; ?></option>
|
||||
<?php endfor; ?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="inp">
|
||||
width <input type="text" name="width" id="width" size="5" maxlength="4" value="1067"> px
|
||||
</div>
|
||||
<div class="inp">
|
||||
height <input type="text" name="height" id="height" size="5" maxlength="4" value="600"> px
|
||||
</div>
|
||||
<div class="inp">
|
||||
<input type="button" class="btn" onclick="form1Submit()" value="Go & Generate Some Zaps">
|
||||
<input type="hidden" name="modus" value="words">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<!--End input modus words-->
|
||||
<div id="status"><?php echo $status; ?></div>
|
||||
<div id="loading"></div>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue