-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcaptcha.php
43 lines (30 loc) · 918 Bytes
/
captcha.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
<?php
ob_start();
include("extended-config.inc.php");
include($GLOBALS['admin_folder']."/config.inc.php");
includeClass("Template");
includeClass("Form");
$template=new Template();
$template->loadTemplate("publisher-templates/captcha.tpl.html");
if(isset($_GET['Flsids']))
{
$flag_flsids=0;
$template->setValue("{FLSIDS}",$Flsids);
}
else
{
$flag_flsids=1;
$template->setValue("{AID}",$aid);
$template->setValue("{KID}",$kid);
$template->setValue("{VID}",$_GET['vid']);
$template->setValue("{BID}",$bid);
$template->setValue("{DIRECT_STATUS}",$_GET['direct_status']);
$template->setValue("{VIP}",$_GET['vip']);
$template->setValue("{BS}",$_GET['bs']);
$template->setValue("{PID}",$_GET['pid']);
}
$template->setValue("{FID}",$fid);
$template->setValue("{PAGEWIDTH}",$page_width);
$template->setValue("{ENCODING}",$ad_display_char_encoding);
eval('?>'.$template->getPage().'<?php ');
?>