 <!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=gb2312" />
<title>天气预报 {$xm_webname} BY 喜木网络 west163.net</title>
<link href="xmstyle.css" rel="stylesheet" type="text/css" />
</head>
<body>
<script>
var onecount;
onecount=0;
subcat = new Array();
{#xm_jscode}
function changelocation(locationid)
{
document.form1.xmarea.length = 0; 

var locationid=locationid;
var i;
document.form1.xmarea.options[document.form1.xmarea.length] = new Option("请选择地区","\"0\"");
for (i=0;i < onecount; i++)
{

if (subcat[i][1] == locationid)
{ 
document.form1.xmarea.options[document.form1.xmarea.length] = new Option(subcat[i][0], subcat[i][2]);
} 
}

} 
function changelocation1(locationid)
{
document.xmform1.xmarea.length = 0; 

var locationid=locationid;
var i;
document.xmform1.xmarea.options[document.xmform1.xmarea.length] = new Option("请选择地区","\"兰州\"");
for (i=0;i < onecount; i++)
{

if (subcat[i][1] == locationid)
{ 
document.xmform1.xmarea.options[document.xmform1.xmarea.length] = new Option(subcat[i][0], subcat[i][0]);
} 
}

}
</script>
<table width="780" border="0" cellspacing="0" cellpadding="0" style="margin:40px auto auto auto;">

  <tr>
    <td>
<!--	-->
<SCRIPT language=JavaScript src="images/m_weather_map_sky.js" 
type=text/javascript></SCRIPT>
{#xm_main}
 </DIV>
<SCRIPT type=text/JavaScript>
<!--
function CityHandlerByName(targ,StationID) {
	//eval(targ+".location='/tqyb/weatherdetail/"+StationID+".html'");
	window.open('html/'+StationID+".html");

}
function xmopen(city,xmlove,xma) {
	//eval(targ+".location='/tqyb/weatherdetail/"+StationID+".html'");
	//window.open('show.asp?city='+city);

}

function createcode(cityname){
  //alert(cityname);
  document.xmform4.xmcode.value="<iframe src=\"{$xm_weburl}/c.html?city="+cityname+"\" frameborder=\"0\" scrolling=\"no\" width=\"180\" height=\"55\"></iframe>";
  document.getElementById("showweather").src="{$xm_weburl}/c.html?city="+cityname+"";
}
-->
</SCRIPT>
</DIV>
<!--	-->	</td>
    <td width="250" valign="top">
	<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#4880C2">
	<tr>
    <td bgcolor="#FFFFFF"><br />
<iframe src="x.html" frameborder="0" scrolling="no" width="180" height="55"></iframe><br /></td>
  </tr>
  <tr>
    <td align="center" bgcolor="#FFFFFF"><br />
<form id="form1" name="form1" method="post" action="" style="margin:5px;">
  <label>
  <select name="xmsheng" id="xmsheng"  onChange="changelocation(document.form1.xmsheng.options[document.form1.xmsheng.selectedIndex].value)">
    <option value="0">请选择省份</option>
	{#xm_shengfeng}
  </select>
  </label>

  <label>
  <select name="xmarea" id="xmarea"  onChange="location.href='html/'+document.form1.xmarea.options[document.form1.xmarea.selectedIndex].value+'.html';">
    <option>请选择地区</option>
  </select>
  </label>
</form>	<br /></td>
  </tr>
  <tr>
    <td align="center" bgcolor="#FFFFFF"><br />
<form action="go.asp" method="get" name="form2" target="_blank" id="form2" style="margin:5px;">
      快速查询：
        <label>
        <input name="city" type="text" id="city" size="15" />
        </label>
        <label>
        <input type="submit" name="Submit" value="查询" />
        </label>
    </form> <br /></td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">
	 <script language="javascript">
   function copyToClipBoard(){
    var clipBoardContent="";
    clipBoardContent+=document.form3.textarea.value;
    window.clipboardData.setData("Text",clipBoardContent);
    alert("复制成功，感谢你的使用！～");
  }
  </script>
	<br />
<form id="form3" name="form3" method="post" action="" style="margin:5px;">
	天气预报免费代码(自动显示所在城市天气)<br />
      <label>
        <textarea name="textarea" cols="32" rows="5" readonly="true"><iframe src="{$xm_weburl}/x.html" frameborder="0" scrolling="no" width="180" height="55"></iframe></textarea>
        </label><br />
		<input type="button" name="Submit"  value="点击复制" onClick='copyToClipBoard()'>
    </form>    </td>
  </tr>
</table>	</td>
  </tr>
  <tr>
  <td colspan="2" align="left" style="padding-left:20px; border-bottom:1px solid #29A023;">生成指定城市天气调用代码(新)</td>
</tr>
  <tr>
  <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="20%" style="padding-left:5px; padding-top:5px;"><form id="xmform1" name="xmform1" method="post" action="" style="margin:0px;">

  <select name="xmsheng" id="xmsheng"  onChange="changelocation1(document.xmform1.xmsheng.options[document.xmform1.xmsheng.selectedIndex].value)">
    <option value="0">请选择省份</option>
	{#xm_shengfeng}
  </select>
  <br />

  <select name="xmarea" id="xmarea"  onChange="createcode(document.xmform1.xmarea.options[document.xmform1.xmarea.selectedIndex].value);">
    <option value="兰州">请选择地区</option>
  </select>

</form></td>
    <td width="80%" style="padding-left:5px; padding-top:5px;">
	 <script language="javascript">
   function copyToClipBoard1(){
    var clipBoardContent="";
    clipBoardContent+=document.xmform4.xmcode.value;
    window.clipboardData.setData("Text",clipBoardContent);
    alert("复制成功，感谢你的使用！～");
  }
  </script>
	<form id="xmform4" name="xmform4" method="post" action="" style="margin:0px;">
 
      <textarea name="xmcode" cols="40" rows="3" id="xmcode" readonly="true"></textarea>

        <input type="button" name="Submit2" value="点击复制" onClick='copyToClipBoard1()' />

    </form>
    </td>
  </tr>
</table>
</td>
  <td style="padding-left:5px; padding-top:5px;"><iframe id="showweather" src="{$xm_weburl}/c.html?city=北京" frameborder="0" scrolling="no" width="180" height="55"></iframe></td>
</tr>
  <tr>
  <td colspan="2" align="left" style="padding-left:20px;">更新时间:{#xm_time} &emsp;&emsp;每小时自动更新一次</td>
</tr>
</table>

<script language="javascript" charset="gb2312" src="./playjs/indexfoot.js"></script>
<table width="780" border="0" cellspacing="0" cellpadding="0" style="border-top:1px solid #29A023">

  <tr>
    <td height="22" align="center">实用工具：<a href="http://so.west163.net/exchange" target="_blank">外汇牌价</a> | <a href="http://so.west163.net/weather" target="_blank">国内天气</a> | <a href="http://so.west163.net/date/datetime.html" target="_blank">万年历</a> | <a href="http://so.west163.net/date/datetime.html" target="_blank">万年历</a> 链接：<a href="htt://down.chinaz.com" target="_blank">站长下载</a></td>
  </tr>
  <tr>
    <td height="22" align="center">喜木网络域名：<a href="http://www.west163.net" target="_blank">www.west163.net</a> 地址：甘肃兰州城关区 法律顾问：李律师 </td>
  </tr>
  <tr>
    <td height="22" align="center">QQ群：11396543 QQ：16349023 E_mail:<a href="http://www.west163.net/mail" target="_blank">coolmoonf@163.net</a> TEl:13119316426 
    <script src='./playjs/count.js' language='JavaScript' charset='gb2312'></script></td>
  </tr>
  
</table>

<script language="javascript" src="create.asp"></script>
</body>
</html>