{$ADMIN_HEADER}
<div class="setdiv" id="content">
{if $smsg neq ''}
<div style="width: 400px;" class="succmsg">
{$smsg}
</div>
{elseif $msg neq ''}
<div style="width: 400px;" class="errormsg">
{$msg}
</div>
{/if}
<div id="full-contentdiv"><div class="righttop">
<h2 align="center">Manage Rotating Login Pages</h2></div>
<div class="whole-page clear">
{literal}
<link type="text/css" rel="stylesheet" href="{$ADMIN_CSS_DIR}/phpSortable.css"/>
{literal}
<div class="sortable">
<table class="titleTable">
<tbody><tr {if $msgnodata1 neq ''}style="display:none;"{/if}>
<td/>
<td align="right" width="20%" style="font-size: 11px;">Add New Files <a href="./admin_login_rotate_m.php"><img border="0" title="Add New Files" src="{$ADMIN_IMAGE_DIR}/phpgrid/add.gif"/></a>
</td>
</tr>
</tbody></table>
<table cellspacing="2" cellpadding="2" border="0" class="contentTable">
{if $msgnodata neq ''}
<tr class="contentRow1">
<td class="emptyMsg" colspan="">{$msgnodata}</td>
</tr>
{/if}
{if $msgnodata1 neq ''}
<tr class="contentRow1">
<td class="emptyMsg" colspan="">{$msgnodata1}</td>
</tr>
{/if}
</table>
<table cellspacing="2" cellpadding="2" border="0" class="contentTable" {if $msgnodata neq '' or $msgnodata1 neq ''}style="display:none;"{/if}>
<tbody><tr class="headerRow">
<td nowrap="" class="headerCell" style="color:#000000">
<b>FileName</b>
</td>
<td nowrap="" class="headerCell" style="color:#000000">
<b>Modified On</b>
</td>
<td nowrap="" class="headerCell" style="color:#000000">
<b>Status</b>
</td>
<td nowrap="" class="headerCell" style="color:#000000">
</td>
</tr>
{foreach from=$lapageinfo item=array}
<tr class="contentRow1" onmouseout="this.className='contentRow1';" onmouseover="this.className='contentMouseOver';">
<td class="contentCell">{$array.filename}</td>
<td class="contentCell">{$array.modifiedon}</td>
{if $array.status eq 'Excluded'}
<td class="contentCell" nowrap="nowrap"><span style="color:#FF0000;font-weight:bold;">{$array.status}</span> <a style="font-weight:normal;" href="admin_login_rotate_v.php?action=rename&filename={$array.filename}">(Include this)</a></td>
{else}
<td class="contentCell" nowrap="nowrap"><span style="color:#1A8310;font-weight:bold;">{$array.status}</span> <a style="font-weight:normal;" href="admin_login_rotate_v.php?action=rename&filename={$array.filename}">(Exclude this)</a></td>
{/if}
<td width="2%" title="delete" alt="delete">
<a onclick="return confirm('Are you sure you want to delete this File?')" href="admin_login_rotate_m.php?action=delete&filename={$array.filename}">
<img border="0" src="{$ADMIN_IMAGE_DIR}/phpgrid/delete.gif"/>
</a>
</td>
</tr>
{/foreach}
</tbody></table><table>
</table>
<table cellspacing="0" cellpadding="5" border="0" class="fooTable">
<tbody><tr class="fooRow">
<td class="fooNavLeft"></td>
<td class="fooNavMiddle">
</td>
<td class="fooNavRight">
</td>
</tr>
</tbody></table>
</div>
</div>
<div style="width: 900px ! important;" class="comment-div">
<strong>To enable Rotating Login Pages functionality into MembersGear, following requirements should be met.</strong><br/>
<br/>
1. Create directory into YOURSITEPATH/member/rotating_login_pages.<br/> <br/>
2. Make sure to link your rotating login page to your main members area.<br/> <br/>
3. Make this directory readable and writable.<br/> <br/>
4. Set "Enable Rotating Login Pages" into Global Setting to "yes" to enable this functionality.<br/> <br/>
5. Click on "Add New Files" link to upload new rotating pages.<br/> <br/>
6. If you would like to exclude existing login rotating pages, just click on "Exclude" link so that pages will not be randomly chosen after user login. <br/> <br/>
7. If you would like to include the excluded pages, just click on "Include" link against the appropriate page name and it will be included back into rotating pages list.<br/> <br/>
</div>
</div></div>
{$ADMIN_FOOTER}