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

87 lines
4.3KB

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