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

113 lines
3.7KB

  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. <script language='javascript'>
  7. function CheckSubmit()
  8. {
  9. if(document.form1.url.value=="http://"||document.form1.url.value=="")
  10. {
  11. document.form1.url.focus();
  12. alert("网址不能为空!");
  13. return false;
  14. }
  15. if(document.form1.webname.value=="")
  16. {
  17. document.form1.webname.focus();
  18. alert("网站名称不能为空!");
  19. return false;
  20. }
  21. return true;
  22. }
  23. </script>
  24. <link href="css/base.css" rel="stylesheet" type="text/css">
  25. </head>
  26. <body background='images/allbg.gif' leftmargin='8' topmargin='8'>
  27. <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6">
  28. <tr>
  29. <td height="28" background="images/tbg.gif" style="padding-left:10px;"><b><a href="friendlink_main.php"><u>友情链接管理</u></a></b>&gt;&gt;增加链接</td>
  30. </tr>
  31. <tr>
  32. <td height="200" bgcolor="#FFFFFF" valign="top">
  33. <form action="friendlink_add.php" method="post" enctype="multipart/form-data" name="form1" onSubmit="return CheckSubmit();";>
  34. <input type="hidden" name="dopost" value="add" />
  35. <table width="80%" border="0" cellspacing="1" cellpadding="3">
  36. <tr>
  37. <td width="19%" height="25">网址:</td>
  38. <td width="81%">
  39. <input name="url" type="text" id="url" value="http://" size="30" class='pubinputs' />
  40. </td>
  41. </tr>
  42. <tr>
  43. <td height="25">网站名称:</td>
  44. <td>
  45. <input name="webname" type="text" id="webname" size="30" class='pubinputs' />
  46. </td>
  47. </tr>
  48. <tr>
  49. <td width="19%" height="25">排列位置:</td>
  50. <td width="81%">
  51. <input name="sortrank" type="text" id="sortrank" value="1" size="10" class='pubinputs' style='width:60px' />
  52. (由小到大排列)
  53. </td>
  54. </tr>
  55. <tr>
  56. <td height="25">网站Logo:</td>
  57. <td>
  58. <input name="logo" type="text" id="logo" size="30" class='pubinputs' />
  59. (88*31 gif或jpg)
  60. </td>
  61. </tr>
  62. <tr>
  63. <td height="25">上传Logo:</td>
  64. <td>
  65. <input name="logoimg" type="file" id="logoimg" size="30" class='pubinputs' />
  66. </td>
  67. </tr>
  68. <tr>
  69. <td height="25">网站简况:</td>
  70. <td><textarea name="msg" cols="50" rows="4" id="msg"></textarea></td>
  71. </tr>
  72. <tr>
  73. <td height="25">站长Email:</td>
  74. <td>
  75. <input name="email" type="text" id="email" size="30" class='pubinputs' />
  76. </td>
  77. </tr>
  78. <tr>
  79. <td height="25">网站类型:</td>
  80. <td>
  81. <select name="typeid" id="typeid">
  82. <?php
  83. $dsql->SetQuery("select * from #@__flinktype");
  84. $dsql->Execute();
  85. while($row=$dsql->GetObject())
  86. {
  87. echo " <option value='".$row->id."'>".$row->typename."</option>\r\n";
  88. }
  89. ?>
  90. </select>
  91. </td>
  92. </tr>
  93. <tr>
  94. <td height="25">链接位置:</td>
  95. <td>
  96. <input type='radio' name='ischeck' value="1" checked='1' /> 内页
  97. <input type='radio' name='ischeck' value="2"/> 首页
  98. </td>
  99. </tr>
  100. <tr>
  101. <td height="51">&nbsp;</td>
  102. <td>
  103. <input type="submit" name="Submit" value=" 提 交 " class="coolbg np" />   
  104. <input type="reset" name="Submit" value=" 重 置 " class="coolbg np" />
  105. </td>
  106. </tr>
  107. </table>
  108. </form>
  109. </td>
  110. </tr>
  111. </table>
  112. </body>
  113. </html>