Exemplo n.º 1
0
/**
 * @desc verifica la http url y el tipo de navegador y envia a mobil o al descktop
 * */
function verify_http_path()
{
    $domain_url = get_domain_url(fk_link());
    $req_host = $_SERVER['HTTP_HOST'];
    if ($req_host != $domain_url) {
        header('Location:' . fk_link());
    }
}
Exemplo n.º 2
0
        <div class="spinload"></div>
        <div id="gallery">
            <canvas class="animation"></canvas>
            <div class="wallpaper" style="background-image: url(resources/images/wallpaper.jpg); background-size: cover;"></div>
            <div class="content">
                <div class="wrap medium">
                    <p class="error">Nothing to see here</p>
                    <p class="info">The page you are looking for does not exist.</p>
                </div>
                <div class="wrap small">
                    <div class="left size-6">
                        <a id="back_button" class="button border fast" href="">Back</a>
                    </div>
                    <div class="left size-6">
                        <a class="button border fast" href="<?php 
echo get_domain_url();
?>
">Root Page</a>
                    </div>
                    <div class="clear"></div>
                </div>
            </div>
            <script type="text/javascript">
                $(function () {
                    $("#gallery").engine();
                    $('a.back').click(function(){
                        parent.history.back();
                        return false;
                    });
                });
            </script>