<?php 

error_reporting(E_ALL ^ E_NOTICE);
require_once("function.php");

$config["title"] = "Profissionais parceiros - Marseille Arq e Decor";
$config["description"] = "";
$config["canonical"] = HOST."parceiros/";
$config["og_title"] = $config["title"];
$config["og_url"] = $config["canonical"];
$config["og_imagem"] = "";
$config["og_desc"] = $config["description"];
$config["menu"] = "default";
$config["pag"] = "home";
pegaTopo($config);

?>
    <div class="content-align">

        <div id="pg-parceiros" class="content-intern">

            <h1 class="title-page">Profissionais parceiros</h1>

            <p class="desc-page"><?php echo $_SESSION['m4rseillecl1']['texto_parceiros']; ?></p>

            <div class="boxes-parceiros">

                <?php

                    $selectp    =   mysql_query("SELECT * FROM tb_profissionais WHERE status = 1 ORDER BY segmento ASC");
                    while($sqlp =   mysql_fetch_array($selectp)){ ?>

                        <div class="box-parceiros">

                            <img src="<?php echo HOST."images/profissional/".$sqlp['imagem'] ?>" alt="<?php echo $sqlp['nome'] ?>" />

                            <div class="info-parceiro">

                                <p class="pc-segmento"><?php echo $sqlp['segmento'] ?></p>

                                <p class="pc-nome"><?php echo $sqlp['nome'] ?></p>

                                <p class="pc-descricao"><?php echo $sqlp['descricao_curta'] ?></p>

                                <p class="pc-contatos"><a href="mailto:<?php echo $sqlp['email'] ?>"><?php echo $sqlp['email'] ?></a> | <?php echo $sqlp['telefone'] ?></p>

                                <p><a href="<?php echo $sqlp['site'] ?>" target="_blank"class="pc-site">Visitar site</a></p>

                            </div>

                        </div>

                    <?php } ?>

            </div>

        </div>

    </div>

    
<?php pegaFooter(); ?>
</body>
</html>
