国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
4.0KB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="<?php echo $cfg_soft_lang; ?>">
  5. <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  6. <title>友情链接修改</title>
  7. <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
  8. <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
  9. <link rel="stylesheet" href="../static/web/css/admin.css">
  10. </head>
  11. <body>
  12. <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
  13. <tr>
  14. <td bgcolor="#f8f8f8"><a href="friendlink_main.php">友情链接管理</a> &gt; 链接修改</td>
  15. </tr>
  16. <tr>
  17. <td>
  18. <form action="friendlink_edit.php" method="post" enctype="multipart/form-data" name="form1">
  19. <input type="hidden" name="id" value="<?php echo $myLink['id']?>">
  20. <input type="hidden" name="dopost" value="saveedit">
  21. <table width="80%" cellspacing="1" cellpadding="3" class="table table-borderless">
  22. <tr>
  23. <td width="260">网址:</td>
  24. <td><input type="text" name="url" id="url" value="<?php echo $myLink['url']?>" style="width:260px"></td>
  25. </tr>
  26. <tr>
  27. <td width="260">排列位置:</td>
  28. <td><input type="text" name="sortrank" id="sortrank" value="<?php echo $myLink['sortrank']?>" style="width:60px">(由小到大排列)</td>
  29. </tr>
  30. <tr>
  31. <td>网站名称:</td>
  32. <td><input type="text" name="webname" id="webname" value="<?php echo $myLink['webname']?>" style="width:260px"></td>
  33. </tr>
  34. <tr>
  35. <td>网站Logo:</td>
  36. <td><input type="text" name="logo" id="logo" value="<?php echo $myLink['logo']?>" style="width:260px">(88*31 gif或jpg)</td>
  37. </tr>
  38. <tr>
  39. <td>上传Logo:</td>
  40. <td><input type="text" name="logoimg" type="file" id="logoimg" style="width:260px"></td>
  41. </tr>
  42. <tr>
  43. <td>网站简况:</td>
  44. <td><textarea name="msg" id="msg" style="width:360px;height:50px"><?php echo dede_htmlspecialchars($myLink['msg'])?></textarea></td>
  45. </tr>
  46. <tr>
  47. <td>站长Email:</td>
  48. <td><input type="text" name="email" id="email" value="<?php echo $myLink['email']?>" class="pubinputs" style="width:260px"></td>
  49. </tr>
  50. <tr>
  51. <td>链接位置:</td>
  52. <td>
  53. <label><input type="radio" name="ischeck" value="0" <?php if($myLink['ischeck']==0) echo "checked='1'"?>> 未审核</label>
  54. <label><input type="radio" name="ischeck" value="1" <?php if($myLink['ischeck']==1) echo "checked='1'"?>> 内页</label>
  55. <label><input type="radio" name="ischeck" value="2" <?php if($myLink['ischeck']==2) echo "checked='1'"?>> 首页</label>
  56. </td>
  57. </tr>
  58. <tr>
  59. <td>网站类型:</td>
  60. <td>
  61. <select name="typeid" id="typeid" style="width:160px">
  62. <?php
  63. echo " <option value='".$myLink['typeid']."'>".$myLink['typename']."</option>";
  64. $dsql->SetQuery("select * from #@__flinktype where id<>'".$myLink['typeid']."'");
  65. $dsql->Execute();
  66. while($row=$dsql->GetObject()){
  67. echo " <option value='".$row->id."'>".$row->typename."</option>";
  68. }
  69. ?>
  70. </select>
  71. </td>
  72. </tr>
  73. <tr>
  74. <td colspan="2" align="center" class="py-3">
  75. <button type="submit" name="Submit" class="btn btn-success btn-sm">提交</button>
  76. <button type="reset" name="Submit" onClick="location.href='<?php echo $ENV_GOBACK_URL?>';" class="btn btn-success btn-sm">返回</button>
  77. </td>
  78. </tr>
  79. </table>
  80. </form>
  81. </td>
  82. </tr>
  83. </table>
  84. </body>
  85. </html>