Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> Klasa HTML, Poszukuje dobrej klasy HTML
yarns
post 13.01.2006, 17:41:44
Post #1





Grupa: Zarejestrowani
Postów: 16
Pomógł: 0
Dołączył: 15.06.2005

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


Witam serdecznie,

czy ktoś z szanownych grupowiczy posiada lub wie gdzie znaleźć dobrą klase HTML?

Pozdrawiam
Go to the top of the page
+Quote Post
FiDO
post 13.01.2006, 17:50:11
Post #2





Grupa: Przyjaciele php.pl
Postów: 1 717
Pomógł: 0
Dołączył: 12.06.2002
Skąd: Wolsztyn..... Studia: Zielona Góra

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


ke ?

Mozesz wyjasnic co masz na mysli przez klase HTML ?


--------------------
Brak czasu :/
Go to the top of the page
+Quote Post
yarns
post 13.01.2006, 18:51:44
Post #3





Grupa: Zarejestrowani
Postów: 16
Pomógł: 0
Dołączył: 15.06.2005

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


Coś w stylu:

  1. <?php
  2.  
  3. class HTML {
  4. /**
  5.  * functions for table production TblsStart : start of the table, we open the ta
    g
  6.  *
  7.  * @param integer $bordure define the size of the border
  8.  * @param integer $width define the width of the table
  9.  * @param integer $height define the height of the table
  10.  * @param integer $espCell define the space between cell
  11.  * @param integer $rempCell define the remp between cell
  12.  * @param string $bordercolor define the color of the border of the table
  13.  * @param string $class use a pre define style for the table
  14.  */
  15.  
  16. function TblStart ($bordure = "1", $width = -1, $height = -1, $espCell = "2",
  17. $rempCell = "4", $bordercolor = -1, $class = -1)
  18. {
  19. $optionClasse = "" ;
  20. $optionWidth = "" ;
  21. $optionHeight = "" ;
  22. if ($bordercolor != -1)
  23. $optionClasse = " BORDERCOLOR ="$bordercolor"" ;
  24. if ($class != -1)
  25. $optionClasse .= " CLASS ="$class"" ;
  26. if ($width != -1)
  27. $optionWidth = " WIDTH ="$width"" ;
  28. if ($height != -1)
  29. $optionHeight = " HEIGHT ="$height"" ;
  30.  
  31. echo "<TABLE BORDER ="$bordure"" . " CELLSPACING ="$espCell" CELLPADDING ="$rempCell" "
  32.  . $optionWidth . $optionHeight . $optionClasse . ">n" ;
  33. } 
  34. }
  35.  
  36. ?>


Ten post edytował yarns 15.01.2006, 18:51:41
Go to the top of the page
+Quote Post
FiDO
post 13.01.2006, 20:02:24
Post #4





Grupa: Przyjaciele php.pl
Postów: 1 717
Pomógł: 0
Dołączył: 12.06.2002
Skąd: Wolsztyn..... Studia: Zielona Góra

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


Hmm.. nie znam takich, bo jakos nie przemawia do mnie ich funkcjonalnosc. Jestes pewien, ze wolisz takie cos niz jakis system szablonow ?


--------------------
Brak czasu :/
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 19.07.2025 - 19:08