Commit 5da775bb by Prasong Putichanchai

no message

parent 1f2c42df
...@@ -35,7 +35,6 @@ ...@@ -35,7 +35,6 @@
<img src="/img/core/img/connect-card-v3.png" class="img-responsive" id="img-upload" alt="Profile picture"> <img src="/img/core/img/connect-card-v3.png" class="img-responsive" id="img-upload" alt="Profile picture">
</div> </div>
</div> </div>
<div class="col-xs-1 col-sm-1 col-md-1 box-arrow" > <div class="col-xs-1 col-sm-1 col-md-1 box-arrow" >
<a> <a>
<?php echo $this->Html->link( <?php echo $this->Html->link(
...@@ -64,8 +63,6 @@ ...@@ -64,8 +63,6 @@
<?php // echo $this->Form->input('user_id', ['class' => 'form-control-reg border-bottom-from label-text-sub', 'value' => $userProfile->username, 'id' => 'userId', 'type' => 'text', 'label' => __('ชื่อผู้ใช้งาน'), 'placeholder' => 'USERNAME']); ?> <?php // echo $this->Form->input('user_id', ['class' => 'form-control-reg border-bottom-from label-text-sub', 'value' => $userProfile->username, 'id' => 'userId', 'type' => 'text', 'label' => __('ชื่อผู้ใช้งาน'), 'placeholder' => 'USERNAME']); ?>
</div> </div>
</div> </div>
<?php // foreach ($userProfile->user['user_personals'] as $k => $userProfiles): ?>
<?php // debug($userProfiles); exit;?>
<div class="form-group has-feedback"> <div class="form-group has-feedback">
<div class="col-xs-12 col-sm-12 col-md-12"> <div class="col-xs-12 col-sm-12 col-md-12">
<?php echo __('ชื่อ');?><em>* </em> <?php echo __('ชื่อ');?><em>* </em>
...@@ -179,7 +176,6 @@ ...@@ -179,7 +176,6 @@
?> ?>
</div> </div>
</div> </div>
<?php // endforeach; ?>
<div> <div>
<?php // echo $this->Form->submit(__('SAVE')) ?> <?php // echo $this->Form->submit(__('SAVE')) ?>
<button type="submit" class="btn btn-quaternary mr-xs mb-sm button-text-profile">บันทึก</button> <button type="submit" class="btn btn-quaternary mr-xs mb-sm button-text-profile">บันทึก</button>
......
...@@ -3,14 +3,17 @@ use Cake\I18n\Time; ...@@ -3,14 +3,17 @@ use Cake\I18n\Time;
?> ?>
<div class="row"> <div class="row">
<div class="owl-carousel owl-theme" data-plugin-options="{'items': 1}"> <div class="owl-carousel owl-theme" data-plugin-options="{'items': 1}">
<?php foreach ($UserCards as $value) { ?> <?php
$i=0;
foreach ($UserCards as $value) { ?>
<div class="row"> <div class="row">
<div class="col-xs-1 col-sm-1 col-md-1 box-arrow left"> <div class="col-xs-1 col-sm-1 col-md-1 box-arrow left">
<i class="fa fa-angle-left prev"> </i> <i class="fa fa-angle-left prev"> </i>
</div> </div>
<div class="col-xs-10 col-sm-10 col-md-10"> <div class="col-xs-10 col-sm-10 col-md-10">
<div class="box-card"> <div class="box-card">
<div data-toggle="modal" data-target="#defaultModal" style="cursor: pointer; padding-right: 10px; padding-left: 10px;"> <div data-toggle="modal" data-target="#defaultModal_<?php echo $i;?>" style="cursor: pointer; padding-right: 10px; padding-left: 10px;">
<div class="row"> <div class="row">
<div class="col-xs-8"> <div class="col-xs-8">
<div style="font-size: 17px"> <div style="font-size: 17px">
...@@ -127,7 +130,11 @@ use Cake\I18n\Time; ...@@ -127,7 +130,11 @@ use Cake\I18n\Time;
<!--/.col-xs-12 --> <!--/.col-xs-12 -->
</div> </div>
<!--/.row --> <!--/.row -->
<?php } ?>
<?php
$i++;
}
?>
<div class="col-xs-12"> <div class="col-xs-12">
<div class="col-xs-1 col-sm-1 col-md-1 box-arrow left"> <div class="col-xs-1 col-sm-1 col-md-1 box-arrow left">
...@@ -185,7 +192,7 @@ use Cake\I18n\Time; ...@@ -185,7 +192,7 @@ use Cake\I18n\Time;
<!--/.owl-carousel --> <!--/.owl-carousel -->
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-12"> <div class="col-xs-12 col-sm-12 col-md-12">
<div class="modal fade" id="defaultModal" tabindex="-1" role="dialog" aria-labelledby="defaultModalLabel" aria-hidden="true"> <div class="modal fade" id="defaultModal_<?php echo $i;?>" tabindex="-1" role="dialog" aria-labelledby="defaultModalLabel" aria-hidden="true">
<div class="modal-dialog box-ads"> <div class="modal-dialog box-ads">
<a class="close-modal" data-dismiss="modal">X </a> <a class="close-modal" data-dismiss="modal">X </a>
<div class="container login-container"> <div class="container login-container">
...@@ -251,8 +258,11 @@ use Cake\I18n\Time; ...@@ -251,8 +258,11 @@ use Cake\I18n\Time;
<!--/.owl-carousel--> <!--/.owl-carousel-->
</div> </div>
</div> </div>
<!--/.container -->
</div> </div>
<!--/.box-ads -->
</div> </div>
<!--/.defaultModal -->
</div> </div>
</div> </div>
</div> </div>
...@@ -645,6 +655,8 @@ use Cake\I18n\Time; ...@@ -645,6 +655,8 @@ use Cake\I18n\Time;
autoclose: true, autoclose: true,
}; };
date_input.datepicker(options); date_input.datepicker(options);
}) })
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment