-
Notifications
You must be signed in to change notification settings - Fork 0
/
member.php
84 lines (80 loc) · 1.84 KB
/
member.php
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?php
require_once './config.inc.php';
include './cta_client/client.php';
include './include/cookie.php';
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script language="javascript" type="text/javascript">
<?php
if(!$Cta_username){
echo "alert(\"请先登陆\");";
echo "window.location.href=\"/\";";
}
?>
</script>
<style type="text/css">
@import "style/global.css";
.wrap{
width:960px;
background-color:#dad6c5;
}
.main{
width:100%;
float:left;
overflow:hidden;
}
.side{
width:180px;
float:right;
padding-bottom:20px;
}
.sideinner {
PADDING-BOTTOM: 0px;
PADDING-LEFT: 25px;
PADDING-RIGHT: 25px;
PADDING-TOP: 0px
}
</style>
</head>
<body>
<div id="header"><a href="/">返回首页</a></div>
<div class="wrap" id="wrap">
<div class="main">
<?php
switch(@$_GET['typeid']) {
case '2':
?>
<form action="?action=profile" method="post">
<table class="formtable">
<tr><th>个人签名</th><td><input type="text" name="qm"></td></tr>
<tr><th>手机串号</th><td><input type="text" name="imei"></td></tr>
<tr><th></th><td><input type="submit" value="提交"></td></tr>
</table>
</form>
<?php
break;
case '3':
echo '
<img src="'.UC_API.'/avatar.php?uid='.$Cta_uid.'&size=big">
<img src="'.UC_API.'/avatar.php?uid='.$Cta_uid.'&size=middle">
<img src="'.UC_API.'/avatar.php?uid='.$Cta_uid.'&size=small">
<br><br>'.uc_avatar($Cta_uid);
break;
}
?>
</div>
<div class="side">
<div class="sideinner">
<ul class="tabs">
<li class="current"><a href="?typeid=2">个人资料</a></li>
<li class="current"><a href="?typeid=3">修改头像</a></li>
</ul>
</div>
</div>
</div>
</body>
</html>