clipbucket/upload/admin_area/styles/cbv3/layout/maintenance.html
Arslan Hassan b644d22653 Updated : Maintainence Style
Added : Stylised PHPinfo
2012-08-01 13:26:51 +00:00

96 lines
No EOL
3.7 KiB
HTML

<h2>
Website Maintenance
<img src="{$imageurl}/help.png" border="0" rel="tooltip" title="Remove inactive sessions, user logs and old user feeds" />
</h2>
<div class="height5"></div>
Remove inactive sessions, user access logs, comments cache, more options will be available soon
<div class="height10"></div>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>Description</th>
<th>Tool</th>
</tr>
</thead>
<tbody>
<tr>
<td>Remove sessions that are not active from past 5 minutes or more.</td>
<td><a href="?mode=remove_sessions" class="btn">Remove inactive sessions</a></td>
</tr>
<tr>
<td>Remove user access log which is older than specified date.</td>
<td>
<a href="javascript:void(0)" class="btn" onclick="$('#access_remove_form').show()" style="">Remove user access log</a>
<div style="display:none" id="access_remove_form">
<div class="height10"></div>
<form method="get" class="form-horizontal">
<div class="input-prepend input-append">
<input name="mode" value="remove_access_log" type="hidden" />
<span class="add-on">older than </span><input name="days" type="text" class="input-mini" value="30"/><span class="add-on">Days</span>
</div>
<input type="submit" class="btn" value="Go"/>
</form>
</div>
</td>
</tr>
<tr>
<td>Remove user activity feed which is older than specified date.</td>
<td>
<a href="javascript:void(0)" class="btn" onclick="$('#activity_remove_form').show()" style="">Remove user activity feed</a>
<div style="display:none" id="activity_remove_form">
<div class="height10"></div>
<form method="get" class="form-horizontal">
<div class="input-prepend input-append">
<input name="mode" value="remove_activity_feed" type="hidden" />
<span class="add-on">
older than
</span><input name="days" type="text"
class="input-mini" value="30"/><span
class="add-on">Days, with loop size of</span><input
name="loop_size" class="input-mini" value="100"><span
class="add-on">users</span>
</div>
<input type="submit" class="btn" value="Go"/>
</form>
</div>
</td>
</tr>
</tbody>
</table>
{if $smarty.get.mode =='remove_activity_feed'}
{if $indexing}
<div align="right" style="padding:5px">{$from} - {$to} of {$total}</div>
<ul>
{foreach from=$index_msgs item=themsg}
<li>{$themsg}</li>
{/foreach}
</ul>
{if $stop_loop!='yes'}
<script type="text/javascript">
var start_index = '{$next_index}';
var loop_size = '{$smarty.get.loop_size}';
var mode = '{$mode}';
var days = '{$smarty.get.days}';
{literal}$(document).oneTime(2000,function(){
$(window.location).attr('href', '?loop_size='+loop_size+'&mode='+mode+'&start_index='+start_index+'&days'+days)});{/literal}
</script>
redirecting....do not close this window
{else}
Indexing has been completed.
{/if}
{/if}
{/if}