{include header.html}

<script type="text/javascript">

	function suopic(Img,width,height){  
		var image=new Image();  
		image.src=Img.src;  
		if(image.width>width||image.height>height){ 
			w=image.width/width; 
			h=image.height/height; 
			if(w>h){
				Img.width=width; 
				Img.height=image.height/w; 
			}else{
				Img.height=height; 
				Img.width=image.width/h; 
			 } 
		} 
	} 
</script>
    <div class="main_bg">
        <div class="box_top">
      	</div>

        <div class="box_mid">
            <div class="left" id="content_left">
				
				<!--main start-->

				<div class="wrapper-content" id="wrapper-content" style="margin: 0px; padding-bottom: 8px; "><h1>共享长微博</h1>


					<table width="700" border="0" id="mytable1">
					<!--<tr><td align=right>
					<div style="margin-right:50px;margin-bottom:10px" class="pages">{$page}</div>
					</td></tr>-->
					<for var="myfiles" value="filelist">
					 <if condition="$filelist['img_id_title']!=''">
					  <tr>
						<td width="700" align="left">
							<div class="title_img" style="background:url(img.php?id={$filelist['img_id_title']}&type=img_id_title) no-repeat" onclick="location.href='img.php?id={$filelist['img_id']}'">
								<div style="float:right"><span>{$filelist['posttime']:date Y-m-d H:i:s}</span></div>
							</div>
						</td>
					  </tr>
					  </if>
					  <tr>
						<td width="700" height="20" align="left" style="padding-left:15px">
							<table width="100%" border="0" id="mytable1" >
								<tr>
								<td width=150>
									<a href="img.php?id={$filelist['img_id']}" target=_blank class="pdfdown"><img  src="img.php?id={$filelist['img_id']}&type=img_id" onload="suopic(this,150,150)"></a>
								</td>
								<td>
									<if condition="$filelist['img_id_intro']!=''">
										<a href="img.php?id={$filelist['img_id']}" target=_blank class="pdfdown"><img src="img.php?id={$filelist['img_id_intro']}&type=img_id_intro"></a>
									</if>

								</td>
								</tr>
								<tr>
								<td></td>
								<td>
									<a href="img.php?id={$filelist['img_id']}" target=_blank><img src="images/btnview.gif" style="padding-top:5px;"></a> 

									<a href="view.php?id={$filelist['img_id']}" target=_blank><img src="images/viewurl.gif" style="padding-top:5px;"></a> 
								</td>
								</tr>
							</table>
						</td>
					  </tr>
					  <tr>
						<td width="700" align="left" height=5>

						</td>
					  </tr>

					</for>
									<tr><td align=right>
					<div style="margin-top:20px;margin-right:50px;margin-bottom:10px" class="pages">{$page}</div>
					</td></tr>
					</table>
				</div>
				
				<!--main end-->

          	</div>
            <div class="right">
					<div style="height:765px;width:190px; "> 
					  <iframe width="190" height="765" class="share_self"  frameborder="0" scrolling="no" src="{$weibo_url}"></iframe>
					</div>
          	</div>
      	</div>

	{include bottom.html}
</div>


{include footer.html}