|
|
|
<style type="text/css">
<!--
th { font-size:12pt;
line-height:14pt;
font-family:Helvetica,Arial;
}
//-->
</style>
<?
/* t.ott@ott-edv.de */
$year=1999;
print("<table border='0' width='200'>\n");
for($month=1;$month<13;$month++) {
printf("<tr>\n<th colspan='7'>%s</th></tr>\n",date("F",mktime(0,0,0,$month,1,$year)));
printf
("<tr><th>Su</th><th>Mo</th><th>Th</th><th>We</th><th>Do</th><th>Fr</th><th>Sa</th></tr>");
$fdom=date("w",mktime(0,0,0,$month,1,$year));
$ct=0;
for($row=1;$row<7;$row++)
{
print("\n<tr>");
for($week=1;$week<8;$week++)
{
$ct++;
$value=mktime(0,0,0,$month,$ct-$fdom,$year);
if (date("m",$value)==$month)
{
printf ("<th>%s</th>",date("d",$value));
}
else { print("<td></td>"); }
}
print("</tr>\n");
}
print("<tr><td colspan='7'><br><br></td></tr>");
}
print("</table>");
?> |
|
| Calendar using Date function Categories : HTML and PHP, PHP, Date Time, Calendar | | | Dynamic Calender in PHP, Javascript and HTML. Categories : PHP, Java Script, HTML and PHP, Calendar | | | CALENDAR - easy calendar-navigation with PHP Categories : PHP, Date Time, HTML and PHP, Calendar | | | This script contains 2 functions: 1 to create html select object based on your own customer date format entry- "M d Y h:i.... etc". The second function processes the select object on submit back to unix time. Categories : PHP, Calendar, Date Time, HTML and PHP | | | Simple PHP control CSS Calender Categories : PHP, HTML and PHP, Calendar, Date Time, CSS | | | Customizable Calendar Class Categories : HTML and PHP, Date Time, PHP, PHP Classes, Calendar | | | PHP3: Formmail. Just a cgi formmail, but than in PHP. It is easy to use! Categories : HTML and PHP, Email, PHP, Perl, HTML and PHP | | | A simple class with some HTML output functions that would come in handy for consistent page layout etc. Categories : PHP, PHP Classes, HTML and PHP, HTML, Navigation | | | phpCards - PHP/mySQL postcard script with web based admin to add, edit, and delete cards and categories. Very easy to install. Categories : PHP, Complete Programs, HTML and PHP, MySQL | | | Constantly refresh your PHP/HTML page data. Categories : PHP, HTML and PHP, Sybase | | | Select with current month Categories : PHP, HTML and PHP, Date Time, Arrays | | | PageRank Display Categories : Search Engines, HTML and PHP, PHP | | | PHP, simple, counter, bala Categories : HTML and PHP, PHP, PHP Options and Info | | | Automatically printing the contents of an sql table in MySQL. Categories : MySQL, PHP, HTML and PHP, Databases | | | PHP4 session helper HTML file.
Categories : PHP, Java Script, HTML and PHP, Sessions | |
|
|
|