<?php

require_once "../../AccessControl.php";

if ($conf=="newcnf") {
	$editprofile = new SiteProfile();
} else {
	$editprofile = new SiteProfile($conf);
}
ob_start();
?>

			<div class="response">
				
				<span class="saveprofile pull-left" style="display:none;margin-left:-4px;padding-right:6px;" >
					<button class="btn btn-sm btn-danger"><?php echo _SAVE_CHANGES; ?></button>&nbsp;<button class="btn btn-sm btn-default"><?php echo _CANCEL; ?></button>
				</span>


				<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="content_templates">
                <div class="delete-page-settings" data-title="<?php echo _DELETE." "._PAGE; ?>">
                    <div class="box-body">
                        <form>
                            <div class="form-group">
                                <?php echo DateSelector(); ?>
                            </div>
                            <div class="form-group">
                                <label><?php echo _PAGE; ?></label>
                                <input type="text" class="form-control" name="fldvalue" > (<?php echo _EXACT_VALUE_ONLY; ?>)
                                <input type="hidden" name="fldname" value="page" />
                            </div>
                                <button class="delete-page btn btn-danger" data-loading-text="<?php echo _DELETING; ?>..."><?php echo _DELETE; ?></button>
                        </form>
                    </div>
                </div>
                <div data-title="<?php echo _DELETE." "._IPNUMBER; ?>" class="delete-ipnumber-settings">                            
                    <div class="box-body">
                        <form>
                            <div class="form-group">
                                <?php echo DateSelector(); ?>
                            </div>
                            <div class="form-group">
                                <label><?php echo _IPNUMBER; ?></label>
                                <input type="text" class="form-control" name="fldvalue" > (<?php echo _EXACT_VALUE_ONLY; ?>)
                                <input type="hidden" name="fldname" value="ipnumber" />
                            </div>
                                <button class="delete-ipnumber btn btn-danger" data-loading-text="<?php echo _DELETING; ?>..."><?php echo _DELETE; ?></button>
                        </form>
                    </div>
                </div>
            </div>

			<div id="the_grid" class="editprofile">                        
                <!-- Main row -->
                <div class="row">
                    <section class="col-sm-7 formarea">


						<form id="editprofile_form" action="#">

                    	<div class="profileinfo box box-solid box-success" rel="_PROFILE_INFO" style="display:none;">
                            <div class="box-header">
                                <h3 class="box-title"><i class="fa fa-pencil">&nbsp;</i> <?php echo _PROFILE_INFO; ?></h3>
                                
                            </div><!-- /.box-header -->

                            <div class="box-body">								
                            		
								<div class="form-group" data-help="<?php echo _NAME_THIS_PROFILE; ?>">
                                    <label for="newconfname"><?php echo _PROFILE_NAME;?></label>
                                    <input onkeypress="return p.noSpecialChars(event)" onblur="return p.noSpecialChars(event)" 
                                    	type=text name="newconfname" id="newconfname" value="" class="form-control">
                                </div>

                                <div class="form-group" data-help="<?php echo _DOMAIN_NAME_EXPLAIN;?>">
									<label for="confdomain"><?php echo _DOMAIN_NAME;?></label>
                                    <div class="input-group">	                                        
                                        <span class="input-group-addon"><i class="fa fa-check"></i></span>
                                        <input type=text name="confdomain" id="confdomain" class="form-control">	                                        
                                    </div>
                                </div>

								<div class="form-group" data-help="<?php echo _EQUIVALENT_SUBDOMAINS_EXPLAIN;?>">
                                    <label for="equivdomains"><?php echo _EQUIVALENT_SUBDOMAINS;?></label>
                                    <input type=text name="equivdomains" class="form-control">
                                </div>

								<div class="form-group" data-help="<?php echo _STATUS_EXPLAIN; ?>">
                                    <label for="activated"><?php echo _STATUS;?></label>
                                    <select id="statusactivated" name="activated" class="form-control">                                        	
										<option value=1 ><?php echo _ACTIVATED;?></option>
										<option value=0 ><?php echo _DEACTIVATED;?></option>
									</select>                                        	
                                </div>
                                <input type=text name="profiletype" style="display:none;">
                            </div><!-- /.box-body -->
                        </div><!-- /.box -->  



						<div class="datacollection box box-solid box-success" rel="_DATA_COLLECTION" style="display:none;">
                            <div class="box-header">
                                <h3 class="box-title"><i class="fa fa-pencil">&nbsp;</i> <?php echo _DATA_COLLECTION; ?></h3>
                                
                            </div><!-- /.box-header -->

                            <div class="box-body">
								<div class="form-group" data-help="<?php echo _CHOOSE_HOW_TO_COLLECT;?>">
                                    <label for="trackermode"><?php echo _DATA_COLLECTION_METHOD;?></label>                                    
                                    <select id="trackermode" name="trackermode" class="form-control">
                                    	<option value="0"><?php echo _LOG_ANALYSIS_LOCAL;?></option>
                                    	<option value="1"><?php echo _JS_BASED_TRACKING;?></option>
                                    	<option value="2"><?php echo _LOG_ANALYSIS_FTP;?></option>
                                    	<option value="3"><?php echo _UPLOAD_FILES;?></option>
                                    </select>
                                </div>

                                <div class="trackermode0 trackersub" style="display:none;">
									
									<div class="form-group lf_basics" data-help="<?php echo _FULL_ABSOLUTE_PATH_EXPLAIN."<br/>&nbsp;<br/>";?><?php echo _FULL_ABSOLUTE_PATH;?>: <font color=green><?php echo logaholic_dir();?></font><br><?php echo _LOGFILE_USUALLY_FEW_DIRS_BACK;?>">
										<label for="logfilefullpath"><?php echo _LOG_FILE_LOCATION;?></label>
                                        <div class="input-group">	                                        		                                        	                                        
	                                        <input type=text name="logfilefullpath" id="logfilefullpath" class="form-control">  
	                                        <span class="input-group-addon" title="<?php echo _RECURSIVELY_SEARCH_DIRS;?>">
	                                        	<input type="checkbox" name="recursive" id="recursive" value="1">
	                                        	<label for="recursive" style="display:none;"></label>
	                                        </span>	
	                                    </div>                                 

	                                    
                                    </div>                                    
    								<style>
    								.gray {
    									color:silver;
    								}
    								</style>
									
									<div class="misc_lf_options">
	                                	<div class="form-group" data-help="<?php echo _ONLY_ANALYZE_MATCH_CAUTION;?>">
	                                 		<label><?php echo _INCLUDE_FILE_MATCHING; ?></label>
	                                        <input type=text name="splitfilter" id="splitfilter" class="form-control"> 
	                                    </div>

										<div class="form-group" data-help="<?php echo _ONLY_ANALYZE_MATCH_CAUTION;?>">
	                                 		<label><?php echo _IGNORE_FILE_MATCHING; ?></label>
	                                        <input type=text name="splitfilternegative" id="splitfilternegative" class="form-control">
	                                    </div>

										<div class="form-group" data-help="<?php echo _LOG_PARSER_TYPE_DESC; ?>">
											<label><?php echo _LOG_PARSER_TYPE; ?></label>
	                                        <select name='logparsertype' class="form-control">
	                                        <?php
										      	include_once "../../includes/logparser.inc.php";											
												$logparsertype = $editprofile->logparsertype;
                                                													
													if(!empty($logparsertype) && $logparsertype != "auto"){
														echo "<option value='$logparsertype'>$logparsertype</option>"; 
													}
													echo "<option value='auto'>". _AUTO_DETECT ."</option>"; 		
													foreach($log_parser_types as $type){
														if($type["ClassName"] != $logparsertype){
															echo "<option value='". $type["ClassName"] ."'>" . $type["ClassName"] . "</option>";
														}
													}
											?>
										  </select>
	                                    </div>
	                                </div>
                                </div>


								<div class="trackermode1 trackersub" style="display:none;">
									
									<div class="form-group" data-help="<?php echo _COPY_CODE_EXPLAIN; ?>">
										<label><?php echo _COPY_TRACKING_CODE;?></label>
									
    									<div id="copy_tracking_div" style='height:auto; font-size:11px;'><pre><?php echo _SAVE_THIS_PROFILE_FIRST; ?></pre></div>
    									<div class="label bg-yellow"><?php echo _CLICK_TO_SELECT_ALL_CTRLC_TO_COPY;?></div>
   									</div>
                                </div>


                                <div class="trackermode2 trackersub" style="display:none;">
                                    <?php
                                    include "../../includes/upload_dir.php";
                                    $ud = new UploadDir();
                                    ?>
									
   									<div class="form-group" data-help="<?php echo str_replace("%a",$ud->getUploadDir().$editprofile->profilename, _FTP_SERVER_NAME_EXPLAIN);?>">
  										<label><?php echo _FTP_SERVER_NAME;?></label>
  										<input type=text name="ftpserver" id="ftpserver" value="" class="form-control">
  									</div>
									
									<div class="form-group" data-help="<?php echo _FTP_USER_NAME_EXPLAIN; ?>">
  										<label><?php echo _FTP_USER_NAME;?></label>
  										<input type=text name="ftpuser" id="ftpuser" value="" class="form-control" autocomplete="off">
  									</div>

									<div class="form-group" data-help="<?php echo _FTP_PASSWORD_EXPLAIN; ?>">
  										<label><?php echo _FTP_PASSWORD;?></label>
  										<input type=text name="ftppasswd" id="ftppasswd" value="" class="form-control">
  									</div>

                                    <div class="form-group" data-help="<?php echo _FTP_LOG_LOCATION_EXPLAIN; ?>">
                                        <label><?php echo _FTP_LOG_LOCATION;?></label>
                                        <input type=text name="ftpfullpath" id="ftpfullpath" value="" class="form-control">
                                    </div>

                                    <div class="form-group" data-help="<?php echo _FTP_PORT_EXPLAIN; ?>">
                                        <label><?php echo "FTP Port";?></label>
                                        <input type=text name="ftpport" id="ftpport" value="" class="form-control">
                                    </div>

  									<div class="form-group" data-help="<?php echo _FTP_MODE_EXPLAIN; ?>">
  										<label><?php echo "FTP Mode";?></label>
  										<select name="ftpmode" id="ftpmode" class="form-control">
                                            <option value="0">Active</option>                            
                                            <option value="1">Passive</option>                            
                                        </select>
  									</div>

                                </div>

                                <div class="trackermode3 trackersub" style="display:none;">
									
   									<div class="uploadarea"></div>

                                </div>

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


                        <div class="datafilters box box-solid box-success" rel="_DATA_FILTERS" style="display:none;">
                            <div class="box-header">
                                <h3 class="box-title"><i class="fa fa-pencil">&nbsp;</i> <?php echo _DATA_FILTERS; ?></h3>
                                
                            </div><!-- /.box-header -->

                            <div class="box-body">								
                            		
								<div class="form-group" data-help="<?php echo _SKIP_IP_NUMBERS_EXPLAIN; ?> <a class='open_delete_ipnumber' data-ipnumber=''><?php echo _CLICK_HERE;?></a>">
                                    <label><?php echo _SKIP_IPNUMBERS;?></label>
                                    <textarea rows=1 name="skipips" id="skipips" class="form-control"></textarea>
                                    <p class="skip_ipnumbers_errors"></p>
                                </div>

								<div class="form-group" data-help="<?php echo _SKIP_FILES_EXPLAIN; ?> <a class='open_delete_page' data-page=''><?php echo _CLICK_HERE;?></a>">
                                    <label><?php echo _SKIP_FILES;?></label>
                                    <textarea rows=1 name="skipfiles" id="skipfiles" class="form-control"></textarea>
                                    
                                </div>

                                <div class="form-group" data-help="<?php echo _READ_URLS_EXPLAIN_PART1 . "<br/><ul><li>1. /Default.html</li><li>2. /default.html</li></ul>" . _READ_URLS_EXPLAIN_PART2; ?>">
                                    <label><?php echo _READ_URLS;?></label>
                                    <select name="caseinsensitiveurls" class="form-control">
										<option value="0"><?php echo _CASE_SENSITIVE; ?></option>
										<option value="1"><?php echo _CASE_INSENSITIVE; ?></option>
									</select>
                                    
                                </div>
		

								<div class="form-group" data-help="<?php echo _STRIP_URL_PARAMS_EXPLAIN; ?>">
                                    <label><?php echo _STRIP_URL_PARAMS;?></label>
                                    <textarea rows=1 name="urlparamfilter" id="urlparamfilter" class="form-control"><?php echo $editprofile->urlparamfilter; ?></textarea>
                                    <div class="radio" style="margin-left:4px;margin-top:0;">
                                    	<label><input name="urlparamfiltermode" type=radio value="Exclude"> <?php echo _EXCLUDE_RECOMMENDED;?></label>&nbsp;&nbsp;
    									<label><input name="urlparamfiltermode" type=radio value="Include"> <?php echo _INCLUDE_DANGEROUS;?> </label>
    								</div>
    
                                </div>

								<div class="form-group" data-help="<?php echo _GOOGLE_PARAMETERS_EXPLAIN; ?>">
                                    <label><?php echo _GOOGLE_PARAMETERS;?></label>
                                    <textarea rows=1 name="googleparams" id="googleparams" class="form-control"></textarea>
    
                                </div>

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


                        <div class="visitoridmethod	 box box-solid box-success" rel="_VISITOR_IDENTIFICATION" style="display:none;">
                            <div class="box-header">
                                <h3 class="box-title"><i class="fa fa-pencil">&nbsp;</i><?php echo _VISITOR_IDENTIFICATION; ?></h3>
                                
                            </div><!-- /.box-header -->

                            <div class="box-body">								
                            		
								<div class="form-group" data-help="<?php echo _VISIT_TIMEOUT_EXPLAIN; ?>">
                                    <label><?php echo _VISIT_TIMEOUT;?></label>
                                    <input type="text" name="visittimeout" id="visittimeout" class="form-control">
                                    
                                </div>

								<div class="form-group" data-help="<?php echo _HOW_TO_IDENTIFY_UNIQUE_VISITOR;?> <a target =_new href='https://www.logaholic.com/manual/profile-configuration/visitor-identification/'><?php echo _THIS_HELP_ARTICLE;?></a>">
                                    <label><?php echo _UNIQUE_VISITOR_ID_METHOD;?></label>

                                    <select name="visitoridentmethod" class="form-control">
                                    	<option value="<?php echo VIDM_IPADDRESS;?>"><?php echo _IP_ONLY;?></option>
                                    	<option value="<?php echo VIDM_IPPLUSAGENT;?>"><?php echo _IP_AND_UA;?></option>
                                    	<option value="<?php echo VIDM_COOKIE;?>"><?php echo _COOKIE_BASED;?></option>
                                        <option value="<?php echo VIDM_CUSTOM_COOKIE;?>"><?php echo "Use a custom cookie";?></option>
                                    </select>
                                    <input type="text" name="vidm_custom_cookie" id="vidm_custom_cookie" class="form-control" placeholder="Custom cookie name" style="display:none;margin-top:6px;">
                                </div>

                                <div class="form-group" data-help="<?php echo _BEHAVIOUR_BASED_DESC; ?>">
                                    <label><?php echo _HUMANBOT_DETECTION;?></label>

                                    <select name="patternfilter" class="form-control">
                                        <option value="true"><?php echo _BEHAVIOUR_BASED;?></option>
                                        <option value="false"><?php echo _USER_AGENT;?></option>                                        
                                    </select>
                                    
                                </div>

                                <div class="form-group" data-help="<?php echo _IP_ENCODING_CONFIRM_ENABLE; ?>">
                                    <label><?php echo _IP_MASKING;?></label>

                                    <select name="ipencoding" class="form-control">
                                        <option value="true"><?php echo _ENABLE;?></option>
                                        <option value="false"><?php echo _DISABLE;?></option>                                        
                                    </select>
                                    
                                </div>

                                <div class="form-group copy_tracking_div2" style="display:none;" data-help="<?php echo _COPY_CODE_EXPLAIN; ?>">
									<label><?php echo _COPY_TRACKING_CODE;?></label>
									
    								<div id="copy_tracking_div2" style='height:auto; font-size:11px;'><pre><?php echo _SAVE_THIS_PROFILE_FIRST; ?></pre></div>
    								<div class="label bg-yellow"><?php echo _CLICK_TO_SELECT_ALL_CTRLC_TO_COPY;?></div>

    								<div>
    									&nbsp;<br />
    								</div>


    								<div class="alert alert-warning" style="">
                                    	<i class="fa fa-info"></i> 
                                    	<?php echo _IMPORTANT_READ; ?> <a target =_new href="https://www.logaholic.com/manual/profile-configuration/data-collection/hybrid-mode/"><?php echo _THIS_HELP_ARTICLE."</a> "._MORE_INFO_ON_COOKIE_TRACKING.""; ?>
                                   
                                	</div>
    								
   								</div>

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


                        <div class="kpis box box-solid box-success" style="display:none;" rel ="_KPI" data-help="<?php echo _KPI_COMPLETE_INFO;?>">
                            <div class="box-header">
                                <h3 class="box-title"><i class="fa fa-pencil">&nbsp;</i><?php echo _KPIS;?></h3>
                                
                            </div><!-- /.box-header -->

                            <div class="box-body">								
                            		
								<div class="form-group" data-help="<?php echo _TARGET_PAGES_EXPLAIN; ?> <a href='https://www.logaholic.com/manual/profile-configuration/kpis/' target=_blank><?php echo _READ_THIS;?></a>.">
                                    <label><?php echo _TARGET_PAGES;?></label>

									<div class="kpi-box">
                                        <ul class="kpi-list">                                            
                                            <li class="input"><input type="text" value="" name="user-search-kpi" class="search" placeholder="<?php echo _TYPE_TO_ADD_KPI; ?>"></li>
                                        </ul>
                                        <div style="clear:both; height: 1px;">&nbsp;</div>
                                    </div>
                                   <input type=hidden name="targetfiles" id="targetfiles"></textarea>

                                    <?php
								        if(CheckSubscriptionOption('KPI_Limit')) {
                                            echoWarning(str_replace("%X%", $session->subscription['KPI_Limit'],  _KPI_RESTRICTION));
								        	//echo "<br/><br/>";
                                            echoNotice(str_replace("%x",  _TARGET_PAGES , _SUBSCRIPTION_UPGRADE_NOTICE)."<br><br>"."<a href=\"#\" class=\"btn btn-success btn-upgrade-subscription\">"._START_WITH_TRIAL."</a>");
                                            
								        }
								    ?>
                                </div>
								
								

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

						<div class="feeds box box-solid box-success" rel="_FEEDS" style="display:none;">
                            <div class="box-header">
                                <h3 class="box-title"><i class="fa fa-pencil">&nbsp;</i><?php echo _FEEDS;?></h3>
                                
                            </div><!-- /.box-header -->

                            <div class="box-body">								
                            		
								<div class="form-group" data-help="<?php echo _FEEDS_DIRECTORY_EXPLAIN; ?>">
                                    <label><?php echo _FEEDS_DIRECTORY;?></label>
									<input type=text name="feedurl" id="feedurl" value="" class="form-control">
                                </div>
								
								<div style="clear:both">
                                    &nbsp;<br />&nbsp;
                                </div>

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

                            </div><!-- /.box-body -->
                        </div><!-- /.box --> 
						
						<div class="dynamicpages box box-solid box-success" rel="_DYNAMIC_PAGES" style="display:none;">
                            <div class="box-header">
                                <h3 class="box-title"><i class="fa fa-pencil">&nbsp;</i><?php echo _DYNAMIC_PAGES;?></h3>
                                
                            </div><!-- /.box-header -->

                            <div class="box-body">								

								<div class="form-group dynpages" data-help="<?php echo str_replace("\"", "&quot;", _DYNAMIC_PAGES_CONF . _DYNAMIC_PAGES_CONF_EXPLAIN); ?>">
                                    <label><?php echo _DYNAMIC_PAGES;?></label>
									<div class="dynpagegroup">
	                                	<input type=hidden name="paramid[]" value=''/>
										<input type="text" name="paramurl[]" placeholder="<?php echo _PAGE_NAME_WITH_PATH;?>" class="form-control">
	                                   	<input type="text" name="paramnames[]" placeholder="<?php echo _IMPORTANT_PARAMS_COMMA_DELIMITED;?>" class="form-control">
	                                    <button class="btn btn-default adddynp"><i class="fa fa-plus"></i></button>
	                                    <button class="btn btn-default removedynp"><i class="fa fa-minus"></i></button>
	                                </div>
																			
                                </div>
								
								
                            </div><!-- /.box-body -->
                        </div><!-- /.box --> 

                        <div class="exitclicks box box-solid box-success" rel="_EXIT_CLICKS" style="display:none;">
                            <div class="box-header">
                                <h3 class="box-title"><i class="fa fa-pencil">&nbsp;</i><?php echo _EXIT_CLICKS;?></h3>
                                
                            </div><!-- /.box-header -->

                            <div class="box-body">								

                            	<div class="form-group" data-help="<?php echo _EXIT_CLICK_TRACKING_EXPLAIN; ?><br/><br/><a class='btn btn-default link-to-exitclicks'><?php echo _LINK_TO_EXIT_CLICKS_REPORT; ?></a>">
                                    <label><?php echo _EXIT_CLICK_TRACKING;?></label>
									<div id="copy_exit_tracking_div" style='height:auto; font-size:11px;'><pre><?php echo _SAVE_THIS_PROFILE_FIRST; ?></pre></div>
									<div class="label bg-yellow"><?php echo _CLICK_TO_SELECT_ALL_CTRLC_TO_COPY;?></div>
                                </div>

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

						
						<div class="customevents box box-solid box-success" rel="_CUSTOM_EVENTS" style="display:none;">
                            <div class="box-header">
                                <h3 class="box-title"><i class="fa fa-pencil">&nbsp;</i><?php echo _CUSTOM_EVENTS;?></h3>
                                
                            </div><!-- /.box-header -->

                            <div class="box-body">								

                            	<div class="form-group" data-help="">
                                    <label><?php echo _USING_LOG_FILES; ?></label>
									<div id="copy_custom_events_log" style='height:auto; font-size:11px;'><pre><?php echo _SAVE_THIS_PROFILE_FIRST; ?></pre></div>
									<div class="label bg-yellow"><?php echo _CLICK_TO_SELECT_ALL_CTRLC_TO_COPY;?></div>
                                </div>

                                <div class="form-group" data-help="">
                                    <label><?php echo _USING_TRACKER; ?></label>
									<div id="copy_custom_events_js" style='height:auto; font-size:11px;'><pre><?php echo _SAVE_THIS_PROFILE_FIRST; ?></pre></div>
									<div class="label bg-yellow"><?php echo _CLICK_TO_SELECT_ALL_CTRLC_TO_COPY;?></div>
                                </div>

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


						<div class="datetime box box-solid box-success" rel="_DATE_TIME" style="display:none;">
                            <div class="box-header">
                                <h3 class="box-title"><i class="fa fa-pencil">&nbsp;</i> <?php echo _REPORTING_TIMEZONE;?></h3>
                                
                            </div><!-- /.box-header -->

                            <div class="box-body">	
								
								<div class="form-group" data-help="<?php echo _THE_DEAULT_TIMEZONE_ON_THIS_SYSTEM_IS." ". $system_timezone .". ". _TIMEZONE_CHANGE_EXPLAIN; ?>">
                                    <label><?php echo _REPORTING_TIMEZONE; ?></label>
                                    <select name="timezone" class="form-control">
							        <?php
							       	$zones = file('../../includes/timezones.txt');
							        foreach ($zones as $zone) {
							            $zone=trim($zone);
							            echo "<option value=\"$zone\">$zone</option>\n";            
							        }
							        ?>
							        </select>									
                                </div>


								<div class="dateformat form-group" data-help="<?php echo _TIME_FORMAT_DISPLAY_EXPLAIN; ?>">
                                    <label><?php echo _TIME_FORMAT_DISPLAY; ?></label>
                                	<div>
	                        			<select class="format1 form-control" name="format1">
	                                        <option value="d"><?php echo _DAY; ?> (31)</option>
	                                        <option value="D"><?php echo _DAY; ?> (Mon)</option>
	                                        <option value="m"><?php echo _MONTH; ?> (12)</option>
	                                        <option value="M"><?php echo _MONTH; ?> (Dec)</option>
	                                        <option value="Y"><?php echo _YEAR; ?></option>
	                                        <option value=""><?php echo _NONE; ?></option>
	                                    </select>
	                                    <select class="seperator1 form-control" name="seperator1">
	                                        <option value=" "> </option>
	                                        <option value="-">-</option>
	                                        <option value="/">/</option>
	                                        <option value=",">, </option>
	                                    </select>
	                                    <select class="format2 form-control" name="format2">
	                                        <option value="d"><?php echo _DAY; ?> (31)</option>
	                                        <option value="D"><?php echo _DAY; ?> (Mon)</option>
	                                        <option value="m"><?php echo _MONTH; ?> (12)</option>
	                                        <option value="M"><?php echo _MONTH; ?> (Dec)</option>
	                                        <option value="Y"><?php echo _YEAR; ?></option>
	                                        <option value=""><?php echo _NONE; ?></option>
	                                    </select>
	                                    <select class="seperator2 form-control" name="seperator2">
	                                        <option value=" "> </option>
	                                        <option value="-">-</option>
	                                        <option value="/">/</option>
	                                        <option value=",">, </option>
	                                    </select>
	                                    <select class="format3 form-control" name="format3">
	                                        <option value="d"><?php echo _DAY; ?> (31)</option>
	                                        <option value="D"><?php echo _DAY; ?> (Mon)</option>
	                                        <option value="m"><?php echo _MONTH; ?> (12)</option>
	                                        <option value="M"><?php echo _MONTH; ?> (Dec)</option>
	                                        <option value="Y"><?php echo _YEAR; ?></option>
	                                        <option value=""><?php echo _NONE; ?></option>
	                                    </select>
	                                    <select class="seperator3 form-control" name="seperator3">
	                                        <option value=" "> </option>
	                                        <option value="-">-</option>
	                                        <option value="/">/</option>
	                                        <option value=",">, </option>
	                                    </select>
	                                    <select class="format4 form-control" name="format4">
	                                        <option value="d"><?php echo _DAY; ?> (31)</option>
	                                        <option value="D"><?php echo _DAY; ?> (Mon)</option>
	                                        <option value="m"><?php echo _MONTH; ?> (12)</option>
	                                        <option value="M"><?php echo _MONTH; ?> (Dec)</option>
	                                        <option value="Y"><?php echo _YEAR; ?></option>
	                                        <option value=""><?php echo _NONE; ?></option>
	                                    </select>
	                                </div>
	                                
									<div style="clear:both;">
	                                </div>
                                    
                                </div>

                                <div class="form-group" data-help="<?php echo _TIME_FORMAT_DISPLAY_EXPLAIN; ?>">
                                	<label><?php echo _DATE_FORMAT_DISPLAY; ?></label>
									<div class="datepreview"></div>
                                </div>

                                <div class="form-group" data-help="<?php echo _CURRENCY_EXPLAIN; ?>">
                                    <label><?php echo _CURRENCY; ?></label>
                                    <input type="text" name="currency" class="form-control" placeholder="$">
                                </div>

                                <div style="clear:both">
                                    &nbsp;<br />
                                    <button class="btn btn-warning restore-default-date-format-settings"><?php
                                        echo _RESTORE_TO_DEFAULT_FORMAT; ?></button>
                                    <br/>&nbsp;
                                </div>


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


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

                            <div class="form-group" data-help="<?php
                            echo _EMAIL_ALERTS_EXPLAIN . _EMAIL_ALERTS_EXPLAIN; ?>">
                                <div class="emailalerts_managealert box box-solid" rel="_EMAIL_ALERTS"
                                     style="display:none;">
                                    <div class="box-header bg-navy">
                                        <h3 class="box-title"><i class="fa fa-bell-o">&nbsp;</i><label><?php
                                                echo _ACTIVE_EMAIL_ALERTS; ?></label></h3>
                                    </div><!-- /.box-header -->

                                    <div class="box-body"></div><!-- /.box-body -->
                                </div><!-- /.box -->
                            </div>


                            <div class="form-group" data-help="<?php
                            echo _EMAIL_ALERTS_EXPLAIN . _EMAIL_ALERTS_EXPLAIN; ?>">
                                <div class="emailalerts createalert box box-solid box-success" rel="_EMAIL_ALERTS"
                                     style="display:none;">
                                    <div class="box-header">
                                        <h3 class="box-title"><i class="fa fa-pencil">&nbsp;</i><label><?php
                                                echo _CREATE_ALERT; ?></label></h3>
                                    </div><!-- /.box-header -->
                                    <div class="box-body"></div><!-- /.box-body -->
                                </div><!-- /.box -->
                            </div>


                            <div class="inpageanalytics box box-solid box-success" rel="_INPAGE_ANALYTICS"
                                 style="display:none;">
                                <div class="box-header">
                                    <h3 class="box-title"><i class="fa fa-pencil">&nbsp;</i><?php
                                        echo _INPAGE_ANALYTICS; ?></h3>
                                </div><!-- /.box-header -->

                            <div class="box-body">

                            	<div class="form-group" data-help="<?php echo _INPAGE_ANALYTICS_DESC; ?>">
                            		<label><?php echo _INPAGE_ANALYTICS; ?></label>
                            		<div id="copy_inpage_div"></div>
									<div class="label bg-yellow"><?php echo _CLICK_TO_SELECT_ALL_CTRLC_TO_COPY;?></div>
								</div>

								<div class="form-group" data-help="<?php echo _INPAGE_ANALYTICS_ACTIVATION; ?>">
									<label><?php echo _DISPLAY_INPAGE_LABEL; ?></label><br/>
                            		<button class="btn btn-default activated"><?php echo _ACTIVATED;?></button>
                            		<button class="btn btn-default deactivated"><?php echo _DEACTIVATED;?></button>
                            	</div>

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


						<div class="customreports box box-solid box-success" rel="_CUSTOM_REPORTS" style="display:none;">
                            <div class="box-header">
                                <h3 class="box-title"><i class="fa fa-pencil">&nbsp;</i><?php echo _CUSTOM_REPORTS_DIR; ?></h3>                                
                            </div><!-- /.box-header -->


                            <div class="box-body">

                            	<div class="form-group" data-help="<?php echo _CUSTOM_REPORTS_DIR_DESC; ?>">
                            		<label><?php echo _CUSTOM_REPORTS_DIR; ?></label>
                            		<input type="text" name="customreportsdir" class="form-control" disabled>
                            											
								</div>
								
								<div class="form-group" data-help="<?php echo _CUSTOM_REPORTS_DIR_DESC; ?>">
                            		<label><?php echo _ONLY_CUSTOM_REPORTS; ?></label>
                            		<select name="customreportsonly" class="form-control">
                            			<option value=0><?php echo _CUSTOM_REPORTS_FALSE; ?></option>
                            			<option value=1><?php echo _CUSTOM_REPORTS_TRUE; ?></option>
                            		</select>								
								</div>

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


                        <div class="dashboards box box-solid box-success" rel="_DASHBOARDS" style="display:none;">
                            <div class="box-header">
                                <h3 class="box-title"><i class="fa fa-pencil">&nbsp;</i><?php echo _DASHBOARDS;?></h3>
                                
                            </div><!-- /.box-header -->

                            <div class="box-body">	

                            	<div class="form-group" data-help="<?php echo _RESTORE_DASHBOARD_EXPLAIN; ?>">							
	                            	&nbsp;<br>
	                            	<button class="btn btn-primary"><?php echo _RESTORE_DEFAULT_DASHBOARD; ?></button>
	                            	&nbsp;&nbsp;
	                            	<button class="btn btn-danger"><?php echo _DELETE_ALL_DASHBOARDS; ?></button>
	                            </div>
	                            
								<br>&nbsp;<br>
                            </div><!-- /.box-body -->
                        </div><!-- /.box --> 


                    	<div class="datamanager box box-solid box-success" rel="_DATAMANAGER_SETTINGS" style="display:none;">
                            <div class="box-header">
                                <h3 class="box-title"><i class="fa fa-pencil">&nbsp;</i><?php echo _DATAMANAGER_SETTINGS; ?></h3>
                                
                            </div><!-- /.box-header -->

                            <div class="box-body table-responsive">								
                            		
									<div class="form-group" data-help="<?php echo _DATAMAN_MAX_DATE_RANGE_DESC; ?>">
                                        <label for="datamanagerLimit"><?php echo _DATAMAN_MAX_DATE_RANGE; ?></label>
                                        <select name='datamanagerLimit' class='form-control'>
                                        	<option value='0'><?php echo _NO_LIMIT; ?></option>
                                        	<option value='1'>1 <?php echo _MONTH ?></option>
                                        	<option value='2'>2 <?php echo _MONTH ?></option>
                                        	<option value='3'>3 <?php echo _MONTH ?></option>
                                        	<option value='4'>4 <?php echo _MONTH ?></option>
                                        	<option value='5'>5 <?php echo _MONTH ?></option>
                                        	<option value='6'>6 <?php echo _MONTH ?></option>
                                        	<option value='12'>12 <?php echo _MONTH ?></option>
                                        </select>                                        
                                    </div>

                                    <div class="form-group datadir" data-help="<?php echo _DATAMAN_DATADIR_DESC; ?>">
										<label for="datamanagerDir"><?php echo _DATADIR; ?></label>                                        
										<div class="input-group">	                                        
	                                        <span class="input-group-addon"><i class="fa fa-check green"></i></span>
	                                        <input type=text name="datamanagerDir" value="" class='form-control'>
	                                    </div>
                                    </div>

                                    <div class="form-group" data-help="<?php echo _DATAMAN_MAX_STORAGE_DESC; ?>">
                                    	<label for="datamanagerMaxStorage"><?php echo _DATAMAN_MAX_STORAGE; ?></label>
                                        <input id="datamanagerMaxStorage" class="form-control" type="text" name="datamanagerMaxStorage" value=""/>
                                    </div>

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

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



                        </form> <!-- the main FORM ENDS HERE -->

                        <div class="datamanager box box-solid" rel="_DATAMANAGER_SETTINGS" style="display:none;">
                            <div class="box-header bg-red">
                                <h3 class="box-title"><i class="fa fa-trash-o">&nbsp;</i><?php echo _CONTROLS; ?></h3>
                                
                            </div><!-- /.box-header -->

                            <div class="box-body">                              
                                    
                                    <button id="datamRunNow" class="btn btn-default" data-loading-text="<?php echo _RUNNING_DATAM; ?>.."><?php echo _RUN_DATAMAN_NOW;?></button>
                                    &nbsp;&nbsp;
                                    <button id="datamImpExp" class="btn btn-default" data-loading-text="<?php echo _RUNNING_DATAM; ?>.."><?php echo _IMPORT_EXPORT;?></button>
                                    &nbsp;&nbsp;
                                    <button id="datamViewArchive" class="btn btn-default" data-loading-text="<?php echo _LOADING_ARCHIVE; ?>..."><?php echo _VIEW_ARCHIVE;?></button>
                                    
                                    <div class="datamImExControls" style="display:none;">
                                        <div class="form-group">
                                            <label><?php echo _IMPORT_EXPORT_RANGE; ?></label>
                                            <?php DateSelector($from,$to); ?>
                                        </div>
                                        <div class="form-group">
                                            <button class="btn btn-default datamIm"><?php echo _IMPORT; ?></button>
                                            <button class="btn btn-default datamEx"><?php echo _EXPORT; ?></button>
                                        </div>
                                    </div>
                                    
                                <div style="clear:both">
                                    &nbsp;<br />&nbsp;
                                </div>  
                            </div><!-- /.box-body -->
                        </div><!-- /.box -->    




                        <div class="databaseinfo box box-solid box-success" rel="_DATABASE_INFO"  style="display:none;">
                            <div class="box-header">
                                <h3 class="box-title"><i class="fa fa-pencil">&nbsp;</i><?php echo _DATABASE_INFO; ?></h3>
                                
                            </div><!-- /.box-header -->

                            <div class="box-body">
                            	
                            	<div class="dbinfotxt"></div>

                            	<table id="database_info_table" class="table table-bordered" cellspacing="0" width="100%"></table>									
                            	
                            </div><!-- /.box-body -->
                        </div><!-- /.box -->


                        <div class="deletedata box box-solid box-success" rel="_DELETE_DATA" style="display:none;">
                            <div class="box-header">
                                <h3 class="box-title"><i class="fa fa-pencil">&nbsp;</i><?php echo _DELETE_RANGE_PROFILE; ?></h3>
                                
                            </div><!-- /.box-header -->

                            <div class="box-body table-responsive">								
                            	<form id="delete_form" action="#">
									<div class="form-group" data-help="<?php echo _DELETE_DATE_RANGE_EXPLAIN;?>">
                                    	<label><?php echo _DELETE_DATE_RANGE_FROM; ?></label>
									    <input type=hidden name=del value=6>
									    <?php DateSelector($from,$to); ?>
									</div>

									<div class="form-group" data-help="<?php echo _DELETE_OPTIONS_EXPLAIN; ?>">                                    
									    <label><?php echo _DELETE_OPTIONS; ?></label>
									    <div class="radio">
									    	<label><input type=radio name=what value=2 checked><?php echo _ALL_DATA_DELETE; ?></label>
									    </div>
									    <div class="radio">
									    	<label><input type=radio name=what value=1><?php echo _DATABASE_ONLY; ?><br></label>
									    </div>
									    <div class="radio">
									    	<label><input type=radio name=what value=4><?php echo _DATAFILES_ONLY; ?></label>
									    </div>
									</div>

									
									<button class="btn btn-primary delbutton" data-loading-text="<?php echo _PLEASE_BE_PATIENT_DELETING_TAKES_A_WHILE; ?>"><?php echo _DELETE; ?></button>
								</form>
						
                            </div><!-- /.box-body -->
                        </div><!-- /.box -->


                        <div class="deletedata box box-solid" rel="_DELETE_DATA" style="display:none;">
                            <div class="box-header bg-red">
                                <h3 class="box-title"><i class="fa fa-trash-o">&nbsp;</i><?php echo _BULK_DELETE; ?></h3>
                                
                            </div><!-- /.box-header -->

                            <div class="box-body">								
                            		
                                    <button class="btn btn-default deldatabasebut" data-loading-text="<?php echo _DELETING; ?>..."><?php echo _DELETE_DATABASE;?></button>
                                    &nbsp;&nbsp;<br><br>
                                    <button class="btn btn-default delprofilebut" data-loading-text="<?php echo _DELETING; ?>..."><?php echo _DELETE_PROFILE_AND_DATABASE;?></button>
                                    
                                    
 								<div style="clear:both">
                                    &nbsp;<br />&nbsp;
                                </div>	
                            </div><!-- /.box-body -->
                        </div><!-- /.box -->
									


                        <div class="exportprofilesettings box box-solid box-success" rel="_EXPORT_PROFILE_SETTINGS" style="display:none;">
                            <div class="box-header">
                                <h3 class="box-title"><i class="fa fa-pencil">&nbsp;</i><?php echo _EXPORT_PROFILE_SETTINGS; ?></h3>                                
                            </div>
                            <div class="box-body">
                                <div class="form-group" data-help="<?php echo _EXPORT_SETTINGS_TO_INSTALL ."<br/><br/>". _FIND_THIS_UNDER .": <a href='index.php#_IMPORT_PROFILES'>". _CONTROL_PANEL ." > ". _IMPORT_PROFILES ."</a>"; ?>">
                                    <p><?php echo _EXPORT_SETTINGS_TO_JSON; ?></p>
                                    <form action="app/model/ExportSettings.php" method="POST">
                                    <input type="hidden" value="" name="conf" />
                                    <input class="btn btn-info" type="submit" value="<?php echo _EXPORT; ?>" name="exportSettings" />
                                </div>
                                <div style="clear:both"></div>
                            </div>
                        </div>

                        <div class="exportdata box box-solid box-success" rel="_EXPORT_DATA" style="display:none;">
                            <div class="box-header">
                                <h3 class="box-title"><i class="fa fa-pencil">&nbsp;</i><?php echo _EXPORT_DATA; ?></h3>
                                
                            </div><!-- /.box-header -->

                            <div class="box-body exportform">

                                <form> 
                                    <div class="form-group" data-help="<?php echo _YOU_CAN_EXPORT_DATA_FROM_TABLE._IN_ORDER_TO_BACKUP;?>">
                                        <label><?php echo _BACKUP_EXPORT_DATE_RANGE_FROM; ?></label>
                                        <input type=hidden name="backup" value="2">
                                        <?php DateSelector($from,$to); ?>
                                    </div>

                                    <div class="form-group" data-help="<?php echo _YOU_CAN_EXPORT_DATA_FROM_TABLE._IN_ORDER_TO_BACKUP;?>">
                                        <label><?php echo _FILE_FORMAT; ?></label>
                                        <select name="mode" class="form-control">
                                            <option value="log" selected> <?php echo _APACHE_COMBINED_LOG_FILE_FORMAT; ?></option>
                                            <option value="csv"> <?php echo _CSV_FORMAT; ?> </option>
                                        </select>
                                        
                                    </div>

                                </form>
                               
                                <button class="btn btn-primary exportbutton" data-loading-text="<?php echo _CREATING_EXPORT_FILES; ?>"><?php echo _EXPORT; ?></button>


                                <div style="clear:both">
                                    &nbsp;<br />&nbsp;
                                </div>  
                            </div><!-- /.box-body -->
                        </div><!-- /.box -->


                        <div class="automation box box-solid box-success" rel="_AUTOMATION" style="display:none;">
                            <div class="box-header">
                                <h3 class="box-title"><i class="fa fa-pencil">&nbsp;</i><?php echo _AUTOMATE_UPDATING_OF_STATS; ?></h3>
                                
                            </div><!-- /.box-header -->

                            <div class="box-body"> 

                                <?php
                                if ($session->isAdmin()) {
                                ?>

                                    <?php echo _AUTOMATE_UPDATING_OF_STATS_1;?> <a href="https://www.logaholic.com/manual/profile-configuration/automation/automating-updates/" target=_blank><b><?php echo _IN_THE_MANUAL;?></b></a>.
                                    <br>&nbsp;
                                    <p><?php echo _EXAMPLE_OF_CRON_JOB; ?></p>

                                    <p style="padding:16px;"><span style="border:1px solid silver;padding:8px;background-color:#e0e0e0"><?php 
                                    $w_path = $_SERVER['PHP_SELF'];
                                    $wpath = dirname($w_path);
                                    $wpath = explode("/",$wpath); array_pop($wpath); array_pop($wpath); 
                                    $wpath = implode("/", $wpath);
                                    echo "<b>*/60 * * * * wget -q -O /dev/null \\";
                                    ?>
                                    </span></p>
                                    <?php echo _MULTIPLE_WAYS_TO_AUTOMATE_1;?> <a href="https://www.logaholic.com/manual/profile-configuration/automation/automating-updates/" target=_blank><?php echo _IN_THE_MANUAL;?></a> <?php echo _MULTIPLE_WAYS_TO_AUTOMATE_2;?>.</p>
      
                                <?php
                                } else {
                                    echo _AUTOMATED_HANDLING_BY_ADMIN;
                                }
                                ?>  

                                <div style="clear:both">
                                    &nbsp;<br />&nbsp;
                                </div>  
                            </div><!-- /.box-body -->
                        </div><!-- /.box -->

                        <div class="updateoptions box box-solid box-success" rel="_UPDATE_OPTIONS" style="display:none;">
                            <div class="box-header">
                                <h3 class="box-title"><i class="fa fa-pencil">&nbsp;</i><?php echo _UPDATE_OPTIONS; ?></h3>
                                
                            </div><!-- /.box-header -->

                            <div class="box-body">

                                <div class="form-group" data-help="">
                                    <label><?php echo _UPDATE_STATISCTICS; ?></label>
                                    <br>
                                    <button class="btn btn-primary update_regular pull-left" style="margin:6px 8px"><?php echo _UPDATE_NOW; ?></button>
                                    <div style="padding-top:12px;"><?php echo _UPDATE_NOW_EXPLAIN; ?></div>
                                </div>
                                &nbsp;<br>                                
                                <hr>
                                <div class="form-group" data-help="">
                                    <label><?php echo _VIEW_RECENT_UPDATE_LOG; ?></label>
                                    <br>
                                    <button class="btn btn-default read_progress_log pull-left" style="margin:6px 8px"><?php echo _VIEW; ?></button>
                                    <div style="padding-top:12px;"><?php echo _VIEW_RECENT_UPDATE_LOG_EXPLAIN; ?></div>    
                                </div>
                                &nbsp;<br>
                                <hr>
                                <div class="form-group" data-help="">
                                    <label><?php echo _UPDATE_STATS_WOUT_DATE_RANGE_CHECKS; ?></label>
                                    <br>
                                    <button class="btn btn-default update_force pull-left" style="margin:6px 8px"><?php echo _UPDATE_NOW; ?></button>
                                    <?php echo _UPDATE_STATS_WOUT_DATE_RANGE_CHECKS_EXPLAIN; ?>
                                </div>
                                
                                <div class="form-group" data-help="">
                                    <label><?php echo _UPDATE_STATS_WOUT_DATE_RANGE_CHECKS; ?> <?php echo _AND_MOVE_FILE; ?></label>
                                    <br>
                                    <button class="btn btn-default update_move pull-left" style="margin:6px 8px"><?php echo _UPDATE_NOW; ?></button>
                                    <?php echo _MOVE_TO_DONE; ?>. <?php _UPDATE_STATS_WOUT_DATE_RANGE_CHECKS_REF; ?>.
                                </div>
                                &nbsp;<br>
                                <hr>
                                <div class="form-group" data-help="<?php echo _UPDATE_COUNTRY_INFORMATION_EXPLAIN; ?>">
                                    <label><?php echo _UPDATE_COUNTRY_INFORMATION; ?></label>
                                                                            
                                    <div style="padding-left:8px;">
                                        <form id="update_countries_form">
                                        <?php DateSelector($from,$to); ?>
                                        </form>
                                    </div>
                                    <div style="padding-top:6px;">
                                        <button class="btn btn-default update_country pull-left" data-loading-text="<?php echo _UPDATING; ?> ..." style="margin:6px 8px"><?php echo _UPDATE_NOW; ?></button>
                                        <div class="default_update_country"><?php echo _UPDATE_COUNTRIES; ?></div>
                                        
                                        <div class="active_update_country" style="display:none;padding-top:6px;">
                                            <span class="update_country_message"></span>
                                            <span class="pull-right complete_txt">0% <?php echo _COMPLETE; ?></span>
                                            <div class="progress sm progress-striped active">
                                                <div style="width: 0" aria-valuemax="100" aria-valuemin="0" aria-valuenow="0" role="progressbar" class="progress-bar progress-bar-primary">
                                                </div>
                                            </div>
                                    </div>
                                    
                                </div>

                                <div style="clear:both">
                                    &nbsp;<br />&nbsp;
                                </div>  
                            </div><!-- /.box-body -->
                        </div><!-- /.box -->

					</section>

					<!-- right side ihelp box -->
                    <section class="col-sm-5">

                        <div class="box box-solid exportedfiles" style="min-height:250px;display:none;">
                            <div class="box-header bg-navy">                                                          
                                <h3 class="box-title"><i class="fa fa-folder-open-o"></i> &nbsp;<span><?php echo _EXPORTED_FILES; ?></span></h3>                                
                            </div>
                            <div class="box-body" style="max-height:400px;overflow:auto;">
                                <table id="exportedfiles_table" class="table table-bordered" cellspacing="0" width="100%"></table>
                                <div class="form-group">
                                    <button class="btn btn-danger delete-exportedfiles" data-loading-text="<?php echo _DELETING; ?> ..."><?php echo _DELETE; ?></button>
                                </div>
                            </div>
                        </div>

                        <div class="box box-solid datamLogsList" style="min-height:250px;display:none;">
                            <div class="box-header bg-navy">                                                          
                                <h3 class="box-title"><i class="fa fa-folder-open-o">&nbsp;</i> <span><?php echo _LOG_FILES; ?></span></h3>                                
                            </div>
                            <div class="box-body"><div class="archives"><ul></ul></div></div>
                        </div>

                         <div class="box box-solid progressListener" style="min-height:250px;display:none;">
                            <div class="box-header bg-navy">                                                          
                                <h3 class="box-title"></h3>                                
                            </div>
                            <div class="box-body"></div>
                        </div>

						
						<div class="box box-solid loglist" style="min-height:250px;display:none;">
                            <div class="box-header bg-navy">                                
                                <h3 class="box-title"><i class="fa fa-folder-open-o done" style="display:none">&nbsp;</i><i class="fa fa-cog fa-spin working"> </i> <span><?php echo _LOG_FILES; ?></span></h3>
                                
                            </div><!-- /.box-header -->

                            <div class="box-body">		
								<div id="txtHint" style='margin-top:-4px;'>
        							
        						</div>

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

                    	<div class="box box-solid box-warning helptxt" style="min-height:250px">
                            <div class="box-header">                                                          
                                <h3 class="box-title"><i class="fa fa-info-circle">&nbsp;</i> <span><?php echo _HELP; ?></span></h3>
                                
                            </div><!-- /.box-header -->

                            <div class="box-body">								
                            		
									<?php echo _ENTER_GENERAL_SETUP_INFO;?>								
								

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


                    </section>
                </div><!-- /.row (main row) -->
            </div>
<?php
print_gzipped_output();
?>