HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/xampp/htdocs/cieclock/nutaReg.php

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>DayOfColor</title>
	<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />

  <meta charset="utf-8">
  <title>Demo</title>
  <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.1/themes/base/minified/jquery-ui.min.css" type="text/css" /> 


<style type="text/css">
body,td,th {
	font-size: 14px;
}
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
a:active {
	text-decoration: none;
}
</style>
<body vlink="#0000FF"><basefont face="Verdana">

	<!-- link calendar files  -->
	<script language="JavaScript" src="calendar_db.js"></script>
	<link rel="stylesheet" href="calendar.css">

	</head>

<p>&nbsp;</p>
<p>

<a name="DETAILS"></a>
<table width="100%" cellspacing="0" cellpadding="5">
<tr>
	<td></td>
</tr>
<tr>
	<td bgcolor="Navy"><font size="-1" color="White"><b>Day of Color<?php ;$DM=date('m');print $DM;?></b></font></td>
</tr>


</table>
<table width="100%" bgcolor="cccccc"><tr>
	<td><font size="4"><b>Day of Color Request</b></font></td>
</tr></table>
<p>


<?php
/*
week 4: 1741578084-1742096484
week 5: 1742182884-1742528484
week 6: 1742787684-1743133284
week 7: 1743392484-1743738084
week 8: 1743997284-1744342884
week 9: 1744602084-1744947684
week 10: 1745206884-1745552484
week 11: 1745811684-1746157284
week 12: 1746416484-1746762084
week 13: 1747021284-1747366884
week 14: 1747626084-1747971684
week 15: 1748230884-1748576484
week 16: 1748835684-1749181284
week 17: 1749440484-1749786084
week 18: 17500452841750390884
*/

$tstamp=time();
//echo 'Now: '. $tstamp;

if ($tstamp>1741578084 and $tstamp<1742096484){
	$weeknum=4;
}
elseif ($tstamp>1742096484 and $tstamp<1742528484){
$weeknum=5;}
	elseif ($tstamp>1742528484 and $tstamp<1743133284){
	$weeknum=6;}
	elseif ($tstamp>1743133284 and $tstamp<1743738084){
	$weeknum=7;}
	elseif ($tstamp>1743738084 and $tstamp<1744342884){
	$weeknum=8;}
	elseif ($tstamp>1744342884 and $tstamp<1744947684){
	$weeknum=9;}
	elseif ($tstamp>1744947684 and $tstamp<1745552484){
	$weeknum=10;}
	elseif ($tstamp>1745552484 and $tstamp<1746157284){
	$weeknum=11;}
	elseif ($tstamp>1746157284 and $tstamp<1746762084){
	$weeknum=12;}
	elseif ($tstamp>1746762084 and $tstamp<1747366884){
	$weeknum=13;}
	elseif ($tstamp>1747366884 and $tstamp<1747971684){
	$weeknum=14;}
	elseif ($tstamp>1747971684 and $tstamp<1748576484){
	$weeknum=15;}
	elseif ($tstamp>1748576484 and $tstamp<1749181284){
	$weeknum=16;}
	elseif ($tstamp>1749181284 and $tstamp<1749786084){
	$weeknum=17;}
	elseif ($tstamp>1749786084 and $tstamp<1750390884){
	$weeknum=18;
}
//echo '<br>week: '. $weeknum;





?>

<form name="testform" method="post" action="doyColor2.php">
  

  <tr>
    <td valign="top"><b><font size="-1">Birth: 月: </font></b></td>
    <td><SELECT NAME="pmon">
      <OPTION VALUE=01 <?php if ($DM==1) { print"selected";} ?>>01
        <OPTION VALUE=02 <?php if ($DM==2) { print"selected";} ?>>02
        <OPTION VALUE=03 <?php if ($DM==3) { print"selected";} ?>>03
        <OPTION VALUE=04 <?php if ($DM==4) { print"selected";} ?>>04
        <OPTION VALUE=05 <?php if ($DM==5) { print"selected";} ?>>05
        <OPTION VALUE=06 <?php if ($DM==6) { print"selected";} ?>>06
        <OPTION VALUE=07 <?php if ($DM==7) { print"selected";} ?>>07
        <OPTION VALUE=08 <?php if ($DM==8) { print"selected";} ?>>08
        <OPTION VALUE=09 <?php if ($DM==9) { print"selected";} ?>>09
        <OPTION VALUE=10 <?php if ($DM==10) { print"selected";} ?>>10
        <OPTION VALUE=11 <?php if ($DM==11) { print"selected";} ?> >11
        <OPTION VALUE=12 <?php if ($DM==12) { print"selected";} ?>>12
    </SELECT></td>
  </tr>
  
    <tr>
    <td valign="top"><b><font size="-1">日: </font></b></td>
    <td><SELECT NAME="pdate">
      <OPTION VALUE=01 >01
	  <OPTION VALUE=02 >02
	  <OPTION VALUE=03 >03
	  <OPTION VALUE=04 >04
	  <OPTION VALUE=05 >05
	  <OPTION VALUE=06 >06
	  <OPTION VALUE=07 >07
	  <OPTION VALUE=08 >08
	  <OPTION VALUE=09 >09
	  <OPTION VALUE=10 >10
	  <OPTION VALUE=11 >11
	  <OPTION VALUE=12 >12
	  <OPTION VALUE=13 >13
	  <OPTION VALUE=14 >14
	  <OPTION VALUE=15 >15
	  <OPTION VALUE=16 >16
	  <OPTION VALUE=17 >17
	  <OPTION VALUE=18 >18
	  <OPTION VALUE=19 >19
	  <OPTION VALUE=20 >20
	  <OPTION VALUE=21 >21
	  <OPTION VALUE=22 >22
	  <OPTION VALUE=23 >23
	  <OPTION VALUE=24 >24
	  <OPTION VALUE=25 >25
	  <OPTION VALUE=26 >26
	  <OPTION VALUE=27 >27
	  <OPTION VALUE=28 >28
	  <OPTION VALUE=29 >29
	  <OPTION VALUE=30 >30
	  <OPTION VALUE=31 >31
    </SELECT></td>
  </tr>
  <br>
<tr>
	<td valign="top"><b><font size="-1">學號: </font></b>
	<input size="15" maxlength="50" type="text" name="stid" ></td>
  </tr>


<script type="text/javascript">
var MenuBar1 = new Spry.Widget.MenuBar("pressmenu1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
</script>


	
		

	

<script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/ui/1.10.1/jquery-ui.min.js"></script>	
<script type="text/javascript">
$(function() {
	
	//autocomplete
	$(".auto").autocomplete({
		source: "doyColor.php",
		minLength: 1,


	});				

});
</script>

  
     <input type="submit" name="submit" value="submit" /></p>
      
   

  </table>