1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <{include file="admin/header.html"}>
- <{include file="admin/nav.html"}>
- <div class="container">
- <form id="myform" method="post" action="<{$web_cfg.domain}>?c=admin_Lottery&a=UpEventVote" enctype="multipart/form-data" >
- <table class="table">
- <tr>
- <td>标题:</td>
- <input type="hidden" name="vote_id" value='<{$voteOneData.id}>'>
- <input type="hidden" name="events_id" value='<{$voteOneData.events_id}>'>
- <td><input type="text" name='title' value='<{$voteOneData.title}>'></td>
- </tr>
- <tr>
- <td>图片:</td>
- <td>
- <{if $letters_data.img_url!='null'}>
- <img src="<{$voteOneData.img_url}>"></img>
- <{else}>
- 未上传
- <{/if}>
- <input type="hidden" name='old_img_url' value="<{$voteOneData.img_url}>" >
- <input type="file" accept="image/jpeg,image/png,image/bmp" name="image[]" multiple="multiple">
- </td>
- </tr>
- <tr>
- <td>作弊数:</td>
- <td><input type="text" name="add_num" id="add_num" style="width:150px;" value="<{$voteOneData.add_num}>"></td>
- </tr>
-
- </table>
- <a id="ti_sut" class="btn btn-primary" style="padding:1px;" href="javascript:;">修改</a>
- </div>
- <script type="text/javascript">
- KISSY.use("node, io, json,jquery", function(S, Node, IO, JSON, jQuery){
- $('#ti_sut').click(function(){
-
- $("#myform").submit();
- });
- });
- </script>
- <{include file="admin/bottom.html"}>
|