예제 #1
0
function generateCalendarScript($name, $default_date)
{
    $myCalendar = new tc_calendar($name, true, false);
    $myCalendar->setIcon("images/iconCalendar.gif");
    $myCalendar->setDate(date('d', strtotime($default_date)), date('m', strtotime($default_date)), date('Y', strtotime($default_date)));
    $myCalendar->setPath("/stats/");
    $myCalendar->setYearInterval(1970, 2020);
    $myCalendar->setAlignment('left', 'bottom');
    $myCalendar->setDatePair('fm_date_start', 'fm_date_end');
    $myCalendar->writeScript();
}
$myCalendar->setIcon("calendar/images/iconCalendar.gif");
$myCalendar->setDate(date('d', strtotime($date3_default)), date('m', strtotime($date3_default)), date('Y', strtotime($date3_default)));
$myCalendar->setPath("calendar/");
$myCalendar->setYearInterval(1970, 2020);
$myCalendar->setAlignment('left', 'bottom');
$myCalendar->setAutoHide(true, 15000);
//15 secs
$myCalendar->setDatePair('date3', 'date4', $date4_default);
$myCalendar->writeScript();
echo "  ";
echo "<b>END DATE:</b>&nbsp;&nbsp;";
$myCalendar = new tc_calendar("date4", true, false);
$myCalendar->setIcon("calendar/images/iconCalendar.gif");
$myCalendar->setDate(date('d', strtotime($date4_default)), date('m', strtotime($date4_default)), date('Y', strtotime($date4_default)));
$myCalendar->setPath("calendar/");
$myCalendar->setYearInterval(1970, 2020);
$myCalendar->setAlignment('left', 'bottom');
$myCalendar->setAutoHide(true, 15000);
//15 secs
$myCalendar->setDatePair('date3', 'date4', $date3_default);
$myCalendar->writeScript();
?>


<br>
<b> Please choose maximum of 10 physicians at a time </b>
<br>
<br>
<input type="submit" value="SUBMIT">
</center></p>
예제 #3
0
파일: sample.php 프로젝트: neevan1e/Done
[...]
<br />
Your page content to the point you want to insert the calendar form
<form name="calendar" method="post" action="">
<table>
	<tr>
		<td>
		<?php 
// Call the calendar constructor - use the desired form and format, according to the instructions/samples provided on triconsole.com
$myCalendar = new tc_calendar("date1", true);
$myCalendar->setIcon("calendar/images/iconCalendar.gif");
$myCalendar->setDate(date('d'), date('m'), date('Y'));
$myCalendar->setPath("calendar/");
$myCalendar->zindex = 150;
//default 1
$myCalendar->setYearInterval(1995, date('Y'));
$myCalendar->dateAllow('1960-03-01', date('Y-m-d'));
//$myCalendar->autoSubmit(true, "calendar");
//$myCalendar->setDateFormat('l, dS \of F Y');
$myCalendar->disabledDay("sat");
$myCalendar->disabledDay("sun");
$myCalendar->setSpecificDate(array("2011-04-14", "2010-12-25"), 0, 'month');
$myCalendar->setSpecificDate(array("2011-04-01"), 0, 'year');
$myCalendar->setAlignment('right', 'bottom');
//optional
$myCalendar->writeScript();
?>
		</td>
	<tr/>
</table>
</form>
예제 #4
0
        $m2 = $cdate->getDate('m', $time_allow2);
        $y2 = $cdate->getDate('Y', $time_allow2);
        if ($y == $y2 && (int) $m > (int) $m2) {
            $m = $m2;
        }
    }
}
$objname = getParameter("objname");
$dp = getParameter("dp", "boolean");
$cobj = new tc_calendar("");
$cobj->setDate($sld, $slm, $sly);
$cobj->startDate($startDate);
$cobj->dsb_days = explode(",", $dsb_txt);
$cobj->time_allow1 = $time_allow1;
$cobj->time_allow2 = $time_allow2;
$cobj->setYearInterval($year_start, $year_end);
$cobj->setTimezone($timezone);
//set for further usage, nothing for now
$theme_path = $theme != "" ? $cobj->getThemePath($theme) : "";
if (!is_file($theme_path)) {
    $theme_path = "";
}
//check and show default calendar month and year on valid range of date_allow
if (!isset($_REQUEST["m"])) {
    if ($time_allow1 != "") {
        //get date of time allow1
        if ($cdate->validDate($time_allow1)) {
            //check valid if today is after date_allow1
            if (!$cdate->dateAfter($time_allow1, $today)) {
                //reset default calendar display
                $y = $cdate->getDate('Y', $time_allow1);
예제 #5
0
$url2 = $arr_url[0];
$date3_default = $data_ini;
$date4_default = $data_fin;
$myCalendar = new tc_calendar("date3", true, false);
$myCalendar->setIcon("./inc/calendar/images/iconCalendar.gif");
$myCalendar->setDate(date('d', strtotime($date3_default)), date('m', strtotime($date3_default)), date('Y', strtotime($date3_default)));
$myCalendar->setPath("./inc/calendar/");
$myCalendar->setYearInterval(2010, 2025);
$myCalendar->setAlignment('left', 'bottom');
$myCalendar->setDatePair('date3', 'date4', $date4_default);
$myCalendar->writeScript();
$myCalendar = new tc_calendar("date4", true, false);
$myCalendar->setIcon("./inc/calendar/images/iconCalendar.gif");
$myCalendar->setDate(date('d', strtotime($date4_default)), date('m', strtotime($date4_default)), date('Y', strtotime($date4_default)));
$myCalendar->setPath("./inc/calendar/");
$myCalendar->setYearInterval(2010, 2025);
$myCalendar->setAlignment('left', 'bottom');
$myCalendar->setDatePair('date3', 'date4', $date3_default);
$myCalendar->writeScript();
?>

<script language="Javascript">
function datai()
{
document.getElementById("data1").value = document.form1.date3.value;
}
function dataf()
{
document.getElementById("data2").value = document.form1.date4.value;
}
</script>
예제 #6
0
"/><br />
            <label>Điện Thoại:</label> <input type="text" name="txtdt" size="25" value="<?php 
    echo $_SESSION['dienthoai'];
    ?>
"/><br />
            <label>Địa Chỉ:</label> <input type="text" name="txtdc" size="50" value="<?php 
    echo $_SESSION['diachi'];
    ?>
"/><br />
            <label>Ngày Giao:</label> <form id="form2" name="form2" method="post" action="">
                    <?php 
    $myCalendar = new tc_calendar("date1", true);
    $myCalendar->setIcon("images/iconCalendar.gif");
    $myCalendar->setDate(date('d'), date('m'), date('Y'));
    $myCalendar->setPath("user/calendar_form.php");
    $myCalendar->setYearInterval(date("Y"), date("Y") + 1);
    $myCalendar->dateAllow('1960-01-01', '2015-03-01');
    //$myCalendar->setHeight(350);
    //$myCalendar->autoSubmit(true, "form1");
    $myCalendar->disabledDay("Sat");
    $myCalendar->disabledDay("sun");
    $myCalendar->writeScript();
    ?>
                  
                  </form><br/>
            <label>Ghi chú:</label> <textarea name="txtghichu" cols="25" rows="5" ></textarea><br />
             <label>Mã xác nhận:</label><div style="padding-top:3px" id="thu"> <img src="libraries/random_image.php" /></div><br/>
             <label>&nbsp;</label> <input type="text" name="txtmxn" size="6" /><font color="#FF0000">*</font><br /><br />
            </fieldset>
            <label>&nbsp;</label><input style="margin-left:80px; margin-top:5px;" type="submit" name="ok" value="Mua" />
            <label>&nbsp;</label><input type="reset" name="reset" value="Thông tin mặc định" /> 
예제 #7
0
function CalendarAutoSubmit($strLabel, $strField, $strForm, $strDate = "")
{
    echo "<tr>";
    echo "\t<td valign=top>";
    echo $strLabel;
    echo "\t</td>";
    echo "\t<td>";
    $myCalendar = new tc_calendar($strField);
    $myCalendar->setIcon("images/iconCalendar.gif");
    if (empty($strDate)) {
        $myCalendar->setDate(date('d'), date('m'), date('Y'));
    } else {
        $arr = explode("-", $strDate);
        $myCalendar->setDate($arr[2], $arr[1], $arr[0]);
    }
    $myCalendar->setPath("calendar/");
    $myCalendar->setYearInterval(1970, 2020);
    $myCalendar->dateAllow('2008-05-13', '2015-03-01', false);
    $myCalendar->startMonday(true);
    $myCalendar->disabledDay("Fri");
    $myCalendar->autoSubmit(true, $strForm);
    $myCalendar->writeScript();
    echo "\t</td>";
    echo "</tr>";
}
예제 #8
0
    </td>
    <td class=success>
		<?php 
    $myCalendar = new tc_calendar("date1", true, false);
    $myCalendar->zindex = 150;
    //default 1
    $myCalendar->setIcon("./plugins/calendar/images/iconCalendar.gif");
    $myCalendar->setPath("./plugins/calendar/");
    if ($INSTALL_DATE && $INSTALL_DATE != "") {
        $installdate = strtotime($INSTALL_DATE);
        $myCalendar->setDate(date('d', $installdate), date('m', $installdate), date('Y', $installdate));
    } else {
        $CorrectedTime = mktime(date("G") + C_TMZ_OFFSET * 60 * 60, date("i"), date("s"), date("m"), date("d"), date("Y"));
        $myCalendar->setDate(date('d', $CorrectedTime), date('m', $CorrectedTime), date('Y', $CorrectedTime));
    }
    $myCalendar->setYearInterval(2000, date('Y'));
    $myCalendar->dateAllow('2000-01-01', date('Y-m-d'));
    $myCalendar->setAlignment('left', 'bottom');
    //optional
    $myCalendar->writeScript();
    ?>
	</td>
</tr>
</table>
<table align="center" width="780" class=table>
<tr bgcolor="#FFFFFF"><td colspan=2 align=center><a name="skins"></a><b><?php 
    echo A_CONF_9;
    ?>
</b></td></tr><!--Rooms & Skins-->
	<tr class="thumbIndex">
		<td valign=center align=center height="20" class=tabtitle><?php 
예제 #9
0
파일: list.php 프로젝트: Dawzz/RideShare-1
</div>
<div class="content">
welcome : <?php 
print $userRow['username'];
?>

<div class="form-container">
<form id="form_search" method="post">
<h2>Search by date.</h2><hr />
<?php 
require 'calendar/tc_calendar.php';
$myCalendar = new tc_calendar("date5", true, false);
$myCalendar->setIcon("calendar/images/iconCalendar.gif");
$myCalendar->setDate(date('d'), date('m'), date('Y'));
$myCalendar->setPath("calendar/");
$myCalendar->setYearInterval(2015, 2017);
$myCalendar->dateAllow('2015-11-11', '2016-01-01');
$myCalendar->writeScript();
?>
	  <div class="clearfix"></div><hr />
<div class="form-group">
            	<button type="submit" class="btn btn-block btn-primary" name="btn_search">
                	<i class="glyphicon glyphicon-open-file"></i>&nbsp;Search
                </button>
            </div>
			</form>
</div>
<br>
<?php 
if (isset($_POST['btn_search'])) {
    $date_ride = $_POST['date5'];
예제 #10
0
if (strtotime($theDate) > strtotime($thisRange) || strtotime($theDate) < strtotime($thisDate)) {
    $theDate = $thisDate;
}
$myCalendar = new tc_calendar("date1");
$myCalendar->setIcon("images/iconCalendar.gif");
if (!empty($theDate)) {
    $newDate = strtotime($theDate);
    $myCalendar->setDate(date('d', $newDate), date('m', $newDate), date('Y', $newDate));
    $nowDate = date("D, F d, Y", $newDate);
} else {
    $myCalendar->setDate(date('d'), date('m'), date('Y'));
    $theDate = date("Y-m-d");
    $nowDate = date("D, F d, Y");
}
$myCalendar->setPath("./");
$myCalendar->setYearInterval($thisYear, $thisYear);
$myCalendar->dateAllow($thisDate, $thisRange, false);
$myCalendar->startMonday(true);
//$myCalendar->setDateFormat('d, m, Y');
//$myCalendar->autoSubmit(true, "", "index.php");
$myCalendar->autoSubmit(true, "form1");
$myCalendar->writeScript();
echo "<input type='hidden' name='class' id='class' value='{$class}'>";
?>
    </form>
	</div>
	<div id="class_selector">
	<h1>Selected Date: </h1><h2><strong><?php 
echo $nowDate;
?>
</strong></h2><br/>
예제 #11
0
    echo $days_row;
    foreach ($global_times as $time) {
        echo '<tr><th class="reservation_time_th">' . $time . '</th>';
        $i = 0;
        while ($i < 7) {
            $i++;
            echo '<td><div class="reservation_time_div"><div class="reservation_time_cell_div" id="div:' . $week . ':' . $i . ':' . $time . '" onclick="void(0)">' . read_reservation($week, $i, $time, $conn) . '</div></div></td>';
        }
        echo '</tr>';
    }
    echo '</table>';
} else {
    echo '<div class="box_div" id="cp_div"><div class="box_top_div"><a href="#"><input type="button" class="small_button blue_button" value="' . $_SESSION['user_name'] . '"></a></div>';
    $myCalendar = new tc_calendar("date1", true, false);
    $myCalendar->setDate(date('d'), date('m'), date('Y'));
    $myCalendar->setPath("calendar/");
    $myCalendar->setYearInterval(date('Y'), date('Y') + 10);
    $myCalendar->dateAllow(date('Y-m-d'), '2020-12-31');
    $myCalendar->setIcon("calendar/images/iconCalendar.gif");
    $myCalendar->setAlignment("right", "bottom");
    $myCalendar->setOnChange("myChanged()");
    $myCalendar->writeScript();
    ?>
	  <script language="javascript">
    var global_week_number ="<?php 
    echo global_week_number;
    ?>
";
	</script> <?php 
    echo '</div><div class="box_div" id="reservation_div"><div class="box_top_div" id="reservation_top_div"><div id="reservation_top_left_div"><a href="." id="previous_week_a">&lt; Prethodni dan</a></div><div id="reservation_top_center_div">Rezervacije za datum  <span id="week_number_span">' . global_week_number . '</span></div><div id="reservation_top_right_div"><a href="." id="next_week_a">Slijedni dan &gt;</a></div></div><div class="box_body_div"><div id="reservation_table_div"></div></div></div><div id="reservation_details_div">';
}
예제 #12
0
 function _calendar($date)
 {
     $myCalendar = new tc_calendar("date1", true);
     $myCalendar->setIcon("../site/calendar/images/iconCalendar.gif");
     //$myCalendar->setDate(date('d'), date('m'), date('Y'));
     if (isset($date)) {
         $myCalendar->setDate(date('d', strtotime($date)), date('m', strtotime($date)), date('Y', strtotime($date)));
     }
     $myCalendar->setPath("../site/calendar/");
     $myCalendar->setYearInterval(2005, 2045);
     //$myCalendar->dateAllow('2008-05-13', '2015-03-01');
     $myCalendar->setDateFormat('Y-m-d');
     //$myCalendar->setHeight(350);
     //$myCalendar->autoSubmit(true, "phmembership");
     $myCalendar->setAlignment('left', 'bottom');
     //$myCalendar->setSpecificDate(array("2011-04-01", "2011-04-04", "2011-12-25"), 0, 'year');
     //$myCalendar->setSpecificDate(array("2011-04-10", "2011-04-14"), 0, 'month');
     // $myCalendar->setSpecificDate(array("2011-06-01"), 0, '');
     $myCalendar->writeScript();
 }
예제 #13
0
        <td class="info"><input type="text" name="txtemail" size="30" value="<?php 
echo $email;
?>
"/></td>
    </tr>
        
    <tr>
    	<td class="title">Ngày Sinh</td>
        <td class="info">
        <form id="form2" name="form2" method="post" action="">
		<?php 
$myCalendar = new tc_calendar("date1", true);
$myCalendar->setIcon("images/iconCalendar.gif");
$myCalendar->setDate($ngaysinh, $thangsinh, $namsinh);
$myCalendar->setPath("./");
$myCalendar->setYearInterval(1920, date('Y', time()));
$myCalendar->dateAllow('1960-01-01', '2015-03-01');
//$myCalendar->setHeight(350);
//$myCalendar->autoSubmit(true, "form1");
$myCalendar->disabledDay("Sat");
$myCalendar->disabledDay("sun");
$myCalendar->writeScript();
?>
      
      </form>
      </td>
    </tr>
    <tr>
    	<td class="title">Giới Tính </td>
        <td class="info">Nam<input type="radio" name="rgioitinh" value="1" checked="checked"/>Nữ     <input type="radio" name="rgioitinh" value="2"<?php 
if ($gioitinh == 'Nữ') {
예제 #14
0
 private function RenderPanel($Prefix, $DefaultTime)
 {
     require_once 'calendar/calendar/classes/tc_calendar.php';
     $html = "";
     $html .= "<table border=\"0\" cellspacing=\"0\" cellpadding=\"2\"><tr><td nowrap>";
     $html .= "<SPAN CLASS='fieldtext'>" . $Prefix . " Date:</SPAN>";
     $html .= "</td><td>";
     //@todo: give an appropriate html name to this.
     $myCalendar = new \tc_calendar($Prefix . "datepicker", true, false);
     //date5->HTML name.
     $myCalendar->setIcon("calendar/calendar/images/iconCalendar.gif");
     $myCalendar->setDate(date('d', $DefaultTime), date('m', $DefaultTime), date('Y', $DefaultTime));
     //$myCalendar->setDate(date('d'), date('m'), date('Y'));
     $myCalendar->setPath("calendar/calendar/");
     $myCalendar->setYearInterval(2000, 2050);
     $myCalendar->dateAllow('2008-05-13', '2015-03-01');
     $myCalendar->setDateFormat('j F Y');
     $myCalendar->setAlignment('left', 'bottom');
     $myCalendar->zindex = 10;
     // This should, hypothetically, redirect the output from echo to a string.
     // It's either this, or rewrite the control.
     ob_start();
     $myCalendar->writeScript();
     $calendarhtml = ob_get_contents();
     ob_end_clean();
     $html .= "<SPAN CLASS='fieldtext'>";
     $html .= $calendarhtml;
     $html .= "</SPAN>";
     $html .= "</td><td>";
     //$html .= $myCalendar->writeScript();
     $html .= "<SELECT NAME=\"" . $Prefix . "hour\">";
     // $_POST["starthour"], $_POST["endhour"]
     for ($hour = 1; $hour <= 12; $hour++) {
         $html .= "<OPTION value=\"" . str_pad($hour, 2, "0", STR_PAD_LEFT) . "\"";
         if ($hour == date("g", $DefaultTime)) {
             $html .= " selected=\"selected\"";
         }
         $html .= ">" . $hour . "</OPTION>";
     }
     $html .= "</SELECT>";
     $html .= "<SELECT NAME=\"" . $Prefix . "minute\">";
     // $_POST["startminute"], $_POST["endminute"]
     for ($minute = 0; $minute < 60; $minute++) {
         $html .= "<OPTION VALUE=\"" . str_pad($minute, 2, "0", STR_PAD_LEFT) . "\"";
         if ($minute == date("i", $DefaultTime)) {
             $html .= " selected=\"selected\"";
         }
         $html .= ">" . str_pad($minute, 2, "0", STR_PAD_LEFT) . "</OPTION>";
     }
     $html .= "</SELECT>";
     $html .= "<SELECT NAME=\"" . $Prefix . "period\">";
     // $_POST["startperiod"], $_POST["startperiod"]
     $html .= "<OPTION VALUE=\"AM\"";
     if ("AM" == date("A", $DefaultTime)) {
         $html .= " selected=\"selected\"";
     }
     $html .= ">AM</OPTION>";
     $html .= "<OPTION VALUE=\"PM\"";
     if ("PM" == date("A", $DefaultTime)) {
         $html .= " selected=\"selected\"";
     }
     $html .= ">PM</OPTION>";
     $html .= "</SELECT>";
     $html .= "</tr></table>";
     $html .= "<BR>";
     return $html;
 }
예제 #15
0
</form>
</td>
<td>
<?php 
$date3_default_not_formatted = mktime(0, 0, 0, date("m") - 1, date("d"), date("Y"));
$date3_default = date("Y-m-d", $date3_default_not_formatted);
$date4_default = date("Y-m-d");
$myCalendar = new tc_calendar("date3", true, false);
$myCalendar->setIcon("calendar/images/iconCalendar.gif");
$myCalendar->setDate(date('d', strtotime($date3_default)), date('m', strtotime($date3_default)), date('Y', strtotime($date3_default)));
$myCalendar->setPath("calendar/");
$myCalendar->setYearInterval(2000, 2020);
$myCalendar->setAlignment('left', 'bottom');
$myCalendar->setDatePair('date3', 'date4', $date4_default);
$myCalendar->writeScript();
$myCalendar = new tc_calendar("date4", true, false);
$myCalendar->setIcon("calendar/images/iconCalendar.gif");
$myCalendar->setDate(date('d', strtotime($date4_default)), date('m', strtotime($date4_default)), date('Y', strtotime($date4_default)));
$myCalendar->setPath("calendar/");
$myCalendar->setYearInterval(2000, 2020);
$myCalendar->setAlignment('left', 'bottom');
$myCalendar->setDatePair('date3', 'date4', $date3_default);
$myCalendar->writeScript();
?>
</td>
<td><div class="arrow-right"></div></td>
</tr>
</table>
</body>
</html>
예제 #16
0
				<?php 
// Request selected language
$hl = isset($_POST["hl"]) ? $_POST["hl"] : false;
if (!defined("L_LANG") || L_LANG == "L_LANG") {
    if ($hl) {
        define("L_LANG", $hl);
    } else {
        define("L_LANG", "en_GB");
    }
}
$myCalendar = new tc_calendar("bday", true, false);
$myCalendar->setIcon("calendar/images/iconCalendar.gif");
$myCalendar->setDate(date('d'), date('m'), date('Y'));
$myCalendar->setPath("calendar/");
$myCalendar->setAlignment('left', 'bottom');
$myCalendar->setYearInterval(1900, 2015);
$myCalendar->setDateFormat('j F Y');
$myCalendar->writeScript();
?>
				</td>
                            </tr>
                            <tr>
                                <th><label>Email:</label></th>
                                <td><input name="email" type="text" class="textfield" id="email" /></td>
                            </tr>
                            <tr>
                                <th><label>Social Security:</label></th>
                                <td><input name="ssn" type="text" class="textfield" id="ssn" /></td>
                            </tr>
                            <tr>
                                <th><label>Username:</label></th>
예제 #17
0
                        <?php 
echo "<select>";
for ($x = 1; $x < 54; $x++) {
    echo "<option>" . $x . "</option>";
}
echo "</select>";
?>
                        	             
                    </td>
				 	<td>Week Ending</td>
					<td>
					<?php 
$myCalendar = new tc_calendar("endmonth", true);
$myCalendar->setDate(date('d'), date('m'), date('Y'));
$myCalendar->setPath("calendar/");
$myCalendar->setYearInterval($yearsago, $currentyear);
//$myCalendar->dateAllow('1960-01-01', '2015-03-01');
$myCalendar->writeScript();
?>
	
					</td>
				 </tr>
				 
				 <tr>
				
				  <td><span class="mandatory">* </span>Health Facility </td>
				  <td colspan="6"><strong>
					 <select  style="width:262px"  id='cat' name="cat">

				  </select>
					  <script>
예제 #18
0
          <label>Nhập lại mật khẩu:</label> <input type="password" name="txtrepass" size="25" /><font color="#FF0000">*</font><br />
         <label>Email:</label> <input type="text" name="txtemail" size="30" /><font color="#FF0000">*</font><br />
         <label>Mã xác nhận:</label><div style="padding-top:3px" id="thu"> <img src="libraries/random_image.php" /></div><br/>
         <label>&nbsp;</label> <input type="text" name="txtmxn" size="6" /><font color="#FF0000">*</font><br />
         </fieldset>
         <fieldset>
         <legend>Thông Tin Cá Nhân</legend>
         <label>Họ tên:</label> <input type="text" name="txtht" size="30" /><font color="#FF0000">*</font><br />					
         <label>Địa chỉ:</label> <input type="text" name="txtdc" size="50" /><font color="#FF0000">*</font><br />
         <label>Ngày sinh:</label> <form id="form2" name="form2" method="post" action="">
                 <?php 
 $myCalendar = new tc_calendar("date1", true);
 $myCalendar->setIcon("images/iconCalendar.gif");
 $myCalendar->setDate($ngaysinh, $thangsinh, $namsinh);
 $myCalendar->setPath("user/calendar_form.php");
 $myCalendar->setYearInterval(1920, date("Y"));
 $myCalendar->dateAllow('1960-01-01', '2015-03-01');
 //$myCalendar->setHeight(350);
 //$myCalendar->autoSubmit(true, "form1");
 $myCalendar->disabledDay("Sat");
 $myCalendar->disabledDay("sun");
 $myCalendar->writeScript();
 ?>
               
               </form><br/>
         <label>Giới tính:</label><input type="radio" name="gioitinh" value="1" checked="checked"/>Nam
         							<input type="radio" name="gioitinh" value="0" />Nữ<br/>
         <label>Điện thoại:</label> <input type="text" name="txtdt" size="12" /><font color="#FF0000">*</font>
         </fieldset>
         <label>&nbsp;</label><input style="margin-left:80px; color:#333;" type="submit" name="ok" value="Đăng ký" />
         				<input type="reset" name="reset" style="color:#333;" value="Nhập lại" />