Forum AspNuke.it - Il tuo Portale OpenSource in ASP
Tabella html al posto del top forum in home page
Autore
Messaggio
Carlet
Utente
74 Discussioni
18 ottobre 2003 alle 21:31:33
E' possibile eliminare il top forum e mettere una tabella html?? Questa è il codice della mia default.asp: <!-- #include file='includes/includes-inc.asp' --> <!-- #include file='includes/news-inc.asp' --> <!-- #include file='includes/directory-inc.asp' --> <!-- #include file='includes/forum-inc.asp' --> <!-- #include file='includes/newsscroll-inc.asp' --> <!-- #include file='includes/homeeventi-inc.asp' --> <!-- #include file='includes/articleshp-inc.asp' --> <!-- #include file='includes/downloads-inc.asp' --> <% If sPseudo <> "" Then sTitlePage = Replace(GetTranslation("LANG_TITLE_DEFAULT2"), "%1%", Server.HTMLEncode(sPseudo)) Else sTitlePage = GetTranslation("LANG_TITLE_DEFAULT") End If %> <!-- #include file='includes/toppage-inc.asp' --> <% Response.Write "<table width=""100%"" cellspacing=""0"" cellpadding=""0"" border=""0"" align=""center"">" & vbCRLF Response.Write " <tr>" & vbCRLF If GLOBAL_NEWS_LINKS_TOP > 0 and GLOBAL_FORUM_TOP > 0 Then Response.Write " <td width=""50%"" valign=""top"">" & vbCRLF CreateTopTable "News", "News" Response.Write "<div align=""center"">" & vbCRLF Response.Write "<MARQUEE behavior='scroll' align='center' direction='up' height='100' scrollamount='2' scrolldelay='80' onmouseover='this.stop()' onmouseout='this.start()'>" & vbCRLF DisplayScrollNewsLinks GLOBAL_NEWS_LINKS_TOP, 0 Response.Write "</div>" & vbCRLF CreateBottomTable "" Response.Write " </td>" & vbCRLF Response.Write " <td> </td>" & vbCRLF Response.Write " <td width=""50%"" valign=""top"" align=""right"">" & vbCRLF DisplayTopForum GLOBAL_FORUM_TOP Response.Write " </td>" & vbCRLF Response.Write " </tr>" & vbCRLF ElseIf GLOBAL_NEWS_LINKS_TOP > 0 Then Response.Write " <td width=""100%"" valign=""top"">" & vbCRLF DisplayTopNewsLinks GLOBAL_NEWS_LINKS_TOP, 0 Response.Write " </td>" & vbCRLF Response.Write " </tr>" & vbCRLF ElseIf GLOBAL_FORUM_TOP > 0 Then Response.Write " <td width=""100%"" valign=""top"" align=""right"">" & vbCRLF DisplayTopForum GLOBAL_FORUM_TOP Response.Write " </td>" & vbCRLF Response.Write " </tr>" & vbCRLF End If Response.Write " <tr>" & vbCRLF Response.Write " <td width=""50%"" valign=""top"">" & vbCRLF Response.Write "<div align=""center"">" & vbCRLF DisplayTopArticles GLOBAL_ARTICLES_TOP Response.Write "</div>" & vbCRLF Response.Write " </td>" & vbCRLF Response.Write " <td> </td>" & vbCRLF Response.Write " <td width=""50%"" valign=""top"" align=""right"">" & vbCRLF DisplayTopDownloads GLOBAL_DOWNLOADS_TOP, "date" Response.Write " </td>" & vbCRLF Response.Write " </tr>" & vbCRLF Response.Write "</table>" & vbCRLF if bDisplayAdvertising Then DisplayWebsiteAdvertising() DisplayTopHomeEvents DisplayTopNews GLOBAL_NEWS_TOP, 0 %>
---------------http://www.ingegneriagestionale.com visitatelo e datemi dei consigli per migliorarlo Carlet
djveleno
Amministratore
Esperto
1025 Discussioni
18 ottobre 2003 alle 21:55:32
Per eliminare la tabella TopForum, è sufficente remmare le rughe che puntano a: DisplayTopForum GLOBAL_FORUM_TOP inserendo un apostrofo davanti alla riga: 'DisplayTopForum GLOBAL_FORUM_TOP Ciauzz Dj
--------------- A lavare la testa ai somari, ci si rimette l'acqua e il sapone!http://aspnuke208.somee.com/Default.asp
Carlet
Utente
74 Discussioni
19 ottobre 2003 alle 01:48:33
si grazie, ma io oltre a levare la top forum, vorrei inserire un mio "blocco". pr fare questa ultima cosa, che si fa?
---------------http://www.ingegneriagestionale.com visitatelo e datemi dei consigli per migliorarlo Carlet
Sam Taylor
Avanzato
129 Discussioni
19 ottobre 2003 alle 12:06:27
Prova a dare uno sguardo a http://www.stzone.it/forum/forum.asp?forum=1§ion=3&post=243&page=last Sam
--------------- Guardo al futuro perche é la che passerò il resto della mia vita. (G.B.) Tutto questo, e tanto altro, in http://www.stzone.it : il più ricco AspNuke MegaStore della rete.
Sostieni AspNuke
Un piccolo gesto per aiutarci a mantenere AspNuke.it online
Promo
MusicWebItalia.it Video Testi Traduzioni Spot Colonne sonore Accordi e Spartiti gratis.
Visitatori
Visitatori Correnti : 110
Membri : 0
Anna
Iscritti
Utenti: 18940
Ultimo iscritto :
glauco
Lista iscritti
Messaggi privati: 3373
Immagini: 39
Downloads: 144
Articoli: 49
Pagine: 101
Siti web: 425
Notizie: 180
Sondaggi: 11
Preferiti: 202830
Post sui forum: 51195
Libro degli ospiti: 4
Eventi: 7