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

106 lines
4.8KB

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