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


PHP init_page_items函数代码示例

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


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

示例1: use_jquery

echo $seo[0]->title;
?>
</title>
	<meta http-equiv=Content-Type content="text/html; charset=utf-8">
	<meta http-equiv=Content-Language content=zh-cn>
	<meta name="keywords" content="<?php 
echo $seo[0]->keywords;
?>
" />
	<meta name="description" content="<?php 
echo $seo[0]->description;
?>
" />
	<?php 
use_jquery();
js_include_tag('public');
css_include_tag('public', 'common', 'right_inc');
?>
</head>
<body>
	<div id=ibody>
		<?php 
$pos = "initiate_";
init_page_items();
include_once dirname(__FILE__) . '/../inc/top.inc.php';
include dirname(__FILE__) . '/../_index.php';
include_once dirname(__FILE__) . '/../inc/bottom.inc.php';
?>
	</div>
</body>
</html>
开发者ID:sauger,项目名称:forbes,代码行数:31,代码来源:index.php

示例2: dirname

<?php

include_once dirname(__FILE__) . '/../frame.php';
use_jquery_ui();
css_include_tag('article', 'news_list');
init_page_items('_news_right');
$category_id = $_GET["category_id"];
$id = $_GET["id"];
$db = get_db();
?>
<style>
#brr_img{width:297px; height:195px;  float:right; display:inline;}
</style>
<div id="list_container">
		<div id="class">
		<div id="brr_img" class="ad_banner"></div>
		<div class="cla_t"></div>
		<div class="cla_c">
			<div class="cla_title">早教课程</div>
			<div class="cla_img">
				<?php 
$db = get_db();
//				$list=$db->query("SELECT id FROM eb_category where category_type = 'news'");
//				$count = $db->query("SELECT count(id)id FROM eb_category where category_type = 'news'");
//				$news_id;
//				for($i = 0 ; $i < $count[0]->id ;  $i++)
//				{
//					//echo $result_id->id;
//						$news_id .= $list[$i]->id.",";
//				}
//				$list=$db->query("SELECT id,name,url FROM eb_images  where category_id in (".$news_id.") and is_adopt=1 order by create_time desc,click_count desc limit 3;");
开发者ID:justin1986,项目名称:eachbb,代码行数:31,代码来源:_news_right.php

示例3: session_start

<?php

session_start();
include_once dirname(__FILE__) . '/../frame.php';
$user = User::current_user();
$db = get_db();
init_page_items('assistant_index');
if (!isset($_SESSION['login'])) {
    $_SESSION['login'] = rand_str();
}
$count = $db->query("SELECT count(id)id FROM eachbb_member.message m where status=0 and recieve_id=" . $user->id);
if ($user) {
    $count_comment = mysql_query('SELECT id FROM eachbb_member.`comment` c where user_id=3');
    $num_rows = mysql_num_rows($count_comment);
    ?>
<div id="lp_t">用户登录</div>
<div id="lp_p">
	<div id="lp_l"><img src="<?php 
    echo $user->avatar ? $user->avatar : '/images/class/l_peo.jpg';
    ?>
"></div>
	<div id="lp_word"><?php 
    echo $user->name;
    ?>
</div>
</div>
<div id="l_b_wa"><a href="/baby/message_index.php" target="_blank">您有<font><?php 
    echo $count[0]->id;
    ?>
</font>条消息</a></div>
<div id="l_b_wb"><a href="/yard/" target="_blank">我家小院子</a></div>
开发者ID:justin1986,项目名称:eachbb,代码行数:31,代码来源:_index_login.php

示例4: dirname

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<?php 
include_once dirname(__FILE__) . '/frame.php';
?>
<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta http-equiv=Content-Language content=zh-CN>
<title>意见反馈</title>
<?php 
use_jquery();
css_include_tag('feedback', 'index', 'top_inc/test_left', 'test_left_inc');
js_include_tag('jquery.cookie', 'feedback/feedback', 'swfobject');
init_page_items('feedback');
?>
</head>
<body>
<div id="ibody">
	<div id="top_menu">
			<div id="menu_left"></div>
			<div id="menu_center">
				<div id="menu_flash" style="margin-top:-5px;">
				</div>
				<script type="text/javascript">
					var flashvar = {defaultIndex:''};
					var flashparam = {wmode:'Transparent'};
					swfobject.embedSWF("flash/menu.swf","menu_flash","702","103","8",false,flashvar,flashparam);
				</script>
			</div>
			<div id="menu_right"></div>
	</div>
开发者ID:justin1986,项目名称:eachbb,代码行数:31,代码来源:feedback.php

示例5: dirname

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<?php 
include_once dirname(__FILE__) . '/../frame.php';
?>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta http-equiv=Content-Language content=zh-CN>
<title>特色测评</title>
<?php 
use_jquery();
js_include_tag('test/test', 'swfobject', 'jquery.colorbox-min');
css_include_tag('top_inc/test_top', 'test', 'top_inc/test_left', 'test_left_inc', 'colorbox');
init_page_items('test_index');
?>
</head>
<body>
<div id="ibody">
	<div id="fbody" style="position: relative;">
		<?php 
include_once dirname(__FILE__) . '/../inc/_test_top.php';
?>
		<div id="content">
			<?php 
include_once dirname(__FILE__) . '/../test/left_inc.php';
?>
			<div id="c_r">
				<div id="cr_flash">
					<div id="cr_banner">
						<div id="crf_l">flash</div>
						<script type="text/javascript">
开发者ID:justin1986,项目名称:eachbb,代码行数:31,代码来源:index.php

示例6: dirname

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta http-equiv=Content-Language content=zh-CN>
<title>bbs</title>
<?php 
include_once dirname(__FILE__) . '/frame.php';
use_jquery_ui();
css_include_tag('bbs', 'jquery_ui', 'bottom');
js_include_tag('bbs/bbs');
init_page_items('bbs');
?>
<link href="./css/bbs.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="ibody">
	<?php 
include_once dirname(__FILE__) . '/inc/_bbs_top.php';
?>
	<div id="fbody">
		<div id="b_l">
			<div id="bl_a">
					<div id="bla_img">
						<?php 
for ($i = 1; $i < 6; $i++) {
    ?>
						<div class="fr_img"<?php 
    $pos = "bbs_fr_img_pg_{$i}";
    show_page_pos($pos, 'link_i');
    ?>
开发者ID:justin1986,项目名称:eachbb,代码行数:31,代码来源:bbs.php


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