Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
59 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters