[
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']; $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("/corporate1/test"); $company_logo=$row['logo']==NULL?"https://".$_SERVER['HTTP_HOST']."$dir1/product_img/noimg.png":"https://" . $_SERVER['SERVER_NAME']."$dir1/product_img/".$row['logo'].""; $favicon=$row['favicon']==NULL?"https://".$_SERVER['HTTP_HOST']."$dir1/product_img/noimg.png":"https://" . $_SERVER['SERVER_NAME']."$dir1/product_img/".$row['favicon'].""; $pic_img="https://".$_SERVER['HTTP_HOST']."$dir1/product_img"; $about=$row['about']==NULL?'':$row['about']; $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']; $merchant_key=$row['merchant_key']; $merchant_salt=$row['merchant_salt']; $signin_title=$row['signin_title']==NULL?'NOT ADDED':$row['signin_title']; $background_img=$row['background_img']==NULL?"https://".$_SERVER['HTTP_HOST']."$dir1/product_img/noimg.png":"https://" . $_SERVER['SERVER_NAME']."$dir1/product_img/".$row['background_img'].""; $paytm_img=$row['paytm_img']==NULL?"https://".$_SERVER['HTTP_HOST']."$dir1/product_img/noimg.png":"https://" . $_SERVER['SERVER_NAME']."$dir1/product_img/".$row['paytm_img'].""; $phonepay_img=$row['phonepay_img']==NULL?"https://".$_SERVER['HTTP_HOST']."$dir1/product_img/noimg.png":"https://" . $_SERVER['SERVER_NAME']."$dir1/product_img/".$row['phonepay_img'].""; $gpay_img=$row['gpay_img']==NULL?"https://".$_SERVER['HTTP_HOST']."$dir1/product_img/noimg.png":"https://" . $_SERVER['SERVER_NAME']."$dir1/product_img/".$row['gpay_img'].""; $partner=$row['partner']; $brochure=$row['brochure']==NULL?"https://".$_SERVER['HTTP_HOST']."$dir1/product_img/noimg.png":"https://" . $_SERVER['SERVER_NAME']."$dir1/product_img/".$row['brochure'].""; $left_img=$row['left_img']==NULL?"https://".$_SERVER['HTTP_HOST']."$dir1/product_img/noimg.png":"https://" . $_SERVER['SERVER_NAME']."$dir1/product_img/".$row['left_img'].""; $left_content=$row['left_content']; $content_link=$row['content_link']; $choose_us_title1=$row['choose_us_title1']; $choose_us_content1=$row['choose_us_content1']; $choose_us_title2=$row['choose_us_title2']; $choose_us_content2=$row['choose_us_content2']; $choose_us_title3=$row['choose_us_title3']; $choose_us_content3=$row['choose_us_content3']; $choose_us_logo1=$row['choose_us_logo1']==NULL?"https://".$_SERVER['HTTP_HOST']."$dir1/product_img/noimg.png":"https://" . $_SERVER['SERVER_NAME']."$dir1/product_img/".$row['choose_us_logo1'].""; $choose_us_logo2=$row['choose_us_logo2']==NULL?"https://".$_SERVER['HTTP_HOST']."$dir1/product_img/noimg.png":"https://" . $_SERVER['SERVER_NAME']."$dir1/product_img/".$row['choose_us_logo2'].""; $choose_us_logo3=$row['choose_us_logo3']==NULL?"https://".$_SERVER['HTTP_HOST']."$dir1/product_img/noimg.png":"https://" . $_SERVER['SERVER_NAME']."$dir1/product_img/".$row['choose_us_logo3'].""; $under_gallery_title=$row['under_gallery_title']; $under_gallery_content=$row['under_gallery_content']; $under_gallery_link=$row['under_gallery_link']; } ?>
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: 692.22 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