Beispiel #1
0
function tglkirim($tgl)
{
    if (!empty($tgl)) {
        return tampil_tanggal($tgl);
    } else {
        echo "belum dikirim";
    }
}
Beispiel #2
0
    ?>
</td></td></tr>
					<tr><td>Alamat </td><td><?php 
    echo $rows->alamat;
    ?>
</td></td></tr>
						<tr><td>Kota </td><td><?php 
    echo $rows->kota;
    ?>
</td></td></tr>
							<tr><td>Kode Post </td><td><?php 
    echo $rows->kodepos;
    ?>
</td></td></tr>
								<tr><td> Tanggal Daftar</td><td><?php 
    echo tampil_tanggal($rows->tanggal_daftar);
    ?>
</td></td></tr>
			
			
			
			</tr>
			<?php 
    $no++;
}
?>

			
		</tbody>
	</table>
		<div class="span2"><img src="bukutamu/user/user<?php 
    echo rand(1, 4);
    ?>
.png"
			class='img-polaroid' alt=""></div>
		<div class="span3">
			<p><?php 
    echo $rows->nama;
    ?>
</p>
          	<p><?php 
    echo $rows->pesan;
    ?>
</p>
			<span class=" badge badge-warning"><?php 
    echo tampil_tanggal($rows->tanggal);
    ?>
</span> 
		</div>
	</div>
	</div>
	<p></p>

		<?php 
    $no++;
}
?>
<div class='clearfix'></div>
<div class='pagination'> <ul>	
<?php 
//=============CUT HERE for paging====================================