Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- default:
- $sql="SELECT * FROM title;";
- $ro=mysqli_query($link,$sql);
- $row=mysqli_fetch_array($ro);
- ?>
- <p class="t cent botli">網站標題管理</p>
- <form method="post" action="api.php?do=upTitle">
- <table width="100%">
- <tr class="yel">
- <td width="40%">網站標題</td>
- <td width="30%">替代文字</td>
- <td width="7%">顯示</td>
- <td width="7%">刪除</td>
- <td width="14%"></td>
- </tr>
- <?
- do{
- ?>
- <tr>
- <td><img src="./image/<?=$row['file'];?>" style="width:300px;height:30px;"></td>
- <td><input type="text" name="text[]" value="<?=$row['text'];?>" style="width:95%;"/></td>
- <td class="ct"><input type="radio" name="show" value="<?=$row['seq'];?>" <?=($row['up']==1)?"checked":"";?>/></td>
- <td class="ct"><input type="checkbox" name="del<?=$row['seq'];?>" value="<?=$row['seq'];?>"/></td>
- <td><input type="button" onclick="op('#cover','#cvr','view.php?do=upTitle&seq=<?=$row['seq'];?>')" value="更新圖片"></td>
- <input type="hidden" name="seq[]" value="<?=$row['seq'];?>"/>
- </tr>
- <?
- }while($row=mysqli_fetch_array($ro));
- ?>
- </table>
- <table style="margin-top:40px; width:70%;">
- <tr>
- <td width="200px"><input type="button" onclick="op('#cover','#cvr','view.php?do=title')" value="新增網站標題圖片"></td>
- <td class="cent">
- <input type="hidden" name="table" value="title">
- <input type="submit" value="修改確定">
- <input type="reset" value="重置">
- </td>
- </tr>
- </table>
- </form>
- <?
- break;
Add Comment
Please, Sign In to add comment