<?php 
$css='<style>
.upload{
		min-width:240px;
		margin-bottom:5px;
	    border:1px solid #ccc;
		width:80%;
		margin-left:auto;
		margin-right:auto;
		overflow:hidden;
   }
.upload tr td{
	height:35px;
	background-color:#fff;
	}
.upload tr td input{
	height:33px;
	background-color:#fff;
	border:none;
	width:99%;
	}
.upload tr td textarea{
	height:66px;
	background-color:#fff;
	border:none;
	width:100%;
	}
.upload tr td.text{
	height:33px;
	background-color:#fff;
	border:none;
	color:#ccc;
	font-size:14px;
	line-height:35px;
	width:80px;
	text-align:center;
	}
</style>';
echo head('文件上传',$css);
?>
<div class="title"><?php  echo class_name($_GET['cid'],'cn',$wapid);?>文件上传<a href="?cid=<?php  echo $_GET['cid'];?>">本地上传</a></div>
<form  enctype="multipart/form-data" method="post" action="?cid=<?php  echo $_GET['cid'];?>">

<table width="100%" border="0" cellspacing="0" cellpadding="0" class="upload">
  <tr>
    <td class="text">文件名</td>
    <td><input name="title" type="text" value=""></td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="upload">
  <tr>
      <td class="text">版本号</td>
    <td><input name="file_ver" type="text" value="" id="file_lan"></td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="upload">
  <tr>
      <td class="text">更新时间</td>
    <td><input name="file_end" type="text" value="" id="file_lan"></td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="upload">
  <tr>
  
      <td class="text">国家/语言</td>
    <td><input name="file_lan" type="text" value="" id="file_lan"></td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="upload">
  <tr>
      <td class="text">支持平台</td>
    <td><input name="file_pt" type="text" value="" id="file_pt"></td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="upload">
  <tr>
    <td class="text">软件简介</td></tr><tr>
    <td><textarea name="file_content"></textarea></td>
  </tr>
</table>


<table width="100%" border="0" cellspacing="0" cellpadding="0" class="upload">
  <tr>
    <td class="text">源文件地址</td>
    <td><input name="userfile1" type="text" value="http://"/></td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="upload">
  <tr>
    <td class="text">图片标识（100*100左右）</td>
    <td><input name="spic1" type="file"/></td>
  </tr>
</table>
<!--隐藏表单-->
<input type="hidden" name="upload" value="yesyc">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="upload">
  <tr>
      <td class="text">上传软件</td>
    <td style="background-color:#328cc9;"><input type="submit" style="background-color:#328cc9;" value="立刻上传" id="file_lan"></td>
  </tr>
</table></form>
<?php
echo'<div class="mylink">
<a href="list.php?cid='.$_GET['cid'].'&">返回上级</a>|
<a href="../index.php?">网站首页</a>
</div>';
?>
</body>
</html>
