Jump to content

Addon to transfer multible domains.


Recommended Posts

I'm working on this addon to display the option to transfer all my domains from a certain registra. The code I have is below, could anyone tell me what the problem is? It should be so simple But I just cant get anything out of it...

 

What am I doing wrong?

 

/modules/admin/domain-transfer/domain-transfer.php

<?php

# Set the admin level required to access the addon - 1 for support, 2 for sales & 3 for full admin
$adminlevel = "3";

# Print the content of the page
echo '
<table bgcolor="#8fbce9" cellpadding="0" cellspacing="1">
<tr bgcolor="#efefef" style="text-align:center;font-weight:bold;">
<td colspan="3" align="left">Domains</td></tr>
';

# Query selcts fields and custome field namely Cellphone number
$query = "SELECT `tbldomains`.`id`, `tbldomains`.`domain` 
FROM `realwebs_billing`.`tbldomains` 
WHERE (`tbldomains`.`registrar` LIKE \'%uniforum%\') 
ORDER BY `tbldomains`.`id` ASC";

$result=mysql_query($query);

while ($data = mysql_fetch_array($result)) {
$id = $data["id"];
$domain = $data["domain"];
echo 
   '<tr bgcolor="#ffffff">
<td>'.$id.'</td>
<td>'.$domain.'</td>
<td><input value="Transfer" class="button" onclick="http://billing.realwebspace.co.za/admin/clientsdomainreg.php?domainid='.$id.'&ac=transfer" type="button"></td></tr>
 }'

echo '</table>';
?>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated