forked from mfscripts/Yetishare-File-Hosting-Script-Free
/
fileDownloadCaptcha.inc.php
74 lines (65 loc) · 2.92 KB
/
fileDownloadCaptcha.inc.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<?php
/* setup includes */
require_once('includes/master.inc.php');
if (!isset($file))
{
die("Error: No file found.");
}
require_once('_header.php');
?>
<?php
if (isErrors())
{
echo outputErrors();
}
?>
<div class="contentPageWrapper">
<div class="pageSectionMainFull ui-corner-all">
<div class="pageSectionMainInternal">
<!-- top ads -->
<div class="metaRedirectWrapperTopAds">
<?php echo SITE_CONFIG_ADVERT_DELAYED_REDIRECT_TOP; ?>
</div>
<div class="captchaPageTable">
<form method="POST" action="<?php echo $file->getFullLongUrl(); ?>" autocomplete="off" id="form-join">
<table>
<tbody>
<tr>
<td>
<div style="padding: 14px;">
<div style="float: right;">
<?php
echo recaptcha_get_html(SITE_CONFIG_CAPTCHA_PUBLIC_KEY);
?>
<div class="clear"><!-- --></div>
</div>
<div style="text-align:left;">
<strong><?php echo $file->originalFilename; ?> (<?php echo formatSize($file->fileSize); ?>)</strong>
</div>
<div style="font-size: 12px; text-align:left; padding-top: 14px;">
<?php echo t("in_order_to_prevent_abuse_captcha_intro", "In order to prevent abuse of this service, please copy the words into the text box on the right."); ?>
</div>
<div style="font-size: 12px; text-align:left; padding-top: 14px;">
<input name="submit" type="submit" value="<?php echo t('continue', 'continue'); ?>" class="submitInput"/>
<input type="hidden" name="submitted" value="1"/>
<input type="hidden" name="d" value="1"/>
</div>
<div class="clear"><!-- --></div>
</div>
</td>
</tr>
</tbody>
</table>
</form>
<div class="clear"><!-- --></div>
</div>
<!-- bottom ads -->
<div class="metaRedirectWrapperBottomAds">
<?php echo SITE_CONFIG_ADVERT_DELAYED_REDIRECT_BOTTOM; ?>
</div>
</div>
</div>
</div>
<?php
require_once('_footer.php');
?>