<?php use Lib\View; View::header('<link rel="stylesheet" type="text/css" href="' . URL . 'views/success/content.css" />'); ?> <div class="success"> <h3><?php echo $this->args['success']; ?> .</h3> </div> <?php View::footer();
<?php use Lib\View; View::header('', 'Edycja'); ?> <div class="body vspace_4 row"> <?php require_once View::commonPath('sidenav.php'); ?> <div class="content"> <h3 class="h3profile">Edycja</h3> <div class="profile"> <form method="post" action="<?php echo URL . 'user/edition'; ?> "> <?php $names = array('imie', 'nazwisko', 'kraj', 'kod pocztowy', 'miasto', 'ulica', 'nr domu', 'nr mieszkania', 'telefon', 'email'); $post_names = array('firstname', 'surname', 'country', 'zipcode', 'city', 'street', 'house', 'appartment', 'phone', 'email'); $pos = 0; foreach ($this->args['personal_data'] as $data) { echo '<label>' . ucfirst($names[$pos]) . ': <input type="text" name="' . $post_names[$pos] . '" value="' . $data . '"/></label>'; $pos++; } ?> <input type="submit" name="save" class="btn" value="Zapisz zmiany"/> </form> </div>
<?php use Lib\View; View::header('<link rel="stylesheet" type="text/css" href="' . URL . 'views/login/content.css" />', 'Logowanie'); ?> <div class="body vspace_4 row"> <?php require_once View::commonPath('sidenav.php'); ?> <div class="content"> <div class="login_box"> <h1>Logowanie</h1> <?php if (!empty($this->args['error'])) { echo '<div class="error">'; echo $this->args['error']; echo '</div>'; } ?> <form method="post" action="<?php echo URL . 'login'; ?> " > <label>Login: <input type="text" name="login" required /></label> <label>Hasło: <input type="password" name="password" required /></label> <label>Zaloguj się jako admin <input style="display:inline; width:5%;" type="checkbox" name="admin"/></label> <input type="submit" class="btn" value="zaloguj się"/> </form> <span>Zapomniałeś hasła? <a href="<?php
<?php use Lib\View; View::header('<link rel="stylesheet" type="text/css" href="' . URL . 'views/changepassword/content.css" />', 'Zmiana hasła'); ?> <div class="body vspace_4 row"> <?php require_once View::commonPath('sidenav.php'); ?> <div class="content"> <?php if (!empty($this->args['errors'])) { ?> <ul class="error"> <?php foreach ($this->args['errors'] as $error) { echo '<li>' . $error . '</li>'; } ?> </ul> <?php } ?> <form action="<?php echo URL . 'passrecovery/complete'; ?> " method="post"> <label>Hasło: <input type="password" name="password" /></label>
<?php use Lib\View; View::header('<link rel="stylesheet" type="text/css" href="' . URL . 'views/home/content.css" />', 'Strona główna'); ?> <div class="body vspace_4 row"> <?php require_once View::commonPath('sidenav.php'); ?> <div class="content width_11"> <!-- MINE SLIDER START --> <div class="slider" id="main_slider"> <span class="left_arrow"></span> <?php if (!empty($this->args['slider'])) { ?> <?php foreach ($this->args['slider'] as $product) { ?> <div> <a href="<?php echo URL . 'product/nr/' . $product->getId(); ?> "> <img src="<?php echo URL . 'views/public/' . $product->getImage(); ?> " alt="buty" /> </a>
<?php use Lib\View; View::header('<link rel="stylesheet" type="text/css" href="' . URL . 'views/cart/content.css" />', 'Koszyk'); ?> <div class="body vspace_4 row"> <?php require_once View::commonPath('sidenav.php'); ?> <div class="content"> <h3>Koszyk:</h3> <div class="cart"> <?php if (empty($this->args['cart_data'])) { echo "<p>Twój koszyk jest pusty!</p>"; } else { ?> <table> <thead> <tr> <td style="width:40%;">Nazwa</td> <td style="width:10%;">Ilość</td> <td style="width:10%;">Cena</td> <td style="width:40%; ">Dodaj/Usuń</td> </tr> </thead> <?php foreach ($this->args['cart_data'] as $product) { echo '<form method="get" action="' . URL . 'cart/mod">'; echo '<input type="hidden" name="product_id" value="' . $product['product_id'] . '"/>';
<?php use Lib\View; View::header(); ?> <div class="content" style="height: 300px "> <?php $array = $this->args; if (!empty($array)) { foreach ($array as $key => $value) { echo $value . '<br>'; } } ?> </div> <?php View::footer();
<?php use Lib\View; View::header('<link rel="stylesheet" type="text/css" href="' . URL . 'views/message/content.css" />', 'Wiadomości'); ?> <div class="body vspace_4 row"> <?php require_once View::commonPath('sidenav.php'); ?> <div class="content"> <h3 class="h3profile">Wiadomości</h3> <div class="profile"> <form method="post" action="<?php echo URL . 'user/message'; ?> "> <label>Twoja wiadomość: <textarea name="message"></textarea> </label> <input type="submit" name="send" value="Wyślij" /> </form> <form method="post" action="<?php echo URL . 'user/message'; ?> "> <table> <thead> <tr> <td style="width:20%">Autor</td> <td style="width:50%">Wiadomość</td>
<?php use Lib\View; View::header('<link rel="stylesheet" type="text/css" href="' . URL . 'views/user/content.css" />', 'Profil'); ?> <div class="body vspace_4 row"> <?php require_once View::commonPath('sidenav.php'); ?> <div class="content"> <h3 class="h3profile">Profil</h3> <div class="profile"> <ul class="personal_data"> <?php $names = array('imie', 'nazwisko', 'kraj', 'kod pocztowy', 'miasto', 'ulica', 'nr domu', 'nr mieszkania', 'telefon', 'email', 'ostatnia wizyta', 'data rejestracji'); $pos = 0; foreach ($this->args['personal_data'] as $data) { echo '<li><span>' . $names[$pos] . ': </span>' . (empty($data) ? '<span class="empty">Pole niewypełnione</span>' : $data) . '</li>'; $pos++; } ?> </ul> <img src="<?php echo empty($this->args['photo']) ? URL . 'views/public/users/default/default.png' : $this->args['photo']; ?> " alt="" class="profile_image"/> </div> <div class="photo_buttons">
<?php use Lib\View; View::header('<link rel="stylesheet" type="text/css" href="' . URL . 'views/last/content.css" />', 'Kupione'); ?> <div class="body vspace_4 row"> <?php require_once View::commonPath('sidenav.php'); ?> <div class="content"> <h3 class="h3profile">Zamowienia</h3> <div class="profile"> <form method="post" action="<?php echo URL . 'user/last'; ?> "> <table style="width: 100%"> <thead> <tr > <td style="width: 40%">Nr zamówienia</td> <td style="width: 30%">Status</td> <td style="width: 20%">Data</td> <td style="width: 10%">Zaznacz</td> </tr> </thead> <?php if (!empty($this->args['orders'])) { ?> <?php
<?php use Lib\View; ?> <?php View::header($this->args['page']['title'] . ' ' . $this->args['page']['header'] . ' ' . $this->args['page']['style']); ?> <div class="body vspace_4 row"> <?php require_once View::commonPath('sidenav.php'); ?> <div class="content"> <?php echo $this->args['page']['content']; ?> </div> </div> <?php View::footer();
<?php use Lib\View; View::header('<link rel="stylesheet" type="text/css" href="' . URL . 'views/delete/content.css" />', 'Usuwanie Konta'); ?> <div class="body vspace_4 row"> <?php require_once View::commonPath('sidenav.php'); ?> <div class="content"> <h3 class="h3profile">Usuń Konto</h3> <div class="profile"> <p>Czy napewno chcesz usunąć konto ?</p> <form method="post" action="<?php echo URL . 'user/delete'; ?> "> <input type="hidden" name="delete" value="1" /> <input type="submit" name="yes" value="Tak"/> </form> <form method="post" action="<?php echo URL . 'user/delete'; ?> "> <input type="hidden" name="delete" value="0" /> <input type="submit" name="no" value="Nie"/> </form> </div> </div> </div>
<?php use Lib\View; View::header('<link rel="stylesheet" type="text/css" href="' . URL . 'views/product/content.css" />', 'Produkt'); ?> <!-- CONTENT START --> <div class="body vspace_4 row"> <div class="product width_16 row"> <div class="content_left width_7"> <?php if (!empty($this->args['images'])) { ?> <div class="product_image_list"> <?php foreach ($this->args['images'] as $i) { echo '<div>'; echo '<img src="' . URL . 'views/public/' . $i['product_image'] . '" alt="" />'; echo '</div>'; } ?> </div> <?php } ?> <div class="product_image">
<?php use Lib\View; ?> <?php View::header('<link rel="stylesheet" type="text/css" href="' . URL . 'views/passrecovery/content.css" />', 'Odzyskiwanie hasła'); ?> <div class="body vspace_4 row"> <?php require_once View::commonPath('sidenav.php'); ?> <div class="content"> <?php if ($this->args['success']) { ?> <p>Na twój adres e-mail została wysłana wiadomość. Pstępuj według instrukcj zawartej w widaomości aby odzyskać hasło.</p> <?php } else { ?> <p>W celu odzyskać hasła wypelnij formularz.</p> <?php if (!empty($this->args['error'])) { echo '<div class="error">';
<?php use Lib\View; View::header('<link rel="stylesheet" type="text/css" href="' . URL . 'views/confirm/content.css" />', 'Potwierdzenie zamuwienia'); ?> <div class="body vspace_4 row"> <?php require_once View::commonPath('sidenav.php'); ?> <div class="content"> <h3>Podsumowanie:</h3> <table> <thead> <tr> <td style="width:40%;">Nazwa</td> <td style="width:10%;">Ilość</td> <td style="width:10%;">Cena</td> </tr> </thead> <?php foreach ($this->args['cart_data'] as $product) { echo '<tr>'; echo '<td>' . $product['product_name'] . '</td>'; echo '<td>' . $product['product_quantity'] . '</td>'; echo '<td>' . $product['product_price'] . '</td>'; echo '</tr>'; } ?> </table> <?php echo '<ul><li>Koszt dostawy: ' . $this->args['shipping_cost'] . 'zł</li>';
<?php use Lib\View; View::header('<link rel="stylesheet" type="text/css" href="' . URL . 'views/register/content.css" />', 'Rejestracja'); ?> <div class="body vspace_4 row"> <?php require_once View::commonPath('sidenav.php'); ?> <div class="content"> <div class="register_box"> <h1>Rejestracja</h1> <?php if (!empty($this->args['errors'])) { ?> <ul class="error"> <?php foreach ($this->args['errors'] as $error) { echo '<li>' . $error . '</li>'; } ?> </ul> <?php } ?> <form method="post" action="<?php echo URL . 'registration'; ?> ">
<?php use Lib\View; View::header('<link rel="stylesheet" type="text/css" href="' . URL . 'views/search/content.css" />', 'Wyniki wyszukiwania'); ?> <div class="body vspace_4 row"> <?php require_once View::commonPath('sidenav.php'); ?> <div class="content width_11"> <div class="products vspace_4"> <div class="display_options"> <a href="<?php echo URL . 'product/' . $this->args['action'] . '/' . $this->args['tab'] . '/' . $this->args['prev'] . '?search=' . $this->args['search']; ?> "><img src="<?php echo URL; ?> views/public/img/arrow_left.png" alt="" /></a> <a href="<?php echo URL . 'product/' . $this->args['action'] . '/' . $this->args['tab'] . '/' . $this->args['next'] . '?search=' . $this->args['search']; ?> "><img src="<?php echo URL; ?> views/public/img/arrow_right.png" alt="" /></a> <a href="<?php