panos

//青年网首页代码

//青年网首页部分代码
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=gb2312">
<title>民大共青团|心里装着青年--凡事想着情年--工作靠青年--一切为了青年</title>

<link href="http://www.bjyouth.gov.cn/css/css.css"
rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.bg1
{background-image:url('http://www.bjyouth.gov.cn/images/index_bg_tpbf.gif');
background-repeat: repeat-x;}
.bg2
{background-image:url('http://www.bjyouth.gov.cn/images/index_bg_tpbf.gif');
background-repeat: no-repeat;}
.bg3
{background-image:url('http://www.bjyouth.gov.cn/images/index_ll.gif');
background-repeat: repeat-y;}
.bg4
{background-image:url('http://www.bjyouth.gov.cn/images/index_l_ggl.gif');
background-repeat: repeat-x;}
.bg5
{background-image:url('http://www.bjyouth.gov.cn/images/index_bg_ggl.gif');
background-repeat: repeat-x;}
.bg6
{background-image:url('http://www.bjyouth.gov.cn/images/index_bg_gzdt.gif');
background-repeat: repeat-y;}
.bg7
{background-image:url('http://www.bjyouth.gov.cn/images/index_l_zthd.gif');
background-repeat: repeat-x;}
.bg8
{background-image:url('http://www.bjyouth.gov.cn/images/index_bg_zthd.gif');
background-repeat: repeat-x;}
.line1 {border-top:1px solid #949494;border-bottom:1px
solid #949494;}
.line2 {border-top:2px #C4C4C4 solid;
border-bottom:2px #C4C4C4 solid;
background-color:#F4F4F4;}
.line3 {border-collapse:collapse;border:1px #C2C2C2
solid;}
.line4 {border-top:1px #000000 solid;}
.rf {padding-left:10px; color:#FFFFFF;
font-weight:bold;}
.r4 {padding-top:6px;}
.right1 {border-collapse:collapse;border:2px #FFFFFF
solid;}
-->
</style>

<script language="javascript"
src="http://www.bjyouth.gov.cn/js/index.js"></script>
<base target="_blank">
</head>

<body leftmargin="0" topmargin="0" bgcolor="#FFFFFF"">
<!--Top -->
<table width="776" border="0" cellspacing="0"
cellpadding="0">
<tr>
<td>
<table width="776" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<img src=http://www.bjyouth.gov.cn/images/topleft.jpg width=276 height=129>
</td>
<td>
<SCRIPT LANGUAGE=JavaScript1.1>
<!--
var MM_contentVersion = 6;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if ( plugin ) {
  var words = navigator.plugins["Shockwave Flash"].description.split(" ");
     for (var i = 0; i < words.length; ++i)
     {
  if (isNaN(parseInt(words[i])))
  continue;
  var MM_PluginVersion = words[i];
     }
 var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0
   && (navigator.appVersion.indexOf("Win") != -1)) {
 document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag
 document.write('on error resume next \n');
 document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
 document.write('</SCR' + 'IPT\> \n');
}
if ( MM_FlashCanPlay ) {
 document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
 document.write('  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ');
 document.write(' ID="flashIntro" WIDTH="500" HEIGHT="129"  ALIGN="">');
 document.write(' <PARAM NAME=movie VALUE="images/swf/intro.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=menu VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM NAME=scale VALUE=noscale> <PARAM NAME=salign VALUE=LT> <PARAM NAME=bgcolor VALUE=#FFFFFF>  ');
 document.write('<EMBED src="images/swf/intro.swf" menu=false quality=high scale=noscale salign=LT  bgcolor=#FFFFFF  WIDTH="500" HEIGHT="129" NAME="flashIntro" ALIGN=""  swliveconnect=true TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"> ');
 document.write(' </EMBED>');
 document.write(' </OBJECT>');
} else{  
 document.write('<img src="images/swf/intro.gif" border="0" width="500" height="129">'); 
}
//-->
</SCRIPT><NOSCRIPT>
<img src="images/swf/intro.gif" border="0" width="500" height="129">
</NOSCRIPT>

<script language="JavaScript">
<!--
//通知flashintro开始下载动画
function passVarToFlash(args){
   if (window.document.flashIntro != null){
       window.document.flashIntro.SetVariable("inputVar", args);
   }
}
setTimeout("passVarToFlash('htmlLoadOk');",2000);
// -->
</script></td>
  </tr>
</table>
<table width="776" border="0" align="center"
cellpadding="0" cellspacing="0">
<tr height="25" align="center">
<td>
<div id="topmenu">
<ul>
                        <li><a
href="/zzjg/index.html">组织机构</a></li>
       <li><a href="/qgzx/index.htm">勤工助学</a></li>
              <li><a
href="/xsh/index.html">学生会</a></li>
       <li><a
href="/ghlc/index.html">光辉历程</a></li>
       <li><a
href="/ppxm/index.html">品牌项目</a></li>
       <li><a
href="/wstx/index.html">网上团校</a></li>
       <li><a
href="/stst/index.html">学生社团</a></li>
       <li><a
href="/fwdh/index.html">服务导航</a></li>
</ul>
</div>
</td>
<td width="256"
background="http://www.bjyouth.gov.cn/images/dlm_1.gif"></td>
</tr>
</table>
<table width="776" border="0" align="center"
cellpadding="0" cellspacing="0">
<tr>
<td height="52" colspan="8" valign="bottom"
background="http://www.bjyouth.gov.cn/images/dlm_3.gif">

<table width="514" border="0" align="left"
cellpadding="0" cellspacing="0">
<tr>
<td align="left"><font color="FFD67E"><a
href="/gzdt/index.html" class="AW">工作动态</a>
              | <a href="/dekt/default.html"
class="AW">第二课堂</a>
              | <a href="/tzbfc/index.html"
class="AW">团支风采</a>
              | <a href="/tyfc/default.html"
class="AW">团员风采</a>
              | <a href="/zthd/default.html"
class="AW">专题活动</a>
              | <a href="/gzdjs/index.html"
class="AW">工作记事</a>
              | <a href="/ldjh/index.html"
class="AW">领导讲话</a>
              | <a href="/yjsh/index.html" class="AW"
target="_blank">研究生会</a></font></td>
        </tr>
        <tr>
        <td background="http://www.bjyouth.gov.cn/images/dlm_2.jpg"
height="6"></td>
        </tr>
        <tr>
        <td align="center"><font color="FFD67E"><a
href="/dwjs/index.html"           
class="AW">队伍建设</a>
              | <a href="/gzyj/index.html"
class="AW">工作研究</a>
              | <a href="/dztx/index.html"
class="AW">大学四年</a>
              | <a href="/qnxx/default.html"
class="AW">青年聚焦</a>
              | <a href="/dspd/index.html"
class="AW">读书频道</a>
              | <a href="/shsj/index.html"
class="AW">社会实践</a>
              | <a href="/wjzy/index.html"
class="AW">文件资料</a>
              | <a href="/wsdy.index.html"
class="AW">网上调研</a></font></td>
      </tr>
      </table></td>
      </table></td>
<table width="776" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="296" valign="top">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="306" height="272">
<param name="movie" value="images/swf/news.swf">
<param name="quality" value="high">
<embed src="images/swf/news.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="306" height="272">
</embed>
</object>
</td>
<td width="5" class="bg1">
</td>
</table>

<!--
//最新新闻
<table width="269" height="26"  border="0" cellpadding="0" cellspacing="0" bgcolor="#AEC200">
<tr>
<td align="center"><img src="http://www.bjyouth.gov.cn/images/index_a_ywdd.gif" width="15" height="15"></td>
<td><a href="/ywdd/"><img src="http://www.bjyouth.gov.cn/images/index_ywdd.gif" width="58" height="16" border="0"></a></td>
<td width="75" align="center"><a href="/ywdd/" class="AW2">更 多</a>
<img src="http://www.bjyouth.gov.cn/images/biao.gif" width="11" height="11" align="absmiddle"></td>
</tr>
</table>
<?
//新闻列表分页显示php
include"news/include/conn.inc.php";
include_once "news/include/zijie.php";
           $sql="select * from new_f where kind='dekt' order by id DESC limit 0,10";
    $result=mysql_query($sql);
    while($res=mysql_fetch_array($result)){
    $p="...";
    $title=zijie($res["title"],24,$p);
    echo "<table width="95%" border="0" align="center" cellpadding="0" cellspacing="2">
           <tr><td class="td1"><img src='images/icon/syxw1.gif'></td><td>
    <a href='news/detail.php?id=".base64_encode($res["id"])."&kind=".base64_encode($res["kind"])."' target='_blank'
    title='标题:".$res["title"]."(发布时间:".$res["addtime"].")'>".$title."</a></td></tr></table>" ;
    }
     mysql_free_result($result);
?>

 


 

posted on 2006-05-04 20:01 mr.panos 阅读(106) 评论(0)  编辑 收藏 引用

只有注册用户登录后才能发表评论。
<2024年4月>
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011

导航

统计

常用链接

留言簿(1)

随笔分类

随笔档案

中文百科全书

搜索

最新评论

阅读排行榜

评论排行榜