<?php require_once('__header.php'); ?>
    <div class="wrap">
        <div class="grid"></div>
        <h1 class="title"><?php echo _x('Subscription', '-'); ?></h1>

        <div class="row grid-items subscription">
            <form action="<?php echo $page->url; ?>" method="post">
                <div class="form_success" style="margin-top: 16vh;">
                    <h2 style="margin-bottom: 10px;"><?php echo _x('Thank you!'); ?></h2>
                    <span><?php echo _x('Thank you! We will be contact with you soon'); ?></span>
                </div>
                <div class="column width-12">
                    <label>
                        <?php echo _x('Select subscription type', '-'); ?>
                        <select name="type">
                            <?php
                            foreach ($page->types as $type):
                                echo "<option value=\"$type->id\">$type->headline</option>";
                            endforeach;
                            ?>
                        </select>
                    </label>

                    <div class="row grid-items">
                        <div class="column width-6">
                            <label><?php echo _x('Name', '-'); ?>
                                <input type="text" value="" name="name" placeholder="<?php echo _x('Type your name', '-'); ?>"/></label>
                        </div>
                        <div class="column width-6">
                            <label><?php echo _x('Surname', '-'); ?>
                                <input type="text" value="" name="surname" placeholder="<?php echo _x('Type your surname', '-'); ?>"/></label>
                        </div>
                    </div>
                    <label><?php echo _x('Position', '-'); ?>
                        <input type="text" value="" name="position" placeholder="<?php echo _x('Type your position', '-'); ?>"></label>
                    <label><?php echo _x('Company', '-'); ?>
                        <input type="text" value="" name="company" placeholder="<?php echo _x('Type your company', '-'); ?>"/></label>
<!--                    <label>--><?php //echo _x('Address', '-'); ?>
<!--                        <input type="text" value="" name="address" placeholder="--><?php //echo _x('Type your address', '-'); ?><!--"/></label>-->
                    <label><?php echo _x('Website', '-'); ?>
                        <input type="text" value="" name="website" placeholder="<?php echo _x('Type your website', '-'); ?>"/></label>
                    <label><?php echo _x('Email', '-'); ?>
                        <input type="text" value="" name="email" placeholder="<?php echo _x('Type your email', '-'); ?>"/></label>
                    <label><?php echo _x('Telephone number', '-'); ?>
                        <input type="text" value="" name="phone" placeholder="<?php echo _x('Type your phone number', '-'); ?>"/></label>
                    <label><?php echo _x('Mobile number', '-'); ?>
                        <input type="text" value="" name="mobile" placeholder="<?php echo _x('Type your mobile number', '-'); ?>"/></label>
                    <?php echo $CSRF_STR; ?>
                    <input type="hidden" name="action" value="subscription"/>
                    <button class="bigger"><?php echo _x('Send', '-'); ?></button>
                    <!--<label>Type of contract<select><option value="/az/" selected="selected">Azərbaycanca</option><option value="/en/" >English</option></select></label>
                    <label>Range of dates<input value="" name="x" type="date" placeholder="Select range"></label> -->
                </div>
            </form>
        </div>
    </div>
<?php require_once('__footer.php'); ?>