Skip to content

Commit

Permalink
前台换肤修正
Browse files Browse the repository at this point in the history
  • Loading branch information
thinksaas committed Sep 19, 2016
1 parent d2a9f9c commit 09f00e4
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 32 deletions.
2 changes: 1 addition & 1 deletion app/article/html/index.html
Expand Up @@ -51,7 +51,7 @@
<div class="col-md-4">

<a class="btn btn-info btn-block btn-lg" href="{tsUrl('article','add')}">
<span class="glyphicon glyphicon-plus-sign"></span> 写文章</a>
<span class="glyphicon glyphicon-plus-sign"></span> 发布文章</a>
<p></p>


Expand Down
19 changes: 13 additions & 6 deletions app/group/html/show.html
Expand Up @@ -159,12 +159,19 @@ <h1>{$strGroup[groupname]}</h1>
<div class="panel panel-default">
<div class="panel-heading">成员 <small><a href="{tsUrl('group','user',array('id'=>$strGroup['groupid']))}">更多</a></small></div>
<div class="panel-body">
{loop $arrGroupUser $key $item}
<dl class="obu">
<dt><a href="{tsUrl('user','space',array('id'=>$item[userid]))}" rel="face" uid="{$item['userid']}"><img class="img-circle" src="{$item[face]}" width="48" height="48" alt="{$item[username]}" title="{$item[username]}" /></a></dt>
<dd>{$item[username]}</dd>
</dl>
{/loop}



<div class="row">
{loop $arrGroupUser $key $item}
<div class="col-md-3 tac">
<a href="{tsUrl('user','space',array('id'=>$item[userid]))}" rel="face" uid="{$item['userid']}"><img class="img-circle" src="{$item[face]}" width="48" height="48" alt="{$item[username]}" title="{$item[username]}" /></a>
<div class="username pd100"><a href="{tsUrl('user','space',array('id'=>$item[userid]))}">{$item[username]}</a></div>
</div>
{/loop}
</div>


</div>
</div>

Expand Down
66 changes: 43 additions & 23 deletions app/photo/html/photo_edit.html
@@ -1,42 +1,62 @@
{template header}

<div class="midder">
<div class="container">

<div class="mc">

<div class="bbox">
{template menu}
<h1>编辑图片信息</h1>

<div class="panel panel-default">
<div class="panel-heading">编辑图片信息</div>
<div class="panel-body">


<div style="padding-left:200px;">

<form method="post" action="{tsUrl('photo','edit',array('ts'=>'do'))}">
<div class="row">
<div class="col-md-3"></div>
<div class="col-md-6">

<p>图片:</p>
<p>
<img src="{php echo tsXimg($strPhoto['photourl'],'photo','170','170',$strPhoto['path'],1)}" />
</p>
<p>图片名称:</p>
<p><input style="width:300px;" name="photoname" value="{$strPhoto['photoname']}" /></p>
<p>图片介绍:</p>
<p><textarea style="width:300px;height:100px;" name="photodesc">{$strPhoto['photodesc']}</textarea></p>

<p>
<input type="hidden" name="photoid" value="{$strPhoto['photoid']}" />

<input type="hidden" name="token" value="{$_SESSION['token']}" />
<form method="post" action="{tsUrl('photo','edit',array('ts'=>'do'))}">

<p>图片:</p>
<p>
<img src="{php echo tsXimg($strPhoto['photourl'],'photo','170','170',$strPhoto['path'],1)}" />
</p>
<p>图片名称:</p>
<p><input style="width:300px;" name="photoname" value="{$strPhoto['photoname']}" /></p>
<p>图片介绍:</p>
<p><textarea style="width:300px;height:100px;" name="photodesc">{$strPhoto['photodesc']}</textarea></p>

<p>
<input type="hidden" name="photoid" value="{$strPhoto['photoid']}" />

<input type="hidden" name="token" value="{$_SESSION['token']}" />

<input class="btn btn-success" type="submit" value="修改" />

<a class="btn btn-default" href="{tsUrl('photo','show',array('id'=>$photoid))}">返回</a>

</p>
</form>




</div>
<div class="col-md-3"></div>
</div>





</div>
</div>

<input class="btn btn-success" type="submit" value="修改" /></p>
</form>
</div>



</div>

</div>
</div>

{template footer}
4 changes: 2 additions & 2 deletions plugins/home/photo/photo.html
Expand Up @@ -10,8 +10,8 @@
<a href="{tsUrl('photo','album',array('id'=>$item[albumid]))}" class="thumbnail">
<img src="{if $item[albumface] == ''}{SITE_URL}app/photo/skins/default/photo_album.png{else}{php echo tsXimg($item[albumface],'photo',170,'170',$item[path],1)}{/if}" alt="{$item['albumname']}">
</a>
<p>{$item['albumname']}</p>
<p>{$item['count_photo']} 张图片</p>
<p><a href="{tsUrl('photo','album',array('id'=>$item[albumid]))}">{$item['albumname']}</a></p>
<p class="c9">{$item['count_photo']} 张图片</p>
</div>
{/loop}
</div>
Expand Down

0 comments on commit 09f00e4

Please sign in to comment.