コード例 #1
0
<?php

/** 
 * Copyright: dtbaker 2012
 * Licence: Please check CodeCanyon.net for licence details. 
 * More licence clarification available here:  http://codecanyon.net/wiki/support/legal-terms/licensing-terms/ 
 * Deploy: 9809 f200f46c2a19bb98d112f2d32a8de0c4
 * Envato: 4ffca17e-861e-4921-86c3-8931978c40ca
 * Package Date: 2015-11-25 02:55:20 
 * IP Address: 67.79.165.254
 */
$file_id = (int) $_REQUEST['file_id'];
$file = module_file::get_file($file_id);
?>



<form action="" method="post" enctype="multipart/form-data">
	<input type="hidden" name="_process" value="save_file" />
    <input type="hidden" name="file_id" value="<?php 
echo $file_id;
?>
" />


    <?php 
$fields = array('fields' => array('url' => 'Name'));
module_form::set_required($fields);
module_form::prevent_exit(array('valid_exits' => array('.submit_button')));
?>