123456789101112131415161718192021222324252627282930313233343536 |
- <{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=AddEventVote" enctype="multipart/form-data" >
- <input type="hidden" name="events_id" value='<{$events_id}>'>
- <table class="table">
- <tr>
- <td>标题:</td>
- <td><input type="text" name='title' value='<{$voteOneData.title}>'></td>
- </tr>
- <tr>
- <td>图片:</td>
- <td>
- <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=""></td>
- </tr>
-
- </table>
- <button id="ti_sut" class="btn btn-primary" style="padding:1px;" href="javascript:;">修改</button>
- </div>
- <script type="text/javascript">
- KISSY.use("node", function(S, Node){
- $('#ti_sut').click(function(){
- var title = S.trim($('input[name=title]').val());
- if (title == '') {
- alert('请填写标题');return false;
- }
- });
- });
- </script>
- <{include file="admin/bottom.html"}>
|