c koi ce message d'erreur ??

c koi ce message d'erreur ?? - PHP - Programmation

Marsh Posté le 08-04-2003 à 22:16:44    

Citation :

Parse error: parse error, unexpected $ in /home/opt3/local/apache/htdocs/sites/a/animecdz.com/statut.php on line 420


 
 
jai pas de ligne 420 !!!!!


---------------
Saint Seiya  || La Livebox || Europe, débats, réflexions
Reply

Marsh Posté le 08-04-2003 à 22:16:44   

Reply

Marsh Posté le 08-04-2003 à 22:22:09    

Vérifie que toutes tes accolades ouvertes sont fermées.

Reply

Marsh Posté le 08-04-2003 à 22:25:57    

tu les "compte" avec koi tes lignes?


---------------
lecteur mp3 yvele's smilies jeux de fille
Reply

Marsh Posté le 08-04-2003 à 22:36:50    

toutes mes accolades sont fermées et je compte mes lignes dans webexpert !


---------------
Saint Seiya  || La Livebox || Europe, débats, réflexions
Reply

Marsh Posté le 08-04-2003 à 22:40:43    

la seule explication possible est que le script a généré la "fameuse" ligne 420.
en effet la vieille legende raconte que du temps ou php a été créé , un savant fou a inséré la fonction create_line_420 qui faisait bugger bcp de script
peut etre a tu trouvé une combinaison secrete pour invoquer cette fonction...

Reply

Marsh Posté le 08-04-2003 à 22:41:10    

orazur a écrit :

la seule explication possible est que le script a généré la "fameuse" ligne 420.
en effet la vieille legende raconte que du temps ou php a été créé , un savant fou a inséré la fonction create_line_420 qui faisait bugger bcp de script
peut etre a tu trouvé une combinaison secrete pour invoquer cette fonction...
 

autre chose ?


---------------
Saint Seiya  || La Livebox || Europe, débats, réflexions
Reply

Marsh Posté le 08-04-2003 à 22:45:11    

orazur a écrit :

la seule explication possible est que le script a généré la "fameuse" ligne 420.
en effet la vieille legende raconte que du temps ou php a été créé , un savant fou a inséré la fonction create_line_420 qui faisait bugger bcp de script
peut etre a tu trouvé une combinaison secrete pour invoquer cette fonction...
 


 
clair .... je vois que ça moi aussi   :whistle:  
 
 
ps: ex-floodeur > tu as oublié de fermer des accolades


---------------
from here and there -- \o__________________________________ -- la révolution de la terre, en silence
Reply

Marsh Posté le 08-04-2003 à 22:50:00    

essaye peut etre un unsummon_da_fucking_line_420_function_which_sux_like_hell_cause_i_want_to_use_my_fucking_script_bitch();

Reply

Marsh Posté le 08-04-2003 à 22:50:25    

orazur a écrit :

essaye peut etre un unsummon_da_fucking_line_420_function_which_sux_like_hell_cause_i_want_to_use_my_fucking_script_bitch();

:fou:  :fou:  :fou:  :fou:  :fou:  :fou:  :fou:  :fou:


---------------
Saint Seiya  || La Livebox || Europe, débats, réflexions
Reply

Marsh Posté le 08-04-2003 à 22:51:13    

ex-floodeur a écrit :

:fou:  :fou:  :fou:  :fou:  :fou:  :fou:  :fou:  :fou:  

tu as combien de ligne dans ton script ?


---------------
lecteur mp3 yvele's smilies jeux de fille
Reply

Marsh Posté le 08-04-2003 à 22:51:13   

Reply

Marsh Posté le 08-04-2003 à 22:53:35    

ex-floodeur a écrit :

:fou:  :fou:  :fou:  :fou:  :fou:  :fou:  :fou:  :fou:  


 
inseres le code au lieu de gueuler dans ton coin ... si tu ne veux pas essayer la fameuse fonction d'orazur ... ;)  
 
on va te la debugger ta daube  :sarcastic:


---------------
from here and there -- \o__________________________________ -- la révolution de la terre, en silence
Reply

Marsh Posté le 08-04-2003 à 22:54:20    

Code :
  1. <?
  2. include("mainfile.php" );
  3. include("header.php" );
  4. include("include/include/config.php" );
  5. include("include/include/fonctions.php" );
  6. global $xoopsDB, $xoopsUser,$xoopsConfig, $HTTP_COOKIE_VARS;
  7. if($xoopsUser) {
  8. if (!empty($id)) {
  9. if ($s == 1) {
  10. mysql_query("UPDATE manga_mydownloads_downloads SET line = '".AuAddSlashes($s)."' WHERE lid = $id" );}
  11. if ($s == 0) {
  12. mysql_query("UPDATE manga_mydownloads_downloads SET line = '".AuAddSlashes($s)."' WHERE lid = $id" );}}
  13. $green = "images/online.gif";$red = "images/offline.gif";
  14. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Statut des vidéos sur le site</b></font><br>";
  15. echo "<img src=\"$green\" width=\"20\" height=\"20\">Online - <img src=\"$red\" width=\"20\" height=\"20\">Offline</p>";
  16. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#sanc1\">Sanctuaire 1</a></font> - ";
  17. echo "<font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#sanc2\">Sanctuaire 2</a></font> -";
  18. echo "<font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#asgard\">Asgard</a></font> -";
  19. echo "<font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#poseidon\">Poséidon</a></font> -";
  20. echo "<font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#film\">Films</a></font> -";
  21. echo "<font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#generique\">Generiques</a></font><br>";
  22. echo "<font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#trailer\">Trailers</a></font> - ";
  23. echo "<font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#creation\">Creation de fans</a></font> - ";
  24. echo "<font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#autre\">Autres</a></font></p>";
  25. echo "<a name=\"sanc1\">";
  26. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Episodes sanctuaire I</b></font></p>";
  27. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid = '20' ORDER BY title ASC" );
  28. $n = mysql_num_rows($q);$count = 0;
  29. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  30. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  31. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  32. if ( $xoopsUser->isAdmin() ) {
  33. echo "<td align='center'><span class='fg2'><b>Controle</b></span></td>";}
  34. echo "</tr>";
  35. while ($r = mysql_fetch_array($q)) {
  36. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  37. $admin = "MAJ";
  38. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  39. if ($stat == 1){
  40. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"".XOOPS_URL."/modules/mydownloads/visit.php?lid=$id\"><img src=\"$green\" width=\"20\" height=\"20\"></a></div></td>";
  41. if ( $xoopsUser->isAdmin() ) {
  42. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=0\">$admin</a></div></td>";}}
  43. if ($stat == 0){
  44. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";
  45. if ( $xoopsUser->isAdmin() ) {
  46. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=1\">$admin</a></div></td>";}}
  47. echo "</tr>";}
  48. echo "</table></a>";
  49. echo "<a name=\"sanc2\">";
  50. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Episodes Sanctuaire II</b></font></p>";
  51. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid ='21' ORDER BY title ASC" );
  52. $n = mysql_num_rows($q);$count = 0;
  53. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  54. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  55. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  56. if ( $xoopsUser->isAdmin() ) {
  57. echo "<td align='center'><span class='fg2'><b>Controle</b></span></td>";}
  58. echo "</tr>";
  59. while ($r = mysql_fetch_array($q)) {
  60. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  61. $admin = "MAJ";
  62. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  63. if ($stat == 1){
  64. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"".XOOPS_URL."/modules/mydownloads/visit.php?lid=$id\"><img src=\"$green\" width=\"20\" height=\"20\"></a></div></td>";
  65. if ( $xoopsUser->isAdmin() ) {
  66. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=0\">$admin</a></div></td>";}}
  67. if ($stat == 0){
  68. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";
  69. if ( $xoopsUser->isAdmin() ) {
  70. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=1\">$admin</a></div></td>";}}
  71. echo "</tr>";}
  72. echo "</table></a>";
  73. echo "<a name=\"asgard\">";
  74. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Episodes Asgard</b></font></p>";
  75. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid = '22' ORDER BY title ASC" );
  76. $n = mysql_num_rows($q);$count = 0;
  77. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  78. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  79. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  80. if ( $xoopsUser->isAdmin() ) {
  81. echo "<td align='center'><span class='fg2'><b>Controle</b></span></td>";}
  82. echo "</tr>";
  83. while ($r = mysql_fetch_array($q)) {
  84. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  85. $admin = "MAJ";
  86. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  87. if ($stat == 1){
  88. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"".XOOPS_URL."/modules/mydownloads/visit.php?lid=$id\"><img src=\"$green\" width=\"20\" height=\"20\"></a></div></td>";
  89. if ( $xoopsUser->isAdmin() ) {
  90. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=0\">$admin</a></div></td>";}}
  91. if ($stat == 0){
  92. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";
  93. if ( $xoopsUser->isAdmin() ) {
  94. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=1\">$admin</a></div></td>";}}
  95. echo "</tr>";}
  96. echo "</table></a>";
  97. echo "<a name=\"poseidon\">";
  98. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Episodes Poséidon</b></font></p>";
  99. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid ='23' ORDER BY title ASC" );
  100. $n = mysql_num_rows($q);$count = 0;
  101. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  102. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  103. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  104. if ( $xoopsUser->isAdmin() ) {
  105. echo "<td align='center'><span class='fg2'><b>Controle</b></span></td>";}
  106. echo "</tr>";
  107. while ($r = mysql_fetch_array($q)) {
  108. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  109. $admin = "MAJ";
  110. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  111. if ($stat == 1){
  112. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"".XOOPS_URL."/modules/mydownloads/visit.php?lid=$id\"><img src=\"$green\" width=\"20\" height=\"20\"></a></div></td>";
  113. if ( $xoopsUser->isAdmin() ) {
  114. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=0\">$admin</a></div></td>";}}
  115. if ($stat == 0){
  116. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";
  117. if ( $xoopsUser->isAdmin() ) {
  118. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=1\">$admin</a></div></td>";}}
  119. echo "</tr>";}
  120. echo "</table></a>";
  121. echo "<a name=\"film\">";
  122. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Films</b></font></p>";
  123. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid = '28'" );
  124. $n = mysql_num_rows($q);$count = 0;
  125. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  126. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  127. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  128. if ( $xoopsUser->isAdmin() ) {
  129. echo "<td align='center'><span class='fg2'><b>Controle</b></span></td>";}
  130. echo "</tr>";
  131. while ($r = mysql_fetch_array($q)) {
  132. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  133. $admin = "MAJ";
  134. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  135. if ($stat == 1){
  136. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"".XOOPS_URL."/modules/mydownloads/visit.php?lid=$id\"><img src=\"$green\" width=\"20\" height=\"20\"></a></div></td>";
  137. if ( $xoopsUser->isAdmin() ) {
  138. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=0\">$admin</a></div></td>";}}
  139. if ($stat == 0){
  140. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";
  141. if ( $xoopsUser->isAdmin() ) {
  142. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=1\">$admin</a></div></td>";}}
  143. echo "</tr>";}
  144. echo "</table></a>";
  145. echo "<a name=\"generique\">";
  146. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Génériques</b></font></p>";
  147. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid = '8'" );
  148. $n = mysql_num_rows($q);$count = 0;
  149. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  150. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  151. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  152. if ( $xoopsUser->isAdmin() ) {
  153. echo "<td align='center'><span class='fg2'><b>Controle</b></span></td>";}
  154. echo "</tr>";
  155. while ($r = mysql_fetch_array($q)) {
  156. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  157. $admin = "MAJ";
  158. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  159. if ($stat == 1){
  160. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"".XOOPS_URL."/modules/mydownloads/visit.php?lid=$id\"><img src=\"$green\" width=\"20\" height=\"20\"></a></div></td>";
  161. if ( $xoopsUser->isAdmin() ) {
  162. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=0\">$admin</a></div></td>";}}
  163. if ($stat == 0){
  164. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";
  165. if ( $xoopsUser->isAdmin() ) {
  166. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=1\">$admin</a></div></td>";}}
  167. echo "</tr>";}
  168. echo "</table></a>";
  169. echo "<a name=\"trailer\">";
  170. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Trailers</b></font></p>";
  171. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid = '6'" );
  172. $n = mysql_num_rows($q);$count = 0;
  173. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  174. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  175. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  176. if ( $xoopsUser->isAdmin() ) {
  177. echo "<td align='center'><span class='fg2'><b>Controle</b></span></td>";}
  178. echo "</tr>";
  179. while ($r = mysql_fetch_array($q)) {
  180. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  181. $admin = "MAJ";
  182. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  183. if ($stat == 1){
  184. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"".XOOPS_URL."/modules/mydownloads/visit.php?lid=$id\"><img src=\"$green\" width=\"20\" height=\"20\"></a></div></td>";
  185. if ( $xoopsUser->isAdmin() ) {
  186. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=0\">$admin</a></div></td>";}}
  187. if ($stat == 0){
  188. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";
  189. if ( $xoopsUser->isAdmin() ) {
  190. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=1\">$admin</a></div></td>";}}
  191. echo "</tr>";}
  192. echo "</table></a>";
  193. echo "<a name=\"creation\">";
  194. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Créations de fans</b></font></p>";
  195. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid = '7'" );
  196. $n = mysql_num_rows($q);$count = 0;
  197. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  198. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  199. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  200. if ( $xoopsUser->isAdmin() ) {
  201. echo "<td align='center'><span class='fg2'><b>Controle</b></span></td>";}
  202. echo "</tr>";
  203. while ($r = mysql_fetch_array($q)) {
  204. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  205. $admin = "MAJ";
  206. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  207. if ($stat == 1){
  208. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"".XOOPS_URL."/modules/mydownloads/visit.php?lid=$id\"><img src=\"$green\" width=\"20\" height=\"20\"></a></div></td>";
  209. if ( $xoopsUser->isAdmin() ) {
  210. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=0\">$admin</a></div></td>";}}
  211. if ($stat == 0){
  212. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";
  213. if ( $xoopsUser->isAdmin() ) {
  214. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=1\">$admin</a></div></td>";}}
  215. echo "</tr>";}
  216. echo "</table></a>";
  217. echo "<a name=\"autre\">";
  218. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Autres</b></font></p>";
  219. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid = '9'" );
  220. $n = mysql_num_rows($q);$count = 0;
  221. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  222. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  223. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  224. if ( $xoopsUser->isAdmin() ) {
  225. echo "<td align='center'><span class='fg2'><b>Controle</b></span></td>";}
  226. echo "</tr>";
  227. while ($r = mysql_fetch_array($q)) {
  228. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  229. $admin = "MAJ";
  230. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  231. if ($stat == 1){
  232. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"".XOOPS_URL."/modules/mydownloads/visit.php?lid=$id\"><img src=\"$green\" width=\"20\" height=\"20\"></a></div></td>";
  233. if ( $xoopsUser->isAdmin() ) {
  234. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=0\">$admin</a></div></td>";}}
  235. if ($stat == 0){
  236. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";
  237. if ( $xoopsUser->isAdmin() ) {
  238. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=1\">$admin</a></div></td>";}}
  239. echo "</tr>";}
  240. echo "</table></a>";}
  241. if(!$xoopsUser) {
  242. $green = "images/online.gif";$red = "images/offline.gif";
  243. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Statut des vidéos sur le site</b></font><br>";
  244. echo "<img src=\"$green\" width=\"20\" height=\"20\">Online - <img src=\"$red\" width=\"20\" height=\"20\">Offline</p>";
  245. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#sanc1\">Sanctuaire 1</a></font> - ";
  246. echo "<font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#sanc2\">Sanctuaire 2</a></font> -";
  247. echo "<font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#asgard\">Asgard</a></font> -";
  248. echo "<font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#poseidon\">Poséidon</a></font> -";
  249. echo "<font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#film\">Films</a></font> -";
  250. echo "<font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#generique\">Generiques</a></font><br>";
  251. echo "<font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#trailer\">Trailers</a></font> - ";
  252. echo "<font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#creation\">Creation de fans</a></font> - ";
  253. echo "<font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#autre\">Autres</a></font></p>";
  254. echo "<a name=\"sanc1\">";
  255. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Episodes Sanctuaire I</b></font></p>";
  256. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid = '20' ORDER BY title ASC" );
  257. $n = mysql_num_rows($q);$count = 0;
  258. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  259. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  260. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  261. echo "</tr>";
  262. while ($r = mysql_fetch_array($q)) {
  263. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  264. $admin = "MAJ";
  265. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  266. if ($stat == 1){
  267. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"".XOOPS_URL."/modules/mydownloads/visit.php?lid=$id\"><img src=\"$green\" width=\"20\" height=\"20\"></a></div></td>";
  268. if ($stat == 0){
  269. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";}
  270. echo "</tr>";}
  271. echo "</table></a>";
  272. echo "<a name=\"sanc2\">";
  273. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Episodes Sanctuaire II</b></font></p>";
  274. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid ='21' ORDER BY title ASC" );
  275. $n = mysql_num_rows($q);$count = 0;
  276. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  277. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  278. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  279. echo "</tr>";
  280. while ($r = mysql_fetch_array($q)) {
  281. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  282. $admin = "MAJ";
  283. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  284. if ($stat == 1){
  285. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"".XOOPS_URL."/modules/mydownloads/visit.php?lid=$id\"><img src=\"$green\" width=\"20\" height=\"20\"></a></div></td>";
  286. if ($stat == 0){
  287. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";}
  288. echo "</tr>";}
  289. echo "</table></a>";
  290. echo "<a name=\"asgard\">";
  291. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Episodes Asgard</b></font></p>";
  292. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid = '22' ORDER BY title ASC" );
  293. $n = mysql_num_rows($q);$count = 0;
  294. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  295. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  296. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  297. echo "</tr>";
  298. while ($r = mysql_fetch_array($q)) {
  299. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  300. $admin = "MAJ";
  301. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  302. if ($stat == 1){
  303. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"".XOOPS_URL."/modules/mydownloads/visit.php?lid=$id\"><img src=\"$green\" width=\"20\" height=\"20\"></a></div></td>";
  304. if ($stat == 0){
  305. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";}
  306. echo "</tr>";}
  307. echo "</table></a>";
  308. echo "<a name=\"poseidon\">";
  309. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Episodes Poséidon</b></font></p>";
  310. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid ='23' ORDER BY title ASC" );
  311. $n = mysql_num_rows($q);$count = 0;
  312. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  313. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  314. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  315. echo "</tr>";
  316. while ($r = mysql_fetch_array($q)) {
  317. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  318. $admin = "MAJ";
  319. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  320. if ($stat == 1){
  321. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"".XOOPS_URL."/modules/mydownloads/visit.php?lid=$id\"><img src=\"$green\" width=\"20\" height=\"20\"></a></div></td>";
  322. if ($stat == 0){
  323. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";}
  324. echo "</tr>";}
  325. echo "</table></a>";
  326. echo "<a name=\"film\">";
  327. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Films</b></font></p>";
  328. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid = '28'" );
  329. $n = mysql_num_rows($q);$count = 0;
  330. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  331. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  332. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  333. echo "</tr>";
  334. while ($r = mysql_fetch_array($q)) {
  335. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  336. $admin = "MAJ";
  337. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  338. if ($stat == 1){
  339. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"".XOOPS_URL."/modules/mydownloads/visit.php?lid=$id\"><img src=\"$green\" width=\"20\" height=\"20\"></a></div></td>";
  340. if ($stat == 0){
  341. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";}
  342. echo "</tr>";}
  343. echo "</table></a>";
  344. echo "<a name=\"generique\">";
  345. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Génériques</b></font></p>";
  346. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid = '8'" );
  347. $n = mysql_num_rows($q);$count = 0;
  348. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  349. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  350. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  351. echo "</tr>";
  352. while ($r = mysql_fetch_array($q)) {
  353. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  354. $admin = "MAJ";
  355. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  356. if ($stat == 1){
  357. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"".XOOPS_URL."/modules/mydownloads/visit.php?lid=$id\"><img src=\"$green\" width=\"20\" height=\"20\"></a></div></td>";
  358. if ($stat == 0){
  359. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";}
  360. echo "</tr>";}
  361. echo "</table></a>";
  362. echo "<a name=\"trailer\">";
  363. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Trailers</b></font></p>";
  364. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid = '6'" );
  365. $n = mysql_num_rows($q);$count = 0;
  366. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  367. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  368. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  369. echo "</tr>";
  370. while ($r = mysql_fetch_array($q)) {
  371. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  372. $admin = "MAJ";
  373. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  374. if ($stat == 1){
  375. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"".XOOPS_URL."/modules/mydownloads/visit.php?lid=$id\"><img src=\"$green\" width=\"20\" height=\"20\"></a></div></td>";
  376. if ($stat == 0){
  377. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";}
  378. echo "</tr>";}
  379. echo "</table></a>";
  380. echo "<a name=\"creation\">";
  381. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Créations de fans</b></font></p>";
  382. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid = '7'" );
  383. $n = mysql_num_rows($q);$count = 0;
  384. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  385. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  386. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  387. echo "</tr>";
  388. while ($r = mysql_fetch_array($q)) {
  389. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  390. $admin = "MAJ";
  391. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  392. if ($stat == 1){
  393. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"".XOOPS_URL."/modules/mydownloads/visit.php?lid=$id\"><img src=\"$green\" width=\"20\" height=\"20\"></a></div></td>";
  394. if ($stat == 0){
  395. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";}
  396. echo "</tr>";}
  397. echo "</table></a>";
  398. echo "<a name=\"autre\">";
  399. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Autres</b></font></p>";
  400. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid = '9'" );
  401. $n = mysql_num_rows($q);$count = 0;
  402. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  403. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  404. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  405. echo "</tr>";
  406. while ($r = mysql_fetch_array($q)) {
  407. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  408. $admin = "MAJ";
  409. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  410. if ($stat == 1){
  411. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$green\" width=\"20\" height=\"20\"></div></td>";}
  412. if ($stat == 0){
  413. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";}
  414. echo "</tr>";}
  415. echo "</table></a>";}
  416. include("footer.php" );
  417. ?>


---------------
Saint Seiya  || La Livebox || Europe, débats, réflexions
Reply

Marsh Posté le 08-04-2003 à 22:57:21    

ex-floodeur a écrit :

Code :
  1. <?
  2. summon_da_line_420_function();
  3. include("mainfile.php" );
  4. include("header.php" );
  5. include("include/include/config.php" );
  6. include("include/include/fonctions.php" );
  7. global $xoopsDB, $xoopsUser,$xoopsConfig, $HTTP_COOKIE_VARS;
  8. if($xoopsUser) {
  9. if (!empty($id)) {
  10. if ($s == 1) {
  11. mysql_query("UPDATE manga_mydownloads_downloads SET line = '".AuAddSlashes($s)."' WHERE lid = $id" );}
  12. if ($s == 0) {
  13. mysql_query("UPDATE manga_mydownloads_downloads SET line = '".AuAddSlashes($s)."' WHERE lid = $id" );}}
  14. $green = "images/online.gif";$red = "images/offline.gif";
  15. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Statut des vidéos sur le site</b></font><br>";
  16. echo "<img src=\"$green\" width=\"20\" height=\"20\">Online - <img src=\"$red\" width=\"20\" height=\"20\">Offline</p>";
  17. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#sanc1\">Sanctuaire 1</a></font> - ";
  18. echo "<font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#sanc2\">Sanctuaire 2</a></font> -";
  19. echo "<font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#asgard\">Asgard</a></font> -";
  20. echo "<font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#poseidon\">Poséidon</a></font> -";
  21. echo "<font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#film\">Films</a></font> -";
  22. echo "<font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#generique\">Generiques</a></font><br>";
  23. echo "<font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#trailer\">Trailers</a></font> - ";
  24. echo "<font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#creation\">Creation de fans</a></font> - ";
  25. echo "<font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#autre\">Autres</a></font></p>";
  26. echo "<a name=\"sanc1\">";
  27. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Episodes sanctuaire I</b></font></p>";
  28. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid = '20' ORDER BY title ASC" );
  29. $n = mysql_num_rows($q);$count = 0;
  30. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  31. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  32. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  33. if ( $xoopsUser->isAdmin() ) {
  34. echo "<td align='center'><span class='fg2'><b>Controle</b></span></td>";}
  35. echo "</tr>";
  36. while ($r = mysql_fetch_array($q)) {
  37. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  38. $admin = "MAJ";
  39. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  40. if ($stat == 1){
  41. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"".XOOPS_URL."/modules/mydownloads/visit.php?lid=$id\"><img src=\"$green\" width=\"20\" height=\"20\"></a></div></td>";
  42. if ( $xoopsUser->isAdmin() ) {
  43. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=0\">$admin</a></div></td>";}}
  44. if ($stat == 0){
  45. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";
  46. if ( $xoopsUser->isAdmin() ) {
  47. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=1\">$admin</a></div></td>";}}
  48. echo "</tr>";}
  49. echo "</table></a>";
  50. echo "<a name=\"sanc2\">";
  51. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Episodes Sanctuaire II</b></font></p>";
  52. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid ='21' ORDER BY title ASC" );
  53. $n = mysql_num_rows($q);$count = 0;
  54. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  55. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  56. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  57. if ( $xoopsUser->isAdmin() ) {
  58. echo "<td align='center'><span class='fg2'><b>Controle</b></span></td>";}
  59. echo "</tr>";
  60. while ($r = mysql_fetch_array($q)) {
  61. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  62. $admin = "MAJ";
  63. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  64. if ($stat == 1){
  65. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"".XOOPS_URL."/modules/mydownloads/visit.php?lid=$id\"><img src=\"$green\" width=\"20\" height=\"20\"></a></div></td>";
  66. if ( $xoopsUser->isAdmin() ) {
  67. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=0\">$admin</a></div></td>";}}
  68. if ($stat == 0){
  69. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";
  70. if ( $xoopsUser->isAdmin() ) {
  71. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=1\">$admin</a></div></td>";}}
  72. echo "</tr>";}
  73. echo "</table></a>";
  74. echo "<a name=\"asgard\">";
  75. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Episodes Asgard</b></font></p>";
  76. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid = '22' ORDER BY title ASC" );
  77. $n = mysql_num_rows($q);$count = 0;
  78. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  79. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  80. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  81. if ( $xoopsUser->isAdmin() ) {
  82. echo "<td align='center'><span class='fg2'><b>Controle</b></span></td>";}
  83. echo "</tr>";
  84. while ($r = mysql_fetch_array($q)) {
  85. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  86. $admin = "MAJ";
  87. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  88. if ($stat == 1){
  89. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"".XOOPS_URL."/modules/mydownloads/visit.php?lid=$id\"><img src=\"$green\" width=\"20\" height=\"20\"></a></div></td>";
  90. if ( $xoopsUser->isAdmin() ) {
  91. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=0\">$admin</a></div></td>";}}
  92. if ($stat == 0){
  93. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";
  94. if ( $xoopsUser->isAdmin() ) {
  95. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=1\">$admin</a></div></td>";}}
  96. echo "</tr>";}
  97. echo "</table></a>";
  98. echo "<a name=\"poseidon\">";
  99. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Episodes Poséidon</b></font></p>";
  100. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid ='23' ORDER BY title ASC" );
  101. $n = mysql_num_rows($q);$count = 0;
  102. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  103. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  104. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  105. if ( $xoopsUser->isAdmin() ) {
  106. echo "<td align='center'><span class='fg2'><b>Controle</b></span></td>";}
  107. echo "</tr>";
  108. while ($r = mysql_fetch_array($q)) {
  109. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  110. $admin = "MAJ";
  111. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  112. if ($stat == 1){
  113. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"".XOOPS_URL."/modules/mydownloads/visit.php?lid=$id\"><img src=\"$green\" width=\"20\" height=\"20\"></a></div></td>";
  114. if ( $xoopsUser->isAdmin() ) {
  115. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=0\">$admin</a></div></td>";}}
  116. if ($stat == 0){
  117. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";
  118. if ( $xoopsUser->isAdmin() ) {
  119. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=1\">$admin</a></div></td>";}}
  120. echo "</tr>";}
  121. echo "</table></a>";
  122. echo "<a name=\"film\">";
  123. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Films</b></font></p>";
  124. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid = '28'" );
  125. $n = mysql_num_rows($q);$count = 0;
  126. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  127. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  128. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  129. if ( $xoopsUser->isAdmin() ) {
  130. echo "<td align='center'><span class='fg2'><b>Controle</b></span></td>";}
  131. echo "</tr>";
  132. while ($r = mysql_fetch_array($q)) {
  133. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  134. $admin = "MAJ";
  135. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  136. if ($stat == 1){
  137. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"".XOOPS_URL."/modules/mydownloads/visit.php?lid=$id\"><img src=\"$green\" width=\"20\" height=\"20\"></a></div></td>";
  138. if ( $xoopsUser->isAdmin() ) {
  139. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=0\">$admin</a></div></td>";}}
  140. if ($stat == 0){
  141. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";
  142. if ( $xoopsUser->isAdmin() ) {
  143. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=1\">$admin</a></div></td>";}}
  144. echo "</tr>";}
  145. echo "</table></a>";
  146. echo "<a name=\"generique\">";
  147. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Génériques</b></font></p>";
  148. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid = '8'" );
  149. $n = mysql_num_rows($q);$count = 0;
  150. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  151. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  152. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  153. if ( $xoopsUser->isAdmin() ) {
  154. echo "<td align='center'><span class='fg2'><b>Controle</b></span></td>";}
  155. echo "</tr>";
  156. while ($r = mysql_fetch_array($q)) {
  157. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  158. $admin = "MAJ";
  159. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  160. if ($stat == 1){
  161. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"".XOOPS_URL."/modules/mydownloads/visit.php?lid=$id\"><img src=\"$green\" width=\"20\" height=\"20\"></a></div></td>";
  162. if ( $xoopsUser->isAdmin() ) {
  163. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=0\">$admin</a></div></td>";}}
  164. if ($stat == 0){
  165. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";
  166. if ( $xoopsUser->isAdmin() ) {
  167. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=1\">$admin</a></div></td>";}}
  168. echo "</tr>";}
  169. echo "</table></a>";
  170. echo "<a name=\"trailer\">";
  171. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Trailers</b></font></p>";
  172. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid = '6'" );
  173. $n = mysql_num_rows($q);$count = 0;
  174. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  175. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  176. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  177. if ( $xoopsUser->isAdmin() ) {
  178. echo "<td align='center'><span class='fg2'><b>Controle</b></span></td>";}
  179. echo "</tr>";
  180. while ($r = mysql_fetch_array($q)) {
  181. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  182. $admin = "MAJ";
  183. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  184. if ($stat == 1){
  185. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"".XOOPS_URL."/modules/mydownloads/visit.php?lid=$id\"><img src=\"$green\" width=\"20\" height=\"20\"></a></div></td>";
  186. if ( $xoopsUser->isAdmin() ) {
  187. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=0\">$admin</a></div></td>";}}
  188. if ($stat == 0){
  189. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";
  190. if ( $xoopsUser->isAdmin() ) {
  191. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=1\">$admin</a></div></td>";}}
  192. echo "</tr>";}
  193. echo "</table></a>";
  194. echo "<a name=\"creation\">";
  195. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Créations de fans</b></font></p>";
  196. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid = '7'" );
  197. $n = mysql_num_rows($q);$count = 0;
  198. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  199. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  200. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  201. if ( $xoopsUser->isAdmin() ) {
  202. echo "<td align='center'><span class='fg2'><b>Controle</b></span></td>";}
  203. echo "</tr>";
  204. while ($r = mysql_fetch_array($q)) {
  205. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  206. $admin = "MAJ";
  207. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  208. if ($stat == 1){
  209. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"".XOOPS_URL."/modules/mydownloads/visit.php?lid=$id\"><img src=\"$green\" width=\"20\" height=\"20\"></a></div></td>";
  210. if ( $xoopsUser->isAdmin() ) {
  211. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=0\">$admin</a></div></td>";}}
  212. if ($stat == 0){
  213. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";
  214. if ( $xoopsUser->isAdmin() ) {
  215. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=1\">$admin</a></div></td>";}}
  216. echo "</tr>";}
  217. echo "</table></a>";
  218. echo "<a name=\"autre\">";
  219. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Autres</b></font></p>";
  220. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid = '9'" );
  221. $n = mysql_num_rows($q);$count = 0;
  222. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  223. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  224. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  225. if ( $xoopsUser->isAdmin() ) {
  226. echo "<td align='center'><span class='fg2'><b>Controle</b></span></td>";}
  227. echo "</tr>";
  228. while ($r = mysql_fetch_array($q)) {
  229. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  230. $admin = "MAJ";
  231. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  232. if ($stat == 1){
  233. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"".XOOPS_URL."/modules/mydownloads/visit.php?lid=$id\"><img src=\"$green\" width=\"20\" height=\"20\"></a></div></td>";
  234. if ( $xoopsUser->isAdmin() ) {
  235. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=0\">$admin</a></div></td>";}}
  236. if ($stat == 0){
  237. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";
  238. if ( $xoopsUser->isAdmin() ) {
  239. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"statut.php?id=$id&s=1\">$admin</a></div></td>";}}
  240. echo "</tr>";}
  241. echo "</table></a>";}
  242. if(!$xoopsUser) {
  243. $green = "images/online.gif";$red = "images/offline.gif";
  244. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Statut des vidéos sur le site</b></font><br>";
  245. echo "<img src=\"$green\" width=\"20\" height=\"20\">Online - <img src=\"$red\" width=\"20\" height=\"20\">Offline</p>";
  246. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#sanc1\">Sanctuaire 1</a></font> - ";
  247. echo "<font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#sanc2\">Sanctuaire 2</a></font> -";
  248. echo "<font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#asgard\">Asgard</a></font> -";
  249. echo "<font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#poseidon\">Poséidon</a></font> -";
  250. echo "<font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#film\">Films</a></font> -";
  251. echo "<font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#generique\">Generiques</a></font><br>";
  252. echo "<font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#trailer\">Trailers</a></font> - ";
  253. echo "<font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#creation\">Creation de fans</a></font> - ";
  254. echo "<font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><a href=\"statut.php#autre\">Autres</a></font></p>";
  255. echo "<a name=\"sanc1\">";
  256. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Episodes Sanctuaire I</b></font></p>";
  257. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid = '20' ORDER BY title ASC" );
  258. $n = mysql_num_rows($q);$count = 0;
  259. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  260. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  261. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  262. echo "</tr>";
  263. while ($r = mysql_fetch_array($q)) {
  264. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  265. $admin = "MAJ";
  266. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  267. if ($stat == 1){
  268. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"".XOOPS_URL."/modules/mydownloads/visit.php?lid=$id\"><img src=\"$green\" width=\"20\" height=\"20\"></a></div></td>";
  269. if ($stat == 0){
  270. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";}
  271. echo "</tr>";}
  272. echo "</table></a>";
  273. echo "<a name=\"sanc2\">";
  274. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Episodes Sanctuaire II</b></font></p>";
  275. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid ='21' ORDER BY title ASC" );
  276. $n = mysql_num_rows($q);$count = 0;
  277. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  278. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  279. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  280. echo "</tr>";
  281. while ($r = mysql_fetch_array($q)) {
  282. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  283. $admin = "MAJ";
  284. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  285. if ($stat == 1){
  286. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"".XOOPS_URL."/modules/mydownloads/visit.php?lid=$id\"><img src=\"$green\" width=\"20\" height=\"20\"></a></div></td>";
  287. if ($stat == 0){
  288. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";}
  289. echo "</tr>";}
  290. echo "</table></a>";
  291. echo "<a name=\"asgard\">";
  292. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Episodes Asgard</b></font></p>";
  293. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid = '22' ORDER BY title ASC" );
  294. $n = mysql_num_rows($q);$count = 0;
  295. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  296. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  297. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  298. echo "</tr>";
  299. while ($r = mysql_fetch_array($q)) {
  300. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  301. $admin = "MAJ";
  302. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  303. if ($stat == 1){
  304. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"".XOOPS_URL."/modules/mydownloads/visit.php?lid=$id\"><img src=\"$green\" width=\"20\" height=\"20\"></a></div></td>";
  305. if ($stat == 0){
  306. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";}
  307. echo "</tr>";}
  308. echo "</table></a>";
  309. echo "<a name=\"poseidon\">";
  310. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Episodes Poséidon</b></font></p>";
  311. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid ='23' ORDER BY title ASC" );
  312. $n = mysql_num_rows($q);$count = 0;
  313. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  314. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  315. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  316. echo "</tr>";
  317. while ($r = mysql_fetch_array($q)) {
  318. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  319. $admin = "MAJ";
  320. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  321. if ($stat == 1){
  322. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"".XOOPS_URL."/modules/mydownloads/visit.php?lid=$id\"><img src=\"$green\" width=\"20\" height=\"20\"></a></div></td>";
  323. if ($stat == 0){
  324. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";}
  325. echo "</tr>";}
  326. echo "</table></a>";
  327. echo "<a name=\"film\">";
  328. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Films</b></font></p>";
  329. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid = '28'" );
  330. $n = mysql_num_rows($q);$count = 0;
  331. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  332. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  333. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  334. echo "</tr>";
  335. while ($r = mysql_fetch_array($q)) {
  336. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  337. $admin = "MAJ";
  338. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  339. if ($stat == 1){
  340. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"".XOOPS_URL."/modules/mydownloads/visit.php?lid=$id\"><img src=\"$green\" width=\"20\" height=\"20\"></a></div></td>";
  341. if ($stat == 0){
  342. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";}
  343. echo "</tr>";}
  344. echo "</table></a>";
  345. echo "<a name=\"generique\">";
  346. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Génériques</b></font></p>";
  347. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid = '8'" );
  348. $n = mysql_num_rows($q);$count = 0;
  349. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  350. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  351. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  352. echo "</tr>";
  353. while ($r = mysql_fetch_array($q)) {
  354. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  355. $admin = "MAJ";
  356. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  357. if ($stat == 1){
  358. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"".XOOPS_URL."/modules/mydownloads/visit.php?lid=$id\"><img src=\"$green\" width=\"20\" height=\"20\"></a></div></td>";
  359. if ($stat == 0){
  360. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";}
  361. echo "</tr>";}
  362. echo "</table></a>";
  363. echo "<a name=\"trailer\">";
  364. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Trailers</b></font></p>";
  365. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid = '6'" );
  366. $n = mysql_num_rows($q);$count = 0;
  367. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  368. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  369. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  370. echo "</tr>";
  371. while ($r = mysql_fetch_array($q)) {
  372. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  373. $admin = "MAJ";
  374. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  375. if ($stat == 1){
  376. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"".XOOPS_URL."/modules/mydownloads/visit.php?lid=$id\"><img src=\"$green\" width=\"20\" height=\"20\"></a></div></td>";
  377. if ($stat == 0){
  378. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";}
  379. echo "</tr>";}
  380. echo "</table></a>";
  381. echo "<a name=\"creation\">";
  382. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Créations de fans</b></font></p>";
  383. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid = '7'" );
  384. $n = mysql_num_rows($q);$count = 0;
  385. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  386. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  387. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  388. echo "</tr>";
  389. while ($r = mysql_fetch_array($q)) {
  390. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  391. $admin = "MAJ";
  392. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  393. if ($stat == 1){
  394. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><a href=\"".XOOPS_URL."/modules/mydownloads/visit.php?lid=$id\"><img src=\"$green\" width=\"20\" height=\"20\"></a></div></td>";
  395. if ($stat == 0){
  396. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";}
  397. echo "</tr>";}
  398. echo "</table></a>";
  399. echo "<a name=\"autre\">";
  400. echo "<p align=\"center\"><font size=\"3\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Autres</b></font></p>";
  401. $q = mysql_query("SELECT lid,title,line FROM manga_mydownloads_downloads where cid = '9'" );
  402. $n = mysql_num_rows($q);$count = 0;
  403. echo "<table width='100%' border='0' cellspacing='5' cellpadding='0' align='center'>";
  404. echo "<tr class='bg3' align='left'><td align='center'><span class='fg2'><b>Titre</b></span></td>";
  405. echo "<td align='center'><span class='fg2'><b>Disponibilité</b></span></td>";
  406. echo "</tr>";
  407. while ($r = mysql_fetch_array($q)) {
  408. $title = "".$r["title"]."";$stat = "".$r["line"]."";$id = "".$r["lid"]."";
  409. $admin = "MAJ";
  410. echo "<tr><td width=\"80%\" class=\"bg1\">$title</td>";
  411. if ($stat == 1){
  412. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$green\" width=\"20\" height=\"20\"></div></td>";}
  413. if ($stat == 0){
  414. echo "<td width=\"10%\" class=\"bg1\"><div align=\"center\"><img src=\"$red\" width=\"20\" height=\"20\"></div></td>";}
  415. echo "</tr>";}
  416. echo "</table></a>";}
  417. include("footer.php" );
  418. ?>




 
bah evidemment si tu commences par invoquer la fonction 420  :lol:


Message édité par orazur le 08-04-2003 à 22:58:07
Reply

Marsh Posté le 08-04-2003 à 22:59:03    

je viens de compter,et tu as 419 lignes.C'est bien une acolade qui manque,bon courage pour la trouver :D


---------------
lecteur mp3 yvele's smilies jeux de fille
Reply

Marsh Posté le 08-04-2003 à 22:59:41    

orazur a écrit :


 
bah evidemment si tu commences par invoquer la fonction 420  :lol:

putain mais essaye de m'aider au lieu de dire des conneries !!!  :fou:  :fou:  :fou:  :fou:  :fou:  :fou:  :fou:


---------------
Saint Seiya  || La Livebox || Europe, débats, réflexions
Reply

Marsh Posté le 08-04-2003 à 23:00:19    

forummp3 a écrit :

je viens de compter,et tu as 419 lignes.C'est bien une acolade qui manque,bon courage pour la trouver :D

groumpf


---------------
Saint Seiya  || La Livebox || Europe, débats, réflexions
Reply

Marsh Posté le 08-04-2003 à 23:00:35    

ex-floodeur a écrit :

putain mais essaye de m'aider au lieu de dire des conneries !!!  :fou:  :fou:  :fou:  :fou:  :fou:  :fou:  :fou:  


 
tas raison je vais esssayer de retrouver l'adresse de l'inventeur de la fonction 420 , c le seul qui peut nous aider
 :lol:  :lol:  :lol:

Reply

Marsh Posté le 08-04-2003 à 23:01:21    

Reply

Marsh Posté le 08-04-2003 à 23:01:58    

orazur a écrit :


 
tas raison je vais esssayer de retrouver l'adresse de l'inventeur de la fonction 420 , c le seul qui peut nous aider
 :lol:  :lol:  :lol:  

c bon c plus marrant ta fonction :)


---------------
lecteur mp3 yvele's smilies jeux de fille
Reply

Marsh Posté le 08-04-2003 à 23:05:13    

ben ouais c vraiment une accolade ....  [:spamafote]  
 
ton code se repete .. cherche l'erreur ou reprend tout ....
 
as tu fermé ta premiere boucle while ?
 


---------------
from here and there -- \o__________________________________ -- la révolution de la terre, en silence
Reply

Marsh Posté le 08-04-2003 à 23:23:00    

Reply

Marsh Posté le 08-04-2003 à 23:28:01    

st'"ait bien la paine de nous les briser  :ange:  
 
 
 
 
 
 
 
 
 :whistle:


---------------
from here and there -- \o__________________________________ -- la révolution de la terre, en silence
Reply

Marsh Posté le 08-04-2003 à 23:34:22    

gt énervé  :kaola:


---------------
Saint Seiya  || La Livebox || Europe, débats, réflexions
Reply

Marsh Posté le 08-04-2003 à 23:35:00    

huhu ^^ j'avais raison :sol:

Reply

Marsh Posté le 08-04-2003 à 23:39:47    

*Syl* a écrit :

huhu ^^ j'avais raison :sol:  


 
t'es trop fort en fait comme mec ... :whistle:


---------------
from here and there -- \o__________________________________ -- la révolution de la terre, en silence
Reply

Marsh Posté le 08-04-2003 à 23:54:52    

Oui je sais, merci :sol: :o  
 
PS pour ex-floodeur : google ça sert parfois, j'ai trouvé la soluce 10s après avoir lu ton post :sarcastic:

Reply

Marsh Posté le 09-04-2003 à 00:33:15    

*Syl* a écrit :

Oui je sais, merci :sol: :o  
 
PS pour ex-floodeur : google ça sert parfois, j'ai trouvé la soluce 10s après avoir lu ton post :sarcastic:  

alors t'es pas si fort que ca :D


---------------
lecteur mp3 yvele's smilies jeux de fille
Reply

Marsh Posté le 09-04-2003 à 13:21:33    

*Syl* a écrit :

PS pour ex-floodeur : google ça sert parfois, j'ai trouvé la soluce 10s après avoir lu ton post :sarcastic:  

coment cela ?

Reply

Marsh Posté le 09-04-2003 à 13:25:16    


 
ben c'est un mec qui connait quedalle .. mais qui a eu le bon reflexe de faire une recherche sur le type de warning  ;)


---------------
from here and there -- \o__________________________________ -- la révolution de la terre, en silence
Reply

Marsh Posté le 09-04-2003 à 21:30:43    

simogeo a écrit :


 
ben c'est un mec qui connait quedalle .. mais qui a eu le bon reflexe de faire une recherche sur le type de warning  ;)  

Merci pour le quedalle :kaola:

Reply

Marsh Posté le 09-04-2003 à 21:40:39    

*Syl* a écrit :

Merci pour le quedalle :kaola:  


 
sorry syl .... voulais pas te vexer  :(  
 


---------------
from here and there -- \o__________________________________ -- la révolution de la terre, en silence
Reply

Marsh Posté le    

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed