[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: edit_site_theme.php
File is not writable. Editing disabled.
<?php ////////////////////////////////////////////////////////////// //=========================================================== // hf_theme.php //=========================================================== // SOFTACULOUS // Version : 1.1 // Inspired by the DESIRE to be the BEST OF ALL // ---------------------------------------------------------- // Started by: Alons // Date: 10th Jan 2009 // Time: 21:00 hrs // Site: http://www.softaculous.com/ (SOFTACULOUS) // ---------------------------------------------------------- // Please Read the Terms of use at http://www.softaculous.com // ---------------------------------------------------------- //=========================================================== // (c)Softaculous Inc. //=========================================================== ////////////////////////////////////////////////////////////// if(!defined('SITEPAD') && !defined('SITEMUSH')){ die('Hacking Attempt'); } function edit_site_theme(){ global $globals, $l, $theme, $nupanel, $error, $user, $themes, $done, $langs, $insid; softheader($l['title_edit_site']); echo ' <div class="bg mt-2"> <form accept-charset="'.$globals['charset'].'" name="edit_site" method="post" action="" id="edit_site" class="form-horizontal sitepad-form"> <div class="row sai_main_head" style="width:100%;" align="center"> <div class="col-sm-6 col-xs-6" style="text-align:right;"> <h3><i class="fa sai-pen" style="color:#00A0D2;"></i></h3> </div> <div class="col-sm-6 col-xs-6" style="text-align:left;"><h3>'.$l['title_edit_site'].'</h3></div> </div> <hr/>'; error_handle($error, '100%'); if(empty($insid) || !isset($user['ins'][$insid])){ echo '<div class="alert alert-info" style="padding:10px;font-size:15px;"><center><i class="sai sai-times"></i> '.$l['no_site_on_ins'].'</div></center>'; return false; } $site = $user['ins'][$insid]; if(!empty($done)){ echo '<div class="alert alert-success" style="padding:10px;font-size:15px;"><center><i class="sai sai-success"></i> '.$done['msg'].'</center></div>'; } echo' <div class="row justify-content-center py-2"> <div class="col-sm-8"> <div class="row py-2"> <div class="col-sm-4"> <label for="site_address" class="sai_head">'.$l['site_address'].'</label> <span class="sai_exp">'.$l['site_address_exp'].'</span> </div> <div class="col-sm-8"> <div class="row no-gutters"> <div class="col-sm-3"> <select name="protocol" class="form-control">'; foreach($globals['protocols'] as $k => $v){ echo '<option value="'.$k.'" '.POSTselect('protocol', $k, ($site['protocol'] == $k)) .'>'.$v.'</option>'; } echo ' </select> </div> <div class="col-sm-5"> <select name="domain" class="form-control" disabled>'; foreach($nupanel->domainroots as $k => $v){ echo '<option value="'.$k.'"'.(trim($site['domain']) == $k ? 'selected="selected"' : '').'>'.$k.'</option>'; } echo ' </select> </div> <div class="col-sm-4"> <input type="text" name="subdir" value="'.$site['subdir'].'" class="form-control" disabled> </div> </div> </div> </div> <div class="row py-2"> <div class="col-sm-4"> <label for="site_title" class="sai_head">'.$l['site_title'].'</label> <span class="sai_exp">'.$l['site_title_exp'].'</span> </div> <div class="col-sm-8"> <input type="text" name="title" value="'.POSTval('title', $site['title']).'" class="form-control" placeholder="'.$l['enter_site_title'].'"> </div> </div> <div class="row py-2"> <div class="col-sm-4"> <label for="site_email" class="sai_head">'.$l['site_email'].'</label> <span class="sai_exp">'.$l['site_email_exp'].'</span> </div> <div class="col-sm-8"> <input type="text" name="email" value="'.POSTval('email', $site['email']).'" class="form-control" placeholder="'.$l['enter_email'].'"> </div> </div> <div class="row py-2"> <div class="col-sm-4"> <label for="language" class="sai_head">'.$l['choose_lang'].'</label> <span class="sai_exp">'.$l['choose_lang_exp'].'</span> </div> <div class="col-sm-8"> <select name="language" id="language" class="form-control">'; foreach($langs as $k => $v){ echo '<option value="'.$k.'" '.(empty($_POST['language']) && (empty($user['language']) ? $globals['language'] : $user['language']) == $v ? 'selected="selected"' : (trim($_POST['language']) == $k ? 'selected="selected"' : '') ).'>'._ucfirst($v).'</option>'; } echo '</select> </div> </div> <br/> <center><input type="submit" class="btn btn-primary" name="save" value="'.$l['save'].'" /><br /><img id="waiting" src="'.$theme['images'].'progress.gif" style="display:none"></center> </div> </div> </form> <br />'; echo ' </div>'; softfooter(); }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server05.hostinghome.co.in
Server IP: 192.168.74.40
PHP Version: 7.4.33
Server Software: Apache
System: Linux server05.hostinghome.co.in 3.10.0-962.3.2.lve1.5.81.el7.x86_64 #1 SMP Wed May 31 10:36:47 UTC 2023 x86_64
HDD Total: 1.95 TB
HDD Free: 691.31 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Disabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: itsweb
User ID (UID): 1619
Group ID (GID): 1621
Script Owner UID: 1619
Current Dir Owner: N/A