/
com/planet_ink/coffee_mud/Abilities/Common/
com/planet_ink/coffee_mud/Abilities/Diseases/
com/planet_ink/coffee_mud/Abilities/Druid/
com/planet_ink/coffee_mud/Abilities/Fighter/
com/planet_ink/coffee_mud/Abilities/Languages/
com/planet_ink/coffee_mud/Abilities/Misc/
com/planet_ink/coffee_mud/Abilities/Prayers/
com/planet_ink/coffee_mud/Abilities/Properties/
com/planet_ink/coffee_mud/Abilities/Skills/
com/planet_ink/coffee_mud/Abilities/Songs/
com/planet_ink/coffee_mud/Abilities/Specializations/
com/planet_ink/coffee_mud/Abilities/Spells/
com/planet_ink/coffee_mud/Abilities/Thief/
com/planet_ink/coffee_mud/Abilities/Traps/
com/planet_ink/coffee_mud/Behaviors/
com/planet_ink/coffee_mud/CharClasses/
com/planet_ink/coffee_mud/CharClasses/interfaces/
com/planet_ink/coffee_mud/Commands/
com/planet_ink/coffee_mud/Commands/interfaces/
com/planet_ink/coffee_mud/Common/
com/planet_ink/coffee_mud/Common/interfaces/
com/planet_ink/coffee_mud/Exits/interfaces/
com/planet_ink/coffee_mud/Items/Armor/
com/planet_ink/coffee_mud/Items/Basic/
com/planet_ink/coffee_mud/Items/BasicTech/
com/planet_ink/coffee_mud/Items/CompTech/
com/planet_ink/coffee_mud/Items/MiscMagic/
com/planet_ink/coffee_mud/Items/Weapons/
com/planet_ink/coffee_mud/Items/interfaces/
com/planet_ink/coffee_mud/Libraries/
com/planet_ink/coffee_mud/Libraries/interfaces/
com/planet_ink/coffee_mud/Locales/
com/planet_ink/coffee_mud/MOBS/
com/planet_ink/coffee_mud/Races/
com/planet_ink/coffee_mud/Races/interfaces/
com/planet_ink/coffee_mud/WebMacros/
com/planet_ink/coffee_mud/WebMacros/interfaces/
com/planet_ink/coffee_mud/core/
com/planet_ink/coffee_mud/core/collections/
com/planet_ink/coffee_mud/core/interfaces/
com/planet_ink/coffee_mud/core/intermud/
com/planet_ink/coffee_mud/core/intermud/i3/
com/planet_ink/coffee_web/server/
com/planet_ink/siplet/applet/
lib/
resources/factions/
resources/fakedb/
resources/progs/autoplayer/
resources/quests/holidays/
web/
web/admin.templates/
web/admin/grinder/
web/admin/images/
web/clan.templates/
web/pub.templates/
web/pub/images/mxp/
web/pub/sounds/
web/pub/textedit/
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
@if?!Authenticate@ @AddFile?/grinder/failedlogin.cmvp@ @else@
@if?!CheckAuthCode?AUTH_CMDRECIPES=true@ @AddFile?/grinder/nopriv.cmvp@ @else@
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<html>
<head>
    <link rel="grinder icon" href="/images/grinder.ico" >
    <title>Recipe Row Editor</title>
    <script language=JavaScript>
    <!--
        function openUp2(named)
        {
            var strFeatures="top=200,left=50,resizeable=no,scrollbars=yes,height=400,width=650,alwaysRaised=yes,dependent=yes";
            w=window.open("/property.cmvp?ABILITY="+named,
                        "Ability",strFeatures, false);
        }
        function EditAffect(ME)
        {
            if(ME.selectedIndex==0)
                ReShow();
        }
        function AddAffect(ME)
        {
            if(ME.selectedIndex>0)
                ReShow();
        }
        function Delete()
        {
            if(confirm('Delete this recipe?! Confirm!'))
            {
                document.RESOURCES.action='recipedo.cmvp';
                document.RESOURCES.FUNCTION.value='DELRECIPE';
                document.RESOURCES.submit();
            }
        }
        function Select(box)
        {
        }
        function EditDone()
        {
		    @if?CheckReqParm?ABILITYRECIPEROW=-1@
                if(confirm('Create this new recipe?'))
            @else@
                if(confirm('Submit your changes to this recipe?'))
            @endif@
                {
                    document.RESOURCES.action='recipedo.cmvp';
                    document.RESOURCES.FUNCTION.value='SAVE';
                    document.RESOURCES.submit();
                }
        }
        function ReShow()
        {
            document.RESOURCES.FUNCTION.value='';
            document.RESOURCES.action='/grinder/recipe.cmvp';
            document.RESOURCES.submit();
        }
        function Cancel()
        {
            window.close();
        }
        function OpenUp(file,named)
        {
            var strFeatures="top=200,left=50,scrollbars=yes,resizeable=no,height=400,width=650,alwaysRaised=yes,dependent=yes";
            w=window.open("/"+file+"?HELPTOPIC="+named,
                        "Help",strFeatures, false);
        }
        function Clicked(action)
        {
            document.RESOURCES.action=action;
            document.RESOURCES.submit();
        }
    //-->
    </script>
</head>
<body BGCOLOR=BLACK>
<FORM  ACCEPT-CHARSET="UTF-8" NAME=RESOURCES TARGET=_top METHOD=POST ACTION="recipe.cmvp">
<INPUT TYPE=HIDDEN NAME=AUTH VALUE="@Authenticate?AUTH@">
<INPUT TYPE=HIDDEN NAME=REPLACE VALUE="">
<INPUT TYPE=HIDDEN NAME=FUNCTION VALUE="">
<INPUT TYPE=HIDDEN NAME=ABILITY VALUE="@RequestParameter?ABILITY@">
<INPUT TYPE=HIDDEN NAME=ABILITYRECIPEROW VALUE="@RequestParameter?ABILITYRECIPEROW@">
<CENTER>
@if?CheckReqParm?ABILITY=@
    Select a common skill to modify.
@else@
@if?CheckReqParm?ABILITYRECIPEROW=@
    Select a row to modify.
@else@
@if?CheckReqParm?FUNCTION=SAVE@
@else@
	@AbilityRecipeData?ROWTABLE&HFONT=COLOR=WHITE><B&FONT=COLOR=WHITE@
@endif@
@endif@
@endif@
<BR>
</CENTER>
<TABLE WIDTH=100% BORDER=0>
<TR>
    @if?!CheckReqParm?ABILITY=@
	    @if?CheckReqParm?ABILITYRECIPEROW=-1@
        <TD ALIGN=CENTER>
	        <FONT COLOR=YELLOW><INPUT TYPE=CHECKBOX NAME=SAVETOVFS VALUE=TRUE @AbilityRecipeData?SAVETOVFS@>Save to VFS</FONT>
	        <BR>
	        <INPUT TYPE=BUTTON NAME=FINISHED VALUE="Create" ONCLICK="EditDone();">
        </TD>
        @else@
        <TD ALIGN=CENTER>
	        <FONT COLOR=YELLOW><INPUT TYPE=CHECKBOX NAME=SAVETOVFS VALUE=TRUE @AbilityRecipeData?SAVETOVFS@>Save to VFS</FONT>
	        <BR>
        	<INPUT TYPE=BUTTON NAME=FINISHED VALUE="Modify" ONCLICK="EditDone();">
        </TD>
        <TD ALIGN=CENTER><INPUT TYPE=BUTTON NAME=DELETE VALUE="Delete" ONCLICK="Delete();"></TD>
        @endif@
        <TD ALIGN=CENTER><INPUT TYPE=BUTTON NAME=CANCEL VALUE="Cancel" ONCLICK="Cancel();"></TD>
    @endif@
</TR>
</TABLE>
</FORM>
</BODY>
</HTML>
@endif@
@endif@