Skip to content

Commit

Permalink
Formating
Browse files Browse the repository at this point in the history
  • Loading branch information
emrancu committed Feb 4, 2019
1 parent 75d397e commit 42ca4ae
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
File renamed without changes.
File renamed without changes
File renamed without changes
Binary file added img/made by php drawing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions make house by php & image.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
if($i==19){
echo '<p style="margin-left: 101px;margin-right: 101px;padding: 0px;margin-top: -13px;box-shadow: 1px 16px 9px 2px #0e0d0d;"> </p>';
}
echo '<img src="brick.png"/>' ;
echo '<img src="img/brick.png"/>' ;

if($i>18){
$k=16;
Expand All @@ -38,21 +38,21 @@

if($i>21 && $i<26 ){
if($j>1 && $j<4 || $j>6 && $j<10 || $j>12 && $j<15 ){// widnow & door(4 column)
echo '<img src="brick2.png" class="wn"/>' ;
echo '<img src="img/brick2.png" class="wn"/>' ;
}else{
echo '<img src="brick.png"/>' ;
echo '<img src="img/brick.png"/>' ;
}

}elseif($i>25 && $i<29 ){// door

if( $j>6 && $j<10 ){
echo '<img src="brick2.png" class="wn" />' ;
echo '<img src="img/brick2.png" class="wn" />' ;
}else{
echo '<img src="brick.png"/>' ;
echo '<img src="img/brick.png"/>' ;
}

}else{
echo '<img src="brick.png"/>' ;
echo '<img src="img/brick.png"/>' ;
}


Expand Down

0 comments on commit 42ca4ae

Please sign in to comment.