-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
356 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<!--start-breadcrumbs--> | ||
<?= $breadCrumbs ?> | ||
<!--end-breadcrumbs--> | ||
<div class="cart-order"> | ||
|
||
<div class="container"> | ||
<?php require VIEWS ."/Cart/cart_modal.php"?> | ||
<form method="post" action="cart/checkout" role="form" data-toggle="validator"> | ||
<?php if(!isset($_SESSION['user'])): ?> | ||
<div class="form-group has-feedback"> | ||
<label for="login">Login</label> | ||
<input type="text" name="user[login]" class="form-control" id="login" placeholder="Login" value="<?= isset($_SESSION['form_data']['login']) ? $_SESSION['form_data']['login'] : '' ?>" required> | ||
<span class="glyphicon form-control-feedback" aria-hidden="true"></span> | ||
</div> | ||
<div class="form-group has-feedback"> | ||
<label for="pasword">Password</label> | ||
<input type="password" name="user[password]" class="form-control" id="pasword" placeholder="Password" value="<?= isset($_SESSION['form_data']['password']) ? $_SESSION['form_data']['password'] : '' ?>" data-minlength="6" data-error="Пароль должен включать не менее 6 символов" required> | ||
<span class="glyphicon form-control-feedback" aria-hidden="true"></span> | ||
<div class="help-block with-errors"></div> | ||
</div> | ||
<div class="form-group has-feedback"> | ||
<label for="name">Имя</label> | ||
<input type="text" name="user[name]" class="form-control" id="name" placeholder="Имя" value="<?= isset($_SESSION['form_data']['name']) ? $_SESSION['form_data']['name'] : '' ?>" required> | ||
<span class="glyphicon form-control-feedback" aria-hidden="true"></span> | ||
</div> | ||
<div class="form-group has-feedback"> | ||
<label for="email">Email</label> | ||
<input type="email" name="user[email]" class="form-control" id="email" placeholder="Email" value="<?= isset($_SESSION['form_data']['email']) ? $_SESSION['form_data']['email'] : '' ?>" required> | ||
<span class="glyphicon form-control-feedback" aria-hidden="true"></span> | ||
</div> | ||
<div class="form-group has-feedback"> | ||
<label for="address">Address</label> | ||
<input type="text" name="user[address]" class="form-control" id="address" placeholder="Address" value="<?= isset($_SESSION['form_data']['address']) ? $_SESSION['form_data']['address'] : '' ?>" required> | ||
<span class="glyphicon form-control-feedback" aria-hidden="true"></span> | ||
</div> | ||
<?php endif; ?> | ||
<?php if(!isset($cartEmpty)):?> | ||
|
||
<div class="form-group cart-note"> | ||
<label for="address">Note</label> | ||
<textarea name="note" class="form-control"></textarea> | ||
</div> | ||
<button type="submit" class="btn btn-default cart-note">Оформить</button> | ||
<?php endif; ?> | ||
</form> | ||
</div> | ||
|
||
</div> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
a:2:{s:4:"data";a:14:{i:1;a:5:{s:5:"title";s:3:"Men";s:5:"alias";s:3:"men";s:9:"parent_id";s:1:"0";s:8:"keywords";s:3:"Men";s:11:"description";s:3:"Men";}i:2;a:5:{s:5:"title";s:5:"Women";s:5:"alias";s:5:"women";s:9:"parent_id";s:1:"0";s:8:"keywords";s:5:"Women";s:11:"description";s:5:"Women";}i:3;a:5:{s:5:"title";s:4:"Kids";s:5:"alias";s:4:"kids";s:9:"parent_id";s:1:"0";s:8:"keywords";s:4:"Kids";s:11:"description";s:4:"Kids";}i:4;a:5:{s:5:"title";s:22:"Электронные";s:5:"alias";s:11:"elektronnye";s:9:"parent_id";s:1:"1";s:8:"keywords";s:22:"Электронные";s:11:"description";s:22:"Электронные";}i:5;a:5:{s:5:"title";s:24:"Механические";s:5:"alias";s:13:"mehanicheskie";s:9:"parent_id";s:1:"1";s:8:"keywords";s:13:"mehanicheskie";s:11:"description";s:13:"mehanicheskie";}i:6;a:5:{s:5:"title";s:5:"Casio";s:5:"alias";s:5:"casio";s:9:"parent_id";s:1:"4";s:8:"keywords";s:5:"Casio";s:11:"description";s:5:"Casio";}i:7;a:5:{s:5:"title";s:7:"Citizen";s:5:"alias";s:7:"citizen";s:9:"parent_id";s:1:"4";s:8:"keywords";s:7:"Citizen";s:11:"description";s:7:"Citizen";}i:8;a:5:{s:5:"title";s:12:"Royal London";s:5:"alias";s:12:"royal-london";s:9:"parent_id";s:1:"5";s:8:"keywords";s:12:"Royal London";s:11:"description";s:12:"Royal London";}i:9;a:5:{s:5:"title";s:5:"Seiko";s:5:"alias";s:5:"seiko";s:9:"parent_id";s:1:"5";s:8:"keywords";s:5:"Seiko";s:11:"description";s:5:"Seiko";}i:10;a:5:{s:5:"title";s:4:"Epos";s:5:"alias";s:4:"epos";s:9:"parent_id";s:1:"5";s:8:"keywords";s:4:"Epos";s:11:"description";s:4:"Epos";}i:11;a:5:{s:5:"title";s:22:"Электронные";s:5:"alias";s:14:"elektronnye-11";s:9:"parent_id";s:1:"2";s:8:"keywords";s:22:"Электронные";s:11:"description";s:22:"Электронные";}i:12;a:5:{s:5:"title";s:24:"Механические";s:5:"alias";s:16:"mehanicheskie-12";s:9:"parent_id";s:1:"2";s:8:"keywords";s:24:"Механические";s:11:"description";s:24:"Механические";}i:13;a:5:{s:5:"title";s:9:"Adriatica";s:5:"alias";s:9:"adriatica";s:9:"parent_id";s:2:"11";s:8:"keywords";s:9:"Adriatica";s:11:"description";s:9:"Adriatica";}i:14;a:5:{s:5:"title";s:10:"Anne Klein";s:5:"alias";s:10:"anne-klein";s:9:"parent_id";s:2:"12";s:8:"keywords";s:10:"Anne Klein";s:11:"description";s:10:"Anne Klein";}}s:8:"time_end";i:1598530690;} | ||
a:2:{s:4:"data";a:14:{i:1;a:5:{s:5:"title";s:3:"Men";s:5:"alias";s:3:"men";s:9:"parent_id";s:1:"0";s:8:"keywords";s:3:"Men";s:11:"description";s:3:"Men";}i:2;a:5:{s:5:"title";s:5:"Women";s:5:"alias";s:5:"women";s:9:"parent_id";s:1:"0";s:8:"keywords";s:5:"Women";s:11:"description";s:5:"Women";}i:3;a:5:{s:5:"title";s:4:"Kids";s:5:"alias";s:4:"kids";s:9:"parent_id";s:1:"0";s:8:"keywords";s:4:"Kids";s:11:"description";s:4:"Kids";}i:4;a:5:{s:5:"title";s:22:"Электронные";s:5:"alias";s:11:"elektronnye";s:9:"parent_id";s:1:"1";s:8:"keywords";s:22:"Электронные";s:11:"description";s:22:"Электронные";}i:5;a:5:{s:5:"title";s:24:"Механические";s:5:"alias";s:13:"mehanicheskie";s:9:"parent_id";s:1:"1";s:8:"keywords";s:13:"mehanicheskie";s:11:"description";s:13:"mehanicheskie";}i:6;a:5:{s:5:"title";s:5:"Casio";s:5:"alias";s:5:"casio";s:9:"parent_id";s:1:"4";s:8:"keywords";s:5:"Casio";s:11:"description";s:5:"Casio";}i:7;a:5:{s:5:"title";s:7:"Citizen";s:5:"alias";s:7:"citizen";s:9:"parent_id";s:1:"4";s:8:"keywords";s:7:"Citizen";s:11:"description";s:7:"Citizen";}i:8;a:5:{s:5:"title";s:12:"Royal London";s:5:"alias";s:12:"royal-london";s:9:"parent_id";s:1:"5";s:8:"keywords";s:12:"Royal London";s:11:"description";s:12:"Royal London";}i:9;a:5:{s:5:"title";s:5:"Seiko";s:5:"alias";s:5:"seiko";s:9:"parent_id";s:1:"5";s:8:"keywords";s:5:"Seiko";s:11:"description";s:5:"Seiko";}i:10;a:5:{s:5:"title";s:4:"Epos";s:5:"alias";s:4:"epos";s:9:"parent_id";s:1:"5";s:8:"keywords";s:4:"Epos";s:11:"description";s:4:"Epos";}i:11;a:5:{s:5:"title";s:22:"Электронные";s:5:"alias";s:14:"elektronnye-11";s:9:"parent_id";s:1:"2";s:8:"keywords";s:22:"Электронные";s:11:"description";s:22:"Электронные";}i:12;a:5:{s:5:"title";s:24:"Механические";s:5:"alias";s:16:"mehanicheskie-12";s:9:"parent_id";s:1:"2";s:8:"keywords";s:24:"Механические";s:11:"description";s:24:"Механические";}i:13;a:5:{s:5:"title";s:9:"Adriatica";s:5:"alias";s:9:"adriatica";s:9:"parent_id";s:2:"11";s:8:"keywords";s:9:"Adriatica";s:11:"description";s:9:"Adriatica";}i:14;a:5:{s:5:"title";s:10:"Anne Klein";s:5:"alias";s:10:"anne-klein";s:9:"parent_id";s:2:"12";s:8:"keywords";s:10:"Anne Klein";s:11:"description";s:10:"Anne Klein";}}s:8:"time_end";i:1598617088;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -94,4 +94,4 @@ a:2:{s:4:"data";s:1590:" | |
|
||
|
||
</li> | ||
";s:8:"time_end";i:1598530690;} | ||
";s:8:"time_end";i:1598617088;} |
Oops, something went wrong.