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

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