<?php
@session_start();
include('inc/conn.php');
include('checkstate.php');
include('inc/function.php');
 ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="noindex,nofllow">
<title>工具箱 - 常用工具 - ETW国际客户之窗</title>
<link rel="stylesheet" type="text/css" href="css/css.css" />
<link rel="stylesheet" type="text/css" href="css/css2.css" />


</head>

<body>
<div id="main">
    <div id="top">
       <?php include('header2.php');  ?>
       <div id="logo">
       <div id="menu">
          <ul><li><a href="manage.php">系统首页</a></li>
         <li><a href="news.php">新闻</a></li>
          <li class="current"><a href="commontools.php">工具箱</a></li>
       </ul><iframe style=" float:right" width='350' height='30' marginwidth='0' marginheight='0' hspace='0' vspace='0' frameborder='0' scrolling='No' src='http://m.weather.com.cn/m/p3/weather1.htm' name="I6"></iframe></div>
       </div>
    </div>
     <!-- left -->
     <div id="newsleft">
     <!-- wenzhang-->
       <div id="titles">ETW国际导读</div>
        <div id="artbody">
          <ul>
<?php $sql="select * from etw_html  order by id asc";
$result=mysql_query($sql);  
while($rs=mysql_fetch_array($result)){ ?>           
           <li><a href="<?php echo $rs[url] ?>"> <?php echo $rs['title'];  ?></a></li>
              <?php }  ?>
          </ul> 
        </div>
        <!-- gongju -->
       <div id="titles">一周点击排行  &nbsp;  &nbsp; &nbsp; &nbsp;  &nbsp; &nbsp; &nbsp; etw国际</div>
        <div id="artbody">
          <ul><?php 
$date=date("Y-m-d",time());
 $date2=date("Y-m-d",(time()-7*24*60*60));
$sql="select * from news_news where  modtime<'".$date."' and modtime>'".$date2."' order by counts desc limit 0,10";
$result=mysql_query($sql);  
$i=1;
while($rs=mysql_fetch_array($result)){ ?>           
           <li><a href="newsdetail.php?id=<?php echo $rs[id] ?>"><span><?php echo $rs[counts]."次"; ?></span> <img src="images/<?php echo $i;  ?>.gif" /> <?php echo utf8Substr($rs['title'],0,13);  ?></a></li>
              <?php $i++; }  ?></ul>
        </div>
        
     </div>
    <!-- right --> 
     <div id="newsright">
     <FORM method=GET action="http://www.google.com/search" target="_blank" style="margin-left:150px">
<INPUT TYPE=hidden name=ie value=GB2312>
<INPUT TYPE=hidden name=oe value=GB2312>
<INPUT TYPE=hidden name="hl" value="zh-CN">
<TABLE bgcolor="#FFFFFF"><tr><td><IMG SRC="images/20050307110545364.gif" border="0" ALT="Google" width="100"></td>
<td>
<INPUT TYPE=text name=q size=31 maxlength=255 value="" >
<INPUT TYPE=submit name=btnG VALUE="Google">
<font size=-1>
<INPUT TYPE=hidden name=domains value="YOUR DOMAIN NAME"><br>
<div style="display:none"><INPUT TYPE=radio name=sitesearch value="" checked></div> 

</font>
</td></tr></TABLE>
</FORM>

     <form action="http://www.baidu.com/baidu" target="_blank" style="margin-left:160px">
<table bgcolor="#FFFFFF"><tr><td>
<input name=tn type=hidden value=baidu>
<img src="images/logo-80px.gif" alt="Baidu" align="bottom" border="0">
<input type=text name=word size=30>
<input type="submit" value="百度搜索">
</td></tr></table>
</form>
<table width="96%" border="0" align="center" cellpadding="4" cellspacing="1"  bgcolor="#CCCCCC" >
          <tr align="center" bgcolor="#FFFFFF">
            <td height="35" colspan="5" align="left" bgcolor="EEFAFF"><h3><strong>　常用辅助工具：</strong></h3></td>
            </tr>
          <tr align="center" bgcolor="#FFFFFF">

            <td width="25%" height="25" ><a href="calc.html" target="_blank">计算器</a></td>
            <td width="25%" height="25" ><a href="translate_t.html" target="_blank">在线翻译</a></td>
            <td width="25%" height="25" ><a href="http://translate.google.com/translate_t" target="_blank">Goolge在线翻译</a></td>
           <td width="25%" height="25" ><a href="http://www.iciba.com/" target="_blank">在线词典-爱词霸</a></td>
       </tr>
          <tr align="center" bgcolor="#FFFFFF">
            <td height="25" > </td>
            <td height="25"> </td>
            <td height="25" > </td>
            <td width="25%" height="25" > </td>
          </tr>
          
        </table>
          <br />
<br />     
     <table width="96%" border="0" align="center" cellpadding="4" cellspacing="1"  bgcolor="#CCCCCC" >
          <tr align="center" bgcolor="#FFFFFF">
            <td height="35" colspan="5" align="left" bgcolor="EEFAFF"><h3><strong>　聊天娱乐工具：</strong></h3></td>
            </tr>
          <tr align="center" bgcolor="#FFFFFF">

            <td width="25%" height="25" >QQ2008</td>
            <td width="25%" height="25" >MSN8</td>
            <td width="25%" height="25" >SKYPE</td>
           <td width="25%" height="25" >realone play</td>
       </tr>
          <tr align="center" bgcolor="#FFFFFF">
            <td height="25" >QQ2009</td>
            <td height="25">MSN9</td>
            <td height="25" >ICQ</td>
            <td width="25%" height="25" >暴风影音</td>
          </tr>
          
        </table>
        <br />
<br />

        <table width="96%" border="0" align="center" cellpadding="4" cellspacing="1" bgcolor="#CCCCCC">
          <tr align="center" bgcolor="#FFFFFF">
            <td height="35" colspan="4" align="left" bgcolor="EEFAFF"><h3><strong>　外贸常用工具：</strong></h3></td>
            </tr>
          <tr align="center" bgcolor="#FFFFFF">

            <td width="25%" height="25" align="center"><a title="世界各地时间" href="http://www.china.org.cn/worldclock/worldclock.htm" target="_blank">世界各地时间</a></td>
            <td width="25%" height="25" align="center"><a title="多国语言互译" href="http://www.google.com/language_tools?hl=zh-CN" target="_blank">多国语言互译</a></td>
            <td width="25%" height="25" ><a title="出口退税查询" href="http://www.china-customs.com/customs-tax/" target="_blank">出口退税查询</a></td>
            <td width="25%" height="25" align="center"><a href="http://www.jueze.cn/news/gb/list.asp?ID=2374" target="_blank">全球电话区号</a></td>
          </tr>
          <tr align="center" bgcolor="#FFFFFF">
            <td height="25" align="center"><a title="货币名称查询?" href="http://www.jctrans.com/tool/sjhb.htm" target="_blank">货币名称查询</a></td>

            <td height="25" align="center"><a title="全球天气预报" href="http://www.t7online.com/" target="_blank">全球天气预报</a></td>
            <td height="25" ><a title="每日外汇牌价" href="http://www.icbc.com.cn/other/quotation.jsp" target="_blank">每日外汇牌价</a></td>
            <td height="25" align="center"><a title="各国名称代码" href="http://www.maoyiren.com/sub/tools/countrycode.htm" target="_blank">各国名称代码</a></td>
          </tr>
          <tr align="center" bgcolor="#FFFFFF">
            <td height="25" align="center"><a title="货币转换查询" href="http://www.xe.net/ucc/full.shtml" target="_blank">货币转换查询</a></td>
            <td height="25" align="center"><a href="http://www.boc.cn/sourcedb/whpj/" target="_blank">汇率当日牌价</a></td>

            <td height="25" ><a title="全球航班查询" href="http://jipiao.oklx.com/" target="_blank">全球航班查询</a></td>
            <td height="25" align="center"><a href="http://bbs.fobshanghai.com/cifprice.htm" target="_blank">CIF报价计算</a></td>
          </tr>
          <tr align="center" bgcolor="#FFFFFF">
            <td height="25" align="center"><a title="海关HS码查询?" href="http://www.webcargo.com.cn/QueryPages/ApecQuery.asp" target="_blank">海关HS码查询</a></td>
            <td height="25" align="center"><a href="http://bbs.fobshanghai.com/fobprice.htm" target="_blank">FOB报价计算</a></td>
            <td height="25" ><a title="货物提单查询" href="http://www.1756.cn/tools/billcheck.htm" target="_blank">货物提单查询</a></td>

            <td height="25" align="center"><a title="邮政编码查询" href="http://www.cnnet.com/tools/zipcode/9xxxxx.html" target="_blank">邮政编码查询</a></td>
          </tr>
          <tr align="center" bgcolor="#FFFFFF">
            <td height="25" align="center"><a title="火车时刻查询" href="http://train.chinamor.cn.net/" target="_blank">火车时刻查询</a></td>
            <td height="25" align="center"><a href="http://www.webcargo.com.cn/QueryPages/QueryDestPort.asp" target="_blank">海运目的查询</a></td>
            <td height="25" ><a href="http://business.sohu.com/confer/search.html" target="_blank">各种展会查询</a></td>
            <td height="25" align="center"><a href="trade_news.asp?bigclassid=9&amp;smallclassid=14" target="_blank">海外求购信息查询</a></td>

          </tr>

        </table>
     </div>
    <div id="newsfoot">Copy Rright &copy; 2008-2009 ETW International<?php if( @$_SESSION["username"]<>''){?>
<input type="hidden" id="onlineu" value="<?php echo $_SESSION["username"] ?>" />
<script type="text/javascript" src="js/onlinelisten.js"></script>
<script type="text/javascript">
window.setInterval(onlinemessage,30000);
</script>
<?php } ?></div>  
</div>
<?php mysql_close();?>
</body>
</html>
