<li><div class="facebookico"></div><a href="http://facebook.com/<?php echo urlencode($curauth->facebook_id); ?>" target="_blank"><?php _e('Facebook','appthemes')?></a></li>
<li> <?php if($page = get_page_by_title('message'))
{
$link = get_permalink($page->ID);
echo '<a href="'.$link.'?pmaction=newmessage&to='.( $curauth->ID ).'">
<span class="pm">Send PM
</a></span></a>';
} ?>
</li>
<form name="mainform" id="mainform" class="form_contact" action="#priceblock2" method="post" enctype="multipart/form-data">
<?php if($page = get_page_by_title('message'))
{
$link = get_permalink($page->ID);
echo '<a href="'.$link.'?pmaction=newmessage&to='.get_the_author_meta("ID").'">
<span class="pm"><img class="aligncenter" title="contact" src="imagepath/demoimage.jpg" alt="" width="100" height="75" />
</a></span></a>';
} ?>
There are currently 1 users browsing this thread. (0 members and 1 guests)