Exemplo n.º 1
0
 function alumni()
 {
     header('Content-Type: application/json');
     $this->db->join("jurusan", "jurusan.id_jurusan=siswa.id_jurusan");
     $this->db->join("ta", "ta.id_ta=siswa.id_ta");
     $i = 0;
     foreach ($this->db->get('siswa')->result_array() as $row) {
         $data[$i] = array("value" => $row['id_siswa'], "label" => $row['nama_siswa'], "jurusan" => $row['nama_jurusan'], "lulusan" => $row['lulusan'], "image" => img_default($row['foto_siswa'], 'default.png'));
         if (get('v')) {
             $data[$i]["value"] = $row[get('v')];
         }
         $i++;
     }
     echo json_encode($data);
 }
Exemplo n.º 2
0
        <td><?php 
echo $get_detail['nama_jurusan'];
?>
</td>
      </tr>
      <tr>
        <td>Perusahaan</td>
        <td><?php 
echo $get_detail['nama_perusahaan'];
?>
</td>
      </tr>
      <tr>
        <td>Logo Perusahaan</td>
        <td><img style='max-height:50px' src='assets/perusahaan/logo/<?php 
echo img_default($get_detail['logo_perusahaan'], 'default.png');
?>
' /></td>
      </tr>
      <tr>
        <td>Judul Laporan</td>
        <td><?php 
echo $get_detail['judul_laporan'];
?>
</td>
      </tr>
      <tr>
        <td>Hasil Laporan</td>
        <td><a href="assets/files/<?php 
echo $get_detail['hasil_laporan'];
?>
Exemplo n.º 3
0
			    </div>
			</div>
	    </form>
	    </div>
	</div>
	<!-- Form sampul Perusahaan -->
	<!-- <div class="panel panel-primary">
    	<div class="panel-heading">
	      <h3 class="panel-title">Sampul Perusahaan</h3>
	    </div>
	    <div class='panel-body'>
		<form id='sampul-perusahaan' method='post' enctype="multipart/form-data">
			<div class='form-group' style='margin-bottom:0px;'>
				<label pointer for='sampul_perusahaan'>
					<img class='logo-perusahaan' src="assets/perusahaan/sampul/<?php 
echo img_default($get_detail['sampul_perusahaan'], 'default.jpg');
?>
" />
				</label>
				<input id='sampul_perusahaan' type="file" name="sampul_perusahaan" class="form-control" accept="image/*" title="Upload Foto" hide>
				<a style='margin:10px 0px;' name='upload-sampul' class='btn btn-primary' disabled>Upload Foto</a>
				<div style='margin:10px 0px;' class="progress" hidden>
			        <div class="progress-bar" role="progressbar" style="width:0%;"></div>
			    </div>
			</div>
	    </form>
	    </div>
	</div> -->
</div>
<div class='col-md-12'>
	<!-- Form profile perusahaan -->
Exemplo n.º 4
0
				<td>No. KTP</td>
				<td><?php 
    echo $get_profil['ktp_siswa'];
    ?>
</td>
			</tr>
		</table>
	</div>
	<!-- Foto -->
	<div class='col-md-4' style='margin:10px 0px'>
		<div class='title'>
			<h3>Foto</h3>
		</div>
		<div class='col-md-4'>
			<img src="assets/foto/<?php 
    echo img_default($get_profil['foto_siswa'], 'default.png');
    ?>
" class='foto-cv'>
		</div>
	</div>
	<!-- Form Pendidikan Formal -->
	<div class='col-md-12' style='margin:10px 0px'>
		<div class='title'>
			<h3>Pendidikan Formal</h3>
		</div>
		<table class='table-cv'>
		<?php 
    foreach ($this->alumni->get_pndk_formal($id_user) as $pndk_formal) {
        ?>
			<tr>
				<td width='200px'>Tahun <?php