Пример #1
0
					<form onsubmit="return valid_extension();" name="form_expImp" method="post" action="" enctype="multipart/form-data">
						<?php 
wp_nonce_field($mpiObj->key);
?>
						<div>					
							<input class="mpi_left" type="file" name="mpi_expfileUp" size="40" />
							<input class="button button-primary mpi_button" type="submit" name="mpi_expfileImp" value="<?php 
_e('Install & Activate plugins &raquo;', 'mpi');
?>
" />
							<div class="mpi_clear"></div>
						</div>
					</form>
					<?php 
if (isset($_POST['mpi_expfileImp']) && $_FILES['mpi_expfileUp']['name'] != "") {
    $mpiObj->mpi_app_expFileUpload();
}
?>
				</div>
			</div>		
		</div>
		<!-- //Install Plugins Using Exported File -->
		
		<!-- Download Exported Files -->
		<div id="poststuff" class="mpi-meta-box">
			<div class="postbox">
				<div class="handlediv" title="Click to toggle"><br/></div>
				<h3 class="hndle"><span><?php 
_e('Downloads The Exported Files Here :', 'mpi');
?>
</span></h3>