PHP Classes

HTML CSS Styles using PHP on Time: Store and retrieve CSS styles to use in Web pages

Recommend this page to a friend!
  Info   View files Example   View files View files (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 83 This week: 1All time: 9,991 This week: 372Up
Version License PHP version Categories
htmlstyles 1.0.0Public Domain5HTML, PHP 5


This package can be used to store and retrieve CSS styles to use in Web pages.

It provides traits that can be used by classes to store values in a NoSQL database that associate a record that validate CSS values to use in Web pages.

The package can also retrieve the CSS value, so applications can use the CSS Styles when they render the HTML of the current page being served by PHP.

Picture of Mario Carrocera
  Performance   Level  
Name: Mario Carrocera is available for providing paid consulting. Contact Mario Carrocera .
Classes: 18 packages by
Country: Mexico Mexico
Age: 58
All time rank: 313036 in Mexico Mexico
Week rank: 191 Up2 in Mexico Mexico Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x


('display_errors', true);
error_reporting(E_ERROR | E_PARSE | E_NOTICE | E_WARNING);

$license = new CCLicense(3,2,1);

$html = new html();

// Just to have something to see on body
$google = $html->ShwCntIn('letters',"page");
<!DOCTYPE html>
    <?php $html->Getheader();?>

This text is inside body an the Font family of body is defined like Oswald, can confirm es the same letter that is on the samples down

<?php foreach ($google as $clave => $valor) { if ($valor=='google') { ?>
<p style=<?php echo '"font-family:'.$clave ; ?>">This is a paragraph <?php echo $clave; ?>.</p>
<?php }} ?>
<?php echo '<br>'.$license->logo . '</br>'.$license->url; ?>


How use OnTime backend to store and setup css styles

The OnTime framework is designed to be modular, scalable and comprehensive, so that each new feature integrates without difficulty and maintains a unique class definition (OnTime) and all "additional classes" are "trait" that enrich it, in such a way that an integrated system is obtained, not separate programs which do not necessarily have to behave correctly together.

This is just a sample to show how todo, can add o remove all tag you wan

Installation in test environment:

1.- Copy all the files in the directory where was instaled OnTime

2.- With the browser of your preference, locate the directory and enter it

3.- Execute the OntimeInstaller.php file

4.- When executing the file, the files the required environment was created


If you know how to create a subdomain that points to the "demo" directory, it is more comfortable and realistic.

After install

1.- Select the file FillDataxxx.php, to create sample data, can use it to adapt as you need. 2.- The file HtmlPage.php show the result in the browser,

  Files folder image Files  
File Role Description
Accessible without login Plain text file FillData002.php Example Example script
Plain text file HtmlClass.php Class Class source
Accessible without login Plain text file HtmlPage.php Example Example script
Accessible without login Image file Html_Style_Css.png Icon Icon image
Accessible without login Image file Html_Style_Css_Sorce_Code_1.png Icon Icon image
Accessible without login Image file Html_Style_Css_Sorce_Code_2.png Icon Icon image
Accessible without login Plain text file licencia Data Auxiliary data
Accessible without login Plain text file license Lic. License text
Accessible without login Plain text file Doc. Documentation 140KB
Downloadhtmlstyles-2021-05-09.tar.gz 140KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
PHP Creative Commons Logo Download .zip .tar.gz Show license Optional
HTML LayOut using PHP on Time Download .zip .tar.gz Implement Layout Optional
HTML Nav bar using PHP on Time Download .zip .tar.gz Implements a Nav Bar Optional
HTML Metatags using PHP on Time Download .zip .tar.gz Implement HTML Tags Recommended
HTML Google Fonts using PHP on Time Download .zip .tar.gz Implement Google Font on HTML Recommended
PHP NoSQL Database OnTime Download .zip .tar.gz NoSQL Database Required
 Version Control Reuses Unique User Downloads Download Rankings  
This week:1
All time:9,991
This week:372Up