commit 04e657a75b821f893c6ddacb39f018ca408978f1
Author: root <root@localhost.localdomain>
Date:   Tue Mar 1 07:56:06 2016 -0500

    ユーザー登録機能実装

diff --git a/app/Config/bootstrap.php b/app/Config/bootstrap.php
index 73f8f00..cf2cb01 100755
--- a/app/Config/bootstrap.php
+++ b/app/Config/bootstrap.php
@@ -99,6 +99,7 @@ Configure::write('Dispatcher.filters', array(
  * Configures default file logging options
  */
 App::uses('CakeLog', 'Log');
+App::uses( 'CakeEmail', 'Network/Email');
 CakeLog::config('debug', array(
 	'engine' => 'File',
 	'types' => array('notice', 'info', 'debug'),
diff --git a/app/Config/core.php b/app/Config/core.php
index 5afca1a..c10faa2 100755
--- a/app/Config/core.php
+++ b/app/Config/core.php
@@ -34,7 +34,7 @@
  * In production mode, flash messages redirect after a time interval.
  * In development mode, you need to click the flash message to continue.
  */
-	Configure::write('debug', 2);
+	Configure::write('debug',22 );
 
 /**
  * Configure the Error handler used to handle errors for your application. By default
diff --git a/app/Config/email.php b/app/Config/email.php
new file mode 100755
index 0000000..20fe8e2
--- /dev/null
+++ b/app/Config/email.php
@@ -0,0 +1,91 @@
+<?php
+/**
+ * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
+ * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
+ *
+ * Licensed under The MIT License
+ * For full copyright and license information, please see the LICENSE.txt
+ * Redistributions of files must retain the above copyright notice.
+ *
+ * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
+ * @link          http://cakephp.org CakePHP(tm) Project
+ * @package       app.Config
+ * @since         CakePHP(tm) v 2.0.0
+ * @license       http://www.opensource.org/licenses/mit-license.php MIT License
+ */
+
+/**
+ * This is email configuration file.
+ *
+ * Use it to configure email transports of CakePHP.
+ *
+ * Email configuration class.
+ * You can specify multiple configurations for production, development and testing.
+ *
+ * transport => The name of a supported transport; valid options are as follows:
+ *  Mail - Send using PHP mail function
+ *  Smtp - Send using SMTP
+ *  Debug - Do not send the email, just return the result
+ *
+ * You can add custom transports (or override existing transports) by adding the
+ * appropriate file to app/Network/Email. Transports should be named 'YourTransport.php',
+ * where 'Your' is the name of the transport.
+ *
+ * from =>
+ * The origin email. See CakeEmail::from() about the valid values
+ */
+class EmailConfig {
+
+	public $default = array(
+		'transport' => 'Mail',
+		'from' => 'you@localhost',
+		//'charset' => 'utf-8',
+		//'headerCharset' => 'utf-8',
+	);
+
+	public $smtp = array(
+		'transport' => 'Smtp',
+		'from' => array('site@localhost' => 'My Site'),
+		'host' => 'localhost',
+		'port' => 25,
+		'timeout' => 30,
+		'username' => 'user',
+		'password' => 'secret',
+		'client' => null,
+		'log' => false,
+		//'charset' => 'utf-8',
+		//'headerCharset' => 'utf-8',
+	);
+
+	public $fast = array(
+		'from' => 'you@localhost',
+		'sender' => null,
+		'to' => null,
+		'cc' => null,
+		'bcc' => null,
+		'replyTo' => null,
+		'readReceipt' => null,
+		'returnPath' => null,
+		'messageId' => true,
+		'subject' => null,
+		'message' => null,
+		'headers' => null,
+		'viewRender' => null,
+		'template' => false,
+		'layout' => false,
+		'viewVars' => null,
+		'attachments' => null,
+		'emailFormat' => null,
+		'transport' => 'Smtp',
+		'host' => 'localhost',
+		'port' => 25,
+		'timeout' => 30,
+		'username' => 'user',
+		'password' => 'secret',
+		'client' => null,
+		'log' => true,
+		//'charset' => 'utf-8',
+		//'headerCharset' => 'utf-8',
+	);
+
+}
diff --git a/app/Controller/UsersController.php b/app/Controller/UsersController.php
index e10f428..ccbb42e 100755
--- a/app/Controller/UsersController.php
+++ b/app/Controller/UsersController.php
@@ -9,11 +9,10 @@ App::uses('AppController', 'Controller');
 class UsersController extends AppController {
 
 	public $layout = 'procedure';
-	// var $name = 'users';
 
     public function beforeFilter() {
         parent::beforeFilter();
-        $this->Auth->allow('add');
+        $this->Auth->allow('register','activate');
     }
 
 /**
@@ -48,6 +47,115 @@ class UsersController extends AppController {
 		$this->set('user', $this->User->find('first', $options));
 	}
 
+
+/**
+ * register method
+ *
+ * @return void
+ */
+	public function register() {
+		if($this->request->is('post') || $this->request->is('put')){
+			$this->User->set($this->request->data);
+			if($this->User->validates()){
+				$this->Session->write('register',$this->request->data);
+				$this->redirect(array('action'=>'confirm'));
+			}else{
+			}
+		}
+
+	   //  if (!empty( $this->data)){
+	   //      //  保存
+	   //      if( $this->User->set( $this->data)){
+	   //      // if( $this->User->save( $this->data)){
+	   //          // ユーザアクティベート(本登録)用URLの作成
+	   //          $url = 
+	   //              DS . strtolower($this->name) .          // コントローラ
+	   //              DS . 'activate' .                       // アクション
+	   //              DS . $this->User->id .                  // ユーザID
+	   //              DS . $this->User->getActivationHash();  // ハッシュ値
+	   //          $url = Router::url( $url, true);  // ドメイン(+サブディレクトリ)を付与
+	   //          //  メール送信
+	   //          //  return
+				// $this->redirect(array('action' => 'confirm'));
+				// $this->Session->write('register',$this->request->data);
+	   //          $this->Session->setFlash( '仮登録成功。メール送信しました。');
+	   //      } else {
+	   //          //  バリデーションエラーメッセージを渡す
+	   //          $this->Session->setFlash( '入力エラー');
+	   //      }
+	   //  }
+	}
+	
+/**
+ * register confirm
+ */
+	public function confirm() {
+		if($this->Session->read('register')){
+			$this->set('register',$this->Session->read('register'));
+		}else{
+			$this->redirect(array('action'=>'register'));
+		}
+	}
+
+
+/**
+ * register sent
+ */
+	public function sent() {
+		// if (!empty( $this->data)){
+	 //        //  保存
+	   if( $this->User->save($this->Session->read('register'))){
+	            //  メール送信
+		$this->set('register',$this->Session->read('register'));
+		$name = $this->Session->read('register.user.login_id');
+		$mail = $this->Session->read('register.user.email');
+        // ユーザアクティベート(本登録)用URLの作成
+        $url = 
+            DS . 'users' .          // コントローラ
+            DS . 'activate' .                       // アクション
+            DS . $this->User->id .                  // ユーザID
+            DS . $this->User->getActivationHash();  // ハッシュ値
+        $url = Router::url( $url, true);  // ドメイン(+サブディレクトリ)を付与
+		$comment = $url;
+
+		$Email = new CakeEmail();
+		$Email->charset('ISO-2022-JP');
+		$Email->emailFormat('text');
+		$Email->template('user_register');
+		$Email->viewVars(array('name'=>$name,'comment'=>$comment));
+		$Email->from($mail);
+		$Email->to('hasegawa@i-hearts.jp');
+		$Email->subject('[PICT CODE]問い合わせ');
+		$Email->send();
+
+	            //  return
+				// $this->redirect(array('action' => 'confirm'));
+	            // $this->Session->setFlash( '仮登録成功。メール送信しました。');
+	    //     } else {
+	    //         //  バリデーションエラーメッセージを渡す
+	    //         $this->Session->setFlash( '入力エラー');
+	    //     }
+	    }
+
+	}	
+
+/**
+ * register activate
+ */
+	public function activate( $user_id = null, $in_hash = null) {
+	    // UserモデルにIDをセット
+	    $this->User->id = $user_id;
+	    if ($this->User->exists() && $in_hash == $this->User->getActivationHash()) {
+	    // 本登録に有効なURL
+	        // statusフィールドを0に更新
+	        $this->User->saveField( 'status', 0);
+	        $this->Session->setFlash( 'Your account has been activated.');
+	    }else{
+	    // 本登録に無効なURL
+	        $this->Session->setFlash( 'Invalid activation URL');
+	    }
+	}
+	
 /**
  * add method
  *
@@ -140,4 +248,9 @@ class UsersController extends AppController {
 	public function logout() {
 	    $this->redirect($this->Auth->logout());
 	}
+
+
+
 }
+
+
diff --git a/app/Model/User.php b/app/Model/User.php
index 69ffbdf..1ec00e2 100755
--- a/app/Model/User.php
+++ b/app/Model/User.php
@@ -28,16 +28,26 @@ class User extends AppModel {
 				//'on' => 'create', // Limit validation to 'create' or 'update' operations
 			),
 		),
-		'password' => array(
-			'notBlank' => array(
-				'rule' => array('notBlank'),
-				//'message' => 'Your custom message here',
-				//'allowEmpty' => false,
-				//'required' => false,
-				//'last' => false, // Stop validation after this rule
-				//'on' => 'create', // Limit validation to 'create' or 'update' operations
-			),
-		),
+        'email' => array(
+            // メールアドレスであること。
+            'validEmail' => array( 'rule' => array( 'email', true), 'message' => 'アドレスを入力して下さい'),
+            // 一意性チェック
+            // 'emailExists' => array( 'rule' => 'isUnique', 'message' => '既に登録されています'),
+        ),
+        'password' => array(
+             // パスワード・確認用パスワードの一致
+             'match' => array( 'rule' => array( 'confirmPassword', 'password_confirm'), 'message' => '一致しません'),
+        ),
+		// 'password' => array(
+		// 	'notBlank' => array(
+		// 		'rule' => array('notBlank'),
+		// 		//'message' => 'Your custom message here',
+		// 		//'allowEmpty' => false,
+		// 		//'required' => false,
+		// 		//'last' => false, // Stop validation after this rule
+		// 		//'on' => 'create', // Limit validation to 'create' or 'update' operations
+		// 	),
+		// ),
 		'status' => array(
 			'numeric' => array(
 				'rule' => array('numeric'),
@@ -51,6 +61,25 @@ class User extends AppModel {
 	);
 
 
+
+    public function confirmPassword( $field, $password_confirm) {
+        if ($field['password'] === $this->data[$this->name][$password_confirm]) {
+            // パスワードハッシュ化
+            $this->data[$this->name]['password'] = Security::hash( $plain, 'sha512', true);
+            return true;
+        }
+    }
+
+	public function getActivationHash() {
+	    // ユーザIDの有無確認
+	    if (!isset($this->id)) {
+	        return false;
+	    }
+	    // 更新日時をハッシュ化
+	    return Security::hash( $this->field('updated'), 'md5', true);
+	}
+
+
 	public function beforeSave($options = array()) {
 	    if (isset($this->data[$this->alias]['password'])) {
 	        $passwordHasher = new BlowfishPasswordHasher();
diff --git a/app/View/Emails/text/user_register.ctp b/app/View/Emails/text/user_register.ctp
new file mode 100755
index 0000000..7f13c51
--- /dev/null
+++ b/app/View/Emails/text/user_register.ctp
@@ -0,0 +1,16 @@
+━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
+このメールは、PICT CODE から配信されています
+━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
+
+以下の内容で、お客様よりお問い合わせがありました。
+
+お名前：<?php echo $name;?>
+
+お問い合わせ内容：
+
+<?php echo $comment;?>
+
+━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
+PICT CODE カスタマーサポートセンター
+メールでのお問い合わせ： info@itkids.com
+━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
diff --git a/app/View/Layouts/procedure.ctp b/app/View/Layouts/procedure.ctp
index 2410de9..4550f1f 100755
--- a/app/View/Layouts/procedure.ctp
+++ b/app/View/Layouts/procedure.ctp
@@ -19,7 +19,7 @@
 	<!-- Le styles -->
 	<link rel="stylesheet" href="/css/bootstrap.min.css">
 	<!-- Custom CSS -->
-    <link href="/css/freelancer.css" rel="stylesheet">
+    <!-- <link href="/css/freelancer.css" rel="stylesheet"> -->
 	<link href = "/css/main.css" rel="stylesheet">
 	<!-- <link href="/css/pictcode/bootstrap/bootstrap.css" rel="stylesheet" > -->
 	<link href="/css/jquery-ui.min.css" rel="stylesheet" >	
@@ -47,30 +47,15 @@
 		<a href=""><img class="header_button right" type="button" src="/img/btn_header_014.png" alt=""></a>
 	</header>
 
-	<!-- メインコンテンツ -->
-
-	<script type="text/javascript">
-	$(function(){
-		reviseMargin();
-		$(window).on("resize",reviseMargin);
-		function reviseMargin(){
-			$("#contents").css({
-				"margin-top":$("header")[150].offsetHeight + "px",
-				"margin-bottom": $("footer")[450].offsetHeight + "px"
-			});
-		}
-	});
-	</script>
-
-
-
 
+	<!-- メインコンテンツ -->
 	<div class="container">
 
 		<?php echo $this->fetch('content'); ?>
 
 	</div><!-- /container -->
 
+
 	<!-- フッター -->
 
 	<footer>
diff --git a/app/View/Layouts/top.ctp b/app/View/Layouts/top.ctp
index 2162d6d..33f252d 100755
--- a/app/View/Layouts/top.ctp
+++ b/app/View/Layouts/top.ctp
@@ -51,7 +51,7 @@
 				<ul class="nav navbar-nav navbar-right">
 					<li><?php echo $this->Html->link('新規登録', array(
 						'controller' => 'users',
-						'action' => 'add'
+						'action' => 'register'
 					)); ?></li>
 					<li><?php echo $this->Html->link('ログイン', array(
 						'controller' => 'users',
diff --git a/app/View/users/activate.ctp b/app/View/users/activate.ctp
new file mode 100755
index 0000000..b4521e7
--- /dev/null
+++ b/app/View/users/activate.ctp
@@ -0,0 +1,28 @@
+	<main role="main">
+		<article class="register">
+			<h2>
+				<img src="/img/img_h1_register04.png" alt="PictCode登録 - 情報入力">
+			</h2>
+			<ol>
+			<li id="navigator01_off"></li>
+			<li id="navigator02_off"></li>
+			<li id="navigator03_off"></li>
+			<li id="navigator04_on"></li>
+			</ol>
+			<div id="contents">
+				<section>
+				<h3>登録が完了しました！</h3>
+				<p>この度は、PictCodeにご登録いただき誠にありがとうございます。<br>PictCodeは、これからIT技術を担っていくお子様達に、プログラミングを楽しんでもらうと同時に、プログラムを組む上で必要な「計画性」と「組織性」、そして「想像力」を育むツールでもあります。プログラミングにおいて、この無限大の可能性を持つツールを用いる事で、お子様の想像力を最大限に発揮させ、さらには世界を代表するような逸材に育てていきましょう！</p>
+				</section>
+
+
+			<?php 
+    echo $this->Session->flash();
+    echo $this->Html->link( 'ログイン画面へ', '/users/login');
+?>	
+			</div>
+				<section class="button_area01">
+					<a href="index.html"><p class="button btn_top02"></p></a>
+				</section>
+		</article>
+	</main>
diff --git a/app/View/users/add.ctp b/app/View/users/add.ctp
index 5771361..a39d4dd 100755
--- a/app/View/users/add.ctp
+++ b/app/View/users/add.ctp
@@ -1,17 +1,98 @@
-<div class="users form">
-<?php echo $this->Form->create('User'); ?>
+<main role="main">
+		<article class="register">
+			<h2>
+				<img src="/img/img_h1_register01.png" alt="PictCode登録 - 情報入力">
+			</h2>
+			<ol>
+			<li id="navigator01_on"></li>
+			<li id="navigator02_off"></li>
+			<li id="navigator03_off"></li>
+			<li id="navigator04_off"></li>
+			</ol>
+			<p class="">PictCodeに新規登録を行います。登録の際にはご両親の付き添い、または管理のもと、お間違いのないよう入力を行ってください。</p>
+			<div id="contents">
+			<?php echo $this->Form->create('User',array(
+										'div' => false,
+										'type'=>'post',
+										'action'=>'signup'
+										'inputDefaults' => array(
+											'before' => '<dt>',
+										    'between' => '</dt><dd>',
+										    'after' => '</dd>',
+											'wrapInput' => false,
+										),
+											'class' => 'well')); ?>
+				<fieldset>
+					<section>
+						<dl>
+							<?php
+								echo 
+								'<dt><label for="">ニックネーム</label></dt>
+								<dd>';
+								echo $this->Form->text('login_id',
+									array( 'type' => 'text',
+											'placeholder'=>'ニックネーム'
+										));
+								echo 
+								'</dd>
+								<dt><label for="">パスワード</label></dt>
+								<dd>';
+								echo $this->Form->text('password',
+									array( 'placeholder'=>'パスワード',
+											'maxlength' => '50',
+											'type' => 'password'
+										));
+								echo 
+								'</dd>
+								<dt><label for="">パスワード（確認用）</label></dt>
+								<dd>';
+								 echo $this->Form->text('password_confirm',
+								  	array( 'placeholder'=>'パスワード（確認用）',
+								  		 'maxlength' => '50', 
+								  		  'type' => 'password'
+								  		));
+								 echo
+								'</dd>
+								<dt><label for="">メールアドレス</label></dt>
+								<dd>';
+								echo $this->Form->text( 'username', array( 'maxlength' => '255', 'type' => 'email'));
+
+
+								 $this->Form->input('user_flg',1);
+								 $this->Form->input('status',1);
+							?>
+						</dl>
+					</section>
+				</fieldset>
+			<?php //echo $this->Form->end(__('Submit')); ?>
+			<?php echo $this->Form->end('Register'); ?>
+			</div>
+				<section class="button_area01">
+					<a href="index.html"><p class="button btn_back01"></p></a>
+					<a href="register_check.html"><p class="button btn_check01"></p></a>
+				</section>
+		</article>
+	</main>
+
+
+
+
+
+
+<!-- <div class="users form">
+<?php //echo $this->Form->create('User'); ?>
 	<fieldset>
-		<legend><?php echo __('Add User'); ?></legend>
+		<legend><?php //echo __('Add User'); ?></legend>
 	<?php
-		echo $this->Form->input('login_id',array( 'type' => 'text'));
-		echo $this->Form->input('password');
-		echo $this->Form->input('user_flg');
-		echo $this->Form->input('status', array(
-		            'options' => array('0' => 'Active', '1' => 'expire')));
+		//echo $this->Form->input('login_id',array( 'type' => 'text'));
+		//echo $this->Form->input('password');
+		//echo $this->Form->input('user_flg');
+		//echo $this->Form->input('status', array(
+		            //'options' => array('0' => 'Active', '1' => 'expire')));
 	?>
 	</fieldset>
-<?php echo $this->Form->end(__('Submit')); ?>
-</div>
+<?php //echo $this->Form->end(__('Submit')); ?>
+</div> -->
 <!-- <div class="actions">
 	<h3><?php //echo __('Actions'); ?></h3>
 	<ul>
diff --git a/app/View/users/confirm.ctp b/app/View/users/confirm.ctp
new file mode 100755
index 0000000..feeb172
--- /dev/null
+++ b/app/View/users/confirm.ctp
@@ -0,0 +1,32 @@
+	<main role="main">
+		<article class="register">
+			<h2>
+				<img src="/img/img_h1_register02.png" alt="PictCode登録 - 情報入力">
+			</h2>
+			<ol>
+			<li id="navigator01_off"></li>
+			<li id="navigator02_on"></li>
+			<li id="navigator03_off"></li>
+			<li id="navigator04_off"></li>
+			</ol>
+			<p class="">PictCodeに新規登録を行います。登録の際にはご両親の付き添い、または管理のもと、お間違いのないよう入力を行ってください。</p>
+			<div id="contents">
+				<section>
+					<dl>
+						<dt><label for="">ニックネーム</label></dt>
+						<dd><p><?php echo $register['User']['login_id'];?></p></dd>
+						<dt><label for="">パスワード</label></dt>
+						<dd><p><?php echo $register['User']['password'];?></p></dd>
+						<dt><label for="">メールアドレス</label></dt>
+						<dd><p><?php echo $register['User']['email'];?></p></dd>
+<!-- 						<dt><label for="">キャプチャコード</label></dt>
+						<dd><p><?php //echo data[User][email];?></p></dd>
+ -->					</dl>
+				</section>
+			</div>
+				<section class="button_area01">
+					<a href="register.html"><p class="button btn_alter01"></p></a>
+					<a href="/users/sent"><p class="button btn_register"></p></a>
+				</section>
+		</article>
+	</main>
diff --git a/app/View/users/register.ctp b/app/View/users/register.ctp
new file mode 100755
index 0000000..a96321a
--- /dev/null
+++ b/app/View/users/register.ctp
@@ -0,0 +1,110 @@
+<main role="main">
+		<article class="register">
+			<h2>
+				<img src="/img/img_h1_register01.png" alt="PictCode登録 - 情報入力">
+			</h2>
+			<ol>
+			<li id="navigator01_on"></li>
+			<li id="navigator02_off"></li>
+			<li id="navigator03_off"></li>
+			<li id="navigator04_off"></li>
+			</ol>
+			<p class="">PictCodeに新規登録を行います。登録の際にはご両親の付き添い、または管理のもと、お間違いのないよう入力を行ってください。</p>
+			<div id="contents">
+			<?php echo $this->Form->create('User',array(
+										'div' => false,
+										'type'=>'post',
+										//action'=>'register',
+										)); ?>
+				<fieldset>
+					<section>
+						<dl>
+							<?php
+								echo 
+								'<dt><label for="">ニックネーム</label></dt>
+								<dd>';
+								echo $this->Form->text('login_id',
+									array( 'type' => 'text',
+											'placeholder'=>'ニックネーム'
+										));
+								echo 
+								'</dd>
+								<dt><label for="">パスワード</label></dt>
+								<dd>';
+								echo $this->Form->text('password',
+									array( 'placeholder'=>'パスワード',
+											'maxlength' => '50',
+											'type' => 'password'
+										));
+								echo 
+								'</dd>
+								<dt><label for="">パスワード（確認用）</label></dt>
+								<dd>';
+								 echo $this->Form->text('password_confirm',
+								  	array( 'placeholder'=>'パスワード（確認用）',
+								  		 'maxlength' => '50', 
+								  		  'type' => 'password'
+								  		));
+								 echo
+								'</dd>
+								<dt><label for="">メールアドレス</label></dt>
+								<dd>';
+								echo $this->Form->text( 'email', array('placeholder'=>'メールアドレス',
+											'maxlength' => '255',
+								 			'type' => 'email'));
+
+
+								 $this->Form->input('user_flg',1);
+								 $this->Form->input('status',1);
+							?>
+						</dl>
+					</section>
+				</fieldset>
+				<?php echo $this->Form->submit('送信する',array('class'=>'btn btn-info')); ?>
+				<?php echo $this->Form->end(); ?>
+			<?php //echo $this->Form->end(__('Submit')); ?>
+			<?php //echo $this->Form->end('Register'); ?>
+			<?php //echo $this->Form->end(); ?>
+			</div>
+				<section class="button_area01">
+					<a href="javascript:history.back();">
+						<p class="button btn_back01"></p>
+					</a>
+					<a href="/confirm">
+						<p class="button btn_check01"></p>
+					</a>
+				</section>
+		</article>
+	</main>
+
+
+
+
+
+
+<!-- <div class="users form">
+<?php //echo $this->Form->create('User'); ?>
+	<fieldset>
+		<legend><?php //echo __('Add User'); ?></legend>
+	<?php
+		//echo $this->Form->input('login_id',array( 'type' => 'text'));
+		//echo $this->Form->input('password');
+		//echo $this->Form->input('user_flg');
+		//echo $this->Form->input('status', array(
+		            //'options' => array('0' => 'Active', '1' => 'expire')));
+	?>
+	</fieldset>
+<?php //echo $this->Form->end(__('Submit')); ?>
+</div> -->
+<!-- <div class="actions">
+	<h3><?php //echo __('Actions'); ?></h3>
+	<ul>
+
+		<li><?php //echo $this->Html->link(__('List Users'), array('action' => 'index')); ?></li>
+		<li><?php //echo $this->Html->link(__('List Logins'), array('controller' => 'logins', 'action' => 'index')); ?> </li>
+		<li><?php //echo $this->Html->link(__('New Login'), array('controller' => 'logins', 'action' => 'add')); ?> </li>
+		<li><?php //echo $this->Html->link(__('List Programs'), array('controller' => 'programs', 'action' => 'index')); ?> </li>
+		<li><?php //echo $this->Html->link(__('New Program'), array('controller' => 'programs', 'action' => 'add')); ?> </li>
+	</ul>
+</div>
+ -->
\ No newline at end of file
diff --git a/app/View/users/sent.ctp b/app/View/users/sent.ctp
new file mode 100755
index 0000000..0697f0e
--- /dev/null
+++ b/app/View/users/sent.ctp
@@ -0,0 +1,22 @@
+	<main role="main">
+		<article class="register">
+			<h2>
+				<img src="img/img_h1_register03.png" alt="PictCode登録 - 情報入力">
+			</h2>
+			<ol>
+			<li id="navigator01_off"></li>
+			<li id="navigator02_off"></li>
+			<li id="navigator03_on"></li>
+			<li id="navigator04_off"></li>
+			</ol>
+			<div id="contents">
+				<section>
+				<h3>認証メールを送信しました！</h3>
+				<p>ご入力いただいたメールアドレス宛に、登録承認メールを送信しました。メール内に記載されてあるURLにアクセスしますと本承認が完了します。<br>万が一、メールが来ない場合は、迷惑メール処理が行われている、もしくはメールアドレスに誤りがある可能性があります。その場合には大変お手数ですが、メールアドレス等をご確認の上、再度ご登録お願い致します。</p>
+				</section>
+			</div>
+				<section class="button_area01">
+					<a href="index.html"><p class="button btn_top01"></p></a>
+				</section>
+		</article>
+	</main>
diff --git a/app/View/users/user_register.ctp b/app/View/users/user_register.ctp
new file mode 100755
index 0000000..7f13c51
--- /dev/null
+++ b/app/View/users/user_register.ctp
@@ -0,0 +1,16 @@
+━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
+このメールは、PICT CODE から配信されています
+━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
+
+以下の内容で、お客様よりお問い合わせがありました。
+
+お名前：<?php echo $name;?>
+
+お問い合わせ内容：
+
+<?php echo $comment;?>
+
+━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
+PICT CODE カスタマーサポートセンター
+メールでのお問い合わせ： info@itkids.com
+━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
