Viewing file: index2.php (14.05 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include("conta_user.php");
function size($path, $formated = true, $retstring = null){
if(!is_dir($path) || !is_readable($path)){
if(is_file($path) || file_exists($path)){
$size = filesize($path);
} else {
return false;
}
} else {
$path_stack[] = $path;
$size = 0;
do {
$path = array_shift($path_stack);
$handle = opendir($path);
while(false !== ($file = readdir($handle))) {
if($file != '.' && $file != '..' && is_readable($path . DIRECTORY_SEPARATOR . $file)) {
if(is_dir($path . DIRECTORY_SEPARATOR . $file)){ $path_stack[] = $path . DIRECTORY_SEPARATOR . $file; }
$size += filesize($path . DIRECTORY_SEPARATOR . $file);
}
}
closedir($handle);
} while (count($path_stack)> 0);
}
if($formated){
$sizes = array('B', 'kB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB');
if($retstring == null) { $retstring = '%01.2f %s'; }
$lastsizestring = end($sizes);
foreach($sizes as $sizestring){
if($size <1024){ break; }
if($sizestring != $lastsizestring){ $size /= 1024; }
}
if($sizestring == $sizes[0]){ $retstring = '%01d %s'; } // los Bytes normalmente no son fraccionales
$size = sprintf($retstring, $size, $sizestring);
}
return $size;
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Inicio</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="styles2.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.scrollTo-min.js"></script>
<script type="text/javascript" src="js/jquery.scrollShow.js"></script>
<style type="text/css">
h8 {font-size: 3em; margin: 0px 0;}.container {width: 460px; margin: 0px auto; font: 10px normal Verdana, Arial, Helvetica, sans-serif;
color: #444; }
ul.tabs {
margin: 0;
padding: 0;
float: left;
list-style: none;
height: 32px;
border-bottom: 1px solid #999;
border-left: 1px solid #999;
width: 100%;
}
ul.tabs li {
float: left;
margin: 0;
padding: 0;
height: 31px;
line-height: 31px;
border: 1px solid #999;
border-left: none;
margin-bottom: -1px;
background: #E4E2CC;
overflow: hidden;
position: relative;
}
ul.tabs li a {
text-decoration: none;
color: #000;
display: block;
font-size: 1.2em;
padding: 0 20px;
border: 1px solid #fff;
outline: none;
}
ul.tabs li a:hover {
background: #FCFAE6;
}
html ul.tabs li.active, html ul.tabs li.active a:hover {
background: #FCFAE6;
border-bottom: 1px solid #fff;
}
.tab_container {
border: 1px solid #999;
border-top: none;
clear: both;
float: left;
width: 100%;
background: #FCFAE6;
-moz-border-radius-bottomright: 5px;
-khtml-border-radius-bottomright: 5px;
-webkit-border-bottom-right-radius: 5px;
-moz-border-radius-bottomleft: 5px;
-khtml-border-radius-bottomleft: 5px;
-webkit-border-bottom-left-radius: 5px;
}
.tab_content {
padding: 20px;
font-size: 1.2em;
}
.tab_content h9 {
font-weight: normal;
padding-bottom: 10px;
border-bottom: 1px dashed #ddd;
font-size: 1.8em;
}
.tab_content h10 a{
color: #254588;
}
.tab_content img {
float: left;
margin: 0 20px 20px 0;
border: 1px solid #ddd;
padding: 5px;
}
</style>
<style>
.black_overlay{
display: none;
position: absolute;
top: 0%;
left: 0%;
width: 100%;
height: 200%;
background-color: black;
z-index:1001;
-moz-opacity: 0.8;
opacity:.80;
filter: alpha(opacity=80);
}
.white_content {
display: none;
position: absolute;
top: 25%;
left: 10%;
width: 80%;
height: 100%;
padding: 16px;
border: 16px solid #A5B924;
background-color: white;
z-index:1002;
overflow: auto;
}
</style>
<script type="text/javascript"
src="js/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
//Default Action
$(".tab_content").hide(); //Hide all content
$("ul.tabs li:first").addClass("active").show(); //Activate first tab
$(".tab_content:first").show(); //Show first tab content
//On Click Event
$("ul.tabs li").click(function() {
$("ul.tabs li").removeClass("active"); //Remove any "active" class
$(this).addClass("active"); //Add "active" class to selected tab
$(".tab_content").hide(); //Hide all tab content
var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
$(activeTab).fadeIn(); //Fade in the active content
return false;
});
});
</script>
<script type="text/javascript">
jQuery(function( $ ){
//borrowed from jQuery easing plugin
//http://gsgd.co.uk/sandbox/jquery.easing.php
$.easing.backout = function(x, t, b, c, d) {
var s=1.70158;
return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
};
$('#screen').scrollShow({
view:'#view',
content:'#images',
easing:'backout',
wrappers:'crop',
navigators:'a[id]',
navigationMode:'sr',
circular:true,
start:0
});
});
</script>
<style type="text/css">
#background-image
{
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
font-size: 12px;
margin: 45px;
width: 480px;
text-align: left;
border-collapse: collapse;
background: url('images/blurry.jpg') 330px 59px no-repeat;
}
#background-image th
{
padding: 12px;
font-weight: normal;
font-size: 14px;
color: #90AE1A;
}
#background-image td
{
padding: 9px 12px;
color: #666;
border-top: 1px solid #fff;
}
#background-image tfoot td
{
font-size: 11px;
}
#background-image tbody td
{
background: url('images/back.png');
}
* html #background-image tbody td
{
/*
----------------------------
PUT THIS ON IE6 ONLY STYLE
AS THE RULE INVALIDATES
YOUR STYLESHEET
----------------------------
*/
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='table-images/back.png',sizingMethod='crop');
background: none;
}
#background-image tbody tr:hover td
{
color: #339;
background: none;
}
</style>
<SCRIPT LANGUAGE="JavaScript">
function popup(page) {
window.open(page,'popup','width=457,height=350,toolbar=false,scrollbars=false,top=60,left=330');
}
</SCRIPT>
</head>
<body>
<div class="main">
<div class="header">
<div class="head_2">
<div class="block_header"><img src="images/cabezote BLEGAL.jpg" width="960" height="150" border="0" />
</div>
<div class="menu">
<ul>
<li><a href="index.php" class="active" >Inicio</a></li>
<li><a href="norma_menu.php">Normativa</a></li>
<li><a href="actos.php">Actos Administrativos</a></li>
<li><a href="doctrina.php">Doctrina</a></li>
<li><a href="jurisprudencia.php" >Jurisprudencia</a></li>
</ul>
</div>
<div class="text">
<div class="left_t"></div>
<div class="right_t"><a href="#"><img src="images/historia.png" alt="Boletínes Anteriores" title="Boletínes Anteriores" width="31" height="28" border="0" align="right" /></a><img src="images/subscribe-icon-big.png" alt="Regístrese" title="Regístrese" width="28" height="26" border="0" align="right" onclick="popup('registro/index.php')"/>
</div>
</div>
</div>
</div>
</div>
<div class="clr"></div>
<div class="body">
<h2><span>Documentos</span> Importantes</h2>
</div>
<div class="slider">
<ul id="screen">
<li><a id="left" href="#"><img src="images/arr_l.jpg" alt="Dcoumentos Importantes" width="38" height="38" border="0" /></a></li>
<li id="view">
<ul id="images">
<li><span><img src="images/screen_1.png" alt="Directivas" width="270" height="165" class="screen" /><a href = "javascript:void(0)" onclick = "document.getElementById('light').style.display='block';document.getElementById('fade').style.display='block'">Directivas</a><br />
Son aquellos actos que determinan o establecen lineamientos o directrices que impliquen políticas de gobierno o del sector Ambiente, emitidas por el Secretario Distrital de Ambiente.<br />
<a href = "javascript:void(0)" onclick = "document.getElementById('light').style.display='block';document.getElementById('fade').style.display='block'"><img src="images/launch.jpg" alt="Ver" width="90" height="20" border="0" /></a></span></li>
<li><span><img src="images/screen_2.png" alt="Circulares" width="270" height="165" class="screen" /><a href = "javascript:void(0)" onclick = "document.getElementById('light1').style.display='block';document.getElementById('fade').style.display='block'">Circulares</a><br />
Es toda aquella información de interés general, cuyo contenido es importante o trascendente para la Administración Distrital.<br />
<a href = "javascript:void(0)" onclick = "document.getElementById('light1').style.display='block';document.getElementById('fade').style.display='block'"><img src="images/launch.jpg" alt="Ver" width="90" height="20" border="0" /></a></span></li>
<li><span><img src="images/screen_3.png" alt="Memorandos" width="270" height="165" class="screen" /><a href = "javascript:void(0)" onclick = "document.getElementById('light2').style.display='block';document.getElementById('fade').style.display='block'">Memorandos</a><br />
Oficios de caracter general informados al interior de la Entidad <br />
<a href = "javascript:void(0)" onclick = "document.getElementById('light2').style.display='block';document.getElementById('fade').style.display='block'"><img src="images/launch.jpg" alt="Ver" width="90" height="20" border="0" /></a></span></li>
<li><span><img src="images/screen_5.png" alt="Actas de Acuerdo" width="270" height="165" class="screen" /><a href = "javascript:void(0)" onclick = "document.getElementById('light3').style.display='block';document.getElementById('fade').style.display='block'">Actas de Acuerdo</a><br />
Son aquellas actas suscritas por Entidades Distritales, Nacionales o Comisiones Intersectoriales encaminadas a definir lineamientos o directrices que impliquen políticas del sector Ambiente<br />
<a href = "javascript:void(0)" onclick = "document.getElementById('light3').style.display='block';document.getElementById('fade').style.display='block'"><img src="images/launch.jpg" alt="Ver" width="90" height="20" border="0" /></a></span></li>
<li><span><img src="images/screen_1.png" alt="Directivas" width="270" height="165" class="screen" /><a href = "javascript:void(0)" onclick = "document.getElementById('light').style.display='block';document.getElementById('fade').style.display='block'">Directivas</a><br />
Son aquellos actos que determinan o establecen lineamientos o directrices que impliquen políticas de gobierno o del sector Ambiente, emitidas por el Secretario Distrital de Ambiente.<br />
<a href = "javascript:void(0)" onclick = "document.getElementById('light').style.display='block';document.getElementById('fade').style.display='block'"><img src="images/launch.jpg" alt="Ver" width="90" height="20" border="0" /></a></span></li>
</ul>
</li>
<li><a id="right" href="#"><img src="images/arr_r.jpg" alt="picture" width="38" height="38" border="0" /></a></li>
</ul>
<div class="clr"></div>
</div>
<div class="body body_bg">
<p align="center">
<div id="light" class="white_content">
<a href = "javascript:void(0)" onclick = "document.getElementById('light').style.display='none';document.getElementById('fade').style.display='none'">Cerrar</a>
<?php include ("directivas.php"); ?>
</div>
<div id="light1" class="white_content">
<a href = "javascript:void(0)" onclick = "document.getElementById('light1').style.display='none';document.getElementById('fade').style.display='none'">Cerrar</a>
<?php include ("circulares.php"); ?>
</div>
<div id="light2" class="white_content">
<a href = "javascript:void(0)" onclick = "document.getElementById('light2').style.display='none';document.getElementById('fade').style.display='none'">Cerrar</a>
<?php include ("memorandos.php"); ?>
</div>
<div id="light3" class="white_content">
<a href = "javascript:void(0)" onclick = "document.getElementById('light3').style.display='none';document.getElementById('fade').style.display='none'">Cerrar</a>
<?php include ("actas.php"); ?>
</div>
<div id="fade" class="black_overlay"></div>
<img src="images/img_1.jpg" alt="IMG" width="86" height="97" align="right" />
<h2></h2><table border="0">
<tbody>
<tr>
<td width="18%"><img src="images/People.png" alt="Visitante Nº" width="20" height="20"> Visitante No. <?php echo "$totales"; ?> <img src="images/group.png" alt="Usuarios Online" width="20" height="20" /> Usuarios Online: <?php echo "$current_visitors"; ?> <img src="images/symbol5.gif" alt="Hoy" width="30" height="20" />Hoy: <?php echo "$today"; ?></td>
</tr> </tbody></table>
<div class="w_dot">
<p align="center"><strong><img src="images/img_3.jpg" alt="IMG" width="47" height="49" align="left" />Consulte directamente el Boletín Legal Ambiental de la Secretaría Distrital de Ambiente en dónde encontrará las resoluciones, los autos, conceptos jurídicos y normativa expedida por la SDA y por otras autoridades Ambientales.</strong></p>
<p align="center">
O realice sus consultas sobre normas legales del distrito directamente en la página web del<a href="http://www.alcaldiabogota.gov.co/sisjur/index.jsp"> Régimen legal de Bogotá, D.C</a>.</p>
</div>
<div class="clr"> </div>
</div>
</div>
<div class="clr"></div>
<div class="footer">
<p align="center"><a href="#">INICIO</a>|<a href="#">NORMATIVA</a>|<a href="#">ACTOS ADMINISTRATIVOS</a>|<a href="#">DOCTRINA</a>|<a href="#">JURISPRUDENCIA</a> <a href="#"></a> </p>
<p align="center">© Copyright 2011. SECRETARIA DISTRITAL DE AMBIENTE. TODOS LOS DERECHOS RESERVADOS</p>
</div>
</body>
</html>
|