BMT 2011
$id_co=$_GET["co"];
if($id_co)
{
$result=mysqli_query($con, "SELECT * FROM menu_tab WHERE id=$id_co ");
$num_rec_link=mysqli_num_rows($result);
while($record=mysqli_fetch_array($result, MYSQLI_BOTH))
{
$testo=stripslashes(utf8_decode($record["testo"]));
$nome=stripslashes(utf8_decode($record["nome"]));
}
?>
Warning: Undefined variable $testo in D:\inetpub\webs\campermagazinetv\campermagazine\live_BMT.php on line 109
} ?>
Warning: Undefined variable $nome in D:\inetpub\webs\campermagazinetv\campermagazine\live_BMT.php on line 108
Warning: Undefined variable $testo in D:\inetpub\webs\campermagazinetv\campermagazine\live_BMT.php on line 109
} ?>
$ru="BMT";
$tab=$_GET["tab"];
?>
echo $num_mess." video inseriti - Pagine "; conta_pag($num_mess, $numrec, $numpag, $visual_pag, $incremento, $menu, $id_co, $ru, $tab); }// if $num_rec } ?>
switch ($tab) {
case 1:
echo "
if($ru)
{
$arr_video_home=array(
array(), //id
array(), //titolo
array(), //testo
array(), //rubrica
array() //immagine
);
$numrec=10;
$numpag=12;
$visual_pag=$_GET["pag"];
$estremo1=($visual_pag-1)*$numrec;
if (!$visual_pag || $del)
{
$visual_pag=1;
$estremo1=0;
}
$incremento=$_GET["incr"];
$query="SELECT * FROM video WHERE visibile='si' AND rubrica='$ru' AND titolo_eng='$tab' ";
$result=mysqli_query($con, "$query ORDER BY posizione ASC");
$num_mess=mysqli_num_rows($result);
$result=mysqli_query($con, "$query ORDER BY posizione ASC LIMIT $estremo1, $numrec");
$num_rec=mysqli_num_rows($result);
if ($num_rec)
{
echo $num_mess." video inseriti - Pagine ";
conta_pag($num_mess, $numrec, $numpag, $visual_pag, $incremento, $menu, $id_co, $ru, $tab);
while($record=mysqli_fetch_array($result, MYSQLI_BOTH))
{
$id=$record["id"];
$titolo=stripslashes(utf8_decode($record["titolo"]));
$testo=strip_tags(utf8_decode($record["testo"]));
$rubrica=stripslashes($record["rubrica"]);
$immagine=stripslashes($record["immagine"]);
$testoRub=substr($testo, 0, 60);
if (strlen($testo)>60) $testoRub.=" ...";
array_push($arr_video_home[0], $id);
array_push($arr_video_home[1], $titolo);
array_push($arr_video_home[2], $testoRub);
array_push($arr_video_home[3], $rubrica);
array_push($arr_video_home[4], $immagine);
}
?>
In Evidenza
"; break; case 2: echo "CamperMag News live
"; break; case 3: echo "Eventi
"; break; case 4: echo "Corporate
"; break; case 5: echo "Interviste
"; break; case 6: echo "Prodotti e produttori
"; break; } ?>echo $num_mess." video inseriti - Pagine "; conta_pag($num_mess, $numrec, $numpag, $visual_pag, $incremento, $menu, $id_co, $ru, $tab); }// if $num_rec } ?>