Dagen erinzetten

Gestart doorOne2xs9 reacties40 weergaven

10 berichten · pagina 1 van 1

One2xs

Bot · Topicstarter

Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Ik maak een soort van agenda script en nu moeten de dagen erin
Maar aangezien de dagen dus elk jaar op een andere tijd vallen etc. weet ik niet hoe ik het moet doen
Wie wilt helpen?
0
One2xs

Bot · Topicstarter

Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
geen zin om 2 uur te wachten:
BUMB

EDIT:
PS:
In overleg eventueel vergoeding
0
Berichten
8.602
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik heb het wel, ik post code zo:
0
Berichten
2.637
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Kan niet wachten maar je bedoelt met schrikkeljaar etc?
0
One2xs

Bot · Topicstarter

Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
nja het moet in dit script komen:
(dagen staan nu op april dit jaar)

[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SERVER[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]REMOTE_ADDR[/COLOR][COLOR= #007700]] !=[/COLOR] [COLOR= #DD0000]***[/COLOR][COLOR= #007700]){[/COLOR]
    [URL="http://www.php.net/echo"]echo[/URL][COLOR= #DD0000]Deze pagina werkt nog niet goed en is daarom nog gesloten[/COLOR][COLOR= #007700];[/COLOR]
    [URL="http://www.php.net/exit"]exit[/URL][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/setlocale"]setlocale[/URL][COLOR= #007700]([/COLOR]LC_ALL[COLOR= #007700],[/COLOR] [COLOR= #DD0000]nl_NL[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$maanden[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/array"]array[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700],[/COLOR][COLOR= #DD0000]"Januari"[/COLOR][COLOR= #007700],[/COLOR][COLOR= #DD0000]"Februari"[/COLOR][COLOR= #007700],[/COLOR][COLOR= #DD0000]"Maart"[/COLOR][COLOR= #007700],[/COLOR][COLOR= #DD0000]"April"[/COLOR][COLOR= #007700],[/COLOR][COLOR= #DD0000]"Mei"[/COLOR][COLOR= #007700],[/COLOR][COLOR= #DD0000]"Juni"[/COLOR][COLOR= #007700],[/COLOR][COLOR= #DD0000]"Juli"[/COLOR][COLOR= #007700],[/COLOR][COLOR= #DD0000]"Augustus"[/COLOR][COLOR= #007700],[/COLOR][COLOR= #DD0000]"September"[/COLOR][COLOR= #007700],[/COLOR][COLOR= #DD0000]"Oktober"[/COLOR][COLOR= #007700],[/COLOR][COLOR= #DD0000]"November"[/COLOR][COLOR= #007700],[/COLOR][COLOR= #DD0000]"December"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]D[/COLOR][COLOR= #007700]]) &&[/COLOR] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]D[/COLOR][COLOR= #007700]] >[/COLOR] [COLOR= #0000BB]0[/COLOR] [COLOR= #007700]&&[/COLOR] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]D[/COLOR][COLOR= #007700]] <=[/COLOR] [COLOR= #0000BB]12[/COLOR][COLOR= #007700]){[/COLOR]
    [URL="http://www.php.net/define"]define[/URL][COLOR= #007700]([/COLOR]MD[COLOR= #007700],[/COLOR] [COLOR= #0000BB]$maanden[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]D[/COLOR][COLOR= #007700]]]);[/COLOR]
    [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]D[/COLOR][COLOR= #007700]] >=[/COLOR] [COLOR= #0000BB]12[/COLOR][COLOR= #007700]){[/COLOR]
        [URL="http://www.php.net/define"]define[/URL][COLOR= #007700]([/COLOR]NP[COLOR= #007700],[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700]);
    }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
        [URL="http://www.php.net/define"]define[/URL][COLOR= #007700]([/COLOR]NP[COLOR= #007700],[/COLOR] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]D[/COLOR][COLOR= #007700]]+[/COLOR][COLOR= #0000BB]1[/COLOR][COLOR= #007700]);
    }[/COLOR]
    [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]D[/COLOR][COLOR= #007700]] <=[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700]){[/COLOR]
        [URL="http://www.php.net/define"]define[/URL][COLOR= #007700]([/COLOR]VP[COLOR= #007700],[/COLOR] [COLOR= #0000BB]12[/COLOR][COLOR= #007700]);
    }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
        [URL="http://www.php.net/define"]define[/URL][COLOR= #007700]([/COLOR]VP[COLOR= #007700],[/COLOR] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]D[/COLOR][COLOR= #007700]]-[/COLOR][COLOR= #0000BB]1[/COLOR][COLOR= #007700]);
    }
}[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
    [URL="http://www.php.net/header"]header[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"location: /evenementen/bekijk/"[/COLOR][COLOR= #007700].[/COLOR]date[COLOR= #007700]([/COLOR]n[COLOR= #007700])[/COLOR][COLOR= #007700]);[/COLOR]
    [URL="http://www.php.net/exit"]exit[/URL][COLOR= #007700];
}[/COLOR]
?>
<html>
  <head>
    <title>Evenementen ~ Delflandstraat</title>
    <style type="text/css">
   
    td, div {
    text-align: center;
    font-family: Trebuchet MS;
    color: #000000;
    font-size: 14px; }
    
    a {
    text-decoration: none;
    color: #000000;
    font-size: 14px; }
    
    .bold {
    font-weight: bold;
    font-size: 16px; }
    
    .vorige {
    background-color: #FFFFFF;
    color: #CCCCCC;
    font-size: 14px; }
    
    .dag {
    background-color: #F8F8F8;
    font-size: 14px; }
    
    .item {
    background-color: #EAEAEA;
    font-size: 14px; }
    
    </style>
        <script type="text/javascript">var msg = "Evenementen";</script>
    <link type="text/javascript" src="http://delflandstraat.tk/status.js" />
       <link type="text/css" href="http://delflandstraat.tk/images/style.css" />
  </head>
  <body bgcolor="#FFFFFF" id="body">
<table border="1" cellpadding="5" cellspacing="1" bordercolor="#CCCCCC" width="100%" height="100%">
  <tr>
    <td class="bold" height="55" bgcolor="#F8F8F8" style="cursor: pointer;"  onclick="document.location.href = http://delflandstraat.tk/evenementen/bekijk/[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] VP[COLOR= #007700];[/COLOR] ?>">
      <a href="http://delflandstraat.tk/evenementen/bekijk/[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] VP[COLOR= #007700];[/COLOR] ?>" style="font-size: 18px;"><</a>
    </td>
    <td class="bold" colspan="5" bgcolor="#F8F8F8">
     [COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] MD[COLOR= #007700];[/COLOR] ?> [COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] date[COLOR= #007700]([/COLOR]Y[COLOR= #007700])[/COLOR][COLOR= #007700];[/COLOR] ?>    </td>
    <td class="bold" height="55" bgcolor="#F8F8F8" style="cursor: pointer;" onClick="document.location.href = http://delflandstraat.tk/evenementen/bekijk/[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] NP[COLOR= #007700];[/COLOR] ?>">
      <a href="http://delflandstraat.tk/evenementen/bekijk/[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] NP[COLOR= #007700];[/COLOR] ?>" style="font-size: 18px;">></a>
    </td>
  </tr>
  <tr bgcolor="#FFFFFF">
    <td class="bold" width="15%" height="55">
      Ma    </td>
    <td class="bold" width="14%">
      Di    </td>
    <td class="bold" width="14%">
      Wo    </td>
    <td class="bold" width="14%">
      Do    </td>
    <td class="bold" width="14%">
      Vr    </td>
    <td class="bold" width="14%">
      Za    </td>
    <td class="bold" width="15%">
      Zo    </td>
  </tr>

<tr>
<td class="vorige" height="55">29</td>
<td class="vorige" height="55">30</td>
<td class="vorige" height="55">31</td>
<td class="dag" height="55">1</td>
<td class="dag" height="55">2</td>
<td class="dag" height="55">3</td>
<td class="dag" height="55">4</td>
</tr>

<tr>
<td class="dag" height="55">5</td>
<td class="dag" height="55">6</td>
<td class="dag" height="55">7</td>
<td class="dag" height="55">8</td>
<td class="dag" height="55">9</td>
<td class="dag" height="55">10</td>
<td class="dag" height="55">11</td>
</tr>

<tr>
<td class="dag" height="55">12</td>
<td class="dag" height="55">13</td>
<td class="dag" height="55">14</td>
<td class="dag" height="55">15</td>
<td class="dag" height="55">16</td>
<td class="dag" height="55">17</td>
<td class="dag" height="55">18</td>
</tr>

<tr>
<td class="dag" height="55">19</td>
<td class="dag" height="55">20</td>
<td class="dag" height="55">21</td>
<td class="dag" height="55">22</td>
<td class="dag" height="55">23</td>
<td class="dag" height="55">24</td>
<td class="dag" height="55">25</td>
</tr>

<tr>
<td class="dag" height="55">26</td>
<td class="dag" height="55">27</td>
<td class="dag" height="55">28</td>
<td class="dag" height="55">29</td>
<td class="dag" height="55">30</td>
<td class="vorige" height="55">1</td>
<td class="vorige" height="55">2</td>
</tr>

</table>
  </body>
</html>
0
One2xs

Bot · Topicstarter

Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Maar dat lukt niet om in te bouwensadleydan moet ik vanuit daar opnieuw beginnen en dat wil ik nietsadley
0
Berichten
8.602
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
$date = date(l, strtotime($dateinvoer));

en dan met een array omzetten ofso
0
One2xs

Bot · Topicstarter

Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
kan je het inbouwen voor 0.5hypocriteWant ik maak een website voor onze straat zodat het gezelliger wordt enzo maar ik heb dit dus hard nodig
0
One2xs

Bot · Topicstarter

Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
BUMB
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren