@@ -2,8 +2,8 @@ discard block |
||
| 2 | 2 | <html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"> |
| 3 | 3 | <head> |
| 4 | 4 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 5 | -<link rel="stylesheet" href="<?=base_url('css/bbs.css');?>" type="text/css" /> |
|
| 6 | -<script type="text/javascript" src="<?=base_url('js/bbs.js');?>"></script> |
|
| 5 | +<link rel="stylesheet" href="<?=base_url('css/bbs.css'); ?>" type="text/css" /> |
|
| 6 | +<script type="text/javascript" src="<?=base_url('js/bbs.js'); ?>"></script> |
|
| 7 | 7 | <title>掲示板: 新規投稿</title> |
| 8 | 8 | </head> |
| 9 | 9 | |
@@ -14,37 +14,37 @@ discard block |
||
| 14 | 14 | <!-- main --> |
| 15 | 15 | <div id="main"> |
| 16 | 16 | <div class="title_banner"> |
| 17 | -<img src="<?=base_url('images/icons/bbs_titile.jpg');?>" alt="掲示板" width="580" height="70" /> |
|
| 17 | +<img src="<?=base_url('images/icons/bbs_titile.jpg'); ?>" alt="掲示板" width="580" height="70" /> |
|
| 18 | 18 | </div> |
| 19 | 19 | <div class="bbs_new_post_icon"> |
| 20 | -<img src="<?=base_url('images/icons/bbs_new.jpg');?>" alt="新規投稿" name="toukou" width="150" height="50" border="0" id="toukou" /> |
|
| 20 | +<img src="<?=base_url('images/icons/bbs_new.jpg'); ?>" alt="新規投稿" name="toukou" width="150" height="50" border="0" id="toukou" /> |
|
| 21 | 21 | </div> |
| 22 | 22 | <div class="outer_frame"> |
| 23 | -<?=validation_errors();?> |
|
| 24 | -<?=form_open('bbs/confirm');?> |
|
| 23 | +<?=validation_errors(); ?> |
|
| 24 | +<?=form_open('bbs/confirm'); ?> |
|
| 25 | 25 | <p> |
| 26 | 26 | <label for="name">名前: </label> |
| 27 | -<input type="text" name="name" size="50" value="<?=html_escape($name);?>"/> |
|
| 27 | +<input type="text" name="name" size="50" value="<?=html_escape($name); ?>"/> |
|
| 28 | 28 | <br /> |
| 29 | 29 | <label for="email">メールアドレス: </label> |
| 30 | -<input type="text" name="email" size="50" value="<?=html_escape($email);?>"/> |
|
| 30 | +<input type="text" name="email" size="50" value="<?=html_escape($email); ?>"/> |
|
| 31 | 31 | <br /> |
| 32 | 32 | <label for="subject">件名: </label> |
| 33 | -<input type="text" name="subject" size="50" value="<?=html_escape($subject);?>"/> |
|
| 33 | +<input type="text" name="subject" size="50" value="<?=html_escape($subject); ?>"/> |
|
| 34 | 34 | <br /> |
| 35 | 35 | <label for="body">内容: </label> |
| 36 | -<textarea name="body" rows="10" cols="50"><?=html_escape($body);?></textarea> |
|
| 36 | +<textarea name="body" rows="10" cols="50"><?=html_escape($body); ?></textarea> |
|
| 37 | 37 | <br /> |
| 38 | 38 | <label for="password">削除パスワード: </label> |
| 39 | -<input type="text" name="password" size="20" value="<?=html_escape($password);?>"/> |
|
| 39 | +<input type="text" name="password" size="20" value="<?=html_escape($password); ?>"/> |
|
| 40 | 40 | <br /> |
| 41 | 41 | <label for="captcha">画像認証コード: </label> |
| 42 | 42 | <input type="text" name="captcha" value="" /> |
| 43 | 43 | <?=$image?> |
| 44 | -<?=form_hidden('key', $key);?> |
|
| 44 | +<?=form_hidden('key', $key); ?> |
|
| 45 | 45 | <input type="submit" value="送信" /> |
| 46 | 46 | </p> |
| 47 | -<?=form_close();?> |
|
| 47 | +<?=form_close(); ?> |
|
| 48 | 48 | </div> |
| 49 | 49 | </div> |
| 50 | 50 | |
@@ -19,43 +19,43 @@ |
||
| 19 | 19 | <td> </td> |
| 20 | 20 | </tr> |
| 21 | 21 | <tr> |
| 22 | -<td bgcolor="#FFCCFF"><?=validation_errors();?></td> |
|
| 22 | +<td bgcolor="#FFCCFF"><?=validation_errors(); ?></td> |
|
| 23 | 23 | </tr> |
| 24 | 24 | <tr> |
| 25 | 25 | <td> </td> |
| 26 | 26 | </tr> |
| 27 | 27 | </table> |
| 28 | 28 | |
| 29 | -<?=form_open('bbs/confirm');?> |
|
| 29 | +<?=form_open('bbs/confirm'); ?> |
|
| 30 | 30 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
| 31 | 31 | <tr> |
| 32 | -<td bgcolor="#EEEEEe">名前<br><input type="text" name="name" value="<?=html_escape($name);?>"></td> |
|
| 32 | +<td bgcolor="#EEEEEe">名前<br><input type="text" name="name" value="<?=html_escape($name); ?>"></td> |
|
| 33 | 33 | </tr> |
| 34 | 34 | <tr> |
| 35 | -<td>メールアドレス<br><input type="text" name="email" value="<?=html_escape($email);?>"></td> |
|
| 35 | +<td>メールアドレス<br><input type="text" name="email" value="<?=html_escape($email); ?>"></td> |
|
| 36 | 36 | </tr> |
| 37 | 37 | <tr> |
| 38 | -<td bgcolor="#EEEEEE">件名<br><input type="text" name="subject" value="<?=html_escape($subject);?>"></td> |
|
| 38 | +<td bgcolor="#EEEEEE">件名<br><input type="text" name="subject" value="<?=html_escape($subject); ?>"></td> |
|
| 39 | 39 | </tr> |
| 40 | 40 | <tr> |
| 41 | -<td>内容<br><textarea name="body" rows="3"><?=html_escape($body);?></textarea></td> |
|
| 41 | +<td>内容<br><textarea name="body" rows="3"><?=html_escape($body); ?></textarea></td> |
|
| 42 | 42 | </tr> |
| 43 | 43 | <tr> |
| 44 | -<td bgcolor="#EEEEEE">削除パスワード<br><input type="text" name="password" value="<?=html_escape($password);?>"></td> |
|
| 44 | +<td bgcolor="#EEEEEE">削除パスワード<br><input type="text" name="password" value="<?=html_escape($password); ?>"></td> |
|
| 45 | 45 | </tr> |
| 46 | 46 | <tr> |
| 47 | 47 | <td>画像認証コード<br><?=$image?> |
| 48 | 48 | <br> |
| 49 | 49 | <input type="text" name="captcha" value="" /> |
| 50 | -<?=form_hidden('key', $key);?> |
|
| 50 | +<?=form_hidden('key', $key); ?> |
|
| 51 | 51 | <br> |
| 52 | 52 | <input type="submit" value="確認画面に進む"></td> |
| 53 | 53 | </tr> |
| 54 | 54 | </table> |
| 55 | -<?=form_close();?> |
|
| 55 | +<?=form_close(); ?> |
|
| 56 | 56 | |
| 57 | 57 | <hr> |
| 58 | -<?=anchor('bbs', 'トップに戻る');?> |
|
| 58 | +<?=anchor('bbs', 'トップに戻る'); ?> |
|
| 59 | 59 | |
| 60 | 60 | </body> |
| 61 | 61 | </html> |
@@ -2,24 +2,24 @@ discard block |
||
| 2 | 2 | <html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"> |
| 3 | 3 | <head> |
| 4 | 4 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 5 | -<link rel="stylesheet" href="<?=base_url('css/bbs.css');?>" type="text/css" /> |
|
| 6 | -<script type="text/javascript" src="<?=base_url('js/bbs.js');?>"></script> |
|
| 5 | +<link rel="stylesheet" href="<?=base_url('css/bbs.css'); ?>" type="text/css" /> |
|
| 6 | +<script type="text/javascript" src="<?=base_url('js/bbs.js'); ?>"></script> |
|
| 7 | 7 | <title>掲示板</title> |
| 8 | 8 | </head> |
| 9 | 9 | |
| 10 | -<body onload="MM_preloadImages('<?=base_url('images/icons/bbs_new_on.jpg');?>')"> |
|
| 10 | +<body onload="MM_preloadImages('<?=base_url('images/icons/bbs_new_on.jpg'); ?>')"> |
|
| 11 | 11 | <!-- header --> |
| 12 | 12 | <?php $this->load->view('bbs_header'); ?> |
| 13 | 13 | |
| 14 | 14 | <!-- main --> |
| 15 | 15 | <div id="main"> |
| 16 | 16 | <div class="title_banner"> |
| 17 | -<img src="<?=base_url('images/icons/bbs_titile.jpg');?>" alt="掲示板" width="580" height="70" /> |
|
| 17 | +<img src="<?=base_url('images/icons/bbs_titile.jpg'); ?>" alt="掲示板" width="580" height="70" /> |
|
| 18 | 18 | </div> |
| 19 | 19 | |
| 20 | 20 | <div class="bbs_new_post_button"> |
| 21 | -<a href="<?=$this->config->site_url();?>bbs/post"> |
|
| 22 | -<img src="<?=base_url('images/icons/bbs_new_off.jpg');?>" alt="新規投稿" name="toukou" width="150" height="50" border="0" id="toukou" onmouseover="MM_swapImage('toukou','','<?=base_url('images/icons/bbs_new_on.jpg');?>',1)" onmouseout="MM_swapImgRestore()" /> |
|
| 21 | +<a href="<?=$this->config->site_url(); ?>bbs/post"> |
|
| 22 | +<img src="<?=base_url('images/icons/bbs_new_off.jpg'); ?>" alt="新規投稿" name="toukou" width="150" height="50" border="0" id="toukou" onmouseover="MM_swapImage('toukou','','<?=base_url('images/icons/bbs_new_on.jpg'); ?>',1)" onmouseout="MM_swapImgRestore()" /> |
|
| 23 | 23 | </a> |
| 24 | 24 | </div> |
| 25 | 25 | |
@@ -27,19 +27,19 @@ discard block |
||
| 27 | 27 | <?=$pagination?> |
| 28 | 28 | |
| 29 | 29 | <!-- ここから、php endforeachまで、記事を表示するループです。 --> |
| 30 | -<?php foreach($query->result() as $row): ?> |
|
| 30 | +<?php foreach ($query->result() as $row): ?> |
|
| 31 | 31 | <div class="article"> |
| 32 | -<h1 class="f_bbs_titile"><a id="id<?=html_escape($row->id);?>" name="id<?=html_escape($row->id);?>">[<?=html_escape($row->id);?>]</a> |
|
| 33 | -<?=html_escape($row->subject);?></h1> |
|
| 34 | -<div class="f_bbs_coment"><?=html_escape($row->name);?> |
|
| 35 | -<?=html_escape($row->datetime);?> </div> |
|
| 36 | -<div class="f_bbs_coment"><?=nl2br(html_escape($row->body));?></div> |
|
| 32 | +<h1 class="f_bbs_titile"><a id="id<?=html_escape($row->id); ?>" name="id<?=html_escape($row->id); ?>">[<?=html_escape($row->id); ?>]</a> |
|
| 33 | +<?=html_escape($row->subject); ?></h1> |
|
| 34 | +<div class="f_bbs_coment"><?=html_escape($row->name); ?> |
|
| 35 | +<?=html_escape($row->datetime); ?> </div> |
|
| 36 | +<div class="f_bbs_coment"><?=nl2br(html_escape($row->body)); ?></div> |
|
| 37 | 37 | <!-- 記事を削除するためのフォームを表示します。 --> |
| 38 | 38 | <div class="f_bbs_delete"> |
| 39 | -<?=form_open('bbs/delete/'. $row->id);?> |
|
| 39 | +<?=form_open('bbs/delete/'.$row->id); ?> |
|
| 40 | 40 | 削除パスワード: <input type="text" name="password" size="12" value="" /> |
| 41 | 41 | <input type="submit" value="削除" /> |
| 42 | -<?=form_close();?> |
|
| 42 | +<?=form_close(); ?> |
|
| 43 | 43 | </div><!-- end of f_bbs_delete --> |
| 44 | 44 | </div><!-- end of article --> |
| 45 | 45 | <?php endforeach; ?> |
@@ -10,26 +10,26 @@ |
||
| 10 | 10 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
| 11 | 11 | <tr><td bgcolor="#9999FF"><a name="top">モバイル掲示板</a></td></tr> |
| 12 | 12 | <tr><td> </td></tr> |
| 13 | -<tr><td bgcolor="#EEEEEE"><?=anchor('bbs/post', '>>新規投稿');?></td></tr> |
|
| 13 | +<tr><td bgcolor="#EEEEEE"><?=anchor('bbs/post', '>>新規投稿'); ?></td></tr> |
|
| 14 | 14 | <tr><td> </td></tr> |
| 15 | 15 | <!-- ページネーションを表示します。 --> |
| 16 | 16 | <?=$pagination?> |
| 17 | 17 | </table> |
| 18 | 18 | <!-- ここから、php endforeachまで、記事を表示するループです。 --> |
| 19 | -<?php foreach($query->result() as $row): ?> |
|
| 19 | +<?php foreach ($query->result() as $row): ?> |
|
| 20 | 20 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
| 21 | -<tr><td bgcolor="#BBBBFF"><a name="id<?=html_escape($row->id);?>">[<?=html_escape($row->id);?>]</a> |
|
| 22 | -<?=html_escape($row->subject);?></td></tr> |
|
| 21 | +<tr><td bgcolor="#BBBBFF"><a name="id<?=html_escape($row->id); ?>">[<?=html_escape($row->id); ?>]</a> |
|
| 22 | +<?=html_escape($row->subject); ?></td></tr> |
|
| 23 | 23 | <tr> |
| 24 | -<td><?=html_escape($row->name);?> <?=html_escape($row->datetime);?></td> |
|
| 24 | +<td><?=html_escape($row->name); ?> <?=html_escape($row->datetime); ?></td> |
|
| 25 | 25 | </tr> |
| 26 | -<tr><td bgcolor="#EEEEEE"><?=nl2br(html_escape($row->body));?></td></tr> |
|
| 26 | +<tr><td bgcolor="#EEEEEE"><?=nl2br(html_escape($row->body)); ?></td></tr> |
|
| 27 | 27 | <!-- 記事を削除するためのフォームを表示します。 --> |
| 28 | -<tr><td><?=form_open('bbs/delete/'. $row->id);?> |
|
| 28 | +<tr><td><?=form_open('bbs/delete/'.$row->id); ?> |
|
| 29 | 29 | 削除パスワード:<br> |
| 30 | 30 | <input type="text" name="password" value=""> |
| 31 | 31 | <input type="submit" value="削除"> |
| 32 | -<?=form_close();?></td></tr> |
|
| 32 | +<?=form_close(); ?></td></tr> |
|
| 33 | 33 | <tr><td> </td></tr> |
| 34 | 34 | <?=$pagination?> |
| 35 | 35 | </table> |
@@ -4,10 +4,10 @@ discard block |
||
| 4 | 4 | |
| 5 | 5 | A PHP Error was encountered |
| 6 | 6 | |
| 7 | -Severity: <?php echo $severity;?> |
|
| 8 | -Message: <?php echo $message;?> |
|
| 9 | -Filename: <?php echo $filepath;?> |
|
| 10 | -Line Number: <?php echo $line;?> |
|
| 7 | +Severity: <?php echo $severity; ?> |
|
| 8 | +Message: <?php echo $message; ?> |
|
| 9 | +Filename: <?php echo $filepath; ?> |
|
| 10 | +Line Number: <?php echo $line; ?> |
|
| 11 | 11 | |
| 12 | 12 | <?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?> |
| 13 | 13 | |
@@ -15,9 +15,9 @@ discard block |
||
| 15 | 15 | <?php foreach (debug_backtrace() as $error): ?> |
| 16 | 16 | <?php if (isset($error['file']) && strpos($error['file'], realpath(BASEPATH)) !== 0): ?> |
| 17 | 17 | |
| 18 | - File: <?php echo $error['file'];?> |
|
| 19 | - Line: <?php echo $error['line'];?> |
|
| 20 | - Function: <?php echo $error['function'];?> |
|
| 18 | + File: <?php echo $error['file']; ?> |
|
| 19 | + Line: <?php echo $error['line']; ?> |
|
| 20 | + Function: <?php echo $error['function']; ?> |
|
| 21 | 21 | |
| 22 | 22 | <?php endif ?> |
| 23 | 23 | |
@@ -4,7 +4,7 @@ discard block |
||
| 4 | 4 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 5 | 5 | <!-- URLヘルパーのbase_url()メソッドは、メイン設定ファイルで設定した |
| 6 | 6 | base_urlを返します。 --> |
| 7 | -<link rel="stylesheet" href="<?=base_url('css/form.css');?>" type="text/css" /> |
|
| 7 | +<link rel="stylesheet" href="<?=base_url('css/form.css'); ?>" type="text/css" /> |
|
| 8 | 8 | <title>コンタクトフォーム</title> |
| 9 | 9 | </head> |
| 10 | 10 | |
@@ -15,12 +15,12 @@ discard block |
||
| 15 | 15 | <!-- メイン部分です。 --> |
| 16 | 16 | <div id="main"> |
| 17 | 17 | <div class="title_banner"> |
| 18 | -<img src="<?=base_url('images/icons/form_titile.jpg');?>" alt="お問い合わせ" width="580" height="70" /> |
|
| 18 | +<img src="<?=base_url('images/icons/form_titile.jpg'); ?>" alt="お問い合わせ" width="580" height="70" /> |
|
| 19 | 19 | </div> |
| 20 | 20 | |
| 21 | 21 | <div class="outer_frame"> |
| 22 | 22 | <!-- Formヘルパーのform_open()メソッドで<form>タグを生成します。 --> |
| 23 | -<?=form_open('form/confirm');?> |
|
| 23 | +<?=form_open('form/confirm'); ?> |
|
| 24 | 24 | <table> |
| 25 | 25 | <tr><th>名前</th> |
| 26 | 26 | <td> |
@@ -30,20 +30,20 @@ discard block |
||
| 30 | 30 | 知れませんが、これは、検証でエラーの場合、この同じビューファイルを使って |
| 31 | 31 | フォームを表示するためです。このようにビューを使えば、最初のフォームの表示 |
| 32 | 32 | とエラー時のフォームの再表示を、ひとつのビューで済ますことができます。 --> |
| 33 | - <input type="text" name="name" value="<?=set_value('name');?>" size="30" /> |
|
| 33 | + <input type="text" name="name" value="<?=set_value('name'); ?>" size="30" /> |
|
| 34 | 34 | <!-- form_error('name')は、nameフィールドの検証で |
| 35 | 35 | エラーがあった場合に、表示するエラーメッセージを返します。 --> |
| 36 | - <?=form_error('name');?> |
|
| 36 | + <?=form_error('name'); ?> |
|
| 37 | 37 | </td></tr> |
| 38 | 38 | <tr><th>メールアドレス</th> |
| 39 | 39 | <td> |
| 40 | - <input type="text" name="email" value="<?=set_value('email');?>" size="30" /> |
|
| 41 | - <?=form_error('email');?> |
|
| 40 | + <input type="text" name="email" value="<?=set_value('email'); ?>" size="30" /> |
|
| 41 | + <?=form_error('email'); ?> |
|
| 42 | 42 | </td></tr> |
| 43 | 43 | <tr><th>コメント</th> |
| 44 | 44 | <td> |
| 45 | - <textarea name="comment" rows="4" cols="30"><?=set_value('comment');?></textarea> |
|
| 46 | - <?=form_error('comment');?> |
|
| 45 | + <textarea name="comment" rows="4" cols="30"><?=set_value('comment'); ?></textarea> |
|
| 46 | + <?=form_error('comment'); ?> |
|
| 47 | 47 | </td></tr> |
| 48 | 48 | <tr><td></td> |
| 49 | 49 | <td class="center"> |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | <!-- Formヘルパーのform_close()メソッドで</form>タグを生成します。 |
| 54 | 54 | form_open()メソッドを使った場合は、このメソッドを使うことでHTML文法 |
| 55 | 55 | チェッカのエラーを回避できます。 --> |
| 56 | -<?=form_close();?> |
|
| 56 | +<?=form_close(); ?> |
|
| 57 | 57 | </div> |
| 58 | 58 | </div> |
| 59 | 59 | |
@@ -2,7 +2,7 @@ discard block |
||
| 2 | 2 | <html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"> |
| 3 | 3 | <head> |
| 4 | 4 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 5 | -<link rel="stylesheet" href="<?=base_url('css/form.css');?>" type="text/css" /> |
|
| 5 | +<link rel="stylesheet" href="<?=base_url('css/form.css'); ?>" type="text/css" /> |
|
| 6 | 6 | <title>コンタクトフォーム(確認)</title> |
| 7 | 7 | </head> |
| 8 | 8 | |
@@ -13,41 +13,41 @@ discard block |
||
| 13 | 13 | <!-- main --> |
| 14 | 14 | <div id="main"> |
| 15 | 15 | <div class="title_banner"> |
| 16 | -<img src="<?=base_url('images/icons/form_titile.jpg');?>" alt="お問い合わせ" width="580" height="70" /> |
|
| 16 | +<img src="<?=base_url('images/icons/form_titile.jpg'); ?>" alt="お問い合わせ" width="580" height="70" /> |
|
| 17 | 17 | </div> |
| 18 | 18 | |
| 19 | 19 | <div class="outer_frame"> |
| 20 | 20 | <p class="center">お問い合わせ内容の確認</p> |
| 21 | 21 | <table> |
| 22 | 22 | <tr><th>名前</th> |
| 23 | - <td><?=set_value('name');?></td> |
|
| 23 | + <td><?=set_value('name'); ?></td> |
|
| 24 | 24 | </tr> |
| 25 | 25 | <tr><th>メールアドレス</th> |
| 26 | - <td><?=set_value('email');?></td> |
|
| 26 | + <td><?=set_value('email'); ?></td> |
|
| 27 | 27 | </tr> |
| 28 | 28 | <tr><th>コメント</th> |
| 29 | - <td><pre><?=set_value('comment');?></pre></td> |
|
| 29 | + <td><pre><?=set_value('comment'); ?></pre></td> |
|
| 30 | 30 | </tr> |
| 31 | 31 | <tr><td></td> |
| 32 | 32 | <td class="center"> |
| 33 | 33 | <!-- 入力を修正するための、隠しフィールドに入力値を仕込んだ |
| 34 | 34 | フォームを表示します。Formヘルパーで値を表示する場合、自動的に文字参照に |
| 35 | 35 | 置換されます。 --> |
| 36 | - <?=form_open('form');?> |
|
| 37 | - <?=form_hidden('name', $this->input->post('name'));?> |
|
| 38 | - <?=form_hidden('email', $this->input->post('email'));?> |
|
| 39 | - <?=form_hidden('comment', $this->input->post('comment'));?> |
|
| 36 | + <?=form_open('form'); ?> |
|
| 37 | + <?=form_hidden('name', $this->input->post('name')); ?> |
|
| 38 | + <?=form_hidden('email', $this->input->post('email')); ?> |
|
| 39 | + <?=form_hidden('comment', $this->input->post('comment')); ?> |
|
| 40 | 40 | <input class="button" type="submit" value="修正" /> |
| 41 | - <?=form_close();?> |
|
| 41 | + <?=form_close(); ?> |
|
| 42 | 42 | <!-- 入力がOKの場合に、次の完了ページへ進むためのフォームを表示します。 |
| 43 | 43 | ここでも、同様に、隠しフィールドに入力値を仕込み、次のページに渡します。 |
| 44 | 44 | ワンタイムチケットを忘れないようにしましょう。 --> |
| 45 | - <?=form_open('form/send');?> |
|
| 46 | - <?=form_hidden('name', $this->input->post('name'));?> |
|
| 47 | - <?=form_hidden('email', $this->input->post('email'));?> |
|
| 48 | - <?=form_hidden('comment', $this->input->post('comment'));?> |
|
| 45 | + <?=form_open('form/send'); ?> |
|
| 46 | + <?=form_hidden('name', $this->input->post('name')); ?> |
|
| 47 | + <?=form_hidden('email', $this->input->post('email')); ?> |
|
| 48 | + <?=form_hidden('comment', $this->input->post('comment')); ?> |
|
| 49 | 49 | <input class="button" type="submit" value="送信" /> |
| 50 | - <?=form_close();?> |
|
| 50 | + <?=form_close(); ?> |
|
| 51 | 51 | </td> |
| 52 | 52 | </tr> |
| 53 | 53 | </table> |
@@ -2,7 +2,7 @@ discard block |
||
| 2 | 2 | <html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"> |
| 3 | 3 | <head> |
| 4 | 4 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 5 | -<link rel="stylesheet" href="<?=base_url('css/form.css');?>" type="text/css" /> |
|
| 5 | +<link rel="stylesheet" href="<?=base_url('css/form.css'); ?>" type="text/css" /> |
|
| 6 | 6 | <title>コンタクトフォーム(送信完了)</title> |
| 7 | 7 | </head> |
| 8 | 8 | |
@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | <!-- main --> |
| 14 | 14 | <div id="main"> |
| 15 | 15 | <div class="title_banner"> |
| 16 | -<img src="<?=base_url('images/icons/form_titile.jpg');?>" alt="お問い合わせ" width="580" height="70" /> |
|
| 16 | +<img src="<?=base_url('images/icons/form_titile.jpg'); ?>" alt="お問い合わせ" width="580" height="70" /> |
|
| 17 | 17 | </div> |
| 18 | 18 | |
| 19 | 19 | <div class="outer_frame"> |
@@ -2,10 +2,10 @@ |
||
| 2 | 2 | <div class="top_title"></div> |
| 3 | 3 | <div class="navi"> |
| 4 | 4 | <ul class="sitenavi"> |
| 5 | - <li class="menu_1"><img src="<?=base_url('images/icons/navi_icon-3.jpg');?>" alt="from" /></li> |
|
| 6 | - <li class="menu_2"><a href="<?=$this->config->site_url('form');?>">CIコンタクトフォーム</a></li> |
|
| 7 | - <li class="menu_1"><img src="<?=base_url('images/icons/navi_icon-4.jpg');?>" alt="home" /></li> |
|
| 8 | - <li class="menu_2"><a href="<?=base_url();?>">HOME</a></li> |
|
| 5 | + <li class="menu_1"><img src="<?=base_url('images/icons/navi_icon-3.jpg'); ?>" alt="from" /></li> |
|
| 6 | + <li class="menu_2"><a href="<?=$this->config->site_url('form'); ?>">CIコンタクトフォーム</a></li> |
|
| 7 | + <li class="menu_1"><img src="<?=base_url('images/icons/navi_icon-4.jpg'); ?>" alt="home" /></li> |
|
| 8 | + <li class="menu_2"><a href="<?=base_url(); ?>">HOME</a></li> |
|
| 9 | 9 | </ul> |
| 10 | 10 | </div> |
| 11 | 11 | <div class="top_kage"></div> |