WEB开发网
开发学院CMS教程PHP168 PHP168教程:如何模仿别人的网站风格 阅读

PHP168教程:如何模仿别人的网站风格

 2010-06-29 10:04:22 来源:WEB开发网   
核心提示: <tr><td colspan="2" align="center" class="page">$showpage</td></tr>

<tr>

<td colspan="2" align="center" class="page">$showpage</td>

</tr>

<tr>

<td width="48%" align="left">[<a href="$webdb[www_url]/job.php?job=next_page&fid=$fid&aid=$id">下一篇</a>]<a href="$webdb[www_url]/job.php?job=next_page&fid=$fid&aid=$id" title="$backdb[title]">$backdb[subject]</a></td>

<td width="52%" align="right">[<a href="$webdb[www_url]/job.php?job=back_page&fid=$fid&aid=$id">上一篇</a>]<a href="$webdb[www_url]/job.php?job=back_page&fid=$fid&aid=$id" title="$nextdb[title]">$nextdb[subject]</a></td>

</tr>

</table>

</td>

</tr>

<tr>

<td class="foot">

<h3 class="L"></h3>

<h3 class="R"></h3>

</td>

</tr>

</table>

<!--

EOT;

$webdb[showComment] && $fidDB[allowcomment] && require html("comment");

print <<<EOT

-->

********************************************

时间代码:

<SCRIPT language=java script type=text/java script>

var day="";

var month="";

var ampm="";

var ampmhour="";

var myweekday="";

var year="";

mydate=new Date();

myweekday=mydate.getDay();

mymonth=mydate.getMonth()+1;

myday= mydate.getDate();

myyear= mydate.getYear();

year=(myyear > 200) ? myyear : 1900 + myyear;

if(myweekday == 0)

weekday=" 星期日 ";

else if(myweekday == 1)

weekday=" 星期一 ";

else if(myweekday == 2)

weekday=" 星期二 ";

else if(myweekday == 3)

weekday=" 星期三 ";

else if(myweekday == 4)

weekday=" 星期四 ";

else if(myweekday == 5)

weekday=" 星期五 ";

else if(myweekday == 6)

weekday=" 星期六 ";

document.write(myyear+"."+mymonth+"."+myday+" "+weekday);

</SCRIPT>

*********************************************************************************

上一页  3 4 5 6 7 8 

Tags:PHP 教程 如何

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接