Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
smart_core_connect
/
core-connect
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5e3f8cf2
authored
May 30, 2018
by
Wittaya-PIM
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ปรับหน้า ViewCards
parent
f7e7521f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
www/src/Controller/UserCardsController.php
+2
-2
www/src/Template/UserCards/view_card.ctp
+1
-0
No files found.
www/src/Controller/UserCardsController.php
View file @
5e3f8cf2
...
...
@@ -306,11 +306,11 @@ class UserCardsController extends AppController
return
$this
->
redirect
([
'controller'
=>
'Profiles'
,
'action'
=>
'index'
]);
}
}
else
{
$this
->
Flash
->
success
(
__
(
'ลงทะเบียนไว้อยู่แล้ว'
));
$this
->
Flash
->
error
(
__
(
'ลงทะเบียนไว้อยู่แล้ว'
));
return
$this
->
redirect
([
'controller'
=>
'UserCards'
,
'action'
=>
'viewCard'
]);
}
}
else
{
$this
->
Flash
->
success
(
__
(
'ไม่พบข้อมูล'
));
$this
->
Flash
->
error
(
__
(
'ไม่พบข้อมูล'
));
return
$this
->
redirect
([
'controller'
=>
'UserCards'
,
'action'
=>
'viewCard'
]);
}
}
...
...
www/src/Template/UserCards/view_card.ctp
View file @
5e3f8cf2
...
...
@@ -141,6 +141,7 @@ use Cake\I18n\Time;
<img src="/img/core/img/bloc-plus@3x.png" class="img-responsive" style="width: 100%">
</div>
<div class="col-xs-1 col-sm-1 col-md-1 box-arrow"></div>
<?php echo $this->Flash->render(); ?>
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12">
<?php echo $this->Form->create('UserCards', ['id' => 'frmSignIn', 'type' => 'file', 'onsubmit' => 'return check();']); ?>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment