<?php require('header.php');

$id = (int)$_GET['id'];
$m = reset($o->findSql("SELECT * FROM industries WHERE id = $id"));

?>

    <div class="media-details__holder">
        <div class="section__head">
            <div class="wrapper head__wrapper">
                <h1 class="section__title media-details__section__title"><?=$m['title'];?></h1>
                <div class="section__head__links">
                    <a href="index.php" class="section__head__link">Home</a>
                    <span class="section__head__link__text head__link__separator">Industries</span>
                </div>
            </div>
        </div>
        <div class="wrapper">
            <div class="media-detailes__container">
                <div class="media-detailes__item">
                    <div class="media-detailes__head">
                        <h2 class="media-detailes__title"><?=$m['subtitle'];?></h2>
                    </div>
                    <div class="media-detailes__content">
                        <div class="media-detailes__image-holder">
                            <img src="<?=thumbnailLink($m['image'],400,400,false);?>" alt="<?=$m['title'];?>" title="<?=$m['title'];?>" />
                        </div>
                        <div class="media-detailes__text-holder">

                            <div class="media-detailes__text fancy-bullets"><?=$m['text'];?></div>
                        </div>
                    </div>
                </div>
                <!--<div class="media-detailes__item media-detailes__item--right">
                    <div class="media-detailes__right__item media-detailes__right__first">
                        <h3 class="media-detailes__right__title">Voice & Multimedia</h3>
                        <span class="media-detailes__right__text">Avaya</span>
                        <span class="media-detailes__right__text">Hoistlocatel</span>
                        <span class="media-detailes__right__text">globitel</span>
                    </div>
                    <div class="media-detailes__right__item media-detailes__right__last">
                        <h3 class="media-detailes__right__title">Voice & Multimedia</h3>
                        <span class="media-detailes__right__text">Avaya</span>
                        <span class="media-detailes__right__text">Hoistlocatel</span>
                        <span class="media-detailes__right__text">globitel</span>
                    </div>
                </div>-->
            </div>
        </div>
    </div>
    <div class="">
        <a href="contact-us.php" class="btn footer__link" style="margin: 10px auto">Contact us</a>
    </div>

<?php require('footer.php') ?>