[
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/Waterliving/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"; $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'].""; $about_img2=$row['about_img2']==NULL?"http://".$_SERVER['HTTP_HOST']."$dir1/product_img/noimg.png":"http://" . $_SERVER['SERVER_NAME']."$dir1/product_img/".$row['about_img2'].""; $content12=$row['content12']==NULL?'NOT ADDED':$row['content12']; $content21=$row['content21']==NULL?'NOT ADDED':$row['content21']; $chitravathi=$row['chitravathi']==NULL?'NOT ADDED':$row['chitravathi']; $effects=$row['effects']==NULL?'NOT ADDED':$row['effects']; $goals=$row['goals']==NULL?'NOT ADDED':$row['goals']; $solutions=$row['solutions']==NULL?'NOT ADDED':$row['solutions']; $measurable_outcome=$row['measurable_outcome']==NULL?'NOT ADDED':$row['measurable_outcome']; $pdf=$row['pdf']==NULL?"http://".$_SERVER['HTTP_HOST']."$dir1/product_img/noimg.png":"http://" . $_SERVER['SERVER_NAME']."$dir1/product_img/".$row['pdf'].""; $project_title1=$row['project_title1']==NULL?'NOT ADDED':$row['project_title1']; $project_content1=$row['project_content1']==NULL?'NOT ADDED':$row['project_content1']; $project_title2=$row['project_title2']==NULL?'NOT ADDED':$row['project_title2']; $project_content2=$row['project_content2']==NULL?'NOT ADDED':$row['project_content2']; $project_title3=$row['project_title3']==NULL?'NOT ADDED':$row['project_title3']; $project_content3=$row['project_content3']==NULL?'NOT ADDED':$row['project_content3']; $project_title4=$row['project_title4']==NULL?'NOT ADDED':$row['project_title4']; $project_content4=$row['project_content4']==NULL?'NOT ADDED':$row['project_content4']; $project_title5=$row['project_title5']==NULL?'NOT ADDED':$row['project_title5']; $project_content5=$row['project_content5']==NULL?'NOT ADDED':$row['project_content5']; $project_img=$row['project_img']==NULL?"http://".$_SERVER['HTTP_HOST']."$dir1/product_img/noimg.png":"http://" . $_SERVER['SERVER_NAME']."$dir1/product_img/".$row['project_img'].""; $project_pdf=$row['project_pdf']==NULL?"http://".$_SERVER['HTTP_HOST']."$dir1/product_img/noimg.png":"http://" . $_SERVER['SERVER_NAME']."$dir1/product_img/".$row['project_pdf'].""; $home_title1=$row['home_title1']==NULL?'NOT ADDED':$row['home_title1']; $home_content1=$row['home_content1']==NULL?'NOT ADDED':$row['home_content1']; $chitravathi_title1=$row['chitravathi_title1']==NULL?'NOT ADDED':$row['chitravathi_title1']; $chitra_content1=$row['chitra_content1']==NULL?'NOT ADDED':$row['chitra_content1']; $chitravathi_title2=$row['chitravathi_title2']==NULL?'NOT ADDED':$row['chitravathi_title2']; $chitra_content2=$row['chitra_content2']==NULL?'NOT ADDED':$row['chitra_content2']; $chitravathi_title3=$row['chitravathi_title3']==NULL?'NOT ADDED':$row['chitravathi_title3']; $chitra_content3=$row['chitra_content3']==NULL?'NOT ADDED':$row['chitra_content3']; $chitravathi_title4=$row['chitravathi_title4']==NULL?'NOT ADDED':$row['chitravathi_title4']; $chitra_content4=$row['chitra_content4']==NULL?'NOT ADDED':$row['chitra_content4']; $chitravathi_title5=$row['chitravathi_title5']==NULL?'NOT ADDED':$row['chitravathi_title5']; $chitra_content5=$row['chitra_content5']==NULL?'NOT ADDED':$row['chitra_content5']; $home_img=$row['home_img']==NULL?"http://".$_SERVER['HTTP_HOST']."$dir1/product_img/noimg.png":"http://" . $_SERVER['SERVER_NAME']."$dir1/product_img/".$row['home_img'].""; $left_img1=$row['left_img1']==NULL?"http://".$_SERVER['HTTP_HOST']."$dir1/product_img/noimg.png":"http://" . $_SERVER['SERVER_NAME']."$dir1/product_img/".$row['left_img1'].""; $left_img2=$row['left_img2']==NULL?"http://".$_SERVER['HTTP_HOST']."$dir1/product_img/noimg.png":"http://" . $_SERVER['SERVER_NAME']."$dir1/product_img/".$row['left_img2'].""; $right_img1=$row['right_img1']==NULL?"http://".$_SERVER['HTTP_HOST']."$dir1/product_img/noimg.png":"http://" . $_SERVER['SERVER_NAME']."$dir1/product_img/".$row['right_img1'].""; } $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.08 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