AnonSec Shell
Server IP : 172.67.216.113  /  Your IP : 104.23.243.32   [ Reverse IP ]
Web Server : Apache
System : Linux cpanel01wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.59.el6.x86_64 #1 SMP Thu Dec 6 05:11:00 EST 2018 x86_64
User : cp648411 ( 1354)
PHP Version : 7.2.34
Disable Function : NONE
Domains : 0 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home2/cp648411/public_html/simded.com/article/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home2/cp648411/public_html/simded.com/article/detail_v_old.php
<?php
include('../include/class.php');
include('../include/sql_injection_get.php');

$list_ar = array('table'=>'article','where'=>'id = "'.$_GET['id'].'"');
$view_ar = $view_db->view($list_ar);
$row_ar = $view_db->q($view_ar);

$og_title = $row_ar['title'];
$og_description = $util_class->sub_str($row_ar['detail'],200);
if($row_ar['image'] <> '')
{
	$og_image = 'http://www.simded.com/redbag/article/'.$row_ar['image'];
	$og_image2 = 'http://www.simded.com/redbag/article/thumb/'.$row_ar['image'];
}
?>
<?php
	include('../include/header2.php');
	include('../themes/menu.php');
?>
<?php
$view = $User_db->view_article($_GET['id'],$_SERVER["REMOTE_ADDR"],$_SERVER['HTTP_USER_AGENT']);
?>

    <div class="container">
      <div class="row mt-3">
        <div class="col-md-12">
          <div >
            <div class="row">
                <div class="col-md-12">
                    <p class="HeadTextL mb-0">บทความ</p>
                </div>
            </div>

            <div class="row">
                <div class="col-md-6">
                    <p class="mb-0">วันที่ <?php echo  $util_class->day_m_th_2($row_ar['up_date']); ?></p>
                </div>
            </div>


            <div class="col-md-12" style="margin-top:15px;">
                <div class="row">
                  <div class="col-md-12">
                    <div class="DivprofileR-Head"> หัวข้อ : <?php echo $row_ar['title']; ?></div>
                    <div class="DivprofileR-Detail">

                    	<div style="border-bottom:1px solid #c8ac52;margin:0px 5px 20px 5px;padding-bottom:20px;">
                        	<div class="row">
                              <div class="col-md-2" align="left" style="padding-top:15px;">
                              	<p style="font-size:22px;"> บทความ </p>
                              </div>
                              <div class="col-md-10">
                              	<div class="row">
									<?php
                                    $list_sh = array('table'=>'shop','where'=>'id = "'.$row_ar['id_shop'].'"');
                                    $view_sh = $view_db->view($list_sh);
                                    $row_sh = $view_db->q($view_sh);

                                    $img =  imgprofile_shop($row_sh['image_profile'],'66');
                                    $txt_phonenumber =  $Phone_class->phonecomma($row_sh['phone']);
                                    $countber =  $util_class->countber($row_ar['id_shop']);
                                    ?>
                                  <div class="col-xs-12 col-md-8"  style="padding:0px;padding-top:5px;">
                                  		<div class="col-xs-3 col-md-2" style="text-align:left;padding:0px;" align="left">
                                           <?php echo $img; ?>
                                        </div>
                                        <div class="col-xs-9 col-md-10" align="left">
                                        <?php
											$urlshop =  $util_class->ck_expired_shop($row_sh['id']);
										?>
                                            <div style="font-size:20px;"><a href="<?php echo $urlshop;?>" style="color:#333;"> <?php echo $row_sh['nameShop']?> </a><span style="color:#00a651;">(<?php echo number_format($countber);?>)</span> </div>
                                            <div>สั่งซื้อเบอร์ติดต่อ <?php echo $txt_phonenumber; ?> </div>
                                        </div>

                                  </div>
                                   <div class="col-xs-12 col-md-4" align="right"  style="padding:0px;padding-top:10px;padding-right:15px;">
                                    <a href="<?php echo $urlshop;?>" class="btn btn-primary btn_read">ดูเบอร์ของร้านนี้</a>
                                   </div>
                                 </div>
                              </div>
                            </div>
                    	</div>


                    	<?php
                        if($row_ar['image'] <> '')
						{
							?>
                            <div align="center" style="margin-bottom:10px;">
                            	<img src="../redbag/file_manage/<?php echo $row_ar['image']; ?>" class="img-responsive" />
                            </div>
                            <?php
						}
						?>
                        <span style="font-size:14px;"><?php echo $row_ar['detail']; ?></span>
                        <div style="border-top:1px solid #c8ac52;margin:20px 5px 0px 5px;font-size:12px;">
                        	<div class="row">
                              <div class="col-md-5" align="left" style="padding-top:15px;">
                              	<img src="../images/icon_eye.png" width="40" height="25" /> &nbsp; <?php echo number_format($view);?> view &nbsp; &nbsp;
                              	<img src="../images/icon_time.png" width="29" height="25" /> &nbsp;<?php echo  $util_class->timedmy_th($row_ar['up_date']); ?>
                              </div>
                              <div class="col-md-7">
                              	<div class="row">
                                  <div class="col-xs-12"  style="padding:0px;padding-top:5px;padding-right:15px;" align="right">
                                        <div  style="margin-top:15px">
                                                <a class="twitter-share-button" href="https://twitter.com/intent/tweet"> Tweet</a>
                                                <div class="g-plus" data-action="share" data-href="<?php echo $actual_link; ?>"></div>
                                                <div class="fb-share-button" style="top:-5px;" data-href="<?php echo $actual_link; ?>" data-layout="button_count"
                                                data-size="small" data-mobile-iframe="true"><a class="fb-xfbml-parse-ignore" target="_blank"
                                                href="https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2F<?php echo $domain;?>%2F&amp;src=sdkpreparse">แชร์</a>
                                                </div>

                                        </div>

                                   </div>
                                 </div>
                              </div>
                            </div>

                    	</div>
                  	</div>

                  </div>
                </div>
              </div>


            <div class="col-md-12 my-3" >
                <div class="row">
                  <div class="col-md-12">
                    <div class="DivprofileR-Detail">
                    	<div class="fb-comments" data-href="http://www.your-domain.com/" data-width="100%" data-numposts="5"></div>
                  	</div>

                  </div>
                </div>
              </div>


            </div>

        </div>

      </div><!--/row-->
    </div><!--/.container-->


<?php
include('../themes/footer.php');
include('../include/footer_js.php');
?>

Anon7 - 2022
AnonSec Team