//管理程序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(和PHP搭配之最佳組合)_fetch_array(MySQL(和PHP搭配之最佳組合)_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>