-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
executable file
·60 lines (54 loc) · 1.23 KB
/
index.php
File metadata and controls
executable file
·60 lines (54 loc) · 1.23 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
<?php
require_once("./lib/myViewForm.php");
$mVF = new myViewForm();
?>
<!DOCTYPE HTML>
<html lang="ja">
<head>
<meta charset="UTF-8">
<title>demo</title>
<style type="text/css">
input{ padding: 5px; font-size:16px;}
</style>
</head>
<body>
<h1>【テスト】</h1>
<hr />
<form name="cartform" id="cartform" action="index.php" method="post" >
<table>
<tr>
<th>名前</th>
<td><input type="text" name="name" value="TEST" /></td>
</tr>
<tr>
<th>料金</th>
<td><input type="text" name="price" value="1234" /></td>
</tr>
<tr>
<th>メールアドレス</th>
<td><input type="text" name="email" value="<?php echo $test_email; ?>" /></td>
</tr>
<tr>
<th>有効期限</th>
<td><select name="year" id="year" class="<?php echo $info_arr["year"]["error_class"];?>">
<?php $mVF->viewYear( 12 ); ?>
</select>
年
<select name="year" id="year" class="<?php echo $info_arr["year"]["error_class"];?>">
<?php $mVF->viewMonth( 12 ); ?>
</select>
月
</td>
</tr>
<tr>
<th>電話番号</th>
<td><input type="text" name="tel" value="<?php echo $test_tel; ?>" /></td>
</tr>
<tr>
<th> </th>
<td><input type="submit" name="submit" value="送信" /></td>
</tr>
</table>
</form>
</body>
</html>