
<? $salida = "<?xml version='1.0' encoding='utf-8' ?>
<cu3er>
	<settings>

		<!-- For complete CU3ER documentation, please visit http://www.progressivered.com/cu3er/docs/  (c) Stefan Kovac -->
		<!-- This CU3ER template was created by www.DreamTemplate.com / www.TemplateAccess.com. Licensed for use with CU3ER. -->
		<!-- CU3ER 1+ requires an end user license purchase. To waive this fee you must have an active membership account at DreamTemplate.com -->
		
    <!-- must specify slider details otherwise IE will break -->
    <general slide_panel_horizontal_align='center' slide_panel_vertical_align='center' />

	<auto_play>

		<!-- Auto play slider. -->
		<defaults symbol='circular' time='6'/>
		<!-- Time: Number of seconds before switching to next slide. Recommended value: 4 -->
		<!-- Symbol: Loader icon choices: circular, linear  -->
	</auto_play>

	
		<!-- default font settings for all description boxes in each slider -->
		<description>
		
		<tweenIn x='0'  y='220' delay='0' alpha='0.55'/>

<tweenOut  x='0' y='230'  alpha='0.45'/>
		
		
		<defaults heading_font='Trebuchet MS' paragraph_text_size='11' heading_text_margin='10, 25, 5, 25' round_corners='0, 0, 0, 0'/>

		</description>

	</settings>    


<slides>";


include('concha.php');
mysql_connect ("$host", "$usuario", "$contra");
mysql_select_db ("$basedatos");

$sql = "SELECT * FROM notas_tapa WHERE cu3er = '2' ORDER BY ID desc";

$consulta = mysql_query ($sql);
while ($row = mysql_fetch_array($consulta))
{
$ID = $row["ID"];
$foto = $row["foto"]; $ext_img = $row["ext_img"];
$titulo = $row["titulo"];
$texto = $row["texto"];
$nota = $row["nota"];

$num = rand(2,11);
$salida .= "

        <slide>
            <url>../upload_pic/thumbnail_$foto.jpg</url>
						
						
						
						
							
						";
						
				if ($titulo == NULL) {} else {		
				$salida .= "<description>
							<heading>$titulo</heading>  
							<paragraph>$texto</paragraph> "; };
							
							
						if ($nota == 0) { $salida .= "	<link></link> "; } else {		
				$salida .= "	<link target='_parent'>../nota.php?ID=$nota</link> "; };
							
							
							if ($titulo == NULL) {} else {		
				$salida .= "</description>"; };
									
		
						  
						
						
						
						$salida .= " 
					   
					
					
        </slide>

					    <transition num='1'  z_multiplier='3' />
        ";


}
mysql_free_result($consulta);





		

$salida .= "			
	</slides>
</cu3er>";



$fh = fopen("cu3er2/config.xml","w");  
fwrite($fh,$salida); 
fclose($fh); 

?>


<style type="text/css">
<!--
.Estilo1 {
	font-family: "Trebuchet MS";
	font-size: 18px;
}
-->
</style>
<p align="center" class="Estilo1">INFORMACION SINCRONIZADA</p>
<p align="center" class="Estilo1"> [<a href="javascript:close()">CERRAR ESTA VENTANA</a>] </p>
