stuinfo.php 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <div class="main-content">
  2. <form action="&lt;?php echo Yii::app()-&gt;createUrl('order/insert')?&gt;" method="post" id="orderAdd" enctype="multipart/form-data">
  3. <div class="step-one steps-choose show">
  4. <ul class="mr20">
  5. <li><h3><?php echo $classname['class_name'] ?>已购买学生明细</h3></li>
  6. </ul>
  7. </div>
  8. <div class="mr20">
  9. <table class="table table-striped table-bordered table-hover dataTable no-footer DTTT_selectable">
  10. <thead>
  11. <tr>
  12. <th class="textCenter">序号</th>
  13. <th class="textCenter">姓名</th>
  14. </tr>
  15. </thead>
  16. <tbody class="textCenter">
  17. <?php
  18. foreach($stu as $k=>$v){
  19. ?>
  20. <tr>
  21. <td><?php echo $k+1 ?></td>
  22. <td><?php echo isset($v->student_name)?$v->student_name:$v->realname ?></td>
  23. </tr>
  24. <?php }
  25. ?>
  26. </tbody>
  27. </table>
  28. </div>
  29. <div class="create-orders">
  30. <input type="hidden" value="" class="dahei" name="student_ids">
  31. <input type="hidden" value="" id="class_name" name="class_name">
  32. <input type="hidden" value="" id="good_type_name" name="good_type_name">
  33. <input type="button" name="my_submit" id="my_submit" class="btn btn-success btn-sm" value="返回" onclick="javascript:history.go(-1)" style="width:100px">
  34. </div>
  35. <div class="ttd dn" style="display: none;">
  36. <div class="s-state clearfix posirela">
  37. <div class="hint_size clearfix">
  38. <span class="fl ml15">错误信息</span>
  39. </div>
  40. <div class="mistake_character">
  41. <p class="ml15" id="err_msg"></p>
  42. <div class="clearfix" style="width:180px;margin:0px auto;text-align:center">
  43. <p class="mt20"><button class="roger shut">确定</button></p>
  44. </div>
  45. </div>
  46. </div>
  47. </div>
  48. </form>
  49. </div>