当前位置: 首页>>代码示例>>PHP>>正文


PHP RoundedLightWhite函数代码示例

本文整理汇总了PHP中RoundedLightWhite函数的典型用法代码示例。如果您正苦于以下问题:PHP RoundedLightWhite函数的具体用法?PHP RoundedLightWhite怎么用?PHP RoundedLightWhite使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了RoundedLightWhite函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: popup

function popup()
{
    $tpl = new templates();
    $logs = events();
    $html = "\n\t<H1>{APP_DHCP_EVENTS}</H1>\n\t" . RoundedLightWhite("\n\t<div style='width:100%;height:350px;overflow:auto' id='DHCPDL'>{$logs}</div>");
    echo $tpl->_ENGINE_parse_body($html);
}
开发者ID:BillTheBest,项目名称:1.6.x,代码行数:7,代码来源:dhcpd.events.php

示例2: user_amavis_front

function user_amavis_front()
{
    $tpl = new templates();
    if (isset($_GET["userid"])) {
        $users = new usersMenus();
        if (!$users->AllowChangeAntiSpamSettings) {
            echo $tpl->_ENGINE_parse_body("alert('{ERROR_NO_PRIVS}')");
            exit;
        }
        $uid = $_GET["userid"];
        $button_admin = "<div style='text-align:center'>\n\t\t<input type='button' OnClick=\"javascript:GoBackDefaultAmavis('{$uid}')\" value='{back_to_defaults}&nbsp;&raquo;'></div>";
    } else {
        $uid = $_SESSION["uid"];
    }
    $user = new user($uid);
    $form = "\n<table style='width:100%'>\n<tr>\n\t<td class=legend>{amavisSpamLover}:</td>\n\t<td>" . Field_TRUEFALSE_checkbox_img('amavisSpamLover', $user->amavisSpamLover, '{enable_disable}') . "</td>\n</tR>\n<tr>\n\t<td class=legend>{amavisBadHeaderLover}:</td>\n\t<td>" . Field_TRUEFALSE_checkbox_img('amavisBadHeaderLover', $user->amavisBadHeaderLover, '{enable_disable}') . "</td>\n</tR>\n<tr>\n\t<td class=legend>{amavisBypassVirusChecks}:</td>\n\t<td>" . Field_TRUEFALSE_checkbox_img('amavisBypassVirusChecks', $user->amavisBypassVirusChecks, '{enable_disable}') . "</td>\n</tR>\n<tr>\n\t<td class=legend>{amavisBypassSpamChecks}:</td>\n\t<td>" . Field_TRUEFALSE_checkbox_img('amavisBypassSpamChecks', $user->amavisBypassSpamChecks, '{enable_disable}') . "</td>\n</tR>\n<tr>\n\t<td class=legend>{amavisBypassHeaderChecks}:</td>\n\t<td>" . Field_TRUEFALSE_checkbox_img('amavisBypassHeaderChecks', $user->amavisBypassHeaderChecks, '{enable_disable}') . "</td>\n</tR>\n<tr>\n\t<td class=legend>{amavisSpamModifiesSubj}:</td>\n\t<td>" . Field_TRUEFALSE_checkbox_img('amavisSpamModifiesSubj', $user->amavisSpamModifiesSubj, '{enable_disable}') . "</td>\n</tR>\n<tr>\n\t<td class=legend>{amavisSpamTagLevel}:</td>\n\t<td>" . Field_text('amavisSpamTagLevel', $user->amavisSpamTagLevel, 'width:90px') . "</td>\n</tR>\n<tr>\n\t<td class=legend>{amavisSpamTag2Level}:</td>\n\t<td>" . Field_text('amavisSpamTag2Level', $user->amavisSpamTag2Level, 'width:90px') . "</td>\n</tR>\n<tr>\n\t<td class=legend>{amavisSpamKillLevel}:</td>\n\t<td>" . Field_text('amavisSpamKillLevel', $user->amavisSpamKillLevel, 'width:90px') . "</td>\n</tR>\n<tr>\n\t<td colspan=2 align='right'><hr><input type='button' OnClick=\"javascript:SaveUserAmavis();\" value='{edit}&nbsp;&raquo;'></td>\n</tr>\n</table>\n";
    $form = RoundedLightWhite($form);
    $html = "\n<H1>{spam_rules}</H1>\n\n<table style='width:100%'>\n<td valign='top' width=1%>\n<img src='img/caterpillarkas.png'>\n<p class=caption>{amavis_user_text}</p>\n<hr>\n{$button_admin}\n</td>\n<td><div id='user-amavis'>{$form}</div>\n</td>\n</tr>\n</table>\n\n";
    /*	
    amavisSpamLover: FALSE
    amavisBadHeaderLover: FALSE
    amavisBypassVirusChecks: FALSE
    amavisBypassSpamChecks: FALSE
    
    amavisBypassHeaderChecks: FALSE
    amavisSpamTagLevel: -999
    amavisSpamTag2Level: 5
    amavisSpamKillLevel: 5
    amavisSpamModifiesSubj: TRUE
    */
    echo $tpl->_ENGINE_parse_body($html, 'amavis.index.php');
}
开发者ID:brucewu16899,项目名称:artica,代码行数:32,代码来源:users.amavis.php

示例3: popup_index

function popup_index()
{
    $main = new main_cf();
    $html = "\n<H1>{smtp_connection_cache_destinations}</H1>\n<table style='width:600px' align=center>\n<tr>\n<td valign='top'>\n" . RoundedLightWhite("<div style='text-align:justify;font-size:12px;height:200px;overflow:auto;width:99%'>{smtp_connection_cache_destinations_text}</div>") . "\n<br>\n" . RoundedLightWhite("\n<form name='FFMA'>\n<table style='width:500px'>\n\t<tr>\n\t\t<td class=legend nowrap><strong>{smtp_connection_cache_on_demand}&nbsp;:</strong></td>\n\t\t<td align='left'>" . Field_yesno_checkbox_img('smtp_connection_cache_on_demand', $main->main_array["smtp_connection_cache_on_demand"], '{enable_disable}') . "</td>\n\t</tr>\n\t<tr>\n\t\t<td class=legend nowrap valign='top' nowrap><strong>{smtp_connection_cache_time_limit}&nbsp;:</strong></td>\n\t\t<td align='left'>" . Field_text('smtp_connection_cache_time_limit', $main->main_array["smtp_connection_cache_time_limit"], 'width:20%', null, null, '{smtp_connection_cache_time_limit_text}') . "\n\t</tr>\t\n\t<tr>\n\t\t<td class=legend nowrap valign='top' nowrap><strong>{smtp_connection_reuse_time_limit}&nbsp;:</strong></td>\n\t\t<td align='left'>" . Field_text('smtp_connection_reuse_time_limit', $main->main_array["smtp_connection_reuse_time_limit"], 'width:20%', null, null, '{smtp_connection_reuse_time_limit_text}') . "\n\t</tr>\t\n\t<tr>\n\t\t<td class=legend nowrap valign='top' nowrap><strong>{connection_cache_ttl_limit}&nbsp;:</strong></td>\n\t\t<td align='left'>" . Field_text('connection_cache_ttl_limit', $main->main_array["connection_cache_ttl_limit"], 'width:20%', null, null, '{connection_cache_ttl_limit_text}') . "\n\t</tr>\n\t<tr>\n\t\t<td class=legend nowrap valign='top' nowrap><strong>{connection_cache_status_update_time}&nbsp;:</strong></td>\n\t\t<td align='left'>" . Field_text('connection_cache_status_update_time', $main->main_array["connection_cache_status_update_time"], 'width:20%', null, null, '{connection_cache_status_update_time_text}') . "\n\t</tr>\t\n\t<tr>\n\t\t<td class=legend nowrap colspan='2' style='border-top:1px solid #CCCCCC'><input type='button' value='{edit}&nbsp;&raquo;' OnClick=\"javascript:PostFixSaveServerCacheSettings();\"></td>\n\t\t\n\t</tr>\t\t\t\n\t\t\t\t\t\n\t\t\n</form>\t") . "\n\t\n\t<tr>\n\t\n\t\n\t\t<td class=legend nowrap><strong>{smtp_connection_cache_destinations_field}&nbsp;:</strong></td>\n\t\t<td align='left'><input type='button' value='{add_server_domain}&nbsp;&raquo;' OnClick=\"javascript:PostFixAddServerCache();\">\n\t</tr>\n</table>\t\n\n\n</td>\n</tr>\n</table><div id='ServerCacheList'>" . PostFixServerCacheList() . "</div>";
    $tpl = new Templates();
    echo $tpl->_ENGINE_parse_body($html);
}
开发者ID:brucewu16899,项目名称:artica,代码行数:7,代码来源:postfix.performances.cache.php

示例4: popup

function popup()
{
    $dev = Buildicon64('DEF_ICO_DEVCONTROL');
    $html = "\n\t<H1>{SAMBA_USB_SHARE}</H1>\n\t\t\t<table style='width:100%'>\n\t\t<tr>\n\t\t\t<td valign='top' width=1% align='right'>\n\t\t\t\t{$dev}<hr><img src='img/usb-share-128.png'>\n\t\t\t</td>\n\t\t\t<td valign='top' width=99%>\n\t\t\t<p class=caption>{usb_share_explain}</p>\n\t\t\t" . RoundedLightWhite("<div id='usb-list' style='height:200px;width:99%;overflow:auto'></div>") . "\n\t\t</tr>\n\t\t</table>\n\t\n\t";
    $tpl = new templates();
    echo $tpl->_ENGINE_parse_body($html, 'fileshares.index.php');
}
开发者ID:brucewu16899,项目名称:artica,代码行数:7,代码来源:samba.usb.php

示例5: popup

function popup()
{
    $page = CurrentPageName();
    $html = RoundedLightWhite("<div style='width:100%;height:250px;overflow:auto' id='APP_RSYNC_FOLDERS'></div>") . "\n\t<script>\n\tLoadAjax('APP_RSYNC_FOLDERS','{$page}?dev-list=yes');\n\t</script>\n\t";
    $tpl = new templates();
    echo $tpl->_ENGINE_parse_body($html);
}
开发者ID:BillTheBest,项目名称:1.6.x,代码行数:7,代码来源:rsync.server.folders.php

示例6: out_of_office_start

function out_of_office_start()
{
    $user = new user($_SESSION["uid"]);
    if ($user->vacationEnabled == "TRUE") {
        $vacation_active = 1;
    } else {
        $vacation_active = 0;
    }
    $vacationStart = $user->vacationStart;
    $vacationEnd = $user->vacationEnd;
    $vacationStart_time = date('m/d/Y', $vacationStart);
    $vacationEnd_time = date('m/d/Y', $vacationEnd);
    $activate = Paragraphe_switch_img("{ENABLE_OUT_OF_OFFICE}", "{ENABLE_OUT_OF_OFFICE_TEXT}", "vacationActive", $vacation_active);
    $activate = RoundedLightWhite($activate);
    if ($user->vacationActive == "TRUE") {
        $icon = "ok24.png";
        $textActive = "{enabled}";
    } else {
        $icon = "danger24.png";
        $textActive = "{disabled}";
    }
    $status = "\n<table style='width:100%' class=table_form>\n<tr>\n\t<td colspan=2><strong style='font-size:16px'>{status}</strong></td>\n\t<hr>\n</tr>\n<tr>\n\t<td width=1%><img src='img/{$icon}'></td>\n\t<td><strong style='width:12px'>{$textActive}</td>\n\t</tr>\n</table>";
    $form_time = "\n\n<table style='width:100%'>\n\t<tr>\n\t\t<td align='left' style='border-bottom:1px solid #CCCCCC'><span style='font-size:14px;font-weight:bold;text-transform: capitalize;'>{from}:</span></td>\n\t\t<td align='left' style='border-bottom:1px solid #CCCCCC'><span style='font-size:14px;font-weight:bold;text-transform: capitalize;'>{to}:</span></td>\n\t</tr>\n\t<tr>\n\t\t<td align='center' style='padding-left:10px;padding-top:5px'><div id='cal1Container'><img src='img/wait.gif'></div></td>\n\t\t<td align='center' style='padding-left:10px;padding-top:5px'><div id='cal2Container'><img src='img/wait.gif'></div></td>\n\t</tr>\t\n</table>\n<input type='hidden' id='vacationStart' value='{$vacationStart_time}'>\n<input type='hidden' id='vacationEnd' value='{$vacationEnd_time}'>\n<hr>\n<div style='text-align:right'><input type='button' value='{edit}&nbsp;&raquo;' OnClick=\"javascript:SaveOutOfOffice();\"></div>\n";
    $form_time = RoundedLightWhite($form_time);
    $form = "\n<table style='width:100%'>\n<tr>\n\t<td valign='top'>{$activate}<br>{$status}\n\t<hr>\n<div style='text-align:right'><input type='button' value='{edit}&nbsp;&raquo;' OnClick=\"javascript:SaveOutOfOffice();\"></div></td>\n\t<td valign='top'>{$form_time}</td>\n</tr>\n</table>\n";
    $html = "\n<H1>{OUT_OF_OFFICE}</H1>\n<div style='float:right'><input type='button' value='{vacation_message}' OnClick=\"javascript:VacationMessage();\" ></div>\n<p class=caption>{OUT_OF_OFFICE_TEXT}</p>\n<div id='outofoff'>\n{$form}\n</div>\n\n\n";
    $tpl = new templates();
    return $tpl->_ENGINE_parse_body($html);
    //$timestamp = mktime(0, 0, 0, $month, $day, $year);
    //current=time
}
开发者ID:brucewu16899,项目名称:artica,代码行数:31,代码来源:users.out-of-office.php

示例7: wizard

function wizard()
{
    $tpl = new templates();
    $form = form1($error);
    $html = "<H1>{APP_CYRUS_MURDER}</H1>\n\t<table style='width:100%'>\n\t<tr>\n\t\t<td valign='top'>" . RoundedLightWhite("<img src='img/murder-1-128.png'>") . "</td>\n\t\t<td valign='top'>\n\t\t\t<p class=caption>{CYRUS_MURDER_CONNECT_BACKEND_TEXT}</p>\n\t\t\t" . RoundedLightWhite("<div id='form_murder_div'>{$form}</div>") . "\n\t\t</td>\n\t</tr>\n\t</table>\n\t\n\t\n\t";
    echo $tpl->_ENGINE_parse_body($html);
}
开发者ID:brucewu16899,项目名称:artica,代码行数:7,代码来源:cyrus.murder.php

示例8: index

function index(){

	
	//$content=main_config(1);
	
	$html=RoundedLightWhite("
	
	<table style='width:100%'>
	<tr>
	<td width=1% valign='top'><img src='img/bg_perf.jpg'></td>
	<td valign='top'><div id='artica_perfomances_services_status'></div></td>
	</tr>
	</table>")."
	<table style='width:100%'>
	<tr>
		<td colspan=2 valign='top'><br>
		".RoundedLightWhite("<p style='font-size:14px'>{about_perf}</p>")."
		</td>
	</tr>
	</table>
	<script>ArticaProcessesChargeLogs()</script>	
	
	";
	
	$tpl=new templates();
	echo $tpl->_ENGINE_parse_body($html);
		
}
开发者ID:rsd,项目名称:artica-1.5,代码行数:28,代码来源:artica.performances.php

示例9: popup_index

function popup_index()
{
    $main = new main_cf();
    $html = "<H1>{address_verify_map_minitext}</H1>" . RoundedLightWhite("<p class=caption>{address_verify_map_text}</p>") . "<br>\n\n\n<form name='FFMDBCache'>\n\n<table style='width:600px' align=center>\n<tr>\n<td valign='top'>\n\t\t" . RoundedLightWhite("\n\t\t<table style='width:100%;margin:10px'>\n\t\t\t<tr>\n\t\t\t\t<td nowrap class=legend>{address_verify_map_field}:</strong></td>\n\t\t\t\t<td>" . Field_text('address_verify_map', str_replace('btree:', '', $main->main_array["address_verify_map"])) . "</td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td nowrap class=legend>{address_verify_negative_cache}:</strong></td>\n\t\t\t\t<td>" . Field_yesno_checkbox_img('address_verify_negative_cache', $main->main_array["address_verify_negative_cache"], '{address_verify_negative_cache_text}') . "</td>\n\t\t\t</tr>\t\n\t\t\t<tr>\n\t\t\t\t<td nowrap class=legend>{address_verify_poll_count}:</strong></td>\n\t\t\t\t<td>" . Field_text('address_verify_poll_count', $main->main_array["address_verify_poll_count"], 'width:30%', null, null, '{address_verify_poll_count_text}') . "</td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td nowrap class=legend>{address_verify_poll_delay}:</strong></td>\n\t\t\t\t<td>" . Field_text('address_verify_poll_delay', $main->main_array["address_verify_poll_delay"], 'width:30%', null, null, '{address_verify_poll_delay_text}') . "</td>\n\t\t\t</tr>\t\t\t\t\t\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t<tr>\n\t\t\t\t<td nowrap class=legend>{address_verify_sender}:</strong></td>\n\t\t\t\t<td>" . Field_text('address_verify_sender', $main->main_array["address_verify_sender"], 'width:30%', null, null, '{address_verify_sender_text}') . "</td>\n\t\t\t</tr>\t\t\t\n\t\t\t<tr>\n\t\t\t\t<td align='right' nowrap class=legend>{address_verify_negative_expire_time}:</strong></td>\n\t\t\t\t<td>" . Field_text('address_verify_negative_expire_time', $main->main_array["address_verify_negative_expire_time"], 'width:30%', null, null, '{address_verify_negative_expire_time_text}') . "</td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td align='right' nowrap class=legend>{address_verify_negative_refresh_time}:</strong></td>\n\t\t\t\t<td>" . Field_text('address_verify_negative_refresh_time', $main->main_array["address_verify_negative_refresh_time"], 'width:30%', null, null, '{address_verify_negative_refresh_time_text}') . "</td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td align='right' nowrap class=legend>{address_verify_positive_expire_time}:</strong></td>\n\t\t\t\t<td>" . Field_text('address_verify_positive_expire_time', $main->main_array["address_verify_positive_expire_time"], 'width:30%', null, null, '{address_verify_positive_expire_time_text}') . "</td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td align='right' nowrap class=legend>{address_verify_positive_refresh_time}:</strong></td>\n\t\t\t\t<td>" . Field_text('address_verify_positive_refresh_time', $main->main_array["address_verify_positive_refresh_time"], 'width:30%', null, null, '{address_verify_positive_refresh_time_text}') . "</td>\n\t\t\t</tr>\t\t\t\t\t\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\t\n\n\t\t\t\n\t\t\t\t\t\n\t\t\t<tr>\n\t\t\t\t<td align='right' colspan=2><input type='button' value='{delete}&nbsp;&raquo;' OnClick=\"PostFixVerifyDatabaseDeleteSave();\">&nbsp;&nbsp;<input type='button' value='{edit}&nbsp;&raquo;' OnClick=\"PostFixVerifyDatabaseSave();\"></td>\n\t\t\t</tr>\t\t\t\t\n\t\t</table>") . "\n</td>\n</tr>\n</table></form>";
    $tpl = new Templates();
    echo $tpl->_ENGINE_parse_body($html);
}
开发者ID:brucewu16899,项目名称:artica,代码行数:7,代码来源:postfix.performances.verify.map.php

示例10: popup_index

function popup_index()
{
    $html = "\n<table style='width:600px' align=center>\n<td valign='top' style='text-align:justify'>" . RoundedLightWhite("<p class=caption>{smtp_fallback_relay_tiny}<br>{smtp_fallback_relay_text}</p>") . "</td>\n</tr>\n</table>\n<table style='width:600px' align=center>\n<tr>\n<td align='center'><input type='button' value='{add_server}&nbsp;&raquo;' OnClick=\"javascript:PostfixAddFallBackServer();\"></td></tr>\n<tr>\n<td>" . RoundedLightWhite("<div id='table_list'>" . PostfixAddFallBackerserverList() . "</div>") . "</td></tr>\n</table>\n";
    $js["JS"][] = 'js/postfix-fallback.js';
    $tpl = new Templates();
    echo $tpl->_ENGINE_parse_body($html);
}
开发者ID:brucewu16899,项目名称:artica,代码行数:7,代码来源:postfix.fallback.relay.php

示例11: top_ressources_mem_generate

function top_ressources_mem_generate()
{
    $sock = new sockets();
    $datas = $sock->getfile('dstattopressourcesmem');
    $tbl = explode("\n", $datas);
    if (is_array($tbl)) {
        while (list($num, $file) = each($tbl)) {
            if ($file == null) {
                continue;
            }
            if (preg_match('#dstat\\.topmem\\.([0-9]+)\\.(.+?)\\.png#', $file, $re)) {
                $arr[$re[1]] = "ressources/logs/{$file}";
            } else {
                echo "<br>{$file} !!";
            }
        }
    }
    if (!is_array($arr)) {
        return null;
    }
    rsort($arr);
    while (list($num, $file) = each($arr)) {
        $images = $images . "<div style='width:525px;padding:3px;margin:3px border:1px solid #CCCCCC;'>" . RoundedLightWhite("<img src='{$file}'>") . "</div><br>";
    }
    return $images;
}
开发者ID:BillTheBest,项目名称:1.6.x,代码行数:26,代码来源:dstat.memory.php

示例12: popup

function popup()
{
    $dev = $_GET["dev"];
    $html = "<H1>{$dev}</h1>\n\t<table style='width:100%'>\n\t\t<tr>\n\t\t<td valign='top' width=1%><center><img src='img/database-connect-128.png'></center></td>\n\t\t<td valign='top' width=99%>\n\t\t\t<div id='fstab'><p class=caption>{CONNECT_HD_TEXT}</p>\n\t\t\t\t<table style='width:100%' class=table_form>\n\t\t\t\t<tr>\n\t\t\t\t\t<td valign='middle' class=legend nowrap>{mount_point}:</td>\n\t\t\t\t\t<td nowrap>" . Field_text('mount_point', null, 'width:220px') . "" . button_browse('mount_point') . "</td>\n\t\t\t\t\t<td>" . button("{add}", "fstabAdd()") . "</td>\n\t\t\t\t</tr>\n\t\t\t\t</table>\n\t\t\t\t" . RoundedLightWhite("<div id='fslist' style='width:99%;height:220px;overflow:auto'>" . listfstab($dev) . "</div>") . "\n\t\t\t</div>\n\t\t</td>\n\t\t</tr>\n\t</table>\n\t";
    $tpl = new templates();
    echo $tpl->_ENGINE_parse_body($html, 'system.internal.disks.php');
}
开发者ID:brucewu16899,项目名称:artica,代码行数:7,代码来源:fstab.php

示例13: formulaire

function formulaire()
{
    $users = new usersMenus();
    $ldap = new clladp();
    $tpl = new templates();
    $page = CurrentPageName();
    if ($users->AsAnAdministratorGeneric) {
        $hash = $ldap->hash_get_ou(false);
    } else {
        $hash = $ldap->Hash_Get_ou_from_users($_SESSION["uid"], 1);
    }
    if (count($hash) == 1) {
        $org = $hash[0];
        $hash_groups = $ldap->hash_groups($org, 1);
        $hash_domains = $ldap->hash_get_domains_ou($org);
        $groups = Field_array_Hash($hash_groups, 'groupid');
        $domains = Field_array_Hash($hash_domains, 'domain');
    }
    $artica = new artica_general();
    $EnableVirtualDomainsInMailBoxes = $artica->EnableVirtualDomainsInMailBoxes;
    while (list($num, $ligne) = each($hash)) {
        $ous[$ligne] = $ligne;
    }
    $ou = Field_array_Hash($ous, 'organization', null, "ChangeFormValues()");
    $form = "\n\t\n\t<input type='hidden' id='EnableVirtualDomainsInMailBoxes' value='{$EnableVirtualDomainsInMailBoxes}'>\n\t<table style='width:100%'>\n\t\t<tr>\n\t\t\t<td class=legend>{organization}:</td>\n\t\t\t<td>{$ou}</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td class=legend>{group}:</td>\n\t\t\t<td><span id='select_groups'>{$groups}</span>\n\t\t</tr>\n\t\t<tr>\n\t\t<tr>\n\t\t\t<td class=legend>{firstname}:</td>\n\t\t\t<td>" . Field_text('firstname', null, 'width:120px', null, 'ChangeFormValues()') . "</td>\n\t\t</tr>\t\t\n\t\t<tr>\n\t\t\t<td class=legend>{lastname}:</td>\n\t\t\t<td>" . Field_text('lastname', null, 'width:120px', null, "ChangeFormValues()") . "</td>\n\t\t</tr>\t\t\n\t\t\t\n\t\t<tr>\n\t\t\t<td class=legend>{email}:</td>\n\t\t\t<td>" . Field_text('email', null, 'width:120px', null, "ChangeFormValues()") . "@<span id='select_domain'>{$domains}</span></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td class=legend>{login}:</td>\n\t\t\t<td>" . Field_text('login', null, 'width:120px') . "</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td class=legend>{password}:</td>\n\t\t\t<td>" . Field_password('password') . "</td>\n\t\t</tr>\t\n\t\t<tr><td colspan=2><hr></td></tr>\n\t\t<tr>\n\t\t\t<td colspan=2 align='right'>\n\t\t\t\t<input type='button' OnClick=\"javascript:SaveAddUser();\" value='{add}&nbsp;&raquo;'>\n\t\t\t</td>\n\t\t</tr>\n\t\t\n\t\t</table>\n\t";
    $form = RoundedLightWhite($form);
    $html = "<h1>{add_user}</H1>\n\t<table style='width:100%'>\n\t<tr>\n\t\t<td valign='top' width=1%><div id='ffform'><img src='img/identity-add-96.png'></div></td>\n\t\t<td valign='top'>{$form}</div></td>\n\t</tr>\n\t</table>\n\t";
    echo $tpl->_ENGINE_parse_body($html);
}
开发者ID:brucewu16899,项目名称:artica,代码行数:29,代码来源:create-user.php

示例14: popup

function popup()
{
    $virslist = viruslist();
    $html = "<H1>{VIRUS_EVENTS}</H1>\n\t<div style='text-align:right;margin-top:-25px'><input type='button' OnClick=\"javascript:VirusEventsAllAsRead();\" value=\"{mark_all_events_has_read}\"></div>\n\t" . RoundedLightWhite("\n\t<div id='virusevents' style='width:100%;height:400px;overflow:auto'>{$virslist}</div>\n\t");
    $tpl = new templates();
    echo $tpl->_ENGINE_parse_body($html);
}
开发者ID:BillTheBest,项目名称:1.6.x,代码行数:7,代码来源:antivirus.events.php

示例15: dmidecode

function dmidecode()
{
    $sock = new sockets();
    $datas = $sock->getfile("dmidecode");
    $tbl = explode("\n", $datas);
    if (is_array($tbl)) {
        $a[] = "<table>";
        while (list($num, $line) = each($tbl)) {
            if (trim($line) == null) {
                continue;
            }
            if (preg_match('#^([a-zA-Z]+)#', $line)) {
                $a[] = "<tr><td style='font-size:14px;font-weight:bold;border-bottom:1px solid #CCCCCC;padding-top:10px' colspan=2>{$line}</td></tr>";
                continue;
            }
            if (preg_match('#\\s+(.+?):(.+)#', $line, $re)) {
                $a[] = "<tr>\n\t\t\t\t\t<td class=legend>{$re[1]}</td><td><strong>{$re[2]}</strong></td></tr>";
                continue;
            }
            if (preg_match("#^\t\t([a-zA-Z]+)#", $line)) {
                $a[] = "<tr>\n\t\t\t\t\t<td class=legend></td><td><li>{$line}</li></td></tr>";
                continue;
            }
        }
    }
    $a[] = "</table>";
    $html = "<H1>{dmidecode}</H1>\n\t<p class=caption>{dmidecode_text}</p>\n\t" . RoundedLightWhite("<div style='width:100%;height:300px;overflow:auto'>" . implode("\n", $a));
    $tpl = new templates();
    echo $tpl->_ENGINE_parse_body($html);
}
开发者ID:BillTheBest,项目名称:1.6.x,代码行数:30,代码来源:dmidecode.php


注:本文中的RoundedLightWhite函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。