Current time: 12-23-2024, 10:00 PM Hello There, Guest! (LoginRegister)


Post Reply 
CronJobs whith hCron-daemon
Author Message
WuChEn Offline
Junior Member
*

Posts: 192
Joined: Feb 2009
Reputation: 2
Post: #11
RE: CronJobs whith hCron-daemon
It solved not the Problem with

File not Found! Sad

Greatz WuChEn
11-05-2009 08:36 PM
Visit this user's website Find all posts by this user Quote this message in a reply
data-stream_ru Offline
Moderator
*****
Moderators

Posts: 471
Joined: Jan 2009
Reputation: 7
Post: #12
RE: CronJobs whith hCron-daemon
(11-04-2009 09:45 PM)WuChEn Wrote:  i got some errors at compile the hcron, but its running.
but i can´t test hcron because cant add cronejobs.
see the other thread.

gretaz wuchen

I already answered at anothe trend Sad
11-07-2009 02:56 PM
Visit this user's website Find all posts by this user Quote this message in a reply
data-stream_ru Offline
Moderator
*****
Moderators

Posts: 471
Joined: Jan 2009
Reputation: 7
Post: #13
RE: CronJobs whith hCron-daemon
Litle add

./ispcp/gui/reseller/domain_delete.php


/* check for cronjobs */
$query = "SELECT COUNT(id) AS cronnum FROM hcrondtab WHERE domain = ?";
$res = exec_query($sql, $query, array($del_id));
$data = $res->FetchRow();
if ($data['cronnum'] > 0) {
/* ERR - we have cronjobs for this domain */
set_page_message(tr('Domain you are trying to remove has CronJobs !<br> first remove them !'));
header("Location: users.php");
die();
11-12-2009 04:10 PM
Visit this user's website Find all posts by this user Quote this message in a reply
data-stream_ru Offline
Moderator
*****
Moderators

Posts: 471
Joined: Jan 2009
Reputation: 7
Post: #14
RE: CronJobs whith hCron-daemon
Some users ask me in private about my copyright which seens at some files that "????? ?????? ???????"
That is a Our national tradition - Lack of accuracy Sad
Thise copyright at national codepage Sad
Do not worry about it.

Quote:Hi there.

I have a little Question.
On your Paket is a copyright @ the Cronejobs Pages.
But in German it shows Only ????? ??? ??????.
It is okay, when we remove this and on how to and readme we write your name!?

...

>
Now problem, you can remove (с) if you seriosly need thise. But only for none distribution. In Russia, a court is not popular without absolute necessity Wink
And, you can use thise ©

/*
* (с) 2009, Russia, Moscow
* Serge Obookhoff AKA Hong Lee
* http://www.data-stream.ru && http://www.veterinars.ru
* Last Revision at 01/2009
* Written especially for ispCP Team (http://www.isp-control.net) ONLY.
* Written using the old templates of dead VHCS.
* All Functions rewritten.
*
* Notice: If you use this script you have own risks.
*
*/

Opps!
Maybe Q not about copyright?
Some comments in php and С files written in rassian lang.
Use google-interpriter if you have interests about non-documented usability.
I wroute about thise in "Russian Corner"...

That use codepage win-1251.
(This post was last modified: 11-20-2009 01:31 AM by data-stream_ru.)
11-20-2009 01:23 AM
Visit this user's website Find all posts by this user Quote this message in a reply
data-stream_ru Offline
Moderator
*****
Moderators

Posts: 471
Joined: Jan 2009
Reputation: 7
Post: #15
RE: CronJobs whith hCron-daemon
Screenshots with comments (red text and lines)

http://www.isp-control.net/forum/thread-...l#pid68240
(This post was last modified: 12-06-2009 03:21 PM by data-stream_ru.)
12-06-2009 03:20 PM
Visit this user's website Find all posts by this user Quote this message in a reply
server801 Offline
Moderator
*****
Moderators

Posts: 349
Joined: Mar 2009
Reputation: 1
Post: #16
RE: CronJobs whith hCron-daemon
Write How to install on Debian
12-07-2009 06:09 PM
Visit this user's website Find all posts by this user Quote this message in a reply
WuChEn Offline
Junior Member
*

Posts: 192
Joined: Feb 2009
Reputation: 2
Post: #17
RE: CronJobs whith hCron-daemon
See german WIKI or German Forum ^^

Greatz WuChEn
12-07-2009 07:11 PM
Visit this user's website Find all posts by this user Quote this message in a reply
data-stream_ru Offline
Moderator
*****
Moderators

Posts: 471
Joined: Jan 2009
Reputation: 7
Post: #18
RE: CronJobs whith hCron-daemon
RPM for all 64x RedHad-compatible systems.
Compiled under CentOS, but it should not be important (must work under FedoraCore etc.)

Do not forget about creating SQL-table, /etc/, uploading ispCP templates!

//Some people need pacage for Mandriva i586?


Attached File(s)
.gz  hcrond-ispCP-RH-0.3.2-1.x86_64.rpm.gz (Size: 24.74 KB / Downloads: 13)
12-08-2009 06:03 PM
Visit this user's website Find all posts by this user Quote this message in a reply
data-stream_ru Offline
Moderator
*****
Moderators

Posts: 471
Joined: Jan 2009
Reputation: 7
Post: #19
RE: CronJobs whith hCron-daemon
For 1.0.3
in files
reseller/domain_delete.php
admin/user_delete.php

after
PHP Code:
    // Remove support tickets:
    
$query "DELETE FROM `tickets` WHERE ticket_from = ? OR ticket_to = ?";
    
exec_query($sql$query, array($domain_admin_id$domain_admin_id)); 
add
PHP Code:
    // Remove CronJobs:
    
$query "DELETE FROM `hcrondtab` WHERE `domain` = ?";
    
exec_query($sql$query, array($domain_id)); 

It's all...
(This post was last modified: 02-02-2010 11:31 PM by data-stream_ru.)
02-02-2010 09:46 PM
Visit this user's website Find all posts by this user Quote this message in a reply
data-stream_ru Offline
Moderator
*****
Moderators

Posts: 471
Joined: Jan 2009
Reputation: 7
Post: #20
RE: CronJobs whith hCron-daemon
Admin & Reseller CronJobs View

admin/domain_detals.php

PHP Code:
<?php
/**
 * ispCP П‰ (OMEGA) a Virtual Hosting Control System
 *
 * @copyright     2001-2006 by moleSoftware GmbH
 * @copyright     2006-2008 by ispCP | http://isp-control.net
 * @version     SVN: $ID$
 * @link         http://isp-control.net
 * @author         ispCP Team
 *
 * @license
 * The contents of this file are subject to the Mozilla Public License
 * Version 1.1 (the "License"); you may not use this file except in
 * compliance with the License. You may obtain a copy of the License at
 * http://www.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 * License for the specific language governing rights and limitations
 * under the License.
 *
 * The Original Code is "VHCS - Virtual Hosting Control System".
 *
 * The Initial Developer of the Original Code is moleSoftware GmbH.
 * Portions created by Initial Developer are Copyright (C) 2001-2006
 * by moleSoftware GmbH. All Rights Reserved.
 * Portions created by the ispCP Team are Copyright (C) 2006-2009 by
 * isp Control Panel. All Rights Reserved.
 */

require '../include/ispcp-lib.php';

check_login(__FILE__);

$tpl = new pTemplate();
$tpl->define_dynamic('page'Config::get('ADMIN_TEMPLATE_PATH') . '/domain_details.tpl');
$tpl->define_dynamic('logged_from''page');
$tpl->define_dynamic('custom_buttons''page');

$theme_color Config::get('USER_INITIAL_THEME');

$tpl->assign(
    array(
        
'TR_DETAILS_DOMAIN_PAGE_TITLE'    => tr('ispCP - Domain/Details'),
        
'THEME_COLOR_PATH'                => "../themes/$theme_color",
        
'THEME_CHARSET'                    => tr('encoding'),
        
'ISP_LOGO'                        => get_logo($_SESSION['user_id']),
    )
);

/*
 *
 * static page messages.
 *
 */

$tpl->assign(
    array(
        
'TR_DOMAIN_DETAILS'        => tr('Domain details'),
        
'TR_DOMAIN_NAME'        => tr('Domain name'),
        
'TR_DOMAIN_IP'            => tr('Domain IP'),
        
'TR_STATUS'                => tr('Status'),
        
'TR_PHP_SUPP'            => tr('PHP support'),
        
'TR_CGI_SUPP'            => tr('CGI support'),
        
'TR_DNS_SUPP'            => tr('Manual DNS support (EXPERIMENTAL)'),
        
'TR_MYSQL_SUPP'            => tr('MySQL support'),
        
'TR_TRAFFIC'            => tr('Traffic in MB'),
        
'TR_DISK'                => tr('Disk in MB'),
        
'TR_FEATURE'            => tr('Feature'),
        
'TR_USED'                => tr('Used'),
        
'TR_LIMIT'                => tr('Limit'),
        
'TR_MAIL_ACCOUNTS'        => tr('Mail accounts'),
        
'TR_FTP_ACCOUNTS'        => tr('FTP accounts'),
        
'TR_SQL_DB_ACCOUNTS'    => tr('SQL databases'),
        
'TR_SQL_USER_ACCOUNTS'    => tr('SQL users'),
        
'TR_SUBDOM_ACCOUNTS'    => tr('Subdomains'),
        
'TR_DOMALIAS_ACCOUNTS'    => tr('Domain aliases'),
        
'TR_UPDATE_DATA'        => tr('Submit changes'),
        
'TR_BACK'                => tr('Back'),
        
'TR_CRON_MANAGER' => tr('Cronjob Manager'),
        
'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete %s?'true'%s'),
        
'TR_CRONJOBS' => tr('Cronjobs'),
        
'TR_ACTIVE' => tr('Active'),
        
'TR_ACTION' => tr('Active'),
        
'TR_EDIT' => tr('Edit'),
        
'TR_DELETE' => tr('Delete'),
        
'TR_ADD' => tr('Add Cronjob')
    )
);

gen_admin_mainmenu($tplConfig::get('ADMIN_TEMPLATE_PATH') . '/main_menu_users_manage.tpl');
gen_admin_menu($tplConfig::get('ADMIN_TEMPLATE_PATH') . '/menu_users_manage.tpl');

gen_page_message($tpl);
// Get user id that comes for manage domain
if (!isset($_GET['domain_id'])) {
    
user_goto('manage_users.php');
}

$editid $_GET['domain_id'];
gen_detaildom_page($tpl$_SESSION['user_id'], $editid);

//Add Cron table
$domain user_vs_domain($tpl$sql$editid);
gen_cron_jobs($tpl$sql$domain);

$tpl->parse('PAGE''page');

$tpl->prnt();

if (
Config::get('DUMP_GUI_DEBUG')) {
    
dump_gui_debug();
}
unset_messages();

// Begin function block

function gen_detaildom_page(&$tpl$user_id$domain_id) {
    
$sql Database::getInstance();
    
// Get domain data
    
$query "
        SELECT
            *,
            IFNULL(`domain_disk_usage`, 0) AS domain_disk_usage
        FROM
            `domain`
        WHERE
            `domain_id` = ?;
    "
;

    
$res exec_query($sql$query, array($domain_id));
    
$data $res->FetchRow();

    if (
$res->RecordCount() <= 0) {
        
user_goto('manage_users.php');
    }
    
// Get admin data
    
$query "SELECT `admin_name` FROM `admin` WHERE `admin_id` = ?";
    
$res1 exec_query($sql$query, array($data['domain_admin_id']));
    
$data1 $res1->FetchRow();
    if (
$res1->RecordCount() <= 0) {
        
user_goto('manage_users.php');
    }
    
// Get IP info
    
$query "SELECT * FROM `server_ips` WHERE `ip_id` = ?";
    
$ipres exec_query($sql$query, array($data['domain_ip_id']));
    
$ipdat $ipres->FetchRow();
    
// Get status name
    
$dstatus $data['domain_status'];

    if (
$dstatus == Config::get('ITEM_OK_STATUS')
        || 
$dstatus == Config::get('ITEM_DISABLED_STATUS')
        || 
$dstatus == Config::get('ITEM_DELETE_STATUS')
        || 
$dstatus == Config::get('ITEM_ADD_STATUS')
        || 
$dstatus == Config::get('ITEM_RESTORE_STATUS')
        || 
$dstatus == Config::get('ITEM_CHANGE_STATUS')
        || 
$dstatus == Config::get('ITEM_TOENABLE_STATUS')
        || 
$dstatus == Config::get('ITEM_TODISABLED_STATUS')) {
        
$dstatus translate_dmn_status($data['domain_status']);
    } else {
        
$dstatus "<b><font size=\"3\" color=\"red\">" $data['domain_status'] . "</font></b>";
    }

    
// Traffic diagram
    
$fdofmnth mktime(000date("m"), 1date("Y"));
    
$ldofmnth mktime(100date("m") + 10date("Y"));
    
$query "
        SELECT
            IFNULL(SUM(`dtraff_web`), 0) AS dtraff_web,
            IFNULL(SUM(`dtraff_ftp`), 0) AS dtraff_ftp,
            IFNULL(SUM(`dtraff_mail`), 0) AS dtraff_mail,
            IFNULL(SUM(`dtraff_pop`), 0) AS dtraff_pop
        FROM
            `domain_traffic`
        WHERE
            `domain_id` = ?
        AND
            `dtraff_time` > ?
        AND
            `dtraff_time` < ?
    "
;

    
$res7 exec_query($sql$query, array($data['domain_id'], $fdofmnth$ldofmnth));
    
$dtraff $res7->FetchRow();
    
$sumtraff $dtraff['dtraff_web'] + $dtraff['dtraff_ftp'] + $dtraff['dtraff_mail'] + $dtraff['dtraff_pop'];
    
$dtraffmb sprintf("%.1f", ($sumtraff 1024) / 1024);

    
$month date("m");
    
$year date("Y");

    
$query "SELECT * FROM `server_ips` WHERE `ip_id` = ?";
    
$res8 exec_query($sql$query, array($data['domain_ip_id']));
    
$ipdat $res8->FetchRow();

    
$domain_traffic_limit $data['domain_traffic_limit'];
    
$domain_all_traffic $sumtraff//$dtraff['traffic'];

    
$traff = ($domain_all_traffic 1024) / 1024;
    
$mtraff sprintf("%.2f"$traff);

    if (
$domain_traffic_limit == 0) {
        
$pr 0;
    } else {
        
$pr = ($traff $domain_traffic_limit) * 100;
        
$pr sprintf("%.2f"$pr);
    }

    
$indx = (int)$pr;

    list(
$traffic_percent$indx$a) = make_usage_vals($domain_all_traffic$domain_traffic_limit 1024 1024);
    
// Get disk status
    
$domdu $data['domain_disk_usage'];
    
$domdl $data['domain_disk_limit'];

    
$tmp = ($domdu 1024) / 1024;

    if (
$domdu == 0) {
        
$dpr 0;
    } else if (
$domdl == 0) {
        
$dpr 0;
    } else {
        
$dpr = ($tmp $domdl) * 100;
        
$dpr sprintf("%.2f"$dpr);
    }

    
$dindx = (int) $dpr;
    
$domduh sizeit($domdu);

    list(
$disk_percent$dindx$b) = make_usage_vals($domdu$domdl 1024 1024);
    
// Get current mail count
    
$query "SELECT COUNT(`mail_id`) AS mcnt
        FROM `mail_users`
        WHERE `domain_id` = ?
        AND `mail_type` NOT RLIKE '_catchall'"
;
    if (
Config::get('COUNT_DEFAULT_EMAIL_ADDRESSES') == 0) {
        
$query .= " AND `mail_acc` != 'abuse'
            AND `mail_acc` != 'postmaster'
            AND `mail_acc` != 'webmaster'"
;
    }
    
$res6 exec_query($sql$query, array($data['domain_id']));
    
$dat3 $res6->FetchRow();
    
$mail_limit translate_limit_value($data['domain_mailacc_limit']);
    
// FTP stat
    
$query "SELECT `gid` FROM `ftp_group` WHERE `groupname` = ?";
    
$res4 exec_query($sql$query, array($data['domain_name']));
    
$ftp_gnum $res4->RowCount();
    if (
$ftp_gnum == 0) {
        
$used_ftp_acc 0;
    } else {
        
$dat1 $res4->FetchRow();
        
$query "SELECT COUNT(*) AS ftp_cnt FROM `ftp_users` WHERE `gid` = ?";
        
$res5 exec_query($sql$query, array($dat1['gid']));
        
$dat2 $res5->FetchRow();

        
$used_ftp_acc $dat2['ftp_cnt'];
    }
    
$ftp_limit translate_limit_value($data['domain_ftpacc_limit']);
    
// Get sql database count
    
$query "SELECT COUNT(*) AS dnum FROM `sql_database` WHERE `domain_id` = ?";
    
$res exec_query($sql$query, array($data['domain_id']));
    
$dat5 $res->FetchRow();
    
$sql_db translate_limit_value($data['domain_sqld_limit']);
    
// Get sql users count
    
$query "SELECT COUNT(u.`sqlu_id`) AS ucnt FROM `sql_user` u, `sql_database` d WHERE u.`sqld_id` = d.`sqld_id` AND d.`domain_id` = ?";
    
$res exec_query($sql$query, array($data['domain_id']));
    
$dat6 $res->FetchRow();
    
$sql_users translate_limit_value($data['domain_sqlu_limit']);
    
// Get subdomain
    
$query "SELECT COUNT(`subdomain_id`) AS sub_num FROM `subdomain` WHERE `domain_id` = ?";
    
$res1 exec_query($sql$query, array($data['domain_id']));
    
$sub_num_data $res1->FetchRow();
    
$query "SELECT COUNT(`subdomain_alias_id`) AS sub_num FROM `subdomain_alias` WHERE `alias_id` IN (SELECT `alias_id` FROM `domain_aliasses` WHERE `domain_id` = ?)";
    
$res1 exec_query($sql$query, array($domain_id));
    
$alssub_num_data $res1->FetchRow();
    
$sub_dom translate_limit_value($data['domain_subd_limit']);
    
// Get domain aliases
    
$query "SELECT COUNT(*) AS alias_num FROM `domain_aliasses` WHERE `domain_id` = ?";
    
$res1 exec_query($sql$query, array($data['domain_id']));
    
$alias_num_data $res1->FetchRow();

    
$dom_alias translate_limit_value($data['domain_alias_limit']);
    
// Fill in the fields
    
$tpl->assign(
        array(
            
'DOMAIN_ID'                    => $data['domain_id'],
            
'VL_DOMAIN_NAME'            => decode_idna($data['domain_name']),
            
'VL_DOMAIN_IP'                => $ipdat['ip_number'] . ' (' $ipdat['ip_alias'] . ')',
            
'VL_STATUS'                    => $dstatus,
            
'VL_PHP_SUPP'                => ($data['domain_php'] == 'yes') ? tr('Enabled') : tr('Disabled'),
            
'VL_CGI_SUPP'                => ($data['domain_cgi'] == 'yes') ? tr('Enabled') : tr('Disabled'),
            
'VL_DNS_SUPP'                => ($data['domain_dns'] == 'yes') ? tr('Enabled') : tr('Disabled'),
            
'VL_MYSQL_SUPP'                => ($data['domain_sqld_limit'] >= 0) ? tr('Enabled') : tr('Disabled'),
            
'VL_TRAFFIC_PERCENT'        => $traffic_percent,
            
'VL_TRAFFIC_USED'            => sizeit($domain_all_traffic),
            
'VL_TRAFFIC_LIMIT'            => sizeit($domain_traffic_limit'MB'),
            
'VL_DISK_PERCENT'            => $disk_percent,
            
'VL_DISK_USED'                => $domduh,
            
'VL_DISK_LIMIT'                => sizeit($data['domain_disk_limit'], 'MB'),
            
'VL_MAIL_ACCOUNTS_USED'        => $dat3['mcnt'],
            
'VL_MAIL_ACCOUNTS_LIIT'        => $mail_limit,
            
'VL_FTP_ACCOUNTS_USED'        => $used_ftp_acc,
            
'VL_FTP_ACCOUNTS_LIIT'        => $ftp_limit,
            
'VL_SQL_DB_ACCOUNTS_USED'    => $dat5['dnum'],
            
'VL_SQL_DB_ACCOUNTS_LIIT'    => $sql_db,
            
'VL_SQL_USER_ACCOUNTS_USED'    => $dat6['ucnt'],
            
'VL_SQL_USER_ACCOUNTS_LIIT'    => $sql_users,
            
'VL_SUBDOM_ACCOUNTS_USED'    => $sub_num_data['sub_num'] + $alssub_num_data['sub_num'],
            
'VL_SUBDOM_ACCOUNTS_LIIT'    => $sub_dom,
            
'VL_DOMALIAS_ACCOUNTS_USED'    => $alias_num_data['alias_num'],
            
'VL_DOMALIAS_ACCOUNTS_LIIT'    => $dom_alias
        
)
    );
// End of load_user_data();


# Get CronJobs

function gen_cron_jobs(&$tpl, &$sql$user_id) {

    
$query = <<<SQL_QUERY
        SELECT
            id, name, lastrun, activ, coment, domain
        FROM
            hcrondtab
        WHERE
            domain = 
$user_id
        ORDER BY
            id
SQL_QUERY;

    
$rs exec_query($sql$query, array($user_id));

    if (
$rs->RecordCount() == 0) {
        
$tpl->assign(
            array(
'NAME' => tr('Jobs list is empty!'),
                
'DESCRIPTION' => '',
                
'ACTIVE' => '',
                
'LASTRUN' => ''
                
)
            );

    } else {

        
$counter 0;
        while (!
$rs->EOF) {
            if (
$counter == 0) {
                
$tpl->assign('ITEM_CLASS''content');
            } else {
                
$tpl->assign('ITEM_CLASS''content2');
            }
            if (
$rs->fields['activ'] == 1) {$activ 'Yes';}
            else {
$activ 'No';};
            
$lastrun $rs->fields['lastrun'];
            if (
$lastrun == ) {$lastrun '';}
                else {
$lastrun date("Y-m-d H:i:s",$lastrun);}
            
$tpl->assign(
                array(
'NAME' => $rs->fields['name'],
                    
'DESCRIPTION' => $rs->fields['coment'],
                    
'LASTRUN' => $lastrun,
                    
'ACTIVE' => $activ,
                    
'ID'  => $rs->fields['id']
                    )
                );
            
$tpl->parse('CRONJOBS''.cronjobs');
            
$rs->MoveNext();
            
$counter++;
        }

    }

// End of gen_cron_job

function user_vs_domain(&$tpl, &$sql$domain_id) {

    
$query = <<<SQL_QUERY
        SELECT
            domain_admin_id
        FROM
            domain
        WHERE
            domain_id = 
$domain_id
SQL_QUERY;

    
$rs exec_query($sql$query, array($domain_id));

    return 
$rs->fields['domain_admin_id'];;
//End user_vs_domain 

/var/www/ispcp/gui/themes/omega_original/admin/domain_detals.tpl
PHP Code:
<?xml version="1.0" encoding="{THEME_CHARSET}" ?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{TR_DETAILS_DOMAIN_PAGE_TITLE}</title>
<meta name="robots" content="nofollow, noindex" />
<meta http-equiv="Content-Type" content="text/html; charset={THEME_CHARSET}" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<link href="{THEME_COLOR_PATH}/css/ispcp.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{THEME_COLOR_PATH}/css/ispcp.js"></script>
</head>

<body onload="MM_preloadImages('{THEME_COLOR_PATH}/images/icons/database_a.gif','{THEME_COLOR_PATH}/images/icons/hosting_plans_a.gif','{THEME_COLOR_PATH}/images/icons/domains_a.gif','{THEME_COLOR_PATH}/images/icons/general_a.gif' ,'{THEME_COLOR_PATH}/images/icons/manage_users_a.gif','{THEME_COLOR_PATH}/images/icons/webtools_a.gif','{THEME_COLOR_PATH}/images/icons/statistics_a.gif','{THEME_COLOR_PATH}/images/icons/support_a.gif')">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="height:100%;padding:0;margin:0 auto;">
<tr>
<td align="left" valign="top" style="vertical-align: top; width: 195px; height: 56px;"><img src="{THEME_COLOR_PATH}/images/top/top_left.jpg" width="195" height="56" border="0" alt="ispCP Logogram" /></td>
<td style="height: 56px; width:100%; background-color: #0f0f0f"><img src="{THEME_COLOR_PATH}/images/top/top_left_bg.jpg" width="582" height="56" border="0" alt="" /></td>
<td style="width: 73px; height: 56px;"><img src="{THEME_COLOR_PATH}/images/top/top_right.jpg" width="73" height="56" border="0" alt="" /></td>
</tr>
    <tr>
        <td style="width: 195px; vertical-align: top;">{MENU}</td>
        <td colspan="2" style="vertical-align: top;"><table style="width: 100%; padding:0;margin:0;" cellspacing="0">
                <tr style="height:95px;">
                  <td style="padding-left:30px; width: 100%; background-image: url({THEME_COLOR_PATH}/images/top/middle_bg.jpg);">{MAIN_MENU}</td>
                    <td style="padding:0;margin:0;text-align: right; width: 73px;vertical-align: top;"><img src="{THEME_COLOR_PATH}/images/top/middle_right.jpg" width="73" height="95" border="0" alt="" /></td>
                </tr>
                <tr>
                  <td colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td align="left"><table width="100%" cellpadding="5" cellspacing="5">
                          <tr>
                            <td width="25"><img src="{THEME_COLOR_PATH}/images/content/table_icon_domains.png" width="25" height="25" alt="" /></td>
                            <td colspan="2" class="title">{TR_DOMAIN_DETAILS}</td>
                          </tr>
                      </table></td>
                      <td width="27" align="right">&nbsp;</td>
                    </tr>
                    <tr>
                      <td><table width="100%" cellpadding="5" cellspacing="5">
                          <tr>
                            <td width="25">&nbsp;</td>
                            <td class="content2" width="193">{TR_DOMAIN_NAME}</td>
                            <td class="content" colspan="2">{VL_DOMAIN_NAME}</td>
                          </tr>
                          <tr>
                            <td width="25">&nbsp;</td>
                            <td class="content2" width="193">{TR_DOMAIN_IP}</td>
                            <td class="content" colspan="2">{VL_DOMAIN_IP}</td>
                          </tr>
                          <tr>
                            <td width="25">&nbsp;</td>
                            <td class="content2" width="193">{TR_STATUS}</td>
                            <td class="content" colspan="2">{VL_STATUS}</td>
                          </tr>
                          <tr>
                            <td width="25">&nbsp;</td>
                            <td class="content2" width="193">{TR_PHP_SUPP} </td>
                            <td class="content" colspan="2">{VL_PHP_SUPP}</td>
                          </tr>
                          <tr>
                            <td width="25">&nbsp;</td>
                            <td class="content2" width="193">{TR_CGI_SUPP}</td>
                            <td class="content" colspan="2">{VL_CGI_SUPP}</td>
                          </tr>
                          <tr>
                            <td width="25">&nbsp;</td>
                            <td class="content2" width="193">{TR_DNS_SUPP}</td>
                            <td class="content" colspan="2">{VL_DNS_SUPP}</td>
                          </tr>
                          <tr>
                            <td width="25">&nbsp;</td>
                            <td class="content2" width="193">{TR_MYSQL_SUPP}</td>
                            <td class="content" colspan="2">{VL_MYSQL_SUPP}</td>
                          </tr>
                          <tr>
                            <td width="25">&nbsp;</td>
                            <td class="content2" width="193">{TR_TRAFFIC}</td>
                           <td colspan="2" class="content"><table width="252" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="3"><img src="{THEME_COLOR_PATH}/images/bars/stats_left.png" width="3" height="20"></td>
                                  <td class="statsBar"><table border="0" cellspacing="0" cellpadding="0" align="left">
                                      <tr>
                                        <td class="statsBar"><img src="{THEME_COLOR_PATH}/images/bars/stats_progress.png" width="{VL_TRAFFIC_PERCENT}" height="20"></td>
                                      </tr>
                                  </table></td>
                                  <td width="3"><img src="{THEME_COLOR_PATH}/images/bars/stats_right.png" width="3" height="20"></td>
                                </tr>
                              </table>
                                <br />
                              {VL_TRAFFIC_USED} / {VL_TRAFFIC_LIMIT}</td>
                          </tr>
                          <tr>
                            <td width="25">&nbsp;</td>
                            <td class="content2" width="193">{TR_DISK}</td>
                            <td colspan="2" class="content"><table width="252" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="3"><img src="{THEME_COLOR_PATH}/images/bars/stats_left.png" width="3" height="20"></td>
                                  <td class="statsBar"><table border="0" cellspacing="0" cellpadding="0" align="left">
                                      <tr>
                                        <td class="statsBar"><img src="{THEME_COLOR_PATH}/images/bars/stats_progress.png" width="{VL_DISK_PERCENT}" height="20"></td>
                                      </tr>
                                  </table></td>
                                  <td width="3"><img src="{THEME_COLOR_PATH}/images/bars/stats_right.png" width="3" height="20"></td>
                                </tr>
                              </table>
                                <br />
                              {VL_DISK_USED} / {VL_DISK_LIMIT}</td>
                          </tr>
                          <tr>
                            <td>&nbsp;</td>
                            <td class="content3"><strong>{TR_FEATURE}</strong></td>
                            <td width="200" class="content3"><strong>{TR_USED}</strong></td>
                            <td class="content3"><strong>{TR_LIMIT}</strong></td>
                          </tr>
                          <tr>
                            <td width="25">&nbsp;</td>
                            <td class="content2" width="193">{TR_MAIL_ACCOUNTS}</td>
                            <td class="content">{VL_MAIL_ACCOUNTS_USED}</td>
                            <td class="content">{VL_MAIL_ACCOUNTS_LIIT}</td>
                          </tr>
                          <tr>
                            <td width="25">&nbsp;</td>
                            <td class="content2" width="193">{TR_FTP_ACCOUNTS}</td>
                            <td class="content">{VL_FTP_ACCOUNTS_USED}</td>
                            <td class="content">{VL_FTP_ACCOUNTS_LIIT}</td>
                          </tr>
                          <tr>
                            <td width="25">&nbsp;</td>
                            <td class="content2" width="193">{TR_SQL_DB_ACCOUNTS}</td>
                            <td class="content">{VL_SQL_DB_ACCOUNTS_USED}</td>
                            <td class="content">{VL_SQL_DB_ACCOUNTS_LIIT}</td>
                          </tr>
                          <tr>
                            <td width="25">&nbsp;</td>
                            <td class="content2" width="193">{TR_SQL_USER_ACCOUNTS}</td>
                            <td class="content">{VL_SQL_USER_ACCOUNTS_USED}</td>
                            <td class="content">{VL_SQL_USER_ACCOUNTS_LIIT}</td>
                          </tr>
                          <tr>
                            <td width="25">&nbsp;</td>
                            <td class="content2" width="193">{TR_SUBDOM_ACCOUNTS}</td>
                            <td class="content">{VL_SUBDOM_ACCOUNTS_USED}</td>
                            <td class="content">{VL_SUBDOM_ACCOUNTS_LIIT}</td>
                          </tr>
                          <tr>
                            <td width="25">&nbsp;</td>
                            <td class="content2" width="193">{TR_DOMALIAS_ACCOUNTS}</td>
                            <td class="content">{VL_DOMALIAS_ACCOUNTS_USED}</td>
                            <td class="content">{VL_DOMALIAS_ACCOUNTS_LIIT}</td>
                          </tr>


               <tr>
                    <!-- BDP: page_message -->
                    <tr>
                      <td width="25">&nbsp;</td>
                      <td colspan="3" class="title"><span class="message">{MESSAGE}</span></td>
                    </tr>
                    <!-- EDP: page_message -->
                    <tr>
                      <td width="25">&nbsp;</td>
                      <td class="content3"><strong>{TR_CRONJOBS}</strong></td>
                      <td align="center" class="content3"><strong>{TR_ACTIVE}</strong></td>
                      <td align="center" class="content3"><strong>Last Run</strong></td>
                      </tr>
                    
                      <!-- BDP: cronjobs -->
            <tr>
                      <td nowrap="nowrap">&nbsp;</td>
                      <td nowrap="nowrap" class="{ITEM_CLASS}"><strong>{NAME}</strong><br>
                        {DESCRIPTION}</td>
                      <td width="100" align="center" nowrap="nowrap" class="{ITEM_CLASS}">{ACTIVE}</td>
                      <td width="150" align="center" nowrap="nowrap" class="{ITEM_CLASS}">{LASTRUN}</td>
                   </tr>
                      <!-- cronjobs -->

                </tr>




                          <tr>
                            <td>&nbsp;</td>


                           <td colspan="3"><form name="buttons" method="post" action="?">
                                <input name="Submit" type="submit" class="button" onclick="MM_goToURL('parent','manage_users.php');return document.MM_returnValue" value="  {TR_BACK}  " />
                              &nbsp;&nbsp;&nbsp;
                            </form></td>
                          </tr>
                      </table></td>
                      <td>&nbsp;</td>
                    </tr>
                    <tr>
                      <td>&nbsp;</td>
                      <td>&nbsp;</td>
                    </tr>
                  </table></td>
                </tr>
            </table></td>
    </tr>
</table>
</body>
</html> 

And edit resellers files analogically
02-02-2010 11:30 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)