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

friendlink_edit.htm 3.7KB

3 年之前
1 年之前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
  6. <title>修改友情链接</title>
  7. <link rel="stylesheet" href="/static/web/css/font-awesome.min.css">
  8. <link rel="stylesheet" href="/static/web/css/bootstrap.min.css">
  9. <link rel="stylesheet" href="/static/web/css/admin.css">
  10. </head>
  11. <body>
  12. <ol class="breadcrumb">
  13. <li class="breadcrumb-item"><a href="index_body.php">后台面板</a></li>
  14. <li class="breadcrumb-item"><a href="friendlink_main.php">友情链接管理</a></li>
  15. <li class="breadcrumb-item active">修改友情链接</li>
  16. </ol>
  17. <div class="card shadow-sm">
  18. <div class="card-header">修改友情链接</div>
  19. <div class="card-body">
  20. <form action="friendlink_edit.php" method="post" enctype="multipart/form-data" name="form1">
  21. <input type="hidden" name="id" value="<?php echo $myLink['id']?>">
  22. <input type="hidden" name="dopost" value="saveedit">
  23. <div class="table-responsive">
  24. <table class="table table-borderless">
  25. <tbody>
  26. <tr>
  27. <td width="260">网址</td>
  28. <td><input type="text" name="url" id="url" value="<?php echo $myLink['url']?>" class="admin-input-lg" required></td>
  29. </tr>
  30. <tr>
  31. <td>网站名称</td>
  32. <td><input type="text" name="webname" id="webname" value="<?php echo $myLink['webname']?>" class="admin-input-lg" required></td>
  33. </tr>
  34. <tr>
  35. <td width="260">排列位置</td>
  36. <td><input type="text" name="sortrank" id="sortrank" value="<?php echo $myLink['sortrank']?>" class="admin-input-sm">(由小到大排列)</td>
  37. </tr>
  38. <tr>
  39. <td>网站Logo</td>
  40. <td><input type="text" name="logo" id="logo" value="<?php echo $myLink['logo']?>" class="admin-input-lg">(88*31 gif或jpg)</td>
  41. </tr>
  42. <tr>
  43. <td>上传Logo</td>
  44. <td><input type="file" name="logoimg" id="logoimg" class="admin-input-lg"></td>
  45. </tr>
  46. <tr>
  47. <td>网站简况</td>
  48. <td><textarea name="msg" id="msg" class="admin-textarea-sm"><?php echo dede_htmlspecialchars($myLink['msg'])?></textarea></td>
  49. </tr>
  50. <tr>
  51. <td>邮箱</td>
  52. <td><input type="text" name="email" id="email" autocomplete="off" value="<?php echo $myLink['email']?>" class="admin-input-lg"></td>
  53. </tr>
  54. <tr>
  55. <td>链接位置</td>
  56. <td>
  57. <label><input type="radio" name="ischeck" value="0" <?php if ($myLink['ischeck']==0) echo 'checked'?>> 待审核</label>
  58. <label><input type="radio" name="ischeck" value="1" <?php if ($myLink['ischeck']==1) echo 'checked'?>> 内页</label>
  59. <label><input type="radio" name="ischeck" value="2" <?php if ($myLink['ischeck']==2) echo 'checked'?>> 首页</label>
  60. </td>
  61. </tr>
  62. <tr>
  63. <td>网站类型</td>
  64. <td>
  65. <select name="typeid" id="typeid" class="admin-input-sm">
  66. <?php
  67. echo " <option value='".$myLink['typeid']."'>".$myLink['typename']."</option>";
  68. $dsql->SetQuery("SELECT * FROM `#@__flinktype` where id<>'".$myLink['typeid']."'");
  69. $dsql->Execute();
  70. while($row=$dsql->GetObject()){
  71. echo " <option value='".$row->id."'>".$row->typename."</option>";
  72. }
  73. ?>
  74. </select>
  75. </td>
  76. </tr>
  77. <tr>
  78. <td colspan="2" align="center">
  79. <button type="submit" class="btn btn-success btn-sm">保存</button>
  80. <button type="reset" class="btn btn-outline-success btn-sm">重置</button>
  81. </td>
  82. </tr>
  83. </tbody>
  84. </table>
  85. </div>
  86. </form>
  87. </div>
  88. </div>
  89. </body>
  90. </html>