r h y t h m ' n f u n k y s o u l i v e m u s i c b a n d
   
"White folks hear the blues come out, but they don't know how it got there." --Ma Rainey

Contatti Bordero Foto Bordero
Biografia Bordero
Audio Bordero Concerti Bordero
\n"; // $newsText .= stripslashes($row["title"]) . " leggi...\n"; return $ret; } $begtable = << EOF; echo $begtable; $newsText = ""; // query per recuperare le news $newsQuery = "SELECT id, newsdate, title, description, sticky FROM news order by sticky desc, newsdate desc, id desc limit $nitems;"; $newsExec = mysqli_query($conn,$newsQuery); while($row = mysqli_fetch_array($newsExec)) { $newsText .= newsEntry($row); } echo $newsText; echo "
Carta Stampata
Guestbook
News
EOF; if ( strlen($sqlrow["sticky"]) > 0 ) { $ret .= " "; } $ret .= prettyDate(stripslashes($sqlrow["newsdate"]), '1'); $ret .= <<:  EOF; $newsurl = "readnews.php#news-$newsid"; $ret .= stripslashes($sqlrow["title"]) . "
leggi...
"; ?>
Eventi
2035) { $year = 2035; } } if (isset($_GET['today'])) { $today = $_GET['today']; $today = preg_replace ("#[[:space:]]#", "", $today); $today = preg_replace ("#[[:punct:]]#", "", $today); $today = preg_replace ("#[[:alpha:]]#", "", $today); } $month = (isset($month)) ? $month : date("n",time()); $year = (isset($year)) ? $year : date("Y",time()); $today = (isset($today))? $today : date("j", time()); $daylong = date("l",mktime(1,1,1,$month,$today,$year)); $monthlong = date("F",mktime(1,1,1,$month,$today,$year)); $dayone = date("w",mktime(1,1,1,$month,1,$year)); $numdays = date("t",mktime(1,1,1,$month,1,$year)); $alldays = array('Sun','Mon','Tue','Wed','Thu','Fri','Sat'); $next_year = $year + 1; $last_year = $year - 1; if ($today > $numdays) { $today--; } //begin outer table structure $begtable = <<
EOF; echo $begtable; echo "
  $year  
"; echo monthTable($year, "100%") . "\n"; //display name of month // tabella dei giorni // il cellpaddig era originariamente messo a 2 echo " \n\n"; echo "\n"; echo "\n\n"; //display day names foreach($alldays as $value) { echo "\n"; } echo "\n\n"; //display blank days as nbsp's for ($i = 0; $i < $dayone; $i++) { echo "\n"; } //display days for ($zz = 1; $zz <= $numdays; $zz++) { if ($i >= 7) { print("\n\n"); $i=0; } //check current day for an event $result_found = 0; //search for event on this day and mark cell if title not empty $sql_currentday = "$year-$month-$zz"; $eventQuery = "SELECT title, public FROM cal WHERE eventdate = '$sql_currentday';"; $eventExec = mysqli_query($conn,$eventQuery); $eventclass = "cellbg"; while($row = mysqli_fetch_array($eventExec)) { if (strlen($row["title"]) > 0) { if ($row["public"] == 1) { $eventclass = "cellevent"; } else { $eventclass = "cellprivateevent"; } } } echo "\n"; $i++; $result_found = 0; } $create_emptys = 7 - (($dayone + $numdays) % 7); if ($create_emptys == 7) { $create_emptys = 0; } //display blank remaining cells if ($create_emptys != 0) { echo "\n"; } echo "\n"; echo "
" . $months_locale[date("F",mktime(1,1,1,$month,1,$year))] . "\n
" . $shortdays_locale[$value] . "
 
$zz
\n"; //end outer table $endtable = <<
EOF; echo $endtable; ?>

.: home - concerti - biografia - audio - foto - scheda tecnica - contatti - guestbook - mailing list - credits - admin :.