Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [HTML]Problem z kodem HTML
o2w5n778
post
Post #1





Grupa: Zarejestrowani
Postów: 235
Pomógł: 0
Dołączył: 10.12.2009

Ostrzeżenie: (0%)
-----


Heyka!
Mam problem z kodem HTML, jak wstawiam skrypt logowania to tabelki się przemieszczają.
Czy ktoś by mi mógł poprawić ten kod HTML?
Jak ktoś pomoże wciskam "POMÓGŁ"!

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
  2.  
  3.  
  4.  
  5. <title>Orange</title>
  6. <meta http-equiv="Content-type" content="text/html; charset=iso-8859-2">
  7.  
  8.  
  9. <style type="text/css">
  10. body{ font-family: verdana,tahoma;font-size: 11px;color: #000;background-color: #fff;}
  11. td { font-family: verdana,tahoma;font-size: 11px;color: #000}
  12.  
  13. a:link,a:visited,a:active {color: #000;text-decoration: none;}
  14. a:hover {color: #9E3F09;text-decoration: underline;}
  15.  
  16.  
  17. .top {background: url(images/top.jpg); width:800px;height:161px}
  18. .m {background: url(images/tlo.jpg); width:200px;height:30px;text-align:center;font-weight:bold;color:#fff}
  19. .m2 {background: url(images/tlo.jpg); width:30px;height:30px;text-align:center;font-weight:bold;color:#fff}
  20. .t {text-align:center;border:1px solid #D87136;padding:10px;font-size:11px;letter-spacing:1px}
  21. .brd {border:1px solid #C6C6C6}
  22.  
  23. .linki {padding:5px;letter-spacing:1px}
  24. .newsy {padding:10px;text-align:justify}
  25.  
  26. .stopka {border:1px solid #8C8C8C;padding:5px;font-size:11px;letter-spacing:1px;}
  27. img {border: 0px;}
  28.  
  29.  
  30. </head>
  31.  
  32.  
  33.  
  34. <table align="center" border="0" cellpadding="0" cellspacing="2" width="800">
  35.  
  36.  
  37.  
  38.  
  39. <tr>
  40.  
  41.  
  42. <td class="top" colspan="2"></td>
  43.  
  44.  
  45. </tr>
  46.  
  47.  
  48. <tr>
  49.  
  50.  
  51. <td valign="top">
  52.  
  53.  
  54. <table class="brd" cellpadding="0" cellspacing="0">
  55.  
  56.  
  57.  
  58. <tr>
  59.  
  60. <td class="m">Menu gł&oacute;wne</td>
  61.  
  62. </tr>
  63.  
  64.  
  65. <tr>
  66.  
  67. <td>
  68.  
  69. <div class="linki">
  70. <img src="images/arrow.gif" alt=""> <a href="">Strona gł&oacute;wna</a><br>
  71.  
  72.  
  73. <img src="images/arrow.gif" alt=""> <a href="">Kontakt</a><br>
  74.  
  75.  
  76. <img src="images/arrow.gif" alt=""> <a href="">Forum</a> <br>
  77.  
  78.  
  79. <img src="images/arrow.gif" alt=""> <a href="">Reklama</a> <br>
  80.  
  81.  
  82. <img src="images/arrow.gif" alt=""> <a href="">Redakcja</a>
  83. </div>
  84.  
  85.  
  86. </td>
  87.  
  88. </tr>
  89.  
  90.  
  91.  
  92.  
  93. </tbody>
  94.  
  95. </table>
  96.  
  97.  
  98.  
  99. <br>
  100.  
  101.  
  102.  
  103.  
  104.  
  105. <table class="brd" cellpadding="0" cellspacing="0">
  106.  
  107.  
  108.  
  109. <tr>
  110.  
  111. <td class="m">Kategorie</td>
  112.  
  113. </tr>
  114.  
  115.  
  116. <tr>
  117.  
  118. <td>
  119.  
  120. <div class="linki">
  121. <img src="images/arrow.gif" alt=""> <a href="">Programy</a><br>
  122.  
  123.  
  124. <img src="images/arrow.gif" alt=""> <a href="">Patche</a><br>
  125.  
  126.  
  127. <img src="images/arrow.gif" alt=""> <a href="">Sterowniki</a> <br>
  128.  
  129.  
  130. <img src="images/arrow.gif" alt=""> <a href="">Gry</a> <br>
  131.  
  132.  
  133. <img src="images/arrow.gif" alt=""> <a href="">Inne</a>
  134. </div>
  135.  
  136.  
  137. </td>
  138.  
  139. </tr>
  140.  
  141.  
  142.  
  143.  
  144. </tbody>
  145.  
  146. </table>
  147.  
  148.  
  149. </td>
  150.  
  151.  
  152.  
  153.  
  154. <td valign="top">
  155.  
  156.  
  157. <table style="width: 600px; height: 46px;" class="brd" cellpadding="0" cellspacing="0">
  158.  
  159.  
  160.  
  161. <tr>
  162.  
  163. <td class="m2">Newsy</td>
  164.  
  165. </tr>
  166.  
  167.  
  168. <tr>
  169.  
  170. <td width="390">tekst</td>
  171.  
  172. </tr>
  173.  
  174.  
  175.  
  176.  
  177. </tbody>
  178.  
  179. </table>
  180.  
  181.  
  182.  
  183. </td>
  184.  
  185.  
  186.  
  187.  
  188. </tr>
  189.  
  190.  
  191.  
  192. <tr>
  193.  
  194.  
  195. <td class="stopka" colspan="2">
  196. Copyright by XYZ&nbsp;
  197. </td>
  198.  
  199.  
  200. </tr>
  201.  
  202.  
  203.  
  204. </tbody>
  205.  
  206.  
  207.  
  208. </body>
  209. </html>
  210.  
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
o2w5n778
post
Post #2





Grupa: Zarejestrowani
Postów: 235
Pomógł: 0
Dołączył: 10.12.2009

Ostrzeżenie: (0%)
-----


Mam już poprawione, trzeba wstawić panel logowania:
  1. <?php
  2.  
  3. include("include/session.php");
  4. $page = "main.php";
  5. ?>
  6.  
  7. <html>
  8. <head>
  9. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  10. <title>Skrypt logowanie/rejestracja</title>
  11.  
  12. <link rel="stylesheet" href="style.css" type="text/css" />
  13. </head>
  14. <body>
  15.  
  16. <div id="main" class="container_12">
  17.  
  18. <table>
  19. <tr><td>
  20. <?php
  21.  
  22. if($session->logged_in){
  23.  
  24.  
  25. ?>
  26.  
  27. Witaj, <b><?php echo $session->username; ?></b> |
  28. [<a href="userinfo.php?user=<?php echo $session->username; ?>">Mój profil</a>]&nbsp;[<a href="useredit.php">Edytuj profil</a>]
  29. <?
  30. if(MAIL){
  31. $q = "SELECT mail_id FROM ".TBL_MAIL." WHERE UserTo = '$session->username' and status = 'unread'";
  32. $numUnreadMail = $database->query($q) or die(mysql_error());
  33. $numUnreadMail = mysql_num_rows($numUnreadMail);
  34.  
  35. echo "[<a href=\"mail.php\">Masz $numUnreadMail nowych wiadomości</a>]&nbsp;";
  36. }
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43. ?>
  44.  
  45.  
  46.  
  47. <?php
  48. if($session->isAdmin()){
  49. echo "[<a href=\"admin/admin.php\">Panel Administratora</a>]&nbsp;";
  50. }
  51. echo "[<a href=\"process.php\">Wyloguj</a>]";?></p><?php
  52. }
  53. else{
  54. ?>
  55.  
  56. <div id="login">
  57.  
  58. <?php
  59.  
  60. if($form->num_errors > 0){
  61. echo "<font size=\"2\" color=\"#ff0000\">".$form->num_errors." błąd(ów) znaleziono</font>";
  62. }
  63. ?>
  64.  
  65. <form action="process.php" method="POST">
  66. <div class='adminbox_title'>Logowanie</div>
  67. <div class='adminbox'>
  68. <table cellpadding='3' cellspacing='0' border='0' align='center'>
  69. <td rowspan='3' valign='top'><img src='admin/access.gif' alt='Access' style='margin-right:0px;'></td>
  70. <td>Nick:</td><td><input type="text" name="user" class="intxt" maxlength="30" value="<?php echo $form->value("user"); ?>"></td><td><?php echo $form->error("user"); ?></td></tr>
  71. <td>Hasło:</td><td><input type="password" name="pass" class="intxt" maxlength="30" value="<?php echo $form->value("pass"); ?>"></td><td><?php echo $form->error("pass"); ?></td></tr>
  72. <td colspan="2" align="left">
  73. <input type="checkbox" name="remember" <?php if($form->value("remember") != ""){ echo "checked"; } ?>>Zapamiętaj Mnie
  74. <input type="hidden" name="sublogin" value="1">
  75. <input type="submit" value="Zaloguj">
  76.  
  77. <br /><a href="forgotpass.php">Zapomniałeś hasła?</a><br>
  78. <a href="register.php">Zarejestruj się!</a><br>
  79. <?php
  80. if(EMAIL_WELCOME){
  81. echo "<a href='valid.php'>Wyślij ponownie kod aktywacyjny</a>";
  82. }
  83. ?></td></tr>
  84. </table>
  85. </div>
  86. </form>
  87.  
  88. </div><!-- #login -->
  89. <?php
  90. }
  91.  
  92.  
  93. ?>
  94. <div id="footer"><br />
  95.  
  96.  
  97.  
  98. <?
  99.  
  100.  
  101.  
  102. echo "</td></tr><tr><td align=\"center\"><br><br>";
  103. echo "<b>Użytkowników:</b> ".$database->getNumMembers()."<br>";
  104. echo "Jest $database->num_active_users zarejestrowanych użytkowników i ";
  105. echo "$database->num_active_guests gości przeglądających stronę.<br><br>";
  106.  
  107. include("include/view_active.php");
  108.  
  109. ?>
  110. </td></tr>
  111. </table>
  112.  
  113.  
  114. </div><!-- #footer -->
  115.  
  116. </div><!-- #main -->
  117.  
  118.  
  119. </body>
  120. </html>
  121.  




W tą stronę (lewy panel o nazwie logowanie):
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23. <title>Orange</title>
  24. <meta http-equiv="Content-type" content="text/html; charset=iso-8859-2">
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39. <style type="text/css">
  40. body{ font-family: verdana,tahoma;font-size: 11px;color: #000;background-color: #fff;}
  41. td { font-family: verdana,tahoma;font-size: 11px;color: #000}
  42.  
  43. a:link,a:visited,a:active {color: #000;text-decoration: none;}
  44. a:hover {color: #9E3F09;text-decoration: underline;}
  45.  
  46.  
  47. .top {background: url(images/top.jpg); width:800px;height:161px}
  48. .m {background: url(images/tlo.jpg); width:200px;height:30px;text-align:center;font-weight:bold;color:#fff}
  49. .m2 {background: url(images/tlo.jpg); width:30px;height:30px;text-align:center;font-weight:bold;color:#fff}
  50. .t {text-align:center;border:1px solid #D87136;padding:10px;font-size:11px;letter-spacing:1px}
  51. .brd {border:1px solid #C6C6C6}
  52.  
  53. .linki {padding:5px;letter-spacing:1px}
  54. .newsy {padding:10px;text-align:justify}
  55.  
  56. .stopka {border:1px solid #8C8C8C;padding:5px;font-size:11px;letter-spacing:1px;}
  57. img {border: 0px;}
  58.  
  59.  
  60. </style>
  61. </head>
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71. <table align="center" border="0" cellpadding="0" cellspacing="2" width="800">
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88. <tr>
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97. <td class="top" colspan="2"></td>
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106. </tr>
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115. <tr>
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124. <td valign="top">
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133. <table class="brd" cellpadding="0" cellspacing="0">
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149. <tr>
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157. <td class="m">Menu gł&oacute;wne</td>
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165. </tr>
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174. <tr>
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182. <td>
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190. <div class="linki">
  191. <img src="images/arrow.gif" alt=""> <a href="">Strona gł&oacute;wna</a><br>
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200. <img src="images/arrow.gif" alt=""> <a href="">Kontakt</a><br>
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209. <img src="images/arrow.gif" alt=""> <a href="">Forum</a> <br>
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218. <img src="images/arrow.gif" alt=""> <a href="">Reklama</a> <br>
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227. <img src="images/arrow.gif" alt=""> <a href="">Redakcja</a>
  228. </div>
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237. </td>
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245. </tr>
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262. </tbody>
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270. </table>
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280. <br>
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298. <table class="brd" cellpadding="0" cellspacing="0">
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314. <tr>
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322. <td class="m">Logowanie</td>
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330. </tr>
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339. <tr>
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347. <td style="text-align: center;">logowanie</td>
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355. </tr>
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372. </tbody>
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380. </table>
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389. </td>
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400. <td valign="top">
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409. <table style="width: 600px; height: 46px;" class="brd" cellpadding="0" cellspacing="0">
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425. <tr>
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433. <td class="m2">Newsy</td>
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441. </tr>
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450. <tr>
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458. <td style="text-align: center;" width="390"><br>
  459. <br>
  460. <br>
  461. <br>
  462. <br>
  463. <br>
  464. <br>
  465. <br>
  466. <br>
  467. <br>
  468. <br>
  469. <br>
  470. <br>
  471. <br>
  472. <br>
  473. <br>
  474. dsadsadsadadsa</td>
  475.  
  476.  
  477.  
  478.  
  479.  
  480.  
  481.  
  482. </tr>
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499. </tbody>
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507. </table>
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517. </td>
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528. </tr>
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538. <tr>
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547. <td class="stopka" colspan="2">
  548. Copyright by Beowulf_PL
  549. </td>
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558. </tr>
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574. </tbody>
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584. </body>
  585. </html>
  586.  


Ten post edytował o2w5n778 21.06.2010, 12:30:57
Go to the top of the page
+Quote Post

Posty w temacie
- o2w5n778   [HTML]Problem z kodem HTML   21.06.2010, 09:06:51
- - nospor   1) CytatJak ktoś pomoże wciskam "POMÓGŁ...   21.06.2010, 09:10:21
- - o2w5n778   Kodu logowania nie podam bo ten skrypt kupiłem, na...   21.06.2010, 09:13:02
- - nospor   No to jak my mamy ci to poprawić, skoro nie wiemy ...   21.06.2010, 09:15:42
- - darophp   Nie rozumiem takich ludzi. Jeśli mam się czegoś do...   21.06.2010, 09:45:32
- - o2w5n778   Skrypt logowania wywoływałem [PHP] pobierz, plaint...   21.06.2010, 10:11:28
|- - lepmajster   Cytat(o2w5n778 @ 21.06.2010, 11:11:28...   21.06.2010, 10:21:46
- - phpion   Pokaż gdzie go wywoływałeś i na przyszłość nie drz...   21.06.2010, 10:22:08
- - o2w5n778   Wywołuje go: [HTML] pobierz, plaintext <td clas...   21.06.2010, 10:42:18
- - lepmajster   Poza tym ze w kodzie jest istny burdel, to w dodat...   21.06.2010, 10:45:31
- - nospor   Przeciez Twoj skrypt logowania ,co to go wkladasz,...   21.06.2010, 10:46:38
- - o2w5n778   O kurde :] To pomożecie mi jakoś wstawić ten skryp...   21.06.2010, 10:48:08
- - phpion   Wywal z niego: [HTML] pobierz, plaintext <html...   21.06.2010, 10:50:46
- - o2w5n778   No i sie tabela rozwala... Stopka sie przeniosla d...   21.06.2010, 11:02:24
- - phpion   To zgłoś się do tego, kto ci ten skrypt sprzedał. ...   21.06.2010, 11:30:26
- - o2w5n778   Mam już poprawione, trzeba wstawić panel logowania...   21.06.2010, 12:29:56
|- - phpion   Cytat(o2w5n778 @ 21.06.2010, 13:29:56...   21.06.2010, 12:32:53
- - o2w5n778   A nie pomógł byś wstawić? Bo ja PHP to nie za bard...   21.06.2010, 12:43:01
|- - lepmajster   Cytat(o2w5n778 @ 21.06.2010, 13:43:01...   21.06.2010, 13:14:25
- - o2w5n778   Szablon napisałem w Notepad ++, a edytuje go progr...   21.06.2010, 13:25:01
- - lepmajster   Daj to w BBCODE A teraz tam gdzie chcesz wstawic ...   21.06.2010, 13:27:43
- - o2w5n778   Spoko, skrypt wyświetla, ale jak mi już ten skrypt...   21.06.2010, 13:47:22
- - lepmajster   Przypatrz sie uwaznie czemu ci rozwala. Widac jak ...   21.06.2010, 13:52:40
- - o2w5n778   Tu jest nie zamknięty tag: [PHP] pobierz, plaintex...   21.06.2010, 14:50:48
- - lepmajster   Po pierwsze jak zamykasz </tr> to nie dajesz...   21.06.2010, 14:54:49
- - pedro84   1. Wiesz co to DOCTYPE? 2. Tabeli nie potrafisz zb...   21.06.2010, 15:03:37
- - o2w5n778   Nie znam sie prawie na tym tez prosze Was o pomoc....   21.06.2010, 15:11:07
- - yevaud   przeczytaj jakies tutoriale, kursy html i generaln...   21.06.2010, 15:12:38
- - o2w5n778   jazda samochodem i php+html to sa dwie roznie rzec...   21.06.2010, 15:14:51
|- - pedro84   Cytat(o2w5n778 @ 21.06.2010, 16:14:51...   21.06.2010, 15:15:21
- - o2w5n778   HELP!!!   21.06.2010, 15:18:35
- - Spawnm   Cross + lenistwo. Takie prośby to w dziale giełda...   21.06.2010, 15:26:34


Closed TopicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 5.10.2025 - 09:03