當前位置: 首頁>>代碼示例>>PHP>>正文


PHP js_include_tag函數代碼示例

本文整理匯總了PHP中js_include_tag函數的典型用法代碼示例。如果您正苦於以下問題:PHP js_include_tag函數的具體用法?PHP js_include_tag怎麽用?PHP js_include_tag使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


在下文中一共展示了js_include_tag函數的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: judge_role

require_once '../../frame.php';
judge_role();
$id = $_GET['id'];
$teach = new table_class('eb_teach');
$teach->find($id);
?>
<!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>eachbb</title>
	<?php 
css_include_tag('admin', 'colorbox');
use_jquery();
js_include_tag('../ckeditor/ckeditor', 'jquery.colorbox-min');
validate_form("teach");
?>
</head>
<body>
<div id=icaption>
	<div id=title>早教課程編輯</div>
	  <a href="index.php" id=btn_back></a>
</div>
<form id="teach" action="edit.post.php" enctype="multipart/form-data" method="post">
<div id=itable>
 	<table cellspacing="1" align="center">
		<tr class=tr4>
			<td align="center" width="15%">標題</td>
			<td width="85%" align="left"><input type="text" name="post[title]" value="<?php 
echo $teach->title;
開發者ID:justin1986,項目名稱:eachbb,代碼行數:31,代碼來源:edit.php

示例2: get_db

<?php 
	session_start();
	require_once('../frame.php');
	$db = get_db();
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<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();
		js_include_tag('select2css','index');
		css_include_tag('charts_index','public','index');
	?>
</head>
<body>
	<div id=ibody>
		<? require_once('../inc/top.inc.php');?>
		<div id=top>
			<div id=cyindex><img src="/images/html/list/title.gif"></div>
			<div id=cytitle><a style="color:#666666;" href="/">福布斯中文網 > </a><a >榜單首頁</a></div>
			<div id=cyline></div>
		</div>
		<div id="left">
			<div id=t_l_t>
				<?php $record_show = get_news_by_pos('榜單頭條','榜單首頁');?>
				<div id=t_l_t_t>
					<div class=headline_pic id=headline_pic_0><a href=""><img border=0 width=300 height=200 src="<?php echo $record_show[0]->image_src; ?>"></a></div>
					<div class=headline_pic id=headline_pic_1 style="display:none;"><a href=""><img border=0 width=300 height=200 src="<?php echo $record_show[1]->image_src; ?>"></a></div>
					<div class=headline_pic id=headline_pic_2 style="display:none;"><a href=""><img border=0 width=300 height=200 src="<?php echo $record_show[2]->image_src; ?>"></a></div>
開發者ID:sauger,項目名稱:forbes_old,代碼行數:31,代碼來源:index.php

示例3: count

    $sql .= " and name like '%{$sea}%' or item_type like '%{$sea}%' or company_name like '%{$sea}%' or item_name like '%{$sea}%' or email like '%{$sea}%'";
}
$record = $db->paginate($sql, 30);
$count = count($record);
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv=Content-Type content="text/html; charset=utf-8">
	<meta http-equiv=Content-Language content=zh-CN>
	<title>forbes</title>
	<?php 
css_include_tag('admin');
use_jquery();
js_include_tag('admin_pub');
?>
</head>

<body>
<div id=icaption>
    <div id=title>投資人報名信息</div>
</div>
<div id=isearch>
		<input class="sau_search" name="title" type="text" value="<?php 
echo $_REQUEST['sea'];
?>
">
		<input type="button" value="搜索" id="search_button">
</div>
<div id=itable>
開發者ID:sauger,項目名稱:forbes,代碼行數:31,代碼來源:sign_list.php

示例4: judge_role

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv=Content-Type content="text/html; charset=utf-8">
	<meta http-equiv=Content-Language content=zh-CN>
	<title>富豪編輯</title>
	<?php 
require_once '../../frame.php';
judge_role();
css_include_tag('admin');
use_jquery();
js_include_tag('category_class');
validate_form("industry");
$category = new category_class('news');
$category->echo_jsdata();
?>
</head>

<?php 
$db = get_db();
$id = $_REQUEST['id'];
$record = new table_class('fb_position');
$record->find($id);
if ($record->category_id == '') {
    $category = -1;
} else {
    $category = $record->category_id;
}
?>

<body>
開發者ID:sauger,項目名稱:forbes_old,代碼行數:31,代碼來源:list_edit2.php

示例5: rand_str

} else {
    $uname = $_COOKIE['login_name'];
}
if (!isset($_SESSION['new_user_info'])) {
    $_SESSION['new_user_info'] = rand_str();
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<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();
js_include_tag('public', 'jquery.colorbox-min.js', 'user/user2');
css_include_tag('complete_info', 'public', 'colorbox');
?>
</head>
<body>
 <div id="ibody">		
	<?php 
include_top();
?>
	<div id=bread>用戶中心 > 個人信息</div>
	<div id=bread_line></div>
	<div id=register>
		<div id="info">
			<div id="content">
				<div id="content_left">
					<div class="context"><a href="user_favorites.php">我的收藏</a></div>
開發者ID:sauger,項目名稱:forbes,代碼行數:31,代碼來源:user_info.php

示例6: css_include_tag

$show_id = $_REQUEST['id'] + 1;
$default_load = $_GET['load'] ? $_GET['load'] : "drd{$id}.php";
if ($_REQUEST['newsid']) {
    $default_load .= "?id={$_REQUEST['newsid']}";
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv=Content-Type content="text/html; charset=utf-8">
	<meta http-equiv=Content-Language content=zh-CN>
	<title>天地華宇-定日達</title><meta name="Keywords" content="天地華宇,天地華宇物流,天地華宇物流查詢,華宇,華宇物流,華宇物流查詢,天地華宇俱樂部,華宇俱樂部"/><meta name="Description" content="天地華宇-中國公路快運領導者"/>
	<?php 
css_include_tag('drd', 'tb');
use_jquery();
js_include_tag('top', 'adjust_iframe');
?>
</head>
<body>
	<?php 
include '../inc/menu.html';
?>
	<div id=ibody>
		<div id=top>
			<div id=logo>
				<div id=logo_img>
					<a href="/drd/">
					<img border="0" src="/images/drd/logo.gif" width="269" height="90">
					</a>
				</div>
			</div>
開發者ID:justin1986,項目名稱:hoau,代碼行數:31,代碼來源:index.php

示例7: strip_tags

echo $investor->name;
?>
-福布斯中文網</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 $investor->name;
?>
 福布斯中文網 投資人" />
	<meta name="description" content="<?php 
echo strip_tags($investor->description);
?>
" />
	<?php 
use_jquery();
js_include_tag('public', 'right', 'search/investor');
css_include_tag('public', 'right_inc', 'investor');
?>
</head>

<body>
	<div id=ibody>
		<?php 
include_top();
?>
		<div id=bread>
				<a href="/investor">投資人</a> > <?php 
echo $investor->name;
?>
		</div>
		<div id="bread_line"></div>
開發者ID:sauger,項目名稱:forbes,代碼行數:31,代碼來源:investor.php

示例8: session_start

session_start();
include_once '../../frame.php';
judge_role();
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv=Content-Type content="text/html; charset=utf-8">
	<meta http-equiv=Content-Language content=zh-CN>
	<title>發布新聞</title>
	<?php 
css_include_tag('admin2', 'colorbox', 'jquery_ui');
use_jquery_ui();
validate_form("news_edit");
js_include_tag('category_class.js', 'admin/news_pub', 'admin/news_edit', 'jquery.colorbox-min.js', '../ckeditor/ckeditor.js', 'pubfun');
$column_roles = array('column_editor', 'column_writer');
?>
</head>
<?php 
//initialize the categroy;
$category = new category_class('news');
$category->echo_jsdata();
if (role_name() == 'column_editor' || role_name() == 'column_writer') {
    ?>
	<script>
		var uncheck_keyword = true;
	</script>		
<?php 
}
?>
開發者ID:sauger,項目名稱:forbes,代碼行數:30,代碼來源:news_edit.php

示例9: require_role

<?php

require_once '../frame.php';
require_role('admin');
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv=Content-Type content="text/html; charset=utf-8">
	<meta http-equiv=Content-Language content=zh-CN>
	<title>Manage : Forbeschina</title>
	<?php 
css_include_tag('admin', 'colorbox');
use_jquery();
js_include_tag('jquery.cookie.js', 'pubfun', 'jquery.colorbox-min');
?>
</head>
<body style="background:url(/images/admin/bg.jpg) repeat-x;">
	<div id=admin_body>
		<div id=part1>
			<div id=nav>歡迎你:  <?php 
echo $_SESSION["admin_nick_name"];
?>
 [<a href="/login/logout.post.php">退出</a>]</div>
			<div id=title><?php 
echo $site_name;
?>
後台管理</div>
			<div id=index><a href="/index.php" target="_blank">動態主頁</a></div>
		</div>
		<div id=part2>
開發者ID:sauger,項目名稱:forbes_old,代碼行數:31,代碼來源:+admin.php

示例10: js_include_tag

    echo $pos_items->{$posname}->display;
    if ($i < 9) {
        ?>
 -<?php 
    }
}
?>
</a>
</div>
<div id="bottom_word">
	<div>本站翻譯支持由東西網提供<a href="http://www.dongxi.net">http://www.dongxi.net</a></div>
	Copyright @ 2010 Forbes.com Inc 福布斯公司 版權所有<br>
	滬ICP備09033453號
</div>
<?php 
js_include_tag('get_ad');
?>
<span style="display:none;">
<script src="http://s9.cnzz.com/stat.php?id=2154547&web_id=2154547" language="JavaScript"></script>
</span>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-16303233-1");
pageTracker._trackPageview();
} 
catch(err) {}
</script>
開發者ID:sauger,項目名稱:forbes,代碼行數:31,代碼來源:bottom.inc.php

示例11: session_start

<?php 
session_start();
require_once '../frame.php';
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<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();
js_include_tag('right');
css_include_tag('public', 'billinaires', 'right_inc');
?>
</head>
<body>
	
	<div id=ibody>
		<? require_once('../inc/top.inc.php');?>
		<div id=bread><a href="#">富豪檢索</a></div>
		<div id=bread_line></div>
		<div id=searchbillinaires_left>
			<div id=s_l_t>
				<div class=everydiv>富豪姓名 <input type="text"></div><div class=everydiv>年齡段 <select></select></div><div class=everydiv>資產規模 <select></select></div>
				<div class=everydiv>國  籍 <select></select></div><div class=everydiv>行 業 <select></select></div>
				<div id=s_l_t_r><button></button></div>
			</div>
			<div id=s_l_title_left></div>
			<div id=s_l_title_center>
				<div id=wz>搜索結果如下</div>
開發者ID:sauger,項目名稱:forbes_old,代碼行數:31,代碼來源:searchbillnaires.php

示例12: session_start

session_start();
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>編輯專題</title>
		<?php 
require_once '../../frame.php';
$subject_id = intval($_REQUEST['id']);
if ($subject_id <= 0) {
    die('非法的專題id!');
}
css_include_tag("admin2", "subject/subject.css", "subject/subject1.css", "contextmenu/jquery.contextmenu", "thickbox");
use_jquery_ui();
js_include_tag('jquery.contextmenu', 'admin/subject_edit', 'thickbox', 'admin/subject_module_class', 'ajaxfileupload');
/*
 * get data
 */
$subject = new table_class('fb_subject');
if ($subject->find($subject_id) === false) {
    die('無法找到匹配的專題!');
}
?>
	</head>
	<body>
		<div id=icaption>
		    <div id=title>發布專題</div>
			  <a href="index.php" id=btn_back></a>
		</div>
		<div id=itable>
開發者ID:sauger,項目名稱:forbes,代碼行數:31,代碼來源:subject_edit.php

示例13: session_start

<?php

session_start();
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv=Content-Type content="text/html; charset=utf-8">
	<meta http-equiv=Content-Language content=zh-CN>
	<title>迅傲信息</title>
	<?php 
include_once '../../frame.php';
judge_role();
css_include_tag('admin');
use_jquery();
js_include_tag('admin_pub', 'admin/gl/search');
?>
</head>

<?php 
$content = $_REQUEST['content'];
$type = $_REQUEST['type'];
$db = get_db();
if ($content != '') {
    $sql = "select * from fb_company where " . $type . " like '%" . trim($content) . "%'";
} else {
    $sql = "select * from fb_company";
}
$record = $db->paginate($sql, 30);
?>
<body>
開發者ID:sauger,項目名稱:forbes,代碼行數:31,代碼來源:list.php

示例14: count

$record = $db->paginate($sql, 15);
$count = count($record);
$activity = $db->query("select * from fb_position_relation where type='activity' and position_id={$id}");
$activity_count = count($activity);
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv=Content-Type content="text/html; charset=utf-8">
	<meta http-equiv=Content-Language content=zh-CN>
	<title>迅傲信息</title>
	<?php 
css_include_tag('admin');
use_jquery();
js_include_tag('admin/position/column_list');
?>
</head>

<body>
<div id=icaption>
    <div id=title>自定義活動</div>
	  <a href="index.php" id=btn_back></a>
</div>
<div id=isearch>	
		<input id="search" type="text" value="<? echo $_REQUEST['search']?>">
		<input type="button" value="搜索" id="search_button">
</div>
<div id=itable>
	<table cellspacing="1" align="center">
		<tr class="itable_title">
開發者ID:sauger,項目名稱:forbes_old,代碼行數:31,代碼來源:activity_edit.php

示例15: session_start

session_start();
include_once '../../frame.php';
judge_role();
?>
	
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv=Content-Type content="text/html; charset=utf-8">
	<meta http-equiv=Content-Language content=zh-CN>
	<title>福布斯中文網</title>
	<?php 
css_include_tag('admin');
use_jquery();
js_include_tag('admin_pub', 'admin/list/list');
?>
</head>

<body>
	<?php 
$list = new table_class('fb_custom_list_type');
if ($_REQUEST['s_text']) {
    $conditions[] = "name like '%{$_REQUEST['s_text']}%'";
}
$conditions[] = "list_type=5";
if ($conditions) {
    $conditions = array('conditions' => implode(' and ', $conditions));
}
$order = ' priority asc, created_at desc';
$conditions['order'] = $order;
開發者ID:sauger,項目名稱:forbes,代碼行數:30,代碼來源:file_list_list.php


注:本文中的js_include_tag函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。