ChangeFriend.php
1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
if(!defined('InEmpireCMS'))
{
exit();
}
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>選擇好友</title>
<link href="../../../data/images/qcss.css" rel="stylesheet" type="text/css">
<script>
function ChangeHy()
{
var fname=document.changeuser.fname.value;
if(fname!="")
{
opener.document.<?=$fm?>.<?=$f?>.value=fname;
}
window.close();
}
</script>
</head>
<body>
<table width="100%" border="0" cellpadding="3" cellspacing="1" class="tableborder">
<form name="changeuser" method="GET" action="index.php?<?=$addvar?>">
<tr class="header">
<td height="23">選擇用戶</td>
</tr>
<tr>
<td width="82%" height="25" bgcolor="#FFFFFF">分類:
<select name="cid" id="select" onchange=window.location='index.php?<?=$addvar?>&cid='+this.options[this.selectedIndex].value>
<option value="0">顯示全部</option>
<?=$select?>
</select></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF">
<select name="fname" size="16" id="fname" style="width:200">
<?=$hyselect?>
</select></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF">
<input type="button" name="Submit" value="確定" onclick="ChangeHy();"></td>
</tr>
</form>
</table>
</body>
</html>