<?php $title = '缩放图片 - 社区';?>
<?php include_once tpl('globalHeader');?>
<?php echo backLink();?>
<br/>
<form action="<?php echo url('system',array('s'=>'bbs','c'=>'attachment','a'=>'thumb','aid'=>$aid));?>" method="get">
<input type="hidden" name="s" value="bbs" />
<input type="hidden" name="c" value="attachment" />
<input type="hidden" name="a" value="thumb" />
<input type="hidden" name="aid" value="<?php echo $aid;?>" />
<input type="hidden" name="sid" value="<?php echo $this->sid();?>" />
<div class="kind">请选择手机屏幕尺寸</div>
<?php echo ilink('176x220:下载',url('system',array('s'=>'bbs','c'=>'attachment','a'=>'thumb','aid'=>$aid,'w'=>176,'h'=>220)));?>
<br/>
<?php echo ilink('128x160:下载',url('system',array('s'=>'bbs','c'=>'attachment','a'=>'thumb','aid'=>$aid,'w'=>128,'h'=>160)));?>
<br/>
<?php echo ilink('240x320:下载',url('system',array('s'=>'bbs','c'=>'attachment','a'=>'thumb','aid'=>$aid,'w'=>240,'h'=>320)));?>
<br/>
<?php echo ilink('128x128:下载',url('system',array('s'=>'bbs','c'=>'attachment','a'=>'thumb','aid'=>$aid,'w'=>128,'h'=>128)));?>
<br/>
<?php echo ilink('320x480:下载',url('system',array('s'=>'bbs','c'=>'attachment','a'=>'thumb','aid'=>$aid,'w'=>320,'h'=>480)));?>
<div class="kind">自定义尺寸下载</div>
宽:<input type="text" name="w" size="4" value="240" />
<br/>
高:<input type="text" name="h" size="4" value="320" />(可留空)
<br/>
是否裁剪:<select name="cut" value="0"><option value="0">否</option><option value="1">是</option></select>
<br/>
<input type="submit" value="确定下载" />
</form>
<div class="block">
宽或高最大值为(800)
<br/>
为了保持图片的完整默认将按照输入的高和宽按比例裁剪图片
<br/>
如果您需要精确的按长宽下载，将裁剪设置为否即可
</div>
返回<?php echo backLink('上级');?>/<?php echo ilink('帖子',url('system',array('s'=>'bbs','a'=>'thread','tid'=>$tid)));?>
<br/>
<?php echo date('n/d H:i:s');?>
</html>