<?php

$accessControl = array('Admin' => true);
require_once "../../AccessControl.php";
?>

						<div class="response">

							<div class="callout-danger-template callout callout-danger" style="display:none;">								
								<h4></h4>								
							</div>

							<div class="callout-success-template callout callout-success" style="display:none;">								
								<h4></h4>								
							</div>

						</div>

                    	<div class="box box-solid box-primary dbinfo">
                            <div class="box-header">
                                <h3 class="box-title"><?php echo _CHANGE_UPLOAD_DIR; ?></h3>
                                
                            </div><!-- /.box-header -->

                            <div class="box-body table-responsive">

                            	<div class="form-group uploaddir">

									<label for="upload_dir"><?php echo _CHANGE_UPLOAD_DIR; ?>:</label>
                                    <?php $upload_dir = getGlobalSetting("upload_dir", logaholic_dir()."files/"); ?>											
									<div class="input-group">	                                        
                                        <span class="input-group-addon"><i class="fa fa-check"></i></span>
                                        <input type=text name="upload_dir" id="upload_dir" value="<?php echo $upload_dir; ?>" class='form-control'>
                                    </div>

                          

                                    <div class="upload_warning box box-solid box-body" style="display:none;background-color:#FCF2F2;color:#666;">
                                            
                                            <?php echo "<strong>". _WARNING ."</strong>: "._SECURITY_WARNING_PART1 . $upload_dir . _SECURITY_WARNING_PART2 . $_SERVER['DOCUMENT_ROOT'] .')'; ?>    

                                    </div>


                                </div>							
                            		

								<button class="btn btn-primary uploadbutton"><?php echo _SAVE; ?></button>
                            	</form>

 								<div style="clear:both">
                                    &nbsp;<br />&nbsp;
                                </div>

								<div class="alert alert-info" style="">
                                    <i class="fa fa-info"></i> 
                                    <?php echo _CHANGE_FORM . " "._UPLOAD_FEEDBACK_NOTICE; ?>
                                   
                                </div>
								
								

                            </div><!-- /.box-body -->
                        </div><!-- /.box -->   	
