<link rel="stylesheet" href="<?php echo DOMAIN ?>/jquery_file_upload/css/style.css">
<link rel="stylesheet" href="<?php echo DOMAIN ?>/jquery_file_upload/css/jquery.fileupload.css">
<input type="hidden" class="file_url" value="<?php echo DOMAIN ?>/ajax/upload_status_image" />
 <?php
                                    if($templateType == 'edit')
                                    {
                                        $current='Current Image : <img src="uploads/'.$data['cl_image'].'" width="15"/>';
                                        $currentActiveImage='Current Image : <img src="uploads/'.$data['cl_active_image'].'" width="15"/>';
                                    }
                                    else
                                    {
                                        $current= $currentActiveImage = '';
                                    }
                                    ?>
<div class="error-main"></div>
                            <div class="form-group input-container">
                                <label for="Name" class=" form-control-label">Name</label>
                                <input type="text" name="name" id="Name" placeholder="Name" class="form-control" value="<?php if(isset($data['cl_name'])){echo $data['cl_name'];}?>" disabled="disabled"/>
                                <div class="error-input"></div>
                            </div>
                            
                            <div class="form-group input-container file_upload_container">
                                <label for="file" class=" form-control-label">Icon Image</label>
                                        <input type="hidden" class="image file_url" name="image" value="<?php if(isset($data['cl_image'])){echo $data['cl_image'];}?>"/>
													<input type="hidden" class="name"   />
													    <!-- The container for the uploaded files -->
													    <span class="btn btn-success fileinput-button">
												        <i class="glyphicon glyphicon-plus"></i>
												        <span>Select file</span>
												        <!-- The file input field used as target for the file upload widget -->
												        <input class="fileupload" type="file" name="file" >
										                </span>
										                <br>
												    <br>
												    <!-- The global progress bar -->
												    <div class="progress">
												        <div class="progress-bar progress-bar-success"></div>
												    </div>
												    <!-- The container for the uploaded files -->
												    <div class="files_area"></div>
												    <div class="file_name">
													    	
													    </div>
												     <div class="error_area"></div>

                                <?php echo $current;?>
                                <div class="error-input"></div>
                            </div>

                             <div class="form-group input-container file_upload_container">
                                <label for="file" class=" form-control-label">Active Image</label>
                                        <input type="hidden" class="image file_url" name="active_image" value="<?php if(isset($data['cl_active_image'])){echo $data['cl_active_image'];}?>"/>
                                                    <input type="hidden" class="name"   />
                                                        <!-- The container for the uploaded files -->
                                                        <span class="btn btn-success fileinput-button">
                                                        <i class="glyphicon glyphicon-plus"></i>
                                                        <span>Select file</span>
                                                        <!-- The file input field used as target for the file upload widget -->
                                                        <input class="fileupload" type="file" name="file" >
                                                        </span>
                                                        <br>
                                                    <br>
                                                    <!-- The global progress bar -->
                                                    <div class="progress">
                                                        <div class="progress-bar progress-bar-success"></div>
                                                    </div>
                                                    <!-- The container for the uploaded files -->
                                                    <div class="files_area"></div>
                                                    <div class="file_name">
                                                            
                                                        </div>
                                                     <div class="error_area"></div>

                                <?php echo $currentActiveImage;?>
                                <div class="error-input"></div>
                            </div>
							<div class="form-group">
							<button type="submit" class="track-btn pull-right btn-submit">Submit</button>
							
							</div>
                            <!-- The Iframe Transport is required for browsers without support for XHR file uploads -->
<script src="<?php echo DOMAIN ?>/jquery_file_upload/js/jquery.iframe-transport.js"></script>
<!-- The basic File Upload plugin -->
<script src="<?php echo DOMAIN ?>/jquery_file_upload/js/jquery.fileupload.js"></script>
                       