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

98 lines
4.4KB

  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%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3">
  12. <tr>
  13. <td height="26" background="../static/web/img/tbg.gif" style="padding-left:10px">
  14. <a href="friendlink_main.php">友情链接管理</a> &gt; 链接修改</td>
  15. </tr>
  16. <tr>
  17. <td height="200" bgcolor="#ffffff">
  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%" border="0" cellspacing="1" cellpadding="3" class="table table-borderless">
  22. <tr>
  23. <td width="20%" height="26">网址:</td>
  24. <td width="80%">
  25. <input name="url" type="text" id="url" value="<?php echo $myLink['url']?>" size="30" class='pubinputs' />
  26. </td>
  27. </tr>
  28. <tr>
  29. <td width="20%" height="26">排列位置:</td>
  30. <td width="80%">
  31. <input name="sortrank" type="text" id="sortrank" value="<?php echo $myLink['sortrank']?>" size="10" class='pubinputs' style="width:60px">
  32. (由小到大排列)
  33. </td>
  34. </tr>
  35. <tr>
  36. <td height="26">网站名称:</td>
  37. <td><input name="webname" type="text" id="webname" size="30" value="<?php echo $myLink['webname']?>" class='pubinputs' /></td>
  38. </tr>
  39. <tr>
  40. <td height="26">网站Logo:</td>
  41. <td>
  42. <input name="logo" type="text" id="logo" size="40" value="<?php echo $myLink['logo']?>"
  43. />
  44. (88*31 gif或jpg)
  45. </td>
  46. </tr>
  47. <tr>
  48. <td height="26">上传Logo:</td>
  49. <td><input name="logoimg" type="file" id="logoimg" size="30"></td>
  50. </tr>
  51. <tr>
  52. <td height="26">网站简况:</td>
  53. <td><textarea name="msg" cols="50" rows="4" id="msg"><?php echo dede_htmlspecialchars($myLink['msg'])?></textarea></td>
  54. </tr>
  55. <tr>
  56. <td height="26">站长Email:</td>
  57. <td><input name="email" type="text" id="email" size="30" value="<?php echo $myLink['email']?>" class='pubinputs' /></td>
  58. </tr>
  59. <tr>
  60. <td height="26">链接位置:</td>
  61. <td>
  62. <label><input type='radio' name='ischeck' value="0" <?php if($myLink['ischeck']==0) echo " checked='1' "?> />
  63. 未审核</label>
  64. <label><input type='radio' name='ischeck' value="1" <?php if($myLink['ischeck']==1) echo " checked='1' "?> />
  65. 内页</label>
  66. <label><input type='radio' name='ischeck' value="2" <?php if($myLink['ischeck']==2) echo " checked='1' "?> />
  67. 首页</label>
  68. </td>
  69. </tr>
  70. <tr>
  71. <td height="26">网站类型:</td>
  72. <td>
  73. <select name="typeid" id="typeid">
  74. <?php
  75. echo " <option value='".$myLink['typeid']."'>".$myLink['typename']."</option>\r\n";
  76. $dsql->SetQuery("select * from #@__flinktype where id<>'".$myLink['typeid']."'");
  77. $dsql->Execute();
  78. while($row=$dsql->GetObject()){
  79. echo " <option value='".$row->id."'>".$row->typename."</option>\r\n";
  80. }
  81. ?>
  82. </select>
  83. </td>
  84. </tr>
  85. <tr>
  86. <td height="50"></td>
  87. <td>
  88. <button type="submit" name="Submit" class="btn btn-success"> 提 交 </button>  
  89. <button type="reset" name="Submit" onClick="location.href='<?php echo $ENV_GOBACK_URL?>';" class="btn btn-success"> 返 回 </button>
  90. </td>
  91. </tr>
  92. </table>
  93. </form>
  94. </td>
  95. </tr>
  96. </table>
  97. </body>
  98. </html>