Visualizzazione dei risultati da 1 a 3 su 3

Discussione: codice html in php

  1. #1

    codice html in php

    come faccio a far comparire un immagine fra una scritta e l'altra.

    trovate un esempio su www.zukimania.org

    tra le news mi piacerebbe mettere una barra di separazione

    [img]foto/largebar.gif[/img]


    ma non so dove metterla ciao... grazie


    <body>
    <p align="center">
    <table border="0" width="400px">
    <tbody>
    <tr >
    <TD class=club align="center">
    <?php include("public/crystaleditor/news.txt");?>
    </TD>
    </tr>
    </TBODY>
    </TBODY></TABLE>
    </p>
    </body>
    il mio sito dedicato agli scooter

  2. #2
    posta il codice php che fa visualizzare le news che ti spieghiamo come fare!
    I dilettanti costruirono l'Arca, i professionisti il Titanic!

  3. #3
    sono un po confuso, ho 3 file php piu uno di testo sul quale viene scritta la news...

    uno si chiama config e no centra nulla sulla scrittura della news, uno si chiama thankyou e immaginate a cosa serve, l'altro si chiama news ed è questo...


    <html>
    <head>
    <link rel="stylesheet" type="text/css" href="../../stile.css"/>
    <title>Zukimania News</title>
    </head>
    <body>
    <div id="index">[img]../../banner/titolo.gif[/img]</div>
    <div id="corpo">
    <DIV id=bussola>PERCORSO: &gt;&gt; Home &gt;&gt;
    Inserisci le news</DIV>

    <DIV class="corpodettagli">
    [img]../../foto/largebar.gif[/img]

    <class="menu3"> <p align="center">
    Guestbook ||
    Aiutaci ||
    Gadgetshop ||
    Linkami ||
    Preferiti ||
    ForumFree.net
    </p>
    </class>


    <table height="400" width="600" cellpadding="0" cellspacing="0" border="0" align="center">
    <tr>
    <td width="20">
    </td>
    <td>



    <font size="4">
    <center>Inserisci le news!</center>

    </font>
    </p>

    <form action="thankyou.php" method="POST">
    <p align="center">
    Posted By: <input type="text" name="name">
    Email: <input type="text" name="email">
    Title: <input type="text" name="title">



    Inserisci quì sotto la tua news

    <TEXTAREA ROWS=10 COLS=60 name="news">
    </textarea>



    Password: <input type="password" name="password"> <input type="submit">



    [img]../../pulsanti/info.gif[/img]

    Non hai la password?
    </p>
    </p>
    </td>
    </tr>
    </table>

    <ul class="menu2">
    [*]
    [img]../../pulsante.gif[/img] Home
    [*]
    [img]../../pulsante.gif[/img] Foto
    [*]
    [img]../../pulsante.gif[/img] Video
    [*]
    [img]../../pulsante.gif[/img] Tecnica
    [*]
    [img]../../pulsante.gif[/img] Preparazioni
    [*]
    [img]../../pulsante.gif[/img] Suzuki
    [*]
    [img]../../pulsante.gif[/img] Link
    [*]
    [img]../../pulsante.gif[/img] Contattaci
    [*]
    [img]../../pulsante.gif[/img] Mercatino
    [*]
    [img]../../pulsante.gif[/img] Eventi
    [*]
    [img]../../pulsante.gif[/img] Equipaggiamento
    [*]
    [img]../../pulsante.gif[/img] Download
    [*]
    [img]../../pulsante.gif[/img] Club in regione
    [*]
    [img]../../pulsante.gif[/img] Ringraziamenti
    [*]
    [img]../../pulsante.gif[/img] Legislazione
    [*]
    [img]../../pulsante.gif[/img] Novità
    [*]
    [img]../../pulsante.gif[/img] Forum




    [/list]
    </class>


    [img]../../foto/largebar.gif[/img]
    <span class="copyright">


    Tutto il materiale contenuto su zukimania, non è protetto da copyright, nel caso
    ci sia qualche violazione di copyright o qualsiasi altra segnalazione scrivete
    a simoneudine@supereva.it, provvederemo al più presto.Grazie</p>
    </span>


    Indietro


    </div>



    <ul class="menu1">

    [*]
    [img]../../pulsante.gif[/img] Home
    [*]
    [img]../../pulsante.gif[/img] Foto
    [*]
    [img]../../pulsante.gif[/img] Video
    [*]
    [img]../../pulsante.gif[/img] Tecnica
    [*]
    [img]../../pulsante.gif[/img] Preparazioni
    [*]
    [img]../../pulsante.gif[/img] Suzuki
    [*]
    [img]../../pulsante.gif[/img] Link
    [*]
    [img]../../pulsante.gif[/img] Contattaci
    [*]
    [img]../../pulsante.gif[/img] Mercatino
    [*]
    [img]../../pulsante.gif[/img] Eventi
    [*]
    [img]../../pulsante.gif[/img] Equipaggiamento
    [*]
    [img]../../pulsante.gif[/img] Download
    [*]
    [img]../../pulsante.gif[/img] Club in regione
    [*]
    [img]../../pulsante.gif[/img] Ringraziamenti
    [*]
    [img]../../pulsante.gif[/img] Legislazione
    [*]
    [img]../../pulsante.gif[/img] Novità
    [*]
    [img]../../pulsante.gif[/img] Forum




    [/list]
    </class>


    </div>
    </body>
    </html>


    IL FILE THANKYOU


    <?php
    include ("config.php");
    $filename = 'news.txt';
    $date = date("F j, Y, g:i a");
    $name = $_POST["name"];
    $email = $_POST["email"];
    $title = $_POST["title"];
    $news = $_POST["news"];
    $pass = $_POST["password"];
    if ($password == $pass)
    {
    $file = file_get_contents($filename);
    $fp = fopen($filename, "w");
    fwrite($fp, "<font face=$font size=$fontsize>$title Posted by: <a href=mailto:$email>$name</a>
    Date: $date
    $news</font>

    ");
    fwrite($fp, $file);

    fclose($fp);

    ?>
    <html>
    <head>
    <title>Crystal News Editor</title>
    </head>
    <body bgcolor="#6B859C">
    <?php echo "<font face=$font size=$fontsize>";
    echo "<center><h2>SUCCESS!!</h2></center>";
    echo "<center>Your news has been successfully posted.
    ";
    echo "Go To: Make Another Post</center></font>";
    ?>
    </body>
    </html>
    <?php }
    else {
    echo "Wrong Password <a href=news.php>Try again</a>.";
    }
    ?>


    sono deciasamente confuso.... :master: grazie
    il mio sito dedicato agli scooter

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.