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