예제 #1
0
<?php

session_start();
if (empty($_GET['rpl'])) {
    header("location:index.php");
} else {
    if (empty($_SESSION['id'])) {
        header("location:index.php");
    } else {
        include "phpfunc/num.php";
        $limitan = repp($_SESSION['limitan']);
        $awal = repp($_SESSION['awal']);
        $det = repp($_SESSION['det']);
        $det = repp($_GET['det']);
        include "phpcon/link.php";
        $apa = mysql_query("select*from timeline where host='{$det}' or tujuan='{$det}' order by id desc limit {$awal},{$limitan}");
        $aaa = mysql_query("select*from timeline where host='{$det}' or tujuan='{$det}' order by id desc limit {$awal},{$limitan}");
        $aol = mysql_fetch_array($aaa);
        $jml = mysql_num_rows($aaa);
        if (empty($aol['id'])) {
            ?>
Tidak ada status<br>
<a style="position:absolute;right:100;font-size:18pt;" href="direct.php?rpl=myfriend&src_a=0&src_b=<?php 
            echo $limitan;
            ?>
&awal">Kembali</a>
<?php 
        } else {
            while ($ew = mysql_fetch_array($apa)) {
                $q = mysql_query("select*from detail_akun where id_akun='{$ew['host']}'");
                $qwqw = mysql_fetch_array($q);
예제 #2
0
<a style='color:<?php 
echo $degradasi2[navbar];
?>
' href="index.php?rpl=artikel">Artikel</a> | <a style='color:<?php 
echo $degradasi2[navbar];
?>
' href="index.php?rpl=status">Status</a> | <a style='color:<?php 
echo $degradasi2[navbar];
?>
' href="index.php?rpl=bukuonline">Buku Online</a>
<?php 
$detail = repp($_GET[det]);
if (isset($_POST['komen'])) {
    $d = date("d");
    $m = date("m");
    $y = date("Y");
    $h = date("H");
    $i = date("i");
    $s = date("s");
    $postan = htmlentities($_POST['komen']);
    mysql_query("insert into komenstatus values('','{$_SESSION['id']}','{$detail}','{$postan}','{$h}','{$i}','{$s}','{$d}','{$m}','{$y}')");
}
$time = mysql_query("select*from timeline where id={$detail}");
$tim = mysql_query("select*from timeline where id={$detail}");
$ro = mysql_fetch_array($tim);
if (empty($ro['id'])) {
    echo "<br>Status tidak ada";
} else {
    $row = mysql_fetch_array($time);
    $nama = mysql_query("select*from detail_akun where id_akun='{$row['host']}'");
    $rownama = mysql_fetch_array($nama);
<?php

if (!isset($_GET['rpl'])) {
    $a = rand();
    echo "<meta http-equiv='refresh' content='0;url=../index.php?rpl={$a}'>";
}
$ko = repp($_GET['artcl']);
if (isset($_POST['komen'])) {
    $d = date("d");
    $m = date("m");
    $y = date("Y");
    $h = date("H");
    $i = date("i");
    $s = date("s");
    $postkomenannya = htmlentities($_POST[komen]);
    $artclnya = $ko;
    mysql_query("insert into komenartikel values('','{$_SESSION['id']}','{$artclnya}','{$postkomenannya}','{$h}','{$i}','{$s}','{$d}','{$m}','{$y}')");
}
$r = mysql_query("select*from artikel where id='{$ko}'");
$e = mysql_fetch_array($r);
?>
	<table>
		<tr>
			<td colspan=3 style="z-index:1000;position:fixed;background-color:<?php 
echo $degradasi2['background'];
?>
;margin-top:-11px;width:62.5%;">
				<h2><?php 
echo $e['nama'];
?>
</h2>
예제 #4
0
<?php

session_start();
if (empty($_SESSION['id'])) {
    header("location:index.php");
} else {
    include "phpfunc/num.php";
    if (isset($_GET['awal'])) {
        $_SESSION['awal'] = repp($_GET['awal']);
        $_SESSION['limitan'] = $_SESSION['limitan'];
    } else {
        $_SESSION['awal'] = 0;
    }
    $_SESSION['det'] = repp($_GET['det']);
    if ($_SESSION['det'] == $_SESSION['id']) {
        header("location:index.php?rpl=profil");
    } else {
        header("location:index.php?rpl=myfriend&det={$_SESSION['det']}");
    }
}
예제 #5
0
<?php

if (!isset($_GET['rpl'])) {
    $a = rand();
    echo "<meta http-equiv='refresh' content='0;url=../../index.php?rpl={$a}'>";
}
?>
	<?php 
$idnyaaa = repp($_GET['det']);
$whe = mysql_query("select*from buatbuku where id='{$idnyaaa}'");
$ree = mysql_fetch_array($whe);
if ($ree['id_akun'] == $_SESSION['id']) {
    if (isset($_POST['simpan'])) {
        $post = htmlentities($_POST['isi']);
        $ins = mysql_query("insert into isibuku values('','{$_GET['det']}','{$post}','{$_POST['hal']}')");
    }
    $a = mysql_query("select*from isibuku where id_buat='{$_GET['det']}' and hal<>'sinopsis'");
    $row = mysql_num_rows($a);
    $hal = $row + 1;
    mysql_query("update buatbuku set jumlah_hal='{$row}' where id='{$_GET['det']}'");
    ?>
	<h2>Halaman <?php 
    echo $hal;
    ?>
</h2>
	
	<form method="POST" action="">
	<table>
	<input type="hidden" name="hal" value="<?php 
    echo $hal;
    ?>
예제 #6
0
					Cufon.refresh();
				}
			}).attr('src',source);
		});
		
	});
</script>

<div class="book_wrapper">
	<a id="next_page_button"></a>
	<a id="prev_page_button"></a>
	<div id="loading" class="loading">Loading pages...</div>
	<div id="mybook" style="display:none;">
		<div class="b-load" >
		<?php 
$idbukuu = repp($_GET[det]);
$a = mysql_query("select*from isibuku where id_buat='{$idbukuu}'");
while ($row = mysql_fetch_array($a)) {
    ?>
			<div>
				<p style="font-family:Segoe UI Light;margin:10px;">
				<?php 
    echo $row['isi'];
    ?>
				</p>
			</div>
			<?php 
}
?>
			
			<div>
예제 #7
0
<?php

if (!isset($_GET['rpl'])) {
    $a = rand();
    echo "<meta http-equiv='refresh' content='0;url=../index.php?rpl={$a}'>";
}
$det = repp($_SESSION['det']);
$qop = mysql_query("select*from detail_akun where id_akun='{$det}'");
$qp = mysql_fetch_array($qop);
$jkl = mysql_query("select*from penulis where id_akun='{$det}'");
$ert = mysql_fetch_array($jkl);
$c = mysql_query("select count(*) from artikel where penulis='{$det}'");
$count = mysql_fetch_array($c);
?>
<div style="width:100%;">
<div class="image-container" style="overflow:hidden;max-height:360px;width:100%;color:<?php 
echo $_SESSION['background'];
?>
;background:<?php 
echo $_SESSION['navbar'];
?>
">
	<img style="" src="<?php 
echo $qp[fp];
?>
"></img>
	<div  class="overlay" style="color:white;font-family:Segoe UI Light;font-size:15pt;line-height:1.1;color:<?php 
echo $_SESSION['background'];
?>
;background:<?php 
echo $_SESSION['navbar'];
예제 #8
0
<?php

session_start();
if (empty($_GET['limitan']) and empty($_GET['awal'])) {
    header("location:index.php");
} else {
    if (empty($_SESSION['id'])) {
        header("location:index.php");
    } else {
        include "phpfunc/num.php";
        $limitan = repp($_SESSION['limitan']);
        $awal = repp($_SESSION['awal']);
        include "phpcon/link.php";
        $apa = mysql_query("select*from timeline where host='{$_SESSION['id']}' or tujuan='{$_SESSION['id']}' order by id desc limit {$awal},{$limitan}");
        $aaa = mysql_query("select*from timeline where host='{$_SESSION['id']}' or tujuan='{$_SESSION['id']}' order by id desc limit {$awal},{$limitan}");
        $aol = mysql_fetch_array($aaa);
        $jml = mysql_num_rows($aaa);
        if (empty($aol['id'])) {
            ?>
Tidak ada status<br>
<a style="position:absolute;right:100;font-size:18pt;" href="direct.php?rpl=profil&src_a=0&src_b=<?php 
            echo $limitan;
            ?>
&awal">Kembali</a>
<?php 
        } else {
            while ($ew = mysql_fetch_array($apa)) {
                $q = mysql_query("select*from detail_akun where id_akun='{$ew['host']}'");
                $qwqw = mysql_fetch_array($q);
                ?>
<table>