Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/selectupgrade

<script type="text/javascript" src="%MagicRevision:/js/sorttable.js%"></script>

<style>
.viewable {
    background-color:#FF6666;
}
.creatable {
    background-color:#66FF66;
}
</style>

<div id="leftform" class="form">
<form action="../scripts2/upacct" name="mainform" method="post">

	<input type="hidden" name="user" value="%user%">

<table width="100%">
<tr>
        <th align="left">Current Package</th>
</tr>
<tr>
      <td style="background-color:#fff" class="cell" id="currentPackageName">%plan%</td>
</tr>
</table>
<br />
<table width="100%">
<tr>
        <th align="left">Available Packages</th>
</tr>
<tr>
<td>
 	<table>
    <tr>
    <td>
    <select id="pkgselect" size="7" name="pkg">

!@all_pkgs@!
					 <option value="%pkg%" autofill="off" autocomplete="off" %selected% class="%class%">%pkg%</option>
!@all_pkgs@!

	</select>
    </td>
    <td>
    <img src="%MagicRevision:/images/trace.gif%" style="cursor:crosshair; cursor:help;"  onMouseOver="hover_pkg(this,'%pkg%');" onMouseOut="dehover_pkg(this,'%pkg%');">
    </td>
    </tr>
    </table>

 </td>
</tr>
</table>

 <div><input id="btnUpgradeDowngradePkg" type="submit" class="btn-primary" value="Upgrade/Downgrade"></div>
</form>

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

</div>

!show_limits_summary=1!
<div id="rightinfo">
<h1>Account Creation Resource Information</h1>
<p class="description">The current account that you are working with is <span class="viewable">not</span> counted in this list.</p>
<br />


!limits_accounts=1!
<h2>Account Limits</h2>
<table class="nrmtxt indent">
!limits_number_of_accounts=1!
    <tr>
		<td>Quantity/Number of Accounts:</td>
		<td><img src="/images/progresbar-2-%progress_number_of_accounts%.jpg" /> <b>%number_of_accounts% / %number_of_accounts_allowed%</b></td>
	    <td>%number_of_accounts_remain%</td>
    </tr>
!limits_number_of_accounts!
!limits_resources=1!
	<tr>
		<td>Disk Space:</td>
		<td><img src="/images/progresbar-2-%progress_disk_usage%.jpg" /> <b>%disk_used% / %disk_allowed%</b></td>
        <td>%disk_remain%</td>
	</tr>
	<tr>
		<td colspan="3">
!overselling_disk=0!
            <span class="red">Your Disk Usage Limit is calculated based on how much disk space all your accounts have been allocated.</span></td>
!overselling_disk!
!overselling_disk=1!
            <span class="red">Your Disk Usage Limit is calculated based on how much disk space all your accounts have used.</span></td>
!overselling_disk!
    </tr>
	<tr>
		<td>Bandwidth:</td>
		<td><img src="/images/progresbar-2-%progress_bw_usage%.jpg" /> <b>%bw_used% / %bw_allowed%</b></td>
        <td>%bw_remain%</td>
	</tr>
<tr>
		<td colspan="3">
!overselling_bw=0!
            <span class="red">Your Bandwidth Usage Limit is calculated based on how much bandwidth all your accounts have been allocated.</span></td>
!overselling_bw!
!overselling_bw=1!
            <span class="red">Your Bandwidth Usage Limit is calculated based on how much bandwidth all your accounts have used.</span></td>
!overselling_bw!
    </tr>
!limits_resources!
</table>
<br />
!limits_accounts!

!limits_resources=1!
<h2>Accounts Limits Based on Resources</h2>
<table class="nrmtxt indent" id="bwrl">
    <tr>
        <td>Package</td>
        <td>&nbsp;</td>
 		<td>Limiting Factor</td>
    </tr>
!@resource_pkg_list@!
    <tr>
		<td><span style="cursor:crosshair; cursor:help;" onMouseOver="hover_pkg(this,'%pkg%');" onMouseOut="dehover_pkg(this,'%pkg%');">%pkg%</span></td>
		<td><img src="/images/progresbar-2-%progress%.jpg" /> <b>%current% / %max_allowed%</b></td>
		<td><img src="/images/%limit_image%_24.gif" align=absmiddle alt="%limit_image%"></td>
		<td>%remain%</td>
	</tr>
!@resource_pkg_list@!
</table>


!incompat_pkgs=1!
<div align="left">
<div style="clear: right; padding-right: 2px;">The following packages have been disabled because they have unlimited bandwidth or quota limits: </div>
!@incompat_pkg_list@!
<div style="float:left; padding-right: 8px;" class="red">%pkg%</div>
!@incompat_pkg_list@!
</div>
!incompat_pkgs!

</br>
!limits_resources!

!show_limits_number_of_packages=1!
<h2>Per Account Quantity Limits</h2>
<table class="nrmtxt indent" id="pqrl">
!@number_pkg_list@!
		<tr>
            <td><span style="cursor:crosshair; cursor:help;" onMouseOver="hover_pkg(this,'%pkg%');" onMouseOut="dehover_pkg(this,'%pkg%');">%pkg%</span></td>
            <td><img src="/images/progresbar-2-%progress%.jpg" /> <b>%current% / %max_allowed%</b></td>
            <td>%remain%</td>
       </tr>
!@number_pkg_list@!
</table>
!show_limits_number_of_packages!

</div>
!show_limits_summary!
Back to Directory File Manager