Example #1
0
       </date>
       
       
       
   
   
   

    
    
    
    
    
    
    
    <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;
?>
Example #2
0
 <? else: ?>
  <? /*
  <a href="<?php 
print $post['custom_fields']['external_link'];
?>
" target="_blank">Click here to open link: <?php 
print $post['custom_fields']['external_link'];
?>
</a>
  */ ?>
  <? endif; ?>

  
   
  <div class="c">&nbsp;</div>
  <div class="gamevote"> <a  class="user_activity_likes right"  href="<? print voting_link($post['id'], '#post-likes-'.$post['id']); ?>"><strong id="post-likes-<? print ($post['id']); ?>"><? print votes_count($post['id']); ?></strong> Like</a> Vote for this game </div>
  <br />
  <h2 style="padding-bottom: 10px;">Who like this game?</h2>
  <div class="hr">&nbsp;</div>
  <ul class="user_friends_list user_friends_list_horizontal">
    <? //mw_var($post['id']); ?>
    <script type="text/javascript">
   
   
   
   $(document).ready(function() {
   refresh_voted_users()
});
	
   mw.ajaxEvent("onAfterVote", function(){
										
Example #3
0
	

	?>
    <? $thumb = CI::model('users')->getUserThumbnail( $author['id'], 70); ?>
    <a class="img" href="<? print profile_link($author['id']);?>"> <span style="background-image: url('<?  print $thumb; ?>');"></span> </a>
    <div class="post_comment_text">
    
    <? if(!empty($author)): ?>
      <div class="post_comment_author"><strong><a href="<? print profile_link( $item['created_by']);?>"><? print user_name( $item['created_by']);?> </a></strong> said:</div>
      <? else: ?>
      <div class="post_comment_author"><strong>Anonymous</strong> said:</div>
      <? endif; ?>
      
      <p class=""><? print ($item['comment_body']); ?> </p>
      <? if($item['created_by'] == user_id()): ?>
      
      <a href="javascript:mw.comments.del(<? print $item['id'];?>, '#comment-list-id-<? print $item['id'];?>')" class="comment_delete">delete</a>
      <? endif; ?>
      
    </div>
    <div class="c">&nbsp;</div>
    <div class="user_activity_bar">
      <div><a class="user_activity_likes" href="<? print voting_link($item['id'], '#post-comments-'.$item['id'], 'comments'); ?>"><strong id="post-comments-<? print ($item['id']); ?>"><? print votes_count($item['id'], false, 'comments'); ?></strong><span></span><strong >Like</strong></a></div>
    </div>
  </div>
  <?  endforeach ; ?>
</div>
<? else: ?>
No comments yet. Be the first to comment!
<? endif; ?>
  <h2 class="nomargin"><? print $post["content_title"]; ?></h2>
<div class="richtext">
    <img src="<? print thumbnail($post['id'], 250); ?>" vspace="5" hspace="5" align="left" style="float:left;margin-right:10px;" /><? print $post["the_content_body"]; ?> <br />
  <div class="user_activity_bar">
    <div>
       <span class="st_sharethis" st_url="<? print post_link($post["id"]); ?>" st_title="<? print addslashes($post["content_title"]); ?>" displayText="Share this"></span>

        <div id="share_<? print $post['id'] ?>" class="xhidden">
           <a target="_blank" class="share_facebook" href="http://www.facebook.com/sharer.php?u=<? print post_link($post['id']); ?>&t=<? print $post["content_title"]; ?>">Facebook</a>

           <a target="_blank" class="share_twitter" href="http://twitter.com/home?status=Currently reading <? print post_link($post['id']); ?>">Twitter</a>

        </div>


        <a class="user_activity_comments" href="<? print post_link($post['id']); ?>"><strong><? print comments_count($post['id']); ?></strong><span></span><strong>Comments</strong></a> <a class="user_activity_likes" href="<? print voting_link($post['id'], '#post-likes-'.$post['id']); ?>"><strong id="post-likes-<? print ($post['id']); ?>"><? print votes_count($post['id']); ?></strong><span></span><strong >Like</strong></a> </div>
  </div>
</div>
<div class="post_list" align="center"> <a href="#"><img src="<?php 
print TEMPLATE_URL;
?>
static/img/demo/list_posts_banner.jpg" alt="" /></a> </div>
<h2 style="padding: 10px 0">Comments</h2>

  <? comments_list($post['id'])  ?>


<br /> <br />
<h2 class="coment-title">Post your comment</h2>
<? comment_post_form($post['id'])  ?>
<div class="c">&nbsp;</div>
Example #5
0
<?  $the_post = get_post($the_post['id']); ?>
<div class="video_list_item">
  <a href="<? print post_link($the_post['id']); ?>" class="mw_blue_link">
      <? print $the_post['content_title'];  ?>
  </a>
  <a href="<? print post_link($the_post['id']); ?>" class="img" style="background-image:url(<? print thumbnail($the_post['id'], 150) ?>)"> </a>
  <a class="user_activity_likes left" href="<? print voting_link($the_post['id'], '#post-likes-'.$the_post['id']); ?>">
      <strong><? print votes_count($the_post['id']); ?></strong><span></span>
  </a>
  <? /*
  <a class="user_activity_comments right" href="<? print post_link($the_post['id']); ?>">
      <strong id="post-likes-<? print ($the_post['id']); ?>"><? print comments_count($the_post['id']); ?></strong><span></span>
  </a>
  */ ?>
  <span class="right red"><strong>$ <? print $the_post['custom_fields']['price'];  ?> </strong></span>
</div>
Example #6
0
              <?
	   $var_params= array();


 $var_params['selected_categories'] =  array(14);
$sched = get_posts($var_params);

	  ?>
              <? foreach($sched as $sch): ?>
              <div class="shedule_item">
                <h2><? print $sch["content_title"]; ?></h2>
                <img src="<? print thumbnail($sch['id'], 350); ?>" alt="" />
                <div class="shedule_item_txt"><? print $sch["the_content_body"]; ?></div>
                <a href="#" class="mw_blue_link">View Trailer</a>
                <div style="height: 10px;">&nbsp;</div>
                <a class="user_activity_likes" href="<? print voting_link($sch['id'], '#post-likes-'.$sch['id']); ?>"><strong id="post-likes-<? print ($sch['id']); ?>"><? print votes_count($sch['id']); ?></strong><span></span><strong >Like</strong></a>
                <div class="shedule_item_embed">
                  <textarea><? print html_entity_decode($sch['custom_fields']["embed_code"]); ?></textarea>
                </div>
              </div>
              <? endforeach; ?>
            </div>
          </div>
          <div id="schedule_ctrls"> <a href="#" id="schedule_left"></a> <a href="#" id="schedule_right"></a> </div>
        </div>
        <br />
        <br />
      </div>
    </div>
    <!-- .portlet-content -->
  </div>
Example #7
0
 <div class="post_list"><a class="img" href="<? print post_link($the_post['id']); ?>" style="background-image: url('<? print thumbnail($the_post['id'], 150); ?>')"></a>
  <div class="post_list_content"> <span class="author">Posted by <? print user_name($the_post['created_by'], 'full'); ?></span>
    <h3><a href="<? print post_link($the_post['id']); ?>"><? print $the_post['content_title'];  ?></a></h3>
    <p><? print character_limiter($the_post['content_body_nohtml']);  ?> </p>
  </div>
  <div class="c">&nbsp;</div>
  <div class="user_activity_bar"> <a class="mw_blue_link left" href="<? print post_link($the_post['id']); ?>">Read more</a>
    <div> <span class="st_sharethis" st_url="<? print post_link($the_post["id"]); ?>" st_title="<? print addslashes($the_post["content_title"]); ?>" displayText="Share this"></span> <a class="user_activity_comments" href="<? print post_link($the_post['id']); ?>"><strong><? print comments_count($the_post['id']); ?></strong><span></span><strong>Comments</strong></a> <a class="user_activity_likes" href="<? print voting_link($the_post['id'], '#post-likes-'.$the_post['id']); ?>"><strong id="post-likes-<? print ($the_post['id']); ?>"><? print votes_count($the_post['id']); ?></strong><span></span><strong >Like</strong></a> </div>
  </div>
</div>
Example #8
0
 
<div class="video_list_item"> <a href="<? print post_link($the_post['id']); ?>" class="mw_blue_link"><? print $the_post['content_title'];  ?></a> <a href="<? print post_link($the_post['id']); ?>" class="img" style="background-image:url(<? print thumbnail($the_post['id'], 150) ?>)"> </a> <a class="user_activity_likes left" href="<? print voting_link($the_post['id'], '#post-likes-'.$the_post['id']); ?>"><strong><? print votes_count($the_post['id']); ?></strong><span></span></a> <a class="user_activity_comments right" href="<? print post_link($the_post['id']); ?>"><strong id="post-likes-<? print ($the_post['id']); ?>"><? print comments_count($the_post['id']); ?></strong><span></span></a> </div>