| Server IP : 10.200.247.200 / Your IP : 216.73.217.19 Web Server : Apache System : Linux synergy-usa-sites 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64 User : jeremy ( 1001) PHP Version : 8.4.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/coaching_sites/usbusinessfundingsolutions.com/old_version/ |
Upload File : |
<?php
session_start();
$errors = '';
if(!empty($_POST)) {
if(empty($_POST['id'])) {
$errors .= ($errors=='') ? 'Please enter the Presentation ID.' : '<br/>Please enter the Presentation ID.';
}
if($errors=='') {
$_SESSION['presentation_id'] = $_POST['id'];
unset($_SESSION['presenter']);
require_once($_SERVER['DOCUMENT_ROOT'].'/inc/dbconfig.php');
$db = db_connect('usbfs_chat');
$res = $db->get_results("SELECT * FROM presentation WHERE id='".mysql_real_escape_string($_POST['id'])."'");
if(empty($res)) {
$errors .= ($errors=='') ? 'Invalid Presentation ID.' : '<br/>Invalid Presentation ID.';
} else {
$_SESSION['presentation_type'] = $res[0]->presentation_type;
if(!empty($res[0]->site_code) && !empty($res[0]->client_id)) {
$cres = $db->get_results("SELECT first,last FROM lc2{$res[0]->site_code}_lc.lc_reseller WHERE id='".mysql_real_escape_string($res[0]->client_id)."'");
$_POST['name'] = $cres[0]->first.' '.$cres[0]->last;
$_SESSION['username'] = $cres[0]->first.' '.$cres[0]->last;
}
$db->query("REPLACE INTO users (username,presentation_id) VALUES('".mysql_real_escape_string($_POST['name'])."','".mysql_real_escape_string($_POST['id'])."');");
mail('heinz57@gmail.com','USBFS Webinar Presentation '.date('m/d/Y g:i a'),$_POST['name'].' just logged in for a presentation by '.$res[0]->presenter.'. Presentation ID: '.$_POST['id'],"From:NoReply@surfcrm.com\r\n");
header("Location: webinar.php");
die();
}
}
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>U.S. Business Funding Solutions - Webinar</title>
<link href="styles.css" type="text/css" rel="stylesheet" />
<link href="sidebar.css" type="text/css" rel="stylesheet" />
<link href="js/jquery.mCustomScrollbar.css" type="text/css" rel="stylesheet" />
</head>
<body>
<div id="header">
<div id="sky">
<div class="size" style="height:111px">
<div id="logo" style="margin-left:54px;"></div>
</div>
<div id="nav"></div>
<div class="size" style="background:white;padding-bottom:20px;">
<table cellpadding="0" cellspacing="0" border="0" id="screen" class="size">
<tr>
<td class="tl"></td>
<td class="tp" colspan="2"></td>
</tr>
<tr>
<td class="le" rowspan="2"></td>
<td class="in" rowspan="2" style="border:none;">
<form name="questions" method="post" action="webinar_register.php" style="background-color:#fdf5e7; width:400px; height:200px; border:2px dashed #023376; padding:30px; margin-left:250px">
<center>
<h1><strong>Fill out the form below to View the Presentation</strong></h1><br /><br />
<?php if($errors!='') {?>
<div class="error"><?= $errors;?></div>
<?php }?>
<table>
<tr>
<td align="right">Presentation ID:</td>
<td><input type="text" name="id" value="<?= $_POST['id'];?>" /></td>
</tr>
</table>
<input type="submit" class="signup" onmouseover="this.style.backgroundPosition='bottom left'" onmouseout="this.style.backgroundPosition='top left'" value="" />
</center>
</form>
</td>
<td class="ri" height="480px"></td>
</tr>
<tr>
<td class="br" align="center"></td>
</tr>
</table>
</div>
</div>
</div>
</body>
</html>