Skip to content

Commit

Permalink
Support for HK Hosting
Browse files Browse the repository at this point in the history
  • Loading branch information
kinosang committed Jun 4, 2015
1 parent 86281ef commit 381c70a
Show file tree
Hide file tree
Showing 10 changed files with 2,675 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ This will help us in keeping you posted with any updates related to our WHMCS mo

###### 2. Provisioning Modules

* resellerclubmdhostingXX ( Resellerclub Multi Domain Hosting - XX = us/uk/in )
* resellerclubsdhostingXX ( Resellerclub Single Domain Hosting - XX = us/uk/in )
* resellerclubresellerhostingXX ( Resellerclub Reseller Hosting - XX = us/uk/in )
* resellerclubmdhostingXX ( Resellerclub Multi Domain Hosting - XX = us/uk/in/hk )
* resellerclubsdhostingXX ( Resellerclub Single Domain Hosting - XX = us/uk/in/hk )
* resellerclubresellerhostingXX ( Resellerclub Reseller Hosting - XX = us/uk/in/hk )
* resellerclubssl ( Resellerclub SSL Certificate )
* resellerclubvpsXX ( Resellerclub VPS - XX = us )
* resellerclubwebservices ( Resellerclub Web Services - Web site Builder and Email, etc )

###Installtion Steps

Expand Down
19 changes: 19 additions & 0 deletions modules/servers/resellerclubmdhostinghk/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright (C) 2013 by ResellerClub.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
101 changes: 101 additions & 0 deletions modules/servers/resellerclubmdhostinghk/clientarea.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
<h2 style="text-align: left;">Hosting Details</h2>
<table width="100%" cellspacing="0" cellpadding="0" class="frame" style="white-space: nowrap;">
<tbody><tr>
<td><table width="100%" border="0" cellpadding="10" cellspacing="0" style="white-space: nowrap;">
<tbody>
{if $is_processing}
<tr>
<td style="overflow: hidden; text-overflow: ellipsis; text-align: left;" class="fieldarea" width="30%" >Status:</td>
<td style="overflow: hidden; text-overflow: ellipsis; text-align: left;" width="70%">{$mdh_status}</td>
</tr>
{else}
<tr>
<td style="overflow: hidden; text-overflow: ellipsis; text-align: left;" class="fieldarea" width="30%">Status:</td>
<td style="overflow: hidden; text-overflow: ellipsis; text-align: left;" width="70%">{$mdh_status}</td>
</tr>
<tr>
<td style="overflow: hidden; text-overflow: ellipsis; text-align: left;" class="fieldarea" width="30%">Control Panel:</td>
<td style="overflow: hidden; text-overflow: ellipsis ; text-align: left;" width="70%">
<span style="display: inline-block;">{$mdh_webhosting_panel}</span>
</td>
</tr>
<tr>
<td style="overflow: hidden; text-overflow: ellipsis; text-align: left;" class="fieldarea" width="30%">Temp URL for website:</td>
<td style="overflow: hidden; text-overflow: ellipsis; text-align: left;" width="70%">{$mdh_temp_url}</td>
</tr>
<tr>
<td style="overflow: hidden; text-overflow: ellipsis; text-align: left;" class="fieldarea">Control Panel URL:</td>
<td style="overflow: hidden; text-overflow: ellipsis; text-align: left;">{$mdh_cp_url}</td>
</tr>
<tr>
<td style="overflow: hidden; text-overflow: ellipsis; text-align: left;" class="fieldarea">Username:</td>
<td style="overflow: hidden; text-overflow: ellipsis; text-align: left;">{$mdh_cp_username}</td>
</tr>
<tr>
<td style="overflow: hidden; text-overflow: ellipsis; text-align: left;" class="fieldarea">Password:</td>
<td style="overflow: hidden; text-overflow: ellipsis; text-align: left;">{$mdh_cp_password}</td>
</tr>
<tr>
<td style="overflow: hidden; text-overflow: ellipsis; text-align: left;" class="fieldarea">Server IP Address:</td>
<td style="overflow: hidden; text-overflow: ellipsis; text-align: left;">{$mdh_ip_address}</td>
</tr>
<tr>
<td style="overflow: hidden; text-overflow: ellipsis; text-align: left;" class="fieldarea">Web Disk Space</td>
<td style="overflow: hidden; text-overflow: ellipsis; text-align: left;">{$mdh_diskspace}</td>
</tr>
<tr>
<td style="overflow: hidden; text-overflow: ellipsis; text-align: left;" class="fieldarea">Web Bandwidth</td>
<td style="overflow: hidden; text-overflow: ellipsis; text-align: left;">{$mdh_bandwidth}</td>
</tr>

{/if}
</tbody></table></td>
</tr>
</tbody></table>

{if $is_processing}
{else}
<h2 style="text-align: left;">Name server Details</h2>
<div style="text-align: left;"><h4>Option 1 : Use our Name Servers</h4></div>
<table width="100%" cellspacing="0" cellpadding="0" class="frame" style="white-space: nowrap;font-size: 11px;">
<tbody>
<tr>
<td>
<table width="100%" border="0" cellpadding="10" cellspacing="0" style="white-space: nowrap;">
<tbody>
{foreach from=$nameservers item=each_ns}

<tr>
<td style="overflow: hidden; text-overflow: ellipsis; text-align: left;background-color: #F5F5F5;" class="fieldarea">Name server</td>
<td style="overflow: hidden; text-overflow: ellipsis; text-align: left;">{$each_ns}</td>
</tr>
{/foreach}
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<h2>OR</h2>
<div style="text-align: left;"><h4>Option 2 : Add following DNS Records</h4></div>
<table width="100%" cellspacing="0" cellpadding="0" class="frame" style="white-space: nowrap;font-size: 10px;">
<tbody>
<tr>
<td>
<table width="100%" border="0" cellpadding="10" cellspacing="0" style="white-space: nowrap; border-collapse: collapse;">
<tbody>
{foreach from=$dns_details item=each_dns}
<tr>
<td style="overflow: hidden; text-overflow: ellipsis; text-align: left; width: 20%;">{$each_dns.host}</td>
<td style="overflow: hidden; text-overflow: ellipsis; text-align: left; width: 10%;">{$each_dns.class}</td>
<td style="overflow: hidden; text-overflow: ellipsis; text-align: left; width: 10%;">{$each_dns.type}</td>
<td style="overflow: hidden; text-overflow: ellipsis; text-align: left; width: 60%;">{$each_dns.value}</td>
</tr>
{/foreach}
</tbody>
</table>
</td>
</tr>
</tbody></table>
{/if}
<hr style="height: 2px;" />
Loading

0 comments on commit 381c70a

Please sign in to comment.