j' ai modifier le module download de script nukedklan afin de ne plus trouver de description ni le titre mais seulement l' image .
mais mon probleme c' est que les download sont mit 1 par ligne comme ceci :
et je voudrai qu'il est 4 par ligne et un saut automatique si plus de 4 fichiers .
voici le code en question:
Code :
- ///////////////// CONDITION D AFFICHAGE DE L APERCU /////////////
- if ($screen != "" ) $capture = "<a href=\\"index.php?file=Download&op=description&dl_id=" . $dl_id . "\\" title=\\"" . $screen . "\\"><img src=\\"$screen\\" width=\\"150\\" border=0 /></a>";
- //////////////////////////////////////////////////////////////////////////////////////////////
- echo "<table style=\\"background: " . $bgcolor3 . ";margin-left: auto;margin-right: auto;text-align: left;\\" width=\\"19%\\" cellspacing=\\"1\\" cellpadding=\\"0\\">\\n"
- . "<tr><td><table style=\\"background: " . $bgcolor2 . ";\\" width=\\"20%\\" border=\\"0\\" cellspacing=\\"1\\" cellpadding=\\"2\\">\\n"
- . "<tr><td colspan=\\"2\\">" . $img . " <a href=\\"index.php?file=Download&op=description&dl_id=" . $dl_id . "\\"></a>" . $att . "</td></tr>\\n";
-
- //////// AFFICHAGE DE L APERCU A COTER DE LA DESCRIPTION ///////////
- if ($texte != "" )
- {
- echo "<tr style=\\"background: " . $bgcolor2 . "; vertical-align:top;\\"><td style=\\"width:220px;\\">".$capture."</td><td>" . $texte . "</td></tr>\\n";
- }else{
- echo "<tr style=\\"background: " . $bgcolor2 . ";\\"><td colspan=\\"2\\">".$capture."</td></tr>\\n";
- }
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- echo "</td></tr></table></td></tr></table><br />\\n";
|
merci a ceux qui pourrant m' aidé
Message édité par allquest le 13-01-2008 à 23:50:20