<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Hubermann.com</title>
	<atom:link href="http://www.hubermann.com/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hubermann.com/blog</link>
	<description>Freelance Programmer &#124; Web Designer</description>
	<lastBuildDate>Fri, 25 Nov 2011 05:26:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>Comment on Calendario semanal en php by rodrigo</title>
		<link>http://www.hubermann.com/blog/calendario-semanal-en-php/comment-page-1/#comment-713</link>
		<dc:creator>rodrigo</dc:creator>
		<pubDate>Fri, 25 Nov 2011 05:26:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.hubermann.com/blog/?p=131#comment-713</guid>
		<description>que raro no pone la tabla final.</description>
		<content:encoded><![CDATA[<p>que raro no pone la tabla final.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Calendario semanal en php by rodrigo</title>
		<link>http://www.hubermann.com/blog/calendario-semanal-en-php/comment-page-1/#comment-712</link>
		<dc:creator>rodrigo</dc:creator>
		<pubDate>Fri, 25 Nov 2011 05:26:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.hubermann.com/blog/?p=131#comment-712</guid>
		<description>Humm lo vuelvo a postear para que se vea

&lt;?php
function diaespanol($valor){
	$valor = strtotime($valor);
	switch (date(&#039;w&#039;, $valor)){
		case 0: $nombreDia =&quot;Domingo&quot;; break;
		case 1: $nombreDia =&quot;Lunes&quot;; break;
		case 2: $nombreDia =&quot;Marates&quot;; break;
		case 3: $nombreDia =&quot;Miercoles&quot;; break;
		case 4: $nombreDia =&quot;Jueves&quot;; break;
		case 5: $nombreDia =&quot;Viernes&quot;; break;
		case 6: $nombreDia =&quot;Sabado&quot;; break;
	}
	return $nombreDia;
}
//el dia desde el q comienzo a mostrar es recibido por get, en caso de no venir tomo como base el dia actual.
$dia = $_GET[&#039;dia&#039;];
if($_GET[&#039;dia&#039;] == &quot;&quot;){
	$dia = date(&#039;Y-n-d&#039;);
}
//con este switch saco la fecha del dia inicial del calendario de la semana de 7 dias de domingo a sabado
$diaRecibido = $dia;
switch (date(&#039;w&#039;, strtotime($dia))){
	case 0: $titleday = &quot;Domingo&quot;; $menos=0;
	$iniciosemana = date(&quot;Y-m-d&quot;, strtotime(&quot;$diaRecibido -$menos day&quot;));
	//$iniciosemana = $diaRecibido;
	break;
	case 1: $titleday =&quot;Lunes&quot;; $menos=1;
	$iniciosemana = date(&quot;Y-m-d&quot;, strtotime(&quot;$diaRecibido -$menos day&quot;));
	break;
	case 2: $titleday =&quot;Martes&quot;; $menos=2;
	$iniciosemana = date(&quot;Y-m-d&quot;, strtotime(&quot;$diaRecibido -$menos day&quot;));
	break;
	case 3: $titleday =&quot;Miercoles&quot;; $menos=3;
	$iniciosemana = date(&quot;Y-m-d&quot;, strtotime(&quot;$diaRecibido -$menos day&quot;));
	break;
	case 4: $titleday =&quot;Jueves&quot;; $menos=4;
	$iniciosemana = date(&quot;Y-m-d&quot;, strtotime(&quot;$diaRecibido -$menos day&quot;));
	break;
	case 5: $titleday =&quot;Viernes&quot;; $menos=5;
	$iniciosemana = date(&quot;Y-m-d&quot;, strtotime(&quot;$diaRecibido -$menos day&quot;));
	break;
	case 6: $titleday =&quot;Sabado&quot;; $menos=6;
	$iniciosemana = date(&quot;Y-m-d&quot;, strtotime(&quot;$diaRecibido -$menos day&quot;));
	break;
}
//creo los link de siguiente y anterior
$linkanterior = date(&quot;Y-m-d&quot;, strtotime(&quot;$iniciosemana -1 day&quot;));
$linksiguiente = date(&quot;Y-m-d&quot;, strtotime(&quot;$iniciosemana +8 day&quot;));
echo &quot;Anterior $linkanterior - Siguiente $linksiguiente&quot;;
echo &#039;Dia recibido: &#039;.$dia.&#039;, &#039;.$titleday.&#039; y el inicio de semana es : &#039;.$iniciosemana.&#039;&#039;;
//creo calendario
?&gt;

  
    
      
        &lt;a href=&quot;?dia=&quot;&gt;Semana Anterior
        &lt;a href=&quot;&quot;&gt;Semana Actual
        &lt;a href=&quot;?dia=&quot;&gt;Semana Siguiente
      
    
  
  
    &#160;
&lt;?php
for($i=0; $i&lt;7; $i++){
	$mostrable = date(&quot;Y-m-d&quot;, strtotime(&quot;$iniciosemana +$i day&quot;));
	$titleday = diaespanol($mostrable);
	echo &#039;&#039;.$titleday.&#039;&#039;.$mostrable.&#039;&#039;;
	}
echo&#039;

  
  
    06:00Hrs
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
  
  
    07:00Hrs
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
  
  
    08:00Hrs
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
  
  
    09:00Hrs
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
  
  
    10:00Hrs
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
  
  
    11:00Hrs
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
  
  
    12:00Hrs
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
  
  
    13:00Hrs
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
  
  
    14:00Hrs
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
  
  
    15:00Hrs
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
  
  
    16:00Hrs
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
  
  
    17:00Hrs
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
  
  
    18:00Hrs
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
  
  
    19:00Hrs
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
  
  
    20:00Hrs
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
  
  
    21:00Hrs
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
  
  
    22:00Hrs
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
  
&#039;;
?&gt;</description>
		<content:encoded><![CDATA[<p>Humm lo vuelvo a postear para que se vea</p>
<p>&lt;?php<br />
function diaespanol($valor){<br />
	$valor = strtotime($valor);<br />
	switch (date(&#039;w&#039;, $valor)){<br />
		case 0: $nombreDia =&quot;Domingo&quot;; break;<br />
		case 1: $nombreDia =&quot;Lunes&quot;; break;<br />
		case 2: $nombreDia =&quot;Marates&quot;; break;<br />
		case 3: $nombreDia =&quot;Miercoles&quot;; break;<br />
		case 4: $nombreDia =&quot;Jueves&quot;; break;<br />
		case 5: $nombreDia =&quot;Viernes&quot;; break;<br />
		case 6: $nombreDia =&quot;Sabado&quot;; break;<br />
	}<br />
	return $nombreDia;<br />
}<br />
//el dia desde el q comienzo a mostrar es recibido por get, en caso de no venir tomo como base el dia actual.<br />
$dia = $_GET[&#039;dia&#039;];<br />
if($_GET[&#039;dia&#039;] == &quot;&quot;){<br />
	$dia = date(&#039;Y-n-d&#039;);<br />
}<br />
//con este switch saco la fecha del dia inicial del calendario de la semana de 7 dias de domingo a sabado<br />
$diaRecibido = $dia;<br />
switch (date(&#039;w&#039;, strtotime($dia))){<br />
	case 0: $titleday = &quot;Domingo&quot;; $menos=0;<br />
	$iniciosemana = date(&quot;Y-m-d&quot;, strtotime(&quot;$diaRecibido -$menos day&quot;));<br />
	//$iniciosemana = $diaRecibido;<br />
	break;<br />
	case 1: $titleday =&quot;Lunes&quot;; $menos=1;<br />
	$iniciosemana = date(&quot;Y-m-d&quot;, strtotime(&quot;$diaRecibido -$menos day&quot;));<br />
	break;<br />
	case 2: $titleday =&quot;Martes&quot;; $menos=2;<br />
	$iniciosemana = date(&quot;Y-m-d&quot;, strtotime(&quot;$diaRecibido -$menos day&quot;));<br />
	break;<br />
	case 3: $titleday =&quot;Miercoles&quot;; $menos=3;<br />
	$iniciosemana = date(&quot;Y-m-d&quot;, strtotime(&quot;$diaRecibido -$menos day&quot;));<br />
	break;<br />
	case 4: $titleday =&quot;Jueves&quot;; $menos=4;<br />
	$iniciosemana = date(&quot;Y-m-d&quot;, strtotime(&quot;$diaRecibido -$menos day&quot;));<br />
	break;<br />
	case 5: $titleday =&quot;Viernes&quot;; $menos=5;<br />
	$iniciosemana = date(&quot;Y-m-d&quot;, strtotime(&quot;$diaRecibido -$menos day&quot;));<br />
	break;<br />
	case 6: $titleday =&quot;Sabado&quot;; $menos=6;<br />
	$iniciosemana = date(&quot;Y-m-d&quot;, strtotime(&quot;$diaRecibido -$menos day&quot;));<br />
	break;<br />
}<br />
//creo los link de siguiente y anterior<br />
$linkanterior = date(&quot;Y-m-d&quot;, strtotime(&quot;$iniciosemana -1 day&quot;));<br />
$linksiguiente = date(&quot;Y-m-d&quot;, strtotime(&quot;$iniciosemana +8 day&quot;));<br />
echo &quot;Anterior $linkanterior &#8211; Siguiente $linksiguiente&quot;;<br />
echo &#039;Dia recibido: &#8216;.$dia.&#8217;, &#8216;.$titleday.&#8217; y el inicio de semana es : &#8216;.$iniciosemana.&#8221;;<br />
//creo calendario<br />
?&gt;</p>
<p>        &lt;a href=&quot;?dia=&#8221;&gt;Semana Anterior<br />
        &lt;a href=&quot;&#8221;&gt;Semana Actual<br />
        &lt;a href=&quot;?dia=&#8221;&gt;Semana Siguiente</p>
<p>    &nbsp;<br />
&lt;?php<br />
for($i=0; $i&lt;7; $i++){<br />
	$mostrable = date(&quot;Y-m-d&quot;, strtotime(&quot;$iniciosemana +$i day&quot;));<br />
	$titleday = diaespanol($mostrable);<br />
	echo &#039;&#8217;.$titleday.&#8221;.$mostrable.&#8221;;<br />
	}<br />
echo&#8217;</p>
<p>    06:00Hrs<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;</p>
<p>    07:00Hrs<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;</p>
<p>    08:00Hrs<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;</p>
<p>    09:00Hrs<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;</p>
<p>    10:00Hrs<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;</p>
<p>    11:00Hrs<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;</p>
<p>    12:00Hrs<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;</p>
<p>    13:00Hrs<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;</p>
<p>    14:00Hrs<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;</p>
<p>    15:00Hrs<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;</p>
<p>    16:00Hrs<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;</p>
<p>    17:00Hrs<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;</p>
<p>    18:00Hrs<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;</p>
<p>    19:00Hrs<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;</p>
<p>    20:00Hrs<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;</p>
<p>    21:00Hrs<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;</p>
<p>    22:00Hrs<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;</p>
<p>&#8216;;<br />
?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Calendario semanal en php by rodrigo</title>
		<link>http://www.hubermann.com/blog/calendario-semanal-en-php/comment-page-1/#comment-711</link>
		<dc:creator>rodrigo</dc:creator>
		<pubDate>Fri, 25 Nov 2011 05:24:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.hubermann.com/blog/?p=131#comment-711</guid>
		<description>Le hize unas pequeñas modificaciones y aqui esta el resultado:

&lt;?php
function diaespanol($valor){
	$valor = strtotime($valor);
	switch (date(&#039;w&#039;, $valor)){
		case 0: $nombreDia =&quot;Domingo&quot;; break;
		case 1: $nombreDia =&quot;Lunes&quot;; break;
		case 2: $nombreDia =&quot;Marates&quot;; break;
		case 3: $nombreDia =&quot;Miercoles&quot;; break;
		case 4: $nombreDia =&quot;Jueves&quot;; break;
		case 5: $nombreDia =&quot;Viernes&quot;; break;
		case 6: $nombreDia =&quot;Sabado&quot;; break;
	}
	return $nombreDia;
}
//el dia desde el q comienzo a mostrar es recibido por get, en caso de no venir tomo como base el dia actual.
$dia = $_GET[&#039;dia&#039;];
if($_GET[&#039;dia&#039;] == &quot;&quot;){
	$dia = date(&#039;Y-n-d&#039;);
}
//con este switch saco la fecha del dia inicial del calendario de la semana de 7 dias de domingo a sabado
$diaRecibido = $dia;
switch (date(&#039;w&#039;, strtotime($dia))){
	case 0: $titleday = &quot;Domingo&quot;; $menos=0;
	$iniciosemana = date(&quot;Y-m-d&quot;, strtotime(&quot;$diaRecibido -$menos day&quot;));
	//$iniciosemana = $diaRecibido;
	break;
	case 1: $titleday =&quot;Lunes&quot;; $menos=1;
	$iniciosemana = date(&quot;Y-m-d&quot;, strtotime(&quot;$diaRecibido -$menos day&quot;));
	break;
	case 2: $titleday =&quot;Martes&quot;; $menos=2;
	$iniciosemana = date(&quot;Y-m-d&quot;, strtotime(&quot;$diaRecibido -$menos day&quot;));
	break;
	case 3: $titleday =&quot;Miercoles&quot;; $menos=3;
	$iniciosemana = date(&quot;Y-m-d&quot;, strtotime(&quot;$diaRecibido -$menos day&quot;));
	break;
	case 4: $titleday =&quot;Jueves&quot;; $menos=4;
	$iniciosemana = date(&quot;Y-m-d&quot;, strtotime(&quot;$diaRecibido -$menos day&quot;));
	break;
	case 5: $titleday =&quot;Viernes&quot;; $menos=5;
	$iniciosemana = date(&quot;Y-m-d&quot;, strtotime(&quot;$diaRecibido -$menos day&quot;));
	break;
	case 6: $titleday =&quot;Sabado&quot;; $menos=6;
	$iniciosemana = date(&quot;Y-m-d&quot;, strtotime(&quot;$diaRecibido -$menos day&quot;));
	break;
}
//creo los link de siguiente y anterior
$linkanterior = date(&quot;Y-m-d&quot;, strtotime(&quot;$iniciosemana -1 day&quot;));
$linksiguiente = date(&quot;Y-m-d&quot;, strtotime(&quot;$iniciosemana +8 day&quot;));
echo &quot;Anterior $linkanterior - Siguiente $linksiguiente&quot;;
echo &#039;Dia recibido: &#039;.$dia.&#039;, &#039;.$titleday.&#039; y el inicio de semana es : &#039;.$iniciosemana.&#039;&#039;;
//creo calendario
?&gt;

  
    
      
        &lt;a href=&quot;?dia=&quot;&gt;Semana Anterior
        &lt;a href=&quot;&quot;&gt;Semana Actual
        &lt;a href=&quot;?dia=&quot;&gt;Semana Siguiente
      
    
  
  
    &#160;
&lt;?php
for($i=0; $i&lt;7; $i++){
	$mostrable = date(&quot;Y-m-d&quot;, strtotime(&quot;$iniciosemana +$i day&quot;));
	$titleday = diaespanol($mostrable);
	echo &#039;&#039;.$titleday.&#039;&#039;.$mostrable.&#039;&#039;;
	}
?&gt;
  
  
    06:00Hrs
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
  
  
    07:00Hrs
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
  
  
    08:00Hrs
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
  
  
    09:00Hrs
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
  
  
    10:00Hrs
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
  
  
    11:00Hrs
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
  
  
    12:00Hrs
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
  
  
    13:00Hrs
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
  
  
    14:00Hrs
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
  
  
    15:00Hrs
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
  
  
    16:00Hrs
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
  
  
    17:00Hrs
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
  
  
    18:00Hrs
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
  
  
    19:00Hrs
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
  
  
    20:00Hrs
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
  
  
    21:00Hrs
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
  
  
    22:00Hrs
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
    &#160;
  
</description>
		<content:encoded><![CDATA[<p>Le hize unas pequeñas modificaciones y aqui esta el resultado:</p>
<p>&lt;?php<br />
function diaespanol($valor){<br />
	$valor = strtotime($valor);<br />
	switch (date(&#039;w&#039;, $valor)){<br />
		case 0: $nombreDia =&quot;Domingo&quot;; break;<br />
		case 1: $nombreDia =&quot;Lunes&quot;; break;<br />
		case 2: $nombreDia =&quot;Marates&quot;; break;<br />
		case 3: $nombreDia =&quot;Miercoles&quot;; break;<br />
		case 4: $nombreDia =&quot;Jueves&quot;; break;<br />
		case 5: $nombreDia =&quot;Viernes&quot;; break;<br />
		case 6: $nombreDia =&quot;Sabado&quot;; break;<br />
	}<br />
	return $nombreDia;<br />
}<br />
//el dia desde el q comienzo a mostrar es recibido por get, en caso de no venir tomo como base el dia actual.<br />
$dia = $_GET[&#039;dia&#039;];<br />
if($_GET[&#039;dia&#039;] == &quot;&quot;){<br />
	$dia = date(&#039;Y-n-d&#039;);<br />
}<br />
//con este switch saco la fecha del dia inicial del calendario de la semana de 7 dias de domingo a sabado<br />
$diaRecibido = $dia;<br />
switch (date(&#039;w&#039;, strtotime($dia))){<br />
	case 0: $titleday = &quot;Domingo&quot;; $menos=0;<br />
	$iniciosemana = date(&quot;Y-m-d&quot;, strtotime(&quot;$diaRecibido -$menos day&quot;));<br />
	//$iniciosemana = $diaRecibido;<br />
	break;<br />
	case 1: $titleday =&quot;Lunes&quot;; $menos=1;<br />
	$iniciosemana = date(&quot;Y-m-d&quot;, strtotime(&quot;$diaRecibido -$menos day&quot;));<br />
	break;<br />
	case 2: $titleday =&quot;Martes&quot;; $menos=2;<br />
	$iniciosemana = date(&quot;Y-m-d&quot;, strtotime(&quot;$diaRecibido -$menos day&quot;));<br />
	break;<br />
	case 3: $titleday =&quot;Miercoles&quot;; $menos=3;<br />
	$iniciosemana = date(&quot;Y-m-d&quot;, strtotime(&quot;$diaRecibido -$menos day&quot;));<br />
	break;<br />
	case 4: $titleday =&quot;Jueves&quot;; $menos=4;<br />
	$iniciosemana = date(&quot;Y-m-d&quot;, strtotime(&quot;$diaRecibido -$menos day&quot;));<br />
	break;<br />
	case 5: $titleday =&quot;Viernes&quot;; $menos=5;<br />
	$iniciosemana = date(&quot;Y-m-d&quot;, strtotime(&quot;$diaRecibido -$menos day&quot;));<br />
	break;<br />
	case 6: $titleday =&quot;Sabado&quot;; $menos=6;<br />
	$iniciosemana = date(&quot;Y-m-d&quot;, strtotime(&quot;$diaRecibido -$menos day&quot;));<br />
	break;<br />
}<br />
//creo los link de siguiente y anterior<br />
$linkanterior = date(&quot;Y-m-d&quot;, strtotime(&quot;$iniciosemana -1 day&quot;));<br />
$linksiguiente = date(&quot;Y-m-d&quot;, strtotime(&quot;$iniciosemana +8 day&quot;));<br />
echo &quot;Anterior $linkanterior &#8211; Siguiente $linksiguiente&quot;;<br />
echo &#039;Dia recibido: &#8216;.$dia.&#8217;, &#8216;.$titleday.&#8217; y el inicio de semana es : &#8216;.$iniciosemana.&#8221;;<br />
//creo calendario<br />
?&gt;</p>
<p>        &lt;a href=&quot;?dia=&#8221;&gt;Semana Anterior<br />
        &lt;a href=&quot;&#8221;&gt;Semana Actual<br />
        &lt;a href=&quot;?dia=&#8221;&gt;Semana Siguiente</p>
<p>    &nbsp;<br />
&lt;?php<br />
for($i=0; $i&lt;7; $i++){<br />
	$mostrable = date(&quot;Y-m-d&quot;, strtotime(&quot;$iniciosemana +$i day&quot;));<br />
	$titleday = diaespanol($mostrable);<br />
	echo &#039;&#8217;.$titleday.&#8221;.$mostrable.&#8221;;<br />
	}<br />
?&gt;</p>
<p>    06:00Hrs<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;</p>
<p>    07:00Hrs<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;</p>
<p>    08:00Hrs<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;</p>
<p>    09:00Hrs<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;</p>
<p>    10:00Hrs<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;</p>
<p>    11:00Hrs<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;</p>
<p>    12:00Hrs<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;</p>
<p>    13:00Hrs<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;</p>
<p>    14:00Hrs<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;</p>
<p>    15:00Hrs<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;</p>
<p>    16:00Hrs<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;</p>
<p>    17:00Hrs<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;</p>
<p>    18:00Hrs<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;</p>
<p>    19:00Hrs<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;</p>
<p>    20:00Hrs<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;</p>
<p>    21:00Hrs<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;</p>
<p>    22:00Hrs<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Calendario semanal en php by rodrigo</title>
		<link>http://www.hubermann.com/blog/calendario-semanal-en-php/comment-page-1/#comment-710</link>
		<dc:creator>rodrigo</dc:creator>
		<pubDate>Fri, 25 Nov 2011 02:27:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.hubermann.com/blog/?p=131#comment-710</guid>
		<description>Excelente trabajo viejo.
en unas horas mas posteo un calendario completo, lo que estoy haciendo es, seleccionar las horas disponibles de una cancha de tenis, para que se pueda reservar, y con este calendario tomo el dia de otro calendario que es mensual y por medio de java muestro el calendario semanal del dia al cual le dieron click. en unas horas mas posteare completo el trabajo.

Saludos y nuevamente gracias.</description>
		<content:encoded><![CDATA[<p>Excelente trabajo viejo.<br />
en unas horas mas posteo un calendario completo, lo que estoy haciendo es, seleccionar las horas disponibles de una cancha de tenis, para que se pueda reservar, y con este calendario tomo el dia de otro calendario que es mensual y por medio de java muestro el calendario semanal del dia al cual le dieron click. en unas horas mas posteare completo el trabajo.</p>
<p>Saludos y nuevamente gracias.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Calendario semanal en php by rodrigo</title>
		<link>http://www.hubermann.com/blog/calendario-semanal-en-php/comment-page-1/#comment-709</link>
		<dc:creator>rodrigo</dc:creator>
		<pubDate>Fri, 25 Nov 2011 02:15:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.hubermann.com/blog/?p=131#comment-709</guid>
		<description>Gracias viejo me sirvio y me ahorro horas de investigacion y programacion.
desde Guadalajara, Mexico
SALUDOS</description>
		<content:encoded><![CDATA[<p>Gracias viejo me sirvio y me ahorro horas de investigacion y programacion.<br />
desde Guadalajara, Mexico<br />
SALUDOS</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on php detectar encoding, evitar caracteres raros by Michael</title>
		<link>http://www.hubermann.com/blog/php-detectar-encoding-evitar-caracteres-raros/comment-page-1/#comment-703</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Tue, 04 Oct 2011 05:52:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.hubermann.com/blog/?p=133#comment-703</guid>
		<description>Excelente!!! Muchas gracias por compartir este código con nosotros. Saludos!!!</description>
		<content:encoded><![CDATA[<p>Excelente!!! Muchas gracias por compartir este código con nosotros. Saludos!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Read files from a folder with php &#124; Leer archivos de una carpeta con php by hubermann</title>
		<link>http://www.hubermann.com/blog/read-files-from-a-folder-with-php-leer-archivos-de-una-carpeta-con-php/comment-page-1/#comment-690</link>
		<dc:creator>hubermann</dc:creator>
		<pubDate>Sun, 25 Apr 2010 21:29:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.hubermann.com/blog/?p=57#comment-690</guid>
		<description>humm comprendo poco como lo estaras probando pero  la unidad de red solo la estas poniendo como ruta o tienes en la unidad corriedo php y funcionando apache para poder acceder via browser??

Salu2</description>
		<content:encoded><![CDATA[<p>humm comprendo poco como lo estaras probando pero  la unidad de red solo la estas poniendo como ruta o tienes en la unidad corriedo php y funcionando apache para poder acceder via browser??</p>
<p>Salu2</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Read files from a folder with php &#124; Leer archivos de una carpeta con php by ray0</title>
		<link>http://www.hubermann.com/blog/read-files-from-a-folder-with-php-leer-archivos-de-una-carpeta-con-php/comment-page-1/#comment-689</link>
		<dc:creator>ray0</dc:creator>
		<pubDate>Tue, 20 Apr 2010 20:12:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.hubermann.com/blog/?p=57#comment-689</guid>
		<description>una pregunta porque no me deja leer archivos en una unidad de red conectada en la computadora????

gracias por lo demas funciona de maravilla =)</description>
		<content:encoded><![CDATA[<p>una pregunta porque no me deja leer archivos en una unidad de red conectada en la computadora????</p>
<p>gracias por lo demas funciona de maravilla =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Gracias Google! by monica</title>
		<link>http://www.hubermann.com/blog/gracias-google/comment-page-1/#comment-685</link>
		<dc:creator>monica</dc:creator>
		<pubDate>Sat, 06 Mar 2010 18:46:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.hubermann.com/blog/?p=92#comment-685</guid>
		<description>Después contá cómo te fue Gaby y te seguimos! :)</description>
		<content:encoded><![CDATA[<p>Después contá cómo te fue Gaby y te seguimos! <img src='http://www.hubermann.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Read files from a folder with php &#124; Leer archivos de una carpeta con php by hubermann</title>
		<link>http://www.hubermann.com/blog/read-files-from-a-folder-with-php-leer-archivos-de-una-carpeta-con-php/comment-page-1/#comment-671</link>
		<dc:creator>hubermann</dc:creator>
		<pubDate>Wed, 25 Nov 2009 00:30:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.hubermann.com/blog/?p=57#comment-671</guid>
		<description>Hola, asi al vuelo y de forma rapida se me ocurre lo siguiente. 
pueden volcarse los nombres dentro de un array y mediante alguna funcion como sort($array)  ordenarlos.

estoy algo corto de tiempo en estos dias, sino lo probaba :( , si llegas a probarlo me cuentas?

Salu2</description>
		<content:encoded><![CDATA[<p>Hola, asi al vuelo y de forma rapida se me ocurre lo siguiente.<br />
pueden volcarse los nombres dentro de un array y mediante alguna funcion como sort($array)  ordenarlos.</p>
<p>estoy algo corto de tiempo en estos dias, sino lo probaba <img src='http://www.hubermann.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  , si llegas a probarlo me cuentas?</p>
<p>Salu2</p>
]]></content:encoded>
	</item>
</channel>
</rss>

