<HTML><HEAD>
<META content="text/html; charSet=gb2312" http-equiv=Content-Type>
<TITLE>音乐资源下载-<?PHP echo($nName); ?>:<?PHP echo($DownName); ?></TITLE>
<link rel="stylesheet" href="style.css">
<script language="JavaScript">
function newwin(url) {
var wth=window.screen.width;
var hth=window.screen.heigth;
var lefth,topth;
hth=300;
lefth =147;
wth=500;
topth=44;
var oth="toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,left="+lefth+",top="+topth;
oth = oth+",width="+wth+",height="+hth ;
var newwin=window.open(url,"newwin",oth);
newwin.focus();
return false;
}
</script>
</HEAD>
<?PHP include('top.php'); ?>
<div align="center">
<center>
<table width="703" align="center" border="0" cellpadding="0" cellspacing="0" bordercolorlight="#8080FF" height=1>
<tr>
<form method="post" name="myform" action="search.php"></form>
</tr>
<tr>
<td width="100%" height="1" valign="bottom"></td>
</tr>
<tr>
<td width="100%" height="1"></td>
</tr>
<tr>
<td width="100%" height="2"></td>
</tr>
</table>
<table border=0 cellpadding=0 cellspacing=0 width=703 align="center"bordercolordark=#E7E4E2 >
<tr>
<td valign=top width=182>
<div align="center">
<TABLE width=176 border="1" cellpadding="0" cellspacing="0" bordercolorlight="#B06A00" bordercolordark=#E7E4E2>
<TR>
<TD><?PHP include('left.php'); ?>
</TD>
</TR>
</TABLE>
</div>
</td>
<td align=middle valign=top width=574 height="160">
<?PHP
$did = $_GET["id"];
if($did=="")
exit("您没有选择相关音乐资源,请返回");
// include('Class\DownLoad.php');
$dw = new DownLoad();
$results = $dw->GetDetail($did);
if($row = $results->fetch_row()) {
$DownName = $row[1];
$uCId = $row[24]; // UpperId
$nCId = $row[2]; // CId
$uName = $row[23]; // 分类名称
$nName = $row[25]; // 上级分类名称
$LastHitTime = $row[18]; // 最近点击的时间
}
// 更新每周每日数据
$now = getdate();
$today = $now['year'] . "-" . $now['mon'] . "-" . $now['mday'];
if($LastHitTime==$today)
$dw->UpdateDayHits($did,1);
else
$dw->UpdateDayHits($did,0);
$dw->UpdateTotalHits($did); // 更新总点击数
// 更新本周点击次数
$weekday = $now['wday']; // 获取当前星期几0-周日~6-周6
if($dw->isInThisWeek($LastHitTime))
$dw->UpdateWeekHits($did,1);
Else
$dw->UpdateWeekHits($did,0);
$results = $dw->GetDownLoadInfo($did);
if($row = $results->fetch_row()) {
?>
<div align="right">
<TABLE width="100%" border="1" cellpadding="0" cellspacing="0" bordercolorlight="#B06A00" bordercolordark=#E7E4E2>
<TR>
<TD width="100%" colspan="3"><font color=B06A00><B><?PHP echo($row[1]); ?></B></TD>
</TR>
<TR>
<TD width="70" align="center" nowrap><font color=#B06A00>音乐类型:</TD>
<TD width="258"><font color=#B06A00><?PHP echo($uName); ?>-<?PHP echo($nName); ?></TD>
<TD rowspan="8" align="center" width="230">
<?PHP
if($row[9]<>"")
echo("<a href=ShowPic.php?id=" . $row[0] . " target=_blank><img src=" . $row[9] . " border=0 width=150 height=120 alt=点击放大></a>");
else
echo("无图片");
?></TD>
</TR>
<TR>
<TD width="70" align="center" nowrap><font color=#B06A00>运行环境:</TD>
<TD width="258">
<?PHP
// 读取音乐播放音乐名称
include('Class\Software.php');
$sw = new Software();
$results1 = $sw->GetSoftwareInfo($row[13]);
if($row1 = $results1->fetch_row()) {
?><font color=#B06A00><?PHP echo($row1[1]); ?></font><?PHP } ?>
</TD>
</TR>
<TR>
<TD width="70" align="center" nowrap><font color=#B06A00>音乐形式:</TD>
<TD width="258"><font color=#B06A00>
<?PHP if($row[11]==0) { ?>共享音乐<?PHP } ?>
<?PHP if($row[11]==1) { ?>免费音乐<?PHP } ?>
<?PHP if($row[11]==1) { ?>商业音乐<?PHP } ?> </TD>
</TR>
<TR>
<TD width="70" align="center" nowrap><font color=#B06A00>音乐大小:</TD>
<TD width="258"><font color=#B06A00><?PHP echo($row[12]); ?></TD>
</TR>
<TR>
<TD width="70" align="center" nowrap><font color=#B06A00>音乐推荐:</TD>
<TD width="258"><font color=#B06A00><IMG src="IMG/<?PHP echo($row[15]); ?>star.gif"></TD>
</TR>
<TR>
<TD width="70" align="center" nowrap><font color=#B06A00>整理日期:</TD>
<TD width="258"><font color=#B06A00><?PHP echo($row[20]); ?></TD>
</TR>
<TR>
<TD width="70" align="center" nowrap><font color=#B06A00>相关链接:</TD>
<TD width="258"><font color=#B06A00><?PHP if($row[10]<>"") { ?><A href="<?PHP echo($row[10]); ?>" target="_blank">演示地址</A><?PHP } ?> </TD>
</TR>
<TR>
<TD width="70" align="center" nowrap><font color=#B06A00>本日下载:</TD>
<TD><font color=#B06A00><?PHP echo($row[16]); ?> 本周:<?PHP echo($row[17]); ?> 总计:<?PHP echo($row[19]); ?></TD>
</TR>
<?PHP
if($row[3]<>"" OR $row[5]<>"" OR $row[7]<>"") { ?>
<TR>
<TD rowspan=3 align="center"><font color=#B06A00>下载地址:</TD>
<TD colspan="2" height="35" width="488">
<?PHP if($row[3]<>"") { ?>
<font color=B06A00>1. 链接下载: <a href="<?PHP echo($row[3]); ?>" target=_blank><?PHP echo($row[4]); ?> <?PHP echo($row[1]); ?></a></font>
<?PHP
}
else {
echo("<font color=B06A00>1. 链接下载:暂无</font>");
}
?>
</TD>
</TR>
<TR>
<TD colspan="2" height="35" width="488">
<?PHP if($row[5]<>"") { ?></font>
<font color=B06A00>2. 链接下载: <a href="<?PHP echo($row[5]); ?>" target=_blank><?PHP echo($row[6]); ?>%> <?PHP echo($row[1]); ?></A></font>
<?PHP
}
else {
echo("<font color=B06A00>2. 链接下载:暂无</font>");
} ?>
</TD>
</TR>
<TR>
<TD colspan="2" height="35" width="488">
<?PHP if($row[7]<>"") { ?>
<font color=B06A00>3. 链接下载: <a href="<?PHP echo($row[7]); ?>" target=_blank><?PHP echo($row[8]); ?> <?PHP echo($row[1]); ?></A></font>
<?PHP
}
else {
echo("<font color=B06A00>3. 链接下载:暂无</font>");
} ?>
</TD>
</TR>
<?PHP } ?>
<TR>
<TD width="70" align="center" nowrap valign="center"><font color=#B06A00>音乐简介:</TD>
<TD colspan="2" width="488"><font color=#B06A00><?PHP echo($row[14]); ?> </TD>
</TR>
<TR>
<TD height="14" width="70" align="center" nowrap>
<P><font color="#B06A00"> </font></P>
</TD>
<TD height="14" colspan="2" width="488">
<p align="right"> <A href="Vote.php?id=<?PHP echo($did); ?>" onclick="return newwin(this.href)">
<font color="#B06A00">{:: 评论投票 ::}</font></A></p>
</TD>
</TR>
<TR>
<TD colspan="3" width="100%"> </TD>
</TR>
</center>
<tr>
<TD width="70" nowrap>
<p align="center"><font color=#B06A00>相关音乐:
</TD>
<center>
<TD colspan="2" width="488"><font color=#B06A00>
<?PHP
// 在下载表中查找不包括本记录的相关的资源信息
$sql = "Select * From DownLoad Where DId<>" . $did . " And DownName Like '%" . $row[1] . "%' Order By DId Desc";
$results = $dw->GetDLlist($sql);
$exist = false;
while($row = $results->fetch_row()) {
$exist = true;
echo("<a href=List.php?id=" . $row[0] . " target=_blank>" . $row[1] . "</A><br>");
}
if(!$exist)
echo("没有相关资源");
?>
</TD>
</tr>
</center>
<tr>
<TD width="70" nowrap valign="center" bordercolorlight="#B06A00" bordercolordark=#E7E4E2e>
<p align="center"><font color=#B06A00>音乐评论:
</TD>
<center>
<TD colspan="2" width="488" bordercolorlight="#B06A00" bordercolordark=#E7E4E2>
<table border="1" width="100%" cellspacing="0" cellpadding="0" bordercolorlight="#B06A00" bordercolordark=#E7E4E2>
<tr>
<td width="100%"><font color=#B06A00>
<?PHP
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
本书从初学者角度出发,通过通俗易懂的语言,丰富多彩的实例,详细介绍了使用php进行网络开发应该掌握的各方面技术。全书共分27章,包括初识.php、php环境搭建和开发工具、php语言基础、流程控制语句、字符串操作、正则表达式、php数组、php与web页面交互、php与java交互、日期和时间、cookie与session、图形图像处理技术、文件系统、面向对象、php加密技术、mysql数据库基础、phpmyadmin图形化管理工具、php操作mysql数据库、adodb类库、程序调试及错误处理、php网络开发、php与xmil技术、php与ldap技术、php与ajax技术、web service与soap技术、smarty模板技术、使用smarty模板开发电子商务网站等。所有知识都结合具体实例进行介绍,涉及的程序代码给出了详细的注释,可以使读者轻松领会php程序开发的精髓,快速提高开发技能。
资源推荐
资源详情
资源评论
收起资源包目录
PHP-MySQL网络开发从入门到精通源代码 (433个子文件)
clock.avi 81KB
style.CSS 1KB
style.CSS 417B
style.CSS 417B
style.CSS 391B
style.CSS 391B
style.CSS 391B
Thumbs.db 26KB
Thumbs.db 19KB
wpgz.gif 55KB
20061029020125.gif 55KB
2006912085711.gif 55KB
place_bg.gif 52KB
main.gif 39KB
search.gif 33KB
BookLine.gif 31KB
lineTitle.gif 21KB
place.gif 18KB
place2.gif 11KB
14.gif 5KB
3.gif 5KB
9.gif 5KB
1.gif 5KB
16.gif 4KB
15.gif 4KB
11.gif 4KB
19.gif 4KB
13.gif 4KB
12.gif 4KB
4.gif 4KB
7.gif 4KB
5.gif 4KB
2.gif 4KB
6.gif 4KB
18.gif 4KB
10.gif 4KB
20.gif 3KB
bid.gif 3KB
8.gif 3KB
17.gif 3KB
auction.gif 3KB
buy.gif 2KB
INTO.GIF 2KB
star.gif 2KB
gotobid.gif 2KB
5STAR.gif 1KB
4STAR.gif 1KB
3STAR.gif 1017B
attention.gif 1003B
2STAR.gif 976B
1STAR.gif 930B
GRADE1.GIF 916B
bottom.GIF 686B
email.gif 452B
homepage.gif 441B
login.gif 412B
list.gif 316B
point.gif 316B
dload.GIF 255B
hotauc.gif 222B
follow.gif 184B
dpic.GIF 182B
aa.gif 154B
b3.gif 151B
ttop.gif 96B
BAR.GIF 95B
BAR1.GIF 95B
sun.gif 85B
DOT1.GIF 58B
head.htm 1011B
input.html 2KB
table.html 638B
href.html 447B
frame.html 446B
font.html 238B
media.html 188B
test.html 64B
ToIndex.html 41B
200862915488.jpeg 17KB
2008629154656.jpeg 1KB
2008629154439.jpeg 1KB
200693014111.jpg 254KB
200693122512.jpg 56KB
t20.jpg 40KB
2006912092150.jpg 40KB
top05.jpg 40KB
2007516103844.jpg 36KB
2007516104328.jpg 36KB
2007516103207.jpg 36KB
2007516104033.jpg 36KB
2007516103707.jpg 36KB
2007516103810.jpg 36KB
2007516103113.jpg 36KB
2007516103928.jpg 36KB
2007516103542.jpg 36KB
2007516103634.jpg 36KB
2007516104002.jpg 36KB
t10.jpg 27KB
2006912091506.jpg 27KB
t8.jpg 25KB
共 433 条
- 1
- 2
- 3
- 4
- 5
资源评论
- 杨_静2014-05-07感觉有很多地方没有看懂!
- owen02782014-02-10本书从初学者角度出发,通过通俗易懂的语言,丰富多彩的实例!
form88
- 粉丝: 59
- 资源: 26
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功