Membuat Tak html div or body for Style Blackgrounpicture
Membuat Tak html dengan latar belakang gambar
Dibutuhkan user_backgroundpicture
Created user_backgroundpicture/Membuat latar belalang profile penguna
Dibutuhlan file Tak html
style.php
<?php
include './_database/database.php';
$current_user = $_SESSION['user_username'];
if (isset($_GET['user_username'])) {
$current_user = $_GET['user_username'];
}
$sql = "SELECT * FROM user where user_username='$current_user'";
$result = mysqli_query($database,$sql) or die(mysqli_error());
$rws = mysqli_fetch_array($result);
?>
<?php
if ($rws['user_backgroundpicture']){?>
<style>
div{
background: linear-gradient( rgba(44, 38, 38, 0.45), rgba(0, 0, 0, 0.45) ), url("./userfiles/background-images/<?php echo $rws['user_backgroundpicture']; ?>")!important;
background-repeat: no-repeat !important;
background-attachment: fixed !important;
background-size: cover !important;
margin-top: 0px;
display: block;
}
</style>
<?php } else {?>
<style>
div{
background-image:none;
}
</style>
<?php }?>
Menampilkan user berdasarkan user_backgroundpicture
dan merubah dalam bentuk tak html
code memgarah dengan tampilan dibawah
meletakan tak html seperti div/code ,
my tak code
letakan diantara.
<body>
contoh
<div class="container">
<div class="panel panel-default">
<div class="panel-body"style="
box-shadow:1px 3px 2px 1px #ADC2B3 border: 1px solid;
" >
<div class="panel-body">
<div class="row clearfix">
<div class="col-md-12 column"style="
box-shadow:1px 3px 2px 1px #ADC2B3;
border: 1px solid;
background: #347634;
" >
..........
<//-----my-code.php-----/>
.........
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
Merubah baris berikit
< cekin class="panel-body"style="
box-shadow:1px 3px 2px 1px #ADC2B3 border: 1px solid;
" >
Proyek sistem berjalan dengan database
dibawah ini cara membuat hal tersebut dapat bekerja
Membuat user database dan table
Unduh code lengkapnya
code user_background
Dibutuhkan user_backgroundpicture
Created user_backgroundpicture/Membuat latar belalang profile penguna
Dibutuhlan file Tak html
style.php
<?php
include './_database/database.php';
$current_user = $_SESSION['user_username'];
if (isset($_GET['user_username'])) {
$current_user = $_GET['user_username'];
}
$sql = "SELECT * FROM user where user_username='$current_user'";
$result = mysqli_query($database,$sql) or die(mysqli_error());
$rws = mysqli_fetch_array($result);
?>
<?php
if ($rws['user_backgroundpicture']){?>
<style>
div{
background: linear-gradient( rgba(44, 38, 38, 0.45), rgba(0, 0, 0, 0.45) ), url("./userfiles/background-images/<?php echo $rws['user_backgroundpicture']; ?>")!important;
background-repeat: no-repeat !important;
background-attachment: fixed !important;
background-size: cover !important;
margin-top: 0px;
display: block;
}
</style>
<?php } else {?>
<style>
div{
background-image:none;
}
</style>
<?php }?>
Menampilkan user berdasarkan user_backgroundpicture
dan merubah dalam bentuk tak html
code memgarah dengan tampilan dibawah
meletakan tak html seperti div/code ,
my tak code
letakan diantara.
<body>
contoh
<div class="container">
<div class="panel panel-default">
<div class="panel-body"style="
box-shadow:1px 3px 2px 1px #ADC2B3 border: 1px solid;
" >
<div class="panel-body">
<div class="row clearfix">
<div class="col-md-12 column"style="
box-shadow:1px 3px 2px 1px #ADC2B3;
border: 1px solid;
background: #347634;
" >
..........
<//-----my-code.php-----/>
.........
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
Merubah baris berikit
< cekin class="panel-body"style="
box-shadow:1px 3px 2px 1px #ADC2B3 border: 1px solid;
" >
Proyek sistem berjalan dengan database
dibawah ini cara membuat hal tersebut dapat bekerja
Membuat user database dan table
Unduh code lengkapnya
code user_background
Posting Komentar untuk "Membuat Tak html div or body for Style Blackgrounpicture"