103 |
- |
1 |
<?php echo showSectionHead($spTextTools['Detailed Reports']); ?>
|
|
|
2 |
<form id='search_form'>
|
|
|
3 |
<table width="100%" class="search">
|
|
|
4 |
<tr>
|
|
|
5 |
<th><?php echo $spText['common']['Website']?>: </th>
|
|
|
6 |
<td>
|
|
|
7 |
<select name="website_id" id="website_id" onchange="doLoad('website_id', '<?php echo $pageScriptPath ?>', 'link_area', 'sec=linkSelectBox')">
|
|
|
8 |
<?php foreach($websiteList as $websiteInfo){?>
|
|
|
9 |
<?php if($websiteInfo['id'] == $websiteId){?>
|
|
|
10 |
<option value="<?php echo $websiteInfo['id']?>" selected><?php echo $websiteInfo['name']?></option>
|
|
|
11 |
<?php }else{?>
|
|
|
12 |
<option value="<?php echo $websiteInfo['id']?>"><?php echo $websiteInfo['name']?></option>
|
|
|
13 |
<?php }?>
|
|
|
14 |
<?php }?>
|
|
|
15 |
</select>
|
|
|
16 |
</td>
|
|
|
17 |
<th><?php echo $spText['common']['Period']?>:</th>
|
|
|
18 |
<td>
|
|
|
19 |
<input type="text" value="<?php echo $fromTime?>" name="from_time"/>
|
|
|
20 |
<input type="text" value="<?php echo $toTime?>" name="to_time"/>
|
|
|
21 |
<script>
|
|
|
22 |
$(function() {
|
|
|
23 |
$( "input[name='from_time'], input[name='to_time']").datepicker({dateFormat: "yy-mm-dd"});
|
|
|
24 |
});
|
|
|
25 |
</script>
|
|
|
26 |
</td>
|
|
|
27 |
</tr>
|
|
|
28 |
<tr>
|
|
|
29 |
<th><?php echo $spText['common']['Url']?>: </th>
|
|
|
30 |
<td id="link_area">
|
|
|
31 |
<?php echo $this->render('socialmedia/social_media_link_select_box', 'ajax'); ?>
|
|
|
32 |
</td>
|
|
|
33 |
<td colspan="2">
|
|
|
34 |
<a href="javascript:void(0);" onclick="scriptDoLoadPost('<?php echo $pageScriptPath ?>', 'search_form', 'content', '&sec=viewDetailedReports')" class="actionbut"><?php echo $spText['button']['Show Records']?></a>
|
|
|
35 |
</td>
|
|
|
36 |
</tr>
|
|
|
37 |
</table>
|
|
|
38 |
</form>
|
|
|
39 |
|
|
|
40 |
<br><br>
|
|
|
41 |
<div id='subcontent'>
|
|
|
42 |
<table id="cust_tab">
|
|
|
43 |
<tr>
|
|
|
44 |
<th><?php echo $spText['common']['Date']?></th>
|
|
|
45 |
<th><?php echo $spText['label']['Followers']?></th>
|
|
|
46 |
<th><?php echo $spText['label']['Likes']?></th>
|
|
|
47 |
</tr>
|
|
|
48 |
<?php
|
|
|
49 |
if (count($list) > 0) {
|
|
|
50 |
foreach($list as $listInfo){
|
|
|
51 |
?>
|
|
|
52 |
<tr>
|
|
|
53 |
<td><?php echo $listInfo['report_date']; ?></td>
|
|
|
54 |
<td><b><?php echo $listInfo['followers'].'</b> '. $listInfo['rank_diff_followers']?></td>
|
|
|
55 |
<td><b><?php echo $listInfo['likes'].'</b> '. $listInfo['rank_diff_likes']?></td>
|
|
|
56 |
</tr>
|
|
|
57 |
<?php
|
|
|
58 |
}
|
|
|
59 |
} else {
|
|
|
60 |
?>
|
|
|
61 |
<tr><td colspan="3"><b><?php echo $_SESSION['text']['common']['No Records Found']?></b></tr>
|
|
|
62 |
<?php
|
|
|
63 |
}
|
|
|
64 |
?>
|
|
|
65 |
</table>
|
|
|
66 |
</div>
|