国内流行的内容管理系统(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.

88 lines
4.2KB

  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 height="26" background="../static/web/img/tbg.gif" style="padding-left:10px"><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" height="26">网址:</td>
  24. <td height="26"><input name="url" type="text" id="url" value="<?php echo $myLink['url']?>" class='pubinputs' style="width:260px"></td>
  25. </tr>
  26. <tr>
  27. <td width="260" height="26">排列位置:</td>
  28. <td height="26"><input name="sortrank" type="text" id="sortrank" value="<?php echo $myLink['sortrank']?>" class='pubinputs' style="width:60px">(由小到大排列)</td>
  29. </tr>
  30. <tr>
  31. <td height="26">网站名称:</td>
  32. <td><input name="webname" type="text" id="webname" size="30" value="<?php echo $myLink['webname']?>" class='pubinputs' style="width:260px"></td>
  33. </tr>
  34. <tr>
  35. <td height="26">网站Logo:</td>
  36. <td><input name="logo" type="text" id="logo" size="40" value="<?php echo $myLink['logo']?>" style="width:260px">(88*31 gif或jpg)</td>
  37. </tr>
  38. <tr>
  39. <td height="26">上传Logo:</td>
  40. <td><input name="logoimg" type="file" id="logoimg" style="width:260px"></td>
  41. </tr>
  42. <tr>
  43. <td height="26">网站简况:</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 height="26">站长Email:</td>
  48. <td><input name="email" type="text" id="email" value="<?php echo $myLink['email']?>" class='pubinputs' style="width:260px"></td>
  49. </tr>
  50. <tr>
  51. <td height="26">链接位置:</td>
  52. <td>
  53. <label><input type='radio' name='ischeck' value="0" <?php if($myLink['ischeck']==0) echo " checked='1' "?> />
  54. 未审核</label>
  55. <label><input type='radio' name='ischeck' value="1" <?php if($myLink['ischeck']==1) echo " checked='1' "?> />
  56. 内页</label>
  57. <label><input type='radio' name='ischeck' value="2" <?php if($myLink['ischeck']==2) echo " checked='1' "?> />
  58. 首页</label>
  59. </td>
  60. </tr>
  61. <tr>
  62. <td height="26">网站类型:</td>
  63. <td>
  64. <select name="typeid" id="typeid" style="width:160px">
  65. <?php
  66. echo " <option value='".$myLink['typeid']."'>".$myLink['typename']."</option>";
  67. $dsql->SetQuery("select * from #@__flinktype where id<>'".$myLink['typeid']."'");
  68. $dsql->Execute();
  69. while($row=$dsql->GetObject()){
  70. echo " <option value='".$row->id."'>".$row->typename."</option>";
  71. }
  72. ?>
  73. </select>
  74. </td>
  75. </tr>
  76. <tr>
  77. <td colspan="2" align="center" class="py-3">
  78. <button type="submit" name="Submit" class="btn btn-success btn-sm">提交</button>
  79. <button type="reset" name="Submit" onClick="location.href='<?php echo $ENV_GOBACK_URL?>';" class="btn btn-success btn-sm">返回</button>
  80. </td>
  81. </tr>
  82. </table>
  83. </form>
  84. </td>
  85. </tr>
  86. </table>
  87. </body>
  88. </html>