<?php 
$submit_url = $file_name."?page=view_schedule_document&action=$action"; 
$status_submit_url = $file_name."?page=view_schedule_document&name=$name"; 

?>
<div class="box-header" >
	<form action="<?php echo $submit_url;?>" method="post" name="search_form" id="search_form"  enctype="multipart/form-data">
		<div class="col-sm-6">
			<label for="Document" class="control-label">Document</label>
			(doc type jpg/jpeg/png/pdf/doc/docx)
			<input type="file" name="document_name" id="document_name" />
			<input type="hidden" name="hidden_document_name" value="<? echo $document_name;?>">
			<br><p><b>(Click on link to copy to clipboard)</b></p>
		</div>
		<div class="col-sm-2">
			<div style="clear:both;margin-top:23px;"></div>
			<input type="hidden" id="id" name="id" value="<?php echo $id;?>">
			<input type="hidden" id="mail_schedule_id" name="mail_schedule_id" value="<?php echo $mail_schedule_id;?>">
			<input type="hidden" id="query_string" name="query_string" value="<?php echo $query_string;?>">
			<button type="submit" name="add_master_data" class="btn btn-primary"><?=$button_value?></button>
		</div>
	</form>
</div>