<div> <a href="#" class="user_activity_comments"><strong><? print comments_count($log_check['rel_table_id'], false); ?></strong><span></span><strong>Comments</strong></a> <a class="user_activity_likes right" href="<? print voting_link($log_check['to_table_id'], '#post-likes-'.$log_check['to_table_id'], $log_check['to_table']); ?>"><strong id="post-likes-<? print ($log_check['to_table_id']); ?>"><? print votes_count($log_check['to_table_id'], false,$log_check['to_table'] ); ?></strong> Like</a> </div> </div> <? $update_element = md5(serialize($log_check)); $this->template ['comments_update_element'] = $update_element; $this->load->vars ( $this->template ); ?> <? comment_post_form($log_check['rel_table_id'],'dashboard/index_item_comments.php', $log_check['rel_table']) ?> <div id="<? print $update_element ?>"> <? comments_list($log_check['rel_table_id'], 'dashboard/index_item_comments_list.php', $log_check['rel_table']) ?> </div> <!--<div class="comment_area"> <div class="comment_area_content"> <form method="post" action="#"> <a href="#" class="user_photo" style="background-image: url(<?php print TEMPLATE_URL; ?> /static/img/demo/userbox.jpg)"></a> <textarea>Write a comment...</textarea> <a href="#" class="submit">Submit</a> </form> </div> </div>
print $i; ?> </a></span> <?php $i++; } ?> </div> <br /> <?php } ?> <br /> <h2 class="coment-title">Post your comment</h2> <? comment_post_form($the_post['id']); ?> <div class="c"> </div> <? comments_list($the_post['id'], 'default'); ?> <br /><br /> </div> <div class="inner_video_side"> <div class="bluebox"> <div class="blueboxcontent"> <div class="video_list_item" style="margin: 10px auto;"> <a class="mw_blue_link" href="#">The worst ! ever ! American idol ! FUNNY</a> <a style="background-image: url("http://pecata/dev.microweber.com/public_html/skide/userfiles/media/pictures/150_150/no.gif");" class="img" href=""> </a> <a href="javascript:mw.content.Vote('','', '');" class="user_activity_likes left"><strong>0</strong><span></span></a> <a href="" class="user_activity_comments right"><strong id="post-likes-339">1</strong><span></span></a> </div>
<div class="hr"> </div> <div class="bluebox"> <div class="bluebox_content"> <? $params= array(); $params['display']= 'post_item_video_sidebar.php'; $params['items_per_page'] = 3; $params['category'] = $active_categories[0]; $params['curent_page'] = rand(1,5); get_posts($params); ?> <a href="<? print category_link($active_categories[0]); ?>" class="more">See more videos</a> </div> </div> </div> <div class="c"> </div> <br /> <? include(TEMPLATE_DIR.'banner_wide.php') ; ?> <br /> <br /> <div class="c"> </div> <h2>Comments</h2> <? comments_list($post['id']) ?> <br /> <div class="c"> </div> <br /> <h2 class="coment-title">Post your comment</h2> <? comment_post_form($post['id']) ?>
<p>The image you have requested doesn't exists.</p> </div> <div align="right" style="padding: 10px" class="clear gall_nav"> <a href="#" class="gallery_prev">Previous</a> | <a href="#" class="gallery_next">Next</a> </div> <? $media = CI::model('core')->mediaGet('table_content', url_param('id'), $media_type = 'picture', $order = "ASC", $queue_id = false, $no_cache = false, $id = false); $media = $media['pictures']; ?> <? if(!empty($media)): ?> <? $i=0 ; foreach($media as $item): // var_dump($item); ?> <div class="gallery_item img_id_<? print $item['id']; ?>" id="gimage_<? print $i ?>"> <a href="#gimage_<? if($media[$i+1] != false): ?><? print $i+1; ?><? else: ?>0<? endif; ?>"> <span class="imgpreload"><? print CI::model('core')->mediaGetThumbnailForMediaId($item['id'], $size_width = 500, $size_height = false); ?></span> </a> <div class="gallery_item_comments"> <? $update_element = md5(serialize($item)); $this->template ['comments_update_element'] = $update_element; $this->load->vars ( $this->template ); ?> <? comment_post_form($item['id'],'dashboard/index_item_comments.php', 'media') ?> <div id="<? print $update_element ?>"> <? comments_list($item['id'], 'dashboard/index_item_comments_list.php', 'media') ?> </div> </div> </div> <? $i++; endforeach; ?> <? endif; ?> </div> <? /* END GALLERY */ ?>
</div> <div><span class="st_sharethis" st_url="<? print post_link($post_data["id"]); ?>" st_title="<? print addslashes($post_data["content_title"]); ?>" displayText="Share this"></span> <a href="#" class="user_activity_comments"><strong><? print comments_count($post_data['id'], false); ?></strong><span></span><strong>Comments</strong></a> <a class="user_activity_likes right" href="<? print voting_link($post_data['id'], '#post-likes-'.$post_data['id']); ?>"><strong id="post-likes-<? print ($post_data['id']); ?>"><? print votes_count($post_data['id'], false ); ?></strong> Like</a> </div> </div> <? $update_element = md5(serialize($post_data)); $this->template ['comments_update_element'] = $update_element; $this->load->vars ( $this->template ); ?> <? comment_post_form($post_data['id'],'dashboard/index_item_comments.php') ?> <div id="<? print $update_element ?>"> <? comments_list($post_data['id'], 'dashboard/index_item_comments_list.php') ?> </div> <? else : ?> <? if($dashboard_user == user_id()) : ?> <a href="#" onclick="$('.video_type').slideDown()" class="mw_btn_s right" ><span>Add new video</span></a>
$content_id = PAGE_ID; } ?> <h2 style="padding-bottom: 5px"> <? if($form_title): ?> <? print $form_title ?> <? else : ?> Post your comment <? endif; ?> </h2> <? $update_element = 'comments_list_'.md5(serialize($content_id)); $this->template ['comments_update_element'] = $update_element; $this->load->vars ( $this->template ); ?> <? if(user_id() != 0): ?> <? comment_post_form($content_id) ?> <? else: ?> Login to post comments. <? endif; ?> <div id="<? print $update_element ?>"> <? if($list_title): ?> <h2 style="padding-bottom: 5px"><? print $list_title ?></h2> <? else : ?> <h2 style="padding-bottom: 5px">Comments</h2> <? endif; ?> <? // comments_list($content_id) ?> </div>