HEX
Server: Apache
System: Linux 185.122.168.184.host.secureserver.net 5.14.0-570.52.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 15 06:39:08 EDT 2025 x86_64
User: barbeatleanalyti (1024)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: /home/barbeatleanalyti/www/public_html/application/views/manage/manageorder.php
<?php include("include/header.php");	?>
<style>
.auth-box { height: auto !important; }
</style>
<body>
	<!-- WRAPPER -->
	<div id="wrapper">
		<!-- NAVBAR -->
        <?php include("include/navbar.php");	?>
		<!-- END NAVBAR -->
        <!-- LEFT SIDEBAR -->
        <?php include("include/leftsidebar.php");	?>
		<!-- END LEFT SIDEBAR -->
		<!-- MAIN -->
		<div class="main">
			<?php if($uri3__ == 'add' || $uri3__ == 'edit' || $uri3__ == 'update') { ?>
            <div class="main-content">
				<div class="container-fluid">
                	<?php if($uri3__ == 'add') { ?>
                    <h3 class="page-title">Add new order</h3>
                    <?php }else{ ?>
						<h3 class="page-title">Manage order</h3>
					<?php } ?>
					<!-- OVERVIEW -->
					<div class="row">
                    	<div class="panel panel-body">
                    	<div class="col-md-2"></div>
	                    <div class="col-md-8">
                            <div class="user text-center">&nbsp;</div>
                            <form class="form-auth-small" method="post" action="" >
                                    <input type="hidden" name="action" id="action" value="insertprofiledata">
                                    <div class="form-group">
                                        <label for="title" class="control-label">Title <span class="require">*</span></label>
                                        <input type="text" class="form-control" name="title" id="title" value="<?php //echo $title;?>">
                                    </div>
                                    <div class="form-group">
                                        <label for="materials" class="control-label">Materials</label>
                                        <input type="text" class="form-control" name="materials" id="materials" value="<?php //echo $materials;?>">
                                    </div>
                                    
                                    <div class="form-group">
                                        <label for="shape" class="control-label">Shape</label>
                                        <input type="text" class="form-control" name="shape" id="shape" value="<?php //echo $shape;?>">
                                    </div>
                                    
                                    <div class="form-group">
                                        <label for="dimension" class="control-label">Dimensions</label>
                                        <input type="text" class="form-control" name="dimension" id="dimension" value="<?php //echo $shape;?>">
                                    </div>
                                    
                                    <div class="form-group">
                                        <label for="quantity" class="control-label">Quantity</label>
                                        <input type="text" class="form-control" name="quantity" id="quantity" value="<?php //echo $shape;?>">
                                    </div>
                                    
                                    
                                    <div class="form-group">
                                        <label for="description" class="control-label">Description</label>
                                        <textarea class="form-control" name="description" id="description"><?php //echo $shape;?></textarea>
                                    </div>
                                    
                                    
                                    <div class="form-group text-center">
                                   
                                    <button type="submit" autocomplete="off" onClick="javascript: return validateFrom()" style="text-align:center;" class="btn btn-primary"> UPDATE </button>
                                    </div>
                                </form>
                            <script>
                                    function validateFrom(){
                                        var error = 0;
                                        var dataArr = new Array('orgname','department','designation','address','state','city','pincode');
                                        
                                        for(var i=0; i<dataArr.length; i++){
                                            if(document.getElementById(dataArr[i]).value.trim() == ''){
                                                document.getElementById(dataArr[i]).style.border = '1px solid red';
                                                error = 1;
                                            }
                                        }
                                        if(error == 1)
                                        return false;
                                        
                                    }
                                </script>
                        </div>
                        </div>
                        <div class="col-md-2"></div>
					</div>
					<!-- END OVERVIEW -->
				</div>
			</div>
            <?php } ?>
			<!-- END MAIN CONTENT -->
		</div>
		<!-- END MAIN -->
		<div class="clearfix"></div>
		<?php include("include/footer.php");	?>
	</div>
	<!-- END WRAPPER -->
	<!-- Javascript -->
		<?php include("include/js.php");	?>
</body>

</html>