<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>PHP Online calender!</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body leftmargin="0" topmargin="0">
<form action="sample_script.php" method="post" name="form1" target="_self">
<table width="400" border="0" cellpadding="2" cellspacing="2" bgcolor="#666666">
<tr>
<td width="150"> </td>
<td width="250"> </td>
</tr>
<tr>
<td><font face="Geneva, Arial, Helvetica, sans-serif"><strong>Month:</strong></font></td>
<td><select name="month" id="month">
<?php
for($i=1; $i<13; $i++)
{
?>
<option value="<?php print $i; ?>"><?php print $i; ?></option>
<?php
}
?>
</select></td>
</tr>
<tr>
<td><font face="Geneva, Arial, Helvetica, sans-serif"><strong>Year:</strong></font></td>
<td><select name="year" id="year">
<?php
for($i=1900; $i<2050; $i++)
{
?>
<option value="<?php print $i; ?>" <?php if($i==2004) print "selected"; ?>><?php print $i; ?></option>
<?php
}
?>
</select></td>
</tr>
<tr>
<td><strong>Width:</strong></td>
<td><input name="width" type="text" id="width" value="400" size="5" maxlength="3">
<strong>Pixels</strong></td>
</tr>
<tr>
<td><font size="1" face="Geneva, Arial, Helvetica, sans-serif"> </font></td>
<td><input type="submit" name="Submit" value="Show calender !"></td>
</tr>
<tr>
<td colspan="2"><font size="1" face="Geneva, Arial, Helvetica, sans-serif"><strong>Programmed
by <a href="http://www.zaalion.com/">Reza Salehi</a></strong></font></td>
</tr>
</table>
</form>
</body>
</html>
|