_orderSelectStu.php 1.4 KB

12345678910111213141516171819202122232425262728
  1. <h2>可选学生</h2>
  2. <ul>
  3. <?php if ($relStuList): ?>
  4. <li class="grade"></span>
  5. <?php foreach ($relStuList as $classId => $stus): ?>
  6. <ul class="student-list">
  7. <li class="class-li">▾
  8. <span class="classTitle"><?php echo isset($className[$classId])?$className[$classId]:''; ?></span>
  9. <a type="button" class="btn-select_all">全选</a>
  10. <ul class="student-name_box">
  11. <?php foreach ($stus as $stu): ?>
  12. <li>
  13. <label><?php echo $stu['studentName']; ?>
  14. <input type="checkbox" name="studentName"
  15. value="<?php echo $stu['osId']; ?>"
  16. classId="<?php echo $classId;?>"
  17. gradeName="<?php echo isset($relStuList['gradeText'])?$relStuList['gradeText']:''; ?>"
  18. className="<?php echo isset($className[$classId])?$className[$classId]:''; ?>"/>
  19. </label>
  20. </li>
  21. <?php endforeach; ?>
  22. </ul>
  23. </li>
  24. </ul>
  25. <?php endforeach; ?>
  26. </li>
  27. <?php endif; ?>
  28. </ul>