<?php
/* Smarty version 3.1.30, created on 2022-08-04 06:33:18
  from "/home/hkfami5/waterapp.cf/FileRun/system/modules/weblinks/sections/public/html/file_request.html" */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.30',
  'unifunc' => 'content_62eb682ed78507_74495809',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '27267e460bdebf9aedea4ba4356ffd6da06b0621' => 
    array (
      0 => '/home/hkfami5/waterapp.cf/FileRun/system/modules/weblinks/sections/public/html/file_request.html',
      1 => 1653016366,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_62eb682ed78507_74495809 (Smarty_Internal_Template $_smarty_tpl) {
?>
<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<meta name="application-name" content="FileRun">
	<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
	<title><?php echo \S::forHTML($_smarty_tpl->tpl_vars['app']->value['settings']['app_title']);?>
 :: <?php $_block_plugin1 = isset($_smarty_tpl->smarty->registered_plugins['block']['t'][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['t'][0] : null;
if (!is_callable($_block_plugin1)) {
throw new SmartyException('block tag \'t\' not callable or registered');
}
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('t', array());
$_block_repeat1=true;
echo $_block_plugin1(array(), null, $_smarty_tpl, $_block_repeat1);
while ($_block_repeat1) {
ob_start();
?>
Submit files<?php $_block_repeat1=false;
echo $_block_plugin1(array(), ob_get_clean(), $_smarty_tpl, $_block_repeat1);
}
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
</title>
	<?php echo smarty_insertFavIconLink(array('absoluteURLs'=>1),$_smarty_tpl);?>

	<?php echo smarty_insertCSSLink(array('basic'=>1,'weblink'=>"upload",'absoluteURLs'=>1),$_smarty_tpl);?>

	<?php echo smarty_insertJSScript(array('scripts'=>array('flow')),$_smarty_tpl);?>

	<?php echo '<script'; ?>
 src="js/upload.js?v=<?php echo \S::forURL($_smarty_tpl->tpl_vars['app']->value['settings']['currentVersion']);?>
"><?php echo '</script'; ?>
>
	<?php echo '<script'; ?>
>
	var URLRoot = '<?php echo $_smarty_tpl->tpl_vars['app']->value['config']['url']['root'];?>
';
	var WebLinkId = '<?php echo $_smarty_tpl->tpl_vars['app']->value['linkInfo']['id_rnd'];?>
';
	var WebLinkPass = <?php if ($_smarty_tpl->tpl_vars['app']->value['linkInfo']['password']) {?>'<?php echo md5($_smarty_tpl->tpl_vars['app']->value['linkInfo']['password']);?>
'<?php } else { ?>false<?php }?>;
	var UploadToPath = '<?php echo \S::safeJS($_smarty_tpl->tpl_vars['app']->value['path']);?>
';
	var UploadChunkSize = <?php echo $_smarty_tpl->tpl_vars['app']->value['chunkSize'];?>
;
	var isFileRequest = true;
	<?php echo '</script'; ?>
>
</head>

<body>

<div class="card" id="choose" style="display:block;">
	<div>
		<img src="<?php echo $_smarty_tpl->tpl_vars['app']->value['publisherInfo']['avatarURL'];?>
" class="avatar" valign="top" />
		<div style="display:inline-block;margin-top:2px;"><?php $_block_plugin1 = isset($_smarty_tpl->smarty->registered_plugins['block']['t'][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['t'][0] : null;
if (!is_callable($_block_plugin1)) {
throw new SmartyException('block tag \'t\' not callable or registered');
}
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('t', array(1=>\S::safeHTML($_smarty_tpl->tpl_vars['app']->value['publisherInfo']['fullName'])));
$_block_repeat1=true;
echo $_block_plugin1(array(1=>\S::safeHTML($_smarty_tpl->tpl_vars['app']->value['publisherInfo']['fullName'])), null, $_smarty_tpl, $_block_repeat1);
while ($_block_repeat1) {
ob_start();
?>
<span class="publisherName">%1</span> is requesting<?php $_block_repeat1=false;
echo $_block_plugin1(array(1=>\S::safeHTML($_smarty_tpl->tpl_vars['app']->value['publisherInfo']['fullName'])), ob_get_clean(), $_smarty_tpl, $_block_repeat1);
}
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
</div>
		<div class="requesting"><?php echo \S::safeHTML($_smarty_tpl->tpl_vars['app']->value['folderName']);?>
</div>
		<div class="tip">
			<?php $_block_plugin1 = isset($_smarty_tpl->smarty->registered_plugins['block']['t'][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['t'][0] : null;
if (!is_callable($_block_plugin1)) {
throw new SmartyException('block tag \'t\' not callable or registered');
}
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('t', array(1=>\S::safeHTML($_smarty_tpl->tpl_vars['app']->value['publisherInfo']['fullName'])));
$_block_repeat1=true;
echo $_block_plugin1(array(1=>\S::safeHTML($_smarty_tpl->tpl_vars['app']->value['publisherInfo']['fullName'])), null, $_smarty_tpl, $_block_repeat1);
while ($_block_repeat1) {
ob_start();
?>
Only %1 will see the files you upload.<?php $_block_repeat1=false;
echo $_block_plugin1(array(1=>\S::safeHTML($_smarty_tpl->tpl_vars['app']->value['publisherInfo']['fullName'])), ob_get_clean(), $_smarty_tpl, $_block_repeat1);
}
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>

		</div>
		<div style="height:20px;"></div>
		<a href="javascript:FR.selectFiles()" id="upbtn" class="actionBtn"><?php $_block_plugin1 = isset($_smarty_tpl->smarty->registered_plugins['block']['t'][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['t'][0] : null;
if (!is_callable($_block_plugin1)) {
throw new SmartyException('block tag \'t\' not callable or registered');
}
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('t', array());
$_block_repeat1=true;
echo $_block_plugin1(array(), null, $_smarty_tpl, $_block_repeat1);
while ($_block_repeat1) {
ob_start();
?>
Choose files<?php $_block_repeat1=false;
echo $_block_plugin1(array(), ob_get_clean(), $_smarty_tpl, $_block_repeat1);
}
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
</a>
		<div class="tip">(<?php $_block_plugin1 = isset($_smarty_tpl->smarty->registered_plugins['block']['t'][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['t'][0] : null;
if (!is_callable($_block_plugin1)) {
throw new SmartyException('block tag \'t\' not callable or registered');
}
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('t', array());
$_block_repeat1=true;
echo $_block_plugin1(array(), null, $_smarty_tpl, $_block_repeat1);
while ($_block_repeat1) {
ob_start();
?>
Or drag them from your computer onto this page.<?php $_block_repeat1=false;
echo $_block_plugin1(array(), ob_get_clean(), $_smarty_tpl, $_block_repeat1);
}
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
)</div>
	</div>
</div>

<div class="card" id="giveName" style="display:none;">
	<form name="startUploadFrm" action="javascript:FR.startUpload()">
	<?php $_block_plugin1 = isset($_smarty_tpl->smarty->registered_plugins['block']['t'][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['t'][0] : null;
if (!is_callable($_block_plugin1)) {
throw new SmartyException('block tag \'t\' not callable or registered');
}
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('t', array());
$_block_repeat1=true;
echo $_block_plugin1(array(), null, $_smarty_tpl, $_block_repeat1);
while ($_block_repeat1) {
ob_start();
?>
Who is sending the files?<?php $_block_repeat1=false;
echo $_block_plugin1(array(), ob_get_clean(), $_smarty_tpl, $_block_repeat1);
}
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>

	<br>
	<input type="text" id="senderName" placeholder="<?php $_block_plugin1 = isset($_smarty_tpl->smarty->registered_plugins['block']['t'][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['t'][0] : null;
if (!is_callable($_block_plugin1)) {
throw new SmartyException('block tag \'t\' not callable or registered');
}
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('t', array());
$_block_repeat1=true;
echo $_block_plugin1(array(), null, $_smarty_tpl, $_block_repeat1);
while ($_block_repeat1) {
ob_start();
?>
Type your name here<?php $_block_repeat1=false;
echo $_block_plugin1(array(), ob_get_clean(), $_smarty_tpl, $_block_repeat1);
}
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
" />
	<br>
	<a href="javascript:document.startUploadFrm.submit()" id="upbtn" class="actionBtn"><?php $_block_plugin1 = isset($_smarty_tpl->smarty->registered_plugins['block']['t'][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['t'][0] : null;
if (!is_callable($_block_plugin1)) {
throw new SmartyException('block tag \'t\' not callable or registered');
}
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('t', array());
$_block_repeat1=true;
echo $_block_plugin1(array(), null, $_smarty_tpl, $_block_repeat1);
while ($_block_repeat1) {
ob_start();
?>
Start upload<?php $_block_repeat1=false;
echo $_block_plugin1(array(), ob_get_clean(), $_smarty_tpl, $_block_repeat1);
}
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
</a>
	</form>
</div>

<div class="card" id="upStatus" style="display:none;"></div>

<div class="card" id="success" style="display:none;">
	<div class="msg"><?php $_block_plugin1 = isset($_smarty_tpl->smarty->registered_plugins['block']['t'][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['t'][0] : null;
if (!is_callable($_block_plugin1)) {
throw new SmartyException('block tag \'t\' not callable or registered');
}
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('t', array());
$_block_repeat1=true;
echo $_block_plugin1(array(), null, $_smarty_tpl, $_block_repeat1);
while ($_block_repeat1) {
ob_start();
?>
The files have been successfully sent!<?php $_block_repeat1=false;
echo $_block_plugin1(array(), ob_get_clean(), $_smarty_tpl, $_block_repeat1);
}
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
</div>
	<div style="height:20px;"></div>
	<a href="javascript:FR.reset()" class="actionBtn"><?php $_block_plugin1 = isset($_smarty_tpl->smarty->registered_plugins['block']['t'][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['t'][0] : null;
if (!is_callable($_block_plugin1)) {
throw new SmartyException('block tag \'t\' not callable or registered');
}
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('t', array());
$_block_repeat1=true;
echo $_block_plugin1(array(), null, $_smarty_tpl, $_block_repeat1);
while ($_block_repeat1) {
ob_start();
?>
Upload more<?php $_block_repeat1=false;
echo $_block_plugin1(array(), ob_get_clean(), $_smarty_tpl, $_block_repeat1);
}
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
</a>
</div>

<?php echo '<script'; ?>
>
	FR.initUploader();
<?php echo '</script'; ?>
>

<div style="display:none">
<?php if ($_smarty_tpl->tpl_vars['app']->value['settings']['tracker_codes']) {
echo $_smarty_tpl->tpl_vars['app']->value['settings']['tracker_codes'];
}?>
</div><?php }
}
