| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <?php
- include("../config/conn.php");
- include("../config/function.php");
- $type1id=intval($_GET[type1id]);$type2id=intval($_GET[type2id]);
- if(!is_numeric($type1id)){$type1id=0;}
- if(!is_numeric($type2id)){$type2id=0;}
- ?>
- <!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="x-ua-compatible" content="ie=7" />
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
- <title>Ñ¡ÔñÉÌÆ··ÖÀà</title>
- <link href="../css/pty.css" rel="stylesheet" type="text/css" />
- <script language="javascript">
- function type3cx(a,b){
- parent.ptype4.location="../tem/protype4.php?type1id=<?=$type1id?>&type2id=<?=$type2id?>&type3id="+a;
- parent.ptype5.location="about:blank";
- parent.document.f1.type3id.value=a;
- parent.document.getElementById("type3name").innerHTML=b+" >> ";;
- parent.document.f1.type4id.value=0;
- parent.document.getElementById("type4name").innerHTML="";
- parent.document.f1.type5id.value=0;
- parent.document.getElementById("type5name").innerHTML="";
- }
- </script>
- </head>
- <body>
- <?
- if($type2id!=0){
- $type1name=returntype(1,$type1id);
- $type2name=returntype(2,$type2id);
- ?>
- <!--begin-->
- <div class="ptype2">
- <a href="javascript:void(0);" class="a1"><?=$type2name?> <img border="0" src="../img/jiandown.gif" width="7" height="4" /></a>
- <?
- while0("*","yjcode_type where type1='".$type1name."' and type2='".$type2name."' and admin=3 order by xh asc");while($row=mysql_fetch_array($res)){
- ?>
- <a href="javascript:type3cx(<?=$row[id]?>,'<?=$row[type3]?>');" class="a2"><?=$row[type3]?></a>
- <?
- }
- ?>
- </div>
- <!--end-->
- <? }?>
- </body>
- </html>
|