<div class='userinfo cc'>

	<ul class='share-list biu-share'>

<?php 

foreach($postlist as $key=>$val){

    if($val['first'] || !$val['avatar']) {

        continue;

    }

    $val['message'] = str_replace('!post_quote!:', '', $val['message']);

    $val['floortitle'] = (!empty($postno[$val['number']]) ? $postno[$val['number']] : $val['number'].'#');

    if(array_key_exists('videolist', $val) && $val['videolist']) {

        foreach($val['videolist'] as $videourl) {

            if(!preg_match('/http:\/\/v\.youku\.com\/v_show\/id_(\S+)\.html/i', $videourl, $match)) {

                continue;

            }

            $val['message'] .= '<div class="videoCon"><iframe src="http://player.youku.com/embed/'.$match[1].'" width="240" height="136" frameborder="0"></iframe></div>';

        }

    }

?>

<li class='item-view share-view' pid='<?php echo $val['pid'];?>'>

	<div>

		<a href='javascript:void(0);' onclick='lbsPerson(<?php echo $val['uid']; ?>)' title='$val[author]' class='user-hd'><?php echo $val['avatar']; ?></a>

		<div class='hd-name'>

		<a href='javascript:void(0);' onclick='lbsPerson(<?php echo $val['uid']; ?>)' class='user-txt-name share-size'><?php echo $val['author']; ?></a> 

		<?php if($val['requtename']){ ?>

			<?php echo odz_lang('reply');?><span class='share-size'><?php echo $val['requtename'];?></span>

		<?php }?>

		<p class='hd-time'><?php echo $val['dateline']; ?></p>

		<div class='hd-time hd-s share-text-size'><?php echo $val['message'];?></div>

		

			<ul class='ul-reply'>

			<?php if($modmenu['thread']) { ?>

				<?php if(($_G['forum']['ismoderator'] && $_G['group']['alloweditpost'] && (!in_array($post['adminid'], array(1, 2, 3)) || $_G['adminid'] <= $post['adminid']))) { ?>

					<li><a href='javascript:editpost(<?php echo $val['pid']; ?>);'><?php echo odz_lang('edit'); ?></a></li>

				<?php } ?>

				<?php if($_G['group']['allowdelpost'] && !$rushreply) { ?>

					<li><a href="javascript:deletepost('post', <?php echo $val['pid']; ?>);"><?php echo odz_lang('delete'); ?></a></li>

				<?php } ?>

			<?php } ?>

				<li><a commentid="<?php echo $val['tid']; ?>" onclick=<?php echo 'testClick("changePage",'.$val['pid'].','.$val['uid'].',"'.$val['author'].'")'?>><?php echo odz_lang('reply');?></a></li>

			</ul>

		</div>

	</div>

</li>



<?php } ?>

</ul>

</div>