Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <?php $this->load->view("head"); ?>
- <style type="text/css">
- #fileselector {
- margin: 10px;
- }
- #upload-file-selector {
- display:none;
- }
- .margin-correction {
- margin-right: 10px;
- }
- a:hover{
- text-decoration: none;
- }
- .btn-bs-file{
- position:relative;
- }
- .btn-bs-file input[type="file"]{
- position: absolute;
- top: -9999999;
- filter: alpha(opacity=0);
- opacity: 0;
- width:0;
- height:0;
- outline: none;
- cursor: inherit;
- }
- </style>
- </head>
- <body>
- <?php $this->load->view("menu"); ?>
- <div class="container">
- <?php
- if(isset($_SESSION['alert']))
- {
- if($_SESSION['alert']['0']=="0")
- {
- ?>
- <div class="alert alert-danger">
- <strong><?php echo $_SESSION['alert']['1']; ?></strong>
- </div>
- <?php
- }else{
- ?>
- <div class="alert alert-success">
- <strong><?php echo $_SESSION['alert']['1']; ?></strong>
- </div>
- <?php
- }
- }
- unset($_SESSION['alert']);
- ?>
- <form action="<?php echo base_url();?>index.php/ControllerFileUploading/InsertMultipleImg" method="post" enctype="multipart/form-data">
- <div class="col-md-8">
- <label for="name" class="cols-sm-2 control-label">Select Multiple Image</label><br>
- <label class="btn-bs-file btn btn-default">
- <i class="fa fa-upload"></i> upload file
- <input type="file" name="M-file[]" multiple onchange="document.getElementById('M-file').files"/>
- </label>
- <input type="text" name="" id="M-file" style="border:0;background : none;width: 20%;" disabled>
- <input type="submit" name="btn1" class="btn btn-default">
- </div>
- <div class="col-md-4"><a href="<?php echo base_url()?>index.php/ControllerFileUploading/SelectMultipleImg"><h3 style="text-align: center;color: #222;padding: 1%;box-shadow: 0 0 8px 3px #222;">View Images</h3></a></div>
- </form>
- </div>
- <?php $this->load->view("footer"); ?>
- </body>
- </html>
Add Comment
Please, Sign In to add comment