ÿØÿà JFIF ÿÛ „ ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /var/www/html/vidoe.top/code/ |
<?php class test{ function test() { global $CORE; switch ($CORE->input['code']) { default : $this -> goMenu(); break; case 'formtool' : $this->goFormTool(); break; case 'check_captcha' : $this->goCheckCaptcha(); break; case 'newletter' : $this->goNewletter(); break; } } function goMenu(){ global $DB,$func,$smarty; $q = $DB->query("SELECT * FROM gtdesign_menu WHERE show_top_menu='1' ORDER BY `pos`"); while($r = $DB->fetch_row($q)){ $list[] = $r; } $menu = $func->show_menu($list,0,''); $smarty->assign('menu',$menu); } function goNewletter(){ global $CORE,$DB; $email = $CORE->input['email']; $row_check = $DB->fetch_row($DB->query("SELECT * FROM gtdesign_maillist WHERE email='$email' LIMIT 1")); if($row_check){ $show = 1; echo $show; exit(); }else{ $DB->query("INSERT INTO `gtdesign_maillist` (`email` ,`joined` ,`ip_address` ,`regcode` ,`notes`)VALUES ('$email', '".time()."', '".$CORE->ip."','' , '');"); echo 2; exit(); } } function goCheckCaptcha(){ global $CORE; require("include/captcha-secureimage/securimage.php"); $captcha = trim($_POST['captcha']); $img = new Securimage(); if(!$img->check($captcha)) { $err = 1; }else{ $err = 2; } echo $err; exit(); } } $run = new test(); ?>