コード例 #1
0
ファイル: page-home.tpl.php プロジェクト: rkern21/threebeats
<!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="******" 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; ?>
コード例 #2
0
<!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>
コード例 #3
0
ファイル: page.tpl.php プロジェクト: vunger/aaedirp
		<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)) {
コード例 #4
0
  <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