forked from sirkris/phpMeow
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample.phpmeow.php
More file actions
67 lines (47 loc) · 1.59 KB
/
sample.phpmeow.php
File metadata and controls
67 lines (47 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<html>
<head>
<title>phpMeow - Example Form Page</title>
<script type="text/javascript" src="phpmeow.js"></script>
<link rel="stylesheet" type="text/css" href="phpmeow.css" />
</head>
<body>
<form name="whatever" id="whatever" action="sample.confirm.phpmeow.php" method="POST">
<center>
<div>
<h1 align="center" style="color: blue">Simple phpMeow Example</h1>
<h3 align="center" style="color: navy">Integration with antiquated, static positioning table elements (below submit button).</h3>
<!-- You can use tables, divs, etc. Just make sure the phpMeow call itself is contained within an absolute-positioned div. -->
<table border="0" cellspacing="2" cellpadding="2">
<tr>
<td align="right"><b>Your name:</b> </td>
<td><input type="text" name="s_name" id="s_name" size="30" /></td>
</tr>
<tr>
<td align="right"><b>What're you lookin' at?!</b> </td>
<td><input type="text" name="s_look" id="s_look" size="30" /></td>
</tr>
<tr>
<td align="right"><b>May I borrow your kidneys for a few hours?</b> </td>
<td>
<input type="radio" name="s_kidneys" id="s_kidneys" value="Yes" /> Yes.
<br />
<input type="radio" name="s_kidneys" id="s_kidneys" value="YES!" /> YES!
<br />
<input type="radio" name="s_kidneys" id="s_kidneys" value="I wasn't using them, anyway." /> I wasn't using them, anyway.
</td>
</tr>
</table>
</div>
<div style="position: absolute; left: 25%; margin-left: 50px">
<?php
require( "phpmeow.class.php" );
$phpmeow = new phpmeow();
$phpmeow->main();
?>
</div>
<br />
<input type="submit" name="submitform" id="submitform" value="Submit Form" />
</center>
</form>
</body>
</html>