View Update_rate.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
defined('BASEPATH') or exit('No direct script access allowed'); | |
class Update_rate extends CI_Controller | |
{ | |
public function index(){ | |
$content = file_get_contents("https://api.exchangeratesapi.io/latest?base=USD"); | |
$result=json_decode($content, true); | |
$array_payment = ['paypal', 'perfectmoney', 'webmoney']; |
View operator_aritmatika.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
main() | |
{ | |
int a, b; | |
float hasil; | |
printf("\n\tSilakan masukkan bilangan pertama: "); | |
scanf("%d", &a); | |
printf("\tSilakan masukkan bilangan kedua: ");scanf("%d",&b); | |
printf("\n\tHasilnya ... \n"); | |
printf("\t%d + %d = %d \n", a, b, a+b);sleep(100); | |
printf("\t%d - %d = %d \n", a, b, a-b);sleep(100); |
View logo-google-play.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href="https://play.google.com/store/apps/details?id=your.package.name"> | |
<img src="http://your-domain.com/google-play/get_google_play.png" alt="Your Name App" title="Your Name App" width="auto" height="50"> | |
</a> |
View controller.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function auto_halaman($num) | |
{ | |
$data['anime_data'] = $this->anime_panel_model->mengambil_data2($num); //ini untuk menload data posting nya | |
$this->load->view('browse/front/anime_view', $data); // ini untuk ke view nya | |
} |