<?php
	
	/*
	
		404 Not Found
		
		8002 Pagina en mantenimiento 
		8003 Pagina en construccion
	
	*/
	
	extract($_GET);
	extract($_POST);
	extract($_REQUEST);
	
	function ErrorDocument_Titulo($error){
		
		$VAR_ERROR = array( 
							8000 => 'Bienvenido',
							8002 => 'Pagina en Mantenimiento',
							8003 => 'Pagina en construcci&oacute;n');
		
		return $VAR_ERROR[$error];
	}
?>
<!DOCTYPE html>
<html>
    <head>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
    <meta http-equiv="Cache-control" content="no-cache">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Expires" content="0">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><?php echo WYCFG_WYTITLE . ' : ' . ErrorDocument_Titulo($var); ?></title>
    <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
    <style type="text/css">
        body {
            font-family: Arial, Helvetica, sans-serif;
            font-size: 14px;
            line-height: 1.428571429;
            background-color: #ffffff;
            color: #2F3230;
            padding: 0;
            margin: 0;
        }
        section {
            display: block;
            padding: 0;
            margin: 0;
        }
        .container {
            margin-left: auto;
            margin-right: auto;
            padding: 0 10px;
        }
        .additional-info {
            background-repeat: no-repeat;
            background-color: #f19a28; /*#293A4A;*/
            color: #FFFFFF;
        }
        .additional-info-items {
            padding: 20px;
            min-height: 193px;
        }
        .info-heading {
            font-weight: bold;
            text-align: left;
            word-break: break-all;
            width: 100%;
        }
        .status-reason {
            font-size: 200%;
            display: block;
            color: #CCCCCC;
        }
        .reason-text {
            margin: 20px 0;
            font-size: 16px;
        }
        .info-heading {
            font-size: 190%;
        }
        .reason-text {
            font-size: 140%;
        }
        @media (min-width: 768px) {
            .additional-info {
                position: relative;
                overflow: hidden;
                background-image: none;
            }
            .additional-info-items {
                padding: 20px;
            }
            .container {
                width: 90%;
            }
            .status-reason {
                display: inline;
            }
        }
        @media (min-width: 992px) {
            .additional-info {
                background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADqCAMAAACrxjhdAAAAt1BMVEUAAAAAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////5+fn////////////////////////////////6+vr///////////////////////////////////////+i5edTAAAAPXRSTlMAAQECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygoKSorLC0uLzAwMTIzNDU2Nzg5H7x0XAAACndJREFUeAHtXXlzGs8R7TQ3CFkHxpKxhIwtIBwgIuYY4u//uVJ2qpLKD7Q8t2Z7xpD3n6ska9/2bM9Mvz6oGEyXFoKHfmheoewx9cYehVuPHMT4jphyBtNHxHQmDGgBvZjXBuWN2gogbPy6RtcOejNPxFkb+CEYhHCfmJ6DQShfEGfMt71FOPgpE1PHOMTEY8oZ3yCr2UtiInqEftj3iLM18Afsu/xKv9B4QUzsV1XKFTzDPG+LfoLpE/LjJnzO08QCAugLalKeqP/mEmW6Qj+BPIE7IYmTyw1MFwbaksaybSxDCA4STF+wg8rH7EzMwqNibY38mlvXKDdU5pDH3TRkl40vxJkZ+DO2Nu/3HnyC7t15obGBtqRFRXo6+0Z5YQh5LHd9YGWOsF+9Is5oQXctZKbvdAAtbHHM8+GLfojWdIgPff7YifRTNiZmusW+w8fDj1xdevNnbU3VFfTEL/W33pfH31cGYBpgW9Lba3Ic8C8iA77NLe514vu8BPj6/n3lCd/VkgKXGkwYUQHAaM+yQunBmNSwbRVYh+kOcgMhvRDB1Md20YfiR+UFfvdIizp2v1vVjt0usa1pmNzAX2IFl5/xaE9aqQGSD6bxI0RZSw3uuF0YjQHepjMxHmd9IgC1NbY1VSkdeB4vXMH0KSQVIvQfERciMpcaFtW4H8iI0gB2MzfEcV3gB+IkfDtbyCATgtHB7l3TrKUG2yWOe7O2KYQIPE7xFD12Yvy6SvqoLOMf95k+BvgqogCFCx22NdltO1epYc7ycEKSaI9+UAYPGOlKDQYyxDP9Npqv0NKZkS7GuNRQig5pvaYQwdTztjRnCr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XmuDSF8RgS8th+d+phci8FJf1fwapi44rFpfqTZAnW+JFRG3kf94Z+sSqdR1UIiI/dc/B6N/M9WsiADO00A3QU0hohX5RTdeCrstyT1WphURTBevBaV4iwYJGGctRDC1FsGaQ3RtGFfL4os34g6T+AkAT84bs0fX2weS88X7X6hXRDDRzdwHZ/5D2hjjght3Mb5y1NINq+beZBu8d84657wPYfN8pZBc0g+JKiKYiNr9r4v1Zrvdbtazp16TSCOfZppMiGD6iVqr271oVokU6AJ9U5FGnXIww5mH+kLEhxI1cl20QCGCTgRMA/3+F2lRXXtzXhURPTTt9GQA6h+d/1dE5An9GRH5o5mwIgKHvhCBi5j60Bci8oe+EKEPrYmg+QNNOw3PdCLgpBUROPQ18mX1ZEx8p9//Ii0qc3Qi6CmAU1dEpD9SA1tT98/GZadvf29GxPYPh9n+MjAuRNg/Hc4WYm8WjT0pABNB7WkAb81kz8fEo5Na0rAQYU8KQEWEPSkAaafnRPiXEGHPCCbcnxphIEPPnhXc9XkRNuHh3Cw8JXteeCV7Zjg/wua8YGl3XvDUPy/c/Avd4/hNDSqegQAAAABJRU5ErkJggg==);
            }
            .container {
                width: 70%;
            }
            .status-reason {
                font-size: 450%;
            }
            .info-heading {
                font-size: 200%;
            }
            .reason-text {
                font-size: 160%;
            }
            	.reason-text a{
            		text-decoration:none;
            		color:#fff;
            	} 
            		.reason-text a:hover{ 
            			text-decoration:underline; 
            		}
					
			.info-system{
					margin-top:15px;
					color:#12151D;
					font-size:small;
				}
				.info-system p{
					margin-right:15px;
					text-align:right;
				}
				
				.info-system a{
						text-decoration:none;
						color:#12151D;
					}
        }
    </style>
    </head>
    <body>
        <div class="container">
            <span class="status-reason">
                 <?php 
				 	if( WYCFG_ORGANIZACION != NULL ) :
						echo WYCFG_ORGANIZACION; 
					else:
				?>
				<img src="http://www.webyplus.com/images/logo.png" alt="">
				<?php		  	
					endif;
				?>
            </span>
        </div>
        <section class="additional-info">
            <div class="container">
                <div class="additional-info-items">
                    <div class="info-heading">
                        <?php echo ErrorDocument_Titulo($var); ?>
                    </div>
                    <div class="reason-text">
                        La URL solicitada <?php echo $_SERVER['REQUEST_URI']; ?> se encuentra temporalmente fuera de servicio.
                        <p>El equipo,<br><?php echo WYCFG_ORGANIZACION; ?></p>
                    </div>
                </div>
            </div>
        </section>
		
		<div class="info-system">
			<p><a href="http://www.yalpublicidad.com" target="_blank" title="YalPublicidad.Com">Webmaster</a> &bull; System <a href="http://www.webyplus.com" target="_blank" title="Web Yal Mas">Weby+</a></p>
		</div>
		
    </body>
</html>