Visualizzazione risultati 1 fino 2 di 2

Discussione: Problema codice calendario

  1. #1
    Guest

    Predefinito Problema codice calendario

    Salve amici,

    ho scaricato un codice calendario da un sito qui hostato, ho copiato l'identico codice all'interno del mio sito. In quel sito funziona, nel mio no. Dunque ho provato a copiare anche un javascript perché ho visto la sorgente nei tag head.

    Dunque la pagina contenente il calendario è questa in php:
    Codice PHP:
    <php>
    <
    head>
    <
    style type="text/css">
    .
    modulex { font-family: Tahoma; font-size:7pt; color:#4B4B4B }
    .modulecell { font-family: Tahoma; font-size:7pt; color:#666666 }
    .tdblock { font-family: Tahoma; font-size:7pt; color:#333333 }
    .bgselect { font-family: Tahoma; font-size:8pt; color:#000000; font-weight:bold }
    </style>
    </
    head>
    <
    body bgcolor="#FFE8E8">
    <
    a name="cal"></a>
    <
    form action="data.php?#cal" name="CalForm" method="post">
    <
    table width="100%" align="center" border="0" cellspacing="1" cellpadding="0">
    <
    tr>
    <
    td align="center" colspan="7">
    <
    input type="hidden" name="old_y" value="2007" />
    <
    input type="hidden" name="old_y" value="12" />
    <
    select name="m_m" class="bgselect" onchange="document.CalForm.submit();">
    <
    option value="1">Gen</option>
    <
    option value="2">Feb</option>
    <
    option value="3">Mar</option>
    <
    option value="4">Apr</option>
    <
    option value="5">Mag</option>
    <
    option value="6">Giu</option>
    <
    option value="7">Lug</option>
    <
    option value="8">Ago</option>
    <
    option value="9">Set</option>
    <
    option value="10">Ott</option>
    <
    option value="11">Nov</option>
    <
    option value="12" selected="selected">Dic</option>
    </
    select>
    <
    select name="y_y" class="bgselect" onchange="document.CalForm.submit();">
    <
    option value="2004">2004</option>
    <
    option value="2005">2005</option>
    <
    option value="2006">2006</option>
    <
    option value="2007" selected="selected">2007</option>
    <
    option value="2008">2008</option>
    <
    option value="2009">2009</option>
    <
    option value="2010">2010</option>
    </
    select></td>
    </
    tr>
    <
    tr>
    <
    th class="modulex" style="height: 18px; padding: 0px; margin: 0px; border: 0px; width: 14%" align="center" valign="middle">Do</th>
    <
    th class="modulex" style="height: 18px; padding: 0px; margin: 0px; border: 0px; width: 14%" align="center" valign="middle">Lu</th>
    <
    th class="modulex" style="height: 18px; padding: 0px; margin: 0px; border: 0px; width: 14%" align="center" valign="middle">Ma</th>
    <
    th class="modulex" style="height: 18px; padding: 0px; margin: 0px; border: 0px; width: 14%" align="center" valign="middle">Me</th>
    <
    th class="modulex" style="height: 18px; padding: 0px; margin: 0px; border: 0px; width: 14%" align="center" valign="middle">Gi</th>
    <
    th class="modulex" style="height: 18px; padding: 0px; margin: 0px; border: 0px; width: 14%" align="center" valign="middle">Ve</th>
    <
    th class="modulex" style="height: 18px; padding: 0px; margin: 0px; border: 0px; width: 14%" align="center" valign="middle">Sa</th>
    </
    tr>
    <
    tr>
    <
    td class="tdblock" style="height:10px; width:4px; padding: 0px; margin: 0px; border: 0px;"><br /></td>
    <
    td class="tdblock" style="height:10px; width:4px; padding: 0px; margin: 0px; border: 0px;"><br /></td>

    <
    td class="tdblock" style="height:10px; width:4px; padding: 0px; margin: 0px; border: 0px;"><br /></td>

    <
    td class="tdblock" style="height:10px; width:4px; padding: 0px; margin: 0px; border: 0px;"><br /></td>

    <
    td class="tdblock" style="height:10px; width:4px; padding: 0px; margin: 0px; border: 0px;"><br /></td>

    <
    td class="tdblock" style="height:10px; width:4px; padding: 0px; margin: 0px; border: 0px;"><br /></td>

    <
    td class="modulecell" style="height:10px" valign="middle" align="center">1</td>

    </
    tr>
    <
    tr>

    <
    td class="modulecell" style="height:10px" valign="middle" align="center">2</td>

    <
    td class="modulecell" style="height:10px" valign="middle" align="center">3</td>

    <
    td class="modulecell" style="height:10px" valign="middle" align="center">4</td>

    <
    td class="modulecell" style="height:10px" valign="middle" align="center">5</td>

    <
    td class="modulecell" style="height:10px" valign="middle" align="center">6</td>

    <
    td class="modulecell" style="height:10px" valign="middle" align="center">7</td>

    <
    td class="modulecell" style="height:10px" valign="middle" align="center">8</td>

    </
    tr>
    <
    tr>

    <
    td class="modulecell" style="height:10px" valign="middle" align="center">9</td>

    <
    td class="modulecell" style="height:10px" valign="middle" align="center">10</td>

    <
    td class="modulecell" style="height:10px" valign="middle" align="center">11</td>

    <
    td class="modulecell" style="height:10px" valign="middle" align="center">12</td>

    <
    td class="modulecell" style="height:10px" valign="middle" align="center">13</td>

    <
    td class="modulecell" style="height:10px" valign="middle" align="center">14</td>

    <
    td class="modulecell" style="height:10px" valign="middle" align="center">15</td>

    </
    tr>
    <
    tr>

    <
    td class="modulecell" style="height:10px" valign="middle" align="center">16</td>

    <
    td class="modulecell" style="height:10px" valign="middle" align="center">17</td>

    <
    td class="modulecell" style="height:10px" valign="middle" align="center">18</td>

    <
    td class="modulecell" style="height:10px" valign="middle" align="center">19</td>

    <
    td class="modulecell" style="height:10px" valign="middle" align="center">20</td>

    <
    td class="modulecell" style="height:10px" valign="middle" align="center">21</td>

    <
    td class="modulecell" style="height:10px" valign="middle" align="center">22</td>

    </
    tr>
    <
    tr>
    <
    td class="modulecell" style="height:10px" valign="middle" align="center">23</td>
    <
    td class="modulecell" style="height:10px" valign="middle" align="center">24</td>
    <
    td class="tdblock" style="height:10px; border:2px; border-style:outset; background-color: #FFFF00; border-color: #0066FF" valign="middle" align="center">25</td>
    <
    td class="modulecell" style="height:10px" valign="middle" align="center">26</td>
    <
    td class="modulecell" style="height:10px" valign="middle" align="center">27</td>
    <
    td class="modulecell" style="height:10px" valign="middle" align="center">28</td>
    <
    td class="modulecell" style="height:10px" valign="middle" align="center">29</td>
    </
    tr>
    <
    tr>
    <
    td class="modulecell" style="height:10px" valign="middle" align="center">30</td>
    <
    td class="modulecell" style="height:10px" valign="middle" align="center">31</td>
    <
    td class="tdblock" style="height:10px; width:4px; padding: 0px; margin: 0px; border: 0px;"><br /></td>
    <
    td class="tdblock" style="height:10px; width:4px; padding: 0px; margin: 0px; border: 0px;"><br /></td>
    <
    td class="tdblock" style="height:10px; width:4px; padding: 0px; margin: 0px; border: 0px;"><br /></td>
    <
    td class="tdblock" style="height:10px; width:4px; padding: 0px; margin: 0px; border: 0px;"><br /></td>
    <
    td class="tdblock" style="height:10px; width:4px; padding: 0px; margin: 0px; border: 0px;"><br /></td>
    </
    tr>
    <
    tr>
    <
    td class="trattini3" style="font-size: 1px; background: transparent;" colspan="7">&nbsp;</td>
    </
    tr>
    </
    table>
    </
    form>
    </
    body>
    </
    php>
    Dunque amici, mi potete dare una mano a far funzionare il calendario?

    Grazie.

    Buone feste.

  2. #2
    L'avatar di funcool
    funcool non è connesso Utente storico
    Data registrazione
    05-02-2004
    Residenza
    Qui... Non lì, qui!
    Messaggi
    15,433

    Predefinito

    Sarò io accecato, ma non vedo codice PHP ma solo codice HTML. Se scrivi "php" al posto dei tag "html", la pagina non diventa *.php.
    Se ti serve uno script in PHP che ti faccia da calendario, dai un'occhiata qui.
    Ultima modifica di funcool : 27-12-2007 alle ore 11.57.32
    Mattia vi manda a FunCool - Matriz - Directory Gogol - Sfondo rosso per la Birmania
    «Tu mi dai fastidio perché ti credi tanto un Dio!» «Bè, dovrò pur prendere un modello a cui ispirarmi, no?» Woody Allen

Regole di scrittura

  • Non puoi creare nuove discussioni
  • Non puoi rispondere ai messaggi
  • Non puoi inserire allegati.
  • Non puoi modificare i tuoi messaggi
  •