forked from TCXX/PintuerX
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patht.php
More file actions
executable file
·60 lines (59 loc) · 1.66 KB
/
t.php
File metadata and controls
executable file
·60 lines (59 loc) · 1.66 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
<?php
/**
* 微语部分
*/
if(!defined('EMLOG_ROOT')) {exit('error!');}
?>
<div class="container">
<div class="line">
<div class="xm9">
<!--list.start-->
<div class="doc-right">
<?php
if (!empty($tws)):
foreach($tws as $val):
$author = $user_cache[$val['author']]['name'];
$avatar = empty($user_cache[$val['author']]['avatar']) ?
BLOG_URL . 'admin/views/images/avatar.jpg' :
BLOG_URL . $user_cache[$val['author']]['avatar'];
$tid = (int)$val['id'];
$img = empty($val['img']) ? "" : '<img src="'.BLOG_URL.$val['img'].'" width="64" height="64" class="img-responsive img-border radius-circle bg-white"></a>';
?>
<div class="line margin-top">
<div class="x2 text-right">
<div class="float-right text-center">
<img src="<?php echo $avatar; ?>" width="64" height="64" class="img-responsive img-border radius-circle bg-white">
<strong><?php echo $author; ?></strong>
</div>
</div>
<div class="x10">
<div class="popo">
<div class="popo-left">
<a href="#">
<div class="popo-body popo-yellow left box-shadow">
<?php echo $val['t'].'<br/>'.$img;?>
</div>
</a>
</div>
</div>
</div>
</div>
<div class="hr"></div>
<?php
endforeach;
else:
?>
<h2><?php echo showText('NOT_FOUND'); ?></h2>
<p><?php echo showText('NO_RESULTS'); ?></p>
<?php endif;?>
<div id="pagenavi" class="text-center">
<?php echo $page_url;?>
</div>
</div>
<!--list.end-->
</div>
<!-- end #contentleft-->
<?php
include View::getView('side');
include View::getView('footer');
?>