-
Notifications
You must be signed in to change notification settings - Fork 0
/
profile.php
108 lines (89 loc) · 2.73 KB
/
profile.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<?php
/*******************************************************************************
* profile.php
* 配置文件管理文件
* config management interface
* Function Desc
provide an config management interface
* 功能描述
提供配置管理界面
* Page elements
* div:
divNav show management function list
divCopyright show copyright
* javascript function:
init page onload function
* Revision 0.0057 2009/03/28 15:47:00 last modified by donnie
* Desc: page created
********************************************************************************/
require_once('profile.common.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<?php $xajax->printJavascript('include/');?>
<?php
$get = '';
//print_r($_GET);exit;
if($_GET['action'] != '' ){
foreach($_GET as $key => $value){
$get .= $key.':'.$value.',';
}
}
?>
<meta http-equiv="Content-Language" content="utf-8" />
<SCRIPT LANGUAGE="JavaScript">
<!--
function init(){
post = "<?php echo $get; ?>"
xajax_init(post);
dragresize.apply(document);
}
function rechargeByPaypal(){
if(confirm("Are sure to payment?")){
if(typeof(xajax.$('amount')) == 'undefined'){
alert("<?php echo $locate->Translate('Please select amount');?>");
return false;
}else{
if(xajax.$('amount').value == ''){
alert("<?php echo $locate->Translate('Please select amount');?>");
return false;
}
}
xajax_rechargeByPaypal(xajax.$('amount').value);
return false;
}else{
return false;
}
}
function refreshRechargeInfo(){
xajax_refreshRechargeInfo();
}
//-->
</SCRIPT>
<script type="text/javascript" src="js/dragresize.js"></script>
<script type="text/javascript" src="js/dragresizeInit.js"></script>
<script type="text/javascript" src="js/astercrm.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<LINK href="skin/default/css/style.css" type=text/css rel=stylesheet>
<LINK href="skin/default/css/dragresize.css" type=text/css rel=stylesheet>
</head>
<body onload="init();" id="profile">
<div id="divNav"></div><br>
<center>
<div id="info"></div>
<div id="paymentInfo"></div>
<div id="formDiv" class="formDiv drsElement"
style="left: 450px; top: 50px;width:500px;"></div>
<div id="rechargeInfo"></div>
<table border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#F0F0F0" width="600">
<tr>
<td width="25%" height="39" class="td font" align="center">
</td>
<td width="75%" class="td font" align="center"> </td>
</tr>
</table>
</center>
<div id="divCopyright"></div>
</body>
</html>