<?php $result = db_fetch_object(db_query("SELECT * FROM {alim_commentedurl} WHERE cid = %d", $cid)); ?> <?php $count = db_affected_rows($result); ?> <?php if(($result->cid)!='') { ?><span style="color:#339933;"><br /> Edited<?php print " (".$count.")"; ?></span> <?php print time_since($uptime)." ago "; ?><?php } else { ?> <?php print $created." ago "; } ?></div> <div style="width:150px;float:left;"> <?php if ($user->uid){ ?> <?php print vud_widget_proxy($cid, 'comment', 'vote', 'plain', $readonly=NULL); ?> <?php } else{?> <span id="not_log" ><?php print vud_widget_proxy($cid, 'comment', 'vote', 'plain', $readonly=NULL); ?> <a class="rpxnow" style="text-decoration:none;color:#333333;font-size:11px;float:right;" onclick="return false;" href="https://alim-foundation.rpxnow.com/openid/v2/signin?token_url=<?php print $base_url; ?>/rpx/end_point"> <img style="padding-right:5px;" src="<?php print $img_theme_path; ?>/likebut.jpg" /><img style="padding-right:5px;" src="<?php print $img_theme_path; ?>/unlikebut.jpg" /></a> </span> <?php } //print vud_widget_proxy($cid, 'comment', 'vote', 'plain', $readonly=NULL); /*$n = node_load($com_nodid); $com = _comment_load($cid); print alim_comment_view($com,$n, $links = array(), $visible = TRUE); */ ?></div></div> <span><?php //print $body; ?> <?php // print_r($n); print $comment;
<div style="width:430px;float:left;" ><b><?php //print $name_auth; ?></b> </div> <div style="width:175px;float:left;"> <?php if ($user->uid){ ?> <div style="clear:both;"> <div style=""> <?php print vud_votes_proxy($nid, 'node', 'vote', 'plain', $readonly=NULL); ?> </div> <div style="margin-left:118px;margin-top:-17px;"> <?php print vud_widget_proxy($nid, 'node', 'vote', 'plain', $readonly=NULL); ?> </div></div> <?php } else{?> <span id="not_log" ><?php //print vud_widget_proxy($cid, 'comment', 'vote', 'plain', $readonly=NULL); print vud_votes_proxy($nid, 'node', 'vote', 'plain'); ?> <a class="rpxnow" style="text-decoration:none;color:#333333;font-size:11px;float:right;" onclick="return false;" href="https://alim-foundation.rpxnow.com/openid/v2/signin?token_url=<?php print $base_url; ?>/rpx/end_point"> <img style="padding-right:5px;" height="18px" width="18px" src="<?php print $img_theme_path; ?>/likebut.png" /><img style="padding-right:5px;" height="18px" width="18px" src="<?php print $img_theme_path; ?>/unlikebut.png" /></a> </span> <?php } //print vud_widget_proxy($cid, 'comment', 'vote', 'plain', $readonly=NULL); /*$n = node_load($com_nodid); $com = _comment_load($cid); print alim_comment_view($com,$n, $links = array(), $visible = TRUE);