Advertisement
Guest User

Untitled

a guest
Oct 24th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. <tr>
  2. <?php if ($work_name !=$currentWork) { ?>
  3. <td>
  4. <?php
  5. if ($name != $currentName) {
  6.  
  7. echo html_encode($name);
  8. }
  9.  
  10. $currentName = $name;
  11.  
  12. ?>
  13. </td>
  14.  
  15.  
  16. <td><i>
  17. <?php
  18. if ($work_name !=$currentWork) {
  19.  
  20. echo html_encode($work_name);
  21. }
  22.  
  23. else {
  24.  
  25. echo " ";
  26. }
  27. $currentWork = $work_name;
  28.  
  29.  
  30. ?></i></td>
  31.  
  32. <td>
  33. <?php
  34. if ($role_attrs->name == $previousRole) {
  35. continue;
  36.  
  37. }
  38.  
  39. else {
  40. echo html_encode($role_attrs->name);
  41.  
  42.  
  43. }
  44.  
  45. $previousRole = $role_attrs->name;
  46.  
  47. ?></td>
  48. </tr>
  49.  
  50. <tr>
  51. <td colspan="2">a cell using 2 colums</td>
  52. </tr>
  53. <tr>
  54. <td rowspan="2">a cell using 2 rows</td>
  55. </tr>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement