관리-도구
편집 파일: contact-meNew.php
<?php $currentFile = $_SERVER['PHP_SELF']; $parts = Explode('/', $currentFile); $findThis = $parts[count($parts) - 2]; if ($findThis == 'reception') $findThisValue = 'venue'; if ($findThis == 'vendors') $findThisValue = 'vendor'; ?> <html> <head> <script type="text/javascript"> <!-- function MM_jumpMenu(targ,selObj,restore){ //v3.0 eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"); if (restore) selObj.selectedIndex=0; } //--> </script> <script type="text/javascript" src="ajax_frameworkNew.js"></script> <script language="javascript"> function checkStatus() { if ((document.getElementById('first_name').value == '') || (document.getElementById('first_name').value == 'First and Last Name')) { alert("Please Enter First and Last Name"); document.getElementById('first_name').focus(); return false; } //if ((document.getElementById('last_name').value == '') || (document.getElementById('last_name').value == 'Your Last Name')) //{ // alert("Please Enter Last Name"); // document.getElementById('last_name').focus(); // return false; //} if ((document.getElementById('email').value == '') || (document.getElementById('email').value == 'Email Address')) { alert("Please Enter Email Address"); document.getElementById('email').focus(); return false; } if ((document.getElementById('email').value != '') && (document.getElementById('email').value != 'Email Address')) { var str = document.getElementById('email').value; var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i if (filter.test(str)) { str="a"; } else { alert("Please Enter Valid Email Address!"); document.getElementById('email').focus(); return false; } } if (document.getElementById('dropvalue').value=='question') { if ((document.getElementById('your_question').value=='') || (document.getElementById('your_question').value=='Question')) { alert("Please Enter Your Question"); document.getElementById('your_question').focus(); return false; } } if (document.getElementById('dropvalue').value=='call') { if ((document.getElementById('phone_number').value=='') || (document.getElementById('phone_number').value=='Phone Number')) { alert("Please Enter Your Phone Number"); document.getElementById('phone_number').focus(); return false; } } autosuggest(); //document.forms(0).action="contactmeactionsubmitNew.php"; //document.forms(0).submit(); } function dropchange() { if (document.getElementById('dropvalue').value=='call') { //document.getElementById('rowphone').style.display='block'; document.getElementById('rowphone1').style.display='block'; document.getElementById('rowphone2').style.display='block'; document.getElementById('rowphone3').style.display='block'; document.getElementById('rowquestion').style.display='none'; } if (document.getElementById('dropvalue').value=='email') { //document.getElementById('rowphone').style.display='none'; document.getElementById('rowphone1').style.display='none'; document.getElementById('rowphone2').style.display='none'; document.getElementById('rowphone3').style.display='none'; document.getElementById('rowquestion').style.display='none'; } if (document.getElementById('dropvalue').value=='question') { //document.getElementById('rowphone').style.display='none'; document.getElementById('rowphone1').style.display='none'; document.getElementById('rowphone2').style.display='none'; document.getElementById('rowphone3').style.display='none'; document.getElementById('rowquestion').style.display='block'; } } function getfocus(p) { var val; val = document.getElementById(p).value; if (p == 'first_name') { if (val == 'First and Last Name') document.getElementById(p).value = ''; } //if (p == 'last_name') //{ // if (val == 'Your Last Name') // document.getElementById(p).value = ''; //} if (p == 'email') { if (val == 'Email Address') document.getElementById(p).value = ''; } if (p == 'phone_number') { if (val == 'Phone Number') document.getElementById(p).value = ''; } if (p == 'your_question') { if (val == 'Question') document.getElementById(p).value = ''; } if (p == 'wedding_date') { if (val == 'Wedding Date') document.getElementById(p).value = ''; } } function lostfocus(p) { var val; val = document.getElementById(p).value; if (p == 'first_name') { if (val == '') document.getElementById(p).value = 'First and Last Name'; } //if (p == 'last_name') //{ // if (val == '') // document.getElementById(p).value = 'Your Last Name'; //} if (p == 'email') { if (val == '') document.getElementById(p).value = 'Email Address'; } if (p == 'phone_number') { if (val == '') document.getElementById(p).value = 'Phone Number'; } if (p == 'your_question') { if (val == '') document.getElementById(p).value = 'Question'; } if (p == 'wedding_date') { if (val == '') document.getElementById(p).value = 'Wedding Date'; } } </script> <script language="JavaScript"> var weekend = [0,6]; var weekendColor = "#ffffff"; var fontface = "Verdana"; var fontsize = 8; var gNow = new Date(); var ggWinContent; var ggPosX = -1; var ggPosY = -1; Calendar.Months = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]; Calendar.DOMonth = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; Calendar.lDOMonth = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; function Calendar(p_item, p_month, p_year, p_format) { if ((p_month == null) && (p_year == null)) return; if (p_month == null) { this.gMonthName = null; this.gMonth = null; this.gYearly = true; } else { this.gMonthName = Calendar.get_month(p_month); this.gMonth = new Number(p_month); this.gYearly = false; } this.gYear = p_year; this.gFormat = p_format; this.gBGColor = "white"; this.gFGColor = "black"; this.gTextColor = "black"; this.gHeaderColor = "black"; this.gReturnItem = p_item; } Calendar.get_month = Calendar_get_month; Calendar.get_daysofmonth = Calendar_get_daysofmonth; Calendar.calc_month_year = Calendar_calc_month_year; function Calendar_get_month(monthNo) { return Calendar.Months[monthNo]; } function Calendar_get_daysofmonth(monthNo, p_year) { if ((p_year % 4) == 0) { if ((p_year % 100) == 0 && (p_year % 400) != 0) return Calendar.DOMonth[monthNo]; return Calendar.lDOMonth[monthNo]; } else return Calendar.DOMonth[monthNo]; } function Calendar_calc_month_year(p_Month, p_Year, incr) { var ret_arr = new Array(); if (incr == -1) { if (p_Month == 0) { ret_arr[0] = 11; ret_arr[1] = parseInt(p_Year) - 1; } else { ret_arr[0] = parseInt(p_Month) - 1; ret_arr[1] = parseInt(p_Year); } } else if (incr == 1) { if (p_Month == 11) { ret_arr[0] = 0; ret_arr[1] = parseInt(p_Year) + 1; } else { ret_arr[0] = parseInt(p_Month) + 1; ret_arr[1] = parseInt(p_Year); } } return ret_arr; } function Calendar_calc_month_year(p_Month, p_Year, incr) { var ret_arr = new Array(); if (incr == -1) { if (p_Month == 0) { ret_arr[0] = 11; ret_arr[1] = parseInt(p_Year) - 1; } else { ret_arr[0] = parseInt(p_Month) - 1; ret_arr[1] = parseInt(p_Year); } } else if (incr == 1) { if (p_Month == 11) { ret_arr[0] = 0; ret_arr[1] = parseInt(p_Year) + 1; } else { ret_arr[0] = parseInt(p_Month) + 1; ret_arr[1] = parseInt(p_Year); } } return ret_arr; } new Calendar(); Calendar.prototype.getMonthlyCalendarCode = function() { var vCode = ""; var vHeader_Code = ""; var vData_Code = ""; vCode += ("<div align=center><TABLE CELLPADDING=4 CELLSPACING=0 BORDER=1 BGCOLOR=\"" + this.gBGColor + "\" style='font-size:" + fontsize + "pt;'>"); vHeader_Code = this.cal_header(); vData_Code = this.cal_data(); vCode += (vHeader_Code + vData_Code); vCode += "</TABLE></div>"; return vCode; } Calendar.prototype.show = function() { var vCode = ""; ggWinContent += ("<FONT FACE='" + fontface + "' ><B>"); var prevMMYYYY = Calendar.calc_month_year(this.gMonth, this.gYear, -1); var prevMM = prevMMYYYY[0]; var prevYYYY = prevMMYYYY[1]; var nextMMYYYY = Calendar.calc_month_year(this.gMonth, this.gYear, 1); var nextMM = nextMMYYYY[0]; var nextYYYY = nextMMYYYY[1]; ggWinContent += ("<TABLE WIDTH='100%' BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR='#FAFAFA' style='font-size:" + fontsize + "pt;'><TR><TD height=20px ALIGN=center >"); ggWinContent += ("<A HREF=\"javascript:void(0);\" " + "onMouseOver=\"window.status='Go back one month'; return true;\" " + "onMouseOut=\"window.status=''; return true;\" " + "onClick=\"Build(" + "'" + this.gReturnItem + "', '" + prevMM + "', '" + prevYYYY + "', '" + this.gFormat + "'" + ");" + "\"><<\/A></TD><TD ALIGN=center>"); ggWinContent += "</TD>"; ggWinContent += ("<TD ALIGN=center><B>"); ggWinContent += (this.gMonthName + " " + this.gYear); ggWinContent += "</B></TD>"; ggWinContent += "<TD ALIGN=center>"; ggWinContent += ("<A HREF=\"javascript:void(0);\" " + "onMouseOver=\"window.status='Go forward one month'; return true;\" " + "onMouseOut=\"window.status=''; return true;\" " + "onClick=\"Build(" + "'" + this.gReturnItem + "', '" + nextMM + "', '" + nextYYYY + "', '" + this.gFormat + "'" + ");" + "\">><\/A></TD><TD ALIGN=center>"); ggWinContent += ("</TD></TR></TABLE><BR>"); /*ggWinContent += ("[<<<A HREF=\"javascript:void(0);\" " + "onMouseOver=\"window.status='Go back one year'; return true;\" " + "onMouseOut=\"window.status=''; return true;\" " + "onClick=\"Build(" + "'" + this.gReturnItem + "', '" + this.gMonth + "', '" + (parseInt(this.gYear)-1) + "', '" + this.gFormat + "'" + ");" + "\">Year<\/A>]</TD><TD ALIGN=center>");*/ /*ggWinContent += ("[<A HREF=\"javascript:void(0);\" " + "onMouseOver=\"window.status='Go forward one year'; return true;\" " + "onMouseOut=\"window.status=''; return true;\" " + "onClick=\"Build(" + "'" + this.gReturnItem + "', '" + this.gMonth + "', '" + (parseInt(this.gYear)+1) + "', '" + this.gFormat + "'" + ");" + "\">Year<\/A>>>]</TD></TR></TABLE><BR>");*/ vCode = this.getMonthlyCalendarCode(); ggWinContent += vCode; } Calendar.prototype.showY = function() { var vCode = ""; var i; ggWinContent += "<FONT FACE='" + fontface + "' ><B>" ggWinContent += ("Year : " + this.gYear); ggWinContent += "</B><BR>"; var prevYYYY = parseInt(this.gYear) - 1; var nextYYYY = parseInt(this.gYear) + 1; ggWinContent += ("<TABLE WIDTH='100%' BORDER=1 CELLSPACING=0 CELLPADDING=0 BGCOLOR='#e0e0e0' style='font-size:" + fontsize + "pt;'><TR><TD ALIGN=center>"); ggWinContent += ("[<A HREF=\"javascript:void(0);\" " + "onMouseOver=\"window.status='Go back one year'; return true;\" " + "onMouseOut=\"window.status=''; return true;\" " + "onClick=\"Build(" + "'" + this.gReturnItem + "', null, '" + prevYYYY + "', '" + this.gFormat + "'" + ");" + "\"><<Year<\/A>]</TD><TD ALIGN=center>"); ggWinContent += " </TD><TD ALIGN=center>"; ggWinContent += ("[<A HREF=\"javascript:void(0);\" " + "onMouseOver=\"window.status='Go forward one year'; return true;\" " + "onMouseOut=\"window.status=''; return true;\" " + "onClick=\"Build(" + "'" + this.gReturnItem + "', null, '" + nextYYYY + "', '" + this.gFormat + "'" + ");" + "\">Year>><\/A>]</TD></TR></TABLE><BR>"); ggWinContent += ("<TABLE WIDTH='100%' BORDER=0 CELLSPACING=0 CELLPADDING=0 style='font-size:" + fontsize + "pt;'><TR>"); var j; for (i=0; i<12; i++) { ggWinContent += "<TD ALIGN='center' VALIGN='top'>"; this.gMonth = i; this.gMonthName = Calendar.get_month(this.gMonth); vCode = this.getMonthlyCalendarCode(); ggWinContent += (this.gMonthName + "/" + this.gYear + "<BR>"); ggWinContent += vCode; ggWinContent += "</TD>"; if (i == 3 || i == 7) { ggWinContent += "</TR><TR>"; } } ggWinContent += "</TR></TABLE></font><BR>"; } Calendar.prototype.cal_header = function() { var vCode = ""; vCode = vCode + "<TR>"; vCode = vCode + "<TD WIDTH='14%'><FONT FACE='" + fontface + "' COLOR='" + this.gHeaderColor + "'><B>Sun</B></FONT></TD>"; vCode = vCode + "<TD WIDTH='14%'><FONT FACE='" + fontface + "' COLOR='" + this.gHeaderColor + "'><B>Mon</B></FONT></TD>"; vCode = vCode + "<TD WIDTH='14%'><FONT FACE='" + fontface + "' COLOR='" + this.gHeaderColor + "'><B>Tue</B></FONT></TD>"; vCode = vCode + "<TD WIDTH='14%'><FONT FACE='" + fontface + "' COLOR='" + this.gHeaderColor + "'><B>Wed</B></FONT></TD>"; vCode = vCode + "<TD WIDTH='14%'><FONT FACE='" + fontface + "' COLOR='" + this.gHeaderColor + "'><B>Thu</B></FONT></TD>"; vCode = vCode + "<TD WIDTH='14%'><FONT FACE='" + fontface + "' COLOR='" + this.gHeaderColor + "'><B>Fri</B></FONT></TD>"; vCode = vCode + "<TD WIDTH='16%'><FONT FACE='" + fontface + "' COLOR='" + this.gHeaderColor + "'><B>Sat</B></FONT></TD>"; vCode = vCode + "</TR>"; return vCode; } Calendar.prototype.cal_data = function() { var vDate = new Date(); vDate.setDate(1); vDate.setMonth(this.gMonth); vDate.setFullYear(this.gYear); var vFirstDay=vDate.getDay(); var vDay=1; var vLastDay=Calendar.get_daysofmonth(this.gMonth, this.gYear); var vOnLastDay=0; var vCode = ""; vCode = vCode + "<TR>"; for (i=0; i<vFirstDay; i++) { vCode = vCode + "<TD ALIGN=CENTER WIDTH='14%'" + this.write_weekend_string(i) + "><FONT FACE='" + fontface + "'> </FONT></TD>"; } for (j=vFirstDay; j<7; j++) { vCode = vCode + "<TD ALIGN=CENTER WIDTH='14%'" + this.write_weekend_string(j) + "><FONT FACE='" + fontface + "'>" + "<A style=text-decoration:none HREF='javascript:void(0);' " + "onMouseOver=\"window.status='set date to " + this.format_data(vDay) + "'; return true;\" " + "onMouseOut=\"window.status=' '; return true;\" " + "onClick=\"document." + this.gReturnItem + ".value='" + this.format_data(vDay) + "';ggPosX=-1;ggPosY=-1;nd();nd();\">" + this.format_day(vDay) + "</A>" + "</FONT></TD>"; vDay=vDay + 1; } vCode = vCode + "</TR>"; // Write the rest of the weeks for (k=2; k<7; k++) { vCode = vCode + "<TR>"; for (j=0; j<7; j++) { vCode = vCode + "<TD ALIGN=CENTER WIDTH='14%'" + this.write_weekend_string(j) + "><FONT FACE='" + fontface + "'>" + "<A style=text-decoration:none HREF='javascript:void(0);' " + "onMouseOver=\"window.status='set date to " + this.format_data(vDay) + "'; return true;\" " + "onMouseOut=\"window.status=' '; return true;\" " + "onClick=\"document." + this.gReturnItem + ".value='" + this.format_data(vDay) + //"';window.scroll(0,ggPosY);ggPosX=-1;ggPosY=-1;nd();nd();\">" + "';ggPosX=-1;ggPosY=-1;nd();nd();\">" + this.format_day(vDay) + "</A>" + "</FONT></TD>"; vDay=vDay + 1; if (vDay > vLastDay) { vOnLastDay = 1; break; } } if (j == 6) vCode = vCode + "</TR>"; if (vOnLastDay == 1) break; } // Fill up the rest of last week with proper blanks, so that we get proper square blocks for (m=1; m<(7-j); m++) { if (this.gYearly) vCode = vCode + "<TD ALIGN=CENTER WIDTH='14%'" + this.write_weekend_string(j+m) + "><FONT FACE='" + fontface + "' COLOR='gray'> </FONT></TD>"; else vCode = vCode + "<TD ALIGN=CENTER WIDTH='14%'" + this.write_weekend_string(j+m) + "><FONT FACE='" + fontface + "' COLOR='gray'>" + m + "</FONT></TD>"; } return vCode; } Calendar.prototype.format_day = function(vday) { var vNowDay = gNow.getDate(); var vNowMonth = gNow.getMonth(); var vNowYear = gNow.getFullYear(); if (vday == vNowDay && this.gMonth == vNowMonth && this.gYear == vNowYear) return ("<FONT COLOR=\"darkblue\"><B>" + vday + "</B></FONT>"); else return (vday); } Calendar.prototype.write_weekend_string = function(vday) { var i; // Return special formatting for the weekend day. for (i=0; i<weekend.length; i++) { if (vday == weekend[i]) return (" BGCOLOR=\"" + weekendColor + "\""); } return ""; } Calendar.prototype.format_data = function(p_day) { var vData; var vMonth = 1 + this.gMonth; vMonth = (vMonth.toString().length < 2) ? "0" + vMonth : vMonth; var vMon = Calendar.get_month(this.gMonth).substr(0,3).toUpperCase(); var vFMon = Calendar.get_month(this.gMonth).toUpperCase(); var vY4 = new String(this.gYear); var vY2 = new String(this.gYear.substr(2,2)); var vDD = (p_day.toString().length < 2) ? "0" + p_day : p_day; switch (this.gFormat) { case "MM\/DD\/YYYY" : vData = vMonth + "\/" + vDD + "\/" + vY4; break; case "MM\/DD\/YY" : vData = vMonth + "\/" + vDD + "\/" + vY2; break; case "MM-DD-YYYY" : vData = vMonth + "-" + vDD + "-" + vY4; break; case "YYYY-MM-DD" : vData = vY4 + "-" + vMonth + "-" + vDD; break; case "MM-DD-YY" : vData = vMonth + "-" + vDD + "-" + vY2; break; case "DD\/MON\/YYYY" : vData = vDD + "\/" + vMon + "\/" + vY4; break; case "DD\/MON\/YY" : vData = vDD + "\/" + vMon + "\/" + vY2; break; case "DD-MON-YYYY" : vData = vDD + "-" + vMon + "-" + vY4; break; case "DD-MON-YY" : vData = vDD + "-" + vMon + "-" + vY2; break; case "DD\/MONTH\/YYYY" : vData = vDD + "\/" + vFMon + "\/" + vY4; break; case "DD\/MONTH\/YY" : vData = vDD + "\/" + vFMon + "\/" + vY2; break; case "DD-MONTH-YYYY" : vData = vDD + "-" + vFMon + "-" + vY4; break; case "DD-MONTH-YY" : vData = vDD + "-" + vFMon + "-" + vY2; break; case "DD\/MM\/YYYY" : vData = vDD + "\/" + vMonth + "\/" + vY4; break; case "DD\/MM\/YY" : vData = vDD + "\/" + vMonth + "\/" + vY2; break; case "DD-MM-YYYY" : vData = vDD + "-" + vMonth + "-" + vY4; break; case "DD-MM-YY" : vData = vDD + "-" + vMonth + "-" + vY2; break; default : vData = vMonth + "\/" + vDD + "\/" + vY4; } return vData; } function Build(p_item, p_month, p_year, p_format) { gCal = new Calendar(p_item, p_month, p_year, p_format); gCal.gBGColor="white"; gCal.gLinkColor="black"; gCal.gTextColor="black"; gCal.gHeaderColor="black"; ggWinContent = ""; if (gCal.gYearly) { if (ggPosX == -1) ggPosX = 10; if (ggPosY == -1) ggPosY = 10; if (fontsize == 8) fontsize = 6; gCal.showY(); } else { gCal.show(); } if (ggPosX == -1 && ggPosY == -1) { overlib(ggWinContent, AUTOSTATUSCAP, STICKY, CLOSECLICK, CSSSTYLE, TEXTSIZEUNIT, "pt", TEXTSIZE, 8, CAPTIONSIZEUNIT, "pt", CAPTIONSIZE, 8, CLOSESIZEUNIT, "pt", CLOSESIZE, 8, CAPTION, "Select a date", OFFSETX, 20, OFFSETY, -20); if ( (ns4) || (ie4) ) { ggPosX = parseInt(over.left); ggPosY = parseInt(over.top); } else if (ns6) { ggPosX = parseInt(over.style.left); ggPosY = parseInt(over.style.top); } } else { // we have a saved X & Y position, so use those with the FIXX and FIXY options overlib(ggWinContent, AUTOSTATUSCAP, STICKY, CLOSECLICK, CSSSTYLE, TEXTSIZEUNIT, "pt", TEXTSIZE, 8, CAPTIONSIZEUNIT, "pt", CAPTIONSIZE, 8, CLOSESIZEUNIT, "pt", CLOSESIZE, 8, CAPTION, "Select a date", FIXX, ggPosX, FIXY, ggPosY); } //window.scroll(ggPosX, ggPosY); } function show_calendar() { p_item = arguments[0]; if (arguments[1] == null) p_month = new String(gNow.getMonth()); else p_month = arguments[1]; if (arguments[2] == "" || arguments[2] == null) p_year = new String(gNow.getFullYear().toString()); else p_year = arguments[2]; if (arguments[3] == null) p_format = "MM\/DD\/YYYY"; else p_format = arguments[3]; Build(p_item, p_month, p_year, p_format); } function show_yearly_calendar() { p_item = arguments[0]; if (arguments[1] == "" || arguments[1] == null) p_year = new String(gNow.getFullYear().toString()); else p_year = arguments[1]; if (arguments[2] == null) p_format = "YYYY-MM-DD"; else p_format = arguments[2]; Build(p_item, null, p_year, p_format); } </script> <script language="JavaScript" src="overlib_mini1.js"></script> <script language="JavaScript" type="text/javascript" src="gen_inc_datepicker.js"></script> <script language="javascript"> function showPolicy() { document.getElementById('ppolicy').style.display='block'; } function hidePolicy() { document.getElementById('ppolicy').style.display='none'; } </script> <script type="text/javascript"> function textBoxOnBlur(elementRef) { var elementValue = elementRef.value; elementValue = elementValue.replace(/[^0-9]+/g,""); elementValue = elementValue.replace(/\(/g, ''); elementValue = elementValue.replace(/\)/g, ''); elementValue = elementValue.replace(/\-/g, ''); elementValue = elementValue.replace(/\s+/g, '') elementRef.value = (elementValue.substr(0, 3) + '-' + elementValue.substr(3, 3) + '-' + elementValue.substr(6, 4)); } </script> <style type="text/css"> <!-- .style3 {font-family: Arial, Helvetica, sans-serif; font-size: 14px; } #Layer1 { position:absolute; width:200px; height:115px; z-index:1001; } --> </style> </head> <body> <!--<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>--> <table width="259" border="0" cellpadding="0" cellspacing="0" bordercolor="#0033FF" id="tblform"> <tr> <td align="left" valign="top" bgcolor="#f3e8cc"> <div id="ppolicy" style="width:258px; height:100px;display:none;position:absolute;" > <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#333333"> <tr> <td><table width="100%" border="0" cellspacing="1" cellpadding="1"> <tr> <td bgcolor="#FAFAFA"><table width="100%" border="0" cellspacing="1" cellpadding="3"> <tr> <td align="center" class="search">Privacy</td> </tr> <tr> <td><p>Be assured, your email address and information will not be shared. <br /> The correspondence will be exclusively between you and the <?php echo $findThisValue; ?> you are connecting with.</p></td> </tr> <tr> <td align="right"><p><a style="text-decoration:none; cursor:pointer;" onClick="hidePolicy()">Close</a></p></td> </tr> </table></td> </tr> </table></td> </tr> </table> </div> <table width="259" border="0" cellspacing="0" cellpadding="0"> <tr height="35px" valign="middle"> <td width="20" height="50px" align="left" valign="middle"></td> <td align="left" valign="middle"><strong><span class="search"> Receive package and pricing information</span></strong></td> <td width="20" height="15px" align="left" valign="top"></td> </tr> <form name="frmcontactme" id="frmcontactme" action="" method="POST" > <tr valign="top"> <td align="left" valign="top"> </td> <td align="left" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="1"> <tr> <td><label> <input name="first_name" type="text" id="first_name" value="First and Last Name" size="25" onClick="getfocus('first_name')" onBlur="lostfocus('first_name')" /> </label></td> </tr> <!--<tr> <td><input name="last_name" type="text" id="last_name" value="Your Last Name" size="25" onClick="getfocus('last_name')" onBlur="lostfocus('last_name')" /></td> </tr>--> <tr> <td><input name="email" type="text" id="email" value="Email Address" size="25" onClick="getfocus('email')" onBlur="lostfocus('email')" /> </td> </tr> <tr> <td><input name="phone_number" id="phone_number" type="text" value="Phone Number" size="25" onBlur="textBoxOnBlur(this);" onClick="getfocus('phone_number')" onBlur="lostfocus('phone_number')" /></td> </tr> <tr> <td> <input name="wedding_date" type="text" id="wedding_date" value="Wedding Date" size="25" /> <!--<a href="javascript:ggPosX=715;ggPosY=700;show_calendar('frmcontactme.wedding_date');" onMouseOver="window.status='Date Picker'; overlib('Click here to choose a date from a one month pop-up calendar.'); return true;" onMouseOut="window.status=''; nd(); return true;"> <img src="../images/calendar.gif" width="16" height="15" border="0"></a> mm/dd/yyyy --> </td> <!-- <select name="datemm" id="datemm"> <?php $inum =1; while ($inum <= 12) { ?> <option value="<?php echo $inum; ?>" <?php if ($inum == date("m")) { ?> selected="selected" <?php } ?>><?php echo $inum; ?></option> <? $inum = $inum+1; } ?> </select> - <select name="datedd" id="datedd"> <?php $inum =1; while ($inum <= 31) { ?> <option value="<?php echo $inum; ?>" <?php if ($inum == date("d")) { ?> selected="selected" <?php } ?>><?php echo $inum; ?></option> <? $inum = $inum+1; } ?> </select> - <select name="dateyy" id="dateyy"> <?php $inum = date("Y"); while ($inum <= date("Y") + 5) { ?> <option value="<?php echo $inum; ?>" <?php if ($inum == date("Y")) { ?> selected="selected" <?php } ?>><?php echo $inum; ?></option> <? $inum = $inum+1; } ?> </select> --> </td> </tr> <tr> <td><label> <select name="dropvalue" id="dropvalue" onChange="dropchange()"> <option value="email" selected="selected">Click for options</option> <option value="email">Send me info via email</option> <option value="call">Give me a call</option> <option value="question">Ask a question</option> </select> </label></td> </tr> <tr> <td><div id="rowphone1" style="display:none"> ( e.g. xxx-xxx-xxxx ) </div></td> </tr> <tr> <td><div id="rowphone2" style="display:none"><strong> Best time to Contact: </strong></div></td> </tr> <tr> <td><div id="rowphone3" style="display:none"><table width="100%" border="0" cellspacing="2" cellpadding="2"> <tr> <td width="2%"><input type="checkbox" name="timetocall1" id="timetocall1" value="Anytime" /></td> <td width="23%">Anytime</td> <td width="14%"> </td> <td width="2%"><input type="checkbox" name="timetocall2" value="Evenings" id="timetocall2" /></td> <td>Evenings</td> <td width="13%"> </td> </tr> <tr> <td><input type="checkbox" name="timetocall3" value="Daytime" id="timetocall3" /></td> <td>Daytime</td> <td> </td> <td><input type="checkbox" name="timetocall4" value="Weekends" id="timetocall4" /></td> <td>Weekends</td> <td> </td> </tr> </table></div> </td></tr> <tr><td><div id="rowquestion" style="display:none"> <textarea name="your_question" id="your_question" cols="22" rows="6" onClick="getfocus('your_question')" onBlur="lostfocus('your_question')">Question</textarea> </div></td></tr> <tr> <td height="36" align="left" valign="middle"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td rowspan="2"><input type="button" value=" Submit " name="imageField" onClick="return checkStatus()" /></td> <td> Your information is secure.</td> </tr> <tr> <td> Here's our <a style="text-decoration:none; cursor:pointer;" onClick="showPolicy()">Privacy Policy >></a></td> </tr> </table> </td> </tr> </table> </td> <td width="20" align="left" valign="top"> </td> </tr> </form> </table></td> </tr> </table> <table width="298" border="0" cellpadding="0" cellspacing="0" bordercolor="#0033FF" id="tblresponse" style="display:none"> <tr> <td align="left" valign="top" bgcolor="#f3e8cc"><table width="298" border="0" cellspacing="0" cellpadding="0"> <tr><td width="20" align="left" valign="top"><div align="center"><span class="style3"> </span></div></td></tr> <tr><td width="20" align="left" valign="top"><div align="center"><span class="style3"><strong>Your information has been submitted successfully.</strong></span></div></td></tr> <tr><td width="20" align="left" valign="top"><br><div align="center"><span class="style3"><strong>Thank you for your interest.</strong></span></div></td></tr> <tr><td width="20" align="left" valign="top"><br><div align="center"><span class="style3"><strong> </strong></span></div></td></tr> </table></td> </tr> </table> </body> </head> </html>