本文整理汇总了PHP中myclass::header_attribute方法的典型用法代码示例。如果您正苦于以下问题:PHP myclass::header_attribute方法的具体用法?PHP myclass::header_attribute怎么用?PHP myclass::header_attribute使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类myclass
的用法示例。
在下文中一共展示了myclass::header_attribute方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: intval
// each msgno
$variables['msgno'] = intval($variables['response'][$i]['msgno']);
$variables['mno'] = intval($variables['response'][$i]['mno']);
$variables['mno1'] = intval($variables['response'][$i]['mno1']);
// get chat mate
$variables['mno1'] = $variables['mno'] == $mno ? $variables['mno1'] : $variables['mno'];
// get username chat mate
$username = $mc->get_username_by_mno($variables['mno1']);
// get from fs_comment table via table id and table name from fs_message
$variables['comment_r'] = $mc->posted_modals_comment_Query(array('comment_query' => 'get-all-comment-by-tbn_and_tbid', 'table_name' => 'fs_message', 'table_id' => intval($variables['msgno']), 'orderby' => 'order by date desc', 'limit_start' => $limit_start, 'limit_end' => $limit_end));
$variables['comment'] = $variables['comment_r'][0]['comment'];
$variables['mno'] = intval($variables['comment_r'][0]['mno']);
$variables['date'] = $variables['comment_r'][0]['date'];
$fullname = $mc->get_full_name_by_id($variables['mno1']);
// header title desc
$mc->header_attribute("OOTD | Trends | Fashion Blogs | Beauty Tips | Fashion Inspiration | Fashion Sponge ", "Fashion Sponge is the easiest & fastest way to: Show your ootd, see the latest trends, discover fashionable people & blogs, get beauty & style tips & find fashion inspiration.", "OOTD | Trends | Fashion Blogs | Beauty Tips | Fashion Inspiration ");
?>
<tr>
<td>
<?php
$mc->member_thumbnail_display($mc->ppic_thumbnail, $variables['mno1'], "{$mc->ppic_thumbnail}", null, '35px;');
?>
</td>
<td onclick="chat( 'chat?u=<?php
echo "{$username}";
?>
' , 'open-new-chat' ) " style="cursor:pointer;" >
<!-- <a href="chat?u=<?php
echo "{$username}";
?>
示例2:
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>New Details Page Development</title>
<link rel="stylesheet" type="text/css" href="fs_folders/index_home/home_css/home.css">
<script type="text/javascript" src='fs_folders/fs_lookdetails/lookdetails_js/lookdetails_ajax.js'></script>
<script type="text/javascript" src='fs_folders/fs_lookdetails/lookdetails_js/lookdetails_query.js'></script>
<link rel="stylesheet" type="text/css" href="fs_folders/gen_css/gen_style.css" />
<script src="http://connect.facebook.net/en_US/all.js"></script>
<?php
$mc->header_attribute("{$lookName}-{$lookOwnerName}", $lookAbout, $keyword);
?>
<div style="display:none" >
<div id="plno" ><?php
echo $plno;
?>
</div>
<div id="lookName" ><?php
echo $lookName;
?>
</div>
<div id="webDesc" ><?php
echo $webDesc;
?>
</div>
<div id='lookOwnerName'><?php
示例3: myclass
require "fs_folders/php_functions/library.php";
require "fs_folders/php_functions/source.php";
$_SESSION['post_a_look_is_look_upload_once_in_db'] = false;
$mc = new myclass();
$article = new postarticle();
$image = new resizeImage();
$mc->auto_detect_path();
$_SESSION['mno'] = $mc->get_cookie('mno', 136);
$mno = $mc->get_cookie('mno', 136);
?>
<!DOCTYPE html>
<html>
<head>
<?php
$mc->header_attribute("Log-in or Sign Up | Fashion Sponge");
?>
</head>
<body style="padding:0px; margin:0px;" >
<div id="login-container" >
</div>
<div id= 'login-container1' >
<?php
if ($mno != 136) {
$mc->go('/');
}
?>
示例4: Database
include "fs_folders/php_functions/Class/Lookbook.php";
require "fs_folders/php_functions/function.php";
require "fs_folders/php_functions/library.php";
require "fs_folders/php_functions/source.php";
require "fs_folders/php_functions/myclass.php";
require_once "fs_folders/php_functions/Database/Invited.php";
$database = new Database();
$invited1 = new \Invitation\Invited();
$database->connect();
$invited1->_setInvitedTotals($database);
echo "<div style='display:none' >";
$mc = new myclass();
$pa = new postarticle();
$sc = new scrape();
$lookbook = new lookbook();
$mc->header_attribute();
$mc->auto_detect_path();
$mno = 968;
$plno = 509;
$plcno = 14;
$mppno = 111;
$mptno = 1;
$comment = 'this is the test comment';
$mno = 135;
$mno1 = 134;
$limit_start = 0;
$limit_end = 2;
$message = 'this is the message';
$msgno = 2;
$generated_code = '9.9851358453055E+22';
$mno = 133;
示例5:
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>New Details Page Development</title>
<link rel="stylesheet" href="fs_folders/js/bootstrap-3.3.1-dist/dist/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="fs_folders/index_home/home_css/home.css">
<script type="text/javascript" src='fs_folders/fs_lookdetails/lookdetails_js/lookdetails_ajax.js'></script>
<script type="text/javascript" src='fs_folders/fs_lookdetails/lookdetails_js/lookdetails_query.js'></script>
<link rel="stylesheet" type="text/css" href='fs_folders/fs_lookdetails/lookdetails_style/lookdetails.css'>
<link rel="stylesheet" type="text/css" href="fs_folders/gen_css/gen_style.css" />
<script type="text/javascript" src='fs_folders/js/modal.js'></script>
<script src="http://connect.facebook.net/en_US/all.js"></script>
<?php
$mc->header_attribute("{$modal['title']}-{$modal['modalownername']}", $modal['description'], $modal['category']);
if ($mno != 136) {
$mc->login_popup($mno, !empty($_GET['welcome']) ? $_GET['welcome'] : null);
} else {
$mc->login_popup($mno, 'login');
}
$mc->fs_popup_container_and_response();
?>
<div style="display:none" >
<div id="plno" ><?php
echo $modal['table_id'];
?>
</div>
<div id="lookName" ><?php
echo $modal['title'];
?>
示例6: myclass
<?php
require "fs_folders/php_functions/connect.php";
require "fs_folders/php_functions/function.php";
require "fs_folders/php_functions/library.php";
require "fs_folders/php_functions/source.php";
require "fs_folders/php_functions/myclass.php";
$mc = new myclass();
$mc->header_attribute('The World’s Most Stylish Contest', 'Fashion Sponge is challenging you to showcase your streetwear, menswear, chic or preppy style. Prizes totaling $3000 USD, so visit now to learn more.');
$mc->auto_detect_path();
$mc->plugins("google analytic", " home ");
// echo " This is the path ".$mc->genImgs_twms;
?>
<link rel="stylesheet" type="text/css" href="fs_folders/style/fonts/miso_bold_macroman/stylesheet.css">
<link rel="stylesheet" type="text/css" href="fs_folders/style/fonts/miso_light_macroman/stylesheet.css">
<link rel="stylesheet" type="text/css" href="fs_folders/style/fonts/miso_regular_macroman/stylesheet.css">
<html>
<head>
<style type="text/css">
/* Height & width for the container - The rest is done by the jQuery part. */
div[rel='scrollcontent1'] { width: 60%; }
div[rel='scrollcontent3'] { }
/* Basic CSS for the elements - If rel is "scrollcontent1", style its scrollbar by referring to ".scrollcontent-content", ".scrollcontent-bar", etc. */
.scrollcontent1-content , .scrollcontent3-content { /* background: #eee; */ } /* for vertical content, no explicit width is required for inner DIV */
.scrollcontent1-bar , .scrollcontent3-bar { width: 11px; background: #fffeda; border-radius: 4px; box-shadow: inset 0px 0px 5px #444444; overflow: hidden; }
.scrollcontent1-drag , .scrollcontent3-drag { background: #ad5134; border-radius: 4px; cursor: pointer; }
div[rel='scrollcontent2'] { width: 300px; height: 300px; }
示例7: elseif
$header['title'] = 'bohemian';
$header['category'] = 'bohemian fashion, bohemian fashion bloggers, bohemian clothing, bohemian fashion accessories, bohemian fashion inspiration, bohemian ootd, bohemian fashion looks, celebrity bohemian fashion inspiration, bohemian fashion designers ';
$select['value6'] = "selected='selected'";
} elseif ($url['category'] == 'casual') {
$header['title'] = 'casual';
$header['category'] = 'casual fashion, casual fashion bloggers, casual clothing, casual fashion accessories, casual fashion inspiration, casual ootd, casual fashion looks, celebrity casual fashion inspiration, casual fashion designers, casual style, casual shoes, casual pants, casual hats, casual shirts, casual skirts, casual dress, casual tops, casual accessories, casual jewelry, cheap casual clothing, cheap casual fashion, casual jeans, casual purses, casual fashion brands, causal fashion sites';
$select['value7'] = "selected='selected'";
}
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php
// echo strlen("FASHION SPONGE IS THE EASIEST AND FASTEST WAY TO... Show your OOTD, see the latest fashion trends, discover new fashion blogs, get beauty and style tips");
$mc->header_attribute($header['title'], "Fashion Sponge is the easiest & fastest way to: Show your ootd, see the latest trends, discover fashionable people & blogs, get beauty & style tips & find fashion inspiration.", $header['category']);
if ($mno != 136) {
$mc->login_popup($mno, !empty($_GET['welcome']) ? $_GET['welcome'] : null);
} else {
$mc->login_popup($mno, 'login');
}
?>
<!-- new home -->
<link rel="stylesheet" type="text/css" href="fs_folders/index_home/home_css/home.css">
<link rel="stylesheet" type="text/css" href="fs_folders/modals/latest_modals/modal.css" >
<script type="text/javascript" src='fs_folders/index_home/home_js/home_ajax.js'> </script>
<script type="text/javascript" src='fs_folders/index_home/home_js/home_query.js'> </script>
<!-- end home -->
示例8:
<script type="text/javascript" src='<?php
echo $mc->home_path;
?>
/fs_folders/js/function_js.js'></script>
<!-- new plugin -->
<!-- google plus -->
<!--
<meta property="og:title" content="this is the title "/>
<meta property="og:description" content="this is the desc "/>
<meta property="og:image" content="https://simplesharebuttons.com/wp-content/uploads/2014/08/simple-share-buttons-logo-square.png"/>
-->
<script src="http://connect.facebook.net/en_US/all.js"></script>
<?php
$mc->header_attribute($modal['title'] . '-' . $modal['modalownername'], $modal['description']);
if ($mno != 136) {
$mc->login_popup($mno, !empty($_GET['welcome']) ? $_GET['welcome'] : null);
} else {
$mc->login_popup($mno, 'login');
}
?>
<!-- new home -->
<link rel="stylesheet" type="text/css" href="<?php
echo $mc->home_path;
?>
/fs_folders/index_home/home_css/home.css">
<!-- end home -->
<!-- new lookdetails -->
示例9: array
if ($signUp == true) {
?>
<!DOCTYPE html>
<html lang="en">
<head>
<script src="http://connect.facebook.net/en_US/all.js"></script>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php
$mc->header_attribute(
"A better way to discover Fashionable People, Places and Things.",
"So if you need exposure, enjoy discovering, like being inspired and would love feedback… Sign up now! Space is limited. ",
"best fashion community on the web, new fashion community, fashion social network, current fashion trends, fall fashion trends, spring fashion trends, summer fashion trends, fashion trends and accessories, real fashion, emerging fashion trends, street style fashion inspiration, chic fashion inspiration, menswear fashion inspiration, streetwear fashion inspiration, fashion inspiration, beauty tips, ootd, fashion blogs, best fashion bloggers, menswear fashion bloggers, preppy fashion bloggers, streetwear fashion bloggers, latest fashion, fashion news, celebrity fashion, how to fashion tips, dyi fashion, beauty hauls, men fashion models, female fashion models",
array('type' => 'responsive')
);
?>
<script type="text/javascript" src='fs_folders/js/jQv1.8.2.js'></script>
<script type="text/javascript" src='fs_folders/js/function_js.js'></script>
<script type="text/javascript" src="fs_folders/invite/reg_js/cycle.js"></script>
<script type="text/javascript" src='fs_folders/signup/signup.js'></script>
<link rel="stylesheet" type="text/css" href="fs_folders/signup/signup.css">
<script type="text/javascript">
$(document).ready(function () {
$('#fn').text(name);
set_center('#invite-popup-response-wrapper');
$('#invite_after_submit').fadeIn("slow");
$('#signup-container-responsive').css('display', 'none');
示例10:
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- inner script -->
<script type="text/javascript"> //document.location ='signup'; </script>
<?php
/**
* header print title, description and keyword
*/
$mc->header_attribute(
"The Best Fashion Inspiration By The Best Bloggers",
"Fashion Sponge is where fashion and lifestyle bloggers can grow their audience and readers can discover the latest in Fashion, Beauty, Technology and Entertainment. Sign up now."
);
/**
* is to show the login area or the welcome popup
*/
if ( $mno != 136)
{
$mc->login_popup( $mno , ( !empty($_GET['welcome']) ) ? $_GET['welcome'] : null );
}
else
{
$mc->login_popup( $mno , 'login' ) ;
}
示例11: myclass
<?php
require("fs_folders/php_functions/connect.php");
require("fs_folders/php_functions/function.php");
require("fs_folders/php_functions/myclass.php");
require("fs_folders/php_functions/library.php");
require("fs_folders/php_functions/source.php");
$_SESSION['post_a_look_is_look_upload_once_in_db'] = false ;
$mc = new myclass();
$mc->auto_detect_path();
$mc->header_attribute(
"Sign Up" ,
"Instantly sign up and be one of the first to experience Fashion Sponge.",
"OOTD | Trends | Fashion Blogs | Beauty Tips | Fashion Inspiration"
);
$_SESSION['mno'] = $mc->get_cookie( 'mno' , 136 );
$mno = $mc->get_cookie( 'mno' , 136 );
$mno = 136;
?>
<html>
<head>
<script type="text/javascript" src='fs_folders/js/jQv1.8.2.js'> </script>
<script type="text/javascript" src='fs_folders/js/function_js.js'></script>
<script type="text/javascript" src="fs_folders/invite/reg_js/cycle.js"></script>
<script type="text/javascript" src='fs_folders/signup/signup.js' ></script>
<link rel="stylesheet" type="text/css" href="fs_folders/signup/signup.css" >
<?php $mc->signup_popUp( true , '' ); ?>
<?php $mc->login_popup( $mno , 'login' ); ?>
示例12:
break;
default:
$nv1 = 'color:white;background-color: #284372;';
break;
}
?>
<html>
<head>
<link rel="stylesheet" type="text/css" href="fs_folders/admin/css/admindashboard.css">
<script type="text/javascript" src="fs_folders/js/jQv1.8.2.js" ></script>
<script type="text/javascript" src="fs_folders/js/function_js.js" ></script>
<script type="text/javascript" src="fs_folders/admin/js/admin_js.js" ></script>
<script type="text/javascript" src="fs_folders/admin/js/admin_query.js" ></script>
<?php
$mc->header_attribute("Admin | Dashboard");
?>
</head>
<body>
<div id="admin_dashboard_wrapper" >
<div id="admin_dashboard_header">
<table border="0" id="ad_header_table" >
<tr>
<td>
<span id="ad_welcome_message">
[ fs-admin-dashboard ]
Welcome back Master .. (Moore Mussolini!)
</span>