Advertisement
Guest User

Untitled

a guest
Oct 17th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. <style>
  2. *{
  3. margin:0;
  4. box-sizing:border-box;
  5. }
  6. table, th, td{
  7. max-width: 100%; background-color: rgb(255, 255, 255); border-collapse: collapse; border-spacing: 0px; color: rgb(51, 51, 51); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; border: 1px dashed rgb(187, 187, 187); position: relative; min-width: 30px; height: 13px; text-align: center;
  8. }
  9. #day{
  10. width:20px;
  11. height:20px;
  12. border-radius:50%;
  13. background:teal;
  14. color:#fff;
  15. }
  16. td{
  17. text-align:center;
  18. }
  19. #Gruodis{
  20. letter-spacing:5px;
  21. font-size:13px;
  22. border: 1px dashed rgb(187, 187, 187); position: relative; min-width: 30px; height: 13px; text-align: center;
  23. }
  24. </style>
  25. <body>
  26. <center>
  27.  
  28. <table>
  29. <tr><th id="Gruodis"colspan="7">2019 Gruodis</th></tr>
  30. <tr><th>P</th><th>A</th><th>T</th>
  31. <th>K</th><th>Pe</th><th>S</th>
  32. <th>S</th>
  33. </tr>
  34. <?php
  35.  
  36. $c=1;
  37. for ($i=1;$i<=7;$i++){
  38. echo " <tr>";
  39. }
  40. for ($k=1;$k<=5;$k++)
  41. {
  42. echo " <td> ";
  43. for ($j=1;$j<=35;$j++)
  44. {
  45. echo " <tr> $j ";
  46. if($j%7==0) { echo " </tr> <br> "; }
  47. }
  48. echo "</td>";
  49. }
  50. ?>
  51. </table>
  52. </center>
  53. </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement