Fixed : group topic spam fixed
Fixed : user videos fixed
This commit is contained in:
parent
5f4dfee67a
commit
0910cd7eed
3 changed files with 13 additions and 1 deletions
|
@ -493,6 +493,8 @@ if(!empty($mode))
|
|||
|
||||
$type = mysql_clean($_POST['type']);
|
||||
$typeid = mysql_clean($_POST['typeid']);
|
||||
|
||||
if($_POST['type'] != 't')
|
||||
update_last_commented($type,$typeid);
|
||||
|
||||
echo json_encode($ajax);
|
||||
|
|
|
@ -5271,7 +5271,7 @@
|
|||
case "t":
|
||||
case "topic":
|
||||
case "topics":
|
||||
$db->update(tbl("group_topics"),array('last_post_time'),array(now()),"videoid='$id'");
|
||||
$db->update(tbl("group_topics"),array('last_post_time'),array(now()),"topic_id='$id'");
|
||||
break;
|
||||
|
||||
}
|
||||
|
|
|
@ -16,9 +16,19 @@
|
|||
{section name=v_list loop=$videos}
|
||||
{include file="$style_dir/blocks/video.html" video=$videos[v_list]}
|
||||
{/section}
|
||||
|
||||
<div class="clearfix"></div>
|
||||
{include file="$style_dir/blocks/pagination.html"}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="clear" style="height:10px"></div>
|
||||
<div id="footer" class="clearfix" style="margin-top:0px;">
|
||||
<div class="footer">
|
||||
© {$title} {$smarty.now|date_format:"%Y"}
|
||||
</div>
|
||||
</div
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Reference in a new issue