Viewing file: purge.php (1.12 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<script type="text/javascript"> <!-- <![CDATA[ function selectDate ( day, month, year, current, evt ) { // get currently selected day/month/year monthobj = eval ( 'document.purgeform.' + month ); curmonth = monthobj.options[monthobj.selectedIndex].value; yearobj = eval ( 'document.purgeform.' + year ); curyear = yearobj.options[yearobj.selectedIndex].value; date = curyear;
if (document.getElementById) { mX = evt.clientX + 40; mY = evt.clientY + 120; } else { mX = evt.pageX + 40; mY = evt.pageY +130; } var MyPosition = 'scrollbars=no,toolbar=no,left=' + mX + ',top=' + mY + ',screenx=' + mX + ',screeny=' + mY ; if ( curmonth < 10 ) date += "0"; date += curmonth; date += "01"; url = "datesel.php?form=purgeform&fday=" + day + "&fmonth=" + month + "&fyear=" + year + "&date=" + date; var colorWindow = window.open(url,"DateSelection","width=300,height=200," + MyPosition); }
function all_handler () { var enabled = document.purgeform.purge_all.checked; if ( enabled ) { makeInvisible ( "dateArea" ); } else { makeVisible ( "dateArea" ); } }
//]]> --> </script>
|