在PHP里怎么添加CSS和JS文件 10
include能不吗要怎么用要怎么用CSS名称index.cssJS名称是index.js满意全分相送(最好帮我写出来)...php代码如下:<?phpdefine('I...
include 能不吗 要怎么用
要怎么用 CSS 名称index.css JS名称是index.js 满意全分相送(最好帮我写出来)...
php代码如下:
<?php
define('IN_WESPACE',true);
define('WANE_ROOT','./');
define('IN_VERSION','4.2');
define('IN_SCHINDEX',false);
define('IN_WEBDOMAIN','');
define('IN_INDEX_T_NEWCOMS',true);
define('IN_INDEX_T_NEWRSMS',true);
require_once WANE_ROOT.'globals/globals.php';
//echo "企业招聘<br>";
$time=time();
$query = $db->query("SELECT
j.jid,
j.jname ,
c.cname
FROM
{$conf[tablepre]}jobs_faces j,
{$conf[tablepre]}jobs_option o,
{$conf[tablepre]}member_c_faces c
WHERE j.jid = o.jid AND j.cid = c.cid and j.checked = 1 AND j.istoped = 0 AND j.losetime >$time ORDER BY Rand() LIMIT 0,10");
while ($row=$db->rows($query))
{
$str1.="<li>职位:<a href='http://job.qxnzx.com/index.php?action=display&option=jobs&info={$row[0]}'>{$row[1]}</a> 单位:{$row[2]}</li>";
}
echo 'document.getElementById("jscompany").innerHTML="<marquee>'.$str1.'</marquee>"';
/*
//echo "个人求职<br>";
$query = $db->query("SELECT
i.resumeid,
c.id,
r.truename ,
r.sex,
r.facejtype FROM {$conf[tablepre]}member_p_index i,{$conf[tablepre]}member_p_config c,{$conf[tablepre]}member_p_d_basic r WHERE i.resumeid = c.id AND i.resumeid = r.id ORDER BY Rand() LIMIT 20");
while ($row=$db->rows($query))
{
$sex=$row[3]=='1'?'女':'男';
$str3.= "求职:<a href='http://job.qxnzx.com/index.php?action=display&option=resume&info={$row[0]}'>{$row[2]}</a> 性别:{$sex} 职位:{$row[4]}<br>";
}
echo 'document.getElementById("jscompany").innerHTML="'.$str3.'"';
*/
?> 展开
要怎么用 CSS 名称index.css JS名称是index.js 满意全分相送(最好帮我写出来)...
php代码如下:
<?php
define('IN_WESPACE',true);
define('WANE_ROOT','./');
define('IN_VERSION','4.2');
define('IN_SCHINDEX',false);
define('IN_WEBDOMAIN','');
define('IN_INDEX_T_NEWCOMS',true);
define('IN_INDEX_T_NEWRSMS',true);
require_once WANE_ROOT.'globals/globals.php';
//echo "企业招聘<br>";
$time=time();
$query = $db->query("SELECT
j.jid,
j.jname ,
c.cname
FROM
{$conf[tablepre]}jobs_faces j,
{$conf[tablepre]}jobs_option o,
{$conf[tablepre]}member_c_faces c
WHERE j.jid = o.jid AND j.cid = c.cid and j.checked = 1 AND j.istoped = 0 AND j.losetime >$time ORDER BY Rand() LIMIT 0,10");
while ($row=$db->rows($query))
{
$str1.="<li>职位:<a href='http://job.qxnzx.com/index.php?action=display&option=jobs&info={$row[0]}'>{$row[1]}</a> 单位:{$row[2]}</li>";
}
echo 'document.getElementById("jscompany").innerHTML="<marquee>'.$str1.'</marquee>"';
/*
//echo "个人求职<br>";
$query = $db->query("SELECT
i.resumeid,
c.id,
r.truename ,
r.sex,
r.facejtype FROM {$conf[tablepre]}member_p_index i,{$conf[tablepre]}member_p_config c,{$conf[tablepre]}member_p_d_basic r WHERE i.resumeid = c.id AND i.resumeid = r.id ORDER BY Rand() LIMIT 20");
while ($row=$db->rows($query))
{
$sex=$row[3]=='1'?'女':'男';
$str3.= "求职:<a href='http://job.qxnzx.com/index.php?action=display&option=resume&info={$row[0]}'>{$row[2]}</a> 性别:{$sex} 职位:{$row[4]}<br>";
}
echo 'document.getElementById("jscompany").innerHTML="'.$str3.'"';
*/
?> 展开
4个回答
展开全部
<link href="css/style.css" rel="stylesheet" type="text/css" />
类似于
类似于
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
你都会搞类,还不会输出,忽悠,接着忽悠
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
无语,你这的都这样了还能不会?
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询