Patch level :
Files correlati : Ricompilazione Demo : [ ] Commento : Prime modifiche git-svn-id: svn://10.65.10.50/trunk@9788 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
7eb69fc6e9
commit
f7af9ddfa9
Binary file not shown.
@ -76,12 +76,12 @@ else
|
||||
$resultx = mysql_query($criterix, $db);
|
||||
$numx = mysql_num_rows($resultx);
|
||||
if ($numx == 0)
|
||||
echo "<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD class=corso><IMG SRC=images/trans.gif WIDTH=5 HEIGHT=21 BORDER=0><IMG SRC=images/n.gif WIDTH=9 HEIGHT=21 BORDER=0></TD><TD class=corso>$spazi1".$myrow2["nome"]."</TD></TR></TABLE>";
|
||||
//echo "<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD class=corso><IMG SRC=images/trans.gif WIDTH=5 HEIGHT=21 BORDER=0><IMG SRC=images/n.gif WIDTH=9 HEIGHT=21 BORDER=0></TD><TD class=corso>$spazi1".$myrow2["nome"]."</TD></TR></TABLE>";
|
||||
//echo "<form action=n_lezione.php><tr><td class=corso>".$myrow2["nome"]."<input type=text size=2 name=idcorso value=".$myrow2["id"]."><input type=submit name=n_lezione value='Aggiungi lezione'></form></td></tr>";
|
||||
//echo "<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD class=corso><IMG SRC=images/trans.gif WIDTH=5 HEIGHT=21 BORDER=0><IMG SRC=images/n.gif WIDTH=9 HEIGHT=21 BORDER=0></td><form action=n_lezione.php><td class=corso>".$myrow2["nome"]."<input type=text size=2 name=idcorso value=".$myrow2["id"]."><input type=submit name=n_lezione value='Aggiungi lezione'></form></td></tr></TABLE>";
|
||||
echo "<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD class=corso><IMG SRC=images/trans.gif WIDTH=5 HEIGHT=21 BORDER=0><IMG SRC=images/n.gif WIDTH=9 HEIGHT=21 BORDER=0></td><form action=n_lezione.php><td class=corso>".$myrow2["nome"]."<input type=hidden size=2 name=idcorso value=".$myrow2["id"]."><input type=image src=images/n.gif name=n_lezione value='Aggiungi lezione'></form></td></tr></TABLE>";
|
||||
else
|
||||
echo "<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD class=corso><IMG SRC=images/trans.gif WIDTH=5 HEIGHT=21 BORDER=0><IMG SRC=images/m.gif WIDTH=9 HEIGHT=21 BORDER=0></TD><TD class=corso>$spazi1".$myrow2["nome"]."</TD></TR></TABLE>";
|
||||
//echo "<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD class=corso><IMG SRC=images/trans.gif WIDTH=5 HEIGHT=21 BORDER=0><IMG SRC=images/m.gif WIDTH=9 HEIGHT=21 BORDER=0></td><form action=n_lezione.php><td class=corso>".$myrow2["nome"]."<input type=text size=2 name=idcorso value=".$myrow2["id"]."><input type=submit name=n_lezione value='Aggiungi lezione'></form></td></tr></TABLE>";
|
||||
//echo "<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD class=corso><IMG SRC=images/trans.gif WIDTH=5 HEIGHT=21 BORDER=0><IMG SRC=images/m.gif WIDTH=9 HEIGHT=21 BORDER=0></TD><TD class=corso>$spazi1".$myrow2["nome"]."</TD></TR></TABLE>";
|
||||
echo "<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD class=corso><IMG SRC=images/trans.gif WIDTH=5 HEIGHT=21 BORDER=0><IMG SRC=images/m.gif WIDTH=9 HEIGHT=21 BORDER=0></td><form action=n_lezione.php><td class=corso>".$myrow2["nome"]."<input type=hidden size=2 name=idcorso value=".$myrow2["id"]."><input type=submit name=n_lezione value='Aggiungi lezione'></form></td></tr></TABLE>";
|
||||
$criteri3 = "SELECT * FROM $tbl_lezioni WHERE (idcorso = ".$myrow2["id"].")";
|
||||
$result3 = mysql_query($criteri3, $db);
|
||||
$num_lez = mysql_num_rows($result3);
|
||||
@ -94,19 +94,28 @@ else
|
||||
$criteriy = "SELECT * FROM $tbl_test LEFT JOIN $tbl_lezioni ON $tbl_test.idlezione = $tbl_lezioni.id WHERE ($tbl_lezioni.id = ".$myrow3["id"].")";
|
||||
$resulty = mysql_query($criteriy, $db);
|
||||
$numy = mysql_num_rows($resulty);
|
||||
if ($myrow3["percorso"] == "" )
|
||||
$percorso = "tuttitest.php";
|
||||
else
|
||||
$percorso = $myrow3["percorso"];
|
||||
|
||||
if ($numy == 0)
|
||||
{
|
||||
if ($c == $num_lez)
|
||||
echo "<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD class=lezione><IMG SRC=images/trans.gif WIDTH=5 HEIGHT=21 BORDER=0><img src='images/l.gif' border=0 WIDTH=12 HEIGHT=21><IMG SRC=images/n.gif WIDTH=9 HEIGHT=21 BORDER=0></TD><TD class=lezione>$spazi1".$myrow3["nome"]."</TD></TR></TABLE>";
|
||||
//echo "<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD class=lezione><IMG SRC=images/trans.gif WIDTH=5 HEIGHT=21 BORDER=0><img src='images/l.gif' border=0 WIDTH=12 HEIGHT=21><IMG SRC=images/n.gif WIDTH=9 HEIGHT=21 BORDER=0></TD><TD class=lezione>$spazi1".$myrow3["nome"]."</TD></TR></TABLE>";
|
||||
echo "<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD class=lezione><IMG SRC=images/trans.gif WIDTH=5 HEIGHT=21 BORDER=0><img src='images/l.gif' border=0 WIDTH=12 HEIGHT=21><IMG SRC=images/n.gif WIDTH=9 HEIGHT=21 BORDER=0></TD><TD class=lezione>$spazi1<a href='$percorso' target=destra>".$myrow3["nome"]."</a></TD></TR></TABLE>";
|
||||
else
|
||||
echo "<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD class=lezione><IMG SRC=images/trans.gif WIDTH=5 HEIGHT=21 BORDER=0><img src='images/t.gif' border=0 WIDTH=12 HEIGHT=21><IMG SRC=images/n.gif WIDTH=9 HEIGHT=21 BORDER=0></TD><TD class=lezione>$spazi1".$myrow3["nome"]."</TD></TR></TABLE>";
|
||||
//echo "<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD class=lezione><IMG SRC=images/trans.gif WIDTH=5 HEIGHT=21 BORDER=0><img src='images/t.gif' border=0 WIDTH=12 HEIGHT=21><IMG SRC=images/n.gif WIDTH=9 HEIGHT=21 BORDER=0></TD><TD class=lezione>$spazi1".$myrow3["nome"]."</TD></TR></TABLE>";
|
||||
echo "<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD class=lezione><IMG SRC=images/trans.gif WIDTH=5 HEIGHT=21 BORDER=0><img src='images/t.gif' border=0 WIDTH=12 HEIGHT=21><IMG SRC=images/n.gif WIDTH=9 HEIGHT=21 BORDER=0></TD><TD class=lezione>$spazi1<a href='$percorso' target=destra>".$myrow3["nome"]."</a></TD></TR></TABLE>";
|
||||
}
|
||||
else
|
||||
{
|
||||
if ($c == $num_lez)
|
||||
echo "<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD class=lezione><IMG SRC=images/trans.gif WIDTH=5 HEIGHT=21 BORDER=0><img src='images/l.gif' border=0 WIDTH=12 HEIGHT=21><IMG SRC=images/m.gif WIDTH=9 HEIGHT=21 BORDER=0></TD><TD class=lezione>$spazi1".$myrow3["nome"]."</TD></TR></TABLE>";
|
||||
//echo "<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD class=lezione><IMG SRC=images/trans.gif WIDTH=5 HEIGHT=21 BORDER=0><img src='images/l.gif' border=0 WIDTH=12 HEIGHT=21><IMG SRC=images/m.gif WIDTH=9 HEIGHT=21 BORDER=0></TD><TD class=lezione>$spazi1".$myrow3["nome"]."</TD></TR></TABLE>";
|
||||
echo "<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD class=lezione><IMG SRC=images/trans.gif WIDTH=5 HEIGHT=21 BORDER=0><img src='images/l.gif' border=0 WIDTH=12 HEIGHT=21><IMG SRC=images/m.gif WIDTH=9 HEIGHT=21 BORDER=0></TD><TD class=lezione>$spazi1<a href='$percorso' target=destra>".$myrow3["nome"]."</a></TD></TR></TABLE>";
|
||||
else
|
||||
echo "<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD class=lezione><IMG SRC=images/trans.gif WIDTH=5 HEIGHT=21 BORDER=0><img src='images/t.gif' border=0 WIDTH=12 HEIGHT=21><IMG SRC=images/m.gif WIDTH=9 HEIGHT=21 BORDER=0></TD><TD class=lezione>$spazi1".$myrow3["nome"]."</TD></TR></TABLE>";
|
||||
//echo "<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD class=lezione><IMG SRC=images/trans.gif WIDTH=5 HEIGHT=21 BORDER=0><img src='images/t.gif' border=0 WIDTH=12 HEIGHT=21><IMG SRC=images/m.gif WIDTH=9 HEIGHT=21 BORDER=0></TD><TD class=lezione>$spazi1".$myrow3["nome"]."</TD></TR></TABLE>";
|
||||
echo "<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD class=lezione><IMG SRC=images/trans.gif WIDTH=5 HEIGHT=21 BORDER=0><img src='images/t.gif' border=0 WIDTH=12 HEIGHT=21><IMG SRC=images/m.gif WIDTH=9 HEIGHT=21 BORDER=0></TD><TD class=lezione>$spazi1<a href='$percorso' target=destra>".$myrow3["nome"]."</a></TD></TR></TABLE>";
|
||||
}
|
||||
$criteri4 = "SELECT * FROM $tbl_test WHERE (idlezione = ".$myrow3["id"].")";
|
||||
$result4 = mysql_query($criteri4, $db);
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 126 KiB After Width: | Height: | Size: 50 KiB |
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user