mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-26 19:00:53 +00:00
EOL
This commit is contained in:
parent
8d854e3e8d
commit
9363bdc478
21 changed files with 3532 additions and 3532 deletions
|
@ -1,161 +1,161 @@
|
|||
{block name=content}
|
||||
<tr><td>
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr bgcolor="{$second_menu_bg_color}" valign="middle">
|
||||
<td>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellspacing="0" cellpadding="4">
|
||||
<tr>
|
||||
<td valign="middle" nowrap><a href="{$ingame_webpath}?page=show_user&id={$target_id}"><h7>Browse User</h7></a></td>
|
||||
<td valign="middle" nowrap><a href="{$ingame_webpath}?page=createticket&user_id={$target_id}"><h7>Send Ticket</h7></a></td>
|
||||
{if isset($isAdmin) and $isAdmin eq 'TRUE' and $target_id neq 1}
|
||||
{if $userPermission eq 1}
|
||||
<td valign="middle" nowrap><a href="{$ingame_webpath}?page=change_permission&user_id={$target_id}&value=2"><h7>Make Moderator</h7></a></td>
|
||||
<td valign="middle" nowrap><a href="{$ingame_webpath}?page=change_permission&user_id={$target_id}&value=3"><h7>Make Admin</h7></a></td>
|
||||
{else if $userPermission eq 2 }
|
||||
<td valign="middle" nowrap><a href="{$ingame_webpath}?page=change_permission&user_id={$target_id}&value=1"><h7>Demote to User</h7></a></td>
|
||||
<td valign="middle" nowrap><a href="{$ingame_webpath}?page=change_permission&user_id={$target_id}&value=3"><h7>Make Admin</h7></a></td>
|
||||
{else if $userPermission eq 3 }
|
||||
<td valign="middle" nowrap><a href="{$ingame_webpath}?page=change_permission&user_id={$target_id}&value=1"><h7>Demote to User</h7></a></td>
|
||||
<td valign="middle" nowrap><a href="{$ingame_webpath}?page=change_permission&user_id={$target_id}&value=2"><h7>Demote to Moderator</h7></a></td>
|
||||
{/if}
|
||||
{/if}
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="3" bgcolor="#000000"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="{$title_bg_color}" cellspacing="2">
|
||||
<tr><td height="7"></td><td></td></tr>
|
||||
<tr>
|
||||
<td width="3%"></td>
|
||||
<td width="100%" height="12" valign="middle"><h1>Change Settings of {$target_username}</h1></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="5"></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr bgcolor="#000000" valign="middle">
|
||||
<td>
|
||||
<table>
|
||||
<tr><td height="8"></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td height="2"></td></tr>
|
||||
<tr><td height="1" bgcolor="#000000"></td></tr>
|
||||
<tr><td height="10"></td></tr>
|
||||
<tr valign="middle">
|
||||
<td>
|
||||
<table width="100%" height="100%" cellpadding="10">
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="{$main_tbl_color}" border="2">
|
||||
<tr><td>
|
||||
<table cellpadding="10">
|
||||
<tr><td>
|
||||
|
||||
<p><h3>Change Password</h3></p>
|
||||
|
||||
<form id="changePassword" method="post" action="{$ingame_webpath}?page=settings&id={$target_id}">
|
||||
<table cellpadding="1">
|
||||
{if !isset($changesOther) or $changesOther eq "FALSE"}
|
||||
<tr>
|
||||
<td valign="middle">
|
||||
Current Password:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" id="CurrentPass" name="CurrentPass" {if isset($prevCurrentPass)}value="{$prevCurrentPass}"{/if}>
|
||||
{if isset($MATCH_ERROR) and $MATCH_ERROR eq "TRUE"}<font color="red">The password is incorrect</font>{/if}
|
||||
</td>
|
||||
</p>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr><td valign="middle">
|
||||
New Password:
|
||||
</td><td>
|
||||
<input type="text" class="input-xlarge" id="NewPass" name="NewPass" placeholder="Your new password" {if isset($prevNewPass)}value="{$prevNewPass}"{/if}>
|
||||
{if isset($NEWPASSWORD_ERROR) and $NEWPASSWORD_ERROR eq "TRUE"}<font color="red">{$newpass_error_message}</font>{/if}
|
||||
</td></tr>
|
||||
|
||||
<tr><td valign="middle">
|
||||
Confirm New Password:
|
||||
</td><td>
|
||||
<input type="text" class="input-xlarge" id="ConfirmNewPass" name="ConfirmNewPass" placeholder="Re-enter the new password" {if isset($prevConfirmNewPass)}value="{$prevConfirmNewPass}"{/if}>
|
||||
{if isset($CNEWPASSWORD_ERROR) and $CNEWPASSWORD_ERROR eq "TRUE"}<font color="red">{$confirmnewpass_error_message}</font>{/if}
|
||||
</td></tr>
|
||||
</table>
|
||||
{if isset($SUCCESS_PASS) and $SUCCESS_PASS eq "OK"}
|
||||
<p><font color="green">
|
||||
The password has been changed!
|
||||
</font></p>
|
||||
{/if}
|
||||
|
||||
|
||||
<input type="hidden" name="function" value="change_password">
|
||||
<input type="hidden" name="target_id" value="{$target_id}">
|
||||
|
||||
<p><input type="submit" value="Change Password"/></p>
|
||||
|
||||
</form>
|
||||
|
||||
</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="{$main_tbl_color}" border="2">
|
||||
<tr><td>
|
||||
<table cellpadding="10">
|
||||
<tr><td>
|
||||
<p><h3>Change Email</h3></p>
|
||||
|
||||
<form id="changeEmail" class="form-vertical" method="post" action="{$ingame_webpath}?page=settings&id={$target_id}">
|
||||
<table>
|
||||
<tr><td valign="middle">
|
||||
New Email:
|
||||
</td><td>
|
||||
<input type="text" class="input-xlarge" id="NewEmail" size="200" name="NewEmail" placeholder="Your new email" {if isset($prevNewEmail)}value="{$prevNewEmail}"{else if isset($current_mail)}value="{$current_mail}"{/if}>
|
||||
{if isset($EMAIL_ERROR) and $EMAIL_ERROR eq "TRUE"}<font color="red">{$EMAIL}</font>{/if}
|
||||
</td></tr>
|
||||
</table>
|
||||
{if isset($SUCCESS_MAIL) and $SUCCESS_MAIL eq "OK"}
|
||||
<p>
|
||||
<font color="green">The email has been changed!</green>
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
<input type="hidden" name="function" value="change_mail">
|
||||
<input type="hidden" name="target_id" value="{$target_id}">
|
||||
<p>
|
||||
<input type="submit" value="Change Email"/>
|
||||
</p>
|
||||
</form>
|
||||
</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</td></tr>
|
||||
|
||||
{/block}
|
||||
|
||||
{block name=content}
|
||||
<tr><td>
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr bgcolor="{$second_menu_bg_color}" valign="middle">
|
||||
<td>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellspacing="0" cellpadding="4">
|
||||
<tr>
|
||||
<td valign="middle" nowrap><a href="{$ingame_webpath}?page=show_user&id={$target_id}"><h7>Browse User</h7></a></td>
|
||||
<td valign="middle" nowrap><a href="{$ingame_webpath}?page=createticket&user_id={$target_id}"><h7>Send Ticket</h7></a></td>
|
||||
{if isset($isAdmin) and $isAdmin eq 'TRUE' and $target_id neq 1}
|
||||
{if $userPermission eq 1}
|
||||
<td valign="middle" nowrap><a href="{$ingame_webpath}?page=change_permission&user_id={$target_id}&value=2"><h7>Make Moderator</h7></a></td>
|
||||
<td valign="middle" nowrap><a href="{$ingame_webpath}?page=change_permission&user_id={$target_id}&value=3"><h7>Make Admin</h7></a></td>
|
||||
{else if $userPermission eq 2 }
|
||||
<td valign="middle" nowrap><a href="{$ingame_webpath}?page=change_permission&user_id={$target_id}&value=1"><h7>Demote to User</h7></a></td>
|
||||
<td valign="middle" nowrap><a href="{$ingame_webpath}?page=change_permission&user_id={$target_id}&value=3"><h7>Make Admin</h7></a></td>
|
||||
{else if $userPermission eq 3 }
|
||||
<td valign="middle" nowrap><a href="{$ingame_webpath}?page=change_permission&user_id={$target_id}&value=1"><h7>Demote to User</h7></a></td>
|
||||
<td valign="middle" nowrap><a href="{$ingame_webpath}?page=change_permission&user_id={$target_id}&value=2"><h7>Demote to Moderator</h7></a></td>
|
||||
{/if}
|
||||
{/if}
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="3" bgcolor="#000000"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="{$title_bg_color}" cellspacing="2">
|
||||
<tr><td height="7"></td><td></td></tr>
|
||||
<tr>
|
||||
<td width="3%"></td>
|
||||
<td width="100%" height="12" valign="middle"><h1>Change Settings of {$target_username}</h1></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="5"></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr bgcolor="#000000" valign="middle">
|
||||
<td>
|
||||
<table>
|
||||
<tr><td height="8"></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td height="2"></td></tr>
|
||||
<tr><td height="1" bgcolor="#000000"></td></tr>
|
||||
<tr><td height="10"></td></tr>
|
||||
<tr valign="middle">
|
||||
<td>
|
||||
<table width="100%" height="100%" cellpadding="10">
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="{$main_tbl_color}" border="2">
|
||||
<tr><td>
|
||||
<table cellpadding="10">
|
||||
<tr><td>
|
||||
|
||||
<p><h3>Change Password</h3></p>
|
||||
|
||||
<form id="changePassword" method="post" action="{$ingame_webpath}?page=settings&id={$target_id}">
|
||||
<table cellpadding="1">
|
||||
{if !isset($changesOther) or $changesOther eq "FALSE"}
|
||||
<tr>
|
||||
<td valign="middle">
|
||||
Current Password:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" id="CurrentPass" name="CurrentPass" {if isset($prevCurrentPass)}value="{$prevCurrentPass}"{/if}>
|
||||
{if isset($MATCH_ERROR) and $MATCH_ERROR eq "TRUE"}<font color="red">The password is incorrect</font>{/if}
|
||||
</td>
|
||||
</p>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr><td valign="middle">
|
||||
New Password:
|
||||
</td><td>
|
||||
<input type="text" class="input-xlarge" id="NewPass" name="NewPass" placeholder="Your new password" {if isset($prevNewPass)}value="{$prevNewPass}"{/if}>
|
||||
{if isset($NEWPASSWORD_ERROR) and $NEWPASSWORD_ERROR eq "TRUE"}<font color="red">{$newpass_error_message}</font>{/if}
|
||||
</td></tr>
|
||||
|
||||
<tr><td valign="middle">
|
||||
Confirm New Password:
|
||||
</td><td>
|
||||
<input type="text" class="input-xlarge" id="ConfirmNewPass" name="ConfirmNewPass" placeholder="Re-enter the new password" {if isset($prevConfirmNewPass)}value="{$prevConfirmNewPass}"{/if}>
|
||||
{if isset($CNEWPASSWORD_ERROR) and $CNEWPASSWORD_ERROR eq "TRUE"}<font color="red">{$confirmnewpass_error_message}</font>{/if}
|
||||
</td></tr>
|
||||
</table>
|
||||
{if isset($SUCCESS_PASS) and $SUCCESS_PASS eq "OK"}
|
||||
<p><font color="green">
|
||||
The password has been changed!
|
||||
</font></p>
|
||||
{/if}
|
||||
|
||||
|
||||
<input type="hidden" name="function" value="change_password">
|
||||
<input type="hidden" name="target_id" value="{$target_id}">
|
||||
|
||||
<p><input type="submit" value="Change Password"/></p>
|
||||
|
||||
</form>
|
||||
|
||||
</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="{$main_tbl_color}" border="2">
|
||||
<tr><td>
|
||||
<table cellpadding="10">
|
||||
<tr><td>
|
||||
<p><h3>Change Email</h3></p>
|
||||
|
||||
<form id="changeEmail" class="form-vertical" method="post" action="{$ingame_webpath}?page=settings&id={$target_id}">
|
||||
<table>
|
||||
<tr><td valign="middle">
|
||||
New Email:
|
||||
</td><td>
|
||||
<input type="text" class="input-xlarge" id="NewEmail" size="200" name="NewEmail" placeholder="Your new email" {if isset($prevNewEmail)}value="{$prevNewEmail}"{else if isset($current_mail)}value="{$current_mail}"{/if}>
|
||||
{if isset($EMAIL_ERROR) and $EMAIL_ERROR eq "TRUE"}<font color="red">{$EMAIL}</font>{/if}
|
||||
</td></tr>
|
||||
</table>
|
||||
{if isset($SUCCESS_MAIL) and $SUCCESS_MAIL eq "OK"}
|
||||
<p>
|
||||
<font color="green">The email has been changed!</green>
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
<input type="hidden" name="function" value="change_mail">
|
||||
<input type="hidden" name="target_id" value="{$target_id}">
|
||||
<p>
|
||||
<input type="submit" value="Change Email"/>
|
||||
</p>
|
||||
</form>
|
||||
</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</td></tr>
|
||||
|
||||
{/block}
|
||||
|
||||
|
|
|
@ -1,118 +1,118 @@
|
|||
{config_load file="ams_lib.conf" section="setup"}
|
||||
<div class="title">
|
||||
{$title}
|
||||
</div>
|
||||
|
||||
<div>
|
||||
{$welcome_message}
|
||||
</div>
|
||||
|
||||
{if $userRegistration == '0'|| $userRegistration == '1'}
|
||||
|
||||
<form name="Page1"
|
||||
method="post"
|
||||
>
|
||||
<table>
|
||||
<tr>
|
||||
<td width="33%" {if isset($USERNAME_ERROR) && $USERNAME_ERROR eq "TRUE"}class="error"{/if} id="caption-Username">{$username_tag} </td>
|
||||
|
||||
<td width="25%">
|
||||
<input type="text"
|
||||
name="Username"
|
||||
value="{if isset($Username)}{$Username}{/if}"
|
||||
maxlength="12"
|
||||
onfocus=
|
||||
"javascript:showTooltip('{$username_tooltip}', this);" />
|
||||
</td>
|
||||
|
||||
<td id="comment-Username" {if isset($USERNAME_ERROR) && $USERNAME_ERROR eq "TRUE"}class="error"{/if} width="42%">{if isset($USERNAME_ERROR) && $USERNAME_ERROR eq "TRUE"}{$USERNAME}{/if}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width="33%" {if isset($PASSWORD_ERROR) && $PASSWORD_ERROR eq "TRUE"}class="error"{/if} id="caption-Password">{$password_tag}</td>
|
||||
|
||||
<td width="25%">
|
||||
<input type="password"
|
||||
name="Password"
|
||||
value=""
|
||||
maxlength="20"
|
||||
onkeyup=
|
||||
"testPassword(document.Page1.Password.value, 'comment-Password')"
|
||||
onfocus="javascript:showTooltip('{$password_message}', this);" />
|
||||
</td>
|
||||
|
||||
<td id="comment-Password" {if isset($PASSWORD_ERROR) && $PASSWORD_ERROR eq "TRUE"}class="error"{/if} width="42%">{if isset($PASSWORD_ERROR) && $PASSWORD_ERROR eq "TRUE"}{$PASSWORD}{/if}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width="33%" {if isset($CPASSWORD_ERROR) && $CPASSWORD_ERROR eq "TRUE"}class="error"{/if} id="caption-ConfirmPass">{$cpassword_tag}</td>
|
||||
|
||||
<td width="25%"><input type="password"
|
||||
name="ConfirmPass"
|
||||
value=""
|
||||
maxlength="20"
|
||||
onfocus="javascript:showTooltip('{$cpassword_message}', this);" />
|
||||
</td>
|
||||
|
||||
<td id="comment-ConfirmPass" {if isset($CPASSWORD_ERROR) && $CPASSWORD_ERROR eq "TRUE"}class="error"{/if} width="42%">{if isset($CPASSWORD_ERROR) && $CPASSWORD_ERROR eq "TRUE"}{$CPASSWORD}{/if}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width="33%" {if isset($EMAIL_ERROR) && $EMAIL_ERROR eq "TRUE"}class="error"{/if} id="caption-Email">{$email_tag}</td>
|
||||
|
||||
<td width="25%">
|
||||
<input type="text"
|
||||
name="Email"
|
||||
value=""
|
||||
maxlength="255"
|
||||
onfocus=
|
||||
"javascript:showTooltip('{$email_message}', this);" />
|
||||
</td>
|
||||
|
||||
<td id="comment-Email" {if isset($EMAIL_ERROR) && $EMAIL_ERROR eq "TRUE"}class="error"{/if} width="42%">{if isset($EMAIL_ERROR) && $EMAIL_ERROR eq "TRUE"}{$EMAIL}{/if}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width=
|
||||
"33%" {if isset($TAC_ERROR) && $TAC_ERROR eq "TRUE"}class="error"{/if}
|
||||
colspan="2"><input type="checkbox"
|
||||
name="TaC"
|
||||
value="1"
|
||||
onfocus="javascript:showTooltip('', this);" /><span id=
|
||||
"caption-TaC">{$tac_tag}</span></td>
|
||||
{if isset($TAC_ERROR) && $TAC_ERROR eq "TRUE"}<td id="comment-TaC" class="error" width="42%">{$tac_message}</td>{/if}
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
<div class="c1">
|
||||
<input type="submit"
|
||||
name="Submit"
|
||||
value="Continue" />
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
{/if}
|
||||
|
||||
<div id="signupTooltip"
|
||||
class="c2"
|
||||
inset=""></div>
|
||||
|
||||
<div id="tooltip-Username">
|
||||
{$username_tooltip}
|
||||
</div>
|
||||
|
||||
|
||||
<div id="tooltip-Password">
|
||||
{$password_message}
|
||||
</div>
|
||||
|
||||
<div id="tooltip-ConfirmPass">
|
||||
{$cpassword_message}
|
||||
</div>
|
||||
|
||||
<div id="tooltip-Email">
|
||||
{$email_message}
|
||||
</div>
|
||||
|
||||
<div id="tooltip-TaC"></div>
|
||||
{config_load file="ams_lib.conf" section="setup"}
|
||||
<div class="title">
|
||||
{$title}
|
||||
</div>
|
||||
|
||||
<div>
|
||||
{$welcome_message}
|
||||
</div>
|
||||
|
||||
{if $userRegistration == '0'|| $userRegistration == '1'}
|
||||
|
||||
<form name="Page1"
|
||||
method="post"
|
||||
>
|
||||
<table>
|
||||
<tr>
|
||||
<td width="33%" {if isset($USERNAME_ERROR) && $USERNAME_ERROR eq "TRUE"}class="error"{/if} id="caption-Username">{$username_tag} </td>
|
||||
|
||||
<td width="25%">
|
||||
<input type="text"
|
||||
name="Username"
|
||||
value="{if isset($Username)}{$Username}{/if}"
|
||||
maxlength="12"
|
||||
onfocus=
|
||||
"javascript:showTooltip('{$username_tooltip}', this);" />
|
||||
</td>
|
||||
|
||||
<td id="comment-Username" {if isset($USERNAME_ERROR) && $USERNAME_ERROR eq "TRUE"}class="error"{/if} width="42%">{if isset($USERNAME_ERROR) && $USERNAME_ERROR eq "TRUE"}{$USERNAME}{/if}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width="33%" {if isset($PASSWORD_ERROR) && $PASSWORD_ERROR eq "TRUE"}class="error"{/if} id="caption-Password">{$password_tag}</td>
|
||||
|
||||
<td width="25%">
|
||||
<input type="password"
|
||||
name="Password"
|
||||
value=""
|
||||
maxlength="20"
|
||||
onkeyup=
|
||||
"testPassword(document.Page1.Password.value, 'comment-Password')"
|
||||
onfocus="javascript:showTooltip('{$password_message}', this);" />
|
||||
</td>
|
||||
|
||||
<td id="comment-Password" {if isset($PASSWORD_ERROR) && $PASSWORD_ERROR eq "TRUE"}class="error"{/if} width="42%">{if isset($PASSWORD_ERROR) && $PASSWORD_ERROR eq "TRUE"}{$PASSWORD}{/if}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width="33%" {if isset($CPASSWORD_ERROR) && $CPASSWORD_ERROR eq "TRUE"}class="error"{/if} id="caption-ConfirmPass">{$cpassword_tag}</td>
|
||||
|
||||
<td width="25%"><input type="password"
|
||||
name="ConfirmPass"
|
||||
value=""
|
||||
maxlength="20"
|
||||
onfocus="javascript:showTooltip('{$cpassword_message}', this);" />
|
||||
</td>
|
||||
|
||||
<td id="comment-ConfirmPass" {if isset($CPASSWORD_ERROR) && $CPASSWORD_ERROR eq "TRUE"}class="error"{/if} width="42%">{if isset($CPASSWORD_ERROR) && $CPASSWORD_ERROR eq "TRUE"}{$CPASSWORD}{/if}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width="33%" {if isset($EMAIL_ERROR) && $EMAIL_ERROR eq "TRUE"}class="error"{/if} id="caption-Email">{$email_tag}</td>
|
||||
|
||||
<td width="25%">
|
||||
<input type="text"
|
||||
name="Email"
|
||||
value=""
|
||||
maxlength="255"
|
||||
onfocus=
|
||||
"javascript:showTooltip('{$email_message}', this);" />
|
||||
</td>
|
||||
|
||||
<td id="comment-Email" {if isset($EMAIL_ERROR) && $EMAIL_ERROR eq "TRUE"}class="error"{/if} width="42%">{if isset($EMAIL_ERROR) && $EMAIL_ERROR eq "TRUE"}{$EMAIL}{/if}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width=
|
||||
"33%" {if isset($TAC_ERROR) && $TAC_ERROR eq "TRUE"}class="error"{/if}
|
||||
colspan="2"><input type="checkbox"
|
||||
name="TaC"
|
||||
value="1"
|
||||
onfocus="javascript:showTooltip('', this);" /><span id=
|
||||
"caption-TaC">{$tac_tag}</span></td>
|
||||
{if isset($TAC_ERROR) && $TAC_ERROR eq "TRUE"}<td id="comment-TaC" class="error" width="42%">{$tac_message}</td>{/if}
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
<div class="c1">
|
||||
<input type="submit"
|
||||
name="Submit"
|
||||
value="Continue" />
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
{/if}
|
||||
|
||||
<div id="signupTooltip"
|
||||
class="c2"
|
||||
inset=""></div>
|
||||
|
||||
<div id="tooltip-Username">
|
||||
{$username_tooltip}
|
||||
</div>
|
||||
|
||||
|
||||
<div id="tooltip-Password">
|
||||
{$password_message}
|
||||
</div>
|
||||
|
||||
<div id="tooltip-ConfirmPass">
|
||||
{$cpassword_message}
|
||||
</div>
|
||||
|
||||
<div id="tooltip-Email">
|
||||
{$email_message}
|
||||
</div>
|
||||
|
||||
<div id="tooltip-TaC"></div>
|
||||
|
|
|
@ -1,247 +1,247 @@
|
|||
{block name=content}
|
||||
<tr><td>
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr bgcolor="{$second_menu_bg_color}" valign="middle">
|
||||
<td>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellspacing="0" cellpadding="4">
|
||||
<tr>
|
||||
<td valign="middle" nowrap><a href="{$ingame_webpath}?page=show_user&id={$target_id}"><h7>Browse User</h7></a></td>
|
||||
<td valign="middle" nowrap><a href="{$ingame_webpath}?page=createticket&user_id={$target_id}"><h7>Send Ticket</h7></a></td>
|
||||
{if isset($isAdmin) and $isAdmin eq 'TRUE' and $target_id neq 1}
|
||||
{if $userPermission eq 1}
|
||||
<td valign="middle" nowrap><a href="{$ingame_webpath}?page=change_permission&user_id={$target_id}&value=2"><h7>Make Moderator</h7></a></td>
|
||||
<td valign="middle" nowrap><a href="{$ingame_webpath}?page=change_permission&user_id={$target_id}&value=3"><h7>Make Admin</h7></a></td>
|
||||
{else if $userPermission eq 2 }
|
||||
<td valign="middle" nowrap><a href="{$ingame_webpath}?page=change_permission&user_id={$target_id}&value=1"><h7>Demote to User</h7></a></td>
|
||||
<td valign="middle" nowrap><a href="{$ingame_webpath}?page=change_permission&user_id={$target_id}&value=3"><h7>Make Admin</h7></a></td>
|
||||
{else if $userPermission eq 3 }
|
||||
<td valign="middle" nowrap><a href="{$ingame_webpath}?page=change_permission&user_id={$target_id}&value=1"><h7>Demote to User</h7></a></td>
|
||||
<td valign="middle" nowrap><a href="{$ingame_webpath}?page=change_permission&user_id={$target_id}&value=2"><h7>Demote to Moderator</h7></a></td>
|
||||
{/if}
|
||||
{/if}
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="3" bgcolor="#000000"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="{$title_bg_color}" cellspacing="2">
|
||||
<tr><td height="7"></td><td></td></tr>
|
||||
<tr>
|
||||
<td width="3%"></td>
|
||||
<td width="100%" height="12" valign="middle"><h1>Change Settings of {$target_username}</h1></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="5"></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr bgcolor="#000000" valign="middle">
|
||||
<td>
|
||||
<table>
|
||||
<tr><td height="8"></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td height="2"></td></tr>
|
||||
<tr><td height="1" bgcolor="#000000"></td></tr>
|
||||
<tr><td height="10"></td></tr>
|
||||
<tr valign="middle">
|
||||
<td>
|
||||
<table width="100%" height="100%" cellpadding="10">
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="{$main_tbl_color}" border="2">
|
||||
<tr><td>
|
||||
<table cellpadding="10">
|
||||
<tr><td>
|
||||
|
||||
<p><h3>Change Password</h3></p>
|
||||
|
||||
<form id="changePassword" method="post" action="{$ingame_webpath}?page=settings&id={$target_id}">
|
||||
<table cellpadding="1">
|
||||
{if !isset($changesOther) or $changesOther eq "FALSE"}
|
||||
<tr>
|
||||
<td valign="middle">
|
||||
Current Password:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" id="CurrentPass" name="CurrentPass" {if isset($prevCurrentPass)}value="{$prevCurrentPass}"{/if}>
|
||||
{if isset($MATCH_ERROR) and $MATCH_ERROR eq "TRUE"}<font color="red">The password is incorrect</font>{/if}
|
||||
</td>
|
||||
</p>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr><td valign="middle">
|
||||
New Password:
|
||||
</td><td>
|
||||
<input type="text" class="input-xlarge" id="NewPass" name="NewPass" placeholder="Your new password" {if isset($prevNewPass)}value="{$prevNewPass}"{/if}>
|
||||
{if isset($NEWPASSWORD_ERROR) and $NEWPASSWORD_ERROR eq "TRUE"}<font color="red">{$newpass_error_message}</font>{/if}
|
||||
</td></tr>
|
||||
|
||||
<tr><td valign="middle">
|
||||
Confirm New Password:
|
||||
</td><td>
|
||||
<input type="text" class="input-xlarge" id="ConfirmNewPass" name="ConfirmNewPass" placeholder="Re-enter the new password" {if isset($prevConfirmNewPass)}value="{$prevConfirmNewPass}"{/if}>
|
||||
{if isset($CNEWPASSWORD_ERROR) and $CNEWPASSWORD_ERROR eq "TRUE"}<font color="red">{$confirmnewpass_error_message}</font>{/if}
|
||||
</td></tr>
|
||||
</table>
|
||||
{if isset($SUCCESS_PASS) and $SUCCESS_PASS eq "OK"}
|
||||
<p><font color="green">
|
||||
The password has been changed!
|
||||
</font></p>
|
||||
{/if}
|
||||
|
||||
|
||||
<input type="hidden" name="function" value="change_password">
|
||||
<input type="hidden" name="target_id" value="{$target_id}">
|
||||
|
||||
<p><input type="submit" value="Change Password"/></p>
|
||||
|
||||
</form>
|
||||
|
||||
</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="{$main_tbl_color}" border="2">
|
||||
<tr><td>
|
||||
<table cellpadding="10">
|
||||
<tr><td>
|
||||
<p><h3>Change Email</h3></p>
|
||||
|
||||
<form id="changeEmail" class="form-vertical" method="post" action="{$ingame_webpath}?page=settings&id={$target_id}">
|
||||
<table>
|
||||
<tr><td valign="middle">
|
||||
New Email:
|
||||
</td><td>
|
||||
<input type="text" class="input-xlarge" id="NewEmail" size="200" name="NewEmail" placeholder="Your new email" {if isset($prevNewEmail)}value="{$prevNewEmail}"{else if isset($current_mail)}value="{$current_mail}"{/if}>
|
||||
{if isset($EMAIL_ERROR) and $EMAIL_ERROR eq "TRUE"}<font color="red">{$EMAIL}</font>{/if}
|
||||
</td></tr>
|
||||
</table>
|
||||
{if isset($SUCCESS_MAIL) and $SUCCESS_MAIL eq "OK"}
|
||||
<p>
|
||||
<font color="green">The email has been changed!</green>
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
<input type="hidden" name="function" value="change_mail">
|
||||
<input type="hidden" name="target_id" value="{$target_id}">
|
||||
<p>
|
||||
<input type="submit" value="Change Email"/>
|
||||
</p>
|
||||
</form>
|
||||
</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="{$main_tbl_color}" border="2">
|
||||
<tr><td>
|
||||
<table cellpadding="10">
|
||||
<tr><td>
|
||||
<p><h3>Change Info</h3></p>
|
||||
<form id="changeEmail" class="form-vertical" method="post" action="{$ingame_webpath}?page=settings&id={$target_id}">
|
||||
<table>
|
||||
<tr>
|
||||
<td valign="middle">Firstname: </td>
|
||||
<td><input type="text" id="FirstName" name="FirstName" placeholder="Your firstname" {if isset($FirstName) and $FirstName neq ""}value="{$FirstName}"{/if}></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="middle">Lastname: </td>
|
||||
<td><input type="text" id="LastName" name="LastName" placeholder="Your lastname" {if isset($LastName) and $LastName neq ""}value="{$LastName}"{/if}></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="middle">Country: </td>
|
||||
<td><select name="Country">
|
||||
{foreach from=$country_array key=k item=v}
|
||||
<option value="{$k}" {if isset($Country) and $Country eq $k}selected="selected"{/if}>{$v}</option>
|
||||
{/foreach}
|
||||
</select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="middle">Gender</td>
|
||||
<td>
|
||||
<select name="Gender">
|
||||
<option value="0"{if isset($Gender) and $Gender eq 0}selected="selected"{/if}>Secret</option>
|
||||
<option value="1"{if isset($Gender) and $Gender eq 1}selected="selected"{/if}>Male</option>
|
||||
<option value="2"{if isset($Gender) and $Gender eq 2}selected="selected"{/if}>Female</option>
|
||||
</select></td>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{if isset($info_updated) and $info_updated eq "OK"}
|
||||
<p>
|
||||
<font color="green">The Info has been updated!</font>
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
<input type="hidden" name="function" value="change_info">
|
||||
<input type="hidden" name="target_id" value="{$target_id}">
|
||||
|
||||
<p>
|
||||
<input type="submit" value="Change Info"/>
|
||||
</p>
|
||||
</form>
|
||||
|
||||
</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="{$main_tbl_color}" border="2">
|
||||
<tr><td>
|
||||
<table cellpadding="10">
|
||||
<tr><td>
|
||||
<p><h3>Ticket-Update Mail Settings</h3></p>
|
||||
<form id="changeReceiveMail" class="form-vertical" method="post" action="{$ingame_webpath}?page=settings&id={$target_id}">
|
||||
<table>
|
||||
<tr><td valign="middle">
|
||||
Receive ticket updates
|
||||
</td><td>
|
||||
<select name="ReceiveMail">
|
||||
<option value="1" {if isset($ReceiveMail) and $ReceiveMail eq 1}selected="selected"{/if}>Yes</option>
|
||||
<option value="0" {if isset($ReceiveMail) and $ReceiveMail eq 0}selected="selected"{/if}>No</option>
|
||||
</select>
|
||||
</td></tr>
|
||||
</table>
|
||||
|
||||
<input type="hidden" name="function" value="change_receivemail">
|
||||
<input type="hidden" name="target_id" value="{$target_id}">
|
||||
<p>
|
||||
<input type="submit" value="Change Updates"/>
|
||||
</p>
|
||||
</form>
|
||||
|
||||
</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</td></tr>
|
||||
|
||||
{/block}
|
||||
|
||||
{block name=content}
|
||||
<tr><td>
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr bgcolor="{$second_menu_bg_color}" valign="middle">
|
||||
<td>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellspacing="0" cellpadding="4">
|
||||
<tr>
|
||||
<td valign="middle" nowrap><a href="{$ingame_webpath}?page=show_user&id={$target_id}"><h7>Browse User</h7></a></td>
|
||||
<td valign="middle" nowrap><a href="{$ingame_webpath}?page=createticket&user_id={$target_id}"><h7>Send Ticket</h7></a></td>
|
||||
{if isset($isAdmin) and $isAdmin eq 'TRUE' and $target_id neq 1}
|
||||
{if $userPermission eq 1}
|
||||
<td valign="middle" nowrap><a href="{$ingame_webpath}?page=change_permission&user_id={$target_id}&value=2"><h7>Make Moderator</h7></a></td>
|
||||
<td valign="middle" nowrap><a href="{$ingame_webpath}?page=change_permission&user_id={$target_id}&value=3"><h7>Make Admin</h7></a></td>
|
||||
{else if $userPermission eq 2 }
|
||||
<td valign="middle" nowrap><a href="{$ingame_webpath}?page=change_permission&user_id={$target_id}&value=1"><h7>Demote to User</h7></a></td>
|
||||
<td valign="middle" nowrap><a href="{$ingame_webpath}?page=change_permission&user_id={$target_id}&value=3"><h7>Make Admin</h7></a></td>
|
||||
{else if $userPermission eq 3 }
|
||||
<td valign="middle" nowrap><a href="{$ingame_webpath}?page=change_permission&user_id={$target_id}&value=1"><h7>Demote to User</h7></a></td>
|
||||
<td valign="middle" nowrap><a href="{$ingame_webpath}?page=change_permission&user_id={$target_id}&value=2"><h7>Demote to Moderator</h7></a></td>
|
||||
{/if}
|
||||
{/if}
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="3" bgcolor="#000000"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="{$title_bg_color}" cellspacing="2">
|
||||
<tr><td height="7"></td><td></td></tr>
|
||||
<tr>
|
||||
<td width="3%"></td>
|
||||
<td width="100%" height="12" valign="middle"><h1>Change Settings of {$target_username}</h1></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="5"></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr bgcolor="#000000" valign="middle">
|
||||
<td>
|
||||
<table>
|
||||
<tr><td height="8"></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td height="2"></td></tr>
|
||||
<tr><td height="1" bgcolor="#000000"></td></tr>
|
||||
<tr><td height="10"></td></tr>
|
||||
<tr valign="middle">
|
||||
<td>
|
||||
<table width="100%" height="100%" cellpadding="10">
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="{$main_tbl_color}" border="2">
|
||||
<tr><td>
|
||||
<table cellpadding="10">
|
||||
<tr><td>
|
||||
|
||||
<p><h3>Change Password</h3></p>
|
||||
|
||||
<form id="changePassword" method="post" action="{$ingame_webpath}?page=settings&id={$target_id}">
|
||||
<table cellpadding="1">
|
||||
{if !isset($changesOther) or $changesOther eq "FALSE"}
|
||||
<tr>
|
||||
<td valign="middle">
|
||||
Current Password:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" id="CurrentPass" name="CurrentPass" {if isset($prevCurrentPass)}value="{$prevCurrentPass}"{/if}>
|
||||
{if isset($MATCH_ERROR) and $MATCH_ERROR eq "TRUE"}<font color="red">The password is incorrect</font>{/if}
|
||||
</td>
|
||||
</p>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr><td valign="middle">
|
||||
New Password:
|
||||
</td><td>
|
||||
<input type="text" class="input-xlarge" id="NewPass" name="NewPass" placeholder="Your new password" {if isset($prevNewPass)}value="{$prevNewPass}"{/if}>
|
||||
{if isset($NEWPASSWORD_ERROR) and $NEWPASSWORD_ERROR eq "TRUE"}<font color="red">{$newpass_error_message}</font>{/if}
|
||||
</td></tr>
|
||||
|
||||
<tr><td valign="middle">
|
||||
Confirm New Password:
|
||||
</td><td>
|
||||
<input type="text" class="input-xlarge" id="ConfirmNewPass" name="ConfirmNewPass" placeholder="Re-enter the new password" {if isset($prevConfirmNewPass)}value="{$prevConfirmNewPass}"{/if}>
|
||||
{if isset($CNEWPASSWORD_ERROR) and $CNEWPASSWORD_ERROR eq "TRUE"}<font color="red">{$confirmnewpass_error_message}</font>{/if}
|
||||
</td></tr>
|
||||
</table>
|
||||
{if isset($SUCCESS_PASS) and $SUCCESS_PASS eq "OK"}
|
||||
<p><font color="green">
|
||||
The password has been changed!
|
||||
</font></p>
|
||||
{/if}
|
||||
|
||||
|
||||
<input type="hidden" name="function" value="change_password">
|
||||
<input type="hidden" name="target_id" value="{$target_id}">
|
||||
|
||||
<p><input type="submit" value="Change Password"/></p>
|
||||
|
||||
</form>
|
||||
|
||||
</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="{$main_tbl_color}" border="2">
|
||||
<tr><td>
|
||||
<table cellpadding="10">
|
||||
<tr><td>
|
||||
<p><h3>Change Email</h3></p>
|
||||
|
||||
<form id="changeEmail" class="form-vertical" method="post" action="{$ingame_webpath}?page=settings&id={$target_id}">
|
||||
<table>
|
||||
<tr><td valign="middle">
|
||||
New Email:
|
||||
</td><td>
|
||||
<input type="text" class="input-xlarge" id="NewEmail" size="200" name="NewEmail" placeholder="Your new email" {if isset($prevNewEmail)}value="{$prevNewEmail}"{else if isset($current_mail)}value="{$current_mail}"{/if}>
|
||||
{if isset($EMAIL_ERROR) and $EMAIL_ERROR eq "TRUE"}<font color="red">{$EMAIL}</font>{/if}
|
||||
</td></tr>
|
||||
</table>
|
||||
{if isset($SUCCESS_MAIL) and $SUCCESS_MAIL eq "OK"}
|
||||
<p>
|
||||
<font color="green">The email has been changed!</green>
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
<input type="hidden" name="function" value="change_mail">
|
||||
<input type="hidden" name="target_id" value="{$target_id}">
|
||||
<p>
|
||||
<input type="submit" value="Change Email"/>
|
||||
</p>
|
||||
</form>
|
||||
</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="{$main_tbl_color}" border="2">
|
||||
<tr><td>
|
||||
<table cellpadding="10">
|
||||
<tr><td>
|
||||
<p><h3>Change Info</h3></p>
|
||||
<form id="changeEmail" class="form-vertical" method="post" action="{$ingame_webpath}?page=settings&id={$target_id}">
|
||||
<table>
|
||||
<tr>
|
||||
<td valign="middle">Firstname: </td>
|
||||
<td><input type="text" id="FirstName" name="FirstName" placeholder="Your firstname" {if isset($FirstName) and $FirstName neq ""}value="{$FirstName}"{/if}></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="middle">Lastname: </td>
|
||||
<td><input type="text" id="LastName" name="LastName" placeholder="Your lastname" {if isset($LastName) and $LastName neq ""}value="{$LastName}"{/if}></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="middle">Country: </td>
|
||||
<td><select name="Country">
|
||||
{foreach from=$country_array key=k item=v}
|
||||
<option value="{$k}" {if isset($Country) and $Country eq $k}selected="selected"{/if}>{$v}</option>
|
||||
{/foreach}
|
||||
</select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="middle">Gender</td>
|
||||
<td>
|
||||
<select name="Gender">
|
||||
<option value="0"{if isset($Gender) and $Gender eq 0}selected="selected"{/if}>Secret</option>
|
||||
<option value="1"{if isset($Gender) and $Gender eq 1}selected="selected"{/if}>Male</option>
|
||||
<option value="2"{if isset($Gender) and $Gender eq 2}selected="selected"{/if}>Female</option>
|
||||
</select></td>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{if isset($info_updated) and $info_updated eq "OK"}
|
||||
<p>
|
||||
<font color="green">The Info has been updated!</font>
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
<input type="hidden" name="function" value="change_info">
|
||||
<input type="hidden" name="target_id" value="{$target_id}">
|
||||
|
||||
<p>
|
||||
<input type="submit" value="Change Info"/>
|
||||
</p>
|
||||
</form>
|
||||
|
||||
</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="{$main_tbl_color}" border="2">
|
||||
<tr><td>
|
||||
<table cellpadding="10">
|
||||
<tr><td>
|
||||
<p><h3>Ticket-Update Mail Settings</h3></p>
|
||||
<form id="changeReceiveMail" class="form-vertical" method="post" action="{$ingame_webpath}?page=settings&id={$target_id}">
|
||||
<table>
|
||||
<tr><td valign="middle">
|
||||
Receive ticket updates
|
||||
</td><td>
|
||||
<select name="ReceiveMail">
|
||||
<option value="1" {if isset($ReceiveMail) and $ReceiveMail eq 1}selected="selected"{/if}>Yes</option>
|
||||
<option value="0" {if isset($ReceiveMail) and $ReceiveMail eq 0}selected="selected"{/if}>No</option>
|
||||
</select>
|
||||
</td></tr>
|
||||
</table>
|
||||
|
||||
<input type="hidden" name="function" value="change_receivemail">
|
||||
<input type="hidden" name="target_id" value="{$target_id}">
|
||||
<p>
|
||||
<input type="submit" value="Change Updates"/>
|
||||
</p>
|
||||
</form>
|
||||
|
||||
</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</td></tr>
|
||||
|
||||
{/block}
|
||||
|
||||
|
|
|
@ -1,25 +1,25 @@
|
|||
|
||||
{include file="page_header_light.tpl"}
|
||||
|
||||
<h2>Shard Administration Website</h2>
|
||||
|
||||
<p>Use login: <b>guest</b> and password: <b>guest</b> to login.</p>
|
||||
|
||||
<table width="30%" border="0">
|
||||
<form action="index.php" method="post">
|
||||
<tr>
|
||||
<td>Login:</td>
|
||||
<td><input type="text" name="nel_login" value="guest"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Password:</td>
|
||||
<td><input type="password" name="nel_passwd" value="guest"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td><input type="submit" name="action" value="login">
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
|
||||
{include file="page_footer_light.tpl"}
|
||||
|
||||
{include file="page_header_light.tpl"}
|
||||
|
||||
<h2>Shard Administration Website</h2>
|
||||
|
||||
<p>Use login: <b>guest</b> and password: <b>guest</b> to login.</p>
|
||||
|
||||
<table width="30%" border="0">
|
||||
<form action="index.php" method="post">
|
||||
<tr>
|
||||
<td>Login:</td>
|
||||
<td><input type="text" name="nel_login" value="guest"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Password:</td>
|
||||
<td><input type="password" name="nel_passwd" value="guest"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td><input type="submit" name="action" value="login">
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
|
||||
{include file="page_footer_light.tpl"}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
{include file="page_header.tpl"}
|
||||
|
||||
|
||||
|
||||
{include file="page_footer.tpl"}
|
||||
|
||||
{include file="page_header.tpl"}
|
||||
|
||||
|
||||
|
||||
{include file="page_footer.tpl"}
|
||||
|
|
|
@ -1,115 +1,115 @@
|
|||
|
||||
{include file="page_header.tpl"}
|
||||
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="left" valign="center"><span class="alert">{$tool_alert_message}</span></td>
|
||||
<td align="right">
|
||||
<table cellpadding="1" cellspacing="5" border="0">
|
||||
<tr>
|
||||
{section name=onemenu loop=$tool_menu}
|
||||
<td height="22" class="boxed"><a href="{$tool_menu[onemenu].uri}">{$tool_menu[onemenu].title}</a></td>
|
||||
{/section}
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="left" valign="top" width="70%">
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Applications</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>ID</b></td>
|
||||
<td><b>Name</b></td>
|
||||
<td><b>URI</b></td>
|
||||
<td><b>Restriction</b></td>
|
||||
<td><b>Icon</b></td>
|
||||
<td><b>Order</b></td>
|
||||
<td><b>Visible</b></td>
|
||||
</tr>
|
||||
{section name=application loop=$tool_application_list}
|
||||
{cycle assign="trclass" values="row1,row0"}
|
||||
<tr class="{$trclass}">
|
||||
<td>{$tool_application_list[application].application_id}</td>
|
||||
<td><a href="tool_administration.php?toolmode=applications&toolaction=edit&application_id={$tool_application_list[application].application_id}">{$tool_application_list[application].application_name}</a></td>
|
||||
<td>{$tool_application_list[application].application_uri}</td>
|
||||
<td>{$tool_application_list[application].application_restriction}</td>
|
||||
<td>{$tool_application_list[application].application_icon}</td>
|
||||
<td>{$tool_application_list[application].application_order}</td>
|
||||
<td>{if $tool_application_list[application].application_visible == 1}Yes{else}No{/if}</td>
|
||||
</tr>
|
||||
{/section}
|
||||
</table>
|
||||
</td>
|
||||
|
||||
|
||||
<td align="right" valign="top" width="30%">
|
||||
<table width="90%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_administration.php?toolmode=applications" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Applications Details</th>
|
||||
</tr>
|
||||
{if $tool_application_edit_data.application_id}
|
||||
<tr>
|
||||
<td align="right">Id :</td>
|
||||
<td><input type="text" name="tool_form_application_id" value="{$tool_application_edit_data.application_id}" size="10" readonly></td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td align="right">Name :</td>
|
||||
<td><input type="text" name="tool_form_application_name" value="{$tool_application_edit_data.application_name}" maxlength="64" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">URI :</td>
|
||||
<td><input type="text" name="tool_form_application_uri" value="{$tool_application_edit_data.application_uri}" maxlength="255" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Restriction :</td>
|
||||
<td><input type="text" name="tool_form_application_restriction" value="{$tool_application_edit_data.application_restriction}" maxlength="64" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Icon :</td>
|
||||
<td><input type="text" name="tool_form_application_icon" value="{$tool_application_edit_data.application_icon}" maxlength="128" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Order :</td>
|
||||
<td><input type="text" name="tool_form_application_order" value="{$tool_application_edit_data.application_order}" maxlength="6" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Visible :</td>
|
||||
<td>
|
||||
<select name="tool_form_application_visible">
|
||||
<option value="1" {if $tool_application_edit_data.application_visible == 1}selected{/if}>Yes</option>
|
||||
<option value="0" {if $tool_application_edit_data.application_visible == 0}selected{/if}>No</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
|
||||
{if $tool_application_edit_data.application_id}
|
||||
<input type="submit" name="toolaction" value="update">
|
||||
<input type="submit" name="toolaction" value="delete" onclick="if (confirm('Are you sure you want to DELETE the application < {$tool_application_edit_data.application_name} > ?')) return true; return false;">
|
||||
{else}
|
||||
<input type="submit" name="toolaction" value="create">
|
||||
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{include file="page_footer.tpl"}
|
||||
|
||||
{include file="page_header.tpl"}
|
||||
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="left" valign="center"><span class="alert">{$tool_alert_message}</span></td>
|
||||
<td align="right">
|
||||
<table cellpadding="1" cellspacing="5" border="0">
|
||||
<tr>
|
||||
{section name=onemenu loop=$tool_menu}
|
||||
<td height="22" class="boxed"><a href="{$tool_menu[onemenu].uri}">{$tool_menu[onemenu].title}</a></td>
|
||||
{/section}
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="left" valign="top" width="70%">
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Applications</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>ID</b></td>
|
||||
<td><b>Name</b></td>
|
||||
<td><b>URI</b></td>
|
||||
<td><b>Restriction</b></td>
|
||||
<td><b>Icon</b></td>
|
||||
<td><b>Order</b></td>
|
||||
<td><b>Visible</b></td>
|
||||
</tr>
|
||||
{section name=application loop=$tool_application_list}
|
||||
{cycle assign="trclass" values="row1,row0"}
|
||||
<tr class="{$trclass}">
|
||||
<td>{$tool_application_list[application].application_id}</td>
|
||||
<td><a href="tool_administration.php?toolmode=applications&toolaction=edit&application_id={$tool_application_list[application].application_id}">{$tool_application_list[application].application_name}</a></td>
|
||||
<td>{$tool_application_list[application].application_uri}</td>
|
||||
<td>{$tool_application_list[application].application_restriction}</td>
|
||||
<td>{$tool_application_list[application].application_icon}</td>
|
||||
<td>{$tool_application_list[application].application_order}</td>
|
||||
<td>{if $tool_application_list[application].application_visible == 1}Yes{else}No{/if}</td>
|
||||
</tr>
|
||||
{/section}
|
||||
</table>
|
||||
</td>
|
||||
|
||||
|
||||
<td align="right" valign="top" width="30%">
|
||||
<table width="90%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_administration.php?toolmode=applications" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Applications Details</th>
|
||||
</tr>
|
||||
{if $tool_application_edit_data.application_id}
|
||||
<tr>
|
||||
<td align="right">Id :</td>
|
||||
<td><input type="text" name="tool_form_application_id" value="{$tool_application_edit_data.application_id}" size="10" readonly></td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td align="right">Name :</td>
|
||||
<td><input type="text" name="tool_form_application_name" value="{$tool_application_edit_data.application_name}" maxlength="64" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">URI :</td>
|
||||
<td><input type="text" name="tool_form_application_uri" value="{$tool_application_edit_data.application_uri}" maxlength="255" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Restriction :</td>
|
||||
<td><input type="text" name="tool_form_application_restriction" value="{$tool_application_edit_data.application_restriction}" maxlength="64" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Icon :</td>
|
||||
<td><input type="text" name="tool_form_application_icon" value="{$tool_application_edit_data.application_icon}" maxlength="128" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Order :</td>
|
||||
<td><input type="text" name="tool_form_application_order" value="{$tool_application_edit_data.application_order}" maxlength="6" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Visible :</td>
|
||||
<td>
|
||||
<select name="tool_form_application_visible">
|
||||
<option value="1" {if $tool_application_edit_data.application_visible == 1}selected{/if}>Yes</option>
|
||||
<option value="0" {if $tool_application_edit_data.application_visible == 0}selected{/if}>No</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
|
||||
{if $tool_application_edit_data.application_id}
|
||||
<input type="submit" name="toolaction" value="update">
|
||||
<input type="submit" name="toolaction" value="delete" onclick="if (confirm('Are you sure you want to DELETE the application < {$tool_application_edit_data.application_name} > ?')) return true; return false;">
|
||||
{else}
|
||||
<input type="submit" name="toolaction" value="create">
|
||||
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{include file="page_footer.tpl"}
|
||||
|
|
|
@ -1,185 +1,185 @@
|
|||
|
||||
{include file="page_header.tpl"}
|
||||
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="left" valign="center"><span class="alert">{$tool_alert_message}</span></td>
|
||||
<td align="right">
|
||||
<table cellpadding="1" cellspacing="5" border="0">
|
||||
<tr>
|
||||
{section name=onemenu loop=$tool_menu}
|
||||
<td height="22" class="boxed"><a href="{$tool_menu[onemenu].uri}">{$tool_menu[onemenu].title}</a></td>
|
||||
{/section}
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="left" valign="top" width="70%">
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="12">Domains</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>ID</b></td>
|
||||
<td><b>Name</b></td>
|
||||
<td><b>Application</b></td>
|
||||
<td><b>AS Host</b></td>
|
||||
<td><b>AS Port</b></td>
|
||||
<td><b>MFS Web</b></td>
|
||||
<td><b>RRD Path</b></td>
|
||||
<td><b>LAS Admin Path</b></td>
|
||||
<td><b>LAS Local Path</b></td>
|
||||
<td><b>Ring DB</b></td>
|
||||
<td><b>CS DB</b></td>
|
||||
<td><b>HD Check</b></td>
|
||||
</tr>
|
||||
{section name=domain loop=$tool_domain_list}
|
||||
{cycle assign="trclass" values="row1,row0"}
|
||||
<tr class="{$trclass}">
|
||||
<td>{$tool_domain_list[domain].domain_id}</td>
|
||||
<td><a href="tool_administration.php?toolmode=domains&toolaction=edit&domain_id={$tool_domain_list[domain].domain_id}">{$tool_domain_list[domain].domain_name}</a></td>
|
||||
<td>{$tool_domain_list[domain].domain_application}</td>
|
||||
<td>{$tool_domain_list[domain].domain_as_host}</td>
|
||||
<td>{$tool_domain_list[domain].domain_as_port}</td>
|
||||
<td>{$tool_domain_list[domain].domain_mfs_web}</td>
|
||||
<td>{$tool_domain_list[domain].domain_rrd_path}</td>
|
||||
<td>{$tool_domain_list[domain].domain_las_admin_path}</td>
|
||||
<td>{$tool_domain_list[domain].domain_las_local_path}</td>
|
||||
<td>{if $tool_domain_list[domain].domain_sql_string != ''}True{else}False{/if}</td>
|
||||
<td>{if $tool_domain_list[domain].domain_cs_sql_string != ''}True{else}False{/if}</td>
|
||||
<td>{if $tool_domain_list[domain].domain_hd_check == 1}Yes{else}No{/if}</td>
|
||||
</tr>
|
||||
{/section}
|
||||
</table>
|
||||
</td>
|
||||
|
||||
|
||||
<td align="right" valign="top" width="30%">
|
||||
<table width="90%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_administration.php?toolmode=domains" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Domain Details</th>
|
||||
</tr>
|
||||
{if $tool_domain_edit_data.domain_id}
|
||||
<tr>
|
||||
<td align="right">Id :</td>
|
||||
<td><input type="text" name="tool_form_domain_id" value="{$tool_domain_edit_data.domain_id}" size="10" readonly></td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td align="right">Name :</td>
|
||||
<td><input type="text" name="tool_form_domain_name" value="{$tool_domain_edit_data.domain_name}" maxlength="128" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Application :</td>
|
||||
<td><input type="text" name="tool_form_domain_application" value="{$tool_domain_edit_data.domain_application}" maxlength="128" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">AS Host :</td>
|
||||
<td><input type="text" name="tool_form_domain_as_host" value="{$tool_domain_edit_data.domain_as_host}" maxlength="128" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">AS Port :</td>
|
||||
<td><input type="text" name="tool_form_domain_as_port" value="{$tool_domain_edit_data.domain_as_port}" maxlength="5" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">MFS Web :</td>
|
||||
<td><input type="text" name="tool_form_domain_mfs_web" value="{$tool_domain_edit_data.domain_mfs_web}" maxlength="128" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">RRD Path :</td>
|
||||
<td><input type="text" name="tool_form_domain_rrd_path" value="{$tool_domain_edit_data.domain_rrd_path}" maxlength="255" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">LAS Admin Path :</td>
|
||||
<td><input type="text" name="tool_form_domain_las_admin_path" value="{$tool_domain_edit_data.domain_las_admin_path}" maxlength="255" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">LAS Local Path :</td>
|
||||
<td><input type="text" name="tool_form_domain_las_local_path" value="{$tool_domain_edit_data.domain_las_local_path}" maxlength="255" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Ring DB String :</td>
|
||||
<td><input type="text" name="tool_form_domain_sql_string" value="{$tool_domain_edit_data.domain_sql_string}" maxlength="128" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">CS DB String :</td>
|
||||
<td><input type="text" name="tool_form_domain_cs_sql_string" value="{$tool_domain_edit_data.domain_cs_sql_string}" maxlength="128" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%" align="right">HD Check :</td>
|
||||
<td>
|
||||
<select name="tool_form_domain_hd_check">
|
||||
<option value="1" {if $tool_domain_edit_data.domain_hd_check == 1}selected{/if}>Yes</option>
|
||||
<option value="0" {if $tool_domain_edit_data.domain_hd_check == 0}selected{/if}>No</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
|
||||
{if $tool_domain_edit_data.domain_id}
|
||||
<input type="submit" name="toolaction" value="update">
|
||||
<input type="submit" name="toolaction" value="delete" onclick="if (confirm('Are you sure you want to DELETE the domain < {$tool_domain_edit_data.domain_name} > ?')) return true; return false;">
|
||||
{else}
|
||||
<input type="submit" name="toolaction" value="create">
|
||||
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
|
||||
{if $tool_domain_nel_data}
|
||||
<br>
|
||||
<table width="90%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_administration.php?toolmode=domains" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Domain Data</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">ID :</td>
|
||||
<td><input type="text" name="tool_form_domain_nel_id" value="{$tool_domain_nel_data.domain_id}" maxlength="128" size="30" readonly ></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Name :</td>
|
||||
<td><input type="text" name="tool_form_domain_nel_name" value="{$tool_domain_nel_data.domain_name}" maxlength="128" size="30" readonly ></td>
|
||||
</tr>
|
||||
<!--<tr>
|
||||
<td align="right">Version :</td>
|
||||
<td><input type="text" name="tool_form_domain_nel_version" value="{$tool_domain_nel_data.patch_version}" maxlength="128" size="30"></td>
|
||||
</tr>-->
|
||||
<tr>
|
||||
<td align="right">Status :</td>
|
||||
<td><select name="tool_form_domain_nel_status" style="width:150px;">
|
||||
{section name=status loop=$tool_domain_nel_status}
|
||||
<option value="{$tool_domain_nel_status[status]}" {if $tool_domain_nel_data.status == $tool_domain_nel_status[status]}selected{/if}>{$tool_domain_nel_status[status]}</option>
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
<input type="submit" name="toolaction" value="update_nel">
|
||||
<input type="hidden" name="tool_form_domain_id" value="{$tool_domain_edit_data.domain_id}">
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{include file="page_footer.tpl"}
|
||||
|
||||
{include file="page_header.tpl"}
|
||||
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="left" valign="center"><span class="alert">{$tool_alert_message}</span></td>
|
||||
<td align="right">
|
||||
<table cellpadding="1" cellspacing="5" border="0">
|
||||
<tr>
|
||||
{section name=onemenu loop=$tool_menu}
|
||||
<td height="22" class="boxed"><a href="{$tool_menu[onemenu].uri}">{$tool_menu[onemenu].title}</a></td>
|
||||
{/section}
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="left" valign="top" width="70%">
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="12">Domains</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>ID</b></td>
|
||||
<td><b>Name</b></td>
|
||||
<td><b>Application</b></td>
|
||||
<td><b>AS Host</b></td>
|
||||
<td><b>AS Port</b></td>
|
||||
<td><b>MFS Web</b></td>
|
||||
<td><b>RRD Path</b></td>
|
||||
<td><b>LAS Admin Path</b></td>
|
||||
<td><b>LAS Local Path</b></td>
|
||||
<td><b>Ring DB</b></td>
|
||||
<td><b>CS DB</b></td>
|
||||
<td><b>HD Check</b></td>
|
||||
</tr>
|
||||
{section name=domain loop=$tool_domain_list}
|
||||
{cycle assign="trclass" values="row1,row0"}
|
||||
<tr class="{$trclass}">
|
||||
<td>{$tool_domain_list[domain].domain_id}</td>
|
||||
<td><a href="tool_administration.php?toolmode=domains&toolaction=edit&domain_id={$tool_domain_list[domain].domain_id}">{$tool_domain_list[domain].domain_name}</a></td>
|
||||
<td>{$tool_domain_list[domain].domain_application}</td>
|
||||
<td>{$tool_domain_list[domain].domain_as_host}</td>
|
||||
<td>{$tool_domain_list[domain].domain_as_port}</td>
|
||||
<td>{$tool_domain_list[domain].domain_mfs_web}</td>
|
||||
<td>{$tool_domain_list[domain].domain_rrd_path}</td>
|
||||
<td>{$tool_domain_list[domain].domain_las_admin_path}</td>
|
||||
<td>{$tool_domain_list[domain].domain_las_local_path}</td>
|
||||
<td>{if $tool_domain_list[domain].domain_sql_string != ''}True{else}False{/if}</td>
|
||||
<td>{if $tool_domain_list[domain].domain_cs_sql_string != ''}True{else}False{/if}</td>
|
||||
<td>{if $tool_domain_list[domain].domain_hd_check == 1}Yes{else}No{/if}</td>
|
||||
</tr>
|
||||
{/section}
|
||||
</table>
|
||||
</td>
|
||||
|
||||
|
||||
<td align="right" valign="top" width="30%">
|
||||
<table width="90%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_administration.php?toolmode=domains" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Domain Details</th>
|
||||
</tr>
|
||||
{if $tool_domain_edit_data.domain_id}
|
||||
<tr>
|
||||
<td align="right">Id :</td>
|
||||
<td><input type="text" name="tool_form_domain_id" value="{$tool_domain_edit_data.domain_id}" size="10" readonly></td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td align="right">Name :</td>
|
||||
<td><input type="text" name="tool_form_domain_name" value="{$tool_domain_edit_data.domain_name}" maxlength="128" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Application :</td>
|
||||
<td><input type="text" name="tool_form_domain_application" value="{$tool_domain_edit_data.domain_application}" maxlength="128" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">AS Host :</td>
|
||||
<td><input type="text" name="tool_form_domain_as_host" value="{$tool_domain_edit_data.domain_as_host}" maxlength="128" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">AS Port :</td>
|
||||
<td><input type="text" name="tool_form_domain_as_port" value="{$tool_domain_edit_data.domain_as_port}" maxlength="5" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">MFS Web :</td>
|
||||
<td><input type="text" name="tool_form_domain_mfs_web" value="{$tool_domain_edit_data.domain_mfs_web}" maxlength="128" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">RRD Path :</td>
|
||||
<td><input type="text" name="tool_form_domain_rrd_path" value="{$tool_domain_edit_data.domain_rrd_path}" maxlength="255" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">LAS Admin Path :</td>
|
||||
<td><input type="text" name="tool_form_domain_las_admin_path" value="{$tool_domain_edit_data.domain_las_admin_path}" maxlength="255" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">LAS Local Path :</td>
|
||||
<td><input type="text" name="tool_form_domain_las_local_path" value="{$tool_domain_edit_data.domain_las_local_path}" maxlength="255" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Ring DB String :</td>
|
||||
<td><input type="text" name="tool_form_domain_sql_string" value="{$tool_domain_edit_data.domain_sql_string}" maxlength="128" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">CS DB String :</td>
|
||||
<td><input type="text" name="tool_form_domain_cs_sql_string" value="{$tool_domain_edit_data.domain_cs_sql_string}" maxlength="128" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%" align="right">HD Check :</td>
|
||||
<td>
|
||||
<select name="tool_form_domain_hd_check">
|
||||
<option value="1" {if $tool_domain_edit_data.domain_hd_check == 1}selected{/if}>Yes</option>
|
||||
<option value="0" {if $tool_domain_edit_data.domain_hd_check == 0}selected{/if}>No</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
|
||||
{if $tool_domain_edit_data.domain_id}
|
||||
<input type="submit" name="toolaction" value="update">
|
||||
<input type="submit" name="toolaction" value="delete" onclick="if (confirm('Are you sure you want to DELETE the domain < {$tool_domain_edit_data.domain_name} > ?')) return true; return false;">
|
||||
{else}
|
||||
<input type="submit" name="toolaction" value="create">
|
||||
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
|
||||
{if $tool_domain_nel_data}
|
||||
<br>
|
||||
<table width="90%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_administration.php?toolmode=domains" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Domain Data</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">ID :</td>
|
||||
<td><input type="text" name="tool_form_domain_nel_id" value="{$tool_domain_nel_data.domain_id}" maxlength="128" size="30" readonly ></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Name :</td>
|
||||
<td><input type="text" name="tool_form_domain_nel_name" value="{$tool_domain_nel_data.domain_name}" maxlength="128" size="30" readonly ></td>
|
||||
</tr>
|
||||
<!--<tr>
|
||||
<td align="right">Version :</td>
|
||||
<td><input type="text" name="tool_form_domain_nel_version" value="{$tool_domain_nel_data.patch_version}" maxlength="128" size="30"></td>
|
||||
</tr>-->
|
||||
<tr>
|
||||
<td align="right">Status :</td>
|
||||
<td><select name="tool_form_domain_nel_status" style="width:150px;">
|
||||
{section name=status loop=$tool_domain_nel_status}
|
||||
<option value="{$tool_domain_nel_status[status]}" {if $tool_domain_nel_data.status == $tool_domain_nel_status[status]}selected{/if}>{$tool_domain_nel_status[status]}</option>
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
<input type="submit" name="toolaction" value="update_nel">
|
||||
<input type="hidden" name="tool_form_domain_id" value="{$tool_domain_edit_data.domain_id}">
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{include file="page_footer.tpl"}
|
||||
|
|
|
@ -1,334 +1,334 @@
|
|||
|
||||
{include file="page_header.tpl"}
|
||||
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="left" valign="center"><span class="alert">{$tool_alert_message}</span></td>
|
||||
<td align="right">
|
||||
<table cellpadding="1" cellspacing="5" border="0">
|
||||
<tr>
|
||||
{section name=onemenu loop=$tool_menu}
|
||||
<td height="22" class="boxed"><a href="{$tool_menu[onemenu].uri}">{$tool_menu[onemenu].title}</a></td>
|
||||
{/section}
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="left" valign="top" width="70%">
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Groups</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>ID</b></td>
|
||||
<td><b>Name</b></td>
|
||||
<td><b>Level</b></td>
|
||||
<td><b>Default</b></td>
|
||||
<td><b>Active</b></td>
|
||||
</tr>
|
||||
{section name=group loop=$tool_group_list}
|
||||
{cycle assign="trclass" values="row1,row0"}
|
||||
<tr class="{$trclass}">
|
||||
<td>{$tool_group_list[group].group_id}</td>
|
||||
<td><a href="tool_administration.php?toolmode=groups&toolaction=edit&group_id={$tool_group_list[group].group_id}">{$tool_group_list[group].group_name}</a></td>
|
||||
<td>{$tool_group_list[group].group_level_name}</td>
|
||||
<td>{if $tool_group_list[group].group_default == 1}Yes{else}No{/if}</td>
|
||||
<td>{if $tool_group_list[group].group_active == 1}Yes{else}No{/if}</td>
|
||||
</tr>
|
||||
{/section}
|
||||
</table>
|
||||
|
||||
{if $tool_group_user_list}
|
||||
<br>
|
||||
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Accounts</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>ID</b></td>
|
||||
<td><b>Login</b></td>
|
||||
<td><b>Created</b></td>
|
||||
<td><b>Last Logged</b></td>
|
||||
<td><b>Num Logs</b></td>
|
||||
<td><b>Active</b></td>
|
||||
</tr>
|
||||
{section name=user loop=$tool_group_user_list}
|
||||
{cycle assign="trclass2" values="row1,row0"}
|
||||
<tr class="{$trclass2}">
|
||||
<td>{$tool_group_user_list[user].user_id}</td>
|
||||
<td><a href="tool_administration.php?toolmode=users&toolaction=edit&user_id={$tool_group_user_list[user].user_id}">{$tool_group_user_list[user].user_name}</a></td>
|
||||
<td>{$tool_group_user_list[user].user_created|date_format:"%Y/%m/%d %H:%M:%S"}</td>
|
||||
{if $tool_group_user_list[user].user_logged_last > 0}
|
||||
<td>{$tool_group_user_list[user].user_logged_last|date_format:"%Y/%m/%d %H:%M:%S"}</td>
|
||||
{else}
|
||||
<td>never</td>
|
||||
{/if}
|
||||
<td>{$tool_group_user_list[user].user_logged_count}</td>
|
||||
<td>{if $tool_group_user_list[user].user_active == 1}Yes{else}No{/if}</td>
|
||||
</tr>
|
||||
{/section}
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
<td align="right" valign="top" width="30%">
|
||||
<table width="90%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_administration.php?toolmode=groups" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Group Details</th>
|
||||
</tr>
|
||||
{if $tool_group_edit_data.group_id}
|
||||
<tr>
|
||||
<td width="40%" align="right">Id :</td>
|
||||
<td><input type="text" name="tool_form_group_id" value="{$tool_group_edit_data.group_id}" size="10" readonly></td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td width="40%" align="right">Name :</td>
|
||||
<td><input type="text" name="tool_form_group_name" value="{$tool_group_edit_data.group_name}" maxlength="32" size="30" {* if $tool_group_edit_data.group_id}readonly{/if *}></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%" align="right">Level :</td>
|
||||
<td>
|
||||
<select name="tool_form_group_level">
|
||||
{section name=level loop=$tool_group_level_list}
|
||||
<option value="{$tool_group_level_list[level].level_id}" {if $tool_group_edit_data.group_level == $tool_group_level_list[level].level_id}selected{/if}>{$tool_group_level_list[level].level_name}</option>
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%" align="right">Default :</td>
|
||||
<td>
|
||||
<select name="tool_form_group_default">
|
||||
<option value="1" {if $tool_group_edit_data.group_default == 1}selected{/if}>Yes</option>
|
||||
<option value="0" {if $tool_group_edit_data.group_default == 0}selected{/if}>No</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%" align="right">Active :</td>
|
||||
<td>
|
||||
<select name="tool_form_group_active">
|
||||
<option value="1" {if $tool_group_edit_data.group_active == 1}selected{/if}>Yes</option>
|
||||
<option value="0" {if $tool_group_edit_data.group_active == 0}selected{/if}>No</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%"> </td>
|
||||
<td>
|
||||
|
||||
{if $tool_group_edit_data.group_id}
|
||||
<input type="submit" name="toolaction" value="update">
|
||||
<input type="submit" name="toolaction" value="delete" onclick="if (confirm('Are you sure you want to DELETE the group < {$tool_group_edit_data.group_name} > ?')) return true; return false;">
|
||||
{else}
|
||||
<input type="submit" name="toolaction" value="create">
|
||||
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
|
||||
{if $tool_group_edit_data.group_id}
|
||||
|
||||
<br>
|
||||
<table width="90%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_administration.php?toolmode=groups" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Default Domain</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right" width="40%">Domains :</td>
|
||||
<td>
|
||||
<select name="tool_form_domain_default" style="width:150px;">
|
||||
<option value="0">-- none --</option>
|
||||
{section name=domain loop=$tool_domain_list}
|
||||
{if $tool_domain_list[domain].domain_selected}
|
||||
<option value="{$tool_domain_list[domain].domain_id}" {if $tool_group_edit_data.group_default_domain_id == $tool_domain_list[domain].domain_id}selected{/if}>{$tool_domain_list[domain].domain_name}</option>
|
||||
{/if}
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%"> </td>
|
||||
<td>
|
||||
<input type="hidden" name="tool_form_group_id" value="{$tool_group_edit_data.group_id}">
|
||||
<input type="submit" name="toolaction" value="update default domain">
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
|
||||
{if $tool_group_edit_data.group_default_domain_id > 0}
|
||||
<br>
|
||||
<table width="90%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_administration.php?toolmode=groups" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Default Shard</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right" width="40%">Shards :</td>
|
||||
<td>
|
||||
<select name="tool_form_shard_default" style="width:150px;">
|
||||
<option value="0">-- none --</option>
|
||||
{section name=domain loop=$tool_shard_list}
|
||||
{if $tool_shard_list[domain].domain_id == $tool_group_edit_data.group_default_domain_id}
|
||||
|
||||
{if $tool_shard_list[domain].domain_visible}
|
||||
{section name=shard loop=$tool_shard_list[domain].shard_list}
|
||||
{if $tool_shard_list[domain].shard_list[shard].shard_selected}
|
||||
<option value="{$tool_shard_list[domain].shard_list[shard].shard_id}" {if $tool_group_edit_data.group_default_shard_id == $tool_shard_list[domain].shard_list[shard].shard_id}selected{/if}>{$tool_shard_list[domain].shard_list[shard].shard_name}</option>
|
||||
{/if}
|
||||
{/section}
|
||||
{/if}
|
||||
|
||||
{/if}
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%"> </td>
|
||||
<td>
|
||||
<input type="hidden" name="tool_form_group_id" value="{$tool_group_edit_data.group_id}">
|
||||
<input type="submit" name="toolaction" value="update default shard">
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
<br>
|
||||
<table width="90%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_administration.php?toolmode=groups" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Default Application</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right" width="40%">Application :</td>
|
||||
<td>
|
||||
<select name="tool_form_application_default" style="width:150px;">
|
||||
<!--<option value="0">-- none --</option>-->
|
||||
{section name=menu loop=$nel_menu}
|
||||
{if $nel_menu[menu].application_order != 999999}
|
||||
<option value="{$nel_menu[menu].application_id}" {if $tool_group_edit_data.group_default_application_id == $nel_menu[menu].application_id}selected{/if}>{$nel_menu[menu].application_name}</option>
|
||||
{/if}
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%"> </td>
|
||||
<td>
|
||||
<input type="hidden" name="tool_form_group_id" value="{$tool_group_edit_data.group_id}">
|
||||
<input type="submit" name="toolaction" value="update default application">
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
<table width="90%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_administration.php?toolmode=groups" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Application Access</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right" width="40%">Applications :</td>
|
||||
<td>
|
||||
<select name="tool_form_application_ids[]" multiple size="10" style="width:150px;">
|
||||
{section name=appl loop=$tool_application_list}
|
||||
<option value="{$tool_application_list[appl].application_id}" {if $tool_application_list[appl].application_restriction == ""}disabled{elseif $tool_application_list[appl].application_selected}selected{/if}>{$tool_application_list[appl].application_name}</option>
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%"> </td>
|
||||
<td>
|
||||
<input type="hidden" name="tool_form_group_id" value="{$tool_group_edit_data.group_id}">
|
||||
<input type="submit" name="toolaction" value="update applications">
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
<table width="90%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_administration.php?toolmode=groups" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Domain Access</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right" width="40%">Domains :</td>
|
||||
<td>
|
||||
<select name="tool_form_domain_ids[]" multiple size="5" style="width:150px;">
|
||||
{section name=domain loop=$tool_domain_list}
|
||||
<option value="{$tool_domain_list[domain].domain_id}" {if $tool_domain_list[domain].domain_selected}selected{/if}>{$tool_domain_list[domain].domain_name}</option>
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%"> </td>
|
||||
<td>
|
||||
<input type="hidden" name="tool_form_group_id" value="{$tool_group_edit_data.group_id}">
|
||||
<input type="submit" name="toolaction" value="update domains">
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
<table width="90%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_administration.php?toolmode=groups" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Shard Access</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right" width="40%">Shards :</td>
|
||||
<td>
|
||||
<select name="tool_form_shard_ids[]" multiple size="20" style="width:150px;">
|
||||
{section name=domain loop=$tool_shard_list}
|
||||
{if $tool_shard_list[domain].domain_visible}
|
||||
<option disabled >Domain : {$tool_shard_list[domain].domain_name}</option>
|
||||
{section name=shard loop=$tool_shard_list[domain].shard_list}
|
||||
<option value="{$tool_shard_list[domain].domain_id}_{$tool_shard_list[domain].shard_list[shard].shard_id}" {if $tool_shard_list[domain].shard_list[shard].shard_disabled}disabled{elseif $tool_shard_list[domain].shard_list[shard].shard_selected}selected{/if}> +-- {$tool_shard_list[domain].shard_list[shard].shard_name}</option>
|
||||
{/section}
|
||||
<option disabled></option>
|
||||
{/if}
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%"> </td>
|
||||
<td>
|
||||
<input type="hidden" name="tool_form_group_id" value="{$tool_group_edit_data.group_id}">
|
||||
<input type="submit" name="toolaction" value="update shards">
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{include file="page_footer.tpl"}
|
||||
|
||||
{include file="page_header.tpl"}
|
||||
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="left" valign="center"><span class="alert">{$tool_alert_message}</span></td>
|
||||
<td align="right">
|
||||
<table cellpadding="1" cellspacing="5" border="0">
|
||||
<tr>
|
||||
{section name=onemenu loop=$tool_menu}
|
||||
<td height="22" class="boxed"><a href="{$tool_menu[onemenu].uri}">{$tool_menu[onemenu].title}</a></td>
|
||||
{/section}
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="left" valign="top" width="70%">
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Groups</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>ID</b></td>
|
||||
<td><b>Name</b></td>
|
||||
<td><b>Level</b></td>
|
||||
<td><b>Default</b></td>
|
||||
<td><b>Active</b></td>
|
||||
</tr>
|
||||
{section name=group loop=$tool_group_list}
|
||||
{cycle assign="trclass" values="row1,row0"}
|
||||
<tr class="{$trclass}">
|
||||
<td>{$tool_group_list[group].group_id}</td>
|
||||
<td><a href="tool_administration.php?toolmode=groups&toolaction=edit&group_id={$tool_group_list[group].group_id}">{$tool_group_list[group].group_name}</a></td>
|
||||
<td>{$tool_group_list[group].group_level_name}</td>
|
||||
<td>{if $tool_group_list[group].group_default == 1}Yes{else}No{/if}</td>
|
||||
<td>{if $tool_group_list[group].group_active == 1}Yes{else}No{/if}</td>
|
||||
</tr>
|
||||
{/section}
|
||||
</table>
|
||||
|
||||
{if $tool_group_user_list}
|
||||
<br>
|
||||
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Accounts</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>ID</b></td>
|
||||
<td><b>Login</b></td>
|
||||
<td><b>Created</b></td>
|
||||
<td><b>Last Logged</b></td>
|
||||
<td><b>Num Logs</b></td>
|
||||
<td><b>Active</b></td>
|
||||
</tr>
|
||||
{section name=user loop=$tool_group_user_list}
|
||||
{cycle assign="trclass2" values="row1,row0"}
|
||||
<tr class="{$trclass2}">
|
||||
<td>{$tool_group_user_list[user].user_id}</td>
|
||||
<td><a href="tool_administration.php?toolmode=users&toolaction=edit&user_id={$tool_group_user_list[user].user_id}">{$tool_group_user_list[user].user_name}</a></td>
|
||||
<td>{$tool_group_user_list[user].user_created|date_format:"%Y/%m/%d %H:%M:%S"}</td>
|
||||
{if $tool_group_user_list[user].user_logged_last > 0}
|
||||
<td>{$tool_group_user_list[user].user_logged_last|date_format:"%Y/%m/%d %H:%M:%S"}</td>
|
||||
{else}
|
||||
<td>never</td>
|
||||
{/if}
|
||||
<td>{$tool_group_user_list[user].user_logged_count}</td>
|
||||
<td>{if $tool_group_user_list[user].user_active == 1}Yes{else}No{/if}</td>
|
||||
</tr>
|
||||
{/section}
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
<td align="right" valign="top" width="30%">
|
||||
<table width="90%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_administration.php?toolmode=groups" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Group Details</th>
|
||||
</tr>
|
||||
{if $tool_group_edit_data.group_id}
|
||||
<tr>
|
||||
<td width="40%" align="right">Id :</td>
|
||||
<td><input type="text" name="tool_form_group_id" value="{$tool_group_edit_data.group_id}" size="10" readonly></td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td width="40%" align="right">Name :</td>
|
||||
<td><input type="text" name="tool_form_group_name" value="{$tool_group_edit_data.group_name}" maxlength="32" size="30" {* if $tool_group_edit_data.group_id}readonly{/if *}></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%" align="right">Level :</td>
|
||||
<td>
|
||||
<select name="tool_form_group_level">
|
||||
{section name=level loop=$tool_group_level_list}
|
||||
<option value="{$tool_group_level_list[level].level_id}" {if $tool_group_edit_data.group_level == $tool_group_level_list[level].level_id}selected{/if}>{$tool_group_level_list[level].level_name}</option>
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%" align="right">Default :</td>
|
||||
<td>
|
||||
<select name="tool_form_group_default">
|
||||
<option value="1" {if $tool_group_edit_data.group_default == 1}selected{/if}>Yes</option>
|
||||
<option value="0" {if $tool_group_edit_data.group_default == 0}selected{/if}>No</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%" align="right">Active :</td>
|
||||
<td>
|
||||
<select name="tool_form_group_active">
|
||||
<option value="1" {if $tool_group_edit_data.group_active == 1}selected{/if}>Yes</option>
|
||||
<option value="0" {if $tool_group_edit_data.group_active == 0}selected{/if}>No</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%"> </td>
|
||||
<td>
|
||||
|
||||
{if $tool_group_edit_data.group_id}
|
||||
<input type="submit" name="toolaction" value="update">
|
||||
<input type="submit" name="toolaction" value="delete" onclick="if (confirm('Are you sure you want to DELETE the group < {$tool_group_edit_data.group_name} > ?')) return true; return false;">
|
||||
{else}
|
||||
<input type="submit" name="toolaction" value="create">
|
||||
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
|
||||
{if $tool_group_edit_data.group_id}
|
||||
|
||||
<br>
|
||||
<table width="90%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_administration.php?toolmode=groups" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Default Domain</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right" width="40%">Domains :</td>
|
||||
<td>
|
||||
<select name="tool_form_domain_default" style="width:150px;">
|
||||
<option value="0">-- none --</option>
|
||||
{section name=domain loop=$tool_domain_list}
|
||||
{if $tool_domain_list[domain].domain_selected}
|
||||
<option value="{$tool_domain_list[domain].domain_id}" {if $tool_group_edit_data.group_default_domain_id == $tool_domain_list[domain].domain_id}selected{/if}>{$tool_domain_list[domain].domain_name}</option>
|
||||
{/if}
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%"> </td>
|
||||
<td>
|
||||
<input type="hidden" name="tool_form_group_id" value="{$tool_group_edit_data.group_id}">
|
||||
<input type="submit" name="toolaction" value="update default domain">
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
|
||||
{if $tool_group_edit_data.group_default_domain_id > 0}
|
||||
<br>
|
||||
<table width="90%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_administration.php?toolmode=groups" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Default Shard</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right" width="40%">Shards :</td>
|
||||
<td>
|
||||
<select name="tool_form_shard_default" style="width:150px;">
|
||||
<option value="0">-- none --</option>
|
||||
{section name=domain loop=$tool_shard_list}
|
||||
{if $tool_shard_list[domain].domain_id == $tool_group_edit_data.group_default_domain_id}
|
||||
|
||||
{if $tool_shard_list[domain].domain_visible}
|
||||
{section name=shard loop=$tool_shard_list[domain].shard_list}
|
||||
{if $tool_shard_list[domain].shard_list[shard].shard_selected}
|
||||
<option value="{$tool_shard_list[domain].shard_list[shard].shard_id}" {if $tool_group_edit_data.group_default_shard_id == $tool_shard_list[domain].shard_list[shard].shard_id}selected{/if}>{$tool_shard_list[domain].shard_list[shard].shard_name}</option>
|
||||
{/if}
|
||||
{/section}
|
||||
{/if}
|
||||
|
||||
{/if}
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%"> </td>
|
||||
<td>
|
||||
<input type="hidden" name="tool_form_group_id" value="{$tool_group_edit_data.group_id}">
|
||||
<input type="submit" name="toolaction" value="update default shard">
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
<br>
|
||||
<table width="90%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_administration.php?toolmode=groups" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Default Application</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right" width="40%">Application :</td>
|
||||
<td>
|
||||
<select name="tool_form_application_default" style="width:150px;">
|
||||
<!--<option value="0">-- none --</option>-->
|
||||
{section name=menu loop=$nel_menu}
|
||||
{if $nel_menu[menu].application_order != 999999}
|
||||
<option value="{$nel_menu[menu].application_id}" {if $tool_group_edit_data.group_default_application_id == $nel_menu[menu].application_id}selected{/if}>{$nel_menu[menu].application_name}</option>
|
||||
{/if}
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%"> </td>
|
||||
<td>
|
||||
<input type="hidden" name="tool_form_group_id" value="{$tool_group_edit_data.group_id}">
|
||||
<input type="submit" name="toolaction" value="update default application">
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
<table width="90%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_administration.php?toolmode=groups" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Application Access</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right" width="40%">Applications :</td>
|
||||
<td>
|
||||
<select name="tool_form_application_ids[]" multiple size="10" style="width:150px;">
|
||||
{section name=appl loop=$tool_application_list}
|
||||
<option value="{$tool_application_list[appl].application_id}" {if $tool_application_list[appl].application_restriction == ""}disabled{elseif $tool_application_list[appl].application_selected}selected{/if}>{$tool_application_list[appl].application_name}</option>
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%"> </td>
|
||||
<td>
|
||||
<input type="hidden" name="tool_form_group_id" value="{$tool_group_edit_data.group_id}">
|
||||
<input type="submit" name="toolaction" value="update applications">
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
<table width="90%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_administration.php?toolmode=groups" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Domain Access</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right" width="40%">Domains :</td>
|
||||
<td>
|
||||
<select name="tool_form_domain_ids[]" multiple size="5" style="width:150px;">
|
||||
{section name=domain loop=$tool_domain_list}
|
||||
<option value="{$tool_domain_list[domain].domain_id}" {if $tool_domain_list[domain].domain_selected}selected{/if}>{$tool_domain_list[domain].domain_name}</option>
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%"> </td>
|
||||
<td>
|
||||
<input type="hidden" name="tool_form_group_id" value="{$tool_group_edit_data.group_id}">
|
||||
<input type="submit" name="toolaction" value="update domains">
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
<table width="90%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_administration.php?toolmode=groups" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Shard Access</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right" width="40%">Shards :</td>
|
||||
<td>
|
||||
<select name="tool_form_shard_ids[]" multiple size="20" style="width:150px;">
|
||||
{section name=domain loop=$tool_shard_list}
|
||||
{if $tool_shard_list[domain].domain_visible}
|
||||
<option disabled >Domain : {$tool_shard_list[domain].domain_name}</option>
|
||||
{section name=shard loop=$tool_shard_list[domain].shard_list}
|
||||
<option value="{$tool_shard_list[domain].domain_id}_{$tool_shard_list[domain].shard_list[shard].shard_id}" {if $tool_shard_list[domain].shard_list[shard].shard_disabled}disabled{elseif $tool_shard_list[domain].shard_list[shard].shard_selected}selected{/if}> +-- {$tool_shard_list[domain].shard_list[shard].shard_name}</option>
|
||||
{/section}
|
||||
<option disabled></option>
|
||||
{/if}
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%"> </td>
|
||||
<td>
|
||||
<input type="hidden" name="tool_form_group_id" value="{$tool_group_edit_data.group_id}">
|
||||
<input type="submit" name="toolaction" value="update shards">
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{include file="page_footer.tpl"}
|
||||
|
|
|
@ -1,56 +1,56 @@
|
|||
|
||||
{include file="page_header.tpl"}
|
||||
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="left" valign="center"><span class="alert">{$tool_alert_message}</span></td>
|
||||
<td align="right">
|
||||
<table cellpadding="1" cellspacing="5" border="0">
|
||||
<tr>
|
||||
{section name=onemenu loop=$tool_menu}
|
||||
<td height="22" class="boxed"><a href="{$tool_menu[onemenu].uri}">{$tool_menu[onemenu].title}</a></td>
|
||||
{/section}
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="left" valign="top" width="70%">
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Logs</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>ID</b></td>
|
||||
<td><b>User</b></td>
|
||||
<td><b>Date</b></td>
|
||||
<td><b>Action</b></td>
|
||||
</tr>
|
||||
{section name=log loop=$tool_log_list}
|
||||
<tr class="{cycle values="row1,row0"}">
|
||||
<td>{$tool_log_list[log].logs_id}</td>
|
||||
<td>{$tool_log_list[log].logs_user_name}</td>
|
||||
<td>{$tool_log_list[log].logs_date|date_format:"%Y/%m/%d %H:%M:%S"}</td>
|
||||
<td>{$tool_log_list[log].logs_data}</td>
|
||||
</tr>
|
||||
{/section}
|
||||
<tr>
|
||||
<th colspan="4" align="center">
|
||||
<a href="tool_administration.php?toolmode=logs&page={$tool_log_page_first}">|<</a>
|
||||
<a href="tool_administration.php?toolmode=logs&page={$tool_log_page_previous}"><</a>
|
||||
Page {$tool_log_page_current} / {$tool_log_page_total}
|
||||
<a href="tool_administration.php?toolmode=logs&page={$tool_log_page_next}">></a>
|
||||
<a href="tool_administration.php?toolmode=logs&page={$tool_log_page_last}">>|</a>
|
||||
</th>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{include file="page_footer.tpl"}
|
||||
|
||||
{include file="page_header.tpl"}
|
||||
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="left" valign="center"><span class="alert">{$tool_alert_message}</span></td>
|
||||
<td align="right">
|
||||
<table cellpadding="1" cellspacing="5" border="0">
|
||||
<tr>
|
||||
{section name=onemenu loop=$tool_menu}
|
||||
<td height="22" class="boxed"><a href="{$tool_menu[onemenu].uri}">{$tool_menu[onemenu].title}</a></td>
|
||||
{/section}
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="left" valign="top" width="70%">
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Logs</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>ID</b></td>
|
||||
<td><b>User</b></td>
|
||||
<td><b>Date</b></td>
|
||||
<td><b>Action</b></td>
|
||||
</tr>
|
||||
{section name=log loop=$tool_log_list}
|
||||
<tr class="{cycle values="row1,row0"}">
|
||||
<td>{$tool_log_list[log].logs_id}</td>
|
||||
<td>{$tool_log_list[log].logs_user_name}</td>
|
||||
<td>{$tool_log_list[log].logs_date|date_format:"%Y/%m/%d %H:%M:%S"}</td>
|
||||
<td>{$tool_log_list[log].logs_data}</td>
|
||||
</tr>
|
||||
{/section}
|
||||
<tr>
|
||||
<th colspan="4" align="center">
|
||||
<a href="tool_administration.php?toolmode=logs&page={$tool_log_page_first}">|<</a>
|
||||
<a href="tool_administration.php?toolmode=logs&page={$tool_log_page_previous}"><</a>
|
||||
Page {$tool_log_page_current} / {$tool_log_page_total}
|
||||
<a href="tool_administration.php?toolmode=logs&page={$tool_log_page_next}">></a>
|
||||
<a href="tool_administration.php?toolmode=logs&page={$tool_log_page_last}">>|</a>
|
||||
</th>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{include file="page_footer.tpl"}
|
||||
|
|
|
@ -1,172 +1,172 @@
|
|||
|
||||
{include file="page_header.tpl"}
|
||||
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="left" valign="center"><span class="alert">{$tool_alert_message}</span></td>
|
||||
<td align="right">
|
||||
<table cellpadding="1" cellspacing="5" border="0">
|
||||
<tr>
|
||||
{section name=onemenu loop=$tool_menu}
|
||||
<td height="22" class="boxed"><a href="{$tool_menu[onemenu].uri}">{$tool_menu[onemenu].title}</a></td>
|
||||
{/section}
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="left" valign="top" width="70%">
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Restart Groups</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>ID</b></td>
|
||||
<td><b>Name</b></td>
|
||||
<td><b>List</b></td>
|
||||
<td><b>Order</b></td>
|
||||
</tr>
|
||||
{section name=restart loop=$tool_restart_list}
|
||||
{cycle assign="trclass" values="row1,row0"}
|
||||
<tr class="{$trclass}">
|
||||
<td>{$tool_restart_list[restart].restart_group_id}</td>
|
||||
<td><a href="tool_administration.php?toolmode=restarts&toolaction=edit&restart_id={$tool_restart_list[restart].restart_group_id}">{$tool_restart_list[restart].restart_group_name}</a></td>
|
||||
<td>{$tool_restart_list[restart].restart_group_list}</td>
|
||||
<td>{$tool_restart_list[restart].restart_group_order}</td>
|
||||
</tr>
|
||||
{/section}
|
||||
</table>
|
||||
</td>
|
||||
|
||||
|
||||
<td align="right" valign="top" width="30%">
|
||||
<table width="90%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_administration.php?toolmode=restarts" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Restart Group Details</th>
|
||||
</tr>
|
||||
{if $tool_restart_edit_data.restart_group_id}
|
||||
<tr>
|
||||
<td align="right">Id :</td>
|
||||
<td><input type="text" name="tool_form_restart_id" value="{$tool_restart_edit_data.restart_group_id}" size="10" readonly></td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td align="right">Name :</td>
|
||||
<td><input type="text" name="tool_form_restart_name" value="{$tool_restart_edit_data.restart_group_name}" maxlength="128" size="40"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Services :</td>
|
||||
<td><input type="text" name="tool_form_restart_services" value="{$tool_restart_edit_data.restart_group_list}" maxlength="255" size="40"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Order :</td>
|
||||
<td><input type="text" name="tool_form_restart_order" value="{$tool_restart_edit_data.restart_group_order}" maxlength="3" size="10"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
|
||||
{if $tool_restart_edit_data.restart_group_id}
|
||||
<input type="submit" name="toolaction" value="update">
|
||||
<input type="submit" name="toolaction" value="delete" onclick="if (confirm('Are you sure you want to DELETE the restart group < {$tool_restart_edit_data.restart_group_name} > ?')) return true; return false;">
|
||||
{else}
|
||||
<input type="submit" name="toolaction" value="create">
|
||||
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="left" valign="top" width="70%">
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Restart Messages</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>ID</b></td>
|
||||
<td><b>Language</b></td>
|
||||
<td><b>Name</b></td>
|
||||
<td><b>Value</b></td>
|
||||
</tr>
|
||||
{section name=msg loop=$tool_message_list}
|
||||
{cycle assign="trclass" values="row1,row0"}
|
||||
<tr class="{$trclass}">
|
||||
<td>{$tool_message_list[msg].restart_message_id}</td>
|
||||
<td>{$tool_message_list[msg].restart_message_lang}</td>
|
||||
<td><a href="tool_administration.php?toolmode=restarts&toolaction=editmsg&msg_id={$tool_message_list[msg].restart_message_id}">{$tool_message_list[msg].restart_message_name}</a></td>
|
||||
<td>{$tool_message_list[msg].restart_message_value}</td>
|
||||
</tr>
|
||||
{/section}
|
||||
</table>
|
||||
</td>
|
||||
|
||||
|
||||
<td align="right" valign="top" width="30%">
|
||||
<table width="90%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_administration.php?toolmode=restarts" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Restart Message Details</th>
|
||||
</tr>
|
||||
{if $tool_message_edit_data.restart_message_id}
|
||||
<tr>
|
||||
<td align="right">Id :</td>
|
||||
<td><input type="text" name="tool_form_message_id" value="{$tool_message_edit_data.restart_message_id}" size="10" readonly></td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td align="right">Name :</td>
|
||||
<td><input type="text" name="tool_form_message_name" value="{$tool_message_edit_data.restart_message_name}" maxlength="32" size="40"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Value :</td>
|
||||
<td><input type="text" name="tool_form_message_value" value="{$tool_message_edit_data.restart_message_value}" maxlength="255" size="40"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Language :</td>
|
||||
<td>
|
||||
<select name="tool_form_message_lang">
|
||||
{section name=lang loop=$tool_language_list}
|
||||
<option value="{$tool_language_list[lang].lang_id}" {if $tool_message_edit_data.restart_message_lang == $tool_language_list[lang].lang_id}selected{/if}>{$tool_language_list[lang].lang_name}</option>
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
|
||||
{if $tool_message_edit_data.restart_message_id }
|
||||
<input type="submit" name="toolaction" value="update message">
|
||||
<input type="submit" name="toolaction" value="delete message" onclick="if (confirm('Are you sure you want to DELETE the restart message < {$tool_message_edit_data.restart_message_name} > ?')) return true; return false;">
|
||||
{else}
|
||||
<input type="submit" name="toolaction" value="create message">
|
||||
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
{include file="page_footer.tpl"}
|
||||
|
||||
{include file="page_header.tpl"}
|
||||
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="left" valign="center"><span class="alert">{$tool_alert_message}</span></td>
|
||||
<td align="right">
|
||||
<table cellpadding="1" cellspacing="5" border="0">
|
||||
<tr>
|
||||
{section name=onemenu loop=$tool_menu}
|
||||
<td height="22" class="boxed"><a href="{$tool_menu[onemenu].uri}">{$tool_menu[onemenu].title}</a></td>
|
||||
{/section}
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="left" valign="top" width="70%">
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Restart Groups</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>ID</b></td>
|
||||
<td><b>Name</b></td>
|
||||
<td><b>List</b></td>
|
||||
<td><b>Order</b></td>
|
||||
</tr>
|
||||
{section name=restart loop=$tool_restart_list}
|
||||
{cycle assign="trclass" values="row1,row0"}
|
||||
<tr class="{$trclass}">
|
||||
<td>{$tool_restart_list[restart].restart_group_id}</td>
|
||||
<td><a href="tool_administration.php?toolmode=restarts&toolaction=edit&restart_id={$tool_restart_list[restart].restart_group_id}">{$tool_restart_list[restart].restart_group_name}</a></td>
|
||||
<td>{$tool_restart_list[restart].restart_group_list}</td>
|
||||
<td>{$tool_restart_list[restart].restart_group_order}</td>
|
||||
</tr>
|
||||
{/section}
|
||||
</table>
|
||||
</td>
|
||||
|
||||
|
||||
<td align="right" valign="top" width="30%">
|
||||
<table width="90%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_administration.php?toolmode=restarts" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Restart Group Details</th>
|
||||
</tr>
|
||||
{if $tool_restart_edit_data.restart_group_id}
|
||||
<tr>
|
||||
<td align="right">Id :</td>
|
||||
<td><input type="text" name="tool_form_restart_id" value="{$tool_restart_edit_data.restart_group_id}" size="10" readonly></td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td align="right">Name :</td>
|
||||
<td><input type="text" name="tool_form_restart_name" value="{$tool_restart_edit_data.restart_group_name}" maxlength="128" size="40"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Services :</td>
|
||||
<td><input type="text" name="tool_form_restart_services" value="{$tool_restart_edit_data.restart_group_list}" maxlength="255" size="40"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Order :</td>
|
||||
<td><input type="text" name="tool_form_restart_order" value="{$tool_restart_edit_data.restart_group_order}" maxlength="3" size="10"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
|
||||
{if $tool_restart_edit_data.restart_group_id}
|
||||
<input type="submit" name="toolaction" value="update">
|
||||
<input type="submit" name="toolaction" value="delete" onclick="if (confirm('Are you sure you want to DELETE the restart group < {$tool_restart_edit_data.restart_group_name} > ?')) return true; return false;">
|
||||
{else}
|
||||
<input type="submit" name="toolaction" value="create">
|
||||
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="left" valign="top" width="70%">
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Restart Messages</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>ID</b></td>
|
||||
<td><b>Language</b></td>
|
||||
<td><b>Name</b></td>
|
||||
<td><b>Value</b></td>
|
||||
</tr>
|
||||
{section name=msg loop=$tool_message_list}
|
||||
{cycle assign="trclass" values="row1,row0"}
|
||||
<tr class="{$trclass}">
|
||||
<td>{$tool_message_list[msg].restart_message_id}</td>
|
||||
<td>{$tool_message_list[msg].restart_message_lang}</td>
|
||||
<td><a href="tool_administration.php?toolmode=restarts&toolaction=editmsg&msg_id={$tool_message_list[msg].restart_message_id}">{$tool_message_list[msg].restart_message_name}</a></td>
|
||||
<td>{$tool_message_list[msg].restart_message_value}</td>
|
||||
</tr>
|
||||
{/section}
|
||||
</table>
|
||||
</td>
|
||||
|
||||
|
||||
<td align="right" valign="top" width="30%">
|
||||
<table width="90%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_administration.php?toolmode=restarts" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Restart Message Details</th>
|
||||
</tr>
|
||||
{if $tool_message_edit_data.restart_message_id}
|
||||
<tr>
|
||||
<td align="right">Id :</td>
|
||||
<td><input type="text" name="tool_form_message_id" value="{$tool_message_edit_data.restart_message_id}" size="10" readonly></td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td align="right">Name :</td>
|
||||
<td><input type="text" name="tool_form_message_name" value="{$tool_message_edit_data.restart_message_name}" maxlength="32" size="40"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Value :</td>
|
||||
<td><input type="text" name="tool_form_message_value" value="{$tool_message_edit_data.restart_message_value}" maxlength="255" size="40"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Language :</td>
|
||||
<td>
|
||||
<select name="tool_form_message_lang">
|
||||
{section name=lang loop=$tool_language_list}
|
||||
<option value="{$tool_language_list[lang].lang_id}" {if $tool_message_edit_data.restart_message_lang == $tool_language_list[lang].lang_id}selected{/if}>{$tool_language_list[lang].lang_name}</option>
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
|
||||
{if $tool_message_edit_data.restart_message_id }
|
||||
<input type="submit" name="toolaction" value="update message">
|
||||
<input type="submit" name="toolaction" value="delete message" onclick="if (confirm('Are you sure you want to DELETE the restart message < {$tool_message_edit_data.restart_message_name} > ?')) return true; return false;">
|
||||
{else}
|
||||
<input type="submit" name="toolaction" value="create message">
|
||||
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
{include file="page_footer.tpl"}
|
||||
|
|
|
@ -1,110 +1,110 @@
|
|||
|
||||
{include file="page_header.tpl"}
|
||||
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="left" valign="center"><span class="alert">{$tool_alert_message}</span></td>
|
||||
<td align="right">
|
||||
<table cellpadding="1" cellspacing="5" border="0">
|
||||
<tr>
|
||||
{section name=onemenu loop=$tool_menu}
|
||||
<td height="22" class="boxed"><a href="{$tool_menu[onemenu].uri}">{$tool_menu[onemenu].title}</a></td>
|
||||
{/section}
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="left" valign="top" width="70%">
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Shards</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>ID</b></td>
|
||||
<td><b>Name</b></td>
|
||||
<td><b>Shard ID</b></td>
|
||||
<td><b>Domain</b></td>
|
||||
<td><b>Language</b></td>
|
||||
</tr>
|
||||
{section name=shard loop=$tool_shard_list}
|
||||
{cycle assign="trclass" values="row1,row0"}
|
||||
<tr class="{$trclass}">
|
||||
<td>{$tool_shard_list[shard].shard_id}</td>
|
||||
<td><a href="tool_administration.php?toolmode=shards&toolaction=edit&shard_id={$tool_shard_list[shard].shard_id}">{$tool_shard_list[shard].shard_name}</a></td>
|
||||
<td>{$tool_shard_list[shard].shard_as_id}</td>
|
||||
<td>{$tool_shard_list[shard].domain_name}</td>
|
||||
<td>{$tool_shard_list[shard].shard_lang}</td>
|
||||
</tr>
|
||||
{/section}
|
||||
</table>
|
||||
</td>
|
||||
|
||||
|
||||
<td align="right" valign="top" width="30%">
|
||||
<table width="90%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_administration.php?toolmode=shards" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Shard Details</th>
|
||||
</tr>
|
||||
{if $tool_shard_edit_data.shard_id}
|
||||
<tr>
|
||||
<td align="right">Id :</td>
|
||||
<td><input type="text" name="tool_form_shard_id" value="{$tool_shard_edit_data.shard_id}" size="10" readonly></td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td align="right">Name :</td>
|
||||
<td><input type="text" name="tool_form_shard_name" value="{$tool_shard_edit_data.shard_name}" maxlength="128" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Shard ID :</td>
|
||||
<td><input type="text" name="tool_form_shard_as_id" value="{$tool_shard_edit_data.shard_as_id}" maxlength="255" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Domain :</td>
|
||||
<td>
|
||||
<select name="tool_form_shard_domain_id">
|
||||
{section name=domain loop=$tool_domain_list}
|
||||
<option value="{$tool_domain_list[domain].domain_id}" {if $tool_shard_edit_data.shard_domain_id == $tool_domain_list[domain].domain_id}selected{/if}>{$tool_domain_list[domain].domain_name}</option>
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Language :</td>
|
||||
<td>
|
||||
<select name="tool_form_shard_language">
|
||||
{section name=lang loop=$tool_language_list}
|
||||
<option value="{$tool_language_list[lang].lang_id}" {if $tool_shard_edit_data.shard_lang == $tool_language_list[lang].lang_id}selected{/if}>{$tool_language_list[lang].lang_name}</option>
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
|
||||
{if $tool_shard_edit_data.shard_id}
|
||||
<input type="submit" name="toolaction" value="update">
|
||||
<input type="submit" name="toolaction" value="delete" onclick="if (confirm('Are you sure you want to DELETE the shard < {$tool_shard_edit_data.shard_name} > ?')) return true; return false;">
|
||||
{else}
|
||||
<input type="submit" name="toolaction" value="create">
|
||||
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{include file="page_footer.tpl"}
|
||||
|
||||
{include file="page_header.tpl"}
|
||||
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="left" valign="center"><span class="alert">{$tool_alert_message}</span></td>
|
||||
<td align="right">
|
||||
<table cellpadding="1" cellspacing="5" border="0">
|
||||
<tr>
|
||||
{section name=onemenu loop=$tool_menu}
|
||||
<td height="22" class="boxed"><a href="{$tool_menu[onemenu].uri}">{$tool_menu[onemenu].title}</a></td>
|
||||
{/section}
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="left" valign="top" width="70%">
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Shards</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>ID</b></td>
|
||||
<td><b>Name</b></td>
|
||||
<td><b>Shard ID</b></td>
|
||||
<td><b>Domain</b></td>
|
||||
<td><b>Language</b></td>
|
||||
</tr>
|
||||
{section name=shard loop=$tool_shard_list}
|
||||
{cycle assign="trclass" values="row1,row0"}
|
||||
<tr class="{$trclass}">
|
||||
<td>{$tool_shard_list[shard].shard_id}</td>
|
||||
<td><a href="tool_administration.php?toolmode=shards&toolaction=edit&shard_id={$tool_shard_list[shard].shard_id}">{$tool_shard_list[shard].shard_name}</a></td>
|
||||
<td>{$tool_shard_list[shard].shard_as_id}</td>
|
||||
<td>{$tool_shard_list[shard].domain_name}</td>
|
||||
<td>{$tool_shard_list[shard].shard_lang}</td>
|
||||
</tr>
|
||||
{/section}
|
||||
</table>
|
||||
</td>
|
||||
|
||||
|
||||
<td align="right" valign="top" width="30%">
|
||||
<table width="90%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_administration.php?toolmode=shards" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Shard Details</th>
|
||||
</tr>
|
||||
{if $tool_shard_edit_data.shard_id}
|
||||
<tr>
|
||||
<td align="right">Id :</td>
|
||||
<td><input type="text" name="tool_form_shard_id" value="{$tool_shard_edit_data.shard_id}" size="10" readonly></td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td align="right">Name :</td>
|
||||
<td><input type="text" name="tool_form_shard_name" value="{$tool_shard_edit_data.shard_name}" maxlength="128" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Shard ID :</td>
|
||||
<td><input type="text" name="tool_form_shard_as_id" value="{$tool_shard_edit_data.shard_as_id}" maxlength="255" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Domain :</td>
|
||||
<td>
|
||||
<select name="tool_form_shard_domain_id">
|
||||
{section name=domain loop=$tool_domain_list}
|
||||
<option value="{$tool_domain_list[domain].domain_id}" {if $tool_shard_edit_data.shard_domain_id == $tool_domain_list[domain].domain_id}selected{/if}>{$tool_domain_list[domain].domain_name}</option>
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Language :</td>
|
||||
<td>
|
||||
<select name="tool_form_shard_language">
|
||||
{section name=lang loop=$tool_language_list}
|
||||
<option value="{$tool_language_list[lang].lang_id}" {if $tool_shard_edit_data.shard_lang == $tool_language_list[lang].lang_id}selected{/if}>{$tool_language_list[lang].lang_name}</option>
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
|
||||
{if $tool_shard_edit_data.shard_id}
|
||||
<input type="submit" name="toolaction" value="update">
|
||||
<input type="submit" name="toolaction" value="delete" onclick="if (confirm('Are you sure you want to DELETE the shard < {$tool_shard_edit_data.shard_name} > ?')) return true; return false;">
|
||||
{else}
|
||||
<input type="submit" name="toolaction" value="create">
|
||||
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{include file="page_footer.tpl"}
|
||||
|
|
|
@ -1,207 +1,207 @@
|
|||
|
||||
{include file="page_header.tpl"}
|
||||
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="left" valign="center"><span class="alert">{$tool_alert_message}</span></td>
|
||||
<td align="right">
|
||||
<table cellpadding="1" cellspacing="5" border="0">
|
||||
<tr>
|
||||
{section name=onemenu loop=$tool_menu}
|
||||
<td height="22" class="boxed"><a href="{$tool_menu[onemenu].uri}">{$tool_menu[onemenu].title}</a></td>
|
||||
{/section}
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="left" valign="top" width="70%">
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Accounts</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>ID</b></td>
|
||||
<td><b>Login</b></td>
|
||||
<td><b>Group</b></td>
|
||||
<td><b>Created</b></td>
|
||||
<td><b>Last Logged</b></td>
|
||||
<td><b>Num Logs</b></td>
|
||||
<td><b>Active</b></td>
|
||||
</tr>
|
||||
{section name=user loop=$tool_user_list}
|
||||
{cycle assign="trclass" values="row1,row0"}
|
||||
<tr class="{$trclass}">
|
||||
<td>{$tool_user_list[user].user_id}</td>
|
||||
<td><a href="tool_administration.php?toolmode=users&toolaction=edit&user_id={$tool_user_list[user].user_id}">{$tool_user_list[user].user_name}</a></td>
|
||||
<td><a href="tool_administration.php?toolmode=groups&toolaction=edit&group_id={$tool_user_list[user].user_group_id}">{$tool_user_list[user].user_group_name}</a></td>
|
||||
<td>{$tool_user_list[user].user_created|date_format:"%Y/%m/%d %H:%M:%S"}</td>
|
||||
{if $tool_user_list[user].user_logged_last > 0}
|
||||
<td>{$tool_user_list[user].user_logged_last|date_format:"%Y/%m/%d %H:%M:%S"}</td>
|
||||
{else}
|
||||
<td>never</td>
|
||||
{/if}
|
||||
<td>{$tool_user_list[user].user_logged_count}</td>
|
||||
<td>{if $tool_user_list[user].user_active == 1}Yes{else}No{/if}</td>
|
||||
</tr>
|
||||
{/section}
|
||||
</table>
|
||||
</td>
|
||||
|
||||
|
||||
<td align="right" valign="top" width="30%">
|
||||
<table width="90%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_administration.php?toolmode=users" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Account Details</th>
|
||||
</tr>
|
||||
{if $tool_user_edit_data.user_id}
|
||||
<tr>
|
||||
<td width="40%" align="right">Id :</td>
|
||||
<td><input type="text" name="tool_form_user_id" value="{$tool_user_edit_data.user_id}" size="10" readonly></td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td width="40%" align="right">Name :</td>
|
||||
<td><input type="text" name="tool_form_user_name" value="{$tool_user_edit_data.user_name}" maxlength="32" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%" align="right">Password :</td>
|
||||
<td><input type="password" name="tool_form_user_password" value="" maxlength="16" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%" align="right">Group :</td>
|
||||
<td>
|
||||
<select name="tool_form_user_group">
|
||||
{section name=group loop=$tool_group_list}
|
||||
<option value="{$tool_group_list[group].group_id}" {if $tool_user_edit_data.user_group_id == $tool_group_list[group].group_id}selected{/if}>{$tool_group_list[group].group_name}</option>
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%" align="right">Active :</td>
|
||||
<td>
|
||||
<select name="tool_form_user_active">
|
||||
<option value="1" {if $tool_user_edit_data.user_active == 1}selected{/if}>Yes</option>
|
||||
<option value="0" {if $tool_user_edit_data.user_active == 0}selected{/if}>No</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%"> </td>
|
||||
<td>
|
||||
|
||||
{if $tool_user_edit_data.user_id}
|
||||
<input type="submit" name="toolaction" value="update">
|
||||
<input type="submit" name="toolaction" value="delete" onclick="if (confirm('Are you sure you want to DELETE the user < {$tool_user_edit_data.user_name} > ?')) return true; return false;">
|
||||
{else}
|
||||
<input type="submit" name="toolaction" value="create">
|
||||
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
|
||||
{if $tool_user_edit_data.user_id}
|
||||
|
||||
<br>
|
||||
<table width="90%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_administration.php?toolmode=users" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Application Access</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right" width="40%">Applications :</td>
|
||||
<td>
|
||||
<select name="tool_form_application_ids[]" multiple size="10" style="width:150px;">
|
||||
{section name=appl loop=$tool_application_list}
|
||||
<option value="{$tool_application_list[appl].application_id}" {if $tool_application_list[appl].application_restriction == "" || $tool_application_list[appl].application_disabled}disabled{elseif $tool_application_list[appl].application_selected}selected{/if}>{$tool_application_list[appl].application_name}</option>
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%"> </td>
|
||||
<td>
|
||||
<input type="hidden" name="tool_form_user_id" value="{$tool_user_edit_data.user_id}">
|
||||
<input type="submit" name="toolaction" value="update applications">
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
<table width="90%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_administration.php?toolmode=users" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Domain Access</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%" align="right">Domains :</td>
|
||||
<td>
|
||||
<select name="tool_form_domain_ids[]" multiple size="5" style="width:150px;">
|
||||
{section name=domain loop=$tool_domain_list}
|
||||
<option value="{$tool_domain_list[domain].domain_id}" {if $tool_domain_list[domain].domain_disabled}disabled{elseif $tool_domain_list[domain].domain_selected}selected{/if}>{$tool_domain_list[domain].domain_name}</option>
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%"> </td>
|
||||
<td>
|
||||
<input type="hidden" name="tool_form_user_id" value="{$tool_user_edit_data.user_id}">
|
||||
<input type="submit" name="toolaction" value="update domains">
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
<table width="90%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_administration.php?toolmode=users" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Shard Access {if $tool_domain_list[domain].domain_disabled}(group){/if}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%" align="right">Shards :</td>
|
||||
<td>
|
||||
<select name="tool_form_shard_ids[]" multiple size="20" style="width:150px;">
|
||||
{section name=domain loop=$tool_shard_list}
|
||||
{if $tool_shard_list[domain].domain_visible}
|
||||
<option value="" disabled >Domain : {$tool_shard_list[domain].domain_name}</option>
|
||||
{section name=shard loop=$tool_shard_list[domain].shard_list}
|
||||
<option value="{$tool_shard_list[domain].domain_id}_{$tool_shard_list[domain].shard_list[shard].shard_id}" {if $tool_shard_list[domain].shard_list[shard].shard_disabled}disabled{elseif $tool_shard_list[domain].shard_list[shard].shard_selected}selected{/if}> +-- {$tool_shard_list[domain].shard_list[shard].shard_name}</option>
|
||||
{/section}
|
||||
<option disabled></option>
|
||||
{/if}
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%"> </td>
|
||||
<td>
|
||||
<input type="hidden" name="tool_form_user_id" value="{$tool_user_edit_data.user_id}">
|
||||
{* <input type="hidden" name="tool_form_domain_id" value="{$tool_shard_list[domain].domain_id}"> *}
|
||||
<input type="submit" name="toolaction" value="update shards">
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{include file="page_footer.tpl"}
|
||||
|
||||
{include file="page_header.tpl"}
|
||||
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="left" valign="center"><span class="alert">{$tool_alert_message}</span></td>
|
||||
<td align="right">
|
||||
<table cellpadding="1" cellspacing="5" border="0">
|
||||
<tr>
|
||||
{section name=onemenu loop=$tool_menu}
|
||||
<td height="22" class="boxed"><a href="{$tool_menu[onemenu].uri}">{$tool_menu[onemenu].title}</a></td>
|
||||
{/section}
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="left" valign="top" width="70%">
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Accounts</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>ID</b></td>
|
||||
<td><b>Login</b></td>
|
||||
<td><b>Group</b></td>
|
||||
<td><b>Created</b></td>
|
||||
<td><b>Last Logged</b></td>
|
||||
<td><b>Num Logs</b></td>
|
||||
<td><b>Active</b></td>
|
||||
</tr>
|
||||
{section name=user loop=$tool_user_list}
|
||||
{cycle assign="trclass" values="row1,row0"}
|
||||
<tr class="{$trclass}">
|
||||
<td>{$tool_user_list[user].user_id}</td>
|
||||
<td><a href="tool_administration.php?toolmode=users&toolaction=edit&user_id={$tool_user_list[user].user_id}">{$tool_user_list[user].user_name}</a></td>
|
||||
<td><a href="tool_administration.php?toolmode=groups&toolaction=edit&group_id={$tool_user_list[user].user_group_id}">{$tool_user_list[user].user_group_name}</a></td>
|
||||
<td>{$tool_user_list[user].user_created|date_format:"%Y/%m/%d %H:%M:%S"}</td>
|
||||
{if $tool_user_list[user].user_logged_last > 0}
|
||||
<td>{$tool_user_list[user].user_logged_last|date_format:"%Y/%m/%d %H:%M:%S"}</td>
|
||||
{else}
|
||||
<td>never</td>
|
||||
{/if}
|
||||
<td>{$tool_user_list[user].user_logged_count}</td>
|
||||
<td>{if $tool_user_list[user].user_active == 1}Yes{else}No{/if}</td>
|
||||
</tr>
|
||||
{/section}
|
||||
</table>
|
||||
</td>
|
||||
|
||||
|
||||
<td align="right" valign="top" width="30%">
|
||||
<table width="90%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_administration.php?toolmode=users" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Account Details</th>
|
||||
</tr>
|
||||
{if $tool_user_edit_data.user_id}
|
||||
<tr>
|
||||
<td width="40%" align="right">Id :</td>
|
||||
<td><input type="text" name="tool_form_user_id" value="{$tool_user_edit_data.user_id}" size="10" readonly></td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td width="40%" align="right">Name :</td>
|
||||
<td><input type="text" name="tool_form_user_name" value="{$tool_user_edit_data.user_name}" maxlength="32" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%" align="right">Password :</td>
|
||||
<td><input type="password" name="tool_form_user_password" value="" maxlength="16" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%" align="right">Group :</td>
|
||||
<td>
|
||||
<select name="tool_form_user_group">
|
||||
{section name=group loop=$tool_group_list}
|
||||
<option value="{$tool_group_list[group].group_id}" {if $tool_user_edit_data.user_group_id == $tool_group_list[group].group_id}selected{/if}>{$tool_group_list[group].group_name}</option>
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%" align="right">Active :</td>
|
||||
<td>
|
||||
<select name="tool_form_user_active">
|
||||
<option value="1" {if $tool_user_edit_data.user_active == 1}selected{/if}>Yes</option>
|
||||
<option value="0" {if $tool_user_edit_data.user_active == 0}selected{/if}>No</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%"> </td>
|
||||
<td>
|
||||
|
||||
{if $tool_user_edit_data.user_id}
|
||||
<input type="submit" name="toolaction" value="update">
|
||||
<input type="submit" name="toolaction" value="delete" onclick="if (confirm('Are you sure you want to DELETE the user < {$tool_user_edit_data.user_name} > ?')) return true; return false;">
|
||||
{else}
|
||||
<input type="submit" name="toolaction" value="create">
|
||||
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
|
||||
{if $tool_user_edit_data.user_id}
|
||||
|
||||
<br>
|
||||
<table width="90%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_administration.php?toolmode=users" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Application Access</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right" width="40%">Applications :</td>
|
||||
<td>
|
||||
<select name="tool_form_application_ids[]" multiple size="10" style="width:150px;">
|
||||
{section name=appl loop=$tool_application_list}
|
||||
<option value="{$tool_application_list[appl].application_id}" {if $tool_application_list[appl].application_restriction == "" || $tool_application_list[appl].application_disabled}disabled{elseif $tool_application_list[appl].application_selected}selected{/if}>{$tool_application_list[appl].application_name}</option>
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%"> </td>
|
||||
<td>
|
||||
<input type="hidden" name="tool_form_user_id" value="{$tool_user_edit_data.user_id}">
|
||||
<input type="submit" name="toolaction" value="update applications">
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
<table width="90%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_administration.php?toolmode=users" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Domain Access</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%" align="right">Domains :</td>
|
||||
<td>
|
||||
<select name="tool_form_domain_ids[]" multiple size="5" style="width:150px;">
|
||||
{section name=domain loop=$tool_domain_list}
|
||||
<option value="{$tool_domain_list[domain].domain_id}" {if $tool_domain_list[domain].domain_disabled}disabled{elseif $tool_domain_list[domain].domain_selected}selected{/if}>{$tool_domain_list[domain].domain_name}</option>
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%"> </td>
|
||||
<td>
|
||||
<input type="hidden" name="tool_form_user_id" value="{$tool_user_edit_data.user_id}">
|
||||
<input type="submit" name="toolaction" value="update domains">
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
<table width="90%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_administration.php?toolmode=users" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Shard Access {if $tool_domain_list[domain].domain_disabled}(group){/if}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%" align="right">Shards :</td>
|
||||
<td>
|
||||
<select name="tool_form_shard_ids[]" multiple size="20" style="width:150px;">
|
||||
{section name=domain loop=$tool_shard_list}
|
||||
{if $tool_shard_list[domain].domain_visible}
|
||||
<option value="" disabled >Domain : {$tool_shard_list[domain].domain_name}</option>
|
||||
{section name=shard loop=$tool_shard_list[domain].shard_list}
|
||||
<option value="{$tool_shard_list[domain].domain_id}_{$tool_shard_list[domain].shard_list[shard].shard_id}" {if $tool_shard_list[domain].shard_list[shard].shard_disabled}disabled{elseif $tool_shard_list[domain].shard_list[shard].shard_selected}selected{/if}> +-- {$tool_shard_list[domain].shard_list[shard].shard_name}</option>
|
||||
{/section}
|
||||
<option disabled></option>
|
||||
{/if}
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%"> </td>
|
||||
<td>
|
||||
<input type="hidden" name="tool_form_user_id" value="{$tool_user_edit_data.user_id}">
|
||||
{* <input type="hidden" name="tool_form_domain_id" value="{$tool_shard_list[domain].domain_id}"> *}
|
||||
<input type="submit" name="toolaction" value="update shards">
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{include file="page_footer.tpl"}
|
||||
|
|
|
@ -1,274 +1,274 @@
|
|||
|
||||
{include file="page_header.tpl"}
|
||||
|
||||
{literal}
|
||||
<script language="Javascript" type="text/javascript">
|
||||
<!--
|
||||
function CheckAll()
|
||||
{
|
||||
for (var i=0; i<document.qlist.elements.length; i++)
|
||||
{
|
||||
var e = document.qlist.elements[i];
|
||||
if (e.type == 'checkbox' && e.name != 'allbox')
|
||||
e.checked = document.qlist.allbox.checked;
|
||||
}
|
||||
}
|
||||
|
||||
function CheckToggle(checkname)
|
||||
{
|
||||
checkname.checked = !checkname.checked;
|
||||
}
|
||||
|
||||
function CheckAll()
|
||||
{
|
||||
for (var i=0; i<document.qlist.elements.length; i++)
|
||||
{
|
||||
var e = document.qlist.elements[i];
|
||||
if (e.type == 'checkbox' && e.name != 'allbox')
|
||||
e.checked = document.qlist.allbox.checked;
|
||||
}
|
||||
}
|
||||
|
||||
function CheckToggle(checkname)
|
||||
{
|
||||
checkname.checked = !checkname.checked;
|
||||
}
|
||||
|
||||
var total_secs;
|
||||
|
||||
function TimerDown(secs)
|
||||
{
|
||||
total_secs = secs;
|
||||
CountDown();
|
||||
}
|
||||
|
||||
function TimerDisplay(secs)
|
||||
{
|
||||
timer_min = Math.floor(secs / 60);
|
||||
timer_sec = secs % 60;
|
||||
|
||||
if (timer_min < 10) timer_min = '0'+ timer_min;
|
||||
if (timer_sec < 10) timer_sec = '0'+ timer_sec;
|
||||
|
||||
return timer_min+':'+timer_sec;
|
||||
}
|
||||
|
||||
function CountDown()
|
||||
{
|
||||
total_secs--;
|
||||
if (total_secs >= 0)
|
||||
{
|
||||
document.fcounter.counter.value = TimerDisplay(total_secs);
|
||||
down=setTimeout("CountDown()",1000);
|
||||
}
|
||||
}
|
||||
|
||||
function toggleBox(mybox1, mybox2)
|
||||
{
|
||||
if (document.all)
|
||||
{
|
||||
if (document.all.item(mybox1).style.display == "none")
|
||||
{
|
||||
document.all.item(mybox1).style.display = "";
|
||||
document.all.item(mybox2).style.display = "none";
|
||||
}
|
||||
else
|
||||
{
|
||||
document.all.item(mybox2).style.display = "";
|
||||
document.all.item(mybox1).style.display = "none";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (document.getElementById(mybox1).style.display == "none")
|
||||
{
|
||||
document.getElementById(mybox1).style.display = "";
|
||||
document.getElementById(mybox2).style.display = "none";
|
||||
}
|
||||
else
|
||||
{
|
||||
document.getElementById(mybox2).style.display = "";
|
||||
document.getElementById(mybox1).style.display = "none";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//-->
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="right">
|
||||
<table cellpadding="1" cellspacing="5" border="0">
|
||||
<tr>
|
||||
{section name=onemenu loop=$tool_menu}
|
||||
<td height="22" class="boxed"><a href="{$tool_menu[onemenu].uri}">{$tool_menu[onemenu].title}</a></td>
|
||||
{/section}
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="10">
|
||||
<tr>
|
||||
<td align="left" valign="top" width="150px">
|
||||
|
||||
{if $tool_domain_selected && $tool_shard_selected}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Refresh</th>
|
||||
</tr>
|
||||
<form action="tool_graphs.php?toolmode={$toolmode}&domain={$tool_domain_selected}&shard={$tool_shard_selected}" method="post" name="fcounter">
|
||||
<tr>
|
||||
<td>
|
||||
<select name="services_refresh" style="width:100%;" onchange="this.form.submit();">
|
||||
{section name=refresh loop=$tool_refresh_list}
|
||||
<option value="{$tool_refresh_list[refresh].secs}" {if $tool_refresh_rate == $tool_refresh_list[refresh].secs}selected{/if}>{$tool_refresh_list[refresh].desc}</option>
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
{if $tool_refresh_rate > 0}
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" name="counter" value="" readonly class="refresh_counter">
|
||||
<script language="Javascript" type="text/javascript">
|
||||
<!--
|
||||
TimerDown({$tool_refresh_rate});
|
||||
-->
|
||||
</script>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
</form>
|
||||
</table>
|
||||
<br>
|
||||
{/if}
|
||||
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Domains</th>
|
||||
</tr>
|
||||
{section name=domain loop=$tool_domain_list}
|
||||
<tr>
|
||||
<td align="center" class="{if $tool_domain_selected == $tool_domain_list[domain].domain_id}domainlistselected{else}domainlist{/if}"><a href="tool_graphs.php?toolmode={$toolmode}&domain={$tool_domain_list[domain].domain_id}">{$tool_domain_list[domain].domain_name}</a></td>
|
||||
</tr>
|
||||
{/section}
|
||||
</table>
|
||||
|
||||
{if $tool_domain_selected}
|
||||
<br>
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Shards</th>
|
||||
</tr>
|
||||
{section name=shard loop=$tool_shard_list}
|
||||
{if $tool_domain_selected == $tool_shard_list[shard].shard_domain_id}
|
||||
<tr>
|
||||
<td align="center" class="{if $tool_shard_selected == $tool_shard_list[shard].shard_id}shardlistselected{else}shardlist{/if}"><a href="tool_graphs.php?toolmode={$toolmode}&domain={$tool_domain_selected}&shard={$tool_shard_list[shard].shard_id}">{$tool_shard_list[shard].shard_name}</a></td>
|
||||
</tr>
|
||||
{/if}
|
||||
{/section}
|
||||
</table>
|
||||
|
||||
{if $tool_frame_list}
|
||||
<!-- <br>
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Time Frame</th>
|
||||
</tr>
|
||||
{section name=frame loop=$tool_frame_list}
|
||||
<tr>
|
||||
<td align="center" class="{if $tool_frame_selected == $tool_frame_list[frame].value}shardlistselected{else}shardlist{/if}"><a href="tool_graphs.php?toolmode={$toolmode}&domain={$tool_domain_selected}&shard={$tool_shard_selected}&frame={$tool_frame_list[frame].value}">{$tool_frame_list[frame].title}</a></td>
|
||||
</tr>
|
||||
{/section}
|
||||
</table>-->
|
||||
{/if}
|
||||
|
||||
{if $tool_graph_list}
|
||||
<br>
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Graphs</th>
|
||||
</tr>
|
||||
{section name=gvar loop=$tool_graph_variables}
|
||||
<tr class="row1_static" style="border: 1px solid #000000;">
|
||||
<td align="left"><b>{$tool_graph_variables[gvar]}</b></td>
|
||||
<!--<td align="center"><small>Low</small></td>-->
|
||||
<td align="center"><small>High</small></td>
|
||||
</tr>
|
||||
{assign var="var_name" value=$tool_graph_variables[gvar]}
|
||||
{section name=gdata loop=$tool_graph_datas.$var_name}
|
||||
<tr class="{if ($tool_graph_variable_selected == $var_name) && ($tool_graph_service_selected == $tool_graph_datas.$var_name[gdata].service)}varlistselected{else}varlist{/if}">
|
||||
<td align="left"><a href="tool_graphs.php?toolmode={$toolmode}&domain={$tool_domain_selected}&shard={$tool_shard_selected}&variable={$var_name}&service={$tool_graph_datas.$var_name[gdata].service}">{$tool_graph_datas.$var_name[gdata].service}</a></td>
|
||||
<!--<td align="center"><small>{if $tool_graph_datas.$var_name[gdata].low_file != ''}Yes{else}No{/if}</small></td>-->
|
||||
<td align="center"><small>{if $tool_graph_datas.$var_name[gdata].high_file != ''}Yes{else}No{/if}</small></td>
|
||||
</tr>
|
||||
{/section}
|
||||
{/section}
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
|
||||
<td width="10px"> </td>
|
||||
|
||||
<td align="right" valign="top">
|
||||
|
||||
{if $tool_domain_error}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0"><span class="alert">{$tool_domain_error}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
{elseif !$tool_domain_selected}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0">You need to select a domain.</td>
|
||||
</tr>
|
||||
</table>
|
||||
{else}
|
||||
{if $tool_as_error}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0"><span class="alert">{$tool_as_error}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
{/if}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0" width="50%" valign="top">
|
||||
{if $tool_rrd_output}
|
||||
{section name=rrd loop=$tool_rrd_output}
|
||||
{$tool_rrd_output[rrd].desc}<br>
|
||||
<img src="{$tool_rrd_output[rrd].img}" border="0"><br>
|
||||
{/section}
|
||||
{/if}
|
||||
</td>
|
||||
<td class="row0" width="50%" valign="top">
|
||||
{if $tool_rrd_high_output}
|
||||
{section name=rrd loop=$tool_rrd_high_output}
|
||||
<b>{$tool_rrd_high_output[rrd].desc}</b><br>
|
||||
{if $tool_rrd_high_output[rrd].img != ''}
|
||||
<img src="{$tool_rrd_high_output[rrd].img}" border="0"><br>
|
||||
{/if}
|
||||
{/section}
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
{include file="page_footer.tpl"}
|
||||
|
||||
{include file="page_header.tpl"}
|
||||
|
||||
{literal}
|
||||
<script language="Javascript" type="text/javascript">
|
||||
<!--
|
||||
function CheckAll()
|
||||
{
|
||||
for (var i=0; i<document.qlist.elements.length; i++)
|
||||
{
|
||||
var e = document.qlist.elements[i];
|
||||
if (e.type == 'checkbox' && e.name != 'allbox')
|
||||
e.checked = document.qlist.allbox.checked;
|
||||
}
|
||||
}
|
||||
|
||||
function CheckToggle(checkname)
|
||||
{
|
||||
checkname.checked = !checkname.checked;
|
||||
}
|
||||
|
||||
function CheckAll()
|
||||
{
|
||||
for (var i=0; i<document.qlist.elements.length; i++)
|
||||
{
|
||||
var e = document.qlist.elements[i];
|
||||
if (e.type == 'checkbox' && e.name != 'allbox')
|
||||
e.checked = document.qlist.allbox.checked;
|
||||
}
|
||||
}
|
||||
|
||||
function CheckToggle(checkname)
|
||||
{
|
||||
checkname.checked = !checkname.checked;
|
||||
}
|
||||
|
||||
var total_secs;
|
||||
|
||||
function TimerDown(secs)
|
||||
{
|
||||
total_secs = secs;
|
||||
CountDown();
|
||||
}
|
||||
|
||||
function TimerDisplay(secs)
|
||||
{
|
||||
timer_min = Math.floor(secs / 60);
|
||||
timer_sec = secs % 60;
|
||||
|
||||
if (timer_min < 10) timer_min = '0'+ timer_min;
|
||||
if (timer_sec < 10) timer_sec = '0'+ timer_sec;
|
||||
|
||||
return timer_min+':'+timer_sec;
|
||||
}
|
||||
|
||||
function CountDown()
|
||||
{
|
||||
total_secs--;
|
||||
if (total_secs >= 0)
|
||||
{
|
||||
document.fcounter.counter.value = TimerDisplay(total_secs);
|
||||
down=setTimeout("CountDown()",1000);
|
||||
}
|
||||
}
|
||||
|
||||
function toggleBox(mybox1, mybox2)
|
||||
{
|
||||
if (document.all)
|
||||
{
|
||||
if (document.all.item(mybox1).style.display == "none")
|
||||
{
|
||||
document.all.item(mybox1).style.display = "";
|
||||
document.all.item(mybox2).style.display = "none";
|
||||
}
|
||||
else
|
||||
{
|
||||
document.all.item(mybox2).style.display = "";
|
||||
document.all.item(mybox1).style.display = "none";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (document.getElementById(mybox1).style.display == "none")
|
||||
{
|
||||
document.getElementById(mybox1).style.display = "";
|
||||
document.getElementById(mybox2).style.display = "none";
|
||||
}
|
||||
else
|
||||
{
|
||||
document.getElementById(mybox2).style.display = "";
|
||||
document.getElementById(mybox1).style.display = "none";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//-->
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="right">
|
||||
<table cellpadding="1" cellspacing="5" border="0">
|
||||
<tr>
|
||||
{section name=onemenu loop=$tool_menu}
|
||||
<td height="22" class="boxed"><a href="{$tool_menu[onemenu].uri}">{$tool_menu[onemenu].title}</a></td>
|
||||
{/section}
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="10">
|
||||
<tr>
|
||||
<td align="left" valign="top" width="150px">
|
||||
|
||||
{if $tool_domain_selected && $tool_shard_selected}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Refresh</th>
|
||||
</tr>
|
||||
<form action="tool_graphs.php?toolmode={$toolmode}&domain={$tool_domain_selected}&shard={$tool_shard_selected}" method="post" name="fcounter">
|
||||
<tr>
|
||||
<td>
|
||||
<select name="services_refresh" style="width:100%;" onchange="this.form.submit();">
|
||||
{section name=refresh loop=$tool_refresh_list}
|
||||
<option value="{$tool_refresh_list[refresh].secs}" {if $tool_refresh_rate == $tool_refresh_list[refresh].secs}selected{/if}>{$tool_refresh_list[refresh].desc}</option>
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
{if $tool_refresh_rate > 0}
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" name="counter" value="" readonly class="refresh_counter">
|
||||
<script language="Javascript" type="text/javascript">
|
||||
<!--
|
||||
TimerDown({$tool_refresh_rate});
|
||||
-->
|
||||
</script>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
</form>
|
||||
</table>
|
||||
<br>
|
||||
{/if}
|
||||
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Domains</th>
|
||||
</tr>
|
||||
{section name=domain loop=$tool_domain_list}
|
||||
<tr>
|
||||
<td align="center" class="{if $tool_domain_selected == $tool_domain_list[domain].domain_id}domainlistselected{else}domainlist{/if}"><a href="tool_graphs.php?toolmode={$toolmode}&domain={$tool_domain_list[domain].domain_id}">{$tool_domain_list[domain].domain_name}</a></td>
|
||||
</tr>
|
||||
{/section}
|
||||
</table>
|
||||
|
||||
{if $tool_domain_selected}
|
||||
<br>
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Shards</th>
|
||||
</tr>
|
||||
{section name=shard loop=$tool_shard_list}
|
||||
{if $tool_domain_selected == $tool_shard_list[shard].shard_domain_id}
|
||||
<tr>
|
||||
<td align="center" class="{if $tool_shard_selected == $tool_shard_list[shard].shard_id}shardlistselected{else}shardlist{/if}"><a href="tool_graphs.php?toolmode={$toolmode}&domain={$tool_domain_selected}&shard={$tool_shard_list[shard].shard_id}">{$tool_shard_list[shard].shard_name}</a></td>
|
||||
</tr>
|
||||
{/if}
|
||||
{/section}
|
||||
</table>
|
||||
|
||||
{if $tool_frame_list}
|
||||
<!-- <br>
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Time Frame</th>
|
||||
</tr>
|
||||
{section name=frame loop=$tool_frame_list}
|
||||
<tr>
|
||||
<td align="center" class="{if $tool_frame_selected == $tool_frame_list[frame].value}shardlistselected{else}shardlist{/if}"><a href="tool_graphs.php?toolmode={$toolmode}&domain={$tool_domain_selected}&shard={$tool_shard_selected}&frame={$tool_frame_list[frame].value}">{$tool_frame_list[frame].title}</a></td>
|
||||
</tr>
|
||||
{/section}
|
||||
</table>-->
|
||||
{/if}
|
||||
|
||||
{if $tool_graph_list}
|
||||
<br>
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Graphs</th>
|
||||
</tr>
|
||||
{section name=gvar loop=$tool_graph_variables}
|
||||
<tr class="row1_static" style="border: 1px solid #000000;">
|
||||
<td align="left"><b>{$tool_graph_variables[gvar]}</b></td>
|
||||
<!--<td align="center"><small>Low</small></td>-->
|
||||
<td align="center"><small>High</small></td>
|
||||
</tr>
|
||||
{assign var="var_name" value=$tool_graph_variables[gvar]}
|
||||
{section name=gdata loop=$tool_graph_datas.$var_name}
|
||||
<tr class="{if ($tool_graph_variable_selected == $var_name) && ($tool_graph_service_selected == $tool_graph_datas.$var_name[gdata].service)}varlistselected{else}varlist{/if}">
|
||||
<td align="left"><a href="tool_graphs.php?toolmode={$toolmode}&domain={$tool_domain_selected}&shard={$tool_shard_selected}&variable={$var_name}&service={$tool_graph_datas.$var_name[gdata].service}">{$tool_graph_datas.$var_name[gdata].service}</a></td>
|
||||
<!--<td align="center"><small>{if $tool_graph_datas.$var_name[gdata].low_file != ''}Yes{else}No{/if}</small></td>-->
|
||||
<td align="center"><small>{if $tool_graph_datas.$var_name[gdata].high_file != ''}Yes{else}No{/if}</small></td>
|
||||
</tr>
|
||||
{/section}
|
||||
{/section}
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
|
||||
<td width="10px"> </td>
|
||||
|
||||
<td align="right" valign="top">
|
||||
|
||||
{if $tool_domain_error}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0"><span class="alert">{$tool_domain_error}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
{elseif !$tool_domain_selected}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0">You need to select a domain.</td>
|
||||
</tr>
|
||||
</table>
|
||||
{else}
|
||||
{if $tool_as_error}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0"><span class="alert">{$tool_as_error}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
{/if}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0" width="50%" valign="top">
|
||||
{if $tool_rrd_output}
|
||||
{section name=rrd loop=$tool_rrd_output}
|
||||
{$tool_rrd_output[rrd].desc}<br>
|
||||
<img src="{$tool_rrd_output[rrd].img}" border="0"><br>
|
||||
{/section}
|
||||
{/if}
|
||||
</td>
|
||||
<td class="row0" width="50%" valign="top">
|
||||
{if $tool_rrd_high_output}
|
||||
{section name=rrd loop=$tool_rrd_high_output}
|
||||
<b>{$tool_rrd_high_output[rrd].desc}</b><br>
|
||||
{if $tool_rrd_high_output[rrd].img != ''}
|
||||
<img src="{$tool_rrd_high_output[rrd].img}" border="0"><br>
|
||||
{/if}
|
||||
{/section}
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
{include file="page_footer.tpl"}
|
||||
|
|
|
@ -1,230 +1,230 @@
|
|||
|
||||
{include file="page_header.tpl"}
|
||||
|
||||
{literal}
|
||||
<script language="Javascript" type="text/javascript">
|
||||
<!--
|
||||
function CheckAll()
|
||||
{
|
||||
for (var i=0; i<document.qlist.elements.length; i++)
|
||||
{
|
||||
var e = document.qlist.elements[i];
|
||||
if (e.type == 'checkbox' && e.name != 'allbox')
|
||||
e.checked = document.qlist.allbox.checked;
|
||||
}
|
||||
}
|
||||
|
||||
function CheckToggle(checkname)
|
||||
{
|
||||
checkname.checked = !checkname.checked;
|
||||
}
|
||||
|
||||
function CheckAll()
|
||||
{
|
||||
for (var i=0; i<document.qlist.elements.length; i++)
|
||||
{
|
||||
var e = document.qlist.elements[i];
|
||||
if (e.type == 'checkbox' && e.name != 'allbox')
|
||||
e.checked = document.qlist.allbox.checked;
|
||||
}
|
||||
}
|
||||
|
||||
function CheckToggle(checkname)
|
||||
{
|
||||
checkname.checked = !checkname.checked;
|
||||
}
|
||||
|
||||
var total_secs;
|
||||
|
||||
function TimerDown(secs)
|
||||
{
|
||||
total_secs = secs;
|
||||
CountDown();
|
||||
}
|
||||
|
||||
function TimerDisplay(secs)
|
||||
{
|
||||
timer_min = Math.floor(secs / 60);
|
||||
timer_sec = secs % 60;
|
||||
|
||||
if (timer_min < 10) timer_min = '0'+ timer_min;
|
||||
if (timer_sec < 10) timer_sec = '0'+ timer_sec;
|
||||
|
||||
return timer_min+':'+timer_sec;
|
||||
}
|
||||
|
||||
function CountDown()
|
||||
{
|
||||
total_secs--;
|
||||
if (total_secs >= 0)
|
||||
{
|
||||
document.fcounter.counter.value = TimerDisplay(total_secs);
|
||||
down=setTimeout("CountDown()",1000);
|
||||
}
|
||||
}
|
||||
|
||||
function toggleBox(mybox1, mybox2)
|
||||
{
|
||||
if (document.all)
|
||||
{
|
||||
if (document.all.item(mybox1).style.display == "none")
|
||||
{
|
||||
document.all.item(mybox1).style.display = "";
|
||||
document.all.item(mybox2).style.display = "none";
|
||||
}
|
||||
else
|
||||
{
|
||||
document.all.item(mybox2).style.display = "";
|
||||
document.all.item(mybox1).style.display = "none";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (document.getElementById(mybox1).style.display == "none")
|
||||
{
|
||||
document.getElementById(mybox1).style.display = "";
|
||||
document.getElementById(mybox2).style.display = "none";
|
||||
}
|
||||
else
|
||||
{
|
||||
document.getElementById(mybox2).style.display = "";
|
||||
document.getElementById(mybox1).style.display = "none";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//-->
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="right">
|
||||
<table cellpadding="1" cellspacing="5" border="0">
|
||||
<tr>
|
||||
{section name=onemenu loop=$tool_menu}
|
||||
<td height="22" class="boxed"><a href="{$tool_menu[onemenu].uri}">{$tool_menu[onemenu].title}</a></td>
|
||||
{/section}
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="10">
|
||||
<tr>
|
||||
<td align="left" valign="top" width="150px">
|
||||
|
||||
{if $tool_domain_selected && $tool_frame_selected}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Refresh</th>
|
||||
</tr>
|
||||
<form action="tool_graphs.php?toolmode={$toolmode}&domain={$tool_domain_selected}&shard={$tool_shard_selected}" method="post" name="fcounter">
|
||||
<tr>
|
||||
<td>
|
||||
<select name="services_refresh" style="width:100%;" onchange="this.form.submit();">
|
||||
{section name=refresh loop=$tool_refresh_list}
|
||||
<option value="{$tool_refresh_list[refresh].secs}" {if $tool_refresh_rate == $tool_refresh_list[refresh].secs}selected{/if}>{$tool_refresh_list[refresh].desc}</option>
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
{if $tool_refresh_rate > 0}
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" name="counter" value="" readonly class="refresh_counter">
|
||||
<script language="Javascript" type="text/javascript">
|
||||
<!--
|
||||
TimerDown({$tool_refresh_rate});
|
||||
-->
|
||||
</script>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
</form>
|
||||
</table>
|
||||
<br>
|
||||
{/if}
|
||||
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Domains</th>
|
||||
</tr>
|
||||
{section name=domain loop=$tool_domain_list}
|
||||
<tr>
|
||||
<td align="center" class="{if $tool_domain_selected == $tool_domain_list[domain].domain_id}domainlistselected{else}domainlist{/if}"><a href="tool_graphs.php?toolmode={$toolmode}&domain={$tool_domain_list[domain].domain_id}">{$tool_domain_list[domain].domain_name}</a></td>
|
||||
</tr>
|
||||
{/section}
|
||||
</table>
|
||||
|
||||
{if $tool_domain_selected}
|
||||
<br>
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Time Frame</th>
|
||||
</tr>
|
||||
{section name=frame loop=$tool_frame_list}
|
||||
<tr>
|
||||
<td align="center" class="{if $tool_frame_selected == $tool_frame_list[frame].value}shardlistselected{else}shardlist{/if}"><a href="tool_graphs.php?toolmode={$toolmode}&domain={$tool_domain_selected}&shard={$tool_shard_selected}&lowframe={$tool_frame_list[frame].value}">{$tool_frame_list[frame].title}</a></td>
|
||||
</tr>
|
||||
{/section}
|
||||
</table>
|
||||
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
|
||||
<td width="10px"> </td>
|
||||
|
||||
<td align="right" valign="top">
|
||||
|
||||
{if $tool_domain_error}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0"><span class="alert">{$tool_domain_error}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
{elseif !$tool_domain_selected}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0">You need to select a domain.</td>
|
||||
</tr>
|
||||
</table>
|
||||
{elseif !$tool_frame_selected}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0">You need to select a time frame.</td>
|
||||
</tr>
|
||||
</table>
|
||||
{else}
|
||||
{if $tool_as_error}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0"><span class="alert">{$tool_as_error}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
{/if}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0" width="100%" valign="top">
|
||||
{if $tool_rrd_output}
|
||||
{section name=rrd loop=$tool_rrd_output}
|
||||
<b>{$tool_rrd_output[rrd].desc}</b><br>
|
||||
<img src="{$tool_rrd_output[rrd].img}" border="0"><br>
|
||||
{/section}
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
{include file="page_footer.tpl"}
|
||||
|
||||
{include file="page_header.tpl"}
|
||||
|
||||
{literal}
|
||||
<script language="Javascript" type="text/javascript">
|
||||
<!--
|
||||
function CheckAll()
|
||||
{
|
||||
for (var i=0; i<document.qlist.elements.length; i++)
|
||||
{
|
||||
var e = document.qlist.elements[i];
|
||||
if (e.type == 'checkbox' && e.name != 'allbox')
|
||||
e.checked = document.qlist.allbox.checked;
|
||||
}
|
||||
}
|
||||
|
||||
function CheckToggle(checkname)
|
||||
{
|
||||
checkname.checked = !checkname.checked;
|
||||
}
|
||||
|
||||
function CheckAll()
|
||||
{
|
||||
for (var i=0; i<document.qlist.elements.length; i++)
|
||||
{
|
||||
var e = document.qlist.elements[i];
|
||||
if (e.type == 'checkbox' && e.name != 'allbox')
|
||||
e.checked = document.qlist.allbox.checked;
|
||||
}
|
||||
}
|
||||
|
||||
function CheckToggle(checkname)
|
||||
{
|
||||
checkname.checked = !checkname.checked;
|
||||
}
|
||||
|
||||
var total_secs;
|
||||
|
||||
function TimerDown(secs)
|
||||
{
|
||||
total_secs = secs;
|
||||
CountDown();
|
||||
}
|
||||
|
||||
function TimerDisplay(secs)
|
||||
{
|
||||
timer_min = Math.floor(secs / 60);
|
||||
timer_sec = secs % 60;
|
||||
|
||||
if (timer_min < 10) timer_min = '0'+ timer_min;
|
||||
if (timer_sec < 10) timer_sec = '0'+ timer_sec;
|
||||
|
||||
return timer_min+':'+timer_sec;
|
||||
}
|
||||
|
||||
function CountDown()
|
||||
{
|
||||
total_secs--;
|
||||
if (total_secs >= 0)
|
||||
{
|
||||
document.fcounter.counter.value = TimerDisplay(total_secs);
|
||||
down=setTimeout("CountDown()",1000);
|
||||
}
|
||||
}
|
||||
|
||||
function toggleBox(mybox1, mybox2)
|
||||
{
|
||||
if (document.all)
|
||||
{
|
||||
if (document.all.item(mybox1).style.display == "none")
|
||||
{
|
||||
document.all.item(mybox1).style.display = "";
|
||||
document.all.item(mybox2).style.display = "none";
|
||||
}
|
||||
else
|
||||
{
|
||||
document.all.item(mybox2).style.display = "";
|
||||
document.all.item(mybox1).style.display = "none";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (document.getElementById(mybox1).style.display == "none")
|
||||
{
|
||||
document.getElementById(mybox1).style.display = "";
|
||||
document.getElementById(mybox2).style.display = "none";
|
||||
}
|
||||
else
|
||||
{
|
||||
document.getElementById(mybox2).style.display = "";
|
||||
document.getElementById(mybox1).style.display = "none";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//-->
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="right">
|
||||
<table cellpadding="1" cellspacing="5" border="0">
|
||||
<tr>
|
||||
{section name=onemenu loop=$tool_menu}
|
||||
<td height="22" class="boxed"><a href="{$tool_menu[onemenu].uri}">{$tool_menu[onemenu].title}</a></td>
|
||||
{/section}
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="10">
|
||||
<tr>
|
||||
<td align="left" valign="top" width="150px">
|
||||
|
||||
{if $tool_domain_selected && $tool_frame_selected}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Refresh</th>
|
||||
</tr>
|
||||
<form action="tool_graphs.php?toolmode={$toolmode}&domain={$tool_domain_selected}&shard={$tool_shard_selected}" method="post" name="fcounter">
|
||||
<tr>
|
||||
<td>
|
||||
<select name="services_refresh" style="width:100%;" onchange="this.form.submit();">
|
||||
{section name=refresh loop=$tool_refresh_list}
|
||||
<option value="{$tool_refresh_list[refresh].secs}" {if $tool_refresh_rate == $tool_refresh_list[refresh].secs}selected{/if}>{$tool_refresh_list[refresh].desc}</option>
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
{if $tool_refresh_rate > 0}
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" name="counter" value="" readonly class="refresh_counter">
|
||||
<script language="Javascript" type="text/javascript">
|
||||
<!--
|
||||
TimerDown({$tool_refresh_rate});
|
||||
-->
|
||||
</script>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
</form>
|
||||
</table>
|
||||
<br>
|
||||
{/if}
|
||||
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Domains</th>
|
||||
</tr>
|
||||
{section name=domain loop=$tool_domain_list}
|
||||
<tr>
|
||||
<td align="center" class="{if $tool_domain_selected == $tool_domain_list[domain].domain_id}domainlistselected{else}domainlist{/if}"><a href="tool_graphs.php?toolmode={$toolmode}&domain={$tool_domain_list[domain].domain_id}">{$tool_domain_list[domain].domain_name}</a></td>
|
||||
</tr>
|
||||
{/section}
|
||||
</table>
|
||||
|
||||
{if $tool_domain_selected}
|
||||
<br>
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Time Frame</th>
|
||||
</tr>
|
||||
{section name=frame loop=$tool_frame_list}
|
||||
<tr>
|
||||
<td align="center" class="{if $tool_frame_selected == $tool_frame_list[frame].value}shardlistselected{else}shardlist{/if}"><a href="tool_graphs.php?toolmode={$toolmode}&domain={$tool_domain_selected}&shard={$tool_shard_selected}&lowframe={$tool_frame_list[frame].value}">{$tool_frame_list[frame].title}</a></td>
|
||||
</tr>
|
||||
{/section}
|
||||
</table>
|
||||
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
|
||||
<td width="10px"> </td>
|
||||
|
||||
<td align="right" valign="top">
|
||||
|
||||
{if $tool_domain_error}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0"><span class="alert">{$tool_domain_error}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
{elseif !$tool_domain_selected}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0">You need to select a domain.</td>
|
||||
</tr>
|
||||
</table>
|
||||
{elseif !$tool_frame_selected}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0">You need to select a time frame.</td>
|
||||
</tr>
|
||||
</table>
|
||||
{else}
|
||||
{if $tool_as_error}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0"><span class="alert">{$tool_as_error}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
{/if}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0" width="100%" valign="top">
|
||||
{if $tool_rrd_output}
|
||||
{section name=rrd loop=$tool_rrd_output}
|
||||
<b>{$tool_rrd_output[rrd].desc}</b><br>
|
||||
<img src="{$tool_rrd_output[rrd].img}" border="0"><br>
|
||||
{/section}
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
{include file="page_footer.tpl"}
|
||||
|
|
|
@ -1,252 +1,252 @@
|
|||
|
||||
{include file="page_header.tpl"}
|
||||
|
||||
{literal}
|
||||
<script language="Javascript" type="text/javascript">
|
||||
<!--
|
||||
function CheckAll()
|
||||
{
|
||||
for (var i=0; i<document.qlist.elements.length; i++)
|
||||
{
|
||||
var e = document.qlist.elements[i];
|
||||
if (e.type == 'checkbox' && e.name != 'allbox')
|
||||
e.checked = document.qlist.allbox.checked;
|
||||
}
|
||||
}
|
||||
|
||||
function CheckToggle(checkname)
|
||||
{
|
||||
checkname.checked = !checkname.checked;
|
||||
}
|
||||
|
||||
function CheckAll()
|
||||
{
|
||||
for (var i=0; i<document.qlist.elements.length; i++)
|
||||
{
|
||||
var e = document.qlist.elements[i];
|
||||
if (e.type == 'checkbox' && e.name != 'allbox')
|
||||
e.checked = document.qlist.allbox.checked;
|
||||
}
|
||||
}
|
||||
|
||||
function CheckToggle(checkname)
|
||||
{
|
||||
checkname.checked = !checkname.checked;
|
||||
}
|
||||
|
||||
var total_secs;
|
||||
|
||||
function TimerDown(secs)
|
||||
{
|
||||
total_secs = secs;
|
||||
CountDown();
|
||||
}
|
||||
|
||||
function TimerDisplay(secs)
|
||||
{
|
||||
timer_min = Math.floor(secs / 60);
|
||||
timer_sec = secs % 60;
|
||||
|
||||
if (timer_min < 10) timer_min = '0'+ timer_min;
|
||||
if (timer_sec < 10) timer_sec = '0'+ timer_sec;
|
||||
|
||||
return timer_min+':'+timer_sec;
|
||||
}
|
||||
|
||||
function CountDown()
|
||||
{
|
||||
total_secs--;
|
||||
if (total_secs >= 0)
|
||||
{
|
||||
document.fcounter.counter.value = TimerDisplay(total_secs);
|
||||
down=setTimeout("CountDown()",1000);
|
||||
}
|
||||
}
|
||||
|
||||
function toggleBox(mybox1, mybox2)
|
||||
{
|
||||
if (document.all)
|
||||
{
|
||||
if (document.all.item(mybox1).style.display == "none")
|
||||
{
|
||||
document.all.item(mybox1).style.display = "";
|
||||
document.all.item(mybox2).style.display = "none";
|
||||
}
|
||||
else
|
||||
{
|
||||
document.all.item(mybox2).style.display = "";
|
||||
document.all.item(mybox1).style.display = "none";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (document.getElementById(mybox1).style.display == "none")
|
||||
{
|
||||
document.getElementById(mybox1).style.display = "";
|
||||
document.getElementById(mybox2).style.display = "none";
|
||||
}
|
||||
else
|
||||
{
|
||||
document.getElementById(mybox2).style.display = "";
|
||||
document.getElementById(mybox1).style.display = "none";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//-->
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="right">
|
||||
<table cellpadding="1" cellspacing="5" border="0">
|
||||
<tr>
|
||||
{section name=onemenu loop=$tool_menu}
|
||||
<td height="22" class="boxed"><a href="{$tool_menu[onemenu].uri}">{$tool_menu[onemenu].title}</a></td>
|
||||
{/section}
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="10">
|
||||
<tr>
|
||||
<td align="left" valign="top" width="150px">
|
||||
|
||||
{if $tool_domain_selected && $tool_shard_selected && $tool_frame_selected}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Refresh</th>
|
||||
</tr>
|
||||
<form action="tool_graphs.php?toolmode={$toolmode}&domain={$tool_domain_selected}&shard={$tool_shard_selected}" method="post" name="fcounter">
|
||||
<tr>
|
||||
<td>
|
||||
<select name="services_refresh" style="width:100%;" onchange="this.form.submit();">
|
||||
{section name=refresh loop=$tool_refresh_list}
|
||||
<option value="{$tool_refresh_list[refresh].secs}" {if $tool_refresh_rate == $tool_refresh_list[refresh].secs}selected{/if}>{$tool_refresh_list[refresh].desc}</option>
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
{if $tool_refresh_rate > 0}
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" name="counter" value="" readonly class="refresh_counter">
|
||||
<script language="Javascript" type="text/javascript">
|
||||
<!--
|
||||
TimerDown({$tool_refresh_rate});
|
||||
-->
|
||||
</script>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
</form>
|
||||
</table>
|
||||
<br>
|
||||
{/if}
|
||||
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Domains</th>
|
||||
</tr>
|
||||
{section name=domain loop=$tool_domain_list}
|
||||
<tr>
|
||||
<td align="center" class="{if $tool_domain_selected == $tool_domain_list[domain].domain_id}domainlistselected{else}domainlist{/if}"><a href="tool_graphs.php?toolmode={$toolmode}&domain={$tool_domain_list[domain].domain_id}">{$tool_domain_list[domain].domain_name}</a></td>
|
||||
</tr>
|
||||
{/section}
|
||||
</table>
|
||||
|
||||
{if $tool_domain_selected}
|
||||
<br>
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Shards</th>
|
||||
</tr>
|
||||
{section name=shard loop=$tool_shard_list}
|
||||
{if $tool_domain_selected == $tool_shard_list[shard].shard_domain_id}
|
||||
<tr>
|
||||
<td align="center" class="{if $tool_shard_selected == $tool_shard_list[shard].shard_id}shardlistselected{else}shardlist{/if}"><a href="tool_graphs.php?toolmode={$toolmode}&domain={$tool_domain_selected}&shard={$tool_shard_list[shard].shard_id}">{$tool_shard_list[shard].shard_name}</a></td>
|
||||
</tr>
|
||||
{/if}
|
||||
{/section}
|
||||
</table>
|
||||
|
||||
<br>
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Time Frame</th>
|
||||
</tr>
|
||||
{section name=frame loop=$tool_frame_list}
|
||||
<tr>
|
||||
<td align="center" class="{if $tool_frame_selected == $tool_frame_list[frame].value}shardlistselected{else}shardlist{/if}"><a href="tool_graphs.php?toolmode={$toolmode}&domain={$tool_domain_selected}&shard={$tool_shard_selected}&highframe={$tool_frame_list[frame].value}">{$tool_frame_list[frame].title}</a></td>
|
||||
</tr>
|
||||
{/section}
|
||||
</table>
|
||||
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
|
||||
<td width="10px"> </td>
|
||||
|
||||
<td align="right" valign="top">
|
||||
|
||||
{if $tool_domain_error}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0"><span class="alert">{$tool_domain_error}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
{elseif !$tool_domain_selected}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0">You need to select a domain.</td>
|
||||
</tr>
|
||||
</table>
|
||||
{elseif !$tool_shard_selected}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0">You need to select a shard.</td>
|
||||
</tr>
|
||||
</table>
|
||||
{elseif !$tool_frame_selected}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0">You need to select a time frame.</td>
|
||||
</tr>
|
||||
</table>
|
||||
{else}
|
||||
{if $tool_as_error}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0"><span class="alert">{$tool_as_error}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
{/if}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0" width="100%" valign="top">
|
||||
{if $tool_rrd_high_output}
|
||||
{section name=rrd loop=$tool_rrd_high_output}
|
||||
<b>{$tool_rrd_high_output[rrd].desc}</b><br>
|
||||
{if $tool_rrd_high_output[rrd].img != ''}
|
||||
<img src="{$tool_rrd_high_output[rrd].img}" border="0"><br>
|
||||
{/if}
|
||||
{/section}
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
{include file="page_footer.tpl"}
|
||||
|
||||
{include file="page_header.tpl"}
|
||||
|
||||
{literal}
|
||||
<script language="Javascript" type="text/javascript">
|
||||
<!--
|
||||
function CheckAll()
|
||||
{
|
||||
for (var i=0; i<document.qlist.elements.length; i++)
|
||||
{
|
||||
var e = document.qlist.elements[i];
|
||||
if (e.type == 'checkbox' && e.name != 'allbox')
|
||||
e.checked = document.qlist.allbox.checked;
|
||||
}
|
||||
}
|
||||
|
||||
function CheckToggle(checkname)
|
||||
{
|
||||
checkname.checked = !checkname.checked;
|
||||
}
|
||||
|
||||
function CheckAll()
|
||||
{
|
||||
for (var i=0; i<document.qlist.elements.length; i++)
|
||||
{
|
||||
var e = document.qlist.elements[i];
|
||||
if (e.type == 'checkbox' && e.name != 'allbox')
|
||||
e.checked = document.qlist.allbox.checked;
|
||||
}
|
||||
}
|
||||
|
||||
function CheckToggle(checkname)
|
||||
{
|
||||
checkname.checked = !checkname.checked;
|
||||
}
|
||||
|
||||
var total_secs;
|
||||
|
||||
function TimerDown(secs)
|
||||
{
|
||||
total_secs = secs;
|
||||
CountDown();
|
||||
}
|
||||
|
||||
function TimerDisplay(secs)
|
||||
{
|
||||
timer_min = Math.floor(secs / 60);
|
||||
timer_sec = secs % 60;
|
||||
|
||||
if (timer_min < 10) timer_min = '0'+ timer_min;
|
||||
if (timer_sec < 10) timer_sec = '0'+ timer_sec;
|
||||
|
||||
return timer_min+':'+timer_sec;
|
||||
}
|
||||
|
||||
function CountDown()
|
||||
{
|
||||
total_secs--;
|
||||
if (total_secs >= 0)
|
||||
{
|
||||
document.fcounter.counter.value = TimerDisplay(total_secs);
|
||||
down=setTimeout("CountDown()",1000);
|
||||
}
|
||||
}
|
||||
|
||||
function toggleBox(mybox1, mybox2)
|
||||
{
|
||||
if (document.all)
|
||||
{
|
||||
if (document.all.item(mybox1).style.display == "none")
|
||||
{
|
||||
document.all.item(mybox1).style.display = "";
|
||||
document.all.item(mybox2).style.display = "none";
|
||||
}
|
||||
else
|
||||
{
|
||||
document.all.item(mybox2).style.display = "";
|
||||
document.all.item(mybox1).style.display = "none";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (document.getElementById(mybox1).style.display == "none")
|
||||
{
|
||||
document.getElementById(mybox1).style.display = "";
|
||||
document.getElementById(mybox2).style.display = "none";
|
||||
}
|
||||
else
|
||||
{
|
||||
document.getElementById(mybox2).style.display = "";
|
||||
document.getElementById(mybox1).style.display = "none";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//-->
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="right">
|
||||
<table cellpadding="1" cellspacing="5" border="0">
|
||||
<tr>
|
||||
{section name=onemenu loop=$tool_menu}
|
||||
<td height="22" class="boxed"><a href="{$tool_menu[onemenu].uri}">{$tool_menu[onemenu].title}</a></td>
|
||||
{/section}
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="10">
|
||||
<tr>
|
||||
<td align="left" valign="top" width="150px">
|
||||
|
||||
{if $tool_domain_selected && $tool_shard_selected && $tool_frame_selected}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Refresh</th>
|
||||
</tr>
|
||||
<form action="tool_graphs.php?toolmode={$toolmode}&domain={$tool_domain_selected}&shard={$tool_shard_selected}" method="post" name="fcounter">
|
||||
<tr>
|
||||
<td>
|
||||
<select name="services_refresh" style="width:100%;" onchange="this.form.submit();">
|
||||
{section name=refresh loop=$tool_refresh_list}
|
||||
<option value="{$tool_refresh_list[refresh].secs}" {if $tool_refresh_rate == $tool_refresh_list[refresh].secs}selected{/if}>{$tool_refresh_list[refresh].desc}</option>
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
{if $tool_refresh_rate > 0}
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" name="counter" value="" readonly class="refresh_counter">
|
||||
<script language="Javascript" type="text/javascript">
|
||||
<!--
|
||||
TimerDown({$tool_refresh_rate});
|
||||
-->
|
||||
</script>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
</form>
|
||||
</table>
|
||||
<br>
|
||||
{/if}
|
||||
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Domains</th>
|
||||
</tr>
|
||||
{section name=domain loop=$tool_domain_list}
|
||||
<tr>
|
||||
<td align="center" class="{if $tool_domain_selected == $tool_domain_list[domain].domain_id}domainlistselected{else}domainlist{/if}"><a href="tool_graphs.php?toolmode={$toolmode}&domain={$tool_domain_list[domain].domain_id}">{$tool_domain_list[domain].domain_name}</a></td>
|
||||
</tr>
|
||||
{/section}
|
||||
</table>
|
||||
|
||||
{if $tool_domain_selected}
|
||||
<br>
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Shards</th>
|
||||
</tr>
|
||||
{section name=shard loop=$tool_shard_list}
|
||||
{if $tool_domain_selected == $tool_shard_list[shard].shard_domain_id}
|
||||
<tr>
|
||||
<td align="center" class="{if $tool_shard_selected == $tool_shard_list[shard].shard_id}shardlistselected{else}shardlist{/if}"><a href="tool_graphs.php?toolmode={$toolmode}&domain={$tool_domain_selected}&shard={$tool_shard_list[shard].shard_id}">{$tool_shard_list[shard].shard_name}</a></td>
|
||||
</tr>
|
||||
{/if}
|
||||
{/section}
|
||||
</table>
|
||||
|
||||
<br>
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Time Frame</th>
|
||||
</tr>
|
||||
{section name=frame loop=$tool_frame_list}
|
||||
<tr>
|
||||
<td align="center" class="{if $tool_frame_selected == $tool_frame_list[frame].value}shardlistselected{else}shardlist{/if}"><a href="tool_graphs.php?toolmode={$toolmode}&domain={$tool_domain_selected}&shard={$tool_shard_selected}&highframe={$tool_frame_list[frame].value}">{$tool_frame_list[frame].title}</a></td>
|
||||
</tr>
|
||||
{/section}
|
||||
</table>
|
||||
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
|
||||
<td width="10px"> </td>
|
||||
|
||||
<td align="right" valign="top">
|
||||
|
||||
{if $tool_domain_error}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0"><span class="alert">{$tool_domain_error}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
{elseif !$tool_domain_selected}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0">You need to select a domain.</td>
|
||||
</tr>
|
||||
</table>
|
||||
{elseif !$tool_shard_selected}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0">You need to select a shard.</td>
|
||||
</tr>
|
||||
</table>
|
||||
{elseif !$tool_frame_selected}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0">You need to select a time frame.</td>
|
||||
</tr>
|
||||
</table>
|
||||
{else}
|
||||
{if $tool_as_error}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0"><span class="alert">{$tool_as_error}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
{/if}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0" width="100%" valign="top">
|
||||
{if $tool_rrd_high_output}
|
||||
{section name=rrd loop=$tool_rrd_high_output}
|
||||
<b>{$tool_rrd_high_output[rrd].desc}</b><br>
|
||||
{if $tool_rrd_high_output[rrd].img != ''}
|
||||
<img src="{$tool_rrd_high_output[rrd].img}" border="0"><br>
|
||||
{/if}
|
||||
{/section}
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
{include file="page_footer.tpl"}
|
||||
|
|
|
@ -1,250 +1,250 @@
|
|||
|
||||
{include file="page_header.tpl"}
|
||||
|
||||
{literal}
|
||||
<script language="Javascript" type="text/javascript">
|
||||
<!--
|
||||
function CheckAll()
|
||||
{
|
||||
for (var i=0; i<document.qlist.elements.length; i++)
|
||||
{
|
||||
var e = document.qlist.elements[i];
|
||||
if (e.type == 'checkbox' && e.name != 'allbox')
|
||||
e.checked = document.qlist.allbox.checked;
|
||||
}
|
||||
}
|
||||
|
||||
function CheckToggle(checkname)
|
||||
{
|
||||
checkname.checked = !checkname.checked;
|
||||
}
|
||||
|
||||
function CheckAll()
|
||||
{
|
||||
for (var i=0; i<document.qlist.elements.length; i++)
|
||||
{
|
||||
var e = document.qlist.elements[i];
|
||||
if (e.type == 'checkbox' && e.name != 'allbox')
|
||||
e.checked = document.qlist.allbox.checked;
|
||||
}
|
||||
}
|
||||
|
||||
function CheckToggle(checkname)
|
||||
{
|
||||
checkname.checked = !checkname.checked;
|
||||
}
|
||||
|
||||
var total_secs;
|
||||
|
||||
function TimerDown(secs)
|
||||
{
|
||||
total_secs = secs;
|
||||
CountDown();
|
||||
}
|
||||
|
||||
function TimerDisplay(secs)
|
||||
{
|
||||
timer_min = Math.floor(secs / 60);
|
||||
timer_sec = secs % 60;
|
||||
|
||||
if (timer_min < 10) timer_min = '0'+ timer_min;
|
||||
if (timer_sec < 10) timer_sec = '0'+ timer_sec;
|
||||
|
||||
return timer_min+':'+timer_sec;
|
||||
}
|
||||
|
||||
function CountDown()
|
||||
{
|
||||
total_secs--;
|
||||
if (total_secs >= 0)
|
||||
{
|
||||
document.fcounter.counter.value = TimerDisplay(total_secs);
|
||||
down=setTimeout("CountDown()",1000);
|
||||
}
|
||||
}
|
||||
|
||||
function toggleBox(mybox1, mybox2)
|
||||
{
|
||||
if (document.all)
|
||||
{
|
||||
if (document.all.item(mybox1).style.display == "none")
|
||||
{
|
||||
document.all.item(mybox1).style.display = "";
|
||||
document.all.item(mybox2).style.display = "none";
|
||||
}
|
||||
else
|
||||
{
|
||||
document.all.item(mybox2).style.display = "";
|
||||
document.all.item(mybox1).style.display = "none";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (document.getElementById(mybox1).style.display == "none")
|
||||
{
|
||||
document.getElementById(mybox1).style.display = "";
|
||||
document.getElementById(mybox2).style.display = "none";
|
||||
}
|
||||
else
|
||||
{
|
||||
document.getElementById(mybox2).style.display = "";
|
||||
document.getElementById(mybox1).style.display = "none";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//-->
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="right">
|
||||
<table cellpadding="1" cellspacing="5" border="0">
|
||||
<tr>
|
||||
{section name=onemenu loop=$tool_menu}
|
||||
<td height="22" class="boxed"><a href="{$tool_menu[onemenu].uri}">{$tool_menu[onemenu].title}</a></td>
|
||||
{/section}
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="10">
|
||||
<tr>
|
||||
<td align="left" valign="top" width="150px">
|
||||
|
||||
{if $tool_domain_selected && $tool_shard_selected && $tool_frame_selected}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Refresh</th>
|
||||
</tr>
|
||||
<form action="tool_graphs.php?toolmode={$toolmode}&domain={$tool_domain_selected}&shard={$tool_shard_selected}" method="post" name="fcounter">
|
||||
<tr>
|
||||
<td>
|
||||
<select name="services_refresh" style="width:100%;" onchange="this.form.submit();">
|
||||
{section name=refresh loop=$tool_refresh_list}
|
||||
<option value="{$tool_refresh_list[refresh].secs}" {if $tool_refresh_rate == $tool_refresh_list[refresh].secs}selected{/if}>{$tool_refresh_list[refresh].desc}</option>
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
{if $tool_refresh_rate > 0}
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" name="counter" value="" readonly class="refresh_counter">
|
||||
<script language="Javascript" type="text/javascript">
|
||||
<!--
|
||||
TimerDown({$tool_refresh_rate});
|
||||
-->
|
||||
</script>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
</form>
|
||||
</table>
|
||||
<br>
|
||||
{/if}
|
||||
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Domains</th>
|
||||
</tr>
|
||||
{section name=domain loop=$tool_domain_list}
|
||||
<tr>
|
||||
<td align="center" class="{if $tool_domain_selected == $tool_domain_list[domain].domain_id}domainlistselected{else}domainlist{/if}"><a href="tool_graphs.php?toolmode={$toolmode}&domain={$tool_domain_list[domain].domain_id}">{$tool_domain_list[domain].domain_name}</a></td>
|
||||
</tr>
|
||||
{/section}
|
||||
</table>
|
||||
|
||||
{if $tool_domain_selected}
|
||||
<br>
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Shards</th>
|
||||
</tr>
|
||||
{section name=shard loop=$tool_shard_list}
|
||||
{if $tool_domain_selected == $tool_shard_list[shard].shard_domain_id}
|
||||
<tr>
|
||||
<td align="center" class="{if $tool_shard_selected == $tool_shard_list[shard].shard_id}shardlistselected{else}shardlist{/if}"><a href="tool_graphs.php?toolmode={$toolmode}&domain={$tool_domain_selected}&shard={$tool_shard_list[shard].shard_id}">{$tool_shard_list[shard].shard_name}</a></td>
|
||||
</tr>
|
||||
{/if}
|
||||
{/section}
|
||||
</table>
|
||||
|
||||
<br>
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Time Frame</th>
|
||||
</tr>
|
||||
{section name=frame loop=$tool_frame_list}
|
||||
<tr>
|
||||
<td align="center" class="{if $tool_frame_selected == $tool_frame_list[frame].value}shardlistselected{else}shardlist{/if}"><a href="tool_graphs.php?toolmode={$toolmode}&domain={$tool_domain_selected}&shard={$tool_shard_selected}&lowframe={$tool_frame_list[frame].value}">{$tool_frame_list[frame].title}</a></td>
|
||||
</tr>
|
||||
{/section}
|
||||
</table>
|
||||
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
|
||||
<td width="10px"> </td>
|
||||
|
||||
<td align="right" valign="top">
|
||||
|
||||
{if $tool_domain_error}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0"><span class="alert">{$tool_domain_error}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
{elseif !$tool_domain_selected}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0">You need to select a domain.</td>
|
||||
</tr>
|
||||
</table>
|
||||
{elseif !$tool_shard_selected}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0">You need to select a shard.</td>
|
||||
</tr>
|
||||
</table>
|
||||
{elseif !$tool_frame_selected}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0">You need to select a time frame.</td>
|
||||
</tr>
|
||||
</table>
|
||||
{else}
|
||||
{if $tool_as_error}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0"><span class="alert">{$tool_as_error}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
{/if}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0" width="100%" valign="top">
|
||||
{if $tool_rrd_output}
|
||||
{section name=rrd loop=$tool_rrd_output}
|
||||
<b>{$tool_rrd_output[rrd].desc}</b><br>
|
||||
<img src="{$tool_rrd_output[rrd].img}" border="0"><br>
|
||||
{/section}
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
{include file="page_footer.tpl"}
|
||||
|
||||
{include file="page_header.tpl"}
|
||||
|
||||
{literal}
|
||||
<script language="Javascript" type="text/javascript">
|
||||
<!--
|
||||
function CheckAll()
|
||||
{
|
||||
for (var i=0; i<document.qlist.elements.length; i++)
|
||||
{
|
||||
var e = document.qlist.elements[i];
|
||||
if (e.type == 'checkbox' && e.name != 'allbox')
|
||||
e.checked = document.qlist.allbox.checked;
|
||||
}
|
||||
}
|
||||
|
||||
function CheckToggle(checkname)
|
||||
{
|
||||
checkname.checked = !checkname.checked;
|
||||
}
|
||||
|
||||
function CheckAll()
|
||||
{
|
||||
for (var i=0; i<document.qlist.elements.length; i++)
|
||||
{
|
||||
var e = document.qlist.elements[i];
|
||||
if (e.type == 'checkbox' && e.name != 'allbox')
|
||||
e.checked = document.qlist.allbox.checked;
|
||||
}
|
||||
}
|
||||
|
||||
function CheckToggle(checkname)
|
||||
{
|
||||
checkname.checked = !checkname.checked;
|
||||
}
|
||||
|
||||
var total_secs;
|
||||
|
||||
function TimerDown(secs)
|
||||
{
|
||||
total_secs = secs;
|
||||
CountDown();
|
||||
}
|
||||
|
||||
function TimerDisplay(secs)
|
||||
{
|
||||
timer_min = Math.floor(secs / 60);
|
||||
timer_sec = secs % 60;
|
||||
|
||||
if (timer_min < 10) timer_min = '0'+ timer_min;
|
||||
if (timer_sec < 10) timer_sec = '0'+ timer_sec;
|
||||
|
||||
return timer_min+':'+timer_sec;
|
||||
}
|
||||
|
||||
function CountDown()
|
||||
{
|
||||
total_secs--;
|
||||
if (total_secs >= 0)
|
||||
{
|
||||
document.fcounter.counter.value = TimerDisplay(total_secs);
|
||||
down=setTimeout("CountDown()",1000);
|
||||
}
|
||||
}
|
||||
|
||||
function toggleBox(mybox1, mybox2)
|
||||
{
|
||||
if (document.all)
|
||||
{
|
||||
if (document.all.item(mybox1).style.display == "none")
|
||||
{
|
||||
document.all.item(mybox1).style.display = "";
|
||||
document.all.item(mybox2).style.display = "none";
|
||||
}
|
||||
else
|
||||
{
|
||||
document.all.item(mybox2).style.display = "";
|
||||
document.all.item(mybox1).style.display = "none";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (document.getElementById(mybox1).style.display == "none")
|
||||
{
|
||||
document.getElementById(mybox1).style.display = "";
|
||||
document.getElementById(mybox2).style.display = "none";
|
||||
}
|
||||
else
|
||||
{
|
||||
document.getElementById(mybox2).style.display = "";
|
||||
document.getElementById(mybox1).style.display = "none";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//-->
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="right">
|
||||
<table cellpadding="1" cellspacing="5" border="0">
|
||||
<tr>
|
||||
{section name=onemenu loop=$tool_menu}
|
||||
<td height="22" class="boxed"><a href="{$tool_menu[onemenu].uri}">{$tool_menu[onemenu].title}</a></td>
|
||||
{/section}
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="10">
|
||||
<tr>
|
||||
<td align="left" valign="top" width="150px">
|
||||
|
||||
{if $tool_domain_selected && $tool_shard_selected && $tool_frame_selected}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Refresh</th>
|
||||
</tr>
|
||||
<form action="tool_graphs.php?toolmode={$toolmode}&domain={$tool_domain_selected}&shard={$tool_shard_selected}" method="post" name="fcounter">
|
||||
<tr>
|
||||
<td>
|
||||
<select name="services_refresh" style="width:100%;" onchange="this.form.submit();">
|
||||
{section name=refresh loop=$tool_refresh_list}
|
||||
<option value="{$tool_refresh_list[refresh].secs}" {if $tool_refresh_rate == $tool_refresh_list[refresh].secs}selected{/if}>{$tool_refresh_list[refresh].desc}</option>
|
||||
{/section}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
{if $tool_refresh_rate > 0}
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" name="counter" value="" readonly class="refresh_counter">
|
||||
<script language="Javascript" type="text/javascript">
|
||||
<!--
|
||||
TimerDown({$tool_refresh_rate});
|
||||
-->
|
||||
</script>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
</form>
|
||||
</table>
|
||||
<br>
|
||||
{/if}
|
||||
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Domains</th>
|
||||
</tr>
|
||||
{section name=domain loop=$tool_domain_list}
|
||||
<tr>
|
||||
<td align="center" class="{if $tool_domain_selected == $tool_domain_list[domain].domain_id}domainlistselected{else}domainlist{/if}"><a href="tool_graphs.php?toolmode={$toolmode}&domain={$tool_domain_list[domain].domain_id}">{$tool_domain_list[domain].domain_name}</a></td>
|
||||
</tr>
|
||||
{/section}
|
||||
</table>
|
||||
|
||||
{if $tool_domain_selected}
|
||||
<br>
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Shards</th>
|
||||
</tr>
|
||||
{section name=shard loop=$tool_shard_list}
|
||||
{if $tool_domain_selected == $tool_shard_list[shard].shard_domain_id}
|
||||
<tr>
|
||||
<td align="center" class="{if $tool_shard_selected == $tool_shard_list[shard].shard_id}shardlistselected{else}shardlist{/if}"><a href="tool_graphs.php?toolmode={$toolmode}&domain={$tool_domain_selected}&shard={$tool_shard_list[shard].shard_id}">{$tool_shard_list[shard].shard_name}</a></td>
|
||||
</tr>
|
||||
{/if}
|
||||
{/section}
|
||||
</table>
|
||||
|
||||
<br>
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Time Frame</th>
|
||||
</tr>
|
||||
{section name=frame loop=$tool_frame_list}
|
||||
<tr>
|
||||
<td align="center" class="{if $tool_frame_selected == $tool_frame_list[frame].value}shardlistselected{else}shardlist{/if}"><a href="tool_graphs.php?toolmode={$toolmode}&domain={$tool_domain_selected}&shard={$tool_shard_selected}&lowframe={$tool_frame_list[frame].value}">{$tool_frame_list[frame].title}</a></td>
|
||||
</tr>
|
||||
{/section}
|
||||
</table>
|
||||
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
|
||||
<td width="10px"> </td>
|
||||
|
||||
<td align="right" valign="top">
|
||||
|
||||
{if $tool_domain_error}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0"><span class="alert">{$tool_domain_error}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
{elseif !$tool_domain_selected}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0">You need to select a domain.</td>
|
||||
</tr>
|
||||
</table>
|
||||
{elseif !$tool_shard_selected}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0">You need to select a shard.</td>
|
||||
</tr>
|
||||
</table>
|
||||
{elseif !$tool_frame_selected}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0">You need to select a time frame.</td>
|
||||
</tr>
|
||||
</table>
|
||||
{else}
|
||||
{if $tool_as_error}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0"><span class="alert">{$tool_as_error}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
{/if}
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<td class="row0" width="100%" valign="top">
|
||||
{if $tool_rrd_output}
|
||||
{section name=rrd loop=$tool_rrd_output}
|
||||
<b>{$tool_rrd_output[rrd].desc}</b><br>
|
||||
<img src="{$tool_rrd_output[rrd].img}" border="0"><br>
|
||||
{/section}
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
{include file="page_footer.tpl"}
|
||||
|
|
|
@ -1,164 +1,164 @@
|
|||
|
||||
{include file="page_header.tpl"}
|
||||
|
||||
{literal}
|
||||
|
||||
<script language="Javascript" type="text/javascript">
|
||||
<!--
|
||||
|
||||
function toggleLine(myline)
|
||||
{
|
||||
if (document.all)
|
||||
{
|
||||
if (document.all.item(myline).style.display == "none")
|
||||
{
|
||||
document.all.item(myline).style.display = "";
|
||||
}
|
||||
else
|
||||
{
|
||||
document.all.item(myline).style.display = "none";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (document.getElementById(myline).style.display == "none")
|
||||
{
|
||||
document.getElementById(myline).style.display = "";
|
||||
}
|
||||
else
|
||||
{
|
||||
document.getElementById(myline).style.display = "none";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//-->
|
||||
</script>
|
||||
|
||||
{/literal}
|
||||
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="left" valign="center"><span class="alert">{$tool_alert_message}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="left" valign="top" width="50%">
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Notes</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>ID</b></td>
|
||||
<td><b>Title</b></td>
|
||||
<td><b>Mode</b></td>
|
||||
<td><b>Last Update</b></td>
|
||||
<td><b>Active</b></td>
|
||||
{if $restriction_tool_notes_global}
|
||||
<td><b>Global</b></td>
|
||||
{/if}
|
||||
</tr>
|
||||
{section name=note loop=$tool_note_list}
|
||||
<tr class="{cycle values="row1,row0"}">
|
||||
<td>{$tool_note_list[note].note_id}</td>
|
||||
<td><a href="tool_notes.php?note_id={$tool_note_list[note].note_id}">{$tool_note_list[note].note_title}</a></td>
|
||||
<td>{if $tool_note_list[note].note_mode == 0}Text{else}Popup{/if}</td>
|
||||
<td>{$tool_note_list[note].note_date|date_format:"%Y/%m/%d %H:%M:%S"}</td>
|
||||
<td>{if $tool_note_list[note].note_active == 1}Yes{else}No{/if}</td>
|
||||
{if $restriction_tool_notes_global}
|
||||
<td>{if $tool_note_list[note].note_global == 1}Yes{else}No{/if}</td>
|
||||
{/if}
|
||||
</tr>
|
||||
{/section}
|
||||
</table>
|
||||
</td>
|
||||
|
||||
<td> </td>
|
||||
|
||||
<td align="right" valign="top" width="50%">
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_notes.php" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Notes Details</th>
|
||||
</tr>
|
||||
{if $tool_note_edit_data.note_id}
|
||||
<tr>
|
||||
<td align="right">Id :</td>
|
||||
<td><input type="text" name="tool_form_note_id" value="{$tool_note_edit_data.note_id}" size="10" readonly></td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td align="right">Title :</td>
|
||||
<td><input type="text" name="tool_form_note_title" value="{$tool_note_edit_data.note_title}" maxlength="64" size="100%"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="right">Mode : </td>
|
||||
<td><select name="tool_form_note_mode" onchange="toggleLine('note_mode_text'); toggleLine('note_mode_popup_uri'); toggleLine('note_mode_popup_restriction');">
|
||||
<option value="text" {if $tool_note_edit_data.note_mode == 0}selected{/if}>Text</option>
|
||||
<option value="popup" {if $tool_note_edit_data.note_mode == 1}selected{/if}>Popup</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
|
||||
<tr id="note_mode_text" name="note_mode_text" {if $tool_note_edit_data.note_mode == 1}style="display: none;"{/if}>
|
||||
<td align="right">Text :</td>
|
||||
<td><textarea name="tool_form_note_data" rows="15">{$tool_note_edit_data.note_data}</textarea></td>
|
||||
</tr>
|
||||
|
||||
<tr id="note_mode_popup_uri" name="note_mode_popup_uri" {if $tool_note_edit_data.note_mode == 0}style="display: none;"{/if}>
|
||||
<td align="right">URI :</td>
|
||||
<td><input type="text" name="tool_form_note_popup_uri" value="{$tool_note_edit_data.note_popup_uri}" maxlength="255" size="100%"></td>
|
||||
</tr>
|
||||
|
||||
<tr id="note_mode_popup_restriction" name="note_mode_popup_restriction" {if $tool_note_edit_data.note_mode == 0}style="display: none;"{/if}>
|
||||
<td align="right">Restriction :</td>
|
||||
<td><input type="text" name="tool_form_note_popup_restriction" value="{$tool_note_edit_data.note_popup_restriction}" maxlength="64" size="100%"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="right">Active :</td>
|
||||
<td>
|
||||
<select name="tool_form_note_active">
|
||||
<option value="1" {if $tool_note_edit_data.note_active == 1}selected{/if}>Yes</option>
|
||||
<option value="0" {if $tool_note_edit_data.note_active == 0}selected{/if}>No</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
{if $restriction_tool_notes_global}
|
||||
<tr>
|
||||
<td align="right">Global :</td>
|
||||
<td>
|
||||
<select name="tool_form_note_global">
|
||||
<option value="1" {if $tool_note_edit_data.note_global == 1}selected{/if}>Yes</option>
|
||||
<option value="0" {if $tool_note_edit_data.note_global == 0}selected{/if}>No</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
|
||||
{if $tool_note_edit_data.note_id}
|
||||
<input type="submit" name="toolaction" value="update">
|
||||
<input type="submit" name="toolaction" value="delete" onclick="if (confirm('Are you sure you want to DELETE this note ?')) return true; return false;">
|
||||
{else}
|
||||
<input type="submit" name="toolaction" value="create">
|
||||
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
{include file="page_footer.tpl"}
|
||||
|
||||
{include file="page_header.tpl"}
|
||||
|
||||
{literal}
|
||||
|
||||
<script language="Javascript" type="text/javascript">
|
||||
<!--
|
||||
|
||||
function toggleLine(myline)
|
||||
{
|
||||
if (document.all)
|
||||
{
|
||||
if (document.all.item(myline).style.display == "none")
|
||||
{
|
||||
document.all.item(myline).style.display = "";
|
||||
}
|
||||
else
|
||||
{
|
||||
document.all.item(myline).style.display = "none";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (document.getElementById(myline).style.display == "none")
|
||||
{
|
||||
document.getElementById(myline).style.display = "";
|
||||
}
|
||||
else
|
||||
{
|
||||
document.getElementById(myline).style.display = "none";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//-->
|
||||
</script>
|
||||
|
||||
{/literal}
|
||||
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="left" valign="center"><span class="alert">{$tool_alert_message}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="left" valign="top" width="50%">
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<tr>
|
||||
<th colspan="10">Notes</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>ID</b></td>
|
||||
<td><b>Title</b></td>
|
||||
<td><b>Mode</b></td>
|
||||
<td><b>Last Update</b></td>
|
||||
<td><b>Active</b></td>
|
||||
{if $restriction_tool_notes_global}
|
||||
<td><b>Global</b></td>
|
||||
{/if}
|
||||
</tr>
|
||||
{section name=note loop=$tool_note_list}
|
||||
<tr class="{cycle values="row1,row0"}">
|
||||
<td>{$tool_note_list[note].note_id}</td>
|
||||
<td><a href="tool_notes.php?note_id={$tool_note_list[note].note_id}">{$tool_note_list[note].note_title}</a></td>
|
||||
<td>{if $tool_note_list[note].note_mode == 0}Text{else}Popup{/if}</td>
|
||||
<td>{$tool_note_list[note].note_date|date_format:"%Y/%m/%d %H:%M:%S"}</td>
|
||||
<td>{if $tool_note_list[note].note_active == 1}Yes{else}No{/if}</td>
|
||||
{if $restriction_tool_notes_global}
|
||||
<td>{if $tool_note_list[note].note_global == 1}Yes{else}No{/if}</td>
|
||||
{/if}
|
||||
</tr>
|
||||
{/section}
|
||||
</table>
|
||||
</td>
|
||||
|
||||
<td> </td>
|
||||
|
||||
<td align="right" valign="top" width="50%">
|
||||
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||||
<form action="tool_notes.php" method="post">
|
||||
<tr>
|
||||
<th colspan="10">Notes Details</th>
|
||||
</tr>
|
||||
{if $tool_note_edit_data.note_id}
|
||||
<tr>
|
||||
<td align="right">Id :</td>
|
||||
<td><input type="text" name="tool_form_note_id" value="{$tool_note_edit_data.note_id}" size="10" readonly></td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td align="right">Title :</td>
|
||||
<td><input type="text" name="tool_form_note_title" value="{$tool_note_edit_data.note_title}" maxlength="64" size="100%"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="right">Mode : </td>
|
||||
<td><select name="tool_form_note_mode" onchange="toggleLine('note_mode_text'); toggleLine('note_mode_popup_uri'); toggleLine('note_mode_popup_restriction');">
|
||||
<option value="text" {if $tool_note_edit_data.note_mode == 0}selected{/if}>Text</option>
|
||||
<option value="popup" {if $tool_note_edit_data.note_mode == 1}selected{/if}>Popup</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
|
||||
<tr id="note_mode_text" name="note_mode_text" {if $tool_note_edit_data.note_mode == 1}style="display: none;"{/if}>
|
||||
<td align="right">Text :</td>
|
||||
<td><textarea name="tool_form_note_data" rows="15">{$tool_note_edit_data.note_data}</textarea></td>
|
||||
</tr>
|
||||
|
||||
<tr id="note_mode_popup_uri" name="note_mode_popup_uri" {if $tool_note_edit_data.note_mode == 0}style="display: none;"{/if}>
|
||||
<td align="right">URI :</td>
|
||||
<td><input type="text" name="tool_form_note_popup_uri" value="{$tool_note_edit_data.note_popup_uri}" maxlength="255" size="100%"></td>
|
||||
</tr>
|
||||
|
||||
<tr id="note_mode_popup_restriction" name="note_mode_popup_restriction" {if $tool_note_edit_data.note_mode == 0}style="display: none;"{/if}>
|
||||
<td align="right">Restriction :</td>
|
||||
<td><input type="text" name="tool_form_note_popup_restriction" value="{$tool_note_edit_data.note_popup_restriction}" maxlength="64" size="100%"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="right">Active :</td>
|
||||
<td>
|
||||
<select name="tool_form_note_active">
|
||||
<option value="1" {if $tool_note_edit_data.note_active == 1}selected{/if}>Yes</option>
|
||||
<option value="0" {if $tool_note_edit_data.note_active == 0}selected{/if}>No</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
{if $restriction_tool_notes_global}
|
||||
<tr>
|
||||
<td align="right">Global :</td>
|
||||
<td>
|
||||
<select name="tool_form_note_global">
|
||||
<option value="1" {if $tool_note_edit_data.note_global == 1}selected{/if}>Yes</option>
|
||||
<option value="0" {if $tool_note_edit_data.note_global == 0}selected{/if}>No</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
|
||||
{if $tool_note_edit_data.note_id}
|
||||
<input type="submit" name="toolaction" value="update">
|
||||
<input type="submit" name="toolaction" value="delete" onclick="if (confirm('Are you sure you want to DELETE this note ?')) return true; return false;">
|
||||
{else}
|
||||
<input type="submit" name="toolaction" value="create">
|
||||
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
{include file="page_footer.tpl"}
|
||||
|
|
|
@ -1,54 +1,54 @@
|
|||
{extends file="layout.tpl"}
|
||||
{block name=content}
|
||||
|
||||
<div class="row-fluid">
|
||||
<div class="span12 center login-header">
|
||||
<a href="?"><img src="img/mainlogo.png"/></a>
|
||||
</div><!--/span-->
|
||||
</div><!--/row-->
|
||||
|
||||
<div class="row-fluid">
|
||||
<div class="well span5 center login-box">
|
||||
<div class="alert alert-info">
|
||||
{$forgot_password_message}
|
||||
</div>
|
||||
<form id="signup" class="form-vertical" method="post" action="index.php">
|
||||
<legend>{$title}</legend>
|
||||
|
||||
<div class="control-group {if isset($EMAIL_ERROR) and $EMAIL_ERROR eq "TRUE"}error{/if}">
|
||||
<label class="control-label">{$email_tag}</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span class="add-on"><span class="icon-envelope"></span></span>
|
||||
<input type="text" class="input-xlarge" id="Email" name="Email" placeholder="{$email_default}" {if isset($prevEmail)}value="{$prevEmail}"{/if} rel="popover" data-content="{$email_tooltip}" data-original-title="{$email_default}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{if isset($EMAIL_ERROR) and $EMAIL_ERROR eq "TRUE"}
|
||||
<div class="alert alert-error">
|
||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||
{$email_doesnt_exist}
|
||||
</div>
|
||||
{/if}
|
||||
{if isset($EMAIL_SUCCESS) and $EMAIL_SUCCESS eq "TRUE"}
|
||||
<div class="alert alert-success">
|
||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||
{$email_sent}
|
||||
</div>
|
||||
{/if}
|
||||
<input type="hidden" name="function" value="forgot_password">
|
||||
<p class="center span5">
|
||||
<button type="submit" class="btn btn-primary" >Send me the reset link</button>
|
||||
</p>
|
||||
|
||||
</form>
|
||||
<div class="alert alert-info">
|
||||
{$register_message} <a href="?page=register">{$here}</a>.<br/> {$login_message} <a href="?page=login">{$here}</a>
|
||||
</div>
|
||||
|
||||
</div><!--/span-->
|
||||
</div><!--/row-->
|
||||
{/block}
|
||||
|
||||
|
||||
{extends file="layout.tpl"}
|
||||
{block name=content}
|
||||
|
||||
<div class="row-fluid">
|
||||
<div class="span12 center login-header">
|
||||
<a href="?"><img src="img/mainlogo.png"/></a>
|
||||
</div><!--/span-->
|
||||
</div><!--/row-->
|
||||
|
||||
<div class="row-fluid">
|
||||
<div class="well span5 center login-box">
|
||||
<div class="alert alert-info">
|
||||
{$forgot_password_message}
|
||||
</div>
|
||||
<form id="signup" class="form-vertical" method="post" action="index.php">
|
||||
<legend>{$title}</legend>
|
||||
|
||||
<div class="control-group {if isset($EMAIL_ERROR) and $EMAIL_ERROR eq "TRUE"}error{/if}">
|
||||
<label class="control-label">{$email_tag}</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span class="add-on"><span class="icon-envelope"></span></span>
|
||||
<input type="text" class="input-xlarge" id="Email" name="Email" placeholder="{$email_default}" {if isset($prevEmail)}value="{$prevEmail}"{/if} rel="popover" data-content="{$email_tooltip}" data-original-title="{$email_default}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{if isset($EMAIL_ERROR) and $EMAIL_ERROR eq "TRUE"}
|
||||
<div class="alert alert-error">
|
||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||
{$email_doesnt_exist}
|
||||
</div>
|
||||
{/if}
|
||||
{if isset($EMAIL_SUCCESS) and $EMAIL_SUCCESS eq "TRUE"}
|
||||
<div class="alert alert-success">
|
||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||
{$email_sent}
|
||||
</div>
|
||||
{/if}
|
||||
<input type="hidden" name="function" value="forgot_password">
|
||||
<p class="center span5">
|
||||
<button type="submit" class="btn btn-primary" >Send me the reset link</button>
|
||||
</p>
|
||||
|
||||
</form>
|
||||
<div class="alert alert-info">
|
||||
{$register_message} <a href="?page=register">{$here}</a>.<br/> {$login_message} <a href="?page=login">{$here}</a>
|
||||
</div>
|
||||
|
||||
</div><!--/span-->
|
||||
</div><!--/row-->
|
||||
{/block}
|
||||
|
||||
|
||||
|
|
|
@ -1,124 +1,124 @@
|
|||
{extends file="layout.tpl"}
|
||||
{block name=content}
|
||||
|
||||
<div class="row-fluid">
|
||||
<div class="span12 center login-header">
|
||||
<a href="?"><img src="img/mainlogo.png"/></a>
|
||||
</div><!--/span-->
|
||||
</div><!--/row-->
|
||||
|
||||
<div class="row-fluid">
|
||||
<div class="well span5 center login-box">
|
||||
<div class="alert alert-info">
|
||||
{$welcome_message}
|
||||
</div>
|
||||
{if $userRegistration == '0'|| $userRegistration == '2'}
|
||||
<form id="signup" class="form-vertical" method="post" action="index.php">
|
||||
<legend>{$title}</legend>
|
||||
|
||||
<div class="control-group {if isset($USERNAME_ERROR) and $USERNAME_ERROR eq "TRUE"}error{else if
|
||||
isset($USERNAME) and $USERNAME eq "success"}success{else}{/if}">
|
||||
<label class="control-label">{$username_tag}</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span class="add-on"><span class="icon-user"></span></span>
|
||||
<input type="text" class="input-xlarge" id="Username" name="Username" placeholder="{$username_default}" {if isset($prevUsername)}value="{$prevUsername}"{/if} rel="popover" data-content="{$username_tooltip}" data-original-title="{$username_default}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="control-group {if isset($PASSWORD_ERROR) and $PASSWORD_ERROR eq "TRUE"}error{else if
|
||||
isset($PASSWORD) and $PASSWORD eq "success"}success{else}{/if}">
|
||||
<label class="control-label">{$password_tag}</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span class="add-on"><span class="icon-lock"></span></span>
|
||||
<input type="Password" id="Password" class="input-xlarge" name="Password" placeholder="{$password_default}" {if isset($prevPassword)}value="{$prevPassword}"{/if} rel="popover" data-content="{$password_tooltip}" data-original-title="{$password_default}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group {if isset($CPASSWORD_ERROR) and $CPASSWORD_ERROR eq "TRUE"}error{else if
|
||||
isset($CPASSWORD) and $CPASSWORD eq "success"}success{else}{/if}">
|
||||
<label class="control-label">{$cpassword_tag}</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span class="add-on"><span class="icon-lock"></span></span>
|
||||
<input type="Password" id="ConfirmPass" class="input-xlarge" name="ConfirmPass" placeholder="{$cpassword_default}" {if isset($prevConfirmPass)}value="{$prevConfirmPass}"{/if} rel="popover" data-content="{$cpassword_tooltip}" data-original-title="{$cpassword_default}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group {if isset($EMAIL_ERROR) and $EMAIL_ERROR eq "TRUE"}error{else if
|
||||
isset($EMAIL) and $EMAIL eq "success"}success{else}{/if}">
|
||||
<label class="control-label">{$email_tag}</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span class="add-on"><span class="icon-envelope"></span></span>
|
||||
<input type="text" class="input-xlarge" id="Email" name="Email" placeholder="{$email_default}" {if isset($prevEmail)}value="{$prevEmail}"{/if} rel="popover" data-content="{$email_tooltip}" data-original-title="{$email_default}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group {if isset($TAC_ERROR) and $TAC_ERROR eq "TRUE"}error{else if
|
||||
isset($TAC) and $TAC eq "success"}success{else}{/if}">
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<input type="checkbox" class="input-xlarge" id="TaC" name="TaC" placeholder="Email">{$tac_tag1}<a href='{$TOS_URL}'>{$tac_tag2}</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{if isset($USERNAME_ERROR) and $USERNAME_ERROR eq "TRUE"}
|
||||
<div class="alert alert-error">
|
||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||
<strong>Username Error</strong> {$USERNAME}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if isset($PASSWORD_ERROR) and $PASSWORD_ERROR eq "TRUE"}
|
||||
<div class="alert alert-error">
|
||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||
<strong>Password Error</strong> {$PASSWORD}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if isset($CPASSWORD_ERROR) and $CPASSWORD_ERROR eq "TRUE" and $CPASSWORD != ""}
|
||||
<div class="alert alert-error">
|
||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||
<strong>Confirmation Password Error</strong> {$CPASSWORD}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if isset($EMAIL_ERROR) and $EMAIL_ERROR eq "TRUE"}
|
||||
<div class="alert alert-error">
|
||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||
<strong>Email Error</strong> {$EMAIL}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if isset($TAC_ERROR) and $TAC_ERROR eq "TRUE"}
|
||||
<div class="alert alert-error">
|
||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||
<strong>Terms of Service Error</strong> {$tac_message}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<input type="hidden" name="function" value="add_user">
|
||||
<p class="center span5">
|
||||
<button type="submit" class="btn btn-primary" >Create My Account</button>
|
||||
</p>
|
||||
|
||||
</form>
|
||||
{else}
|
||||
Registration Disabled!
|
||||
{/if}
|
||||
|
||||
|
||||
</div><!--/span-->
|
||||
</div><!--/row-->
|
||||
{/block}
|
||||
|
||||
|
||||
{extends file="layout.tpl"}
|
||||
{block name=content}
|
||||
|
||||
<div class="row-fluid">
|
||||
<div class="span12 center login-header">
|
||||
<a href="?"><img src="img/mainlogo.png"/></a>
|
||||
</div><!--/span-->
|
||||
</div><!--/row-->
|
||||
|
||||
<div class="row-fluid">
|
||||
<div class="well span5 center login-box">
|
||||
<div class="alert alert-info">
|
||||
{$welcome_message}
|
||||
</div>
|
||||
{if $userRegistration == '0'|| $userRegistration == '2'}
|
||||
<form id="signup" class="form-vertical" method="post" action="index.php">
|
||||
<legend>{$title}</legend>
|
||||
|
||||
<div class="control-group {if isset($USERNAME_ERROR) and $USERNAME_ERROR eq "TRUE"}error{else if
|
||||
isset($USERNAME) and $USERNAME eq "success"}success{else}{/if}">
|
||||
<label class="control-label">{$username_tag}</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span class="add-on"><span class="icon-user"></span></span>
|
||||
<input type="text" class="input-xlarge" id="Username" name="Username" placeholder="{$username_default}" {if isset($prevUsername)}value="{$prevUsername}"{/if} rel="popover" data-content="{$username_tooltip}" data-original-title="{$username_default}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="control-group {if isset($PASSWORD_ERROR) and $PASSWORD_ERROR eq "TRUE"}error{else if
|
||||
isset($PASSWORD) and $PASSWORD eq "success"}success{else}{/if}">
|
||||
<label class="control-label">{$password_tag}</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span class="add-on"><span class="icon-lock"></span></span>
|
||||
<input type="Password" id="Password" class="input-xlarge" name="Password" placeholder="{$password_default}" {if isset($prevPassword)}value="{$prevPassword}"{/if} rel="popover" data-content="{$password_tooltip}" data-original-title="{$password_default}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group {if isset($CPASSWORD_ERROR) and $CPASSWORD_ERROR eq "TRUE"}error{else if
|
||||
isset($CPASSWORD) and $CPASSWORD eq "success"}success{else}{/if}">
|
||||
<label class="control-label">{$cpassword_tag}</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span class="add-on"><span class="icon-lock"></span></span>
|
||||
<input type="Password" id="ConfirmPass" class="input-xlarge" name="ConfirmPass" placeholder="{$cpassword_default}" {if isset($prevConfirmPass)}value="{$prevConfirmPass}"{/if} rel="popover" data-content="{$cpassword_tooltip}" data-original-title="{$cpassword_default}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group {if isset($EMAIL_ERROR) and $EMAIL_ERROR eq "TRUE"}error{else if
|
||||
isset($EMAIL) and $EMAIL eq "success"}success{else}{/if}">
|
||||
<label class="control-label">{$email_tag}</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span class="add-on"><span class="icon-envelope"></span></span>
|
||||
<input type="text" class="input-xlarge" id="Email" name="Email" placeholder="{$email_default}" {if isset($prevEmail)}value="{$prevEmail}"{/if} rel="popover" data-content="{$email_tooltip}" data-original-title="{$email_default}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group {if isset($TAC_ERROR) and $TAC_ERROR eq "TRUE"}error{else if
|
||||
isset($TAC) and $TAC eq "success"}success{else}{/if}">
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<input type="checkbox" class="input-xlarge" id="TaC" name="TaC" placeholder="Email">{$tac_tag1}<a href='{$TOS_URL}'>{$tac_tag2}</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{if isset($USERNAME_ERROR) and $USERNAME_ERROR eq "TRUE"}
|
||||
<div class="alert alert-error">
|
||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||
<strong>Username Error</strong> {$USERNAME}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if isset($PASSWORD_ERROR) and $PASSWORD_ERROR eq "TRUE"}
|
||||
<div class="alert alert-error">
|
||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||
<strong>Password Error</strong> {$PASSWORD}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if isset($CPASSWORD_ERROR) and $CPASSWORD_ERROR eq "TRUE" and $CPASSWORD != ""}
|
||||
<div class="alert alert-error">
|
||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||
<strong>Confirmation Password Error</strong> {$CPASSWORD}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if isset($EMAIL_ERROR) and $EMAIL_ERROR eq "TRUE"}
|
||||
<div class="alert alert-error">
|
||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||
<strong>Email Error</strong> {$EMAIL}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if isset($TAC_ERROR) and $TAC_ERROR eq "TRUE"}
|
||||
<div class="alert alert-error">
|
||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||
<strong>Terms of Service Error</strong> {$tac_message}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<input type="hidden" name="function" value="add_user">
|
||||
<p class="center span5">
|
||||
<button type="submit" class="btn btn-primary" >Create My Account</button>
|
||||
</p>
|
||||
|
||||
</form>
|
||||
{else}
|
||||
Registration Disabled!
|
||||
{/if}
|
||||
|
||||
|
||||
</div><!--/span-->
|
||||
</div><!--/row-->
|
||||
{/block}
|
||||
|
||||
|
||||
|
|
|
@ -1,66 +1,66 @@
|
|||
{extends file="layout.tpl"}
|
||||
{block name=content}
|
||||
|
||||
<div class="row-fluid">
|
||||
<div class="span12 center login-header">
|
||||
<a href="?"><img src="img/mainlogo.png"/></a>
|
||||
</div><!--/span-->
|
||||
</div><!--/row-->
|
||||
|
||||
<div class="row-fluid">
|
||||
<div class="well span5 center login-box">
|
||||
|
||||
<form id="signup" class="form-vertical" method="post" action="index.php{$getstring}">
|
||||
<legend>{$title}</legend>
|
||||
|
||||
<div class="control-group {if isset($NEWPASSWORD_ERROR) and $NEWPASSWORD_ERROR eq "TRUE"}error{else if
|
||||
isset($newpass_error_message) and $newpass_error_message eq "success"}success{else}{/if}">
|
||||
<label class="control-label">New Password</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span class="add-on" style="margin-left:5px;"><span class="icon-tag"></span></span>
|
||||
<input type="password" class="input-xlarge" id="NewPass" name="NewPass" placeholder="Your new password" {if isset($prevNewPass)}value="{$prevNewPass}"{/if}>
|
||||
{if isset($NEWPASSWORD_ERROR) and $NEWPASSWORD_ERROR eq "TRUE"}<br/><span class="help-inline">{$newpass_error_message}</span>{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group {if isset($CNEWPASSWORD_ERROR) and $CNEWPASSWORD_ERROR eq "TRUE"}error{else if
|
||||
isset($confirmnewpass_error_message) and $confirmnewpass_error_message eq "success"}success{else}{/if}">
|
||||
<label class="control-label">Confirm New Password</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span class="add-on" style="margin-left:5px;"><span class="icon-tags"></span></span>
|
||||
<input type="password" class="input-xlarge" id="ConfirmNewPass" name="ConfirmNewPass" placeholder="Re-enter the new password" {if isset($prevConfirmNewPass)}value="{$prevConfirmNewPass}"{/if}>
|
||||
{if isset($CNEWPASSWORD_ERROR) and $CNEWPASSWORD_ERROR eq "TRUE"}<br/><span class="help-inline">{$confirmnewpass_error_message}</span>{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
{if isset($SUCCESS_PASS) and $SUCCESS_PASS eq "OK"}
|
||||
<div class="alert alert-success">
|
||||
The password has been changed!
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if isset($SUCCESS_PASS) and $SUCCESS_PASS eq "SHARDOFF"}
|
||||
<div class="alert alert-warning">
|
||||
The password has been changed, though the shard seems offline, it may take some time to see the change on the shard.
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<input type="hidden" name="function" value="reset_password">
|
||||
<p class="center span5">
|
||||
<button type="submit" class="btn btn-primary" >Reset the password!</button>
|
||||
</p>
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
</div><!--/span-->
|
||||
</div><!--/row-->
|
||||
{/block}
|
||||
|
||||
|
||||
{extends file="layout.tpl"}
|
||||
{block name=content}
|
||||
|
||||
<div class="row-fluid">
|
||||
<div class="span12 center login-header">
|
||||
<a href="?"><img src="img/mainlogo.png"/></a>
|
||||
</div><!--/span-->
|
||||
</div><!--/row-->
|
||||
|
||||
<div class="row-fluid">
|
||||
<div class="well span5 center login-box">
|
||||
|
||||
<form id="signup" class="form-vertical" method="post" action="index.php{$getstring}">
|
||||
<legend>{$title}</legend>
|
||||
|
||||
<div class="control-group {if isset($NEWPASSWORD_ERROR) and $NEWPASSWORD_ERROR eq "TRUE"}error{else if
|
||||
isset($newpass_error_message) and $newpass_error_message eq "success"}success{else}{/if}">
|
||||
<label class="control-label">New Password</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span class="add-on" style="margin-left:5px;"><span class="icon-tag"></span></span>
|
||||
<input type="password" class="input-xlarge" id="NewPass" name="NewPass" placeholder="Your new password" {if isset($prevNewPass)}value="{$prevNewPass}"{/if}>
|
||||
{if isset($NEWPASSWORD_ERROR) and $NEWPASSWORD_ERROR eq "TRUE"}<br/><span class="help-inline">{$newpass_error_message}</span>{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group {if isset($CNEWPASSWORD_ERROR) and $CNEWPASSWORD_ERROR eq "TRUE"}error{else if
|
||||
isset($confirmnewpass_error_message) and $confirmnewpass_error_message eq "success"}success{else}{/if}">
|
||||
<label class="control-label">Confirm New Password</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span class="add-on" style="margin-left:5px;"><span class="icon-tags"></span></span>
|
||||
<input type="password" class="input-xlarge" id="ConfirmNewPass" name="ConfirmNewPass" placeholder="Re-enter the new password" {if isset($prevConfirmNewPass)}value="{$prevConfirmNewPass}"{/if}>
|
||||
{if isset($CNEWPASSWORD_ERROR) and $CNEWPASSWORD_ERROR eq "TRUE"}<br/><span class="help-inline">{$confirmnewpass_error_message}</span>{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
{if isset($SUCCESS_PASS) and $SUCCESS_PASS eq "OK"}
|
||||
<div class="alert alert-success">
|
||||
The password has been changed!
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if isset($SUCCESS_PASS) and $SUCCESS_PASS eq "SHARDOFF"}
|
||||
<div class="alert alert-warning">
|
||||
The password has been changed, though the shard seems offline, it may take some time to see the change on the shard.
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<input type="hidden" name="function" value="reset_password">
|
||||
<p class="center span5">
|
||||
<button type="submit" class="btn btn-primary" >Reset the password!</button>
|
||||
</p>
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
</div><!--/span-->
|
||||
</div><!--/row-->
|
||||
{/block}
|
||||
|
||||
|
||||
|
|
|
@ -1,382 +1,382 @@
|
|||
{block name=content}
|
||||
<div class="row-fluid js-masonry" data-masonry-options='{ "itemSelector": ".js-masonry-item", "transitionDuration": 0 }'>
|
||||
<div class="col-sm-4 js-masonry-item">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading" data-original-title="">
|
||||
<span class="icon-th"></span> Change Password
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="row-fluid">
|
||||
<form id="changePassword" class="form-vertical" method="post" action="index.php?page=settings&id={$target_id}">
|
||||
<legend>Change Password</legend>
|
||||
|
||||
{if !isset($changesOther) or $changesOther eq "FALSE"}
|
||||
<div class="control-group {if isset($MATCH_ERROR) and $MATCH_ERROR eq "TRUE"}error{else if
|
||||
isset($match_error_message) and $match_error_message neq "fail"}success{else}{/if}">
|
||||
<label class="control-label">Current Password</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span class="add-on" style="margin-left:5px;"><span class="icon-lock"></span></span>
|
||||
<input type="password" class="setup-width" id="CurrentPass" name="CurrentPass" placeholder="Your current password" {if isset($prevCurrentPass)}value="{$prevCurrentPass}"{/if}>
|
||||
{if isset($MATCH_ERROR) and $MATCH_ERROR eq "TRUE"}<span class="help-inline">The password is incorrect</span>{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
<div class="control-group {if isset($NEWPASSWORD_ERROR) and $NEWPASSWORD_ERROR eq "TRUE"}error{else if
|
||||
isset($newpass_error_message) and $newpass_error_message eq "success"}success{else}{/if}">
|
||||
<label class="control-label">New Password</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span class="add-on" style="margin-left:5px;"><span class="icon-tag"></span></span>
|
||||
<input type="password" class="setup-width" id="NewPass" name="NewPass" placeholder="Your new password" {if isset($prevNewPass)}value="{$prevNewPass}"{/if}>
|
||||
{if isset($NEWPASSWORD_ERROR) and $NEWPASSWORD_ERROR eq "TRUE"}<span class="help-inline">{$newpass_error_message}</span>{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group {if isset($CNEWPASSWORD_ERROR) and $CNEWPASSWORD_ERROR eq "TRUE"}error{else if
|
||||
isset($confirmnewpass_error_message) and $confirmnewpass_error_message eq "success"}success{else}{/if}">
|
||||
<label class="control-label">Confirm New Password</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span class="add-on" style="margin-left:5px;"><span class="icon-tags"></span></span>
|
||||
<input type="password" class="setup-width" id="ConfirmNewPass" name="ConfirmNewPass" placeholder="Re-enter the new password" {if isset($prevConfirmNewPass)}value="{$prevConfirmNewPass}"{/if}>
|
||||
{if isset($CNEWPASSWORD_ERROR) and $CNEWPASSWORD_ERROR eq "TRUE"}<span class="help-inline">{$confirmnewpass_error_message}</span>{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
{if isset($SUCCESS_PASS) and $SUCCESS_PASS eq "OK"}
|
||||
<div class="alert alert-success">
|
||||
The password has been changed!
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if isset($SUCCESS_PASS) and $SUCCESS_PASS eq "SHARDOFF"}
|
||||
<div class="alert alert-warning">
|
||||
The password has been changed, though the shard seems offline, it may take some time to see the change on the shard.
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<input type="hidden" name="function" value="change_password">
|
||||
<input type="hidden" name="target_id" value="{$target_id}">
|
||||
<div class="control-group">
|
||||
<label class="control-label"></label>
|
||||
<div class="controls">
|
||||
<button type="submit" class="btn btn-primary" style="margin-left:5px;">Change Password</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!--/span-->
|
||||
|
||||
{if $permission != '1'}
|
||||
<div class="col-sm-4 js-masonry-item">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading" data-original-title="">
|
||||
<span class="icon-th"></span> Add User
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="row-fluid">
|
||||
<form id="addUser" class="form-vertical" method="post" action="index.php?page=settings&id={$target_id}">
|
||||
<legend>Add User</legend>
|
||||
|
||||
<div class="control-group {if isset($USERNAME_ERROR) and $USERNAME_ERROR eq "TRUE"}error{/if}">
|
||||
<label class="control-label">Username</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span style="margin-left:5px;" class="add-on"><span class="icon-user"></span></span>
|
||||
<input type="text" placeholder="Username" name="Username" id="Username" class="setup-width" {if isset($prevUsername)}value="{$prevUsername}"{/if}>
|
||||
{if isset($USERNAME_ERROR) and $USERNAME_ERROR eq "TRUE"}<span class="help-inline">{$USERNAME}</span>{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group {if isset($PASSWORD_ERROR) and $PASSWORD_ERROR eq "TRUE"}error{/if}">
|
||||
<label class="control-label">Password</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span style="margin-left:5px;" class="add-on"><span class="icon-lock"></span></span>
|
||||
<input type="password" placeholder="Password" name="Password" id="Password" class="setup-width">
|
||||
{if isset($PASSWORD_ERROR) and $PASSWORD_ERROR eq "TRUE"}<span class="help-inline">{$PASSWORD}</span>{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group {if isset($CPASSWORD_ERROR) and $CPASSWORD_ERROR eq "TRUE"}error{/if}">
|
||||
<label class="control-label">Confirm Password</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span style="margin-left:5px;" class="add-on"><span class="icon-lock"></span></span>
|
||||
<input type="password" placeholder="Confirm Password" name="ConfirmPass" id="ConfirmPass" class="setup-width">
|
||||
{if isset($CPASSWORD_ERROR) and $CPASSWORD_ERROR eq "TRUE"}<span class="help-inline">{$CPASSWORD}</span>{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group {if isset($EMAIL_ERROR) and $EMAIL_ERROR eq "TRUE" and isset($do)}error{/if}">
|
||||
<label class="control-label">Email</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span style="margin-left:5px;" class="add-on"><span class="icon-envelope"></span></span>
|
||||
<input type="text" class="setup-width" id="Email" name="Email" placeholder="Email" {if isset($prevEmail)}value="{$prevEmail}"{/if}>
|
||||
{if isset($EMAIL_ERROR) and $EMAIL_ERROR eq "TRUE" and isset($do)}<span class="help-inline">{$EMAIL}</span>{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{if isset($SUCCESS_ADD) and $SUCCESS_ADD eq "ok"}
|
||||
<div class="alert alert-success">
|
||||
The user has been created!
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if isset($SUCCESS_ADD) and $SUCCESS_ADD eq "shardoffline"}
|
||||
<div class="alert alert-warning">
|
||||
The user is created, though the shard seems offline, it may take some time to see the change on the shard.
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<input type="hidden" name="function" value="add_user">
|
||||
<input type="hidden" name="target_id" value="{$target_id}">
|
||||
<div class="control-group">
|
||||
<label class="control-label"></label>
|
||||
<div class="controls">
|
||||
<button type="submit" class="btn btn-primary" style="margin-left:5px;">Create User</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!--/span-->
|
||||
{/if}
|
||||
|
||||
<div class="col-sm-4 js-masonry-item">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading" data-original-title="">
|
||||
<span class="icon-th"></span> Change Email
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="row-fluid">
|
||||
<form id="changeEmail" class="form-vertical" method="post" action="index.php?page=settings&id={$target_id}">
|
||||
<legend>Change Email</legend>
|
||||
<div class="control-group {if isset($CEMAIL_ERROR) and $CEMAIL_ERROR eq "TRUE"}error{/if}">
|
||||
<label class="control-label">New Email</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span class="add-on" style="margin-left:5px;"><span class="icon-envelope"></span></span>
|
||||
<input type="text" class="setup-width" id="NewEmail" name="NewEmail" placeholder="Your new email" {if isset($prevNewEmail)}value="{$prevNewEmail}"{else if isset($current_mail)}value="{$current_mail}"{/if}>
|
||||
{if isset($CEMAIL_ERROR) and $CEMAIL_ERROR eq "TRUE"}<span class="help-inline">{$EMAIL}</span>{/if}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{if isset($SUCCESS_MAIL) and $SUCCESS_MAIL eq "OK"}
|
||||
<div class="alert alert-success">
|
||||
The email has been changed!
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if isset($SUCCESS_MAIL) and $SUCCESS_MAIL eq "SHARDOFF"}
|
||||
<div class="alert alert-warning">
|
||||
The email has been changed, though the shard seems offline, it may take some time to see the change on the shard.
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<input type="hidden" name="function" value="change_mail">
|
||||
<input type="hidden" name="target_id" value="{$target_id}">
|
||||
<div class="control-group">
|
||||
<label class="control-label"></label>
|
||||
<div class="controls">
|
||||
<button type="submit" class="btn btn-primary" style="margin-left:5px;">Change Email</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-4 js-masonry-item">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading" data-original-title="">
|
||||
<span class="icon-envelope"></span> Ticket updates
|
||||
</div>
|
||||
|
||||
|
||||
<div class="panel-body">
|
||||
<div class="row-fluid">
|
||||
<form id="changeReceiveMail" class="form-vertical" method="post" action="index.php?page=settings&id={$target_id}">
|
||||
<legend>Ticket-Update Mail Settings</legend>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label">Receive ticket updates</label>
|
||||
<div class="controls">
|
||||
<select name="ReceiveMail">
|
||||
<option value="1" {if isset($ReceiveMail) and $ReceiveMail eq 1}selected="selected"{/if}>Yes</option>
|
||||
<option value="0" {if isset($ReceiveMail) and $ReceiveMail eq 0}selected="selected"{/if}>No</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<input type="hidden" name="function" value="change_receivemail">
|
||||
<input type="hidden" name="target_id" value="{$target_id}">
|
||||
<div class="control-group">
|
||||
<label class="control-label"></label>
|
||||
<div class="controls">
|
||||
<button type="submit" class="btn btn-primary" style="margin-left:5px;">Change Updates</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!--/span-->
|
||||
|
||||
<div class="col-sm-4 js-masonry-item">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading" data-original-title="">
|
||||
<span class="icon-th"></span> Change Info
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="row-fluid">
|
||||
<form id="changeEmail" class="form-vertical" method="post" action="index.php?page=settings&id={$target_id}">
|
||||
<legend>Change Info</legend>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label">Firstname</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span class="add-on" style="margin-left:5px;"><span class="icon-user"></span></span>
|
||||
<input type="text" class="setup-width" id="FirstName" name="FirstName" placeholder="Your firstname" {if isset($FirstName) and $FirstName neq ""}value="{$FirstName}"{/if}>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label">Lastname</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span class="add-on" style="margin-left:5px;"><span class="icon-user"></span></span>
|
||||
<input type="text" class="setup-width" id="LastName" name="LastName" placeholder="Your lastname" {if isset($LastName) and $LastName neq ""}value="{$LastName}"{/if}>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label">Country</label>
|
||||
<div class="controls">
|
||||
<select name="Country">
|
||||
{foreach from=$country_array key=k item=v}
|
||||
<option value="{$k}" {if isset($Country) and $Country eq $k}selected="selected"{/if}>{$v}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group gender-list">
|
||||
<label class="control-label">Gender</label>
|
||||
<div class="controls">
|
||||
<label class="radio">
|
||||
<div id="uniform-optionsRadios2" class="radio"><span class="{if isset($Gender) and $Gender eq 0}checked{/if}"><input name="Gender" id="optionsRadios0" value="0" {if isset($Gender) and $Gender eq 0}checked=""{/if} type="radio"></span></div>
|
||||
Secret
|
||||
</label>
|
||||
<div style="clear:both"></div>
|
||||
<label class="radio">
|
||||
<div id="uniform-optionsRadios1" class="radio"><span class="{if isset($Gender) and $Gender eq 1}checked{/if}"><input name="Gender" id="optionsRadios1" value="1" {if isset($Gender) and $Gender eq 1}checked=""{/if} type="radio"></span></div>
|
||||
Male
|
||||
</label>
|
||||
<div style="clear:both"></div>
|
||||
<label class="radio">
|
||||
<div id="uniform-optionsRadios2" class="radio"><span class="{if isset($Gender) and $Gender eq 2}checked{/if}"><input name="Gender" id="optionsRadios2" value="2" {if isset($Gender) and $Gender eq 2}checked=""{/if} type="radio"></span></div>
|
||||
Female
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{if isset($info_updated) and $info_updated eq "OK"}
|
||||
<div class="alert alert-success">
|
||||
The Info has been updated!
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<input type="hidden" name="function" value="change_info">
|
||||
<input type="hidden" name="target_id" value="{$target_id}">
|
||||
<div class="control-group">
|
||||
<label class="control-label"></label>
|
||||
<div class="controls">
|
||||
<button type="submit" class="btn btn-primary" style="margin-left:5px;">Change Info</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!--/span-->
|
||||
|
||||
{if $permission == '3'}
|
||||
<div class="col-sm-4 js-masonry-item">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading" data-original-title="">
|
||||
<span class="icon-th"></span> User Registration
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="row-fluid">
|
||||
<form id="userRegistration" class="form-vertical" method="post" action="index.php?page=settings&id={$target_id}">
|
||||
<legend>User Registration</legend>
|
||||
|
||||
<div class="control-group gender-list">
|
||||
<div class="controls">
|
||||
<label class="radio">
|
||||
<div id="uniform-optionsRadios2" class="radio"><span class="{if isset($userRegistration) and $userRegistration eq 0}checked{/if}"><input name="userRegistration" id="optionsRadios0" value="0" {if isset($userRegistration) and $userRegistration eq 0}checked=""{/if} type="radio"></span></div>
|
||||
In-Game and Web Registration
|
||||
</label>
|
||||
<div style="clear:both"></div>
|
||||
<label class="radio">
|
||||
<div id="uniform-optionsRadios1" class="radio"><span class="{if isset($userRegistration) and $userRegistration eq 1}checked{/if}"><input name="userRegistration" id="optionsRadios1" value="1" {if isset($userRegistration) and $userRegistration eq 1}checked=""{/if} type="radio"></span></div>
|
||||
In-Game Registration Only
|
||||
</label>
|
||||
<div style="clear:both"></div>
|
||||
<label class="radio">
|
||||
<div id="uniform-optionsRadios2" class="radio"><span class="{if isset($userRegistration) and $userRegistration eq 2}checked{/if}"><input name="userRegistration" id="optionsRadios2" value="2" {if isset($userRegistration) and $userRegistration eq 2}checked=""{/if} type="radio"></span></div>
|
||||
Web Registration Only
|
||||
</label>
|
||||
<div style="clear:both"></div>
|
||||
<label class="radio">
|
||||
<div id="uniform-optionsRadios2" class="radio"><span class="{if isset($userRegistration) and $userRegistration eq 3}checked{/if}"><input name="userRegistration" id="optionsRadios2" value="3" {if isset($userRegistration) and $userRegistration eq 3}checked=""{/if} type="radio"></span></div>
|
||||
No Registration
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<input type="hidden" name="function" value="userRegistration">
|
||||
<input type="hidden" name="target_id" value="{$target_id}">
|
||||
<div class="control-group">
|
||||
<label class="control-label"></label>
|
||||
<div class="controls">
|
||||
<button type="submit" class="btn btn-primary" style="margin-left:5px;">Change Setting</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!--/span-->
|
||||
{/if}
|
||||
|
||||
</div><!--/row-->
|
||||
|
||||
<script src="js/masonry.pkgd.min.js"></script>
|
||||
|
||||
{/block}
|
||||
|
||||
{block name=content}
|
||||
<div class="row-fluid js-masonry" data-masonry-options='{ "itemSelector": ".js-masonry-item", "transitionDuration": 0 }'>
|
||||
<div class="col-sm-4 js-masonry-item">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading" data-original-title="">
|
||||
<span class="icon-th"></span> Change Password
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="row-fluid">
|
||||
<form id="changePassword" class="form-vertical" method="post" action="index.php?page=settings&id={$target_id}">
|
||||
<legend>Change Password</legend>
|
||||
|
||||
{if !isset($changesOther) or $changesOther eq "FALSE"}
|
||||
<div class="control-group {if isset($MATCH_ERROR) and $MATCH_ERROR eq "TRUE"}error{else if
|
||||
isset($match_error_message) and $match_error_message neq "fail"}success{else}{/if}">
|
||||
<label class="control-label">Current Password</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span class="add-on" style="margin-left:5px;"><span class="icon-lock"></span></span>
|
||||
<input type="password" class="setup-width" id="CurrentPass" name="CurrentPass" placeholder="Your current password" {if isset($prevCurrentPass)}value="{$prevCurrentPass}"{/if}>
|
||||
{if isset($MATCH_ERROR) and $MATCH_ERROR eq "TRUE"}<span class="help-inline">The password is incorrect</span>{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
<div class="control-group {if isset($NEWPASSWORD_ERROR) and $NEWPASSWORD_ERROR eq "TRUE"}error{else if
|
||||
isset($newpass_error_message) and $newpass_error_message eq "success"}success{else}{/if}">
|
||||
<label class="control-label">New Password</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span class="add-on" style="margin-left:5px;"><span class="icon-tag"></span></span>
|
||||
<input type="password" class="setup-width" id="NewPass" name="NewPass" placeholder="Your new password" {if isset($prevNewPass)}value="{$prevNewPass}"{/if}>
|
||||
{if isset($NEWPASSWORD_ERROR) and $NEWPASSWORD_ERROR eq "TRUE"}<span class="help-inline">{$newpass_error_message}</span>{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group {if isset($CNEWPASSWORD_ERROR) and $CNEWPASSWORD_ERROR eq "TRUE"}error{else if
|
||||
isset($confirmnewpass_error_message) and $confirmnewpass_error_message eq "success"}success{else}{/if}">
|
||||
<label class="control-label">Confirm New Password</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span class="add-on" style="margin-left:5px;"><span class="icon-tags"></span></span>
|
||||
<input type="password" class="setup-width" id="ConfirmNewPass" name="ConfirmNewPass" placeholder="Re-enter the new password" {if isset($prevConfirmNewPass)}value="{$prevConfirmNewPass}"{/if}>
|
||||
{if isset($CNEWPASSWORD_ERROR) and $CNEWPASSWORD_ERROR eq "TRUE"}<span class="help-inline">{$confirmnewpass_error_message}</span>{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
{if isset($SUCCESS_PASS) and $SUCCESS_PASS eq "OK"}
|
||||
<div class="alert alert-success">
|
||||
The password has been changed!
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if isset($SUCCESS_PASS) and $SUCCESS_PASS eq "SHARDOFF"}
|
||||
<div class="alert alert-warning">
|
||||
The password has been changed, though the shard seems offline, it may take some time to see the change on the shard.
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<input type="hidden" name="function" value="change_password">
|
||||
<input type="hidden" name="target_id" value="{$target_id}">
|
||||
<div class="control-group">
|
||||
<label class="control-label"></label>
|
||||
<div class="controls">
|
||||
<button type="submit" class="btn btn-primary" style="margin-left:5px;">Change Password</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!--/span-->
|
||||
|
||||
{if $permission != '1'}
|
||||
<div class="col-sm-4 js-masonry-item">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading" data-original-title="">
|
||||
<span class="icon-th"></span> Add User
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="row-fluid">
|
||||
<form id="addUser" class="form-vertical" method="post" action="index.php?page=settings&id={$target_id}">
|
||||
<legend>Add User</legend>
|
||||
|
||||
<div class="control-group {if isset($USERNAME_ERROR) and $USERNAME_ERROR eq "TRUE"}error{/if}">
|
||||
<label class="control-label">Username</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span style="margin-left:5px;" class="add-on"><span class="icon-user"></span></span>
|
||||
<input type="text" placeholder="Username" name="Username" id="Username" class="setup-width" {if isset($prevUsername)}value="{$prevUsername}"{/if}>
|
||||
{if isset($USERNAME_ERROR) and $USERNAME_ERROR eq "TRUE"}<span class="help-inline">{$USERNAME}</span>{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group {if isset($PASSWORD_ERROR) and $PASSWORD_ERROR eq "TRUE"}error{/if}">
|
||||
<label class="control-label">Password</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span style="margin-left:5px;" class="add-on"><span class="icon-lock"></span></span>
|
||||
<input type="password" placeholder="Password" name="Password" id="Password" class="setup-width">
|
||||
{if isset($PASSWORD_ERROR) and $PASSWORD_ERROR eq "TRUE"}<span class="help-inline">{$PASSWORD}</span>{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group {if isset($CPASSWORD_ERROR) and $CPASSWORD_ERROR eq "TRUE"}error{/if}">
|
||||
<label class="control-label">Confirm Password</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span style="margin-left:5px;" class="add-on"><span class="icon-lock"></span></span>
|
||||
<input type="password" placeholder="Confirm Password" name="ConfirmPass" id="ConfirmPass" class="setup-width">
|
||||
{if isset($CPASSWORD_ERROR) and $CPASSWORD_ERROR eq "TRUE"}<span class="help-inline">{$CPASSWORD}</span>{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group {if isset($EMAIL_ERROR) and $EMAIL_ERROR eq "TRUE" and isset($do)}error{/if}">
|
||||
<label class="control-label">Email</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span style="margin-left:5px;" class="add-on"><span class="icon-envelope"></span></span>
|
||||
<input type="text" class="setup-width" id="Email" name="Email" placeholder="Email" {if isset($prevEmail)}value="{$prevEmail}"{/if}>
|
||||
{if isset($EMAIL_ERROR) and $EMAIL_ERROR eq "TRUE" and isset($do)}<span class="help-inline">{$EMAIL}</span>{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{if isset($SUCCESS_ADD) and $SUCCESS_ADD eq "ok"}
|
||||
<div class="alert alert-success">
|
||||
The user has been created!
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if isset($SUCCESS_ADD) and $SUCCESS_ADD eq "shardoffline"}
|
||||
<div class="alert alert-warning">
|
||||
The user is created, though the shard seems offline, it may take some time to see the change on the shard.
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<input type="hidden" name="function" value="add_user">
|
||||
<input type="hidden" name="target_id" value="{$target_id}">
|
||||
<div class="control-group">
|
||||
<label class="control-label"></label>
|
||||
<div class="controls">
|
||||
<button type="submit" class="btn btn-primary" style="margin-left:5px;">Create User</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!--/span-->
|
||||
{/if}
|
||||
|
||||
<div class="col-sm-4 js-masonry-item">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading" data-original-title="">
|
||||
<span class="icon-th"></span> Change Email
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="row-fluid">
|
||||
<form id="changeEmail" class="form-vertical" method="post" action="index.php?page=settings&id={$target_id}">
|
||||
<legend>Change Email</legend>
|
||||
<div class="control-group {if isset($CEMAIL_ERROR) and $CEMAIL_ERROR eq "TRUE"}error{/if}">
|
||||
<label class="control-label">New Email</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span class="add-on" style="margin-left:5px;"><span class="icon-envelope"></span></span>
|
||||
<input type="text" class="setup-width" id="NewEmail" name="NewEmail" placeholder="Your new email" {if isset($prevNewEmail)}value="{$prevNewEmail}"{else if isset($current_mail)}value="{$current_mail}"{/if}>
|
||||
{if isset($CEMAIL_ERROR) and $CEMAIL_ERROR eq "TRUE"}<span class="help-inline">{$EMAIL}</span>{/if}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{if isset($SUCCESS_MAIL) and $SUCCESS_MAIL eq "OK"}
|
||||
<div class="alert alert-success">
|
||||
The email has been changed!
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if isset($SUCCESS_MAIL) and $SUCCESS_MAIL eq "SHARDOFF"}
|
||||
<div class="alert alert-warning">
|
||||
The email has been changed, though the shard seems offline, it may take some time to see the change on the shard.
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<input type="hidden" name="function" value="change_mail">
|
||||
<input type="hidden" name="target_id" value="{$target_id}">
|
||||
<div class="control-group">
|
||||
<label class="control-label"></label>
|
||||
<div class="controls">
|
||||
<button type="submit" class="btn btn-primary" style="margin-left:5px;">Change Email</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-4 js-masonry-item">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading" data-original-title="">
|
||||
<span class="icon-envelope"></span> Ticket updates
|
||||
</div>
|
||||
|
||||
|
||||
<div class="panel-body">
|
||||
<div class="row-fluid">
|
||||
<form id="changeReceiveMail" class="form-vertical" method="post" action="index.php?page=settings&id={$target_id}">
|
||||
<legend>Ticket-Update Mail Settings</legend>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label">Receive ticket updates</label>
|
||||
<div class="controls">
|
||||
<select name="ReceiveMail">
|
||||
<option value="1" {if isset($ReceiveMail) and $ReceiveMail eq 1}selected="selected"{/if}>Yes</option>
|
||||
<option value="0" {if isset($ReceiveMail) and $ReceiveMail eq 0}selected="selected"{/if}>No</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<input type="hidden" name="function" value="change_receivemail">
|
||||
<input type="hidden" name="target_id" value="{$target_id}">
|
||||
<div class="control-group">
|
||||
<label class="control-label"></label>
|
||||
<div class="controls">
|
||||
<button type="submit" class="btn btn-primary" style="margin-left:5px;">Change Updates</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!--/span-->
|
||||
|
||||
<div class="col-sm-4 js-masonry-item">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading" data-original-title="">
|
||||
<span class="icon-th"></span> Change Info
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="row-fluid">
|
||||
<form id="changeEmail" class="form-vertical" method="post" action="index.php?page=settings&id={$target_id}">
|
||||
<legend>Change Info</legend>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label">Firstname</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span class="add-on" style="margin-left:5px;"><span class="icon-user"></span></span>
|
||||
<input type="text" class="setup-width" id="FirstName" name="FirstName" placeholder="Your firstname" {if isset($FirstName) and $FirstName neq ""}value="{$FirstName}"{/if}>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label">Lastname</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span class="add-on" style="margin-left:5px;"><span class="icon-user"></span></span>
|
||||
<input type="text" class="setup-width" id="LastName" name="LastName" placeholder="Your lastname" {if isset($LastName) and $LastName neq ""}value="{$LastName}"{/if}>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label">Country</label>
|
||||
<div class="controls">
|
||||
<select name="Country">
|
||||
{foreach from=$country_array key=k item=v}
|
||||
<option value="{$k}" {if isset($Country) and $Country eq $k}selected="selected"{/if}>{$v}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group gender-list">
|
||||
<label class="control-label">Gender</label>
|
||||
<div class="controls">
|
||||
<label class="radio">
|
||||
<div id="uniform-optionsRadios2" class="radio"><span class="{if isset($Gender) and $Gender eq 0}checked{/if}"><input name="Gender" id="optionsRadios0" value="0" {if isset($Gender) and $Gender eq 0}checked=""{/if} type="radio"></span></div>
|
||||
Secret
|
||||
</label>
|
||||
<div style="clear:both"></div>
|
||||
<label class="radio">
|
||||
<div id="uniform-optionsRadios1" class="radio"><span class="{if isset($Gender) and $Gender eq 1}checked{/if}"><input name="Gender" id="optionsRadios1" value="1" {if isset($Gender) and $Gender eq 1}checked=""{/if} type="radio"></span></div>
|
||||
Male
|
||||
</label>
|
||||
<div style="clear:both"></div>
|
||||
<label class="radio">
|
||||
<div id="uniform-optionsRadios2" class="radio"><span class="{if isset($Gender) and $Gender eq 2}checked{/if}"><input name="Gender" id="optionsRadios2" value="2" {if isset($Gender) and $Gender eq 2}checked=""{/if} type="radio"></span></div>
|
||||
Female
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{if isset($info_updated) and $info_updated eq "OK"}
|
||||
<div class="alert alert-success">
|
||||
The Info has been updated!
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<input type="hidden" name="function" value="change_info">
|
||||
<input type="hidden" name="target_id" value="{$target_id}">
|
||||
<div class="control-group">
|
||||
<label class="control-label"></label>
|
||||
<div class="controls">
|
||||
<button type="submit" class="btn btn-primary" style="margin-left:5px;">Change Info</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!--/span-->
|
||||
|
||||
{if $permission == '3'}
|
||||
<div class="col-sm-4 js-masonry-item">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading" data-original-title="">
|
||||
<span class="icon-th"></span> User Registration
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="row-fluid">
|
||||
<form id="userRegistration" class="form-vertical" method="post" action="index.php?page=settings&id={$target_id}">
|
||||
<legend>User Registration</legend>
|
||||
|
||||
<div class="control-group gender-list">
|
||||
<div class="controls">
|
||||
<label class="radio">
|
||||
<div id="uniform-optionsRadios2" class="radio"><span class="{if isset($userRegistration) and $userRegistration eq 0}checked{/if}"><input name="userRegistration" id="optionsRadios0" value="0" {if isset($userRegistration) and $userRegistration eq 0}checked=""{/if} type="radio"></span></div>
|
||||
In-Game and Web Registration
|
||||
</label>
|
||||
<div style="clear:both"></div>
|
||||
<label class="radio">
|
||||
<div id="uniform-optionsRadios1" class="radio"><span class="{if isset($userRegistration) and $userRegistration eq 1}checked{/if}"><input name="userRegistration" id="optionsRadios1" value="1" {if isset($userRegistration) and $userRegistration eq 1}checked=""{/if} type="radio"></span></div>
|
||||
In-Game Registration Only
|
||||
</label>
|
||||
<div style="clear:both"></div>
|
||||
<label class="radio">
|
||||
<div id="uniform-optionsRadios2" class="radio"><span class="{if isset($userRegistration) and $userRegistration eq 2}checked{/if}"><input name="userRegistration" id="optionsRadios2" value="2" {if isset($userRegistration) and $userRegistration eq 2}checked=""{/if} type="radio"></span></div>
|
||||
Web Registration Only
|
||||
</label>
|
||||
<div style="clear:both"></div>
|
||||
<label class="radio">
|
||||
<div id="uniform-optionsRadios2" class="radio"><span class="{if isset($userRegistration) and $userRegistration eq 3}checked{/if}"><input name="userRegistration" id="optionsRadios2" value="3" {if isset($userRegistration) and $userRegistration eq 3}checked=""{/if} type="radio"></span></div>
|
||||
No Registration
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<input type="hidden" name="function" value="userRegistration">
|
||||
<input type="hidden" name="target_id" value="{$target_id}">
|
||||
<div class="control-group">
|
||||
<label class="control-label"></label>
|
||||
<div class="controls">
|
||||
<button type="submit" class="btn btn-primary" style="margin-left:5px;">Change Setting</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!--/span-->
|
||||
{/if}
|
||||
|
||||
</div><!--/row-->
|
||||
|
||||
<script src="js/masonry.pkgd.min.js"></script>
|
||||
|
||||
{/block}
|
||||
|
||||
|
|
Loading…
Reference in a new issue