plus_bshare_state.htm
7.99 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
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<title>BShare分享插件</title>
<?php
if(is_file(dirname(__file__).'/../img/base.css'))
{
?>
<link href="img/base.css" rel="stylesheet" type="text/css" />
<?php
} else {
?>
<link href="css/base.css" rel="stylesheet" type="text/css" />
<?php
}
?>
<link href='css/boxy.css' rel='stylesheet' type='text/css' />
<?php
if(is_file(DEDEINC.'/js/jquery/jquery.js'))
{
?>
<script language="javascript" src="../include/js/jquery/jquery.js"></script>
<?php
} else {
?>
<script language="javascript" src="../images/js/j.js"></script>
<?php
}
?>
<script language="javascript" src="js/main.js"></script>
<script language="javascript" src="js/boxy.js"></script>
<script type="text/javascript" src="js/calendar/calendar.js"></script>
</head>
<body background="images/allbg.gif" leftmargin="8" topmargin="8">
<div class="bodytitle">
<div class="bodytitleleft"></div>
<div class="bodytitletxt" style="padding-left:10px;">辅助插件</div>
</div>
<table width="98%" border="0" align="center" cellpadding="4" cellspacing="1" class="tbtitle" style="background:#CFCFCF;">
<tr>
<td bgcolor="#EDF9D5" colspan="2" background='images/tbg.gif' style="padding-left:10px;"><strong>bShare分享插件</strong></td>
</tr>
<tr>
<td colspan="2" bgcolor="#F9FCEF"> 您已经开通bShare服务:</td>
</tr>
<tr>
<td width="20%" align="right" bgcolor="#FFFFFF"> <b>用户名:</b></td>
<td width="80%" bgcolor="#FFFFFF"> <?php echo isset($cfg_bshare['user'])? $cfg_bshare['user'] : '';?></td>
</tr>
<tr>
<td align="right" bgcolor="#FFFFFF"> <b>UUID:</b></td>
<td bgcolor="#FFFFFF"> <?php echo isset($cfg_bshare['uuid'])? $cfg_bshare['uuid'] : '';?></td>
</tr>
<tr>
<td colspan="2" align="right" bgcolor="#FFFFFF"> </td>
</tr>
<tr>
<td colspan="2" align="left" bgcolor="#F9FCEF">前台调用样式/代码:</td>
</tr>
<tr>
<td colspan="2" align="left" bgcolor="#FFFFFF">
<form action="plus_bshare.php?do=setcode" method="post" id="form1">
<p>内容页面中直接加入<span style="color:red">{dede:bshare/}</span>,或者使用:<br />
<span style="color:red"><script src='<?php echo $cfg_phpurl;?>/bshare.php' type='text/javascript'></script></span><br />
即可调用分享插件。</p>
<p>
<textarea name="bscode" id="bscode" cols="60" rows="3"><?php echo $bshareCode;?>
</textarea>
<input type="button" name="selectStyle" id="selectStyle" value="选择样式" />
</a> <input type="submit" name="button" id="button" value="设定样式" /></p>
</form>
<div id="bshareCode" style="display:none">
<iframe src="<?php echo $cfg_phpurl;?>/bshare.php?dopost=getcode&uuid=<?php echo isset($cfg_bshare['uuid'])? $cfg_bshare['uuid'] : '';?>" name="bshare" width="780px" height="300px" scrolling="no">
</iframe>
</div></td>
</tr>
<tr>
<td colspan="2" align="left" bgcolor="#FFFFFF">样式预览:</td>
</tr>
<tr>
<td colspan="2" align="left" bgcolor="#FFFFFF"><?php echo $bshareCode;?></td>
</tr>
<tr>
<td bgcolor="#EDF9D5" colspan="2" background='images/tbg.gif' style="padding-left:10px;"><strong>统计信息</strong></td>
</tr>
<tr>
<td colspan="2" align="left" bgcolor="#F9FCEF">选择查询条件:</td>
</tr>
<tr>
<td colspan="2" align="left" bgcolor="#FFFFFF">开始:
<form id="form2" name="form1" method="get" action="" target="_self">
<input name="starttime" type="text" id="starttime" style="width:100px" value="<?php echo $starttime;?>" size="60" />
<script language="javascript" type="text/javascript">
Calendar.setup({
inputField : "starttime",
ifFormat : "%Y-%m-%d",
showsTime : false,
timeFormat : "24"
});
</script>到 结束
<input name="endtime" type="text" id="endtime" style="width:100px" value="<?php echo $endtime;?>" size="60" />
<script language="javascript" type="text/javascript">
Calendar.setup({
inputField : "endtime",
ifFormat : "%Y-%m-%d",
showsTime : false,
timeFormat : "24"
});
</script>
<input type="submit" name="search" id="searchBtn" value="查询"/>
</form></td>
</tr>
<tr>
<td colspan="2" align="center" bgcolor="#FFFFFF"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" id="head1">
<tr>
<td colspan="2" align="left"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="84" align="center" background="images/itemnote1.gif"> 平台统计 </td>
<td width="84" align="center" background="images/itemnote2.gif"><a href="#" onClick="ShowItem2()"><u>分享统计</u></a></td>
</tr>
</table></td>
</tr>
</table>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" id="head2" style="display:none">
<tr>
<td colspan="2" align="left"><table height="24" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="84" align="center" background="images/itemnote2.gif"><a href="#" onClick="ShowItem1()"><u>平台统计</u></a> </td>
<td width="84" align="center" background="images/itemnote1.gif">分享统计</td>
</tr>
</table></td>
</tr>
</table>
<table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" id="needset" style="border:1px solid #cfcfcf;background:#ffffff;margin-top:-5px;">
<tr>
<td width="400%" height="24" align="left" class="bline"><table width="498" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="152"> bURL社交影响力分析:</td>
<td width='346'> </td>
</tr>
<tr>
<td colspan="2"> 说明:数据格式“平台.(访问占用百分比)-访问次数”。 <br />
<img src="<?php echo $platformUrl;?>" alt="bURL社交影响力分析" name="platformimg" id="platformimg" /></td>
</tr>
</table></td>
</tr>
</table>
<table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" id="adset" style="border:1px solid #cfcfcf;background:#ffffff; margin-top:-5px;display:none">
<tr>
<td height="24" class="bline" align="left" ><table width="498" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="22"><strong>分享统计信息:</strong></td>
</tr>
<tr>
<td height="22"><p>分享量统计表:</p>
<p><img src="<?php echo $shareUrl;?>" alt="bURL社交影响力分析" /></p>
<p>点击统计表</p>
<p><img src="<?php echo $clickUrl;?>" alt="bURL社交影响力分析" /></p></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor="#F9FCEF" colspan="2"> </td>
</tr>
</table>
<script type="text/javascript">
(function($){
$("#selectStyle").click(function()
{
if($.browser.msie)
{
if($Nav()=='IE'){ var posLeft = window.event.clientX-100; var posTop = window.event.clientY; }
else{ var posLeft = 100; var posTop = 100; }
window.open('<?php echo $cfg_phpurl;?>/bshare.php?dopost=getcode&uuid=<?php echo isset($cfg_bshare['uuid'])? $cfg_bshare['uuid'] : '';?>','getCode','scrollbars=no,width=780px,height=300px,top='+posTop+',left='+posLeft)
}else {
new Boxy($("#bshareCode"),{title:'获取bShare代码',draggable: true,closeText:'关闭'});
}
// new Boxy($("#bshareCode"),{title:'获取bShare代码',draggable: true,closeText:'关闭'});
});
})(jQuery);
</script>
</body>
</html>