Initial Commit of AgileBill Open Source
This commit is contained in:
8
modules/host_tld/auth.inc.php
Normal file
8
modules/host_tld/auth.inc.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
$auth_methods = Array
|
||||
(
|
||||
Array ('module' => 'host_tld', 'method' => 'whois'),
|
||||
Array ('module' => 'host_tld', 'method' => 'whois_transfer'),
|
||||
Array ('module' => 'host_tld', 'method' => 'whois_mass')
|
||||
);
|
||||
?>
|
416
modules/host_tld/host_tld.inc.php
Normal file
416
modules/host_tld/host_tld.inc.php
Normal file
@@ -0,0 +1,416 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* AgileBill - Open Billing Software
|
||||
*
|
||||
* This body of work is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the Open AgileBill License
|
||||
* License as published at http://www.agileco.com/agilebill/license1-4.txt
|
||||
*
|
||||
* For questions, help, comments, discussion, etc., please join the
|
||||
* Agileco community forums at http://forum.agileco.com/
|
||||
*
|
||||
* @link http://www.agileco.com/
|
||||
* @copyright 2004-2008 Agileco, LLC.
|
||||
* @license http://www.agileco.com/agilebill/license1-4.txt
|
||||
* @author Tony Landis <tony@agileco.com>
|
||||
* @package AgileBill
|
||||
* @version 1.4.93
|
||||
*/
|
||||
|
||||
class host_tld
|
||||
{
|
||||
|
||||
/**
|
||||
* Get the TLD pricing array
|
||||
*
|
||||
* @param string $tld
|
||||
* @param string $type park, register, renew
|
||||
* @param int $product_id
|
||||
* @param array $discount_products
|
||||
* @param float $discount_rate
|
||||
* @param int $account
|
||||
* @return array
|
||||
*/
|
||||
function price_tld_arr($tld, $type, $product_id=false, $discount_products=false, $discount_rate=false, $account=SESS_ACCOUNT)
|
||||
{
|
||||
# get the plugin for this domain:
|
||||
$db = &DB();
|
||||
$result = $db->Execute(sqlSelect($db,"host_tld","*","name=::$tld:: AND status=1"));
|
||||
if($result == false || $result->RecordCount() == 0) return false;
|
||||
|
||||
# serialize:
|
||||
global $C_auth;
|
||||
$p_arr = unserialize($result->fields["price_group"]);
|
||||
|
||||
# get the pricing for domain parking:
|
||||
if($type == "park") {
|
||||
if($p_arr[0]["show"] != "1") {
|
||||
return false;
|
||||
} else {
|
||||
$i = 0;
|
||||
$type = $register;
|
||||
while (list ($group, $vals) = each ($p_arr[$i]))
|
||||
if (gettype($group) != 'string' && $C_auth->auth_group_by_account_id($account, $group))
|
||||
if(empty($price) || $vals["register"] < $price)
|
||||
$price = $vals["register"];
|
||||
return $price;
|
||||
}
|
||||
} else {
|
||||
# get any hosting discounts for this product:
|
||||
if(!empty($discount_products)) {
|
||||
$d_arr = unserialize($discount_products);
|
||||
for($ii=0; $ii<count($d_arr); $ii++) {
|
||||
if($d_arr[$ii] == $result->fields["id"])
|
||||
$hosting_discount = $discount_rate;
|
||||
}
|
||||
}
|
||||
|
||||
if(empty($hosting_discount)) $hosting_discount = false;
|
||||
|
||||
# get the pricing details for registrations/transfers for this TLD:
|
||||
if(count($p_arr) > 0)
|
||||
for($i=1; $i<=10; $i++)
|
||||
if($p_arr[$i]["show"] == "1")
|
||||
while (list ($group, $vals) = each ($p_arr[$i]))
|
||||
if (gettype($group) != 'string' && $C_auth->auth_group_by_account_id($account, $group))
|
||||
if(empty($price[$i]) || $vals[$type] < $price[$i])
|
||||
if(!empty($vals[$type]))
|
||||
if($hosting_discount != false)
|
||||
$price[$i] = $vals[$type] - ($vals[$type] * $hosting_discount);
|
||||
else
|
||||
$price[$i] = $vals[$type];
|
||||
return $price;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
/** SUGGEST RESULTS
|
||||
*/
|
||||
function suggest($VAR)
|
||||
{
|
||||
$db = &DB();
|
||||
$dbm = new CORE_database;
|
||||
$sql = $dbm->sql_select('host_tld','name,default_term_new', "auto_search = 1 AND status = 1", "name", $db);
|
||||
$rs = $db->Execute($sql);
|
||||
while(!$rs->EOF) {
|
||||
$smart[] = $rs->fields;
|
||||
$rs->MoveNext();
|
||||
}
|
||||
|
||||
$count = count($smart);
|
||||
$js = "var tldArr = new Array($count); var tldCount = $count; ";
|
||||
for($i=0; $i<$count; $i++)
|
||||
$js .= "tldArr[$i] = '{$smart[$i]['name']}'; ";
|
||||
|
||||
global $smarty;
|
||||
$smarty->assign('tlds', $smart);
|
||||
$smarty->assign('javascript', $js);
|
||||
}
|
||||
|
||||
/** WHOIS LOOKUP
|
||||
*/
|
||||
function whois_mass($VAR)
|
||||
{
|
||||
global $smarty, $C_debug, $C_translate;
|
||||
$db = &DB();
|
||||
|
||||
if(!empty($VAR['domains']))
|
||||
{
|
||||
$arr = explode("\r\n", $VAR['domains']);
|
||||
$domains ='';
|
||||
$msg ='';
|
||||
// loop through each row
|
||||
for($i=0; $i<count($arr); $i++)
|
||||
{
|
||||
# check for correct structure:
|
||||
if(ereg('\.', $arr[$i]))
|
||||
{
|
||||
# split domain & tld
|
||||
$dt = explode('.', $arr[$i]);
|
||||
$domain = $dt[0];
|
||||
|
||||
# get the current tld
|
||||
$tld = '';
|
||||
foreach($dt as $key=>$td) {
|
||||
if($key > 0) {
|
||||
if(!empty($tld)) $tld .='.';
|
||||
$tld .= $td;
|
||||
}
|
||||
}
|
||||
|
||||
# check for duplicates
|
||||
$do=true;
|
||||
for($ii=0; $ii<count(@$domainarr); $ii++) {
|
||||
if($domainarr[$ii][0] == $domain && $domainarr[$ii][1] == $tld) {
|
||||
$do = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if($do)
|
||||
{
|
||||
$C_translate->value['host_tld']['domain'] = '<b><u>'.$domain.".".$tld.'</u></b>';
|
||||
$C_translate->value['host_tld']['tld'] = '<b><u>'.$tld.'</u></b>';
|
||||
|
||||
# get the plugin for this domain:
|
||||
$result = $db->Execute(sqlSelect($db,"host_tld","*","name=::$tld:: AND status=1"));
|
||||
if($result == false || $result->RecordCount() == 0)
|
||||
{
|
||||
### INVALID TLD
|
||||
$msg .= $C_translate->translate('search_mass_err_tld','host_tld','') . '<br>';
|
||||
}
|
||||
else
|
||||
{
|
||||
# get the whois plugin details for this TLD & check avail
|
||||
$file = $result->fields['whois_plugin'];
|
||||
$data = unserialize($result->fields['whois_plugin_data']);
|
||||
include_once(PATH_PLUGINS . 'whois/'. $file.'.php');
|
||||
eval ( '$_WHOIS = new plgn_whois_'. strtoupper ( $file ) . ';' );
|
||||
if($_WHOIS->check($domain, $tld, $data))
|
||||
{
|
||||
$smarty->assign("checkout", true);
|
||||
$domains .= $domain.'.'.$tld."\r\n";
|
||||
$domainarr[] = Array($domain,$tld);
|
||||
} else {
|
||||
### DOMAIN NOT AVAILABLE
|
||||
$msg .= $C_translate->translate('search_mass_err_dom','host_tld','') . '<br>';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if($msg) $C_debug->alert($msg);
|
||||
$smarty->assign('domains', @$domains);
|
||||
$smarty->assign('domainarr', @$domainarr);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* WHOIS RESPONSE
|
||||
*/
|
||||
function whois_reponse($type, $VAR, $response, $park=0) {
|
||||
if(defined('AJAX')) {
|
||||
|
||||
if($type=='register') {
|
||||
if($response)
|
||||
echo 'available('.$park.');';
|
||||
else
|
||||
echo 'unavailable();';
|
||||
|
||||
} elseif($type=='transfer') {
|
||||
if($response)
|
||||
echo 'unavailable();';
|
||||
else
|
||||
echo 'available();';
|
||||
|
||||
} elseif($type=='suggest') {
|
||||
if($response)
|
||||
echo "domainUpdate('{$VAR['domain']}','{$VAR['tld']}','register','{$VAR['element']}',1);";
|
||||
else
|
||||
echo "domainUpdate('{$VAR['domain']}','{$VAR['tld']}','register','{$VAR['element']}',0);";
|
||||
}
|
||||
}
|
||||
return $response;
|
||||
}
|
||||
|
||||
/**
|
||||
* WHOIS LOOKUP
|
||||
*/
|
||||
function whois($VAR)
|
||||
{
|
||||
if(!empty($VAR['tld']) && !empty($VAR['domain']))
|
||||
{
|
||||
$db = &DB();
|
||||
# check this domain & tld is not already in the service table:
|
||||
$rs = $db->Execute(sqlSelect($db,"service","id","domain_name = ::{$VAR['domain']}:: AND domain_tld = ::{$VAR['tld']}::"));
|
||||
if($rs && $rs->RecordCount()) {
|
||||
//$smarty->assign("whois_result", "0");
|
||||
//echo 'unavailable();';
|
||||
return $this->whois_reponse($VAR['type'], $VAR, false);
|
||||
}
|
||||
|
||||
# check this domain & tld is not already in the shopping cart:
|
||||
$rs = $db->Execute(sqlSelect($db,"cart","id","domain_name = ::{$VAR['domain']}:: AND domain_tld = ::{$VAR['tld']}::"));
|
||||
if($rs && $rs->RecordCount()) {
|
||||
return $this->whois_reponse($VAR['type'], $VAR, false);
|
||||
}
|
||||
|
||||
# get the plugin for this domain:
|
||||
$result = $db->Execute(sqlSelect($db,"host_tld","*","name=::{$VAR['tld']}:: AND status=1"));
|
||||
if($result == false || $result->RecordCount() == 0) {
|
||||
return $this->whois_reponse($VAR['type'], $VAR, false);
|
||||
}
|
||||
|
||||
# get the whois plugin details for this TLD
|
||||
$file = $result->fields['whois_plugin'];
|
||||
$data = unserialize($result->fields['whois_plugin_data']);
|
||||
|
||||
# allow parking?
|
||||
$price = unserialize ( $result->fields['price_group'] );
|
||||
$park = $price["0"]["show"];
|
||||
|
||||
# initialize the whois plugin:
|
||||
include_once(PATH_PLUGINS . 'whois/'. $file.'.php');
|
||||
eval ( '$_WHOIS = new plgn_whois_'. strtoupper ( $file ) . ';' );
|
||||
|
||||
if($_WHOIS->check($VAR['domain'], $VAR['tld'], $data))
|
||||
return $this->whois_reponse($VAR['type'], $VAR, true, $park);
|
||||
else
|
||||
return $this->whois_reponse($VAR['type'], $VAR, false, $park);
|
||||
|
||||
} else {
|
||||
return $this->whois_reponse($VAR['type'], $VAR, false, $park);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* WHOIS TRANSFER LOOKUP
|
||||
*/
|
||||
function whois_transfer($VAR)
|
||||
{
|
||||
global $smarty;
|
||||
if(!empty($VAR['tld']) && !empty($VAR['domain']))
|
||||
{
|
||||
$db = &DB();
|
||||
|
||||
# check this domain & tld is not already in the service table:
|
||||
$rs = $db->Execute(sqlSelect($db,"service","id","domain_name = ::{$VAR['domain']}:: AND domain_tld = ::{$VAR['tld']}::"));
|
||||
if($rs && $rs->RecordCount()) {
|
||||
$smarty->assign("whois_result", "0");
|
||||
return;
|
||||
}
|
||||
|
||||
# check this domain & tld is not already in the shopping cart:
|
||||
$rs = $db->Execute(sqlSelect($db,"cart","id","domain_name = ::{$VAR['domain']}:: AND domain_tld = ::{$VAR['tld']}::"));
|
||||
if($rs && $rs->RecordCount()) {
|
||||
$smarty->assign("whois_result", "0");
|
||||
return;
|
||||
}
|
||||
|
||||
# get the plugin for this domain:
|
||||
$result = $db->Execute(sqlSelect($db,"host_tld","*","name=::{$VAR['tld']}:: AND status=1"));
|
||||
if($result == false || $result->RecordCount() == 0) {
|
||||
$smarty->assign("whois_result", "0");
|
||||
return;
|
||||
}
|
||||
|
||||
# get the pricing details to see if transfers are allowed for this TLD:
|
||||
$p_arr = unserialize($result->fields["price_group"]);
|
||||
$transfer = false;
|
||||
if(count($p_arr) > 0)
|
||||
for($i=1; $i<=10; $i++)
|
||||
if($p_arr[$i]["show"] == "1")
|
||||
while(list($key,$val) = each($p_arr[$i]))
|
||||
if(isset($val["transfer"]) && $val["transfer"] > 1) $transfer = true;
|
||||
|
||||
if(!$transfer)
|
||||
{
|
||||
$smarty->assign("whois_result", "0");
|
||||
return;
|
||||
}
|
||||
|
||||
# get the whois plugin details for this TLD
|
||||
$file = $result->fields['whois_plugin'];
|
||||
$data = unserialize($result->fields['whois_plugin_data']);
|
||||
|
||||
# initialize the whois plugin:
|
||||
include_once(PATH_PLUGINS . 'whois/'. $file.'.php');
|
||||
eval ( '$_WHOIS = new plgn_whois_'. strtoupper ( $file ) . ';' );
|
||||
|
||||
if($_WHOIS->check_transfer($VAR['domain'], $VAR['tld'], $data))
|
||||
{
|
||||
$smarty->assign("whois_result", "1");
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
$smarty->assign("whois_result", "0");
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$smarty->assign("whois_result", "0");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
function constructor()
|
||||
{
|
||||
$this->module = "host_tld";
|
||||
$this->xml_construct = PATH_MODULES . "" . $this->module . "/" . $this->module . "_construct.xml";
|
||||
$C_xml = new CORE_xml;
|
||||
$construct = $C_xml->xml_to_array($this->xml_construct);
|
||||
$this->method = $construct["construct"]["method"];
|
||||
$this->trigger = $construct["construct"]["trigger"];
|
||||
$this->field = $construct["construct"]["field"];
|
||||
$this->table = $construct["construct"]["table"];
|
||||
$this->module = $construct["construct"]["module"];
|
||||
$this->cache = $construct["construct"]["cache"];
|
||||
$this->order_by = $construct["construct"]["order_by"];
|
||||
$this->limit = $construct["construct"]["limit"];
|
||||
}
|
||||
|
||||
function add($VAR)
|
||||
{
|
||||
$this->constructor();
|
||||
$type = "add";
|
||||
$this->method["$type"] = split(",", $this->method["$type"]);
|
||||
$db = new CORE_database;
|
||||
$db->add($VAR, $this, $type);
|
||||
}
|
||||
|
||||
function view($VAR)
|
||||
{
|
||||
$this->constructor();
|
||||
$type = "view";
|
||||
$this->method["$type"] = split(",", $this->method["$type"]);
|
||||
$db = new CORE_database;
|
||||
$db->view($VAR, $this, $type);
|
||||
}
|
||||
|
||||
function update($VAR)
|
||||
{
|
||||
$this->constructor();
|
||||
$type = "update";
|
||||
$this->method["$type"] = split(",", $this->method["$type"]);
|
||||
$db = new CORE_database;
|
||||
$db->update($VAR, $this, $type);
|
||||
}
|
||||
|
||||
function delete($VAR)
|
||||
{
|
||||
$this->constructor();
|
||||
$db = new CORE_database;
|
||||
$db->mass_delete($VAR, $this, "");
|
||||
}
|
||||
|
||||
function search_form($VAR)
|
||||
{
|
||||
$this->constructor();
|
||||
$type = "search";
|
||||
$this->method["$type"] = split(",", $this->method["$type"]);
|
||||
$db = new CORE_database;
|
||||
$db->search_form($VAR, $this, $type);
|
||||
}
|
||||
|
||||
function search($VAR)
|
||||
{
|
||||
$this->constructor();
|
||||
$type = "search";
|
||||
$this->method["$type"] = split(",", $this->method["$type"]);
|
||||
$db = new CORE_database;
|
||||
$db->search($VAR, $this, $type);
|
||||
}
|
||||
|
||||
function search_show($VAR)
|
||||
{
|
||||
$this->constructor();
|
||||
$type = "search";
|
||||
$this->method["$type"] = split(",", $this->method["$type"]);
|
||||
$db = new CORE_database;
|
||||
$db->search_show($VAR, $this, $type);
|
||||
}
|
||||
}
|
||||
?>
|
84
modules/host_tld/host_tld_construct.xml
Normal file
84
modules/host_tld/host_tld_construct.xml
Normal file
@@ -0,0 +1,84 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
<construct>
|
||||
<!-- define the module name -->
|
||||
<module>host_tld</module>
|
||||
<!-- define the module table name -->
|
||||
<table>host_tld</table>
|
||||
<!-- define the module dependancy(s) -->
|
||||
<dependancy/>
|
||||
<!-- define the DB cache in seconds -->
|
||||
<cache>0</cache>
|
||||
<!-- define the default order_by field for SQL queries -->
|
||||
<order_by>name</order_by>
|
||||
<!-- define the methods -->
|
||||
<limit>25</limit>
|
||||
<!-- define database indexes -->
|
||||
<index>
|
||||
<status>status</status>
|
||||
<name>name</name>
|
||||
<auto_search>auto_search</auto_search>
|
||||
</index>
|
||||
<!-- define the fields -->
|
||||
<field>
|
||||
<id>
|
||||
<type>I4</type>
|
||||
<unique>1</unique>
|
||||
<index>1</index>
|
||||
</id>
|
||||
<site_id>
|
||||
<type>I4</type>
|
||||
<index>1</index>
|
||||
</site_id>
|
||||
<status>
|
||||
<type>L</type>
|
||||
</status>
|
||||
<name>
|
||||
<type>C(128)</type>
|
||||
<validate>any</validate>
|
||||
</name>
|
||||
<taxable>
|
||||
<type>L</type>
|
||||
</taxable>
|
||||
<whois_plugin>
|
||||
<type>C(32)</type>
|
||||
<min_len>1</min_len>
|
||||
<max_len>32</max_len>
|
||||
</whois_plugin>
|
||||
<whois_plugin_data>
|
||||
<type>X2</type>
|
||||
<convert>array</convert>
|
||||
</whois_plugin_data>
|
||||
<registrar_plugin_id>
|
||||
<type>I4</type>
|
||||
<asso_table>host_registrar_plugin</asso_table>
|
||||
<asso_field>name</asso_field>
|
||||
</registrar_plugin_id>
|
||||
<registrar_plugin_data>
|
||||
<type>X2</type>
|
||||
<convert>array</convert>
|
||||
</registrar_plugin_data>
|
||||
<auto_search>
|
||||
<type>L</type>
|
||||
</auto_search>
|
||||
<default_term_new>
|
||||
<type>I4</type>
|
||||
<min_len>1</min_len>
|
||||
<max_len>2</max_len>
|
||||
<validate>numeric</validate>
|
||||
</default_term_new>
|
||||
<price_group>
|
||||
<type>X2</type>
|
||||
<convert>array</convert>
|
||||
</price_group>
|
||||
</field>
|
||||
<!-- define all the methods for this class, and the fields they have access to, if applicable. -->
|
||||
<method>
|
||||
<add>id,site_id,status,name,whois_plugin,whois_plugin_data,registrar_plugin_id,registrar_plugin_data,auto_search,default_term_new,price_group,taxable</add>
|
||||
<update>id,site_id,status,name,whois_plugin,whois_plugin_data,registrar_plugin_id,registrar_plugin_data,auto_search,default_term_new,price_group,taxable</update>
|
||||
<delete>id,site_id,status,name,whois_plugin,whois_plugin_data,registrar_plugin_id,registrar_plugin_data,auto_search,default_term_new,price_group,taxable</delete>
|
||||
<view>id,site_id,status,name,whois_plugin,whois_plugin_data,registrar_plugin_id,registrar_plugin_data,auto_search,default_term_new,price_group,taxable</view>
|
||||
<search>id,site_id,status,name,whois_plugin,whois_plugin_data,registrar_plugin_id,registrar_plugin_data,auto_search,default_term_new,price_group,taxable</search>
|
||||
</method>
|
||||
<!-- define the method triggers -->
|
||||
<trigger>0</trigger>
|
||||
</construct>
|
37
modules/host_tld/host_tld_install.xml
Normal file
37
modules/host_tld/host_tld_install.xml
Normal file
@@ -0,0 +1,37 @@
|
||||
<install>
|
||||
<module_properties>
|
||||
<name>host_tld</name>
|
||||
<parent>host_server</parent>
|
||||
<notes><![CDATA[This module controls the settings for the TLD (top level domains)]]></notes>
|
||||
<menu_display>1</menu_display>
|
||||
</module_properties>
|
||||
<sql_inserts>
|
||||
<module_method>
|
||||
<add>
|
||||
<name>add</name>
|
||||
<page><![CDATA[%%:add]]></page>
|
||||
<menu_display>1</menu_display>
|
||||
</add>
|
||||
<update>
|
||||
<name>update</name>
|
||||
</update>
|
||||
<delete>
|
||||
<name>delete</name>
|
||||
</delete>
|
||||
<view>
|
||||
<name>view</name>
|
||||
<page><![CDATA[core:search&module=%%&_escape=1&_next_page_one=view]]></page>
|
||||
<menu_display>1</menu_display>
|
||||
</view>
|
||||
<search>
|
||||
<name>search</name>
|
||||
</search>
|
||||
<search_form>
|
||||
<name>search_form</name>
|
||||
</search_form>
|
||||
<search_show>
|
||||
<name>search_show</name>
|
||||
</search_show>
|
||||
</module_method>
|
||||
</sql_inserts>
|
||||
</install>
|
48
modules/host_tld/host_tld_install_data.xml
Normal file
48
modules/host_tld/host_tld_install_data.xml
Normal file
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
<install>
|
||||
<host_tld>
|
||||
<id>1</id>
|
||||
<site_id>1</site_id>
|
||||
<status>1</status>
|
||||
<name>com</name>
|
||||
<taxable>0</taxable>
|
||||
<whois_plugin>DEFAULT</whois_plugin>
|
||||
<whois_plugin_data><![CDATA[a:2:{s:12:"whois_server";s:16:"whois.crsnic.net";s:14:"avail_response";s:12:"No match for";}]]></whois_plugin_data>
|
||||
<registrar_plugin_id>1</registrar_plugin_id>
|
||||
<registrar_plugin_data><![CDATA[a:1:{i:0;s:0:"";}]]></registrar_plugin_data>
|
||||
<auto_search>1</auto_search>
|
||||
<default_term_new>1</default_term_new>
|
||||
<price_group><![CDATA[a:11:{i:0;a:3:{s:4:"show";s:1:"0";i:0;a:1:{s:8:"register";s:0:"";}i:2;a:1:{s:8:"register";s:0:"";}}i:1;a:3:{s:4:"show";s:1:"1";i:0;a:3:{s:8:"register";s:2:"10";s:5:"renew";s:2:"10";s:8:"transfer";s:2:"10";}i:2;a:3:{s:8:"register";s:2:"10";s:5:"renew";s:2:"10";s:8:"transfer";s:2:"10";}}i:2;a:3:{s:4:"show";s:1:"0";i:0;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}i:2;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}}i:3;a:3:{s:4:"show";s:1:"0";i:0;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}i:2;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}}i:4;a:3:{s:4:"show";s:1:"0";i:0;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}i:2;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}}i:5;a:3:{s:4:"show";s:1:"0";i:0;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}i:2;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}}i:6;a:3:{s:4:"show";s:1:"0";i:0;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}i:2;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}}i:7;a:3:{s:4:"show";s:1:"0";i:0;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}i:2;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}}i:8;a:3:{s:4:"show";s:1:"0";i:0;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}i:2;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}}i:9;a:3:{s:4:"show";s:1:"0";i:0;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}i:2;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}}i:10;a:3:{s:4:"show";s:1:"0";i:0;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}i:2;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}}}]]></price_group>
|
||||
</host_tld>
|
||||
<host_tld>
|
||||
<id>2</id>
|
||||
<site_id>1</site_id>
|
||||
<status>1</status>
|
||||
<name>net</name>
|
||||
<taxable>1</taxable>
|
||||
<whois_plugin>DEFAULT</whois_plugin>
|
||||
<whois_plugin_data><![CDATA[a:2:{s:12:"whois_server";s:16:"whois.crsnic.net";s:14:"avail_response";s:12:"No match for";}]]></whois_plugin_data>
|
||||
<registrar_plugin_id>1</registrar_plugin_id>
|
||||
<registrar_plugin_data><![CDATA[a:1:{i:0;s:0:"";}]]></registrar_plugin_data>
|
||||
<auto_search>1</auto_search>
|
||||
<default_term_new>1</default_term_new>
|
||||
<price_group><![CDATA[a:11:{i:0;a:3:{s:4:"show";s:1:"1";i:0;a:1:{s:8:"register";s:2:"10";}i:2;a:1:{s:8:"register";s:2:"10";}}i:1;a:3:{s:4:"show";s:1:"1";i:0;a:3:{s:8:"register";s:2:"15";s:5:"renew";s:2:"15";s:8:"transfer";s:2:"15";}i:2;a:3:{s:8:"register";s:2:"15";s:5:"renew";s:2:"15";s:8:"transfer";s:2:"15";}}i:2;a:3:{s:4:"show";s:1:"0";i:0;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}i:2;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}}i:3;a:3:{s:4:"show";s:1:"0";i:0;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}i:2;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}}i:4;a:3:{s:4:"show";s:1:"0";i:0;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}i:2;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}}i:5;a:3:{s:4:"show";s:1:"0";i:0;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}i:2;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}}i:6;a:3:{s:4:"show";s:1:"0";i:0;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}i:2;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}}i:7;a:3:{s:4:"show";s:1:"0";i:0;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}i:2;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}}i:8;a:3:{s:4:"show";s:1:"0";i:0;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}i:2;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}}i:9;a:3:{s:4:"show";s:1:"0";i:0;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}i:2;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}}i:10;a:3:{s:4:"show";s:1:"0";i:0;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}i:2;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}}}]]></price_group>
|
||||
</host_tld>
|
||||
<host_tld>
|
||||
<id>3</id>
|
||||
<site_id>1</site_id>
|
||||
<status>1</status>
|
||||
<name>org</name>
|
||||
<taxable>1</taxable>
|
||||
<whois_plugin>DEFAULT</whois_plugin>
|
||||
<whois_plugin_data><![CDATA[a:2:{s:12:"whois_server";s:32:"whois.publicinterestregistry.net";s:14:"avail_response";s:9:"NOT FOUND";}]]></whois_plugin_data>
|
||||
<registrar_plugin_id>1</registrar_plugin_id>
|
||||
<registrar_plugin_data><![CDATA[a:1:{i:0;s:0:"";}]]></registrar_plugin_data>
|
||||
<auto_search>1</auto_search>
|
||||
<default_term_new>2</default_term_new>
|
||||
<price_group><![CDATA[a:11:{i:0;a:3:{s:4:"show";s:1:"0";i:0;a:1:{s:8:"register";s:0:"";}i:2;a:1:{s:8:"register";s:0:"";}}i:1;a:3:{s:4:"show";s:1:"0";i:0;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}i:2;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}}i:2;a:3:{s:4:"show";s:1:"1";i:0;a:3:{s:8:"register";s:2:"20";s:5:"renew";s:2:"20";s:8:"transfer";s:2:"20";}i:2;a:3:{s:8:"register";s:2:"20";s:5:"renew";s:2:"20";s:8:"transfer";s:2:"20";}}i:3;a:3:{s:4:"show";s:1:"0";i:0;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}i:2;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}}i:4;a:3:{s:4:"show";s:1:"0";i:0;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}i:2;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}}i:5;a:3:{s:4:"show";s:1:"0";i:0;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}i:2;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}}i:6;a:3:{s:4:"show";s:1:"0";i:0;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}i:2;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}}i:7;a:3:{s:4:"show";s:1:"0";i:0;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}i:2;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}}i:8;a:3:{s:4:"show";s:1:"0";i:0;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}i:2;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}}i:9;a:3:{s:4:"show";s:1:"0";i:0;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}i:2;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}}i:10;a:3:{s:4:"show";s:1:"0";i:0;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}i:2;a:3:{s:8:"register";s:0:"";s:5:"renew";s:0:"";s:8:"transfer";s:0:"";}}}]]></price_group>
|
||||
</host_tld>
|
||||
<host_tld_id>
|
||||
<id>3</id>
|
||||
</host_tld_id>
|
||||
</install>
|
Reference in New Issue
Block a user