]][ahhhhhhhasdasdassasdkksdadddsddfgh
במ12[aspddfsdfsdfdfnsd g ggk ffghaskjjsaddddkdasdasd asdadghdgh;';';'
/
home
/
swordshipmanagem
/
public_html
/
admin
/
Upload FileeE
HOME
<?php require('function.php'); //require('database.php'); head(); check_login(); ?> <body> <!-- topbar starts --> <?php navigation(); ?> <!-- topbar ends --> <div class="container-fluid"> <div class="row-fluid"> <!-- left menu starts --> <?php menu(); ?> <!-- left menu ends --> <div id="content" class="span10"> <!-- content starts --> <div> <ul class="breadcrumb"> <li> <a href="#">Home</a> <span class="divider">/</span> </li> <li> <a href="#">Gallery</a> </li> </ul> </div> <div class="row-fluid sortable"> <div class="box span12"> <div class="box-header well" data-original-title> <h2><i class="icon-picture"></i> Add New Gallery</h2> <div class="box-icon"> <a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a> <a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a> <a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a> </div> </div> <div class="box-content"> <br/> <div class="alert alert-info" style="width:91%;float:left;">Upload Multiple Images By Pressing ctrl Key.</div> <?php add_cat(); ?> <form action="<?php $_SERVER['PHP_SELF'] ?>" method="post" class="form-horizontal" enctype="multipart/form-data" onsubmit="return vl();"> <div class="control-group"> <label class="control-label" for="title">Title</label> <div class="controls"> <input class="input-xlarge focused" id="title" type="text" name="title"> </div> </div> <div class="control-group"> <label class="control-label" for="fileInput">Choose Images</label> <div class="controls"> <div class="uploader" id="uniform-fileInput"> <input class="input-file uniform_on" id="img" type="file" name="image" multiple size="19" style="opacity: 0;"><span class="filename">No file selected</span><span class="action">Choose File</span> </div> </div> </div> <div class="control-group"> <div class="controls"> <input type="submit" name="add_cat" class="btn btn-primary"> </div> </div> </form> </div> </div><!--/span--> </div><!--/row--> <!-- content ends --> </div><!--/#content.span10--> </div><!--/fluid-row--> <hr> <div class="modal hide fade" id="myModal"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal">×</button> <h3>Settings</h3> </div> <div class="modal-body"> <p>Here settings can be configured...</p> </div> <div class="modal-footer"> <a href="#" class="btn" data-dismiss="modal">Close</a> <a href="#" class="btn btn-primary">Save changes</a> </div> </div> <?php footer(); ?> </div><!--/.fluid-container--> <script type="text/javascript"> function vl() { var error = ""; var title = document.getElementById("title").value; var image = document.getElementById("img").value; if (title == "" || title == " ") { error += "Title is Missing.\n"; } if (image == "" || image == " ") { error += "Please Select an Image.\n"; } if (error != "") { alert(error); return false; }else{ return true; } } </script> </body> </html>