<? global $vis_language; ?>
<section id="breadcrumb" class="row m-b m-l-none m-r-none">
   <div class="col-sm-6">
      <h3 class="m-b-xs text-black"><? echo $vis_language['TXTSYSTEMCLEANUP'];?></h3>
      <ul class="breadcrumb bg-empty no-border m-b-xxs no-padder">
         <li><a class="link" href="#/home/quick_view/<? echo $vis_language['TXTHOME']; ?>"><? echo $vis_language['TXTHOME']; ?></a></li>
         <li><a class="link" href="#/setting/setting_menu/<? echo $vis_language['TXTSETTINGS'];?>" onclick="$('#vis_workpanel_div').visExecution('load_module','<? echo $vis_language['TXTSETTINGS'];?>',{'vis_module':'setting','vis_operation':'setting_menu'});"><? echo $vis_language['TXTSETTINGS']; ?></a></li>
         <li class="active"><?echo $vis_language['TXTSYSTEMCLEANUP'];?></li>
      </ul>
   </div>
</section>
<section class="padder">
   <section class="panel panel-default">
      <header class="panel-heading sub_header"><? echo $vis_language['TXTSYSTEMCLEANUP']; ?></header>
      <div class="panel-body">
         <form class="form-horizontal" id="vis_cleanup_form" name="vis_cleanup_form" method="post" >
            <div class="form-group">
              <section class="padder">
				  <div id="vis_domain_admin">

					<div class="form-group">
					  <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTUPTODATE']; ?></label>
					  <div class="col-sm-2">
						<input type="text" class="form-control input-sm start" id="vis_date" name="vis_date" />
						<i></i> <? echo $vis_language['']; ?>
					  </div>
					</div>
					<div class="form-group">
					  <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTERRORLOG']; ?></label>
					  <div class="col-sm-10">
						<div class="checkbox i-checks m-r-lg pull-left p-d-sm">
						  <label>
							<input type="checkbox" value="1" id="vis_error_log" name="vis_error_log"/>
							<i></i> <? echo $vis_language['TXTCLEANERROLOG']; ?></label>
						</div>
					  </div>
					</div>
					<div class="form-group">
					  <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTPARSERLOG']; ?></label>
					  <div class="col-sm-10">
						<div class="checkbox i-checks m-r-lg pull-left p-d-sm">
						  <label>
							<input type="checkbox" value="1" id="vis_parser_log" name="vis_parser_log"/>
							<i></i> <? echo $vis_language['TXTCLEANPARSERLOG']; ?></label>
						</div>
					  </div>
					</div>
					<div class="form-group">
					  <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTSENTMAILLOG']; ?></label>
					  <div class="col-sm-10">
						<div class="checkbox i-checks m-r-lg pull-left p-d-sm">
						  <label>
							<input type="checkbox" value="1" id="vis_sentmail_log" name="vis_sentmail_log"/>
							<i></i> <? echo $vis_language['TXTCLEANSENTMAIL']; ?></label>
						</div>
					  </div>
					</div>
					<?if(VIS_MODULE_ACCESS_BILLING==1){?>
					<div class="form-group">
					  <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTGATEWAYTRANSACTIONSLOG']; ?></label>
					  <div class="col-sm-10">
						<div class="checkbox i-checks m-r-lg pull-left p-d-sm">
						  <label>
							<input type="checkbox" value="1" id="vis_transction_gatway_log" name="vis_transction_gatway_log"/>
							<i></i> <? echo $vis_language['TXTCLEANGATWAYTLOG']; ?></label>
						</div>
					  </div>
					</div><? } ?>
					<div class="form-group">
					  <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTACTIVITYLOG']; ?></label>
					  <div class="col-sm-10">
						<div class="checkbox i-checks m-r-lg pull-left p-d-sm">
						  <label>
							<input type="checkbox" value="1" id="vis_activity_log" name="vis_activity_log"/>
							<i></i> <? echo $vis_language['TXTCLEANACTIVITYLOG']; ?></label>
						</div>
					  </div>
					</div>
					<div class="form-group">
					  <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTAUDITLOG']; ?></label>
					  <div class="col-sm-10">
						<div class="checkbox i-checks m-r-lg pull-left p-d-sm">
						  <label>
							<input type="checkbox" value="1" id="vis_audit_log" name="vis_audit_log"/>
							<i></i> <? echo $vis_language['TXTCLEANAUDITLOG']; ?></label>
						</div>
					  </div>
					</div>
				 </div>
				</section>


            </div>
            <div class="line b-b line-lg pull-in"></div>
            <br/>
            <div class="form-group">
               <div class="col-sm-4 col-sm-offset-2">
                  <button type="button" class="btn btn-primary" onclick="$('#vis_workpanel_div').visExecution('submit_form',{'vis_module':'setting', 'vis_operation':'get_system_cleanup', 'vis_form':'vis_cleanup_form'})"><? echo $vis_language['TXTCLEANUP']; ?></button>
               </div>
            </div>
      </div>
      </form>
      </div>
   </section>
</section>
<script>
$('.start').datetimepicker({
        format: "<?php echo VIS_DATETIMEPICKER_FORMAT;?>"
	});
</script>
