header('Content-Type: text/html; charset=utf-8');
#error_reporting(E_ALL);
#ini_set('display_errors', '1');
$onelaunch = 1;
session_start();
include("../db.php");
$dt = "BUDU Blogs";
$dd = "BUDU Blogs";
include("../metas.php");
$ads = 1;
include("../header2.php");
if($_REQUEST["invite"] <> ""){
$_SESSION["invite"] = $_REQUEST["invite"];
}
?>
Create a Blog
Your Blogs
$stmt = $pdodb->prepare("SELECT ID,blogtitle, blogusername, blogdesc FROM blogs WHERE mid=:mid ORDER BY ID desc LIMIT 50");
$stmt->bindParam(':mid',$_SESSION["uid"]);
$stmt->execute();
while($i3=$stmt->fetch()) {
echo '
';
$g++;
if($g == 1){
$color = "edcbe4";
}elseif($g == 2){
$color = "c7dd9c";
}else{
$color = "d9d0c4";
}
echo '
'.$i3["blogtitle"].' write';
echo '
';
}
?>
New Blogs
$stmt = $pdodb->prepare("SELECT blogtitle, blogusername, blogdesc FROM blogs ORDER BY ID desc LIMIT 50");
$stmt->execute();
while($i3=$stmt->fetch()) {
echo '
';
$g++;
if($g == 1){
$color = "edcbe4";
}elseif($g == 2){
$color = "c7dd9c";
}else{
$color = "d9d0c4";
}
echo '
'.$i3["blogtitle"].'';
echo '
';
}
?>
include('../footer.php');
?>