Esempio n. 1
0
<?php

include_once 'header.php';
include_once 'sidebar_birojasa.php';
include '../lib/carimajikan_dao.php';
include '../lib/Lowongan.php';
$lihat = new CariMajikan_Dao();
$currentPage = 1;
if (isset($_GET['page'])) {
    $currentPage = $_GET['page'];
}
$pageSize = 2;
$total = $lihat->hitungHalaman();
$totalHalaman = ceil($total / $pageSize);
$mulai = ($currentPage - 1) * $pageSize;
?>
		<div id="contenttext">
			<div class="bodytext" style="padding:12px;" align="justify">
				 <form method="get">
					Halaman :
					<select name="page" with="5" onchange="this.form.submit();">
					<?php 
for ($i = 1; $i <= $totalHalaman; $i++) {
    ?>
						<option value="<?php 
    echo $i;
    ?>
"
						<?php 
    if ($i == $currentPage) {
        echo 'selected="selected"';
Esempio n. 2
0
<?php

include_once 'header.php';
include_once 'sidebar_birojasa.php';
include '../lib/carimajikan_dao.php';
include '../lib/Lowongan.php';
$kd_member = $_SESSION['kduser'];
$lihat = new CariMajikan_Dao();
$currentPage = 1;
if (isset($_GET['page'])) {
    $currentPage = $_GET['page'];
}
$pageSize = 2;
$total = $lihat->hitungHalaman();
$totalHalaman = ceil($total / $pageSize);
$mulai = ($currentPage - 1) * $pageSize;
?>
		<div id="contenttext">
			<div class="bodytext" style="padding:12px;" align="justify">
				 <form method="get">
					Halaman :
					<select name="page" with="5" onchange="this.form.submit();">
					<?php 
for ($i = 1; $i <= $totalHalaman; $i++) {
    ?>
						<option value="<?php 
    echo $i;
    ?>
"
						<?php 
    if ($i == $currentPage) {
Esempio n. 3
0
<?php

include_once 'header.php';
include_once 'sidebar_birojasa.php';
include '../lib/carimajikan_dao.php';
include '../lib/Lowongan.php';
$lowongan = new CariMajikan_Dao();
$id = $_GET['id'];
$kd_lowongan = mysql_real_escape_string($id);
//$_POST['asisten'];
//$kd_asisten=mysql_real_escape_string($id2);
//$lowongan->lamar($kd_lowongan, $kd_asisten);
?>
	
	<div id="contenttext">
		<div class="bodytext" style="padding:12px;" align="justify">
			<table border="2" align="center" class="table table-striped">
				<tr>
					<td>Pembuat Lowongan</td>
					<td>Jenis Lowongan</td>
					<td>Keahlian</td>
					<td>Hari Kerja</td>
					<td>Jam Kerja</td>
					<td>Menginap Tidak?</td> 
					<td>Lokasi</td>
					<td>Gaji</td>
				</tr>
					
				<?php 
$data = $lowongan->daftar_low($kd_lowongan);
if ($data != NULL) {