mirror of
https://github.com/FranP-code/Allnews.com.git
synced 2025-10-13 00:32:45 +00:00
Añadido aspecto de background dependiente de la cantidad de cartas
This commit is contained in:
@@ -16,6 +16,12 @@ function php_code($num_page, $news_per_page){
|
||||
|
||||
'
|
||||
$result = bring_the_news_back_home($actual_page, $news_per_page, "../mySQLconnect.php");
|
||||
|
||||
if (count($result) <= 3) {
|
||||
echo "<style>html {
|
||||
background: rgb(157,211,255);
|
||||
}</style>";
|
||||
}
|
||||
|
||||
',
|
||||
|
||||
|
||||
Reference in New Issue
Block a user