strona bloga
This commit is contained in:
parent
ccc6b0a292
commit
b715c3eb7a
@ -148,12 +148,14 @@ a:active {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.foto img{
|
||||
.foto1 img{
|
||||
width:360px;
|
||||
height:360px;
|
||||
background-color:#ccc;
|
||||
}
|
||||
|
||||
.foto img{
|
||||
background-color:#ccc;
|
||||
}
|
||||
|
||||
.fill img{
|
||||
object-fit:fill;
|
||||
|
@ -75,7 +75,7 @@ if ($sql = $mysqli->prepare("SELECT * FROM user WHERE user_id = 2 "))
|
||||
|
||||
|
||||
|
||||
<div class=\"col-lg-4 name foto cover\">
|
||||
<div class=\"col-lg-4 name foto cover foto1\">
|
||||
<img src=\"$avatar\" class=\"align-text-bottom\">
|
||||
<p>$username</p>
|
||||
|
||||
@ -122,8 +122,8 @@ if ($sql = $mysqli->prepare("SELECT * FROM post ORDER BY data_dodania"))
|
||||
$sql->bind_result($post_id,$trash,$title,$description,$main,$image,$date,$mod_date);
|
||||
while ($sql->fetch())
|
||||
{
|
||||
echo " <div class=\"col-lg-4 col-md-4 col-sm-4 col-xs-12 desc\">
|
||||
<div class=\"project-wrapper\">
|
||||
echo " <div class=\"col-lg-4 col-md-6 col-sm-6 col-xs-12 desc\">
|
||||
|
||||
<div class=\"project\">
|
||||
<div class=\"photo-wrapper\">
|
||||
<div class=\"photo foto cover\">
|
||||
@ -133,8 +133,7 @@ if ($sql = $mysqli->prepare("SELECT * FROM post ORDER BY data_dodania"))
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div> <h1> $title</h1></a>
|
||||
</div> <h1> $title</h1></a>
|
||||
</div>";
|
||||
}
|
||||
$sql->close();
|
||||
@ -144,14 +143,6 @@ else die( "Błąd w zapytaniu SQL! Sprawdź kod SQL w PhpMyAdmin." );
|
||||
$mysqli->close();
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user