<?php
if (!defined('IN_CONTEXT')) die('access violation error!');

if (sizeof($qqs) > 0) {
?>
<div class="list_main">
				<div class="list_con">
					<div class="qq_list_con">
<?php foreach ($qqs as $qq) {
    if($qq->category == 1){
?>
	<a href="msnim:chat?contact=<?php echo $qq->account; ?>"><img src="<?php echo P_TPL_WEB; ?>/images/MSN.jpg" alt="MSN"><?php if($show_acct) echo $qq->account; ?></a>
    
<?php } else if ($qq->category == 2) { ?>
	<a href="http://amos.im.alisoft.com/msg.aw?v=2&amp;uid=<?php echo $qq->account; ?>&amp;site=cntaobao&amp;s=1&amp;charset=utf-8" target=_blank><img alt="" src="http://amos.im.alisoft.com/online.aw?v=2&amp;uid=<?php echo $qq->account; ?>&amp;site=cntaobao&amp;s=1&amp;charset=utf-8" border=0><?php if($show_acct) echo $qq->account; ?></a>
    
<?php } else { ?>
	<a href="tencent://message/?uin=<?php echo $qq->account; ?>&amp;Menu=yes" target=blank><img src="http://wpa.qq.com/pa?p=4:<?php echo $qq->account; ?>:4" align=absMiddle border=0><?php if($show_acct) echo $qq->account; ?></a>
   
<?php } } } ?>
	<div class="blankbar1"></div>
	</div>
	</div>
	<div class="list_bot"></div>
</div>
<div class="blankbar"></div>
<script>
<?php if($show_acct){ ?>
$(".qq_list_con>a").width($(".qq_list_con").width()/2);
<?php }
else{?>
$(".qq_list_con>a").width($(".qq_list_con").width()/6);
<?php }?>
</script>