• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP getcss函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: xoops_header

function xoops_header($closehead = true)
{
    global $xoopsConfig, $xoopsTheme, $xoopsConfigMetaFooter;
    $myts =& MyTextSanitizer::getInstance();
    if ($xoopsConfig['gzip_compression'] == 1) {
        ob_start("ob_gzhandler");
    } else {
        ob_start();
    }
    if (!headers_sent()) {
        header('Content-Type:text/html; charset=' . _CHARSET);
        header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
        header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
        header('Cache-Control: no-store, no-cache, max-age=1, s-maxage=1, must-revalidate, post-check=0, pre-check=0');
        header("Pragma: no-cache");
    }
    echo "<!DOCTYPE html PUBLIC '//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>";
    echo '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="' . _LANGCODE . '" lang="' . _LANGCODE . '">
	<head>
	<meta http-equiv="content-type" content="text/html; charset=' . _CHARSET . '" />
	<meta http-equiv="content-language" content="' . _LANGCODE . '" />
	<meta name="robots" content="' . $xoopsConfigMetaFooter['meta_robots'] . '" />
	<meta name="keywords" content="' . $xoopsConfigMetaFooter['meta_keywords'] . '" />
	<meta name="description" content="' . $xoopsConfigMetaFooter['meta_desc'] . '" />
	<meta name="rating" content="' . $xoopsConfigMetaFooter['meta_rating'] . '" />
	<meta name="author" content="' . $xoopsConfigMetaFooter['meta_author'] . '" />
	<meta name="copyright" content="' . $xoopsConfigMetaFooter['meta_copyright'] . '" />
	<meta name="generator" content="XOOPS" />
	<title>' . $xoopsConfig['sitename'] . '</title>
	<script type="text/javascript" src="' . XOOPS_URL . '/include/xoops.js"></script>
	';
    $themecss = getcss($xoopsConfig['theme_set']);
    echo '<link rel="stylesheet" type="text/css" media="all" href="' . XOOPS_URL . '/xoops.css" />';
    if ($themecss) {
        echo '<link rel="stylesheet" type="text/css" media="all" href="' . $themecss . '" />';
        //echo '<style type="text/css" media="all"><!-- @import url('.$themecss.'); --></style>';
    }
    if ($closehead) {
        echo '</head><body>';
    }
}
开发者ID:amjadtbssm,项目名称:website,代码行数:41,代码来源:functions.php


示例2: XoopsBlock

     $block['form_title'] = _AM_EDITBLOCK;
     $myblock = new XoopsBlock($bid);
     $block['name'] = $myblock->getVar('name');
 } else {
     if ($op == 'save') {
         $block['form_title'] = _AM_ADDBLOCK;
     } else {
         $block['form_title'] = _AM_CLONEBLOCK;
     }
     $myblock = new XoopsBlock();
     $myblock->setVar('block_type', 'C');
 }
 $myts =& MyTextSanitizer::getInstance();
 $myblock->setVar('title', $myts->stripSlashesGPC($btitle));
 $myblock->setVar('content', $myts->stripSlashesGPC($bcontent));
 $dummyhtml = '<html><head><meta http-equiv="content-type" content="text/html; charset=' . _CHARSET . '" /><meta http-equiv="content-language" content="' . _LANGCODE . '" /><title>' . $xoopsConfig['sitename'] . '</title><link rel="stylesheet" type="text/css" media="all" href="' . getcss($xoopsConfig['theme_set']) . '" /></head><body><table><tr><th>' . $myblock->getVar('title') . '</th></tr><tr><td>' . $myblock->getContent('S', $bctype) . '</td></tr></table></body></html>';
 $dummyfile = '_dummyfile_' . time() . '.html';
 $fp = fopen(XOOPS_CACHE_PATH . '/' . $dummyfile, 'w');
 fwrite($fp, $dummyhtml);
 fclose($fp);
 $block['edit_form'] = false;
 $block['template'] = '';
 $block['op'] = $op;
 $block['side'] = $bside;
 $block['weight'] = $bweight;
 $block['visible'] = $bvisible;
 $block['title'] = $myblock->getVar('title', 'E');
 $block['content'] = $myblock->getVar('content', 'E');
 $block['modules'] =& $bmodule;
 $block['ctype'] = isset($bctype) ? $bctype : $myblock->getVar('c_type');
 $block['is_custom'] = true;
开发者ID:severnaya99,项目名称:Sg-2010,代码行数:31,代码来源:blocksadmin.inc.php


示例3: md5

     $xoopsCachedTemplateId = 'mod_' . $xoopsModule->getVar('dirname') . '|' . md5(str_replace(XOOPS_URL, '', $GLOBALS['xoopsRequestUri']));
     if ($xoopsTpl->is_cached($xoopsCachedTemplate, $xoopsCachedTemplateId)) {
         $xoopsLogger->addExtra($xoopsCachedTemplate, sprintf('Cached (regenerates every %d seconds)', $xoopsConfig['module_cache'][$xoopsModule->getVar('mid')]));
         $xoopsTpl->assign('xoops_contents', $xoopsTpl->fetch($xoopsCachedTemplate, $xoopsCachedTemplateId));
         $xoopsTpl->xoops_setCaching(0);
         if (!headers_sent()) {
             header('Content-Type:text/html; charset=' . _CHARSET);
         }
         $xoopsTpl->display($xoopsConfig['theme_set'] . '/theme.html');
         if ($xoopsConfig['debug_mode'] == 2 && $xoopsUserIsAdmin) {
             echo '<script type="text/javascript">
     		<!--//
     		debug_window = openWithSelfMain("", "popup", 680, 450, true);
     		debug_window.document.clear();
     		';
             $content = '<html><head><meta http-equiv="content-type" content="text/html; charset=' . _CHARSET . '" /><meta http-equiv="content-language" content="' . _LANGCODE . '" /><title>' . $xoopsConfig['sitename'] . '</title><link rel="stylesheet" type="text/css" media="all" href="' . getcss($xoopsConfig['theme_set']) . '" /></head><body>' . $xoopsLogger->dumpAll() . '<div style="text-align:center;"><input class="formButton" value="' . _CLOSE . '" type="button" onclick="javascript:window.close();" /></div></body></html>';
             $lines = preg_split("/(\r\n|\r|\n)( *)/", $content);
             foreach ($lines as $line) {
                 echo 'debug_window.document.writeln("' . str_replace('"', '\\"', $line) . '");';
             }
             echo '
     		debug_window.focus();
     		debug_window.document.close();
     		//-->
     		</script>';
         }
         exit;
     }
 } else {
     $xoopsTpl->xoops_setCaching(0);
 }
开发者ID:BackupTheBerlios,项目名称:xoops4-svn,代码行数:31,代码来源:header.php


示例4: isset

include_once XOOPS_ROOT_PATH . '/language/' . $xoopsConfig['language'] . '/user.php';
$op = isset($_POST['op']) && $_POST['op'] == 'dologin' ? 'dologin' : 'login';
$username = isset($_POST['username']) ? trim($_POST['username']) : '';
$password = isset($_POST['userpass']) ? trim($_POST['userpass']) : '';
if ($username == '' || $password == '') {
    $op = 'login';
}
echo '
<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=' . _CHARSET . '" />
    <meta http-equiv="content-language" content="' . _LANGCODE . '" />
    <title>' . $xoopsConfig['sitename'] . '</title>
    <link rel="stylesheet" type="text/css" media="all" href="' . XOOPS_URL . '/xoops.css" />
';
$style = getcss($xoopsConfig['theme_set']);
if ($style == '') {
    $style = xoops_getcss($xoopsConfig['theme_set']);
}
if ($style != '') {
    echo '<link rel="stylesheet" type="text/css" media="all" href="' . $style . '" />';
}
echo '
  </head>
  <body>
';
if ($op == 'dologin') {
    $member_handler =& xoops_gethandler('member');
    $myts =& MyTextsanitizer::getInstance();
    $user =& $member_handler->loginUser(addslashes($myts->stripSlashesGPC($username)), addslashes($myts->stripSlashesGPC($password)));
    if (is_object($user)) {
开发者ID:BackupTheBerlios,项目名称:xoops4-svn,代码行数:31,代码来源:login.php


示例5: htmlhead

function htmlhead($mcerr, $checkapi, $rig, $pg = null, $noscript = false)
{
    global $doctype, $title, $miner_font_family, $miner_font_size;
    global $bad_font_family, $bad_font_size;
    global $error, $readonly, $poolinputs, $here;
    global $ignorerefresh, $autorefresh;
    $extraparams = '';
    if ($rig != null && $rig != '') {
        $extraparams = "&rig={$rig}";
    } else {
        if ($pg != null && $pg != '') {
            $extraparams = "&pg={$pg}";
        }
    }
    if ($ignorerefresh == true || $autorefresh == 0) {
        $refreshmeta = '';
    } else {
        $url = "{$here}?ref={$autorefresh}{$extraparams}";
        $refreshmeta = "\n<meta http-equiv='refresh' content='{$autorefresh};url={$url}'>";
    }
    if ($readonly === false && $checkapi === true) {
        $error = null;
        $access = api($rig, 'privileged');
        if ($error != null || !isset($access['STATUS']['STATUS']) || $access['STATUS']['STATUS'] != 'S') {
            $readonly = true;
        }
    }
    $miner_font = "font-family:{$miner_font_family}; font-size:{$miner_font_size};";
    $bad_font = "font-family:{$bad_font_family}; font-size:{$bad_font_size};";
    echo "{$doctype}<html><head>{$refreshmeta}\n<title>{$title}</title>\n<style type='text/css'>\ntd { {$miner_font} " . getcss('td') . "}\ntd.two { {$miner_font} " . getcss('td.two') . "}\ntd.h { {$miner_font} " . getcss('td.h') . "}\ntd.err { {$miner_font} " . getcss('td.err') . "}\ntd.bad { {$bad_font} " . getcss('td.bad') . "}\ntd.warn { {$miner_font} " . getcss('td.warn') . "}\ntd.sta { {$miner_font} " . getcss('td.sta') . "}\ntd.tot { {$miner_font} " . getcss('td.tot') . "}\ntd.lst { {$miner_font} " . getcss('td.lst') . "}\ntd.hi { {$miner_font} " . getcss('td.hi') . "}\ntd.lo { {$miner_font} " . getcss('td.lo') . "}\n</style>\n</head><body" . getdom('body') . ">\n";
    if ($noscript === false) {
        echo "<script type='text/javascript'>\nfunction pr(a,m){if(m!=null){if(!confirm(m+'?'))return}window.location='{$here}?ref={$autorefresh}'+a}\n";
        if ($ignorerefresh == false) {
            echo "function prr(a){if(a){v=document.getElementById('refval').value}else{v=0}window.location='{$here}?ref='+v+'{$extraparams}'}\n";
        }
        if ($readonly === false && $checkapi === true) {
            echo "function prc(a,m){pr('&arg='+a,m)}\nfunction prs(a,r){var c=a.substr(3);var z=c.split('|',2);var m=z[0].substr(0,1).toUpperCase()+z[0].substr(1)+' GPU '+z[1];prc(a+'&rig='+r,m)}\nfunction prs2(a,n,r){var v=document.getElementById('gi'+n).value;var c=a.substr(3);var z=c.split('|',2);var m='Set GPU '+z[1]+' '+z[0].substr(0,1).toUpperCase()+z[0].substr(1)+' to '+v;prc(a+','+v+'&rig='+r,m)}\n";
            if ($poolinputs === true) {
                echo "function cbs(s){var t=s.replace(/\\\\/g,'\\\\\\\\'); return t.replace(/,/g, '\\\\,')}\nfunction pla(r){var u=document.getElementById('purl').value;var w=document.getElementById('pwork').value;var p=document.getElementById('ppass').value;pr('&rig='+r+'&arg=addpool|'+cbs(u)+','+cbs(w)+','+cbs(p),'Add Pool '+u)}\nfunction psp(r){var p=document.getElementById('prio').value;pr('&rig='+r+'&arg=poolpriority|'+p,'Set Pool Priorities to '+p)}\n";
            }
        }
        echo "</script>\n";
    }
    ?>
<table width=100% height=100% border=0 cellpadding=0 cellspacing=0 summary='Mine'>
<tr><td align=center valign=top>
<table border=0 cellpadding=4 cellspacing=0 summary='Mine'>
<?php 
    echo $mcerr;
}
开发者ID:vehre,项目名称:neo-gpuminer,代码行数:50,代码来源:miner.php


示例6: getThemeCSS

 function getThemeCSS()
 {
     global $xoopsConfig;
     if (getcss($xoopsConfig['theme_set'])) {
         return getcss($xoopsConfig['theme_set']);
     } else {
         return '';
     }
 }
开发者ID:BackupTheBerlios,项目名称:soopa,代码行数:9,代码来源:formwysiwygtextarea.php


示例7: getcss

					<div class="' . $skin . 'divTabContent" style="display:none;" id="d">
						<div style="height:160px;overflow:auto;">
							<img id="previewimage" alt="" src="' . XOOPS_URL . '/' . $url . '/skins/common/xoops.gif" width="61" height="61"/>En un lugar de la Mancha, de cuyo nombre no quiero acordarme, no hace mucho tiempo que viv&iacute;a un hidalgo de noble cuna, que pose&iacute;a un antiguo escudo, una lanza en astillero, un roc&iacute;n flaco y un galgo corredor. Era de condici&oacute;n modesta; y as&iacute;, las tres partes de su hacienda...			
    						<br style="clear:both;" />
						</div>
					</div>
					
				</div>
							<br style="clear:both;" />								
							<input class="' . $skin . 'SubmitInput" type="button" value="Ok" onclick="sendImage(\'' . $id . '\')"/>
					</form>
				</body>
			</html>';
        break;
    case 'createLink':
        echo '<link rel="stylesheet" type="text/css" media="all" href="' . getcss($xoopsConfig['theme_set']) . '" />';
        echo '</head>
		<body  class="' . $skin . 'PropsBody" style="width:100%;" onLoad="XK_MakeAnchorSelect(\'' . $id . '\')">';
        include_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
        $sform = new XoopsThemeForm(_XK_EDITIMAGE, 'linkform', xoops_getenv('PHP_SELF'));
        $sform->addElement(new XoopsFormText('Url', 'url', 20, 100, ''), true);
        $select = new XoopsFormSelect('Anchor', 'anchor', '', 1, false);
        $select->setExtra('onchange="XK_disableUrlTextField(this.options[this.selectedIndex].value)"');
        $sform->addElement($select);
        $sform->addElement(new XoopsFormSelect('Open', 'open', '', 1, false), true);
        $button_tray = new XoopsFormElementTray('', '');
        $button_submit = new XoopsFormButton('', '', _SUBMIT, 'button');
        $button_submit->setExtra('onclick="sendLink(\'' . $id . '\')"');
        $button_cancel = new XoopsFormButton('', '', _CANCEL, 'button');
        $button_cancel->setExtra('onclick="window.close()"');
        $button_tray->addElement($button_submit);
开发者ID:BackupTheBerlios,项目名称:soopa,代码行数:31,代码来源:dialogs.php


示例8: getArticle_apf


//.........这里部分代码省略.........
            ${"GLOBALS"}["ltnnqsxil"] = "objective";
            ${$qglkjviherh} = array();
            ${${"GLOBALS"}["vulvmb"]} = array();
            ${${"GLOBALS"}["ltnnqsxil"]} = array();
            ${${"GLOBALS"}["xyutkxe"]} = array();
            ${$ycvjembv} = ${${"GLOBALS"}["iqmlphoa"]};
            $iiqwswpfqz = "cmts";
            foreach (${${"GLOBALS"}["gmrmlkxex"]} as ${$iiqwswpfqz}) {
                $xvhruwyuvn = "cmt";
                $nkedeehhsw = "cmt";
                ${"GLOBALS"}["bblwwdzfinzm"] = "cmt";
                $xfzvwuc = "content_match_type";
                ${$xvhruwyuvn} = explode(",", ${${"GLOBALS"}["kyjgzemyzv"]});
                $flgogevd = "cmt";
                ${"GLOBALS"}["msokvrw"] = "cmt";
                ${"GLOBALS"}["ntwfxcrfn"] = "sel";
                $xqqtwfyawb = "outer";
                ${$xfzvwuc}[] = ${${"GLOBALS"}["vbrwqt"]}[0];
                ${$xqqtwfyawb}[] = ${$flgogevd}[1];
                ${"GLOBALS"}["mktlpisom"] = "index";
                ${"GLOBALS"}["mqwvrjvejm"] = "objective";
                ${"GLOBALS"}["ehfjdfi"] = "cmt";
                if (@${${"GLOBALS"}["vbrwqt"]}[2] == NULL || @${${"GLOBALS"}["msokvrw"]}[2] == "") {
                    ${${"GLOBALS"}["pmpfpbe"]}[] = 0;
                } else {
                    ${${"GLOBALS"}["mqwvrjvejm"]}[] = ${${"GLOBALS"}["ehfjdfi"]}[2];
                }
                $ejdzmf = "cmt";
                if (@${${"GLOBALS"}["bblwwdzfinzm"]}[3] == NULL || @${$ejdzmf}[3] == "") {
                    ${${"GLOBALS"}["mktlpisom"]}[] = 0;
                } else {
                    ${${"GLOBALS"}["xyutkxe"]}[] = ${$nkedeehhsw}[3];
                }
                ${${"GLOBALS"}["igjkgdvdvkbm"]}[5] = getcss(${${"GLOBALS"}["ntwfxcrfn"]});
            }
        }
        ${${"GLOBALS"}["bkuoaav"]} = $wpdb->get_var("SELECT count(*) FROM {$t_f_ap_cnofig}");
        $anodfwof = "Article";
        if (${${"GLOBALS"}["fvtdlga"]} > 1) {
            $wpdb->get_var("delete from {$t_f_ap_cnofig}");
        }
        ${${"GLOBALS"}["igjkgdvdvkbm"]}[1] = "";
        ${${"GLOBALS"}["utpugkssz"]} = count(${${"GLOBALS"}["vxqqfhjv"]});
        foreach (${${"GLOBALS"}["urgbzxfiwo"]} as ${$xlrywney}) {
            if (${${"GLOBALS"}["vbrwqt"]} == 1) {
                ${"GLOBALS"}["jphtnho"] = "hasUTFhtml";
                if (!${${"GLOBALS"}["jphtnho"]}) {
                    $ghaqetnr = "charset";
                    if (${$ghaqetnr} != "UTF-8" && ${${"GLOBALS"}["xsjlyd"]} != "utf-8") {
                        ${"GLOBALS"}["lvjlzwi"] = "UTFhtml";
                        ${"GLOBALS"}["effvokzqhudq"] = "UTFhtml";
                        ${"GLOBALS"}["wsulkyrxdq"] = "UTFhtml";
                        ${"GLOBALS"}["oyydlw"] = "UTFhtml";
                        $dbxwbncv = "charset";
                        ${${"GLOBALS"}["effvokzqhudq"]} = $d->save();
                        ${${"GLOBALS"}["wsulkyrxdq"]} = iconv(${$dbxwbncv}, "UTF-8//IGNORE", ${${"GLOBALS"}["lvjlzwi"]});
                        ${${"GLOBALS"}["urgyenxpiib"]} = compress_html_apf(${${"GLOBALS"}["oyydlw"]}, true, ${${"GLOBALS"}["pentrwwi"]});
                    } else {
                        ${"GLOBALS"}["fgekomqwz"] = "UTFhtml";
                        ${${"GLOBALS"}["fgekomqwz"]} = $d->save();
                        ${${"GLOBALS"}["urgyenxpiib"]} = compress_html_apf(${${"GLOBALS"}["urgyenxpiib"]}, true, ${${"GLOBALS"}["pentrwwi"]});
                    }
                }
                break;
            }
        }
开发者ID:jiangwhua15,项目名称:game-content,代码行数:67,代码来源:wp-autopost-function-po.php


示例9: geticon

		
		<link rel="shortcut icon" href="<?php 
echo geticon("murrix");
?>
" type="image/x-icon"/>
		<title><?php 
echo getSetting("TITLE", "Welcome to MURRiX");
?>
</title>
		
		<?
		$js = getjs();
		for ($i = 0; $i < count($js); $i++)
			echo "<script type=\"text/javascript\" src=\"".$js[$i]."\"></script>\n";

		$js = getcss();
		for ($i = 0; $i < count($js); $i++)
			echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"".$js[$i]."\"/>\n";

		$_SESSION['murrix']['system']->PrintHeader();
		?>
		<script type="text/javascript">
		<!--
			function toggleSidebarContainer(itemName)
			{
				var containerObj = document.getElementById(itemName+'_container');
				var arrowObj = document.getElementById(itemName+'_arrow');
				
				if (containerObj.style.display == 'none') // Show container
				{
					containerObj.style.display = 'block';
开发者ID:BackupTheBerlios,项目名称:murrix-svn,代码行数:30,代码来源:pagelayout.php


示例10: _renderHeader

    /**
     * @deprecated
     */
    function _renderHeader($closehead = true)
    {
        global $xoopsConfig, $xoopsTheme, $xoopsConfigMetaFooter;
        echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">';
        echo '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="' . _LANGCODE . '" lang="' . _LANGCODE . '">
		<head>
		<meta http-equiv="content-type" content="text/html; charset=' . _CHARSET . '" />
		<meta http-equiv="content-language" content="' . _LANGCODE . '" />
		<meta name="robots" content="' . htmlspecialchars($xoopsConfigMetaFooter['meta_robots']) . '" />
		<meta name="keywords" content="' . htmlspecialchars($xoopsConfigMetaFooter['meta_keywords']) . '" />
		<meta name="description" content="' . htmlspecialchars($xoopsConfigMetaFooter['meta_desc']) . '" />
		<meta name="rating" content="' . htmlspecialchars($xoopsConfigMetaFooter['meta_rating']) . '" />
		<meta name="author" content="' . htmlspecialchars($xoopsConfigMetaFooter['meta_author']) . '" />
		<meta name="copyright" content="' . htmlspecialchars($xoopsConfigMetaFooter['meta_copyright']) . '" />
		<meta name="generator" content="XOOPS" />
		<title>' . htmlspecialchars($xoopsConfig['sitename']) . '</title>
		<script type="text/javascript" src="' . XOOPS_URL . '/include/xoops.js"></script>
		';
        $themecss = getcss($xoopsConfig['theme_set']);
        echo '<link rel="stylesheet" type="text/css" media="all" href="' . XOOPS_URL . '/xoops.css" />';
        if ($themecss) {
            echo '<link rel="stylesheet" type="text/css" media="all" href="' . $themecss . '" />';
            //echo '<style type="text/css" media="all"><!-- @import url('.$themecss.'); --></style>';
        }
        if ($closehead) {
            echo '</head><body>';
        }
    }
开发者ID:hiro1173,项目名称:legacy,代码行数:31,代码来源:Legacy_RenderSystem.class.php


示例11: displayLog

 function displayLog()
 {
     echo '<script type="text/javascript">
     <!--//
     debug_window = openWithSelfMain("", "xoops_debug", 680, 600, true);
     ';
     $content = '<html><head><meta http-equiv="content-type" content="text/html; charset=' . _CHARSET . '" /><meta http-equiv="content-language" content="' . _LANGCODE . '" /><title>' . htmlspecialchars($GLOBALS['xoopsConfig']['sitename']) . '</title><link rel="stylesheet" type="text/css" media="all" href="' . getcss($GLOBALS['xoopsConfig']['theme_set']) . '" /></head><body>' . $this->renderLog() . '<div style="text-align:center;"><input class="formButton" value="' . _CLOSE . '" type="button" onclick="javascript:window.close();" /></div></body></html>';
     $lines = preg_split("/(\r\n|\r|\n)( *)/", $content);
     foreach ($lines as $line) {
         echo 'debug_window.document.writeln("' . str_replace('"', '\\"', $line) . '");';
     }
     echo '
     debug_window.document.close();
     //-->
     </script>';
 }
开发者ID:nbuy,项目名称:legacy,代码行数:16,代码来源:Legacy_Debugger.class.php


示例12: xoops_cp_footer

function xoops_cp_footer()
{
    global $xoopsConfig, $xoopsLogger;
    echo "\n              </div><br />\n            </td>\n            <td width='1%' background='" . XOOPS_URL . "/modules/system/images/bg_content.gif'></td>\n          </tr>\n          <tr>\n            <td align='center' colspan='4' class='bg5' height='15'>\n              <table border='0' width='100%' cellspacing='0' cellpadding='0'>\n                <tr>\n                  <td width='1%'><img src='" . XOOPS_URL . "/modules/system/images/hbar_left.gif' width='10' height='23' /></td>\n                  <td width='98%' background='" . XOOPS_URL . "/modules/system/images/hbar_middle.gif' align='center'><div class='fontSmall'>Powered by&nbsp;" . XOOPS_VERSION . " &copy; 2001-2005 <a href='http://xoopscube.org/' target='_blank'>The XOOPS Cube Project</a></div></td><td width='1%'><img src='" . XOOPS_URL . "/modules/system/images/hbar_right.gif' width='10' height='23' /></td>\n                </tr>\n              </table>\n            </td>\n          </tr>\n        </table>";
    include XOOPS_CACHE_PATH . '/adminmenu.php';
    echo $xoops_admin_menu_dv;
    echo "\n        </body>\n      </html>\n    ";
    if ($xoopsConfig['debug_mode'] == 2) {
        echo '<script type="text/javascript">
        <!--//
        debug_window = openWithSelfMain("", "popup", 680, 450, true);
        ';
        $content = '<html><head><meta http-equiv="content-type" content="text/html; charset=' . _CHARSET . '" /><meta http-equiv="content-language" content="' . _LANGCODE . '" /><title>' . htmlspecialchars($xoopsConfig['sitename']) . '</title><link rel="stylesheet" type="text/css" media="all" href="' . getcss($xoopsConfig['theme_set']) . '" /></head><body>' . $xoopsLogger->dumpAll() . '<div style="text-align:center;"><input class="formButton" value="' . _CLOSE . '" type="button" onclick="javascript:window.close();" /></div></body></html>';
        $lines = preg_split("/(\r\n|\r|\n)( *)/", $content);
        foreach ($lines as $line) {
            echo 'debug_window.document.writeln("' . str_replace('"', '\\"', $line) . '");';
        }
        echo '
        debug_window.document.close();
        //-->
        </script>';
    }
    ob_end_flush();
}
开发者ID:koki-h,项目名称:xoops_utf8,代码行数:24,代码来源:cp_functions.php


示例13: Tai

##  along with this program; if not, write to the Free Software              ##
##  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA ##
###############################################################################
##  Author of this file: Freeform Solutions and NS Tai (aka tuff) and others ##
##  URL: http://www.brandycoke.com/                                          ##
##  Project: Formulize                                                       ##
###############################################################################
require_once "../../mainfile.php";
print "<HTML>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=" . _CHARSET . "\" />";
print "<HEAD>";
$module_handler =& xoops_gethandler('module');
$config_handler =& xoops_gethandler('config');
$formulizeModule =& $module_handler->getByDirname("formulize");
$formulizeConfig =& $config_handler->getConfigsByCat(0, $formulizeModule->getVar('mid'));
if (!$formulizeConfig['printviewStylesheets']) {
    print "<link rel='stylesheet' type='text/css' media='all' href='" . getcss($xoopsConfig['theme_set']) . "'>\n";
    // figure out if this is XOOPS or ICMS
    if (file_exists(XOOPS_ROOT_PATH . "/class/icmsform/index.html")) {
        print "<link rel=\"stylesheet\" media=\"screen\" href=\"" . XOOPS_URL . "/icms.css\" type=\"text/css\" />\n";
    }
    print <<<EOF
<style>
body {
    font-size: 9pt;
}
h2, th {
    font-weight: normal;
    color: #333;
}
.subform-caption b {
    font-weight: normal;
开发者ID:LeeGlendenning,项目名称:formulize,代码行数:31,代码来源:printview.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP getcurrentnav函数代码示例发布时间:2022-05-15
下一篇:
PHP getcount函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap