<MIVA STANDARDOUTPUTLEVEL = "text, html, compresswhitespace">

<IF version LT 3.9027>
	<HEAD><TITLE>Miva Engine Version Mismatch</TITLE></HEAD>
	<BODY BGCOLOR = "#ffffff">
	<FONT FACE = "Arial, Helvetica" SIZE = "-1">
	Miva Merchant requires the Miva Engine, version <B>3.9027</B> or higher.<BR>
	You are running version <B><EVAL version></B><BR>
	<BR>
	Please contact <A HREF = "http://www.miva.com">Miva Corporation</A> for upgrade information.
	</FONT>
	</BODY>

	<EXIT>
</IF>

<MvCOMMENT>
|
| Miva Merchant v4.x
|
| This file and the source codes contained herein are the property
| of Miva Corporation.  Use of this file is restricted to the specific
| terms and conditions in the License Agreement associated with this
| file.  Distribution of this file or portions of this file for uses
| not covered by the License Agreement is not allowed without a written
| agreement signed by an officer of Miva Corporation.
|
| Copyright 1998-2001 Miva Corporation.  All rights reserved.
| http://www.miva.com/
|
| Miva Merchant Administration Stub
|
</MvCOMMENT>

<MvDO FILE = "4.12/admin.mv">


<MvFUNCTION NAME = "Miva_ProcessFileUpload" PARAMETERS = "field, filename, status, tempfile, content_type, size" STANDARDOUTPUTLEVEL = "">
	<MvDO FILE = "4.12/admin.mv" NAME = "l.return" VALUE = "{ Miva_ProcessFileUpload( l.field, l.filename, l.status, l.tempfile, l.content_type, l.size )}">
	<MvFUNCTIONRETURN VALUE = "{ l.return }">
</MvFUNCTION>

<MvFUNCTION NAME = "Miva_ValidateFileUpload" PARAMETERS = "field, filename, content_type" STANDARDOUTPUTLEVEL = "">
	<MvDO FILE = "4.12/admin.mv" NAME = "l.return" VALUE = "{ Miva_ValidateFileUpload( l.field, l.filename, l.content_type )}">
	<MvFUNCTIONRETURN VALUE = "{ l.return }">
</MvFUNCTION>

