<? session_start() ?>
<? if($session_power==""||$session_power<1)
{
header("location: ../message.php?redirect=default.php&message=你不是理員");
break;
}?>
<?requi " /> 精品成人自拍视频,国产成人精品电影,国产乱妇乱子在线播视频播放网站

色尼玛亚洲综合影院,亚洲3atv精品一区二区三区,麻豆freexxxx性91精品,欧美在线91

一個程序下載的管理程序(四)

//管理程序chang.php源代碼如下:
<? session_start() ?>
<? if($session_power==""||$session_power<1)
{
header("location: ../message.php?redirect=default.php&message=你不是理員");
break;
}?>
<?require ("../opendata.php");?>
<?
if($step=="1")
{
if(!($rs=mysql_fetch_array(mysql_query("select * from download where id='".$id."'",$cn))))
   echo "提取資料出錯";
else
{

?>
<html>
<head>
<title>修改資料</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head><body>


<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="29"><font size="2">你的位置:<a href="../default.php">首頁</a>->><a href="download.php?action=show">下載基地</a>->>修改資料</font></td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="446">
  <tr>
    <td height="335" width="77%" bgcolor="#99cc00">
      <table width="100%" border="0" cellspacing="0" cellpadding="0" height="335">
        <tr>
          <td colspan="2" height="42"> </td>
        </tr>
        <form method="post" action="chang.php?step=2&id=<?=$id?>">
          <tr>
            <td height="35" width="19%"><font size="2">軟件名稱</font></td>
            <td height="35" width="81%">
              <input name="title" value="<?=$rs["title"];?>" >
            </td>
          </tr>
          <tr>
            <td height="36" width="19%"><font size="2">軟件地址</font></td>
            <td height="36" width="81%">
              <input name="url" size="50" value="<?=$rs["url"];?>"
           >
            </td>
          </tr>
          <tr>
            <td height="34" width="19%"><font size="2">大小</font></td>
            <td height="34" width="81%"> <font size="2">
              <input type="text" name="size" size="12" value="<?=$rs["size"]?>">
              </font></td>
          </tr>
          <tr>
            <td height="42" width="19%">
              <div align="left"><font size="2">分類</font></div>
            </td>
            <td height="42" width="81%"><font size="2">
              <select name="type">
                <option <?if($rs["type"]==1) echo "selected"; ?> value="1">密碼破解</option>
                <option <?if($rs["type"]==2) echo "selected"; ?> value="2">遠程控制</option>
                <option <?if($rs["type"]==3) echo "selected"; ?> value="3">端口掃描</option>
                <option <?if($rs["type"]==4) echo "selected"; ?> value="4">字典工具</option>
                <option <?if($rs["type"]==5) echo "selected"; ?> value="5">系統安全</option>
                <option <?if($rs["type"]==6) echo "selected"; ?> value="6">各種炸彈</option>
                <option <?if($rs["type"]==7) echo "selected"; ?> value="7">加密軟件</option>
                <option <?if($rs["type"]==8) echo "selected"; ?> value="8">源代碼</option>
                <option <?if($rs["type"]==9) echo "selected"; ?> value="9">其它軟件</option>
              </select>
              </font> </td>
          </tr>
          <tr>
            <td height="31" width="19%"><font size="2">簡介:</font></td>
            <td height="31" width="81%">
              <textarea name="say" cols="50" rows="10"><?=$rs["say"];?></textarea>
            </td>
          </tr>
          <tr>
            <td height="37" colspan="2">
              <div align="center">
                <input type="submit" value="搞定" name="submit">
              </div>
            </td>
          </tr>
        </form>
      </table>
    </td>
  </tr>
</table>
</body>
</html>
<?
}
}
if($step=="2")
{
mysql_query("update download set title='".$title."', say='".$say."',url='".$url."',size='".$size."',type='".$type."' where id=".$id,$cn);
header("location:download.php?action=show&type=$type");
}
?>

php技術一個程序下載的管理程序(四),轉載需保留來源!

鄭重聲明:本文版權歸原作者所有,轉載文章僅為傳播更多信息之目的,如作者信息標記有誤,請第一時間聯系我們修改或刪除,多謝。

主站蜘蛛池模板: 常山县| 岳普湖县| 翁源县| 黎城县| 民权县| 皮山县| 旌德县| 彝良县| 尼勒克县| 阿拉善左旗| 肥西县| 资源县| 民县| 中超| 通渭县| 高密市| 手机| 威信县| 佛教| 瑞金市| 丰顺县| 凤山市| 全椒县| 镇远县| 子长县| 化德县| 根河市| 桐城市| 沁源县| 化隆| 玉溪市| 剑川县| 海伦市| 阿克陶县| 东阿县| 会宁县| 义马市| 遵义县| 凌源市| 渝北区| 文安县|