great,
now we have to create a script which autoupdate the database
something like that:
PHP Code:
$sql = "SELECT `domain` FROM `domain`";
$query=mysql_query($sql);
while($rs = mysql_fetch_array($query))
{
$sql2 = "INSERT INTO `domain_backup` (`id`, `domain_name`, `backup_days`) VALUES ("", '$rs['domain']', 8);";
$query2 = mysql_query($sql2);
}
change "domain_add.php" and "domain_add.tpl" (i don´t know the real name of the files ) in reseller to automatic create the entry.
and
change
"domain_edit.php" and "domain_edit.tpl" to change the value of `backup_days`
and make a patch-file for the changes.
Then we have a great enhancement for ispCP
Greets
FISA4