Beispiel #1
0
            $sa++;
            ?>
            <div class="item <?php 
            if ($sa == 0) {
                echo "active";
            }
            ?>
">
		<a href="<?php 
            echo $databanner['link'];
            ?>
"><img class="banner-full" src="<?php 
            echo Gambar($databanner['src'], $databanner['lebar'], $databanner['tinggi']);
            ?>
" alt="<?php 
            echo Gambar($databanner['src'], $databanner['lebar'], $databanner['tinggi']);
            ?>
"></a>
		<?php 
            if ($databanner['caption_' . $bhs_on]) {
                ?>
              <div class="carousel-caption">
                <?php 
                echo $databanner['caption_' . $bhs_on];
                ?>
              </div>
              <?php 
            }
            ?>
            </div>
          <?php 
Beispiel #2
0
<form  action="<?php 
    echo $TargetForm;
    ?>
" method="post" enctype="multipart/form-data" >
<div class="row">
	<div class="col-md-3">
    	<div class="wrap-pilih-galeri" >
        		<div class="entryfoto">              
                <input name="foto" type="hidden" value="<?php 
    echo $foto_user;
    ?>
">
                <?php 
    $gambarbanner = false;
    if ($foto_user) {
        $gambarbanner = '<img class="thumbnail" width="100%" src="' . Gambar($foto_user, "", 250) . '" alt="' . $foto_user . '" />';
    }
    echo $gambarbanner;
    ?>
                </div>
                <div class="btn-pilih-group">
                <a title="Upload" class="btn btn-primary pilih-dari-galeri" ><i class="fa fa-upload"></i></a>       
                <?php 
    if ($foto_user) {
        ?>
         
                <a title="Kembali Ke default" class="btn btn-warning default-gbr" data-default="<?php 
        echo $foto_user;
        ?>
"><i class="fa fa-refresh"></i></a>
                <?php 
Beispiel #3
0
    foreach ($ads_banner_side as $databottom) {
        if ($databottom) {
            ?>
                        
                        <?php 
            echo $databottom['caption_' . $bhs_on];
            ?>
                        <?php 
            if (isset($databottom['src']) && $databottom['src'] != "") {
                ?>
                        <a href="<?php 
                echo $databottom['link'];
                ?>
">
                    	<img src="<?php 
                echo Gambar($databottom['src'], $databottom['lebar'], $databottom['tinggi']);
                ?>
" class="img-responsive" alt="Ads" />
                        </a>
                        <?php 
            }
            ?>
                    	<?php 
        }
    }
    ?>
                </div>
                <?php 
}
?>
           </div>
Beispiel #4
0
       <?php 
    }
    ?>
    </ul>   
      <div class="form-group">
            <label>Foto Sampul</label>
            <div class="wrap-pilih-galeri entryfoto-feature" >
        		<div class="entryfoto">              
                <input name="foto" type="hidden" value="<?php 
    echo $halaman['foto'];
    ?>
">
                <?php 
    $gambarbanner = false;
    if ($halaman['foto']) {
        $gambarbanner = '<img class="thumbnail" width="100%" src="' . Gambar($halaman['foto'], "", 250) . '" alt="' . $halaman['foto'] . '" />';
    }
    echo $gambarbanner;
    ?>
                </div>
                <div class="btn-pilih-group">
                <a title="Upload" class="btn btn-primary pilih-dari-galeri" ><i class="fa fa-upload"></i></a>       
                <?php 
    if ($halaman['foto']) {
        ?>
         
                <a title="Kembali Ke default" class="btn btn-warning default-gbr" data-default="<?php 
        echo $halaman['foto'];
        ?>
"><i class="fa fa-refresh"></i></a>
                <?php 
Beispiel #5
0
      	<div class="form-group">

               <label class="col-md-3 control-label">Pilih Foto</label>

               <div class="col-md-9">
               	<div class="wrap-pilih-galeri entryfoto-feature" >
                    <div class="entryfoto">              
                    <input name="src" type="hidden" value="<?php 
                echo $banner['src'];
                ?>
">
                    <?php 
                $gambarbanner = false;
                if ($banner['src']) {
                    $gambarbanner = '<img class="thumbnail" width="100%" src="' . Gambar($banner['src'], "", 250) . '" alt="' . $banner['src'] . '" />';
                }
                echo $gambarbanner;
                ?>
                    </div>
                    <div class="btn-pilih-group">
                    <a title="Upload" class="btn btn-primary pilih-dari-galeri" ><i class="fa fa-upload"></i></a>       
                    <?php 
                if ($banner['src']) {
                    ?>
         
                    <a title="Kembali Ke default" class="btn btn-warning default-gbr" data-default="<?php 
                    echo $banner['src'];
                    ?>
"><i class="fa fa-refresh"></i></a>
                    <?php 
Beispiel #6
0
<div class="table-responsive"> 

<?php 
if ($viewdetailfile == true) {
    ?>

<div class="inline-gambar">

<img <?php 
    echo $attrfile;
    ?>
 src="<?php 
    if ($lebarfile <= 1200) {
        echo $src_image;
    } else {
        echo Gambar($src_image, 900, "");
    }
    ?>
" alt="<?php 
    echo $src_image;
    ?>
" class="img-responsive" />

</div>

<div class="inline-gambar">

<h2><?php 
    echo $namafile;
    ?>
</h2>
Beispiel #7
0
                <?php 
    $gambarbanner = false;
    if ($halaman['foto']) {
        $gambarbanner = '<img class="thumbnail" width="100%" src="' . Gambar($halaman['foto'], "", 900) . '" alt="' . $halaman['foto'] . '" />';
    }
    echo $gambarbanner;
    ?>
                </div>
                <div class="btn-pilih-group">
                <a title="Upload" class="btn btn-primary pilih-dari-galeri" ><i class="fa fa-upload"></i></a>       
                <?php 
    if ($halaman['foto']) {
        ?>
         
                <a title="Kembali Ke default" class="btn btn-warning default-gbr" data-default="<?php 
        echo Gambar($halaman['foto'], "", 900);
        ?>
"><i class="fa fa-refresh"></i></a>
                <?php 
    }
    ?>
                <a title="Remove Gambar" class="btn btn-danger remove-gbr"><i class="fa fa-trash"></i></a>
                </div>       
        	</div>
       </div>                      
    <div class="tab-content">
         <?php 
    foreach ($array_bahasa as $data_bhs) {
        ?>
         <div role="tabpanel" class="tab-pane <?php 
        if ($data_bhs['kode'] == $bhs_on) {