本文整理汇总了PHP中set_font函数的典型用法代码示例。如果您正苦于以下问题:PHP set_font函数的具体用法?PHP set_font怎么用?PHP set_font使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了set_font函数的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: set_font
?>
}
#sc_l_tit {<?php
set_font('h1');
?>
}
#addtype {<?php
set_font('h1');
?>
}
#listm {float:right;margin-right:10px;color:#0066cc;_margin-top:-28px;_margin-right:5px;<?php
set_font('body');
?>
}
#logout {float:right;font-weight:normal;margin-right:30px;_margin-top:-15px;<?php
set_font('body');
?>
}
<?php
if ($_SESSION["MADM_SESSION_KEY"]['lang'] == 'en-us') {
echo "#showconmenu{margin-left:10px;*margin-left:-74px;}";
echo ".del_conc,.del_concp{margin-left:290px;}";
}
?>
</style>
<script language="javascript">
/* some words in js file for different languages */
var con_exist="<?php
echo $langs['con_exist'];
?>
";
示例2: set_font
echo $langs['title'] . " - " . $config['version'];
?>
</title>
<script>
var type='<?php
echo $type;
?>
',num=0;
</script>
<style type="text/css">
body{<?php
set_font('body');
?>
}
#leftmenu{<?php
set_font('menu');
?>
}
<?php
if ($_SESSION["MADM_SESSION_KEY"]['lang'] == 'en-us') {
echo "#listset{margin-right:5px;}";
echo "#showlist{_margin-top:22px;*margin-left:-251px;}";
echo "*+html #showlist{margin-left:-251px;}";
echo "#logout{*margin-top:-2px;}";
}
?>
</style>
</head>
<body>
<div class="ui-layout-center">
<iframe src="views/memmanager.php?type=<?php
示例3: set_font
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Con_Status</title>
<script type="text/javascript" src="../include/js/jquery-1.6.1.min.js"></script>
<script type="text/javascript" src="../include/js/data_monitor.js"></script>
<link rel="stylesheet" href="../include/css/data_monitor.css" />
<style type="text/css">
body{<?php
set_font('body');
?>
}
#checktit,#conpchecktit{<?php
set_font('h1');
?>
}
</style>
<script language="javascript">
var type="<?php
echo $type;
?>
";
var num="<?php
echo $num;
?>
";
</script>
</head>
<body>
示例4: ScatterPlot
//for ($i=0;isset($val_ytd[$i]);$i++) $xkeys[$i]=$i+.5;
$plot = new ScatterPlot(array_values($val_ytd), array_values($xkeys));
$plot->link(TRUE, make_color('ytd_color', '40FFFF'));
$plot->mark->setSize(make_num('ytd_mark', 10));
$plot->mark->setFill(make_color('ytd_markcolor', 'F0F0F0'));
$plot->setThickness(make_num('ytd_thick', 5));
$plot->setYAxis(PLOT_LEFT);
$plot->setYMin($min);
$plot->setYMax($max);
$grp->add($plot);
}
$grp->axis->bottom->setLabelText(array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'));
$grp->axis->left->label->setCallbackFunction('FmtAmount');
set_font($grp->axis->bottom->label, 'x_font');
set_font($grp->axis->left->label, 'y_font');
set_font($grp->axis->right->label, 'y_font');
$graph->border->hide();
$grp->setBackgroundColor(make_color('bg_color', 'FFFFFF'));
$grp->grid->setBackgroundColor(make_color('bg_plot_color', 'FFFFFF'));
$graph->add($grp);
$graph->draw();
// # Transpose array ($foo['baz']['bar'] --> $foo['bar']['baz'])
function a_t($array)
{
$r = array();
foreach ($array as $k1 => $ia) {
foreach ($ia as $k2 => $v) {
$r[$k2][$k1] = $v;
}
}
return $r;