本文整理汇总了PHP中html_css函数的典型用法代码示例。如果您正苦于以下问题:PHP html_css函数的具体用法?PHP html_css怎么用?PHP html_css使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了html_css函数的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: html_page_top1
function html_page_top1($p_page_title = null)
{
html_begin();
html_head_begin();
html_css();
html_content_type();
include config_get('meta_include_file');
html_rss_link();
html_title($p_page_title);
html_head_javascript();
}
示例2: ksort
$t_data[$t_ptr][$t_status] = $t_data[$t_ptr - 1][$t_status];
}
}
}
ksort($t_view_status);
/* @todo - these should probably be separate strings, but in the summary page context,
the string is used as the title for all columns */
$t_label_string = lang_get('orct');
//use the (open/resolved/closed/total) label
$t_label_strings = explode('/', utf8_substr($t_label_string, 1, strlen($t_label_string) - 2));
// add headers for table
if ($f_show_as_table) {
$t_date_format = config_get('short_date_format');
html_begin();
html_head_begin();
html_css();
html_content_type();
html_title(lang_get('by_status'));
html_head_end();
html_body_begin();
echo '<table class="width100"><tr><td></td>';
if ($f_summary) {
echo '<th>' . $t_label_strings[0] . '</th>';
echo '<th>' . $t_label_strings[1] . '</th>';
echo '<th>' . $t_label_strings[2] . '</th>';
} else {
foreach ($t_view_status as $t_status => $t_label) {
echo '<th>' . $t_label . ' (' . $t_status . ')</th>';
}
}
echo '</tr>';
示例3: html_header
function html_header()
{
global $title;
$strtitle = '';
if ($title != '') {
$strtitle = ': ' . $title;
}
$css = html_css();
$js = html_js();
return <<<HERE
<!DOCTYPE HTML>
<html>
\t<head><title>git webcommit{$strtitle}</title><style>{$css}</style><script>{$js}</script></head>
\t<body>
HERE;
}
示例4: html_page_top1
function html_page_top1($p_page_title = null)
{
html_begin();
html_head_begin();
html_css();
html_content_type();
include config_get('meta_include_file');
html_rss_link();
echo '<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />';
html_title($p_page_title);
html_head_javascript();
}
示例5: html_page_top1
/**
* Print the part of the page that comes before meta redirect tags should be inserted
* @param string $p_page_title page title
* @return null
*/
function html_page_top1($p_page_title = null)
{
html_begin();
html_head_begin();
html_css();
html_content_type();
include config_get('meta_include_file');
global $g_robots_meta;
if (!is_blank($g_robots_meta)) {
echo "\t", '<meta name="robots" content="', $g_robots_meta, '" />', "\n";
}
html_rss_link();
$t_favicon_image = config_get('favicon_image');
if (!is_blank($t_favicon_image)) {
echo "\t", '<link rel="shortcut icon" href="', helper_mantis_url($t_favicon_image), '" type="image/x-icon" />', "\n";
}
// Advertise the availability of the browser search plug-ins.
echo "\t", '<link rel="search" type="application/opensearchdescription+xml" title="MantisBT: Text Search" href="' . string_sanitize_url('browser_search_plugin.php?type=text', true) . '" />' . "\n";
echo "\t", '<link rel="search" type="application/opensearchdescription+xml" title="MantisBT: Issue Id" href="' . string_sanitize_url('browser_search_plugin.php?type=id', true) . '" />' . "\n";
html_title($p_page_title);
html_head_javascript();
}
示例6: page_render_object
function page_render_object($args)
{
$obj = $args['obj'];
$a = expl('.', $obj['name']);
if ($a[2] != 'page') {
return false;
}
// background-attachment
if (!empty($obj['page-background-attachment'])) {
html_css('background-attachment', $obj['page-background-attachment']);
}
// background-color
if (!empty($obj['page-background-color'])) {
html_css('background-color', $obj['page-background-color']);
}
// background-image
if (!empty($obj['page-background-file'])) {
if (SHORT_URLS) {
html_css('background-image', 'url(' . base_url() . htmlspecialchars(urlencode($obj['name']), ENT_NOQUOTES, 'UTF-8') . ')');
} else {
html_css('background-image', 'url(' . base_url() . '?' . htmlspecialchars(urlencode($obj['name']), ENT_NOQUOTES, 'UTF-8') . ')');
}
}
// background-image-position
if (!empty($obj['page-background-image-position'])) {
html_css('background-position', $obj['page-background-image-position']);
}
// set the html title
if (isset($obj['page-title'])) {
html_title($obj['page-title']);
}
}
示例7: html_css
<?php
$site_header = html_css("nivo-slider");
$site_footer = html_javascript("externals/jquery.nivo.slider") . "\n";
$site_footer .= html_javascript("jquery.nivo.slider.init") . "\n";
示例8: html_css
<?php
/**
* Get css
*/
$params['out'] = html_css($params['file'], $params['media']);
示例9: html_page_top1
/**
* Print the part of the page that comes before meta redirect tags should be inserted
* @param string $p_page_title Page title.
* @return void
*/
function html_page_top1($p_page_title = null)
{
html_begin();
html_head_begin();
html_content_type();
$t_meta = config_get_global('meta_include_file');
if (!is_blank($t_meta)) {
include $t_meta;
}
global $g_robots_meta;
if (!is_blank($g_robots_meta)) {
echo "\t", '<meta name="robots" content="', $g_robots_meta, '" />', "\n";
}
html_title($p_page_title);
html_css();
html_rss_link();
$t_favicon_image = config_get('favicon_image');
if (!is_blank($t_favicon_image)) {
echo "\t", '<link rel="shortcut icon" href="', helper_mantis_url($t_favicon_image), '" type="image/x-icon" />', "\n";
}
# Advertise the availability of the browser search plug-ins.
$t_title = config_get('search_title');
$t_searches = array('text', 'id');
foreach ($t_searches as $t_type) {
echo "\t", '<link rel="search" type="application/opensearchdescription+xml" ', 'title="' . sprintf(lang_get("opensearch_{$t_type}_description"), $t_title) . '" ', 'href="' . string_sanitize_url('browser_search_plugin.php?type=' . $t_type, true) . '"/>', "\n";
}
html_head_javascript();
}
示例10: unset
if (isset($_GET['new'])) {
unset($_SESSION['open_prj']);
}
$dataPrj = unserialize(@file_get_contents(ROOT_DIR . '/userData/userProject/' . $is_logged . '/' . $openPrj . '/data'));
?>
<!DOCTYPE HTML>
<head>
<title>RAID - Copyright © 2012 SL-CMS.COM Designed by QWARP</title>
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="description" content="RAID - Визуальный редактор шаблонов , A visual template editor" />
<meta name="keywords" content="визуальный,редактор" />
<link rel="shortcut icon" href="lib/images/favicon.ico" />
<?php
print html_css('lib/css', array('style', 'contextmenu', 'widget', 'loading', 'tools', 'interface', 'tooltip'));
print html_css('system', array('form', 'system'));
print html_js('lib/js', array('jquery', 'jquery-ui-1.8.16.custom.min', 'layer', 'ready', 'function', 'contextmenu', 'scroll', 'image', 'widget', 'swfupload', 'upload', 'iframe', 'file', 'libraly', 'interface', 'api', 'tooltip'));
if (!$is_logged) {
header("Location: ../index.php");
}
?>
<script src="class/godata.js.php?login=<?php
echo $is_logged;
?>
" id="libraly_script" type="text/javascript"></script>
<script>
var user_name_var = '<?php
echo $is_logged;
?>
';
image.LastDir = '';