-
Notifications
You must be signed in to change notification settings - Fork 0
/
form1_view.php
63 lines (63 loc) · 2.08 KB
/
form1_view.php
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<title>メールフォーム</title>
<link rel="stylesheet" type="text/css" href="css/style.css" media="screen,tv" />
</head>
<body>
<div id="box">
<div id="header">
<h1>PHP for Web Designer</h1>
</div>
<ul id="menu" class="clearfix">
<li><a href="question1.php">アンケート</a></li>
<li class="active"><a href="form1.php">メールフォーム</a></li>
<li><a href="webapi/">グルメMAP</a></li>
</ul>
<div id="main">
<h2 class="mail-bar">メールフォーム</h2>
<?php if (isset($error)): ?>
<?php foreach ($error as $val): ?>
<span style="color:FF0000"><?php echo $val; ?></span><br />
<?php endforeach; ?>
<?php endif; ?>
<form action="form2.php" method="post">
<dl class="clearfix mailform">
<dt>お名前</dt>
<dd><label>
<input type="text" name="name" value="<?php echo $name;?>" size="50" />
</label></dd>
<dt>e-mail</dt>
<dd><label>
<input type="text" name="email" value="<?php echo $email;?>" size="50" />
</label></dd>
<dt>件名</dt>
<dd><label>
<input type="text" name="subject" value="<?php echo $subject;?>" size="50" />
</label></dd>
<dt>内容</dt>
<dd><label>
<textarea name="body" cols="50" rows="10"><?php echo $body;?></textarea>
</label></dd>
<dt>確認キーワード</dt>
<dd class="captcha_view"><label for="" class="clearfix">
<?php dsp_crypt(0,1); ?><br />
<span>表示されているキーワードをご記入ください。</span><br />
<input type="text" name="code" />
</label></dd>
</dl>
<p>
<input type="hidden" name="ticket" value="<?php echo $ticket; ?>" />
<input type="submit" value="確認画面へ" />
</p>
</form>
</div>
<p class="copy">
© 2010 PHP for Web Designer. All rights reserved.
</p>
</div>
</body>
</html>