holidaydo.cmvp

web/admin/grinder/holidaydo.cmvp · 1.2 KB

From the archive CoffeeMud_5_5_5.zip

Download the archive   « Back to the archive contents

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
@if?!Authenticate@ @AddFile?/grinder/failedlogin.cmvp@ @else@
@if?!CheckAuthCode?AUTH_CMDQUESTS=true@ @AddFile?/grinder/nopriv.cmvp@ @else@
<html>
<head>
    <link rel="grinder icon" href="/images/grinder.ico" >
</head>
<body BGCOLOR=BLACK>
<SCRIPT LANGUAGE=JavaScript>
<!--
@if?CheckReqParm?FUNCTION=DELHOLIDAY@
    var v='@MUDGrinder?DELHOLIDAY@';
    if(v != '')
        alert(v);
    else
        alert('Holiday deleted.');
    opener.Refresh();
    window.close();
@endif@
@if?CheckReqParm?FUNCTION=EDITHOLIDAY@
    var v='@MUDGrinder?EDITHOLIDAY@';
    if(v != '')
        alert(v);
    else
        alert('Holiday created/modified.');
    opener.Refresh();
    window.close();
@endif@
@if?CheckReqParm?FUNCTION=REHOLIDAY@
    @if?CheckReqParm?NEWHOLIDAYID=@
        document.location.href='holiday.cmvp?AUTH=@Authenticate?AUTH@&HOLIDAY=@RequestParameterEncoded?HOLIDAY@';
    @else@
        document.location.href='holiday.cmvp?AUTH=@Authenticate?AUTH@&HOLIDAY=@RequestParameterEncoded?NEWHOLIDAYID@';
    @endif@
@endif@
//-->
</SCRIPT>

</BODY>
</HTML>
@endif@
@endif@

Site Stats

Snippets: 1791
Codebases: 571