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


PHP phptemplate_get_ie_styles函数代码示例

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


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

示例1: phptemplate_get_ie_styles

<!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" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml" lang="<?php print $language->language; ?>" dir="<?php print $language->dir ?>" xml:lang="<?php print $language->language; ?>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php print $head ?>
<title><?php print $head_title ?></title>
<?php print $styles ?>
<?php print $scripts ?>
<!--[if lt IE 7]>
    <?php print phptemplate_get_ie_styles(); ?>
	<script defer type="text/javascript" src="<?php print base_path(); ?>sites/all/themes/3beats/pngfix.js"></script>
<![endif]-->
</head>
<!-- Home Theme -->
<body>
<script> /*function testfunc(){setTimeout("window.location.href = window.location.href;",5000); }*/</script>
<?php  $base_url = url(NULL, array('absolute' => TRUE)); ?>

	<!-- Section for Facebook Connect -->
	<div style="width: 100%; background-color: #736d2c; line-height: 1.5em; opacity:0.8; filter:alpha(opacity=80);">
	<?php global $user; if (!$user->uid): ?>	
		<span style="text-align: center; color: rgb(255, 235, 9); opacity: 1; padding-left: 420px; margin-left: 650px;">
				<fb:login-button size="small" onlogin="facebook_onlogin_ready();" background="dark" v="2" perms="user_about_me, email, publish_stream, offline_access">Connect</fb:login-button>
		</span>
	<?php else: ?>
		<span style="opacity: 1; color: rgb(255, 235, 9); text-align: right; padding-left: 370px; margin-left: 650px; font-size: 11px; vertical-align: middle; font-weight: bold;">
			<!--<img style="float:right; margin-right:20px;" src="http://graph.facebook.com/<?php /*print $user->fbuid; */?>/picture?type=small" alt="" height="50">-->
			Welcome <a href="/user/<?php print $user->uid; ?>" style="font-weight: bold; font-size: 12px; color: rgb(255, 235, 9);"><?php print $user->name; ?></a>&nbsp;|&nbsp;<a href="/logout" style="font-weight: bold; font-size: 12px; color: rgb(255, 235, 9);"><strong>Logout</strong></a>
		</span>
	<?php endif; ?>
开发者ID:rkern21,项目名称:threebeats,代码行数:31,代码来源:page-home.tpl.php

示例2: phptemplate_get_ie_styles

<!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" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>"  xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php print $head ?>
<title><?php print $head_title ?></title>
<?php print $styles ?>
<?php print $scripts ?>
<!--[if lt IE 7]>
<?php print phptemplate_get_ie_styles(); ?>
<![endif]-->
</head>
<!-- Search Theme -->
<body>
<script> /*function testfunc(){setTimeout("window.location.href = window.location.href;",5000); }*/</script>
<?php  $base_url = url(NULL, array('absolute' => TRUE)); ?>
	<div id="wrapper">
    	<div id="top_tabs">
			<?php print $header; ?>
			<div style="float:right; margin-right:20px; width:180px;">
				<ul><li><?php print $facebook; ?></li></ul>
			</div>
        </div>
	<div id="container">
		<div id="header_bar">
			<div class="topnavigation" >
			<?php if (isset($primary_links)) : ?>
					  <?php print $primary_links_tree; /* UNCOMMENT FOR DROPDOWN MENU */?>
				<?php endif; ?>
			</div>
		</div>
开发者ID:rkern21,项目名称:threebeats,代码行数:31,代码来源:page-search.tpl.php

示例3: phptemplate_get_ie_styles

		<title><?php 
print $head_title;
?>
</title>
		<?php 
print $head;
?>
		<?php 
print $styles;
?>
		<?php 
print $scripts;
?>
		<!--[if lt IE 8]>
			<?php 
print phptemplate_get_ie_styles() . "\n";
?>
		<![endif]-->
	</head>
	<body class="nitobe <?php 
print $body_classes;
?>
">
		<div id="page-wrapper" class="clear-block">
			<div id="header-area" class="container-16">
					<div id="title-group" class="<?php 
print nitobe_ns('grid-16', $header, 6, $search_box, 4);
?>
">
			            <?php 
if (isset($nitobe_logo)) {
开发者ID:vunger,项目名称:aaedirp,代码行数:31,代码来源:page.tpl.php

示例4: phptemplate_get_ie_styles

  <head>
    <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <?php
    global $user;
    global $base_url;
    if ($user->uid) {
//
    } else
      $loggedtheme = "";
    ?>
    <?php echo $head ?>
    <title><?php echo $head_title ?></title>
    <?php echo $styles ?>
    <?php echo $scripts ?>
    <!--[if lt IE 7]>
    <?php echo phptemplate_get_ie_styles(); ?>
    <![endif]-->
    <script type="text/javascript">
      if ($.browser.msie) {
        window.onload = function() {
          return;
        };
      } else {
        window.onbeforeunload = function(event) {
          return; // <-- Message is displayed in *some* browsers
        }
      }
    </script>
  </head>
  <body <?php echo phptemplate_body_class($left, $right); ?>>
    <?php
开发者ID:neil-chen,项目名称:NeilChen,代码行数:31,代码来源:page_loggedin.tpl.php


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