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

93 lines
3.3KB

  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. <script src="/static/web/js/jquery.min.js"></script>
  11. <script src="/static/web/js/bootstrap.min.js"></script>
  12. <script src="/static/web/js/admin.main.js"></script>
  13. </head>
  14. <body>
  15. <div class="container-fluid">
  16. <ol class="breadcrumb">
  17. <li class="breadcrumb-item"><a href="index_body.php">后台面板</a></li>
  18. <li class="breadcrumb-item"><a href="friendlink_main.php">友情链接管理</a></li>
  19. <li class="breadcrumb-item active">添加友情链接</li>
  20. </ol>
  21. <div class="card shadow-sm">
  22. <div class="card-header">添加友情链接</div>
  23. <div class="card-body">
  24. <form name="form1" action="friendlink_add.php" method="post" enctype="multipart/form-data">
  25. <input type="hidden" name="dopost" value="add">
  26. <div class="table-responsive">
  27. <table class="table table-borderless">
  28. <tbody>
  29. <tr>
  30. <td width="260">网址</td>
  31. <td><input type="text" name="url" id="url" value="http://" class="admin-input-lg" required></td>
  32. </tr>
  33. <tr>
  34. <td>网站名称</td>
  35. <td><input type="text" name="webname" id="webname" class="admin-input-lg" required></td>
  36. </tr>
  37. <tr>
  38. <td>排列位置</td>
  39. <td><input type="text" name="sortrank" id="sortrank" value="1" class="admin-input-sm">(由小到大排列)</td>
  40. </tr>
  41. <tr>
  42. <td>网站Logo</td>
  43. <td><input type="text" name="logo" id="logo" class="admin-input-lg"></td>
  44. </tr>
  45. <tr>
  46. <td>上传Logo</td>
  47. <td><input type="file" name="logoimg" id="logoimg" class="admin-input-lg"></td>
  48. </tr>
  49. <tr>
  50. <td>网站简况</td>
  51. <td><textarea name="msg" id="msg" class="admin-textarea-sm"></textarea></td>
  52. </tr>
  53. <tr>
  54. <td>邮箱</td>
  55. <td><input type="text" name="email" id="email" autocomplete="off" class="admin-input-lg"></td>
  56. </tr>
  57. <tr>
  58. <td>网站类型</td>
  59. <td>
  60. <select name="typeid" id="typeid" class="admin-input-sm">
  61. <?php
  62. $dsql->SetQuery("SELECT * FROM `#@__flinktype`");
  63. $dsql->Execute();
  64. while($row=$dsql->GetObject())
  65. {
  66. echo " <option value='".$row->id."'>".$row->typename."</option>";
  67. }
  68. ?>
  69. </select>
  70. </td>
  71. </tr>
  72. <tr>
  73. <td>链接位置</td>
  74. <td>
  75. <label><input type="radio" name="ischeck" value="1" checked> 内页</label>
  76. <label><input type="radio" name="ischeck" value="2"> 首页</label>
  77. </td>
  78. </tr>
  79. <tr>
  80. <td colspan="2" align="center">
  81. <button type="submit" class="btn btn-success btn-sm">保存</button>
  82. <button type="reset" class="btn btn-outline-success btn-sm">重置</button>
  83. </td>
  84. </tr>
  85. </tbody>
  86. </table>
  87. </div>
  88. </form>
  89. </div>
  90. </div>
  91. </div>
  92. </body>
  93. </html>